2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for glabels 3.0.1.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glabels
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='glabels'
573 PACKAGE_TARNAME='glabels'
574 PACKAGE_VERSION='3.0.1'
575 PACKAGE_STRING='glabels 3.0.1'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glabels'
579 ac_unique_file="src/glabels.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_subst_vars='am__EXEEXT_FALSE
632 DISABLE_DEPRECATED_CFLAGS
660 LIBGLBARCODE_API_VERSION
661 LIBGLABELS_API_VERSION
665 GTK_UPDATE_ICON_CACHE
672 GSETTINGS_DISABLE_SCHEMAS_COMPILE
673 GTK_DOC_USE_REBASE_FALSE
674 GTK_DOC_USE_REBASE_TRUE
675 GTK_DOC_USE_LIBTOOL_FALSE
676 GTK_DOC_USE_LIBTOOL_TRUE
677 GTK_DOC_BUILD_PDF_FALSE
678 GTK_DOC_BUILD_PDF_TRUE
679 GTK_DOC_BUILD_HTML_FALSE
680 GTK_DOC_BUILD_HTML_TRUE
689 HAVE_GNOME_DOC_UTILS_FALSE
690 HAVE_GNOME_DOC_UTILS_TRUE
691 DISTCHECK_CONFIGURE_FLAGS
755 INTLTOOL_SERVICE_RULE
757 INTLTOOL_SCHEMAS_RULE
759 INTLTOOL_XML_NOMERGE_RULE
764 INTLTOOL_SOUNDLIST_RULE
771 INTLTOOL_DIRECTORY_RULE
772 INTLTOOL_DESKTOP_RULE
773 intltool__v_merge_options_0
774 intltool__v_merge_options_
775 INTLTOOL_V_MERGE_OPTIONS
788 MAINTAINER_MODE_FALSE
798 INSTALL_STRIP_PROGRAM
840 program_transform_name
853 enable_option_checking
854 enable_maintainer_mode
857 enable_dependency_tracking
873 enable_schemas_compile
874 enable_compile_warnings
883 ac_precious_vars='build_alias
911 # Initialize some variables set by options.
913 ac_init_version=false
914 ac_unrecognized_opts=
916 # The variables have the same names as the options, with
917 # dashes changed to underlines.
925 program_transform_name=s,x,x,
933 # Installation directory options.
934 # These are left unexpanded so users can "make install exec_prefix=/foo"
935 # and all the variables that are supposed to be based on exec_prefix
936 # by default will actually change.
937 # Use braces instead of parens because sh, perl, etc. also accept them.
938 # (The list follows the same order as the GNU Coding Standards.)
939 bindir='${exec_prefix}/bin'
940 sbindir='${exec_prefix}/sbin'
941 libexecdir='${exec_prefix}/libexec'
942 datarootdir='${prefix}/share'
943 datadir='${datarootdir}'
944 sysconfdir='${prefix}/etc'
945 sharedstatedir='${prefix}/com'
946 localstatedir='${prefix}/var'
947 includedir='${prefix}/include'
948 oldincludedir='/usr/include'
949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
950 infodir='${datarootdir}/info'
955 libdir='${exec_prefix}/lib'
956 localedir='${datarootdir}/locale'
957 mandir='${datarootdir}/man'
963 # If the previous option needs an argument, assign it.
964 if test -n "$ac_prev"; then
965 eval $ac_prev=\$ac_option
971 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
976 # Accept the important Cygnus configure options, so we can diagnose typos.
978 case $ac_dashdash$ac_option in
982 -bindir | --bindir | --bindi | --bind | --bin | --bi)
984 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
987 -build | --build | --buil | --bui | --bu)
988 ac_prev=build_alias ;;
989 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
990 build_alias=$ac_optarg ;;
992 -cache-file | --cache-file | --cache-fil | --cache-fi \
993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
994 ac_prev=cache_file ;;
995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
997 cache_file=$ac_optarg ;;
1000 cache_file=config.cache ;;
1002 -datadir | --datadir | --datadi | --datad)
1004 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1005 datadir=$ac_optarg ;;
1007 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1008 | --dataroo | --dataro | --datar)
1009 ac_prev=datarootdir ;;
1010 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1011 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1012 datarootdir=$ac_optarg ;;
1014 -disable-* | --disable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_$ac_useropt"
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1028 eval enable_$ac_useropt=no ;;
1030 -docdir | --docdir | --docdi | --doc | --do)
1032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033 docdir=$ac_optarg ;;
1035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038 dvidir=$ac_optarg ;;
1040 -enable-* | --enable-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error $? "invalid feature name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_$ac_useropt"
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1054 eval enable_$ac_useropt=\$ac_optarg ;;
1056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1058 | --exec | --exe | --ex)
1059 ac_prev=exec_prefix ;;
1060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1062 | --exec=* | --exe=* | --ex=*)
1063 exec_prefix=$ac_optarg ;;
1065 -gas | --gas | --ga | --g)
1066 # Obsolete; use --with-gas.
1069 -help | --help | --hel | --he | -h)
1070 ac_init_help=long ;;
1071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1072 ac_init_help=recursive ;;
1073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1074 ac_init_help=short ;;
1076 -host | --host | --hos | --ho)
1077 ac_prev=host_alias ;;
1078 -host=* | --host=* | --hos=* | --ho=*)
1079 host_alias=$ac_optarg ;;
1081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1085 htmldir=$ac_optarg ;;
1087 -includedir | --includedir | --includedi | --included | --include \
1088 | --includ | --inclu | --incl | --inc)
1089 ac_prev=includedir ;;
1090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1091 | --includ=* | --inclu=* | --incl=* | --inc=*)
1092 includedir=$ac_optarg ;;
1094 -infodir | --infodir | --infodi | --infod | --info | --inf)
1096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1097 infodir=$ac_optarg ;;
1099 -libdir | --libdir | --libdi | --libd)
1101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1102 libdir=$ac_optarg ;;
1104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1105 | --libexe | --libex | --libe)
1106 ac_prev=libexecdir ;;
1107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1108 | --libexe=* | --libex=* | --libe=*)
1109 libexecdir=$ac_optarg ;;
1111 -localedir | --localedir | --localedi | --localed | --locale)
1112 ac_prev=localedir ;;
1113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1114 localedir=$ac_optarg ;;
1116 -localstatedir | --localstatedir | --localstatedi | --localstated \
1117 | --localstate | --localstat | --localsta | --localst | --locals)
1118 ac_prev=localstatedir ;;
1119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1121 localstatedir=$ac_optarg ;;
1123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1126 mandir=$ac_optarg ;;
1128 -nfp | --nfp | --nf)
1129 # Obsolete; use --without-fp.
1132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1133 | --no-cr | --no-c | -n)
1136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1142 | --oldin | --oldi | --old | --ol | --o)
1143 ac_prev=oldincludedir ;;
1144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1147 oldincludedir=$ac_optarg ;;
1149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1152 prefix=$ac_optarg ;;
1154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1155 | --program-pre | --program-pr | --program-p)
1156 ac_prev=program_prefix ;;
1157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1159 program_prefix=$ac_optarg ;;
1161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1162 | --program-suf | --program-su | --program-s)
1163 ac_prev=program_suffix ;;
1164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1166 program_suffix=$ac_optarg ;;
1168 -program-transform-name | --program-transform-name \
1169 | --program-transform-nam | --program-transform-na \
1170 | --program-transform-n | --program-transform- \
1171 | --program-transform | --program-transfor \
1172 | --program-transfo | --program-transf \
1173 | --program-trans | --program-tran \
1174 | --progr-tra | --program-tr | --program-t)
1175 ac_prev=program_transform_name ;;
1176 -program-transform-name=* | --program-transform-name=* \
1177 | --program-transform-nam=* | --program-transform-na=* \
1178 | --program-transform-n=* | --program-transform-=* \
1179 | --program-transform=* | --program-transfor=* \
1180 | --program-transfo=* | --program-transf=* \
1181 | --program-trans=* | --program-tran=* \
1182 | --progr-tra=* | --program-tr=* | --program-t=*)
1183 program_transform_name=$ac_optarg ;;
1185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1188 pdfdir=$ac_optarg ;;
1190 -psdir | --psdir | --psdi | --psd | --ps)
1192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1196 | -silent | --silent | --silen | --sile | --sil)
1199 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1201 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1203 sbindir=$ac_optarg ;;
1205 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1206 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1207 | --sharedst | --shareds | --shared | --share | --shar \
1209 ac_prev=sharedstatedir ;;
1210 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1211 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1212 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1214 sharedstatedir=$ac_optarg ;;
1216 -site | --site | --sit)
1218 -site=* | --site=* | --sit=*)
1221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1224 srcdir=$ac_optarg ;;
1226 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1227 | --syscon | --sysco | --sysc | --sys | --sy)
1228 ac_prev=sysconfdir ;;
1229 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1230 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1231 sysconfdir=$ac_optarg ;;
1233 -target | --target | --targe | --targ | --tar | --ta | --t)
1234 ac_prev=target_alias ;;
1235 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1236 target_alias=$ac_optarg ;;
1238 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241 -version | --version | --versio | --versi | --vers | -V)
1242 ac_init_version=: ;;
1245 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 as_fn_error $? "invalid package name: $ac_useropt"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1258 eval with_$ac_useropt=\$ac_optarg ;;
1260 -without-* | --without-*)
1261 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1264 as_fn_error $? "invalid package name: $ac_useropt"
1265 ac_useropt_orig=$ac_useropt
1266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267 case $ac_user_opts in
1271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1272 ac_unrecognized_sep=', ';;
1274 eval with_$ac_useropt=no ;;
1277 # Obsolete; use --with-x.
1280 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1281 | --x-incl | --x-inc | --x-in | --x-i)
1282 ac_prev=x_includes ;;
1283 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1284 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1285 x_includes=$ac_optarg ;;
1287 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1288 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1289 ac_prev=x_libraries ;;
1290 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1291 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1292 x_libraries=$ac_optarg ;;
1294 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1295 Try \`$0 --help' for more information"
1299 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300 # Reject names that are not valid shell variable names.
1301 case $ac_envvar in #(
1302 '' | [0-9]* | *[!_$as_cr_alnum]* )
1303 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1305 eval $ac_envvar=\$ac_optarg
1306 export $ac_envvar ;;
1309 # FIXME: should be removed in autoconf 3.0.
1310 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1311 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1312 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1313 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1319 if test -n "$ac_prev"; then
1320 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1321 as_fn_error $? "missing argument to $ac_option"
1324 if test -n "$ac_unrecognized_opts"; then
1325 case $enable_option_checking in
1327 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1328 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1332 # Check all directory arguments for consistency.
1333 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334 datadir sysconfdir sharedstatedir localstatedir includedir \
1335 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336 libdir localedir mandir
1338 eval ac_val=\$$ac_var
1339 # Remove trailing slashes.
1342 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343 eval $ac_var=\$ac_val;;
1345 # Be sure to have absolute directory names.
1347 [\\/$]* | ?:[\\/]* ) continue;;
1348 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1350 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1358 target=$target_alias
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x; then
1362 if test "x$build_alias" = x; then
1363 cross_compiling=maybe
1364 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1365 If a cross compiler is detected then cross compile mode will be used" >&2
1366 elif test "x$build_alias" != "x$host_alias"; then
1372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1374 test "$silent" = yes && exec 6>/dev/null
1377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di=`ls -di .` &&
1379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380 as_fn_error $? "working directory cannot be determined"
1381 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382 as_fn_error $? "pwd does not report name of working directory"
1385 # Find the source files, if location was not specified.
1386 if test -z "$srcdir"; then
1387 ac_srcdir_defaulted=yes
1388 # Try the directory containing this script, then the parent directory.
1389 ac_confdir=`$as_dirname -- "$as_myself" ||
1390 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391 X"$as_myself" : 'X\(//\)[^/]' \| \
1392 X"$as_myself" : 'X\(//\)$' \| \
1393 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1394 $as_echo X"$as_myself" |
1395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1417 ac_srcdir_defaulted=no
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1420 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1423 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1425 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1427 # When building in place, set srcdir=.
1428 if test "$ac_abs_confdir" = "$ac_pwd"; then
1431 # Remove unnecessary trailing slashes from srcdir.
1432 # Double slashes in file names in object file debugging info
1433 # mess up M-x gdb in Emacs.
1435 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1437 for ac_var in $ac_precious_vars; do
1438 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1439 eval ac_env_${ac_var}_value=\$${ac_var}
1440 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1445 # Report the --help message.
1447 if test "$ac_init_help" = "long"; then
1448 # Omit some internal or obsolete options to make the list less imposing.
1449 # This message is too long to be a string in the A/UX 3.1 sh.
1451 \`configure' configures glabels 3.0.1 to adapt to many kinds of systems.
1453 Usage: $0 [OPTION]... [VAR=VALUE]...
1455 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1456 VAR=VALUE. See below for descriptions of some of the useful variables.
1458 Defaults for the options are specified in brackets.
1461 -h, --help display this help and exit
1462 --help=short display options specific to this package
1463 --help=recursive display the short help of all the included packages
1464 -V, --version display version information and exit
1465 -q, --quiet, --silent do not print \`checking ...' messages
1466 --cache-file=FILE cache test results in FILE [disabled]
1467 -C, --config-cache alias for \`--cache-file=config.cache'
1468 -n, --no-create do not create output files
1469 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1471 Installation directories:
1472 --prefix=PREFIX install architecture-independent files in PREFIX
1473 [$ac_default_prefix]
1474 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1477 By default, \`make install' will install all the files in
1478 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1479 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1480 for instance \`--prefix=\$HOME'.
1482 For better control, use the options below.
1484 Fine tuning of the installation directories:
1485 --bindir=DIR user executables [EPREFIX/bin]
1486 --sbindir=DIR system admin executables [EPREFIX/sbin]
1487 --libexecdir=DIR program executables [EPREFIX/libexec]
1488 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1489 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1490 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1491 --libdir=DIR object code libraries [EPREFIX/lib]
1492 --includedir=DIR C header files [PREFIX/include]
1493 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1494 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1495 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1496 --infodir=DIR info documentation [DATAROOTDIR/info]
1497 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1498 --mandir=DIR man documentation [DATAROOTDIR/man]
1499 --docdir=DIR documentation root [DATAROOTDIR/doc/glabels]
1500 --htmldir=DIR html documentation [DOCDIR]
1501 --dvidir=DIR dvi documentation [DOCDIR]
1502 --pdfdir=DIR pdf documentation [DOCDIR]
1503 --psdir=DIR ps documentation [DOCDIR]
1509 --program-prefix=PREFIX prepend PREFIX to installed program names
1510 --program-suffix=SUFFIX append SUFFIX to installed program names
1511 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1514 --build=BUILD configure for building on BUILD [guessed]
1515 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1519 if test -n "$ac_init_help"; then
1520 case $ac_init_help in
1521 short | recursive ) echo "Configuration of glabels 3.0.1:";;
1526 --disable-option-checking ignore unrecognized --enable/--with options
1527 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1528 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1529 --enable-maintainer-mode enable make rules and dependencies not useful
1530 (and sometimes confusing) to the casual installer
1531 --enable-silent-rules less verbose build output (undo: `make V=1')
1532 --disable-silent-rules verbose build output (undo: `make V=0')
1533 --disable-nls do not use Native Language Support
1534 --disable-dependency-tracking speeds up one-time build
1535 --enable-dependency-tracking do not reject slow dependency extractors
1536 --enable-shared[=PKGS] build shared libraries [default=yes]
1537 --enable-static[=PKGS] build static libraries [default=yes]
1538 --enable-fast-install[=PKGS]
1539 optimize for fast installation [default=yes]
1540 --disable-libtool-lock avoid locking (might break parallel builds)
1541 --disable-scrollkeeper do not make updates to the scrollkeeper database
1542 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1543 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1544 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1545 --disable-schemas-compile
1546 Disable regeneration of gschemas.compiled on install
1547 --enable-compile-warnings=[no/minimum/yes/maximum/error]
1548 Turn on compiler warnings
1549 --enable-iso-c Try to warn if code is not ISO C
1550 --enable-deprecations warn about deprecated usages [default=no]
1553 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1554 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1555 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1557 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1558 --with-sysroot=DIR Search for dependent libraries within DIR
1559 (or the compiler's sysroot if not specified).
1560 --with-help-dir=DIR path to help docs
1561 --with-omf-dir=DIR path to OMF files
1562 --with-help-formats=FORMATS
1564 --with-html-dir=PATH path to installed docs
1565 --without-libebook build without Evolution Data Server support
1566 --without-libbarcode build without GNU Barcode support
1567 --without-libzint build without Zint Barcode support
1568 --without-libqrencode build without QR code support
1569 --without-libiec16022 build without IEC 16022 support
1571 Some influential environment variables:
1572 CC C compiler command
1573 CFLAGS C compiler flags
1574 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1575 nonstandard directory <lib dir>
1576 LIBS libraries to pass to the linker, e.g. -l<library>
1577 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1578 you have headers in a nonstandard directory <include dir>
1579 PKG_CONFIG path to pkg-config utility
1581 directories to add to pkg-config's search path
1583 path overriding pkg-config's built-in search path
1586 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1588 linker flags for GTKDOC_DEPS, overriding pkg-config
1590 C compiler flags for GLABELS, overriding pkg-config
1592 linker flags for GLABELS, overriding pkg-config
1594 C compiler flags for LIBGLABELS, overriding pkg-config
1596 linker flags for LIBGLABELS, overriding pkg-config
1598 C compiler flags for LIBGLBARCODE, overriding pkg-config
1600 linker flags for LIBGLBARCODE, overriding pkg-config
1602 C compiler flags for LIBEBOOK, overriding pkg-config
1604 linker flags for LIBEBOOK, overriding pkg-config
1606 C compiler flags for LIBQRENCODE, overriding pkg-config
1608 linker flags for LIBQRENCODE, overriding pkg-config
1610 C compiler flags for LIBIEC16022, overriding pkg-config
1612 linker flags for LIBIEC16022, overriding pkg-config
1614 Use these variables to override the choices made by `configure' or to help
1615 it to find libraries and programs with nonstandard names/locations.
1617 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1622 if test "$ac_init_help" = "recursive"; then
1623 # If there are subdirs, report their specific --help.
1624 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1625 test -d "$ac_dir" ||
1626 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1633 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1634 # A ".." for each directory in $ac_dir_suffix.
1635 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1636 case $ac_top_builddir_sub in
1637 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1638 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1641 ac_abs_top_builddir=$ac_pwd
1642 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1643 # for backward compatibility:
1644 ac_top_builddir=$ac_top_build_prefix
1647 .) # We are building in place.
1649 ac_top_srcdir=$ac_top_builddir_sub
1650 ac_abs_top_srcdir=$ac_pwd ;;
1651 [\\/]* | ?:[\\/]* ) # Absolute name.
1652 ac_srcdir=$srcdir$ac_dir_suffix;
1653 ac_top_srcdir=$srcdir
1654 ac_abs_top_srcdir=$srcdir ;;
1656 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1657 ac_top_srcdir=$ac_top_build_prefix$srcdir
1658 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1660 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1662 cd "$ac_dir" || { ac_status=$?; continue; }
1663 # Check for guested configure.
1664 if test -f "$ac_srcdir/configure.gnu"; then
1666 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1667 elif test -f "$ac_srcdir/configure"; then
1669 $SHELL "$ac_srcdir/configure" --help=recursive
1671 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1673 cd "$ac_pwd" || { ac_status=$?; break; }
1677 test -n "$ac_init_help" && exit $ac_status
1678 if $ac_init_version; then
1680 glabels configure 3.0.1
1681 generated by GNU Autoconf 2.68
1683 Copyright (C) 2010 Free Software Foundation, Inc.
1684 This configure script is free software; the Free Software Foundation
1685 gives unlimited permission to copy, distribute and modify it.
1690 ## ------------------------ ##
1691 ## Autoconf initialization. ##
1692 ## ------------------------ ##
1694 # ac_fn_c_try_compile LINENO
1695 # --------------------------
1696 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1697 ac_fn_c_try_compile ()
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 rm -f conftest.$ac_objext
1701 if { { ac_try="$ac_compile"
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_compile") 2>conftest.err
1710 if test -s conftest.err; then
1711 grep -v '^ *+' conftest.err >conftest.er1
1712 cat conftest.er1 >&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } && {
1717 test -z "$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1719 } && test -s conftest.$ac_objext; then :
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1730 } # ac_fn_c_try_compile
1732 # ac_fn_c_try_link LINENO
1733 # -----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded.
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 rm -f conftest.$ac_objext conftest$ac_exeext
1739 if { { ac_try="$ac_link"
1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>conftest.err
1748 if test -s conftest.err; then
1749 grep -v '^ *+' conftest.err >conftest.er1
1750 cat conftest.er1 >&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && {
1755 test -z "$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1757 } && test -s conftest$ac_exeext && {
1758 test "$cross_compiling" = yes ||
1759 $as_test_x conftest$ac_exeext
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1768 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770 # interfere with the next link command; also delete a directory that is
1771 # left behind by Apple's compiler. We do this before executing the actions.
1772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 as_fn_set_status $ac_retval
1776 } # ac_fn_c_try_link
1778 # ac_fn_c_check_func LINENO FUNC VAR
1779 # ----------------------------------
1780 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1781 ac_fn_c_check_func ()
1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \${$3+:} false; then :
1787 $as_echo_n "(cached) " >&6
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1791 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1793 #define $2 innocuous_$2
1795 /* System header to define __stub macros and hopefully few prototypes,
1796 which can conflict with char $2 (); below.
1797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1798 <limits.h> exists even on freestanding compilers. */
1801 # include <limits.h>
1803 # include <assert.h>
1808 /* Override any GCC internal prototype to avoid an error.
1809 Use char because int might match the return type of a GCC
1810 builtin and then its argument prototype would still apply. */
1815 /* The GNU C library defines this for functions which it implements
1816 to always fail with ENOSYS. Some functions are actually named
1817 something starting with __ and the normal name is an alias. */
1818 #if defined __stub_$2 || defined __stub___$2
1830 if ac_fn_c_try_link "$LINENO"; then :
1835 rm -f core conftest.err conftest.$ac_objext \
1836 conftest$ac_exeext conftest.$ac_ext
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843 } # ac_fn_c_check_func
1845 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1846 # -------------------------------------------------------
1847 # Tests whether HEADER exists and can be compiled using the include files in
1848 # INCLUDES, setting the cache variable VAR accordingly.
1849 ac_fn_c_check_header_compile ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if eval \${$3+:} false; then :
1855 $as_echo_n "(cached) " >&6
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1862 if ac_fn_c_try_compile "$LINENO"; then :
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 } # ac_fn_c_check_header_compile
1876 # ac_fn_c_try_cpp LINENO
1877 # ----------------------
1878 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 if { { ac_try="$ac_cpp conftest.$ac_ext"
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1891 if test -s conftest.err; then
1892 grep -v '^ *+' conftest.err >conftest.er1
1893 cat conftest.er1 >&5
1894 mv -f conftest.er1 conftest.err
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; } > conftest.i && {
1898 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1899 test ! -s conftest.err
1903 $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 as_fn_set_status $ac_retval
1913 # ac_fn_c_try_run LINENO
1914 # ----------------------
1915 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1916 # that executables *can* be run.
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 if { { ac_try="$ac_link"
1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_link") 2>&5
1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1931 { { case "(($ac_try" in
1932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933 *) ac_try_echo=$ac_try;;
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936 $as_echo "$ac_try_echo"; } >&5
1937 (eval "$ac_try") 2>&5
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; }; }; then :
1943 $as_echo "$as_me: program exited with status $ac_status" >&5
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.$ac_ext >&5
1947 ac_retval=$ac_status
1949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 as_fn_set_status $ac_retval
1955 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1956 # -------------------------------------------------------
1957 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1958 # the include files in INCLUDES and setting the cache variable VAR
1960 ac_fn_c_check_header_mongrel ()
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 if eval \${$3+:} false; then :
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \${$3+:} false; then :
1967 $as_echo_n "(cached) " >&6
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1973 # Is the header compilable?
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1975 $as_echo_n "checking $2 usability... " >&6; }
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1981 if ac_fn_c_try_compile "$LINENO"; then :
1982 ac_header_compiler=yes
1984 ac_header_compiler=no
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1988 $as_echo "$ac_header_compiler" >&6; }
1990 # Is the header present?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1992 $as_echo_n "checking $2 presence... " >&6; }
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1997 if ac_fn_c_try_cpp "$LINENO"; then :
1998 ac_header_preproc=yes
2000 ac_header_preproc=no
2002 rm -f conftest.err conftest.i conftest.$ac_ext
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2004 $as_echo "$ac_header_preproc" >&6; }
2006 # So? What about this header?
2007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2010 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2016 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2018 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2020 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2022 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2024 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2025 ( $as_echo "## ---------------------------------------------------------------------- ##
2026 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2027 ## ---------------------------------------------------------------------- ##"
2028 ) | sed "s/^/$as_me: WARNING: /" >&2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \${$3+:} false; then :
2034 $as_echo_n "(cached) " >&6
2036 eval "$3=\$ac_header_compiler"
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040 $as_echo "$ac_res" >&6; }
2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044 } # ac_fn_c_check_header_mongrel
2045 cat >config.log <<_ACEOF
2046 This file contains any messages produced by compilers while
2047 running configure, to aid debugging if configure makes a mistake.
2049 It was created by glabels $as_me 3.0.1, which was
2050 generated by GNU Autoconf 2.68. Invocation command line was
2062 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2063 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2064 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2065 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2066 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2068 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2069 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2071 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2072 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2073 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2074 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2075 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2076 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2077 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir=.
2086 $as_echo "PATH: $as_dir"
2102 # Keep a trace of the command line.
2103 # Strip out --no-create and --no-recursion so they do not pile up.
2104 # Strip out --silent because we don't want to record it for future runs.
2105 # Also quote any args containing shell meta-characters.
2106 # Make two passes to allow for proper duplicate-argument suppression.
2110 ac_must_keep_next=false
2116 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2118 | -silent | --silent | --silen | --sile | --sil)
2121 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2124 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2126 as_fn_append ac_configure_args1 " '$ac_arg'"
2127 if test $ac_must_keep_next = true; then
2128 ac_must_keep_next=false # Got value, back to normal.
2131 *=* | --config-cache | -C | -disable-* | --disable-* \
2132 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2133 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2134 | -with-* | --with-* | -without-* | --without-* | --x)
2135 case "$ac_configure_args0 " in
2136 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2139 -* ) ac_must_keep_next=true ;;
2142 as_fn_append ac_configure_args " '$ac_arg'"
2147 { ac_configure_args0=; unset ac_configure_args0;}
2148 { ac_configure_args1=; unset ac_configure_args1;}
2150 # When interrupted or exit'd, cleanup temporary files, and complete
2151 # config.log. We remove comments because anyway the quotes in there
2152 # would cause problems or look ugly.
2153 # WARNING: Use '\'' to represent an apostrophe within the trap.
2154 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2155 trap 'exit_status=$?
2156 # Save into config.log some information that might help in debugging.
2160 $as_echo "## ---------------- ##
2161 ## Cache variables. ##
2162 ## ---------------- ##"
2164 # The following way of writing the cache mishandles newlines in values,
2166 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2167 eval ac_val=\$$ac_var
2171 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2172 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2175 _ | IFS | as_nl) ;; #(
2176 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2177 *) { eval $ac_var=; unset $ac_var;} ;;
2182 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2183 *${as_nl}ac_space=\ *)
2185 "s/'\''/'\''\\\\'\'''\''/g;
2186 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2189 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2196 $as_echo "## ----------------- ##
2197 ## Output variables. ##
2198 ## ----------------- ##"
2200 for ac_var in $ac_subst_vars
2202 eval ac_val=\$$ac_var
2204 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 $as_echo "$ac_var='\''$ac_val'\''"
2210 if test -n "$ac_subst_files"; then
2211 $as_echo "## ------------------- ##
2212 ## File substitutions. ##
2213 ## ------------------- ##"
2215 for ac_var in $ac_subst_files
2217 eval ac_val=\$$ac_var
2219 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 $as_echo "$ac_var='\''$ac_val'\''"
2226 if test -s confdefs.h; then
2227 $as_echo "## ----------- ##
2234 test "$ac_signal" != 0 &&
2235 $as_echo "$as_me: caught signal $ac_signal"
2236 $as_echo "$as_me: exit $exit_status"
2238 rm -f core *.core core.conftest.* &&
2239 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2242 for ac_signal in 1 2 13 15; do
2243 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2247 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2248 rm -f -r conftest* confdefs.h
2250 $as_echo "/* confdefs.h */" > confdefs.h
2252 # Predefined preprocessor variables.
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_NAME "$PACKAGE_NAME"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_STRING "$PACKAGE_STRING"
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_URL "$PACKAGE_URL"
2279 # Let the site file select an alternate cache file if it wants to.
2280 # Prefer an explicitly selected file to automatically selected ones.
2283 if test -n "$CONFIG_SITE"; then
2284 # We do not want a PATH search for config.site.
2285 case $CONFIG_SITE in #((
2286 -*) ac_site_file1=./$CONFIG_SITE;;
2287 */*) ac_site_file1=$CONFIG_SITE;;
2288 *) ac_site_file1=./$CONFIG_SITE;;
2290 elif test "x$prefix" != xNONE; then
2291 ac_site_file1=$prefix/share/config.site
2292 ac_site_file2=$prefix/etc/config.site
2294 ac_site_file1=$ac_default_prefix/share/config.site
2295 ac_site_file2=$ac_default_prefix/etc/config.site
2297 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2299 test "x$ac_site_file" = xNONE && continue
2300 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2302 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2303 sed 's/^/| /' "$ac_site_file" >&5
2305 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307 as_fn_error $? "failed to load site script $ac_site_file
2308 See \`config.log' for more details" "$LINENO" 5; }
2312 if test -r "$cache_file"; then
2313 # Some versions of bash will fail to source /dev/null (special files
2314 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2315 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2317 $as_echo "$as_me: loading cache $cache_file" >&6;}
2319 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2320 *) . "./$cache_file";;
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2325 $as_echo "$as_me: creating cache $cache_file" >&6;}
2329 # Check that the precious variables saved in the cache have kept the same
2331 ac_cache_corrupted=false
2332 for ac_var in $ac_precious_vars; do
2333 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2334 eval ac_new_set=\$ac_env_${ac_var}_set
2335 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2336 eval ac_new_val=\$ac_env_${ac_var}_value
2337 case $ac_old_set,$ac_new_set in
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2340 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2341 ac_cache_corrupted=: ;;
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2344 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2345 ac_cache_corrupted=: ;;
2348 if test "x$ac_old_val" != "x$ac_new_val"; then
2349 # differences in whitespace do not lead to failure.
2350 ac_old_val_w=`echo x $ac_old_val`
2351 ac_new_val_w=`echo x $ac_new_val`
2352 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2354 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2355 ac_cache_corrupted=:
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2358 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2359 eval $ac_var=\$ac_old_val
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2362 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2364 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2367 # Pass precious variables to config.status.
2368 if test "$ac_new_set" = set; then
2370 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2371 *) ac_arg=$ac_var=$ac_new_val ;;
2373 case " $ac_configure_args " in
2374 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2375 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2379 if $ac_cache_corrupted; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2383 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2386 ## -------------------- ##
2387 ## Main body of script. ##
2388 ## -------------------- ##
2391 ac_cpp='$CPP $CPPFLAGS'
2392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2400 am__api_version='1.11'
2403 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2404 if test -f "$ac_dir/install-sh"; then
2406 ac_install_sh="$ac_aux_dir/install-sh -c"
2408 elif test -f "$ac_dir/install.sh"; then
2410 ac_install_sh="$ac_aux_dir/install.sh -c"
2412 elif test -f "$ac_dir/shtool"; then
2414 ac_install_sh="$ac_aux_dir/shtool install -c"
2418 if test -z "$ac_aux_dir"; then
2419 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2422 # These three variables are undocumented and unsupported,
2423 # and are intended to be withdrawn in a future Autoconf release.
2424 # They can cause serious problems if a builder's source tree is in a directory
2425 # whose full name contains unusual characters.
2426 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2427 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2428 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2431 # Find a good install program. We prefer a C program (faster),
2432 # so one script is as good as another. But avoid the broken or
2433 # incompatible versions:
2434 # SysV /etc/install, /usr/sbin/install
2435 # SunOS /usr/etc/install
2436 # IRIX /sbin/install
2438 # AmigaOS /C/install, which installs bootblocks on floppy discs
2439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2442 # OS/2's system install, which has a completely different semantic
2443 # ./install, which can be erroneously created by make from ./install.sh.
2444 # Reject install programs that cannot install multiple files.
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2446 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2447 if test -z "$INSTALL"; then
2448 if ${ac_cv_path_install+:} false; then :
2449 $as_echo_n "(cached) " >&6
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir=.
2456 # Account for people who put trailing slashes in PATH elements.
2457 case $as_dir/ in #((
2458 ./ | .// | /[cC]/* | \
2459 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2460 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2463 # OSF1 and SCO ODT 3.0 have their own names for install.
2464 # Don't use installbsd from OSF since it installs stuff as root
2466 for ac_prog in ginstall scoinst install; do
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2469 if test $ac_prog = install &&
2470 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2471 # AIX install. It has an incompatible calling convention.
2473 elif test $ac_prog = install &&
2474 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2475 # program-specific install script used by HP pwplus--don't use.
2478 rm -rf conftest.one conftest.two conftest.dir
2479 echo one > conftest.one
2480 echo two > conftest.two
2482 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2483 test -s conftest.one && test -s conftest.two &&
2484 test -s conftest.dir/conftest.one &&
2485 test -s conftest.dir/conftest.two
2487 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2500 rm -rf conftest.one conftest.two conftest.dir
2503 if test "${ac_cv_path_install+set}" = set; then
2504 INSTALL=$ac_cv_path_install
2506 # As a last resort, use the slow shell script. Don't cache a
2507 # value for INSTALL within a source directory, because that will
2508 # break other packages using the cache if that directory is
2509 # removed, or if the value is a relative name.
2510 INSTALL=$ac_install_sh
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2514 $as_echo "$INSTALL" >&6; }
2516 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2517 # It thinks the first close brace ends the variable substitution.
2518 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2520 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2522 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2525 $as_echo_n "checking whether build environment is sane... " >&6; }
2528 echo timestamp > conftest.file
2529 # Reject unsafe characters in $srcdir or the absolute working directory
2530 # name. Accept space and tab only in the latter.
2534 *[\\\"\#\$\&\'\`$am_lf]*)
2535 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2538 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2539 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2542 # Do `set' in a subshell so we don't clobber the current shell's
2543 # arguments. Must try -L first in case configure is actually a
2544 # symlink; some systems play weird games with the mod time of symlinks
2545 # (eg FreeBSD returns the mod time of the symlink's containing
2548 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2549 if test "$*" = "X"; then
2551 set X `ls -t "$srcdir/configure" conftest.file`
2554 if test "$*" != "X $srcdir/configure conftest.file" \
2555 && test "$*" != "X conftest.file $srcdir/configure"; then
2557 # If neither matched, then we have a broken ls. This can happen
2558 # if, for instance, CONFIG_SHELL is bash and it inherits a
2559 # broken ls alias from the environment. This has actually
2560 # happened. Such a system could not be considered "sane".
2561 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2562 alias in your environment" "$LINENO" 5
2565 test "$2" = conftest.file
2571 as_fn_error $? "newly created file is older than distributed files!
2572 Check your system clock" "$LINENO" 5
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2575 $as_echo "yes" >&6; }
2576 test "$program_prefix" != NONE &&
2577 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2578 # Use a double $ so make ignores it.
2579 test "$program_suffix" != NONE &&
2580 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2581 # Double any \ or $.
2582 # By default was `s,x,x', remove it if useless.
2583 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2584 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2586 # expand $ac_aux_dir to an absolute path
2587 am_aux_dir=`cd $ac_aux_dir && pwd`
2589 if test x"${MISSING+set}" != xset; then
2592 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2594 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2597 # Use eval to expand $SHELL
2598 if eval "$MISSING --run true"; then
2599 am_missing_run="$MISSING --run "
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2603 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2606 if test x"${install_sh}" != xset; then
2609 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2611 install_sh="\${SHELL} $am_aux_dir/install-sh"
2615 # Installed binaries are usually stripped using `strip' when the user
2616 # run `make install-strip'. However `strip' might not be the right
2617 # tool to use in cross-compilation environments, therefore Automake
2618 # will honor the `STRIP' environment variable to overrule this program.
2619 if test "$cross_compiling" != no; then
2620 if test -n "$ac_tool_prefix"; then
2621 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2622 set dummy ${ac_tool_prefix}strip; ac_word=$2
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if ${ac_cv_prog_STRIP+:} false; then :
2626 $as_echo_n "(cached) " >&6
2628 if test -n "$STRIP"; then
2629 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir=.
2636 for ac_exec_ext in '' $ac_executable_extensions; do
2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 STRIP=$ac_cv_prog_STRIP
2649 if test -n "$STRIP"; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2651 $as_echo "$STRIP" >&6; }
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 $as_echo "no" >&6; }
2659 if test -z "$ac_cv_prog_STRIP"; then
2661 # Extract the first word of "strip", so it can be a program name with args.
2662 set dummy strip; ac_word=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$ac_ct_STRIP"; then
2669 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir=.
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678 ac_cv_prog_ac_ct_STRIP="strip"
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2689 if test -n "$ac_ct_STRIP"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2691 $as_echo "$ac_ct_STRIP" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694 $as_echo "no" >&6; }
2697 if test "x$ac_ct_STRIP" = x; then
2700 case $cross_compiling:$ac_tool_warned in
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2704 ac_tool_warned=yes ;;
2709 STRIP="$ac_cv_prog_STRIP"
2713 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2716 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2717 if test -z "$MKDIR_P"; then
2718 if ${ac_cv_path_mkdir+:} false; then :
2719 $as_echo_n "(cached) " >&6
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2725 test -z "$as_dir" && as_dir=.
2726 for ac_prog in mkdir gmkdir; do
2727 for ac_exec_ext in '' $ac_executable_extensions; do
2728 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2729 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2730 'mkdir (GNU coreutils) '* | \
2731 'mkdir (coreutils) '* | \
2732 'mkdir (fileutils) '4.1*)
2733 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2743 test -d ./--version && rmdir ./--version
2744 if test "${ac_cv_path_mkdir+set}" = set; then
2745 MKDIR_P="$ac_cv_path_mkdir -p"
2747 # As a last resort, use the slow shell script. Don't cache a
2748 # value for MKDIR_P within a source directory, because that will
2749 # break other packages using the cache if that directory is
2750 # removed, or if the value is a relative name.
2751 MKDIR_P="$ac_install_sh -d"
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2755 $as_echo "$MKDIR_P" >&6; }
2759 [\\/$]* | ?:[\\/]*) ;;
2760 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2763 for ac_prog in gawk mawk nawk awk
2765 # Extract the first word of "$ac_prog", so it can be a program name with args.
2766 set dummy $ac_prog; ac_word=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if ${ac_cv_prog_AWK+:} false; then :
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$AWK"; then
2773 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 ac_cv_prog_AWK="$ac_prog"
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 if test -n "$AWK"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2795 $as_echo "$AWK" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2802 test -n "$AWK" && break
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2806 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2808 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2809 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2810 $as_echo_n "(cached) " >&6
2812 cat >conftest.make <<\_ACEOF
2815 @echo '@@@%%%=$(MAKE)=@@@%%%'
2817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2818 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2820 eval ac_cv_prog_make_${ac_make}_set=yes;;
2822 eval ac_cv_prog_make_${ac_make}_set=no;;
2826 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2828 $as_echo "yes" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2833 SET_MAKE="MAKE=${MAKE-make}"
2836 rm -rf .tst 2>/dev/null
2837 mkdir .tst 2>/dev/null
2838 if test -d .tst; then
2843 rmdir .tst 2>/dev/null
2845 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2846 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2847 # is not polluted with repeated "-I."
2848 am__isrc=' -I$(srcdir)'
2849 # test to see if srcdir already configured
2850 if test -f $srcdir/config.status; then
2851 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2855 # test whether we have cygpath
2856 if test -z "$CYGPATH_W"; then
2857 if (cygpath --version) >/dev/null 2>/dev/null; then
2858 CYGPATH_W='cygpath -w'
2865 # Define the identity of the package.
2870 cat >>confdefs.h <<_ACEOF
2871 #define PACKAGE "$PACKAGE"
2875 cat >>confdefs.h <<_ACEOF
2876 #define VERSION "$VERSION"
2879 # Some tools Automake needs.
2881 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2884 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2887 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2890 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2893 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2895 # We need awk for the "check" target. The system "awk" is bad on
2897 # Always define AMTAR for backward compatibility. Yes, it's still used
2898 # in the wild :-( We should find a proper way to deprecate it ...
2901 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2910 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2911 # Check whether --enable-maintainer-mode was given.
2912 if test "${enable_maintainer_mode+set}" = set; then :
2913 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2915 USE_MAINTAINER_MODE=no
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2919 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2920 if test $USE_MAINTAINER_MODE = yes; then
2921 MAINTAINER_MODE_TRUE=
2922 MAINTAINER_MODE_FALSE='#'
2924 MAINTAINER_MODE_TRUE='#'
2925 MAINTAINER_MODE_FALSE=
2928 MAINT=$MAINTAINER_MODE_TRUE
2931 # Check whether --enable-silent-rules was given.
2932 if test "${enable_silent_rules+set}" = set; then :
2933 enableval=$enable_silent_rules;
2936 case $enable_silent_rules in
2937 yes) AM_DEFAULT_VERBOSITY=0;;
2938 no) AM_DEFAULT_VERBOSITY=1;;
2939 *) AM_DEFAULT_VERBOSITY=0;;
2941 am_make=${MAKE-make}
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2943 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2944 if ${am_cv_make_support_nested_variables+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 if $as_echo 'TRUE=$(BAR$(V))
2953 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2954 am_cv_make_support_nested_variables=yes
2956 am_cv_make_support_nested_variables=no
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2960 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2961 if test $am_cv_make_support_nested_variables = yes; then
2963 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2965 AM_V=$AM_DEFAULT_VERBOSITY
2966 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2971 ac_config_headers="$ac_config_headers config.h"
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2976 $as_echo_n "checking whether NLS is requested... " >&6; }
2977 # Check whether --enable-nls was given.
2978 if test "${enable_nls+set}" = set; then :
2979 enableval=$enable_nls; USE_NLS=$enableval
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2985 $as_echo "$USE_NLS" >&6; }
2988 DEPDIR="${am__leading_dot}deps"
2990 ac_config_commands="$ac_config_commands depfiles"
2993 am_make=${MAKE-make}
2994 cat > confinc << 'END'
2996 @echo this is the am__doit target
2999 # If we don't find an include directive, just comment out the code.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3001 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3005 # First try GNU make style include.
3006 echo "include confinc" > confmf
3007 # Ignore all kinds of additional output from `make'.
3008 case `$am_make -s -f confmf 2> /dev/null` in #(
3009 *the\ am__doit\ target*)
3015 # Now try BSD make style include.
3016 if test "$am__include" = "#"; then
3017 echo '.include "confinc"' > confmf
3018 case `$am_make -s -f confmf 2> /dev/null` in #(
3019 *the\ am__doit\ target*)
3020 am__include=.include
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3029 $as_echo "$_am_result" >&6; }
3030 rm -f confinc confmf
3032 # Check whether --enable-dependency-tracking was given.
3033 if test "${enable_dependency_tracking+set}" = set; then :
3034 enableval=$enable_dependency_tracking;
3037 if test "x$enable_dependency_tracking" != xno; then
3038 am_depcomp="$ac_aux_dir/depcomp"
3042 if test "x$enable_dependency_tracking" != xno; then
3052 ac_cpp='$CPP $CPPFLAGS'
3053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3056 if test -n "$ac_tool_prefix"; then
3057 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3058 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if ${ac_cv_prog_CC+:} false; then :
3062 $as_echo_n "(cached) " >&6
3064 if test -n "$CC"; then
3065 ac_cv_prog_CC="$CC" # Let the user override the test.
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test -n "$CC"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3095 if test -z "$ac_cv_prog_CC"; then
3097 # Extract the first word of "gcc", so it can be a program name with args.
3098 set dummy gcc; ac_word=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3102 $as_echo_n "(cached) " >&6
3104 if test -n "$ac_ct_CC"; then
3105 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3114 ac_cv_prog_ac_ct_CC="gcc"
3115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3125 if test -n "$ac_ct_CC"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3127 $as_echo "$ac_ct_CC" >&6; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3133 if test "x$ac_ct_CC" = x; then
3136 case $cross_compiling:$ac_tool_warned in
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3140 ac_tool_warned=yes ;;
3148 if test -z "$CC"; then
3149 if test -n "$ac_tool_prefix"; then
3150 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3151 set dummy ${ac_tool_prefix}cc; ac_word=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_CC+:} false; then :
3155 $as_echo_n "(cached) " >&6
3157 if test -n "$CC"; then
3158 ac_cv_prog_CC="$CC" # Let the user override the test.
3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir=.
3165 for ac_exec_ext in '' $ac_executable_extensions; do
3166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167 ac_cv_prog_CC="${ac_tool_prefix}cc"
3168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 if test -n "$CC"; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3180 $as_echo "$CC" >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3189 if test -z "$CC"; then
3190 # Extract the first word of "cc", so it can be a program name with args.
3191 set dummy cc; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if ${ac_cv_prog_CC+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 if test -n "$CC"; then
3198 ac_cv_prog_CC="$CC" # Let the user override the test.
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir=.
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3208 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3209 ac_prog_rejected=yes
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 if test $ac_prog_rejected = yes; then
3221 # We found a bogon in the path, so make sure we never use it.
3222 set dummy $ac_cv_prog_CC
3224 if test $# != 0; then
3225 # We chose a different compiler from the bogus one.
3226 # However, it has the same basename, so the bogon will be chosen
3227 # first if we set CC to just the basename; use the full file name.
3229 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3235 if test -n "$CC"; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3237 $as_echo "$CC" >&6; }
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3245 if test -z "$CC"; then
3246 if test -n "$ac_tool_prefix"; then
3247 for ac_prog in cl.exe
3249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if ${ac_cv_prog_CC+:} false; then :
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$CC"; then
3257 ac_cv_prog_CC="$CC" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 if test -n "$CC"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3279 $as_echo "$CC" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3286 test -n "$CC" && break
3289 if test -z "$CC"; then
3291 for ac_prog in cl.exe
3293 # Extract the first word of "$ac_prog", so it can be a program name with args.
3294 set dummy $ac_prog; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3298 $as_echo_n "(cached) " >&6
3300 if test -n "$ac_ct_CC"; then
3301 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307 test -z "$as_dir" && as_dir=.
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310 ac_cv_prog_ac_ct_CC="$ac_prog"
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3321 if test -n "$ac_ct_CC"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3323 $as_echo "$ac_ct_CC" >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3330 test -n "$ac_ct_CC" && break
3333 if test "x$ac_ct_CC" = x; then
3336 case $cross_compiling:$ac_tool_warned in
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3340 ac_tool_warned=yes ;;
3349 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 as_fn_error $? "no acceptable C compiler found in \$PATH
3352 See \`config.log' for more details" "$LINENO" 5; }
3354 # Provide some information about the compiler.
3355 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3358 for ac_option in --version -v -V -qversion; do
3359 { { ac_try="$ac_compiler $ac_option >&5"
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3368 if test -s conftest.err; then
3370 ... rest of stderr output deleted ...
3371 10q' conftest.err >conftest.er1
3372 cat conftest.er1 >&5
3374 rm -f conftest.er1 conftest.err
3375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3376 test $ac_status = 0; }
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3390 ac_clean_files_save=$ac_clean_files
3391 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3392 # Try to create an executable without -o first, disregard a.out.
3393 # It will help us diagnose broken compilers, and finding out an intuition
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3396 $as_echo_n "checking whether the C compiler works... " >&6; }
3397 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3399 # The possible output files:
3400 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3403 for ac_file in $ac_files
3406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3412 if { { ac_try="$ac_link_default"
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_link_default") 2>&5
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }; then :
3423 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3424 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3425 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3426 # so that the user can short-circuit this test for compilers unknown to
3428 for ac_file in $ac_files ''
3430 test -f "$ac_file" || continue
3432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3435 # We found the default executable, but exeext='' is most
3439 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3441 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3443 # We set ac_cv_exeext here because the later test for it is not
3444 # safe: cross compilers may not add the suffix if given an `-o'
3445 # argument, so we may need to know it at that point already.
3446 # Even if this section looks crufty: it has the advantage of
3453 test "$ac_cv_exeext" = no && ac_cv_exeext=
3458 if test -z "$ac_file"; then :
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error 77 "C compiler cannot create executables
3467 See \`config.log' for more details" "$LINENO" 5; }
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470 $as_echo "yes" >&6; }
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3473 $as_echo_n "checking for C compiler default output file name... " >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475 $as_echo "$ac_file" >&6; }
3476 ac_exeext=$ac_cv_exeext
3478 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3479 ac_clean_files=$ac_clean_files_save
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3481 $as_echo_n "checking for suffix of executables... " >&6; }
3482 if { { ac_try="$ac_link"
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489 (eval "$ac_link") 2>&5
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }; then :
3493 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3494 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3495 # work properly (i.e., refer to `conftest.exe'), while it won't with
3497 for ac_file in conftest.exe conftest conftest.*; do
3498 test -f "$ac_file" || continue
3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3510 See \`config.log' for more details" "$LINENO" 5; }
3512 rm -f conftest conftest$ac_cv_exeext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3514 $as_echo "$ac_cv_exeext" >&6; }
3516 rm -f conftest.$ac_ext
3517 EXEEXT=$ac_cv_exeext
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3525 FILE *f = fopen ("conftest.out", "w");
3526 return ferror (f) || fclose (f) != 0;
3532 ac_clean_files="$ac_clean_files conftest.out"
3533 # Check that the compiler produces executables we can run. If not, either
3534 # the compiler is broken, or we cross compile.
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3536 $as_echo_n "checking whether we are cross compiling... " >&6; }
3537 if test "$cross_compiling" != yes; then
3538 { { ac_try="$ac_link"
3540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541 *) ac_try_echo=$ac_try;;
3543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544 $as_echo "$ac_try_echo"; } >&5
3545 (eval "$ac_link") 2>&5
3547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548 test $ac_status = 0; }
3549 if { ac_try='./conftest$ac_cv_exeext'
3550 { { case "(($ac_try" in
3551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555 $as_echo "$ac_try_echo"; } >&5
3556 (eval "$ac_try") 2>&5
3558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 test $ac_status = 0; }; }; then
3562 if test "$cross_compiling" = maybe; then
3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $? "cannot run C compiled programs.
3568 If you meant to cross compile, use \`--host'.
3569 See \`config.log' for more details" "$LINENO" 5; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3574 $as_echo "$cross_compiling" >&6; }
3576 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3577 ac_clean_files=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3579 $as_echo_n "checking for suffix of object files... " >&6; }
3580 if ${ac_cv_objext+:} false; then :
3581 $as_echo_n "(cached) " >&6
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3594 rm -f conftest.o conftest.obj
3595 if { { ac_try="$ac_compile"
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602 (eval "$ac_compile") 2>&5
3604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605 test $ac_status = 0; }; then :
3606 for ac_file in conftest.o conftest.obj conftest.*; do
3607 test -f "$ac_file" || continue;
3609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3610 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3615 $as_echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error $? "cannot compute suffix of object files: cannot compile
3621 See \`config.log' for more details" "$LINENO" 5; }
3623 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3626 $as_echo "$ac_cv_objext" >&6; }
3627 OBJEXT=$ac_cv_objext
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3630 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3631 if ${ac_cv_c_compiler_gnu+:} false; then :
3632 $as_echo_n "(cached) " >&6
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3648 if ac_fn_c_try_compile "$LINENO"; then :
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3658 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3659 if test $ac_compiler_gnu = yes; then
3664 ac_test_CFLAGS=${CFLAGS+set}
3665 ac_save_CFLAGS=$CFLAGS
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3667 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3668 if ${ac_cv_prog_cc_g+:} false; then :
3669 $as_echo_n "(cached) " >&6
3671 ac_save_c_werror_flag=$ac_c_werror_flag
3672 ac_c_werror_flag=yes
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3686 if ac_fn_c_try_compile "$LINENO"; then :
3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3701 if ac_fn_c_try_compile "$LINENO"; then :
3704 ac_c_werror_flag=$ac_save_c_werror_flag
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3717 if ac_fn_c_try_compile "$LINENO"; then :
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 ac_c_werror_flag=$ac_save_c_werror_flag
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3728 $as_echo "$ac_cv_prog_cc_g" >&6; }
3729 if test "$ac_test_CFLAGS" = set; then
3730 CFLAGS=$ac_save_CFLAGS
3731 elif test $ac_cv_prog_cc_g = yes; then
3732 if test "$GCC" = yes; then
3738 if test "$GCC" = yes; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3745 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3746 if ${ac_cv_prog_cc_c89+:} false; then :
3747 $as_echo_n "(cached) " >&6
3749 ac_cv_prog_cc_c89=no
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3755 #include <sys/types.h>
3756 #include <sys/stat.h>
3757 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3758 struct buf { int x; };
3759 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3760 static char *e (p, i)
3766 static char *f (char * (*g) (char **, int), char **p, ...)
3771 s = g (p, va_arg (v,int));
3776 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3777 function prototypes and stuff, but not '\xHH' hex character constants.
3778 These don't provoke an error unfortunately, instead are silently treated
3779 as 'x'. The following induces an error, until -std is added to get
3780 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3781 array size at least. It's necessary to write '\x00'==0 to get something
3782 that's true only with -std. */
3783 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3785 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3786 inside strings and character constants. */
3788 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3790 int test (int i, double x);
3791 struct s1 {int (*f) (int a);};
3792 struct s2 {int (*f) (double a);};
3793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3799 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3804 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3805 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3807 CC="$ac_save_CC $ac_arg"
3808 if ac_fn_c_try_compile "$LINENO"; then :
3809 ac_cv_prog_cc_c89=$ac_arg
3811 rm -f core conftest.err conftest.$ac_objext
3812 test "x$ac_cv_prog_cc_c89" != "xno" && break
3814 rm -f conftest.$ac_ext
3819 case "x$ac_cv_prog_cc_c89" in
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3822 $as_echo "none needed" >&6; } ;;
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3825 $as_echo "unsupported" >&6; } ;;
3827 CC="$CC $ac_cv_prog_cc_c89"
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3829 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3831 if test "x$ac_cv_prog_cc_c89" != xno; then :
3836 ac_cpp='$CPP $CPPFLAGS'
3837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841 depcc="$CC" am_compiler_list=
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3844 $as_echo_n "checking dependency style of $depcc... " >&6; }
3845 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3846 $as_echo_n "(cached) " >&6
3848 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3849 # We make a subdir and do the tests there. Otherwise we can end up
3850 # making bogus files that we don't know about and never remove. For
3851 # instance it was reported that on HP-UX the gcc test will end up
3852 # making a dummy file named `D' -- because `-MD' means `put the output
3856 # Copy depcomp to subdir because otherwise we won't find it if we're
3857 # using a relative directory.
3858 cp "$am_depcomp" conftest.dir
3860 # We will build objects and dependencies in a subdirectory because
3861 # it helps to detect inapplicable dependency modes. For instance
3862 # both Tru64's cc and ICC support -MD to output dependencies as a
3863 # side effect of compilation, but ICC will put the dependencies in
3864 # the current directory while Tru64 will put them in the object
3868 am_cv_CC_dependencies_compiler_type=none
3869 if test "$am_compiler_list" = ""; then
3870 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3873 case " $depcc " in #(
3874 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3877 for depmode in $am_compiler_list; do
3878 # Setup a source with many dependencies, because some compilers
3879 # like to wrap large dependency lists on column 80 (with \), and
3880 # we should not choose a depcomp mode which is confused by this.
3882 # We need to recreate these files for each test, as the compiler may
3883 # overwrite some of them when testing with obscure command lines.
3884 # This happens at least with the AIX C compiler.
3886 for i in 1 2 3 4 5 6; do
3887 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3888 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3889 # Solaris 8's {/usr,}/bin/sh.
3890 touch sub/conftst$i.h
3892 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3894 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3895 # mode. It turns out that the SunPro C++ compiler does not properly
3896 # handle `-M -o', and we need to detect this. Also, some Intel
3897 # versions had trouble with output in subdirs
3898 am__obj=sub/conftest.${OBJEXT-o}
3899 am__minus_obj="-o $am__obj"
3902 # This depmode causes a compiler race in universal mode.
3903 test "$am__universal" = false || continue
3906 # after this tag, mechanisms are not by side-effect, so they'll
3907 # only be used when explicitly requested
3908 if test "x$enable_dependency_tracking" = xyes; then
3914 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3915 # This compiler won't grok `-c -o', but also, the minuso test has
3916 # not run yet. These depmodes are late enough in the game, and
3917 # so weak that their functioning should not be impacted.
3918 am__obj=conftest.${OBJEXT-o}
3923 if depmode=$depmode \
3924 source=sub/conftest.c object=$am__obj \
3925 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3926 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3927 >/dev/null 2>conftest.err &&
3928 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3929 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3930 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3931 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3932 # icc doesn't choke on unknown options, it will just issue warnings
3933 # or remarks (even with -Werror). So we grep stderr for any message
3934 # that says an option was ignored or not supported.
3935 # When given -MP, icc 7.0 and 7.1 complain thusly:
3936 # icc: Command line warning: ignoring option '-M'; no argument required
3937 # The diagnosis changed in icc 8.0:
3938 # icc: Command line remark: option '-MP' not supported
3939 if (grep 'ignoring option' conftest.err ||
3940 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3941 am_cv_CC_dependencies_compiler_type=$depmode
3950 am_cv_CC_dependencies_compiler_type=none
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3955 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3956 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3959 test "x$enable_dependency_tracking" != xno \
3960 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3962 am__fastdepCC_FALSE='#'
3964 am__fastdepCC_TRUE='#'
3965 am__fastdepCC_FALSE=
3972 case "$am__api_version" in
3974 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3980 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3981 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3982 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3983 if test -n "0.21"; then
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3985 $as_echo_n "checking for intltool >= 0.21... " >&6; }
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3987 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3988 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3989 as_fn_error $? "Your intltool is too old. You need intltool 0.21 or later." "$LINENO" 5
3992 # Extract the first word of "intltool-update", so it can be a program name with args.
3993 set dummy intltool-update; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3997 $as_echo_n "(cached) " >&6
3999 case $INTLTOOL_UPDATE in
4001 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008 test -z "$as_dir" && as_dir=.
4009 for ac_exec_ext in '' $ac_executable_extensions; do
4010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4011 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4023 if test -n "$INTLTOOL_UPDATE"; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4025 $as_echo "$INTLTOOL_UPDATE" >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4032 # Extract the first word of "intltool-merge", so it can be a program name with args.
4033 set dummy intltool-merge; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4037 $as_echo_n "(cached) " >&6
4039 case $INTLTOOL_MERGE in
4041 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir=.
4049 for ac_exec_ext in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4063 if test -n "$INTLTOOL_MERGE"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4065 $as_echo "$INTLTOOL_MERGE" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4072 # Extract the first word of "intltool-extract", so it can be a program name with args.
4073 set dummy intltool-extract; ac_word=$2
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4075 $as_echo_n "checking for $ac_word... " >&6; }
4076 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4077 $as_echo_n "(cached) " >&6
4079 case $INTLTOOL_EXTRACT in
4081 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 test -z "$as_dir" && as_dir=.
4089 for ac_exec_ext in '' $ac_executable_extensions; do
4090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4091 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4103 if test -n "$INTLTOOL_EXTRACT"; then
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4105 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4108 $as_echo "no" >&6; }
4112 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4113 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4116 if test -z "$AM_DEFAULT_VERBOSITY"; then
4117 AM_DEFAULT_VERBOSITY=1
4121 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4122 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4123 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
4128 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4129 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4130 intltool__v_merge_options_0='-q'
4135 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4136 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4137 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4138 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4139 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
4140 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4141 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4142 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4143 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4144 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4145 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4146 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4147 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
4149 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
4151 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4152 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4153 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4154 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4155 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4156 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4157 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4255 # Check the gettext tools to make sure they are GNU
4256 # Extract the first word of "xgettext", so it can be a program name with args.
4257 set dummy xgettext; ac_word=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_path_XGETTEXT+:} false; then :
4261 $as_echo_n "(cached) " >&6
4265 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 XGETTEXT=$ac_cv_path_XGETTEXT
4287 if test -n "$XGETTEXT"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4289 $as_echo "$XGETTEXT" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4296 # Extract the first word of "msgmerge", so it can be a program name with args.
4297 set dummy msgmerge; ac_word=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if ${ac_cv_path_MSGMERGE+:} false; then :
4301 $as_echo_n "(cached) " >&6
4305 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir=.
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 MSGMERGE=$ac_cv_path_MSGMERGE
4327 if test -n "$MSGMERGE"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4329 $as_echo "$MSGMERGE" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 # Extract the first word of "msgfmt", so it can be a program name with args.
4337 set dummy msgfmt; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_path_MSGFMT+:} false; then :
4341 $as_echo_n "(cached) " >&6
4345 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 test -z "$as_dir" && as_dir=.
4353 for ac_exec_ext in '' $ac_executable_extensions; do
4354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4355 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366 MSGFMT=$ac_cv_path_MSGFMT
4367 if test -n "$MSGFMT"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4369 $as_echo "$MSGFMT" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4376 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4377 set dummy gmsgfmt; ac_word=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if ${ac_cv_path_GMSGFMT+:} false; then :
4381 $as_echo_n "(cached) " >&6
4385 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4395 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4407 GMSGFMT=$ac_cv_path_GMSGFMT
4408 if test -n "$GMSGFMT"; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4410 $as_echo "$GMSGFMT" >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4417 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4418 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4420 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4421 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4422 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4423 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4424 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4427 # Extract the first word of "perl", so it can be a program name with args.
4428 set dummy perl; ac_word=$2
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430 $as_echo_n "checking for $ac_word... " >&6; }
4431 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4432 $as_echo_n "(cached) " >&6
4434 case $INTLTOOL_PERL in
4436 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4446 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4458 if test -n "$INTLTOOL_PERL"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4460 $as_echo "$INTLTOOL_PERL" >&6; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4467 if test -z "$INTLTOOL_PERL"; then
4468 as_fn_error $? "perl not found" "$LINENO" 5
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4471 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4472 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4473 if test $? -ne 0; then
4474 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4476 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4478 $as_echo "$IT_PERL_VERSION" >&6; }
4480 if test "x" != "xno-xml"; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4482 $as_echo_n "checking for XML::Parser... " >&6; }
4483 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4485 $as_echo "ok" >&6; }
4487 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4491 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4494 # Set DATADIRNAME correctly if it is not set yet
4495 # (copied from glib-gettext.m4)
4496 if test -z "$DATADIRNAME"; then
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4503 extern int _nl_msg_cat_cntr;
4504 return _nl_msg_cat_cntr
4509 if ac_fn_c_try_link "$LINENO"; then :
4514 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4515 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4527 rm -f core conftest.err conftest.$ac_objext \
4528 conftest$ac_exeext conftest.$ac_ext
4543 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4544 if test -n "$ac_tool_prefix"; then
4545 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4546 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4550 $as_echo_n "(cached) " >&6
4554 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4564 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4576 if test -n "$PKG_CONFIG"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4578 $as_echo "$PKG_CONFIG" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4586 if test -z "$ac_cv_path_PKG_CONFIG"; then
4587 ac_pt_PKG_CONFIG=$PKG_CONFIG
4588 # Extract the first word of "pkg-config", so it can be a program name with args.
4589 set dummy pkg-config; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4593 $as_echo_n "(cached) " >&6
4595 case $ac_pt_PKG_CONFIG in
4597 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4619 if test -n "$ac_pt_PKG_CONFIG"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4621 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4627 if test "x$ac_pt_PKG_CONFIG" = x; then
4630 case $cross_compiling:$ac_tool_warned in
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4634 ac_tool_warned=yes ;;
4636 PKG_CONFIG=$ac_pt_PKG_CONFIG
4639 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4643 if test -n "$PKG_CONFIG"; then
4644 _pkg_min_version=0.9.0
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4646 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4647 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4649 $as_echo "yes" >&6; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4660 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4665 macro_version='2.4.2'
4666 macro_revision='1.3337'
4680 ltmain="$ac_aux_dir/ltmain.sh"
4682 # Make sure we can run config.sub.
4683 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4684 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4687 $as_echo_n "checking build system type... " >&6; }
4688 if ${ac_cv_build+:} false; then :
4689 $as_echo_n "(cached) " >&6
4691 ac_build_alias=$build_alias
4692 test "x$ac_build_alias" = x &&
4693 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4694 test "x$ac_build_alias" = x &&
4695 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4696 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4697 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4701 $as_echo "$ac_cv_build" >&6; }
4702 case $ac_cv_build in
4704 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4707 ac_save_IFS=$IFS; IFS='-'
4713 # Remember, the first character of IFS is used to create $*,
4714 # except with old shells:
4717 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4721 $as_echo_n "checking host system type... " >&6; }
4722 if ${ac_cv_host+:} false; then :
4723 $as_echo_n "(cached) " >&6
4725 if test "x$host_alias" = x; then
4726 ac_cv_host=$ac_cv_build
4728 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4729 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4734 $as_echo "$ac_cv_host" >&6; }
4737 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4740 ac_save_IFS=$IFS; IFS='-'
4746 # Remember, the first character of IFS is used to create $*,
4747 # except with old shells:
4750 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4753 # Backslashify metacharacters that are still active within
4754 # double-quoted strings.
4755 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4757 # Same as above, but do not quote variable references.
4758 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4760 # Sed substitution to delay expansion of an escaped shell variable in a
4761 # double_quote_subst'ed string.
4762 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4764 # Sed substitution to delay expansion of an escaped single quote.
4765 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4767 # Sed substitution to avoid accidental globbing in evaled expressions
4768 no_glob_subst='s/\*/\\\*/g'
4770 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4771 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4772 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4775 $as_echo_n "checking how to print strings... " >&6; }
4776 # Test print first, because it will be a builtin if present.
4777 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4778 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4780 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4783 # Use this function as a fallback that always works.
4784 func_fallback_echo ()
4786 eval 'cat <<_LTECHO_EOF
4790 ECHO='func_fallback_echo'
4793 # func_echo_all arg...
4794 # Invoke $ECHO with all args, space-separated.
4801 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4802 $as_echo "printf" >&6; } ;;
4803 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4804 $as_echo "print -r" >&6; } ;;
4805 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4806 $as_echo "cat" >&6; } ;;
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4823 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4824 if ${ac_cv_path_SED+:} false; then :
4825 $as_echo_n "(cached) " >&6
4827 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4828 for ac_i in 1 2 3 4 5 6 7; do
4829 ac_script="$ac_script$as_nl$ac_script"
4831 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4832 { ac_script=; unset ac_script;}
4833 if test -z "$SED"; then
4834 ac_path_SED_found=false
4835 # Loop through the user's path and test for each of PROGNAME-LIST
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir=.
4841 for ac_prog in sed gsed; do
4842 for ac_exec_ext in '' $ac_executable_extensions; do
4843 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4844 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4845 # Check for GNU ac_path_SED and select it if it is found.
4846 # Check for GNU $ac_path_SED
4847 case `"$ac_path_SED" --version 2>&1` in
4849 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4852 $as_echo_n 0123456789 >"conftest.in"
4855 cat "conftest.in" "conftest.in" >"conftest.tmp"
4856 mv "conftest.tmp" "conftest.in"
4857 cp "conftest.in" "conftest.nl"
4858 $as_echo '' >> "conftest.nl"
4859 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4860 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4861 as_fn_arith $ac_count + 1 && ac_count=$as_val
4862 if test $ac_count -gt ${ac_path_SED_max-0}; then
4863 # Best one so far, save it but keep looking for a better one
4864 ac_cv_path_SED="$ac_path_SED"
4865 ac_path_SED_max=$ac_count
4867 # 10*(2^10) chars as input seems more than enough
4868 test $ac_count -gt 10 && break
4870 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4873 $ac_path_SED_found && break 3
4878 if test -z "$ac_cv_path_SED"; then
4879 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4887 $as_echo "$ac_cv_path_SED" >&6; }
4888 SED="$ac_cv_path_SED"
4891 test -z "$SED" && SED=sed
4892 Xsed="$SED -e 1s/^X//"
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4905 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4906 if ${ac_cv_path_GREP+:} false; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -z "$GREP"; then
4910 ac_path_GREP_found=false
4911 # Loop through the user's path and test for each of PROGNAME-LIST
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4916 test -z "$as_dir" && as_dir=.
4917 for ac_prog in grep ggrep; do
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4920 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4921 # Check for GNU ac_path_GREP and select it if it is found.
4922 # Check for GNU $ac_path_GREP
4923 case `"$ac_path_GREP" --version 2>&1` in
4925 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4928 $as_echo_n 0123456789 >"conftest.in"
4931 cat "conftest.in" "conftest.in" >"conftest.tmp"
4932 mv "conftest.tmp" "conftest.in"
4933 cp "conftest.in" "conftest.nl"
4934 $as_echo 'GREP' >> "conftest.nl"
4935 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4936 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4937 as_fn_arith $ac_count + 1 && ac_count=$as_val
4938 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4939 # Best one so far, save it but keep looking for a better one
4940 ac_cv_path_GREP="$ac_path_GREP"
4941 ac_path_GREP_max=$ac_count
4943 # 10*(2^10) chars as input seems more than enough
4944 test $ac_count -gt 10 && break
4946 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4949 $ac_path_GREP_found && break 3
4954 if test -z "$ac_cv_path_GREP"; then
4955 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4958 ac_cv_path_GREP=$GREP
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4963 $as_echo "$ac_cv_path_GREP" >&6; }
4964 GREP="$ac_cv_path_GREP"
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4968 $as_echo_n "checking for egrep... " >&6; }
4969 if ${ac_cv_path_EGREP+:} false; then :
4970 $as_echo_n "(cached) " >&6
4972 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4973 then ac_cv_path_EGREP="$GREP -E"
4975 if test -z "$EGREP"; then
4976 ac_path_EGREP_found=false
4977 # Loop through the user's path and test for each of PROGNAME-LIST
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4982 test -z "$as_dir" && as_dir=.
4983 for ac_prog in egrep; do
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4986 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4987 # Check for GNU ac_path_EGREP and select it if it is found.
4988 # Check for GNU $ac_path_EGREP
4989 case `"$ac_path_EGREP" --version 2>&1` in
4991 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4994 $as_echo_n 0123456789 >"conftest.in"
4997 cat "conftest.in" "conftest.in" >"conftest.tmp"
4998 mv "conftest.tmp" "conftest.in"
4999 cp "conftest.in" "conftest.nl"
5000 $as_echo 'EGREP' >> "conftest.nl"
5001 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5002 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5003 as_fn_arith $ac_count + 1 && ac_count=$as_val
5004 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5005 # Best one so far, save it but keep looking for a better one
5006 ac_cv_path_EGREP="$ac_path_EGREP"
5007 ac_path_EGREP_max=$ac_count
5009 # 10*(2^10) chars as input seems more than enough
5010 test $ac_count -gt 10 && break
5012 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5015 $ac_path_EGREP_found && break 3
5020 if test -z "$ac_cv_path_EGREP"; then
5021 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5024 ac_cv_path_EGREP=$EGREP
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5030 $as_echo "$ac_cv_path_EGREP" >&6; }
5031 EGREP="$ac_cv_path_EGREP"
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5035 $as_echo_n "checking for fgrep... " >&6; }
5036 if ${ac_cv_path_FGREP+:} false; then :
5037 $as_echo_n "(cached) " >&6
5039 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5040 then ac_cv_path_FGREP="$GREP -F"
5042 if test -z "$FGREP"; then
5043 ac_path_FGREP_found=false
5044 # Loop through the user's path and test for each of PROGNAME-LIST
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5049 test -z "$as_dir" && as_dir=.
5050 for ac_prog in fgrep; do
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5053 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5054 # Check for GNU ac_path_FGREP and select it if it is found.
5055 # Check for GNU $ac_path_FGREP
5056 case `"$ac_path_FGREP" --version 2>&1` in
5058 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5061 $as_echo_n 0123456789 >"conftest.in"
5064 cat "conftest.in" "conftest.in" >"conftest.tmp"
5065 mv "conftest.tmp" "conftest.in"
5066 cp "conftest.in" "conftest.nl"
5067 $as_echo 'FGREP' >> "conftest.nl"
5068 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5069 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5070 as_fn_arith $ac_count + 1 && ac_count=$as_val
5071 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5072 # Best one so far, save it but keep looking for a better one
5073 ac_cv_path_FGREP="$ac_path_FGREP"
5074 ac_path_FGREP_max=$ac_count
5076 # 10*(2^10) chars as input seems more than enough
5077 test $ac_count -gt 10 && break
5079 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5082 $ac_path_FGREP_found && break 3
5087 if test -z "$ac_cv_path_FGREP"; then
5088 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5091 ac_cv_path_FGREP=$FGREP
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5097 $as_echo "$ac_cv_path_FGREP" >&6; }
5098 FGREP="$ac_cv_path_FGREP"
5101 test -z "$GREP" && GREP=grep
5121 # Check whether --with-gnu-ld was given.
5122 if test "${with_gnu_ld+set}" = set; then :
5123 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5129 if test "$GCC" = yes; then
5130 # Check if gcc -print-prog-name=ld gives a path.
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5132 $as_echo_n "checking for ld used by $CC... " >&6; }
5135 # gcc leaves a trailing carriage return which upsets mingw
5136 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5138 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5141 # Accept absolute paths.
5143 re_direlt='/[^/][^/]*/\.\./'
5144 # Canonicalize the pathname of ld
5145 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5146 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5147 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5149 test -z "$LD" && LD="$ac_prog"
5152 # If it fails, then pretend we aren't using GCC.
5156 # If it is relative, then search for the first ld in PATH.
5160 elif test "$with_gnu_ld" = yes; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5162 $as_echo_n "checking for GNU ld... " >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5165 $as_echo_n "checking for non-GNU ld... " >&6; }
5167 if ${lt_cv_path_LD+:} false; then :
5168 $as_echo_n "(cached) " >&6
5170 if test -z "$LD"; then
5171 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5172 for ac_dir in $PATH; do
5174 test -z "$ac_dir" && ac_dir=.
5175 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5176 lt_cv_path_LD="$ac_dir/$ac_prog"
5177 # Check to see if the program is GNU ld. I'd rather use --version,
5178 # but apparently some variants of GNU ld only accept -v.
5179 # Break only if it was the GNU/non-GNU ld that we prefer.
5180 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5181 *GNU* | *'with BFD'*)
5182 test "$with_gnu_ld" != no && break
5185 test "$with_gnu_ld" != yes && break
5192 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5197 if test -n "$LD"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5199 $as_echo "$LD" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5204 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5206 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5207 if ${lt_cv_prog_gnu_ld+:} false; then :
5208 $as_echo_n "(cached) " >&6
5210 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5211 case `$LD -v 2>&1 </dev/null` in
5212 *GNU* | *'with BFD'*)
5213 lt_cv_prog_gnu_ld=yes
5216 lt_cv_prog_gnu_ld=no
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5221 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5222 with_gnu_ld=$lt_cv_prog_gnu_ld
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5233 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5234 if ${lt_cv_path_NM+:} false; then :
5235 $as_echo_n "(cached) " >&6
5237 if test -n "$NM"; then
5238 # Let the user override the test.
5241 lt_nm_to_check="${ac_tool_prefix}nm"
5242 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5243 lt_nm_to_check="$lt_nm_to_check nm"
5245 for lt_tmp_nm in $lt_nm_to_check; do
5246 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5247 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5249 test -z "$ac_dir" && ac_dir=.
5250 tmp_nm="$ac_dir/$lt_tmp_nm"
5251 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5252 # Check to see if the nm accepts a BSD-compat flag.
5253 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5254 # nm: unknown option "B" ignored
5255 # Tru64's nm complains that /dev/null is an invalid object file
5256 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5257 */dev/null* | *'Invalid file or object type'*)
5258 lt_cv_path_NM="$tmp_nm -B"
5262 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5264 lt_cv_path_NM="$tmp_nm -p"
5268 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5269 continue # so that we can try to find one that supports BSD flags
5278 : ${lt_cv_path_NM=no}
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5282 $as_echo "$lt_cv_path_NM" >&6; }
5283 if test "$lt_cv_path_NM" != "no"; then
5286 # Didn't find any BSD compatible name lister, look for dumpbin.
5287 if test -n "$DUMPBIN"; then :
5288 # Let the user override the test.
5290 if test -n "$ac_tool_prefix"; then
5291 for ac_prog in dumpbin "link -dump"
5293 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5294 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if ${ac_cv_prog_DUMPBIN+:} false; then :
5298 $as_echo_n "(cached) " >&6
5300 if test -n "$DUMPBIN"; then
5301 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 test -z "$as_dir" && as_dir=.
5308 for ac_exec_ext in '' $ac_executable_extensions; do
5309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 DUMPBIN=$ac_cv_prog_DUMPBIN
5321 if test -n "$DUMPBIN"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5323 $as_echo "$DUMPBIN" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5330 test -n "$DUMPBIN" && break
5333 if test -z "$DUMPBIN"; then
5334 ac_ct_DUMPBIN=$DUMPBIN
5335 for ac_prog in dumpbin "link -dump"
5337 # Extract the first word of "$ac_prog", so it can be a program name with args.
5338 set dummy $ac_prog; ac_word=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5342 $as_echo_n "(cached) " >&6
5344 if test -n "$ac_ct_DUMPBIN"; then
5345 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir=.
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5365 if test -n "$ac_ct_DUMPBIN"; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5367 $as_echo "$ac_ct_DUMPBIN" >&6; }
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5374 test -n "$ac_ct_DUMPBIN" && break
5377 if test "x$ac_ct_DUMPBIN" = x; then
5380 case $cross_compiling:$ac_tool_warned in
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5384 ac_tool_warned=yes ;;
5386 DUMPBIN=$ac_ct_DUMPBIN
5390 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5392 DUMPBIN="$DUMPBIN -symbols"
5400 if test "$DUMPBIN" != ":"; then
5404 test -z "$NM" && NM=nm
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5412 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5413 if ${lt_cv_nm_interface+:} false; then :
5414 $as_echo_n "(cached) " >&6
5416 lt_cv_nm_interface="BSD nm"
5417 echo "int some_variable = 0;" > conftest.$ac_ext
5418 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5419 (eval "$ac_compile" 2>conftest.err)
5420 cat conftest.err >&5
5421 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5422 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5423 cat conftest.err >&5
5424 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5425 cat conftest.out >&5
5426 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5427 lt_cv_nm_interface="MS dumpbin"
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5432 $as_echo "$lt_cv_nm_interface" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5435 $as_echo_n "checking whether ln -s works... " >&6; }
5437 if test "$LN_S" = "ln -s"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5439 $as_echo "yes" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5442 $as_echo "no, using $LN_S" >&6; }
5445 # find the maximum length of command line arguments
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5447 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5448 if ${lt_cv_sys_max_cmd_len+:} false; then :
5449 $as_echo_n "(cached) " >&6
5456 # On DJGPP, this test can blow up pretty badly due to problems in libc
5457 # (any single argument exceeding 2000 bytes causes a buffer overrun
5458 # during glob expansion). Even if it were fixed, the result of this
5459 # check would be larger than it should be.
5460 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5464 # Under GNU Hurd, this test is not required because there is
5465 # no limit to the length of command line arguments.
5466 # Libtool will interpret -1 as no limit whatsoever
5467 lt_cv_sys_max_cmd_len=-1;
5470 cygwin* | mingw* | cegcc*)
5471 # On Win9x/ME, this test blows up -- it succeeds, but takes
5472 # about 5 minutes as the teststring grows exponentially.
5473 # Worse, since 9x/ME are not pre-emptively multitasking,
5474 # you end up with a "frozen" computer, even though with patience
5475 # the test eventually succeeds (with a max line length of 256k).
5476 # Instead, let's just punt: use the minimum linelength reported by
5477 # all of the supported platforms: 8192 (on NT/2K/XP).
5478 lt_cv_sys_max_cmd_len=8192;
5482 # On MiNT this can take a long time and run out of memory.
5483 lt_cv_sys_max_cmd_len=8192;
5487 # On AmigaOS with pdksh, this test takes hours, literally.
5488 # So we just punt and use a minimum line length of 8192.
5489 lt_cv_sys_max_cmd_len=8192;
5492 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5493 # This has been around since 386BSD, at least. Likely further.
5494 if test -x /sbin/sysctl; then
5495 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5496 elif test -x /usr/sbin/sysctl; then
5497 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5499 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5501 # And add a safety zone
5502 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5503 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5507 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5508 lt_cv_sys_max_cmd_len=196608
5512 # The test takes a long time on OS/2.
5513 lt_cv_sys_max_cmd_len=8192
5517 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5518 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5519 # nice to cause kernel panics so lets avoid the loop below.
5520 # First set a reasonable default.
5521 lt_cv_sys_max_cmd_len=16384
5523 if test -x /sbin/sysconfig; then
5524 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5525 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5530 lt_cv_sys_max_cmd_len=102400
5532 sysv5* | sco5v6* | sysv4.2uw2*)
5533 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5534 if test -n "$kargmax"; then
5535 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5537 lt_cv_sys_max_cmd_len=32768
5541 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5542 if test -n "$lt_cv_sys_max_cmd_len"; then
5543 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5544 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5546 # Make teststring a little bigger before we do anything with it.
5547 # a 1K string should be a reasonable start.
5548 for i in 1 2 3 4 5 6 7 8 ; do
5549 teststring=$teststring$teststring
5551 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5552 # If test is not a shell built-in, we'll probably end up computing a
5553 # maximum length that is only half of the actual maximum length, but
5555 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5556 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5557 test $i != 17 # 1/2 MB should be enough
5560 teststring=$teststring$teststring
5562 # Only check the string length outside the loop.
5563 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5565 # Add a significant safety factor because C++ compilers can tack on
5566 # massive amounts of additional arguments before passing them to the
5567 # linker. It appears as though 1/2 is a usable value.
5568 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5575 if test -n $lt_cv_sys_max_cmd_len ; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5577 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5580 $as_echo "none" >&6; }
5582 max_cmd_len=$lt_cv_sys_max_cmd_len
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5594 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5595 # Try some XSI features
5598 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5600 && eval 'test $(( 1 + 1 )) -eq 2 \
5601 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5604 $as_echo "$xsi_shell" >&6; }
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5608 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5610 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5612 && lt_shell_append=yes
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5614 $as_echo "$lt_shell_append" >&6; }
5617 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5627 # test EBCDIC or ASCII
5628 case `echo X|tr X '\101'` in
5629 A) # ASCII based system
5630 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5631 lt_SP2NL='tr \040 \012'
5632 lt_NL2SP='tr \015\012 \040\040'
5634 *) # EBCDIC based system
5635 lt_SP2NL='tr \100 \n'
5636 lt_NL2SP='tr \r\n \100\100'
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5649 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5650 if ${lt_cv_to_host_file_cmd+:} false; then :
5651 $as_echo_n "(cached) " >&6
5656 *-*-mingw* ) # actually msys
5657 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5660 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5662 * ) # otherwise, assume *nix
5663 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5669 *-*-mingw* ) # actually msys
5670 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5673 lt_cv_to_host_file_cmd=func_convert_file_noop
5675 * ) # otherwise, assume *nix
5676 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5680 * ) # unhandled hosts (and "normal" native builds)
5681 lt_cv_to_host_file_cmd=func_convert_file_noop
5687 to_host_file_cmd=$lt_cv_to_host_file_cmd
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5689 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5696 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5697 if ${lt_cv_to_tool_file_cmd+:} false; then :
5698 $as_echo_n "(cached) " >&6
5700 #assume ordinary cross tools, or native build.
5701 lt_cv_to_tool_file_cmd=func_convert_file_noop
5705 *-*-mingw* ) # actually msys
5706 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5714 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5716 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5723 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5724 if ${lt_cv_ld_reload_flag+:} false; then :
5725 $as_echo_n "(cached) " >&6
5727 lt_cv_ld_reload_flag='-r'
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5730 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5731 reload_flag=$lt_cv_ld_reload_flag
5732 case $reload_flag in
5734 *) reload_flag=" $reload_flag" ;;
5736 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5738 cygwin* | mingw* | pw32* | cegcc*)
5739 if test "$GCC" != yes; then
5744 if test "$GCC" = yes; then
5745 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5747 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5760 if test -n "$ac_tool_prefix"; then
5761 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5762 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if ${ac_cv_prog_OBJDUMP+:} false; then :
5766 $as_echo_n "(cached) " >&6
5768 if test -n "$OBJDUMP"; then
5769 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 test -z "$as_dir" && as_dir=.
5776 for ac_exec_ext in '' $ac_executable_extensions; do
5777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 OBJDUMP=$ac_cv_prog_OBJDUMP
5789 if test -n "$OBJDUMP"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5791 $as_echo "$OBJDUMP" >&6; }
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5799 if test -z "$ac_cv_prog_OBJDUMP"; then
5800 ac_ct_OBJDUMP=$OBJDUMP
5801 # Extract the first word of "objdump", so it can be a program name with args.
5802 set dummy objdump; ac_word=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5806 $as_echo_n "(cached) " >&6
5808 if test -n "$ac_ct_OBJDUMP"; then
5809 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5815 test -z "$as_dir" && as_dir=.
5816 for ac_exec_ext in '' $ac_executable_extensions; do
5817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5818 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5829 if test -n "$ac_ct_OBJDUMP"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5831 $as_echo "$ac_ct_OBJDUMP" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5837 if test "x$ac_ct_OBJDUMP" = x; then
5840 case $cross_compiling:$ac_tool_warned in
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5844 ac_tool_warned=yes ;;
5846 OBJDUMP=$ac_ct_OBJDUMP
5849 OBJDUMP="$ac_cv_prog_OBJDUMP"
5852 test -z "$OBJDUMP" && OBJDUMP=objdump
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5863 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5864 if ${lt_cv_deplibs_check_method+:} false; then :
5865 $as_echo_n "(cached) " >&6
5867 lt_cv_file_magic_cmd='$MAGIC_CMD'
5868 lt_cv_file_magic_test_file=
5869 lt_cv_deplibs_check_method='unknown'
5870 # Need to set the preceding variable on all platforms that support
5871 # interlibrary dependencies.
5872 # 'none' -- dependencies not supported.
5873 # `unknown' -- same as none, but documents that we really don't know.
5874 # 'pass_all' -- all dependencies passed with no checks.
5875 # 'test_compile' -- check by making test program.
5876 # 'file_magic [[regex]]' -- check by looking for files in library path
5877 # which responds to the $file_magic_cmd with a given extended regex.
5878 # If you have `file' or equivalent on your system and you're not sure
5879 # whether `pass_all' will *always* work, you probably want this one.
5883 lt_cv_deplibs_check_method=pass_all
5887 lt_cv_deplibs_check_method=pass_all
5891 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5892 lt_cv_file_magic_cmd='/usr/bin/file -L'
5893 lt_cv_file_magic_test_file=/shlib/libc.so
5897 # func_win32_libid is a shell function defined in ltmain.sh
5898 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5899 lt_cv_file_magic_cmd='func_win32_libid'
5903 # Base MSYS/MinGW do not provide the 'file' command needed by
5904 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5905 # unless we find 'file', for example because we are cross-compiling.
5906 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5907 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5908 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5909 lt_cv_file_magic_cmd='func_win32_libid'
5911 # Keep this pattern in sync with the one in func_win32_libid.
5912 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5913 lt_cv_file_magic_cmd='$OBJDUMP -f'
5918 # use the weaker test based on 'objdump'. See mingw*.
5919 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5920 lt_cv_file_magic_cmd='$OBJDUMP -f'
5923 darwin* | rhapsody*)
5924 lt_cv_deplibs_check_method=pass_all
5927 freebsd* | dragonfly*)
5928 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5931 # Not sure whether the presence of OpenBSD here was a mistake.
5932 # Let's accept both of them until this is cleared up.
5933 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5934 lt_cv_file_magic_cmd=/usr/bin/file
5935 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5939 lt_cv_deplibs_check_method=pass_all
5944 lt_cv_deplibs_check_method=pass_all
5948 lt_cv_deplibs_check_method=pass_all
5951 hpux10.20* | hpux11*)
5952 lt_cv_file_magic_cmd=/usr/bin/file
5955 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5956 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5959 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5960 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5964 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5970 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5971 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5974 irix5* | irix6* | nonstopux*)
5976 *-32|*"-32 ") libmagic=32-bit;;
5977 *-n32|*"-n32 ") libmagic=N32;;
5978 *-64|*"-64 ") libmagic=64-bit;;
5979 *) libmagic=never-match;;
5981 lt_cv_deplibs_check_method=pass_all
5984 # This must be glibc/ELF.
5985 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5986 lt_cv_deplibs_check_method=pass_all
5989 netbsd* | netbsdelf*-gnu)
5990 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5991 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5993 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5998 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5999 lt_cv_file_magic_cmd=/usr/bin/file
6000 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6004 lt_cv_deplibs_check_method=pass_all
6008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6009 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6011 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6015 osf3* | osf4* | osf5*)
6016 lt_cv_deplibs_check_method=pass_all
6020 lt_cv_deplibs_check_method=pass_all
6024 lt_cv_deplibs_check_method=pass_all
6027 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6028 lt_cv_deplibs_check_method=pass_all
6032 case $host_vendor in
6034 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]'
6035 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6038 lt_cv_deplibs_check_method=pass_all
6041 lt_cv_file_magic_cmd='/bin/file'
6042 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6045 lt_cv_file_magic_cmd='/bin/file'
6046 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6047 lt_cv_file_magic_test_file=/lib/libc.so
6050 lt_cv_deplibs_check_method=pass_all
6053 lt_cv_deplibs_check_method=pass_all
6059 lt_cv_deplibs_check_method=pass_all
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6065 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6069 if test "$build" = "$host"; then
6072 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6075 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6081 file_magic_cmd=$lt_cv_file_magic_cmd
6082 deplibs_check_method=$lt_cv_deplibs_check_method
6083 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6106 if test -n "$ac_tool_prefix"; then
6107 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6108 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_DLLTOOL+:} false; then :
6112 $as_echo_n "(cached) " >&6
6114 if test -n "$DLLTOOL"; then
6115 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6124 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 DLLTOOL=$ac_cv_prog_DLLTOOL
6135 if test -n "$DLLTOOL"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6137 $as_echo "$DLLTOOL" >&6; }
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6145 if test -z "$ac_cv_prog_DLLTOOL"; then
6146 ac_ct_DLLTOOL=$DLLTOOL
6147 # Extract the first word of "dlltool", so it can be a program name with args.
6148 set dummy dlltool; ac_word=$2
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6150 $as_echo_n "checking for $ac_word... " >&6; }
6151 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6152 $as_echo_n "(cached) " >&6
6154 if test -n "$ac_ct_DLLTOOL"; then
6155 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 test -z "$as_dir" && as_dir=.
6162 for ac_exec_ext in '' $ac_executable_extensions; do
6163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6164 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6174 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6175 if test -n "$ac_ct_DLLTOOL"; then
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6177 $as_echo "$ac_ct_DLLTOOL" >&6; }
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6180 $as_echo "no" >&6; }
6183 if test "x$ac_ct_DLLTOOL" = x; then
6186 case $cross_compiling:$ac_tool_warned in
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6190 ac_tool_warned=yes ;;
6192 DLLTOOL=$ac_ct_DLLTOOL
6195 DLLTOOL="$ac_cv_prog_DLLTOOL"
6198 test -z "$DLLTOOL" && DLLTOOL=dlltool
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6210 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6211 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6212 $as_echo_n "(cached) " >&6
6214 lt_cv_sharedlib_from_linklib_cmd='unknown'
6217 cygwin* | mingw* | pw32* | cegcc*)
6218 # two different shell functions defined in ltmain.sh
6219 # decide which to use based on capabilities of $DLLTOOL
6220 case `$DLLTOOL --help 2>&1` in
6221 *--identify-strict*)
6222 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6225 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6230 # fallback: assume linklib IS sharedlib
6231 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6237 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6238 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6239 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6247 if test -n "$ac_tool_prefix"; then
6250 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6253 $as_echo_n "checking for $ac_word... " >&6; }
6254 if ${ac_cv_prog_AR+:} false; then :
6255 $as_echo_n "(cached) " >&6
6257 if test -n "$AR"; then
6258 ac_cv_prog_AR="$AR" # Let the user override the test.
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 test -z "$as_dir" && as_dir=.
6265 for ac_exec_ext in '' $ac_executable_extensions; do
6266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6267 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6278 if test -n "$AR"; then
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6280 $as_echo "$AR" >&6; }
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6283 $as_echo "no" >&6; }
6287 test -n "$AR" && break
6290 if test -z "$AR"; then
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy $ac_prog; ac_word=$2
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6297 $as_echo_n "checking for $ac_word... " >&6; }
6298 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6299 $as_echo_n "(cached) " >&6
6301 if test -n "$ac_ct_AR"; then
6302 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_ac_ct_AR="$ac_prog"
6312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6322 if test -n "$ac_ct_AR"; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6324 $as_echo "$ac_ct_AR" >&6; }
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327 $as_echo "no" >&6; }
6331 test -n "$ac_ct_AR" && break
6334 if test "x$ac_ct_AR" = x; then
6337 case $cross_compiling:$ac_tool_warned in
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6341 ac_tool_warned=yes ;;
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6361 $as_echo_n "checking for archiver @FILE support... " >&6; }
6362 if ${lt_cv_ar_at_file+:} false; then :
6363 $as_echo_n "(cached) " >&6
6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378 echo conftest.$ac_objext > conftest.lst
6379 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6380 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6381 (eval $lt_ar_try) 2>&5
6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384 test $ac_status = 0; }
6385 if test "$ac_status" -eq 0; then
6386 # Ensure the archiver fails upon bogus file names.
6387 rm -f conftest.$ac_objext libconftest.a
6388 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6389 (eval $lt_ar_try) 2>&5
6391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6392 test $ac_status = 0; }
6393 if test "$ac_status" -ne 0; then
6397 rm -f conftest.* libconftest.a
6400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6404 $as_echo "$lt_cv_ar_at_file" >&6; }
6406 if test "x$lt_cv_ar_at_file" = xno; then
6409 archiver_list_spec=$lt_cv_ar_at_file
6418 if test -n "$ac_tool_prefix"; then
6419 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6420 set dummy ${ac_tool_prefix}strip; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_STRIP+:} false; then :
6424 $as_echo_n "(cached) " >&6
6426 if test -n "$STRIP"; then
6427 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 STRIP=$ac_cv_prog_STRIP
6447 if test -n "$STRIP"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6449 $as_echo "$STRIP" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6457 if test -z "$ac_cv_prog_STRIP"; then
6459 # Extract the first word of "strip", so it can be a program name with args.
6460 set dummy strip; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6464 $as_echo_n "(cached) " >&6
6466 if test -n "$ac_ct_STRIP"; then
6467 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476 ac_cv_prog_ac_ct_STRIP="strip"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6487 if test -n "$ac_ct_STRIP"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6489 $as_echo "$ac_ct_STRIP" >&6; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6495 if test "x$ac_ct_STRIP" = x; then
6498 case $cross_compiling:$ac_tool_warned in
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6502 ac_tool_warned=yes ;;
6507 STRIP="$ac_cv_prog_STRIP"
6510 test -z "$STRIP" && STRIP=:
6517 if test -n "$ac_tool_prefix"; then
6518 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6519 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6521 $as_echo_n "checking for $ac_word... " >&6; }
6522 if ${ac_cv_prog_RANLIB+:} false; then :
6523 $as_echo_n "(cached) " >&6
6525 if test -n "$RANLIB"; then
6526 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6535 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 RANLIB=$ac_cv_prog_RANLIB
6546 if test -n "$RANLIB"; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6548 $as_echo "$RANLIB" >&6; }
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6551 $as_echo "no" >&6; }
6556 if test -z "$ac_cv_prog_RANLIB"; then
6557 ac_ct_RANLIB=$RANLIB
6558 # Extract the first word of "ranlib", so it can be a program name with args.
6559 set dummy ranlib; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6563 $as_echo_n "(cached) " >&6
6565 if test -n "$ac_ct_RANLIB"; then
6566 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575 ac_cv_prog_ac_ct_RANLIB="ranlib"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6585 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6586 if test -n "$ac_ct_RANLIB"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6588 $as_echo "$ac_ct_RANLIB" >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6594 if test "x$ac_ct_RANLIB" = x; then
6597 case $cross_compiling:$ac_tool_warned in
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6601 ac_tool_warned=yes ;;
6603 RANLIB=$ac_ct_RANLIB
6606 RANLIB="$ac_cv_prog_RANLIB"
6609 test -z "$RANLIB" && RANLIB=:
6616 # Determine commands to create old-style static archives.
6617 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6618 old_postinstall_cmds='chmod 644 $oldlib'
6619 old_postuninstall_cmds=
6621 if test -n "$RANLIB"; then
6624 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6627 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6630 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6635 lock_old_archive_extraction=yes ;;
6637 lock_old_archive_extraction=no ;;
6678 # If no C compiler was specified, use CC.
6681 # If no C compiler flags were specified, use CFLAGS.
6682 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6684 # Allow CC to be a program name with arguments.
6688 # Check for command to grab the raw symbol name followed by C symbol from nm.
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6690 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6691 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6692 $as_echo_n "(cached) " >&6
6695 # These are sane defaults that work on at least a few old systems.
6696 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6698 # Character class describing NM global symbol codes.
6699 symcode='[BCDEGRST]'
6701 # Regexp to match symbols that can be accessed directly from C.
6702 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6704 # Define system-specific variables.
6709 cygwin* | mingw* | pw32* | cegcc*)
6710 symcode='[ABCDGISTW]'
6713 if test "$host_cpu" = ia64; then
6714 symcode='[ABCDEGRST]'
6718 symcode='[BCDEGRST]'
6721 symcode='[BCDEGQRST]'
6732 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6740 # If we're using GNU nm, then use its standard symbol codes.
6741 case `$NM -V 2>&1` in
6742 *GNU* | *'with BFD'*)
6743 symcode='[ABCDGIRSTW]' ;;
6746 # Transform an extracted symbol line into a proper C declaration.
6747 # Some systems (esp. on ia64) link data and code symbols differently,
6748 # so use this general approach.
6749 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6751 # Transform an extracted symbol line into symbol name and symbol address
6752 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6753 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'"
6755 # Handle CRLF in mingw tool chain
6759 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6763 # Try without a prefix underscore, then with it.
6764 for ac_symprfx in "" "_"; do
6766 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6767 symxfrm="\\1 $ac_symprfx\\2 \\2"
6769 # Write the raw and C identifiers.
6770 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6771 # Fake it for dumpbin and say T for any non-static function
6772 # and D for any global variable.
6773 # Also find C++ and __fastcall symbols from MSVC++,
6774 # which start with @ or ?.
6775 lt_cv_sys_global_symbol_pipe="$AWK '"\
6776 " {last_section=section; section=\$ 3};"\
6777 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6778 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6779 " \$ 0!~/External *\|/{next};"\
6780 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6781 " {if(hide[section]) next};"\
6782 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6783 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6784 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6785 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6786 " ' prfx=^$ac_symprfx"
6788 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6790 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6792 # Check to see that the pipe works correctly.
6796 cat > conftest.$ac_ext <<_LT_EOF
6801 void nm_test_func(void);
6802 void nm_test_func(void){}
6806 int main(){nm_test_var='a';nm_test_func();return(0);}
6809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6810 (eval $ac_compile) 2>&5
6812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6813 test $ac_status = 0; }; then
6814 # Now try to grab the symbols.
6816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6817 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6820 test $ac_status = 0; } && test -s "$nlist"; then
6821 # Try sorting and uniquifying the output.
6822 if sort "$nlist" | uniq > "$nlist"T; then
6823 mv -f "$nlist"T "$nlist"
6828 # Make sure that we snagged all the symbols we need.
6829 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6830 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6831 cat <<_LT_EOF > conftest.$ac_ext
6832 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6833 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6834 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6835 relocations are performed -- see ld's documentation on pseudo-relocs. */
6836 # define LT_DLSYM_CONST
6837 #elif defined(__osf__)
6838 /* This system does not cope well with relocations in const data. */
6839 # define LT_DLSYM_CONST
6841 # define LT_DLSYM_CONST const
6849 # Now generate the symbol file.
6850 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6852 cat <<_LT_EOF >> conftest.$ac_ext
6854 /* The mapping between symbol names and symbols. */
6855 LT_DLSYM_CONST struct {
6859 lt__PROGRAM__LTX_preloaded_symbols[] =
6861 { "@PROGRAM@", (void *) 0 },
6863 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6864 cat <<\_LT_EOF >> conftest.$ac_ext
6868 /* This works around a problem in FreeBSD linker */
6869 #ifdef FREEBSD_WORKAROUND
6870 static const void *lt_preloaded_setup() {
6871 return lt__PROGRAM__LTX_preloaded_symbols;
6879 # Now try linking the two files.
6880 mv conftest.$ac_objext conftstm.$ac_objext
6881 lt_globsym_save_LIBS=$LIBS
6882 lt_globsym_save_CFLAGS=$CFLAGS
6883 LIBS="conftstm.$ac_objext"
6884 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6886 (eval $ac_link) 2>&5
6888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6889 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6892 LIBS=$lt_globsym_save_LIBS
6893 CFLAGS=$lt_globsym_save_CFLAGS
6895 echo "cannot find nm_test_func in $nlist" >&5
6898 echo "cannot find nm_test_var in $nlist" >&5
6901 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6904 echo "$progname: failed program was:" >&5
6905 cat conftest.$ac_ext >&5
6907 rm -rf conftest* conftst*
6909 # Do not use the global_symbol_pipe unless it works.
6910 if test "$pipe_works" = yes; then
6913 lt_cv_sys_global_symbol_pipe=
6919 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6920 lt_cv_sys_global_symbol_to_cdecl=
6922 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6924 $as_echo "failed" >&6; }
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6927 $as_echo "ok" >&6; }
6930 # Response file support.
6931 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6932 nm_file_list_spec='@'
6933 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6934 nm_file_list_spec='@'
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6964 $as_echo_n "checking for sysroot... " >&6; }
6966 # Check whether --with-sysroot was given.
6967 if test "${with_sysroot+set}" = set; then :
6968 withval=$with_sysroot;
6975 case ${with_sysroot} in #(
6977 if test "$GCC" = yes; then
6978 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6982 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6988 $as_echo "${with_sysroot}" >&6; }
6989 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6994 $as_echo "${lt_sysroot:-no}" >&6; }
7000 # Check whether --enable-libtool-lock was given.
7001 if test "${enable_libtool_lock+set}" = set; then :
7002 enableval=$enable_libtool_lock;
7005 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7007 # Some flags need to be propagated to the compiler or linker for good
7011 # Find out which ABI we are using.
7012 echo 'int i;' > conftest.$ac_ext
7013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7014 (eval $ac_compile) 2>&5
7016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017 test $ac_status = 0; }; then
7018 case `/usr/bin/file conftest.$ac_objext` in
7030 # Find out which ABI we are using.
7031 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7033 (eval $ac_compile) 2>&5
7035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7036 test $ac_status = 0; }; then
7037 if test "$lt_cv_prog_gnu_ld" = yes; then
7038 case `/usr/bin/file conftest.$ac_objext` in
7040 LD="${LD-ld} -melf32bsmip"
7043 LD="${LD-ld} -melf32bmipn32"
7046 LD="${LD-ld} -melf64bmip"
7050 case `/usr/bin/file conftest.$ac_objext` in
7066 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7067 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7068 # Find out which ABI we are using.
7069 echo 'int i;' > conftest.$ac_ext
7070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7071 (eval $ac_compile) 2>&5
7073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074 test $ac_status = 0; }; then
7075 case `/usr/bin/file conftest.o` in
7078 x86_64-*kfreebsd*-gnu)
7079 LD="${LD-ld} -m elf_i386_fbsd"
7082 LD="${LD-ld} -m elf_i386"
7084 ppc64-*linux*|powerpc64-*linux*)
7085 LD="${LD-ld} -m elf32ppclinux"
7088 LD="${LD-ld} -m elf_s390"
7091 LD="${LD-ld} -m elf32_sparc"
7097 x86_64-*kfreebsd*-gnu)
7098 LD="${LD-ld} -m elf_x86_64_fbsd"
7101 LD="${LD-ld} -m elf_x86_64"
7103 ppc*-*linux*|powerpc*-*linux*)
7104 LD="${LD-ld} -m elf64ppc"
7106 s390*-*linux*|s390*-*tpf*)
7107 LD="${LD-ld} -m elf64_s390"
7110 LD="${LD-ld} -m elf64_sparc"
7120 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7121 SAVE_CFLAGS="$CFLAGS"
7122 CFLAGS="$CFLAGS -belf"
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7124 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7125 if ${lt_cv_cc_needs_belf+:} false; then :
7126 $as_echo_n "(cached) " >&6
7129 ac_cpp='$CPP $CPPFLAGS'
7130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7145 if ac_fn_c_try_link "$LINENO"; then :
7146 lt_cv_cc_needs_belf=yes
7148 lt_cv_cc_needs_belf=no
7150 rm -f core conftest.err conftest.$ac_objext \
7151 conftest$ac_exeext conftest.$ac_ext
7153 ac_cpp='$CPP $CPPFLAGS'
7154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7160 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7161 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7162 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7163 CFLAGS="$SAVE_CFLAGS"
7167 # Find out which ABI we are using.
7168 echo 'int i;' > conftest.$ac_ext
7169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7170 (eval $ac_compile) 2>&5
7172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7173 test $ac_status = 0; }; then
7174 case `/usr/bin/file conftest.o` in
7176 case $lt_cv_prog_gnu_ld in
7180 LD="${LD-ld} -m elf_x86_64"
7183 LD="${LD-ld} -m elf64_sparc"
7186 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7187 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7192 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7204 need_locks="$enable_libtool_lock"
7206 if test -n "$ac_tool_prefix"; then
7207 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7208 set dummy ${ac_tool_prefix}mt; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$MANIFEST_TOOL"; then
7215 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7235 if test -n "$MANIFEST_TOOL"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7237 $as_echo "$MANIFEST_TOOL" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7245 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7246 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7247 # Extract the first word of "mt", so it can be a program name with args.
7248 set dummy mt; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7252 $as_echo_n "(cached) " >&6
7254 if test -n "$ac_ct_MANIFEST_TOOL"; then
7255 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7275 if test -n "$ac_ct_MANIFEST_TOOL"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7277 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7283 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7286 case $cross_compiling:$ac_tool_warned in
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7290 ac_tool_warned=yes ;;
7292 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7295 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7298 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7300 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7301 if ${lt_cv_path_mainfest_tool+:} false; then :
7302 $as_echo_n "(cached) " >&6
7304 lt_cv_path_mainfest_tool=no
7305 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7306 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7307 cat conftest.err >&5
7308 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7309 lt_cv_path_mainfest_tool=yes
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7314 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7315 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7325 rhapsody* | darwin*)
7326 if test -n "$ac_tool_prefix"; then
7327 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7328 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7332 $as_echo_n "(cached) " >&6
7334 if test -n "$DSYMUTIL"; then
7335 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7355 if test -n "$DSYMUTIL"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7357 $as_echo "$DSYMUTIL" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7365 if test -z "$ac_cv_prog_DSYMUTIL"; then
7366 ac_ct_DSYMUTIL=$DSYMUTIL
7367 # Extract the first word of "dsymutil", so it can be a program name with args.
7368 set dummy dsymutil; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7372 $as_echo_n "(cached) " >&6
7374 if test -n "$ac_ct_DSYMUTIL"; then
7375 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7395 if test -n "$ac_ct_DSYMUTIL"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7397 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7403 if test "x$ac_ct_DSYMUTIL" = x; then
7406 case $cross_compiling:$ac_tool_warned in
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7410 ac_tool_warned=yes ;;
7412 DSYMUTIL=$ac_ct_DSYMUTIL
7415 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7418 if test -n "$ac_tool_prefix"; then
7419 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7420 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if ${ac_cv_prog_NMEDIT+:} false; then :
7424 $as_echo_n "(cached) " >&6
7426 if test -n "$NMEDIT"; then
7427 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 NMEDIT=$ac_cv_prog_NMEDIT
7447 if test -n "$NMEDIT"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7449 $as_echo "$NMEDIT" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7457 if test -z "$ac_cv_prog_NMEDIT"; then
7458 ac_ct_NMEDIT=$NMEDIT
7459 # Extract the first word of "nmedit", so it can be a program name with args.
7460 set dummy nmedit; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7464 $as_echo_n "(cached) " >&6
7466 if test -n "$ac_ct_NMEDIT"; then
7467 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 test -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7487 if test -n "$ac_ct_NMEDIT"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7489 $as_echo "$ac_ct_NMEDIT" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7495 if test "x$ac_ct_NMEDIT" = x; then
7498 case $cross_compiling:$ac_tool_warned in
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7502 ac_tool_warned=yes ;;
7504 NMEDIT=$ac_ct_NMEDIT
7507 NMEDIT="$ac_cv_prog_NMEDIT"
7510 if test -n "$ac_tool_prefix"; then
7511 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7512 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if ${ac_cv_prog_LIPO+:} false; then :
7516 $as_echo_n "(cached) " >&6
7518 if test -n "$LIPO"; then
7519 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 LIPO=$ac_cv_prog_LIPO
7539 if test -n "$LIPO"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7541 $as_echo "$LIPO" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7549 if test -z "$ac_cv_prog_LIPO"; then
7551 # Extract the first word of "lipo", so it can be a program name with args.
7552 set dummy lipo; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7556 $as_echo_n "(cached) " >&6
7558 if test -n "$ac_ct_LIPO"; then
7559 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7568 ac_cv_prog_ac_ct_LIPO="lipo"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7579 if test -n "$ac_ct_LIPO"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7581 $as_echo "$ac_ct_LIPO" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7587 if test "x$ac_ct_LIPO" = x; then
7590 case $cross_compiling:$ac_tool_warned in
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7594 ac_tool_warned=yes ;;
7599 LIPO="$ac_cv_prog_LIPO"
7602 if test -n "$ac_tool_prefix"; then
7603 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7604 set dummy ${ac_tool_prefix}otool; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if ${ac_cv_prog_OTOOL+:} false; then :
7608 $as_echo_n "(cached) " >&6
7610 if test -n "$OTOOL"; then
7611 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7620 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 OTOOL=$ac_cv_prog_OTOOL
7631 if test -n "$OTOOL"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7633 $as_echo "$OTOOL" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7641 if test -z "$ac_cv_prog_OTOOL"; then
7643 # Extract the first word of "otool", so it can be a program name with args.
7644 set dummy otool; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7648 $as_echo_n "(cached) " >&6
7650 if test -n "$ac_ct_OTOOL"; then
7651 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7660 ac_cv_prog_ac_ct_OTOOL="otool"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7671 if test -n "$ac_ct_OTOOL"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7673 $as_echo "$ac_ct_OTOOL" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7679 if test "x$ac_ct_OTOOL" = x; then
7682 case $cross_compiling:$ac_tool_warned in
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7686 ac_tool_warned=yes ;;
7691 OTOOL="$ac_cv_prog_OTOOL"
7694 if test -n "$ac_tool_prefix"; then
7695 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7696 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7698 $as_echo_n "checking for $ac_word... " >&6; }
7699 if ${ac_cv_prog_OTOOL64+:} false; then :
7700 $as_echo_n "(cached) " >&6
7702 if test -n "$OTOOL64"; then
7703 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7709 test -z "$as_dir" && as_dir=.
7710 for ac_exec_ext in '' $ac_executable_extensions; do
7711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7712 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7722 OTOOL64=$ac_cv_prog_OTOOL64
7723 if test -n "$OTOOL64"; then
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7725 $as_echo "$OTOOL64" >&6; }
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7728 $as_echo "no" >&6; }
7733 if test -z "$ac_cv_prog_OTOOL64"; then
7734 ac_ct_OTOOL64=$OTOOL64
7735 # Extract the first word of "otool64", so it can be a program name with args.
7736 set dummy otool64; ac_word=$2
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7738 $as_echo_n "checking for $ac_word... " >&6; }
7739 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7740 $as_echo_n "(cached) " >&6
7742 if test -n "$ac_ct_OTOOL64"; then
7743 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749 test -z "$as_dir" && as_dir=.
7750 for ac_exec_ext in '' $ac_executable_extensions; do
7751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7752 ac_cv_prog_ac_ct_OTOOL64="otool64"
7753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7762 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7763 if test -n "$ac_ct_OTOOL64"; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7765 $as_echo "$ac_ct_OTOOL64" >&6; }
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7768 $as_echo "no" >&6; }
7771 if test "x$ac_ct_OTOOL64" = x; then
7774 case $cross_compiling:$ac_tool_warned in
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7778 ac_tool_warned=yes ;;
7780 OTOOL64=$ac_ct_OTOOL64
7783 OTOOL64="$ac_cv_prog_OTOOL64"
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7813 $as_echo_n "checking for -single_module linker flag... " >&6; }
7814 if ${lt_cv_apple_cc_single_mod+:} false; then :
7815 $as_echo_n "(cached) " >&6
7817 lt_cv_apple_cc_single_mod=no
7818 if test -z "${LT_MULTI_MODULE}"; then
7819 # By default we will add the -single_module flag. You can override
7820 # by either setting the environment variable LT_MULTI_MODULE
7821 # non-empty at configure time, or by adding -multi_module to the
7823 rm -rf libconftest.dylib*
7824 echo "int foo(void){return 1;}" > conftest.c
7825 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7826 -dynamiclib -Wl,-single_module conftest.c" >&5
7827 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7828 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7830 # If there is a non-empty error log, and "single_module"
7831 # appears in it, assume the flag caused a linker warning
7832 if test -s conftest.err && $GREP single_module conftest.err; then
7833 cat conftest.err >&5
7834 # Otherwise, if the output was created with a 0 exit code from
7835 # the compiler, it worked.
7836 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7837 lt_cv_apple_cc_single_mod=yes
7839 cat conftest.err >&5
7841 rm -rf libconftest.dylib*
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7846 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7849 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7850 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7851 $as_echo_n "(cached) " >&6
7853 lt_cv_ld_exported_symbols_list=no
7854 save_LDFLAGS=$LDFLAGS
7855 echo "_main" > conftest.sym
7856 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h. */
7868 if ac_fn_c_try_link "$LINENO"; then :
7869 lt_cv_ld_exported_symbols_list=yes
7871 lt_cv_ld_exported_symbols_list=no
7873 rm -f core conftest.err conftest.$ac_objext \
7874 conftest$ac_exeext conftest.$ac_ext
7875 LDFLAGS="$save_LDFLAGS"
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7879 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7882 $as_echo_n "checking for -force_load linker flag... " >&6; }
7883 if ${lt_cv_ld_force_load+:} false; then :
7884 $as_echo_n "(cached) " >&6
7886 lt_cv_ld_force_load=no
7887 cat > conftest.c << _LT_EOF
7888 int forced_loaded() { return 2;}
7890 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7891 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7892 echo "$AR cru libconftest.a conftest.o" >&5
7893 $AR cru libconftest.a conftest.o 2>&5
7894 echo "$RANLIB libconftest.a" >&5
7895 $RANLIB libconftest.a 2>&5
7896 cat > conftest.c << _LT_EOF
7897 int main() { return 0;}
7899 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7900 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7902 if test -s conftest.err && $GREP force_load conftest.err; then
7903 cat conftest.err >&5
7904 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7905 lt_cv_ld_force_load=yes
7907 cat conftest.err >&5
7909 rm -f conftest.err libconftest.a conftest conftest.c
7910 rm -rf conftest.dSYM
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7914 $as_echo "$lt_cv_ld_force_load" >&6; }
7916 rhapsody* | darwin1.[012])
7917 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7919 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7920 darwin*) # darwin 5.x on
7921 # if running on 10.5 or later, the deployment target defaults
7922 # to the OS version, if on x86, and 10.4, the deployment
7923 # target defaults to 10.4. Don't you love it?
7924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7925 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7926 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7928 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7935 _lt_dar_single_mod='$single_module'
7937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7938 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7940 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7943 _lt_dsymutil='~$DSYMUTIL $lib || :'
7951 ac_cpp='$CPP $CPPFLAGS'
7952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7956 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7957 # On Suns, sometimes $CPP names a directory.
7958 if test -n "$CPP" && test -d "$CPP"; then
7961 if test -z "$CPP"; then
7962 if ${ac_cv_prog_CPP+:} false; then :
7963 $as_echo_n "(cached) " >&6
7965 # Double quotes because CPP needs to be expanded
7966 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7969 for ac_c_preproc_warn_flag in '' yes
7971 # Use a header file that comes with gcc, so configuring glibc
7972 # with a fresh cross-compiler works.
7973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7974 # <limits.h> exists even on freestanding compilers.
7975 # On the NeXT, cc -E runs the code through the compiler's parser,
7976 # not just through cpp. "Syntax error" is here to catch this case.
7977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7978 /* end confdefs.h. */
7980 # include <limits.h>
7982 # include <assert.h>
7986 if ac_fn_c_try_cpp "$LINENO"; then :
7989 # Broken: fails on valid input.
7992 rm -f conftest.err conftest.i conftest.$ac_ext
7994 # OK, works on sane cases. Now check whether nonexistent headers
7995 # can be detected and how.
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <ac_nonexistent.h>
8000 if ac_fn_c_try_cpp "$LINENO"; then :
8001 # Broken: success on invalid input.
8004 # Passes both tests.
8008 rm -f conftest.err conftest.i conftest.$ac_ext
8011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8012 rm -f conftest.i conftest.err conftest.$ac_ext
8013 if $ac_preproc_ok; then :
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8026 $as_echo "$CPP" >&6; }
8028 for ac_c_preproc_warn_flag in '' yes
8030 # Use a header file that comes with gcc, so configuring glibc
8031 # with a fresh cross-compiler works.
8032 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8033 # <limits.h> exists even on freestanding compilers.
8034 # On the NeXT, cc -E runs the code through the compiler's parser,
8035 # not just through cpp. "Syntax error" is here to catch this case.
8036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8037 /* end confdefs.h. */
8039 # include <limits.h>
8041 # include <assert.h>
8045 if ac_fn_c_try_cpp "$LINENO"; then :
8048 # Broken: fails on valid input.
8051 rm -f conftest.err conftest.i conftest.$ac_ext
8053 # OK, works on sane cases. Now check whether nonexistent headers
8054 # can be detected and how.
8055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h. */
8057 #include <ac_nonexistent.h>
8059 if ac_fn_c_try_cpp "$LINENO"; then :
8060 # Broken: success on invalid input.
8063 # Passes both tests.
8067 rm -f conftest.err conftest.i conftest.$ac_ext
8070 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8071 rm -f conftest.i conftest.err conftest.$ac_ext
8072 if $ac_preproc_ok; then :
8075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8077 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8078 See \`config.log' for more details" "$LINENO" 5; }
8082 ac_cpp='$CPP $CPPFLAGS'
8083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8089 $as_echo_n "checking for ANSI C header files... " >&6; }
8090 if ${ac_cv_header_stdc+:} false; then :
8091 $as_echo_n "(cached) " >&6
8093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h. */
8108 if ac_fn_c_try_compile "$LINENO"; then :
8109 ac_cv_header_stdc=yes
8111 ac_cv_header_stdc=no
8113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8115 if test $ac_cv_header_stdc = yes; then
8116 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8123 $EGREP "memchr" >/dev/null 2>&1; then :
8126 ac_cv_header_stdc=no
8132 if test $ac_cv_header_stdc = yes; then
8133 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8140 $EGREP "free" >/dev/null 2>&1; then :
8143 ac_cv_header_stdc=no
8149 if test $ac_cv_header_stdc = yes; then
8150 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8151 if test "$cross_compiling" = yes; then :
8154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8155 /* end confdefs.h. */
8158 #if ((' ' & 0x0FF) == 0x020)
8159 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8160 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8162 # define ISLOWER(c) \
8163 (('a' <= (c) && (c) <= 'i') \
8164 || ('j' <= (c) && (c) <= 'r') \
8165 || ('s' <= (c) && (c) <= 'z'))
8166 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8169 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8174 for (i = 0; i < 256; i++)
8175 if (XOR (islower (i), ISLOWER (i))
8176 || toupper (i) != TOUPPER (i))
8181 if ac_fn_c_try_run "$LINENO"; then :
8184 ac_cv_header_stdc=no
8186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8187 conftest.$ac_objext conftest.beam conftest.$ac_ext
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8193 $as_echo "$ac_cv_header_stdc" >&6; }
8194 if test $ac_cv_header_stdc = yes; then
8196 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8200 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8201 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8202 inttypes.h stdint.h unistd.h
8204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8205 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8207 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8208 cat >>confdefs.h <<_ACEOF
8209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8217 for ac_header in dlfcn.h
8219 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8221 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8222 cat >>confdefs.h <<_ACEOF
8223 #define HAVE_DLFCN_H 1
8244 # Check whether --enable-shared was given.
8245 if test "${enable_shared+set}" = set; then :
8246 enableval=$enable_shared; p=${PACKAGE-default}
8248 yes) enable_shared=yes ;;
8249 no) enable_shared=no ;;
8252 # Look at the argument we got. We use all the common list separators.
8253 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8254 for pkg in $enableval; do
8256 if test "X$pkg" = "X$p"; then
8275 # Check whether --enable-static was given.
8276 if test "${enable_static+set}" = set; then :
8277 enableval=$enable_static; p=${PACKAGE-default}
8279 yes) enable_static=yes ;;
8280 no) enable_static=no ;;
8283 # Look at the argument we got. We use all the common list separators.
8284 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8285 for pkg in $enableval; do
8287 if test "X$pkg" = "X$p"; then
8307 # Check whether --with-pic was given.
8308 if test "${with_pic+set}" = set; then :
8309 withval=$with_pic; lt_p=${PACKAGE-default}
8311 yes|no) pic_mode=$withval ;;
8314 # Look at the argument we got. We use all the common list separators.
8315 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8316 for lt_pkg in $withval; do
8318 if test "X$lt_pkg" = "X$lt_p"; then
8330 test -z "$pic_mode" && pic_mode=default
8338 # Check whether --enable-fast-install was given.
8339 if test "${enable_fast_install+set}" = set; then :
8340 enableval=$enable_fast_install; p=${PACKAGE-default}
8342 yes) enable_fast_install=yes ;;
8343 no) enable_fast_install=no ;;
8345 enable_fast_install=no
8346 # Look at the argument we got. We use all the common list separators.
8347 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8348 for pkg in $enableval; do
8350 if test "X$pkg" = "X$p"; then
8351 enable_fast_install=yes
8358 enable_fast_install=yes
8371 # This can be used to rebuild libtool when needed
8372 LIBTOOL_DEPS="$ltmain"
8374 # Always use our own libtool.
8375 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8406 test -z "$LN_S" && LN_S="ln -s"
8421 if test -n "${ZSH_VERSION+set}" ; then
8422 setopt NO_GLOB_SUBST
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8426 $as_echo_n "checking for objdir... " >&6; }
8427 if ${lt_cv_objdir+:} false; then :
8428 $as_echo_n "(cached) " >&6
8430 rm -f .libs 2>/dev/null
8431 mkdir .libs 2>/dev/null
8432 if test -d .libs; then
8435 # MS-DOS does not allow filenames that begin with a dot.
8438 rmdir .libs 2>/dev/null
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8441 $as_echo "$lt_cv_objdir" >&6; }
8442 objdir=$lt_cv_objdir
8448 cat >>confdefs.h <<_ACEOF
8449 #define LT_OBJDIR "$lt_cv_objdir/"
8457 # AIX sometimes has problems with the GCC collect2 program. For some
8458 # reason, if we set the COLLECT_NAMES environment variable, the problems
8459 # vanish in a puff of smoke.
8460 if test "X${COLLECT_NAMES+set}" != Xset; then
8462 export COLLECT_NAMES
8469 can_build_shared=yes
8471 # All known linkers require a `.a' archive for static linking (except MSVC,
8472 # which needs '.lib').
8475 with_gnu_ld="$lt_cv_prog_gnu_ld"
8478 old_CFLAGS="$CFLAGS"
8480 # Set sane defaults for various variables
8481 test -z "$CC" && CC=cc
8482 test -z "$LTCC" && LTCC=$CC
8483 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8484 test -z "$LD" && LD=ld
8485 test -z "$ac_objext" && ac_objext=o
8487 for cc_temp in $compiler""; do
8489 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8490 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8495 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8498 # Only perform the check for file, if the check method requires it
8499 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8500 case $deplibs_check_method in
8502 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8504 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8505 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8506 $as_echo_n "(cached) " >&6
8510 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8513 lt_save_MAGIC_CMD="$MAGIC_CMD"
8514 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8515 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8516 for ac_dir in $ac_dummy; do
8518 test -z "$ac_dir" && ac_dir=.
8519 if test -f $ac_dir/${ac_tool_prefix}file; then
8520 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8521 if test -n "$file_magic_test_file"; then
8522 case $deplibs_check_method in
8524 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8525 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8526 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8527 $EGREP "$file_magic_regex" > /dev/null; then
8532 *** Warning: the command libtool uses to detect shared libraries,
8533 *** $file_magic_cmd, produces output that libtool cannot recognize.
8534 *** The result is that libtool may fail to recognize shared libraries
8535 *** as such. This will affect the creation of libtool libraries that
8536 *** depend on shared libraries, but programs linked with such libtool
8537 *** libraries will work regardless of this problem. Nevertheless, you
8538 *** may want to report the problem to your system manager and/or to
8539 *** bug-libtool@gnu.org
8549 MAGIC_CMD="$lt_save_MAGIC_CMD"
8554 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8555 if test -n "$MAGIC_CMD"; then
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8557 $as_echo "$MAGIC_CMD" >&6; }
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8560 $as_echo "no" >&6; }
8567 if test -z "$lt_cv_path_MAGIC_CMD"; then
8568 if test -n "$ac_tool_prefix"; then
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8570 $as_echo_n "checking for file... " >&6; }
8571 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8572 $as_echo_n "(cached) " >&6
8576 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8579 lt_save_MAGIC_CMD="$MAGIC_CMD"
8580 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8581 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8582 for ac_dir in $ac_dummy; do
8584 test -z "$ac_dir" && ac_dir=.
8585 if test -f $ac_dir/file; then
8586 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8587 if test -n "$file_magic_test_file"; then
8588 case $deplibs_check_method in
8590 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8591 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8592 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8593 $EGREP "$file_magic_regex" > /dev/null; then
8598 *** Warning: the command libtool uses to detect shared libraries,
8599 *** $file_magic_cmd, produces output that libtool cannot recognize.
8600 *** The result is that libtool may fail to recognize shared libraries
8601 *** as such. This will affect the creation of libtool libraries that
8602 *** depend on shared libraries, but programs linked with such libtool
8603 *** libraries will work regardless of this problem. Nevertheless, you
8604 *** may want to report the problem to your system manager and/or to
8605 *** bug-libtool@gnu.org
8615 MAGIC_CMD="$lt_save_MAGIC_CMD"
8620 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8621 if test -n "$MAGIC_CMD"; then
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8623 $as_echo "$MAGIC_CMD" >&6; }
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8626 $as_echo "no" >&6; }
8639 # Use C for the default configuration in the libtool script
8643 ac_cpp='$CPP $CPPFLAGS'
8644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8649 # Source file extension for C test sources.
8652 # Object file extension for compiled C test sources.
8656 # Code to be used in simple compile tests
8657 lt_simple_compile_test_code="int some_variable = 0;"
8659 # Code to be used in simple link tests
8660 lt_simple_link_test_code='int main(){return(0);}'
8668 # If no C compiler was specified, use CC.
8671 # If no C compiler flags were specified, use CFLAGS.
8672 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8674 # Allow CC to be a program name with arguments.
8677 # Save the default compiler, since it gets overwritten when the other
8678 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8679 compiler_DEFAULT=$CC
8681 # save warnings/boilerplate of simple test code
8682 ac_outfile=conftest.$ac_objext
8683 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8684 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8685 _lt_compiler_boilerplate=`cat conftest.err`
8688 ac_outfile=conftest.$ac_objext
8689 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8690 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8691 _lt_linker_boilerplate=`cat conftest.err`
8695 if test -n "$compiler"; then
8697 lt_prog_compiler_no_builtin_flag=
8699 if test "$GCC" = yes; then
8700 case $cc_basename in
8702 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8704 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8708 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8709 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8710 $as_echo_n "(cached) " >&6
8712 lt_cv_prog_compiler_rtti_exceptions=no
8713 ac_outfile=conftest.$ac_objext
8714 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8715 lt_compiler_flag="-fno-rtti -fno-exceptions"
8716 # Insert the option either (1) after the last *FLAGS variable, or
8717 # (2) before a word containing "conftest.", or (3) at the end.
8718 # Note that $ac_compile itself does not contain backslashes and begins
8719 # with a dollar sign (not a hyphen), so the echo should work correctly.
8720 # The option is referenced via a variable to avoid confusing sed.
8721 lt_compile=`echo "$ac_compile" | $SED \
8722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8724 -e 's:$: $lt_compiler_flag:'`
8725 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8726 (eval "$lt_compile" 2>conftest.err)
8728 cat conftest.err >&5
8729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 if (exit $ac_status) && test -s "$ac_outfile"; then
8731 # The compiler can only warn and ignore the option if not recognized
8732 # So say no if there are warnings other than the usual output.
8733 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8734 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8735 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8736 lt_cv_prog_compiler_rtti_exceptions=yes
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8743 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8745 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8746 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8758 lt_prog_compiler_wl=
8759 lt_prog_compiler_pic=
8760 lt_prog_compiler_static=
8763 if test "$GCC" = yes; then
8764 lt_prog_compiler_wl='-Wl,'
8765 lt_prog_compiler_static='-static'
8769 # All AIX code is PIC.
8770 if test "$host_cpu" = ia64; then
8771 # AIX 5 now supports IA64 processor
8772 lt_prog_compiler_static='-Bstatic'
8779 # see comment about AmigaOS4 .so support
8780 lt_prog_compiler_pic='-fPIC'
8783 # FIXME: we need at least 68020 code to build shared libraries, but
8784 # adding the `-m68020' flag to GCC prevents building anything better,
8786 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8791 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8792 # PIC is the default for these OSes.
8795 mingw* | cygwin* | pw32* | os2* | cegcc*)
8796 # This hack is so that the source file can tell whether it is being
8797 # built for inclusion in a dll (and should export symbols for example).
8798 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8799 # (--disable-auto-import) libraries
8800 lt_prog_compiler_pic='-DDLL_EXPORT'
8803 darwin* | rhapsody*)
8804 # PIC is the default on this platform
8805 # Common symbols not allowed in MH_DYLIB files
8806 lt_prog_compiler_pic='-fno-common'
8810 # PIC is the default for Haiku.
8811 # The "-static" flag exists, but is broken.
8812 lt_prog_compiler_static=
8816 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8817 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8818 # sets the default TLS model and affects inlining.
8824 lt_prog_compiler_pic='-fPIC'
8830 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8831 # Instead, we relocate shared libraries at runtime.
8835 # Just because we use GCC doesn't mean we suddenly get shared libraries
8836 # on systems that don't support them.
8837 lt_prog_compiler_can_build_shared=no
8842 # QNX uses GNU C++, but need to define -shared option too, otherwise
8844 lt_prog_compiler_pic='-fPIC -shared'
8848 if test -d /usr/nec; then
8849 lt_prog_compiler_pic=-Kconform_pic
8854 lt_prog_compiler_pic='-fPIC'
8858 case $cc_basename in
8859 nvcc*) # Cuda Compiler Driver 2.2
8860 lt_prog_compiler_wl='-Xlinker '
8861 if test -n "$lt_prog_compiler_pic"; then
8862 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8867 # PORTME Check for flag to pass linker flags through the system compiler.
8870 lt_prog_compiler_wl='-Wl,'
8871 if test "$host_cpu" = ia64; then
8872 # AIX 5 now supports IA64 processor
8873 lt_prog_compiler_static='-Bstatic'
8875 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8879 mingw* | cygwin* | pw32* | os2* | cegcc*)
8880 # This hack is so that the source file can tell whether it is being
8881 # built for inclusion in a dll (and should export symbols for example).
8882 lt_prog_compiler_pic='-DDLL_EXPORT'
8885 hpux9* | hpux10* | hpux11*)
8886 lt_prog_compiler_wl='-Wl,'
8887 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8894 lt_prog_compiler_pic='+Z'
8897 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8898 lt_prog_compiler_static='${wl}-a ${wl}archive'
8901 irix5* | irix6* | nonstopux*)
8902 lt_prog_compiler_wl='-Wl,'
8903 # PIC (with -KPIC) is the default.
8904 lt_prog_compiler_static='-non_shared'
8907 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8908 case $cc_basename in
8909 # old Intel for x86_64 which still supported -KPIC.
8911 lt_prog_compiler_wl='-Wl,'
8912 lt_prog_compiler_pic='-KPIC'
8913 lt_prog_compiler_static='-static'
8915 # icc used to be incompatible with GCC.
8916 # ICC 10 doesn't accept -KPIC any more.
8918 lt_prog_compiler_wl='-Wl,'
8919 lt_prog_compiler_pic='-fPIC'
8920 lt_prog_compiler_static='-static'
8922 # Lahey Fortran 8.1.
8924 lt_prog_compiler_wl='-Wl,'
8925 lt_prog_compiler_pic='--shared'
8926 lt_prog_compiler_static='--static'
8929 # NAG Fortran compiler
8930 lt_prog_compiler_wl='-Wl,-Wl,,'
8931 lt_prog_compiler_pic='-PIC'
8932 lt_prog_compiler_static='-Bstatic'
8934 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8935 # Portland Group compilers (*not* the Pentium gcc compiler,
8936 # which looks to be a dead project)
8937 lt_prog_compiler_wl='-Wl,'
8938 lt_prog_compiler_pic='-fpic'
8939 lt_prog_compiler_static='-Bstatic'
8942 lt_prog_compiler_wl='-Wl,'
8943 # All Alpha code is PIC.
8944 lt_prog_compiler_static='-non_shared'
8946 xl* | bgxl* | bgf* | mpixl*)
8947 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8948 lt_prog_compiler_wl='-Wl,'
8949 lt_prog_compiler_pic='-qpic'
8950 lt_prog_compiler_static='-qstaticlink'
8953 case `$CC -V 2>&1 | sed 5q` in
8954 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8955 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8956 lt_prog_compiler_pic='-KPIC'
8957 lt_prog_compiler_static='-Bstatic'
8958 lt_prog_compiler_wl=''
8960 *Sun\ F* | *Sun*Fortran*)
8961 lt_prog_compiler_pic='-KPIC'
8962 lt_prog_compiler_static='-Bstatic'
8963 lt_prog_compiler_wl='-Qoption ld '
8967 lt_prog_compiler_pic='-KPIC'
8968 lt_prog_compiler_static='-Bstatic'
8969 lt_prog_compiler_wl='-Wl,'
8971 *Intel*\ [CF]*Compiler*)
8972 lt_prog_compiler_wl='-Wl,'
8973 lt_prog_compiler_pic='-fPIC'
8974 lt_prog_compiler_static='-static'
8977 lt_prog_compiler_wl='-Wl,'
8978 lt_prog_compiler_pic='-fpic'
8979 lt_prog_compiler_static='-Bstatic'
8987 lt_prog_compiler_pic='-KPIC'
8988 lt_prog_compiler_static='-Bstatic'
8992 # QNX uses GNU C++, but need to define -shared option too, otherwise
8994 lt_prog_compiler_pic='-fPIC -shared'
8997 osf3* | osf4* | osf5*)
8998 lt_prog_compiler_wl='-Wl,'
8999 # All OSF/1 code is PIC.
9000 lt_prog_compiler_static='-non_shared'
9004 lt_prog_compiler_static='-non_shared'
9008 lt_prog_compiler_pic='-KPIC'
9009 lt_prog_compiler_static='-Bstatic'
9010 case $cc_basename in
9011 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9012 lt_prog_compiler_wl='-Qoption ld ';;
9014 lt_prog_compiler_wl='-Wl,';;
9019 lt_prog_compiler_wl='-Qoption ld '
9020 lt_prog_compiler_pic='-PIC'
9021 lt_prog_compiler_static='-Bstatic'
9024 sysv4 | sysv4.2uw2* | sysv4.3*)
9025 lt_prog_compiler_wl='-Wl,'
9026 lt_prog_compiler_pic='-KPIC'
9027 lt_prog_compiler_static='-Bstatic'
9031 if test -d /usr/nec ;then
9032 lt_prog_compiler_pic='-Kconform_pic'
9033 lt_prog_compiler_static='-Bstatic'
9037 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9038 lt_prog_compiler_wl='-Wl,'
9039 lt_prog_compiler_pic='-KPIC'
9040 lt_prog_compiler_static='-Bstatic'
9044 lt_prog_compiler_wl='-Wl,'
9045 lt_prog_compiler_can_build_shared=no
9049 lt_prog_compiler_pic='-pic'
9050 lt_prog_compiler_static='-Bstatic'
9054 lt_prog_compiler_can_build_shared=no
9060 # For platforms which do not support PIC, -DPIC is meaningless:
9062 lt_prog_compiler_pic=
9065 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9070 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9071 if ${lt_cv_prog_compiler_pic+:} false; then :
9072 $as_echo_n "(cached) " >&6
9074 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9077 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9078 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9081 # Check to make sure the PIC flag actually works.
9083 if test -n "$lt_prog_compiler_pic"; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9085 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9086 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9087 $as_echo_n "(cached) " >&6
9089 lt_cv_prog_compiler_pic_works=no
9090 ac_outfile=conftest.$ac_objext
9091 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9092 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9093 # Insert the option either (1) after the last *FLAGS variable, or
9094 # (2) before a word containing "conftest.", or (3) at the end.
9095 # Note that $ac_compile itself does not contain backslashes and begins
9096 # with a dollar sign (not a hyphen), so the echo should work correctly.
9097 # The option is referenced via a variable to avoid confusing sed.
9098 lt_compile=`echo "$ac_compile" | $SED \
9099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9101 -e 's:$: $lt_compiler_flag:'`
9102 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9103 (eval "$lt_compile" 2>conftest.err)
9105 cat conftest.err >&5
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 if (exit $ac_status) && test -s "$ac_outfile"; then
9108 # The compiler can only warn and ignore the option if not recognized
9109 # So say no if there are warnings other than the usual output.
9110 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9111 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9112 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9113 lt_cv_prog_compiler_pic_works=yes
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9120 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9122 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9123 case $lt_prog_compiler_pic in
9125 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9128 lt_prog_compiler_pic=
9129 lt_prog_compiler_can_build_shared=no
9145 # Check to make sure the static flag actually works.
9147 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9149 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9150 if ${lt_cv_prog_compiler_static_works+:} false; then :
9151 $as_echo_n "(cached) " >&6
9153 lt_cv_prog_compiler_static_works=no
9154 save_LDFLAGS="$LDFLAGS"
9155 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9156 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9157 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9158 # The linker can only warn and ignore the option if not recognized
9159 # So say no if there are warnings
9160 if test -s conftest.err; then
9161 # Append any errors to the config.log.
9162 cat conftest.err 1>&5
9163 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9164 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9165 if diff conftest.exp conftest.er2 >/dev/null; then
9166 lt_cv_prog_compiler_static_works=yes
9169 lt_cv_prog_compiler_static_works=yes
9173 LDFLAGS="$save_LDFLAGS"
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9177 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9179 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9182 lt_prog_compiler_static=
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9192 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9193 if ${lt_cv_prog_compiler_c_o+:} false; then :
9194 $as_echo_n "(cached) " >&6
9196 lt_cv_prog_compiler_c_o=no
9197 $RM -r conftest 2>/dev/null
9201 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9203 lt_compiler_flag="-o out/conftest2.$ac_objext"
9204 # Insert the option either (1) after the last *FLAGS variable, or
9205 # (2) before a word containing "conftest.", or (3) at the end.
9206 # Note that $ac_compile itself does not contain backslashes and begins
9207 # with a dollar sign (not a hyphen), so the echo should work correctly.
9208 lt_compile=`echo "$ac_compile" | $SED \
9209 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9210 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9211 -e 's:$: $lt_compiler_flag:'`
9212 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9213 (eval "$lt_compile" 2>out/conftest.err)
9215 cat out/conftest.err >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9219 # The compiler can only warn and ignore the option if not recognized
9220 # So say no if there are warnings
9221 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9222 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9223 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9224 lt_cv_prog_compiler_c_o=yes
9229 # SGI C++ compiler will create directory out/ii_files/ for
9230 # template instantiation
9231 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9232 $RM out/* && rmdir out
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9239 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9247 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9248 if ${lt_cv_prog_compiler_c_o+:} false; then :
9249 $as_echo_n "(cached) " >&6
9251 lt_cv_prog_compiler_c_o=no
9252 $RM -r conftest 2>/dev/null
9256 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9258 lt_compiler_flag="-o out/conftest2.$ac_objext"
9259 # Insert the option either (1) after the last *FLAGS variable, or
9260 # (2) before a word containing "conftest.", or (3) at the end.
9261 # Note that $ac_compile itself does not contain backslashes and begins
9262 # with a dollar sign (not a hyphen), so the echo should work correctly.
9263 lt_compile=`echo "$ac_compile" | $SED \
9264 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9265 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9266 -e 's:$: $lt_compiler_flag:'`
9267 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9268 (eval "$lt_compile" 2>out/conftest.err)
9270 cat out/conftest.err >&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9274 # The compiler can only warn and ignore the option if not recognized
9275 # So say no if there are warnings
9276 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9277 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9278 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9279 lt_cv_prog_compiler_c_o=yes
9284 # SGI C++ compiler will create directory out/ii_files/ for
9285 # template instantiation
9286 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9287 $RM out/* && rmdir out
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9294 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9299 hard_links="nottested"
9300 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9301 # do not overwrite the value of need_locks provided by the user
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9303 $as_echo_n "checking if we can lock with hard links... " >&6; }
9306 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9308 ln conftest.a conftest.b 2>&5 || hard_links=no
9309 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9311 $as_echo "$hard_links" >&6; }
9312 if test "$hard_links" = no; then
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9314 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9327 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9330 allow_undefined_flag=
9331 always_export_symbols=no
9333 archive_expsym_cmds=
9334 compiler_needs_object=no
9335 enable_shared_with_static_runtimes=no
9336 export_dynamic_flag_spec=
9337 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9338 hardcode_automatic=no
9340 hardcode_direct_absolute=no
9341 hardcode_libdir_flag_spec=
9342 hardcode_libdir_separator=
9344 hardcode_shlibpath_var=unsupported
9346 link_all_deplibs=unknown
9349 old_archive_from_new_cmds=
9350 old_archive_from_expsyms_cmds=
9351 thread_safe_flag_spec=
9352 whole_archive_flag_spec=
9353 # include_expsyms should be a list of space-separated symbols to be *always*
9354 # included in the symbol list
9356 # exclude_expsyms can be an extended regexp of symbols to exclude
9357 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9358 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9359 # as well as any symbol that contains `d'.
9360 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9361 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9362 # platforms (ab)use it in PIC code, but their linkers get confused if
9363 # the symbol is explicitly referenced. Since portable code cannot
9364 # rely on this symbol name, it's probably fine to never include it in
9365 # preloaded symbol tables.
9366 # Exclude shared library initialization/finalization symbols.
9367 extract_expsyms_cmds=
9370 cygwin* | mingw* | pw32* | cegcc*)
9371 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9372 # When not using gcc, we currently assume that we are using
9373 # Microsoft Visual C++.
9374 if test "$GCC" != yes; then
9379 # we just hope/assume this is gcc and not c89 (= MSVC++)
9385 linux* | k*bsd*-gnu | gnu*)
9392 # On some targets, GNU ld is compatible enough with the native linker
9393 # that we're better off using the native interface for both.
9394 lt_use_gnu_ld_interface=no
9395 if test "$with_gnu_ld" = yes; then
9398 # The AIX port of GNU ld has always aspired to compatibility
9399 # with the native linker. However, as the warning in the GNU ld
9400 # block says, versions before 2.19.5* couldn't really create working
9401 # shared libraries, regardless of the interface used.
9402 case `$LD -v 2>&1` in
9403 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9404 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9405 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9407 lt_use_gnu_ld_interface=yes
9412 lt_use_gnu_ld_interface=yes
9417 if test "$lt_use_gnu_ld_interface" = yes; then
9418 # If archive_cmds runs LD, not CC, wlarc should be empty
9421 # Set some defaults for GNU ld with shared library support. These
9422 # are reset later if shared libraries are not supported. Putting them
9423 # here allows them to be overridden if necessary.
9424 runpath_var=LD_RUN_PATH
9425 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9426 export_dynamic_flag_spec='${wl}--export-dynamic'
9427 # ancient GNU ld didn't support --whole-archive et. al.
9428 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9429 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9431 whole_archive_flag_spec=
9433 supports_anon_versioning=no
9434 case `$LD -v 2>&1` in
9435 *GNU\ gold*) supports_anon_versioning=yes ;;
9436 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9437 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9438 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9439 *\ 2.11.*) ;; # other 2.11 versions
9440 *) supports_anon_versioning=yes ;;
9443 # See if GNU ld supports shared libraries.
9446 # On AIX/PPC, the GNU linker is very broken
9447 if test "$host_cpu" != ia64; then
9451 *** Warning: the GNU linker, at least up to release 2.19, is reported
9452 *** to be unable to reliably create shared libraries on AIX.
9453 *** Therefore, libtool is disabling shared libraries support. If you
9454 *** really care for shared libraries, you may want to install binutils
9455 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9456 *** You will then need to restart the configuration process.
9465 # see comment about AmigaOS4 .so support
9466 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9467 archive_expsym_cmds=''
9470 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)'
9471 hardcode_libdir_flag_spec='-L$libdir'
9472 hardcode_minus_L=yes
9478 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9479 allow_undefined_flag=unsupported
9480 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9481 # support --undefined. This deserves some investigation. FIXME
9482 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9488 cygwin* | mingw* | pw32* | cegcc*)
9489 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9490 # as there is no search path for DLLs.
9491 hardcode_libdir_flag_spec='-L$libdir'
9492 export_dynamic_flag_spec='${wl}--export-all-symbols'
9493 allow_undefined_flag=unsupported
9494 always_export_symbols=no
9495 enable_shared_with_static_runtimes=yes
9496 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9497 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9500 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9501 # If the export-symbols file already is a .def file (1st line
9502 # is EXPORTS), use it as is; otherwise, prepend...
9503 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9504 cp $export_symbols $output_objdir/$soname.def;
9506 echo EXPORTS > $output_objdir/$soname.def;
9507 cat $export_symbols >> $output_objdir/$soname.def;
9509 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9516 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9517 link_all_deplibs=yes
9522 hardcode_shlibpath_var=no
9523 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9524 export_dynamic_flag_spec='${wl}-E'
9525 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9526 # Instead, shared libraries are loaded at an image base (0x10000000 by
9527 # default) and relocated if they conflict, which is a slow very memory
9528 # consuming and fragmenting process. To avoid this, we pick a random,
9529 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9530 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9531 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9532 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'
9535 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9537 if test "$host_os" = linux-dietlibc; then
9538 case $cc_basename in
9539 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9542 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9543 && test "$tmp_diet" = no
9545 tmp_addflag=' $pic_flag'
9546 tmp_sharedflag='-shared'
9547 case $cc_basename,$host_cpu in
9548 pgcc*) # Portland Group C compiler
9549 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9550 tmp_addflag=' $pic_flag'
9552 pgf77* | pgf90* | pgf95* | pgfortran*)
9553 # Portland Group f77 and f90 compilers
9554 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9555 tmp_addflag=' $pic_flag -Mnomain' ;;
9556 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9557 tmp_addflag=' -i_dynamic' ;;
9558 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9559 tmp_addflag=' -i_dynamic -nofor_main' ;;
9560 ifc* | ifort*) # Intel Fortran compiler
9561 tmp_addflag=' -nofor_main' ;;
9562 lf95*) # Lahey Fortran 8.1
9563 whole_archive_flag_spec=
9564 tmp_sharedflag='--shared' ;;
9565 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9566 tmp_sharedflag='-qmkshrobj'
9568 nvcc*) # Cuda Compiler Driver 2.2
9569 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9570 compiler_needs_object=yes
9573 case `$CC -V 2>&1 | sed 5q` in
9574 *Sun\ C*) # Sun C 5.9
9575 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9576 compiler_needs_object=yes
9577 tmp_sharedflag='-G' ;;
9578 *Sun\ F*) # Sun Fortran 8.3
9579 tmp_sharedflag='-G' ;;
9581 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9583 if test "x$supports_anon_versioning" = xyes; then
9584 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9585 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9586 echo "local: *; };" >> $output_objdir/$libname.ver~
9587 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9590 case $cc_basename in
9591 xlf* | bgf* | bgxlf* | mpixlf*)
9592 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9593 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9594 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9595 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9596 if test "x$supports_anon_versioning" = xyes; then
9597 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9598 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9599 echo "local: *; };" >> $output_objdir/$libname.ver~
9600 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9609 netbsd* | netbsdelf*-gnu)
9610 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9611 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9614 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9615 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9620 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9624 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9625 *** create shared libraries on Solaris systems. Therefore, libtool
9626 *** is disabling shared libraries support. We urge you to upgrade GNU
9627 *** binutils to release 2.9.1 or newer. Another option is to modify
9628 *** your PATH or compiler configuration so that the native linker is
9629 *** used, and then restart.
9632 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9633 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9634 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9640 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9641 case `$LD -v 2>&1` in
9642 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9646 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9647 *** reliably create shared libraries on SCO systems. Therefore, libtool
9648 *** is disabling shared libraries support. We urge you to upgrade GNU
9649 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9650 *** your PATH or compiler configuration so that the native linker is
9651 *** used, and then restart.
9656 # For security reasons, it is highly recommended that you always
9657 # use absolute paths for naming shared libraries, and exclude the
9658 # DT_RUNPATH tag from executables and libraries. But doing so
9659 # requires that you compile everything twice, which is a pain.
9660 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9661 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9662 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9663 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9672 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_shlibpath_var=no
9679 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9680 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9681 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9688 if test "$ld_shlibs" = no; then
9690 hardcode_libdir_flag_spec=
9691 export_dynamic_flag_spec=
9692 whole_archive_flag_spec=
9695 # PORTME fill in a description of your system's linker (not GNU ld)
9698 allow_undefined_flag=unsupported
9699 always_export_symbols=yes
9700 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'
9701 # Note: this linker hardcodes the directories in LIBPATH if there
9702 # are no directories specified by -L.
9703 hardcode_minus_L=yes
9704 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9705 # Neither direct hardcoding nor static linking is supported with a
9707 hardcode_direct=unsupported
9712 if test "$host_cpu" = ia64; then
9713 # On IA64, the linker does run time linking by default, so we don't
9714 # have to do anything special.
9715 aix_use_runtimelinking=no
9716 exp_sym_flag='-Bexport'
9719 # If we're using GNU nm, then we don't want the "-C" option.
9720 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9721 # Also, AIX nm treats weak defined symbols like other global
9722 # defined symbols, whereas GNU nm marks them as "W".
9723 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9724 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9726 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'
9728 aix_use_runtimelinking=no
9730 # Test if we are trying to use run time linking or normal
9731 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9732 # need to do runtime linking.
9733 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9734 for ld_flag in $LDFLAGS; do
9735 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9736 aix_use_runtimelinking=yes
9743 exp_sym_flag='-bexport'
9744 no_entry_flag='-bnoentry'
9747 # When large executables or shared objects are built, AIX ld can
9748 # have problems creating the table of contents. If linking a library
9749 # or program results in "error TOC overflow" add -mminimal-toc to
9750 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9751 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9755 hardcode_direct_absolute=yes
9756 hardcode_libdir_separator=':'
9757 link_all_deplibs=yes
9758 file_list_spec='${wl}-f,'
9760 if test "$GCC" = yes; then
9761 case $host_os in aix4.[012]|aix4.[012].*)
9762 # We only want to do this on AIX 4.2 and lower, the check
9763 # below for broken collect2 doesn't work under 4.3+
9764 collect2name=`${CC} -print-prog-name=collect2`
9765 if test -f "$collect2name" &&
9766 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9768 # We have reworked collect2
9771 # We have old collect2
9772 hardcode_direct=unsupported
9773 # It fails to find uninstalled libraries when the uninstalled
9774 # path is not listed in the libpath. Setting hardcode_minus_L
9775 # to unsupported forces relinking
9776 hardcode_minus_L=yes
9777 hardcode_libdir_flag_spec='-L$libdir'
9778 hardcode_libdir_separator=
9782 shared_flag='-shared'
9783 if test "$aix_use_runtimelinking" = yes; then
9784 shared_flag="$shared_flag "'${wl}-G'
9789 if test "$host_cpu" = ia64; then
9790 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9791 # chokes on -Wl,-G. The following line is correct:
9794 if test "$aix_use_runtimelinking" = yes; then
9795 shared_flag='${wl}-G'
9797 shared_flag='${wl}-bM:SRE'
9802 export_dynamic_flag_spec='${wl}-bexpall'
9803 # It seems that -bexpall does not export symbols beginning with
9804 # underscore (_), so it is better to generate a list of symbols to export.
9805 always_export_symbols=yes
9806 if test "$aix_use_runtimelinking" = yes; then
9807 # Warning - without using the other runtime loading flags (-brtl),
9808 # -berok will link without error, but may produce a broken library.
9809 allow_undefined_flag='-berok'
9810 # Determine the default libpath from the value encoded in an
9812 if test "${lt_cv_aix_libpath+set}" = set; then
9813 aix_libpath=$lt_cv_aix_libpath
9815 if ${lt_cv_aix_libpath_+:} false; then :
9816 $as_echo_n "(cached) " >&6
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9829 if ac_fn_c_try_link "$LINENO"; then :
9831 lt_aix_libpath_sed='
9832 /Import File Strings/,/^$/ {
9834 s/^0 *\([^ ]*\) *$/\1/
9838 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9839 # Check for a 64-bit object if we didn't find anything.
9840 if test -z "$lt_cv_aix_libpath_"; then
9841 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9844 rm -f core conftest.err conftest.$ac_objext \
9845 conftest$ac_exeext conftest.$ac_ext
9846 if test -z "$lt_cv_aix_libpath_"; then
9847 lt_cv_aix_libpath_="/usr/lib:/lib"
9852 aix_libpath=$lt_cv_aix_libpath_
9855 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9856 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9858 if test "$host_cpu" = ia64; then
9859 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9860 allow_undefined_flag="-z nodefs"
9861 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"
9863 # Determine the default libpath from the value encoded in an
9865 if test "${lt_cv_aix_libpath+set}" = set; then
9866 aix_libpath=$lt_cv_aix_libpath
9868 if ${lt_cv_aix_libpath_+:} false; then :
9869 $as_echo_n "(cached) " >&6
9871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9872 /* end confdefs.h. */
9882 if ac_fn_c_try_link "$LINENO"; then :
9884 lt_aix_libpath_sed='
9885 /Import File Strings/,/^$/ {
9887 s/^0 *\([^ ]*\) *$/\1/
9891 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9892 # Check for a 64-bit object if we didn't find anything.
9893 if test -z "$lt_cv_aix_libpath_"; then
9894 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 if test -z "$lt_cv_aix_libpath_"; then
9900 lt_cv_aix_libpath_="/usr/lib:/lib"
9905 aix_libpath=$lt_cv_aix_libpath_
9908 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9909 # Warning - without using the other run time loading flags,
9910 # -berok will link without error, but may produce a broken library.
9911 no_undefined_flag=' ${wl}-bernotok'
9912 allow_undefined_flag=' ${wl}-berok'
9913 if test "$with_gnu_ld" = yes; then
9914 # We only use this code for GNU lds that support --whole-archive.
9915 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9917 # Exported symbols can be pulled into shared objects from archives
9918 whole_archive_flag_spec='$convenience'
9920 archive_cmds_need_lc=yes
9921 # This is similar to how AIX traditionally builds its shared libraries.
9922 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'
9930 # see comment about AmigaOS4 .so support
9931 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9932 archive_expsym_cmds=''
9935 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)'
9936 hardcode_libdir_flag_spec='-L$libdir'
9937 hardcode_minus_L=yes
9943 export_dynamic_flag_spec=-rdynamic
9946 cygwin* | mingw* | pw32* | cegcc*)
9947 # When not using gcc, we currently assume that we are using
9948 # Microsoft Visual C++.
9949 # hardcode_libdir_flag_spec is actually meaningless, as there is
9950 # no search path for DLLs.
9951 case $cc_basename in
9954 hardcode_libdir_flag_spec=' '
9955 allow_undefined_flag=unsupported
9956 always_export_symbols=yes
9958 # Tell ltmain to make .lib files, not .a files.
9960 # Tell ltmain to make .dll files, not .so files.
9962 # FIXME: Setting linknames here is a bad hack.
9963 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9964 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9965 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9967 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9969 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9971 # The linker will not automatically build a static lib if we build a DLL.
9972 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9973 enable_shared_with_static_runtimes=yes
9974 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9975 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9977 old_postinstall_cmds='chmod 644 $oldlib'
9978 postlink_cmds='lt_outputfile="@OUTPUT@"~
9979 lt_tool_outputfile="@TOOL_OUTPUT@"~
9980 case $lt_outputfile in
9983 lt_outputfile="$lt_outputfile.exe"
9984 lt_tool_outputfile="$lt_tool_outputfile.exe"
9987 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9988 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9989 $RM "$lt_outputfile.manifest";
9993 # Assume MSVC wrapper
9994 hardcode_libdir_flag_spec=' '
9995 allow_undefined_flag=unsupported
9996 # Tell ltmain to make .lib files, not .a files.
9998 # Tell ltmain to make .dll files, not .so files.
10000 # FIXME: Setting linknames here is a bad hack.
10001 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10002 # The linker will automatically build a .lib file if we build a DLL.
10003 old_archive_from_new_cmds='true'
10004 # FIXME: Should let the user specify the lib program.
10005 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10006 enable_shared_with_static_runtimes=yes
10011 darwin* | rhapsody*)
10014 archive_cmds_need_lc=no
10016 hardcode_automatic=yes
10017 hardcode_shlibpath_var=unsupported
10018 if test "$lt_cv_ld_force_load" = "yes"; then
10019 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10022 whole_archive_flag_spec=''
10024 link_all_deplibs=yes
10025 allow_undefined_flag="$_lt_dar_allow_undefined"
10026 case $cc_basename in
10027 ifort*) _lt_dar_can_shared=yes ;;
10028 *) _lt_dar_can_shared=$GCC ;;
10030 if test "$_lt_dar_can_shared" = "yes"; then
10031 output_verbose_link_cmd=func_echo_all
10032 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10033 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10034 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}"
10035 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}"
10044 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10045 hardcode_libdir_flag_spec='-L$libdir'
10046 hardcode_shlibpath_var=no
10049 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10050 # support. Future versions do this automatically, but an explicit c++rt0.o
10051 # does not break anything, and helps significantly (at the cost of a little
10054 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10055 hardcode_libdir_flag_spec='-R$libdir'
10056 hardcode_direct=yes
10057 hardcode_shlibpath_var=no
10060 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10062 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10063 hardcode_direct=yes
10064 hardcode_minus_L=yes
10065 hardcode_shlibpath_var=no
10068 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10069 freebsd* | dragonfly*)
10070 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10071 hardcode_libdir_flag_spec='-R$libdir'
10072 hardcode_direct=yes
10073 hardcode_shlibpath_var=no
10077 if test "$GCC" = yes; then
10078 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10080 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'
10082 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10083 hardcode_libdir_separator=:
10084 hardcode_direct=yes
10086 # hardcode_minus_L: Not really in the search PATH,
10087 # but as the default location of the library.
10088 hardcode_minus_L=yes
10089 export_dynamic_flag_spec='${wl}-E'
10093 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10094 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10096 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10098 if test "$with_gnu_ld" = no; then
10099 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10100 hardcode_libdir_separator=:
10101 hardcode_direct=yes
10102 hardcode_direct_absolute=yes
10103 export_dynamic_flag_spec='${wl}-E'
10104 # hardcode_minus_L: Not really in the search PATH,
10105 # but as the default location of the library.
10106 hardcode_minus_L=yes
10111 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10114 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10133 # Older versions of the 11.00 compiler do not understand -b yet
10134 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10136 $as_echo_n "checking if $CC understands -b... " >&6; }
10137 if ${lt_cv_prog_compiler__b+:} false; then :
10138 $as_echo_n "(cached) " >&6
10140 lt_cv_prog_compiler__b=no
10141 save_LDFLAGS="$LDFLAGS"
10142 LDFLAGS="$LDFLAGS -b"
10143 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10144 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10145 # The linker can only warn and ignore the option if not recognized
10146 # So say no if there are warnings
10147 if test -s conftest.err; then
10148 # Append any errors to the config.log.
10149 cat conftest.err 1>&5
10150 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10151 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10152 if diff conftest.exp conftest.er2 >/dev/null; then
10153 lt_cv_prog_compiler__b=yes
10156 lt_cv_prog_compiler__b=yes
10160 LDFLAGS="$save_LDFLAGS"
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10164 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10166 if test x"$lt_cv_prog_compiler__b" = xyes; then
10167 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10169 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10175 if test "$with_gnu_ld" = no; then
10176 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10177 hardcode_libdir_separator=:
10182 hardcode_shlibpath_var=no
10185 hardcode_direct=yes
10186 hardcode_direct_absolute=yes
10187 export_dynamic_flag_spec='${wl}-E'
10189 # hardcode_minus_L: Not really in the search PATH,
10190 # but as the default location of the library.
10191 hardcode_minus_L=yes
10197 irix5* | irix6* | nonstopux*)
10198 if test "$GCC" = yes; then
10199 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10200 # Try to use the -exported_symbol ld option, if it does not
10201 # work, assume that -exports_file does not work either and
10202 # implicitly export all symbols.
10203 # This should be the same for all languages, so no per-tag cache variable.
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10205 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10206 if ${lt_cv_irix_exported_symbol+:} false; then :
10207 $as_echo_n "(cached) " >&6
10209 save_LDFLAGS="$LDFLAGS"
10210 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10213 int foo (void) { return 0; }
10215 if ac_fn_c_try_link "$LINENO"; then :
10216 lt_cv_irix_exported_symbol=yes
10218 lt_cv_irix_exported_symbol=no
10220 rm -f core conftest.err conftest.$ac_objext \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LDFLAGS="$save_LDFLAGS"
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10225 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10226 if test "$lt_cv_irix_exported_symbol" = yes; then
10227 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10230 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10231 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10233 archive_cmds_need_lc='no'
10234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10235 hardcode_libdir_separator=:
10237 link_all_deplibs=yes
10240 netbsd* | netbsdelf*-gnu)
10241 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10242 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10244 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10246 hardcode_libdir_flag_spec='-R$libdir'
10247 hardcode_direct=yes
10248 hardcode_shlibpath_var=no
10252 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10253 hardcode_direct=yes
10254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10255 hardcode_libdir_separator=:
10256 hardcode_shlibpath_var=no
10263 if test -f /usr/libexec/ld.so; then
10264 hardcode_direct=yes
10265 hardcode_shlibpath_var=no
10266 hardcode_direct_absolute=yes
10267 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10268 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10269 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10271 export_dynamic_flag_spec='${wl}-E'
10274 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10275 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10276 hardcode_libdir_flag_spec='-R$libdir'
10279 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10280 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10290 hardcode_libdir_flag_spec='-L$libdir'
10291 hardcode_minus_L=yes
10292 allow_undefined_flag=unsupported
10293 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'
10294 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10298 if test "$GCC" = yes; then
10299 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10300 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10302 allow_undefined_flag=' -expect_unresolved \*'
10303 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10305 archive_cmds_need_lc='no'
10306 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10307 hardcode_libdir_separator=:
10310 osf4* | osf5*) # as osf3* with the addition of -msym flag
10311 if test "$GCC" = yes; then
10312 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10313 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10314 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10316 allow_undefined_flag=' -expect_unresolved \*'
10317 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10318 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~
10319 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10321 # Both c and cxx compiler support -rpath directly
10322 hardcode_libdir_flag_spec='-rpath $libdir'
10324 archive_cmds_need_lc='no'
10325 hardcode_libdir_separator=:
10329 no_undefined_flag=' -z defs'
10330 if test "$GCC" = yes; then
10332 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10333 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10334 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10336 case `$CC -V 2>&1` in
10339 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10340 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10341 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10345 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10347 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10351 hardcode_libdir_flag_spec='-R$libdir'
10352 hardcode_shlibpath_var=no
10354 solaris2.[0-5] | solaris2.[0-5].*) ;;
10356 # The compiler driver will combine and reorder linker options,
10357 # but understands `-z linker_flag'. GCC discards it without `$wl',
10358 # but is careful enough not to reorder.
10359 # Supported since Solaris 2.6 (maybe 2.5.1?)
10360 if test "$GCC" = yes; then
10361 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10363 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10367 link_all_deplibs=yes
10371 if test "x$host_vendor" = xsequent; then
10372 # Use $CC to link under sequent, because it throws in some extra .o
10373 # files that make .init and .fini sections work.
10374 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10376 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10378 hardcode_libdir_flag_spec='-L$libdir'
10379 hardcode_direct=yes
10380 hardcode_minus_L=yes
10381 hardcode_shlibpath_var=no
10385 case $host_vendor in
10387 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10388 hardcode_direct=yes # is this really true???
10391 ## LD is ld it makes a PLAMLIB
10392 ## CC just makes a GrossModule.
10393 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10394 reload_cmds='$CC -r -o $output$reload_objs'
10398 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10399 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10402 runpath_var='LD_RUN_PATH'
10403 hardcode_shlibpath_var=no
10407 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10408 hardcode_shlibpath_var=no
10409 export_dynamic_flag_spec='-Bexport'
10413 if test -d /usr/nec; then
10414 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10415 hardcode_shlibpath_var=no
10416 runpath_var=LD_RUN_PATH
10417 hardcode_runpath_var=yes
10422 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10423 no_undefined_flag='${wl}-z,text'
10424 archive_cmds_need_lc=no
10425 hardcode_shlibpath_var=no
10426 runpath_var='LD_RUN_PATH'
10428 if test "$GCC" = yes; then
10429 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10430 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10432 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10433 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10437 sysv5* | sco3.2v5* | sco5v6*)
10438 # Note: We can NOT use -z defs as we might desire, because we do not
10439 # link with -lc, and that would cause any symbols used from libc to
10440 # always be unresolved, which means just about no library would
10441 # ever link correctly. If we're not using GNU ld we use -z text
10442 # though, which does catch some bad symbols but isn't as heavy-handed
10444 no_undefined_flag='${wl}-z,text'
10445 allow_undefined_flag='${wl}-z,nodefs'
10446 archive_cmds_need_lc=no
10447 hardcode_shlibpath_var=no
10448 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10449 hardcode_libdir_separator=':'
10450 link_all_deplibs=yes
10451 export_dynamic_flag_spec='${wl}-Bexport'
10452 runpath_var='LD_RUN_PATH'
10454 if test "$GCC" = yes; then
10455 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10456 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10458 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10459 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10464 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10465 hardcode_libdir_flag_spec='-L$libdir'
10466 hardcode_shlibpath_var=no
10474 if test x$host_vendor = xsni; then
10476 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10477 export_dynamic_flag_spec='${wl}-Blargedynsym'
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10484 $as_echo "$ld_shlibs" >&6; }
10485 test "$ld_shlibs" = no && can_build_shared=no
10487 with_gnu_ld=$with_gnu_ld
10504 # Do we need to explicitly link libc?
10506 case "x$archive_cmds_need_lc" in
10508 # Assume -lc should be added
10509 archive_cmds_need_lc=yes
10511 if test "$enable_shared" = yes && test "$GCC" = yes; then
10512 case $archive_cmds in
10514 # FIXME: we may have to deal with multi-command sequences.
10517 # Test whether the compiler implicitly links with -lc since on some
10518 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10519 # to ld, don't add -lc before -lgcc.
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10521 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10522 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10523 $as_echo_n "(cached) " >&6
10526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10529 (eval $ac_compile) 2>&5
10531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10532 test $ac_status = 0; } 2>conftest.err; then
10535 libobjs=conftest.$ac_objext
10537 wl=$lt_prog_compiler_wl
10538 pic_flag=$lt_prog_compiler_pic
10544 lt_save_allow_undefined_flag=$allow_undefined_flag
10545 allow_undefined_flag=
10546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10547 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10550 test $ac_status = 0; }
10552 lt_cv_archive_cmds_need_lc=no
10554 lt_cv_archive_cmds_need_lc=yes
10556 allow_undefined_flag=$lt_save_allow_undefined_flag
10558 cat conftest.err 1>&5
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10564 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10565 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10724 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10726 if test "$GCC" = yes; then
10728 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10729 *) lt_awk_arg="/^libraries:/" ;;
10732 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10733 *) lt_sed_strip_eq="s,=/,/,g" ;;
10735 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10736 case $lt_search_path_spec in
10738 # if the path contains ";" then we assume it to be the separator
10739 # otherwise default to the standard path separator (i.e. ":") - it is
10740 # assumed that no part of a normal pathname contains ";" but that should
10741 # okay in the real world where ";" in dirpaths is itself problematic.
10742 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10745 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10748 # Ok, now we have the path, separated by spaces, we can step through it
10749 # and add multilib dir if necessary.
10750 lt_tmp_lt_search_path_spec=
10751 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10752 for lt_sys_path in $lt_search_path_spec; do
10753 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10754 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10756 test -d "$lt_sys_path" && \
10757 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10760 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10761 BEGIN {RS=" "; FS="/|\n";} {
10764 for (lt_i = NF; lt_i > 0; lt_i--) {
10765 if ($lt_i != "" && $lt_i != ".") {
10766 if ($lt_i == "..") {
10769 if (lt_count == 0) {
10770 lt_foo="/" $lt_i lt_foo;
10777 if (lt_foo != "") { lt_freq[lt_foo]++; }
10778 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10780 # AWK program above erroneously prepends '/' to C:/dos/paths
10783 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10784 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10786 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10788 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10790 library_names_spec=
10791 libname_spec='lib$name'
10795 postuninstall_cmds=
10799 shlibpath_overrides_runpath=unknown
10801 dynamic_linker="$host_os ld.so"
10802 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10803 need_lib_prefix=unknown
10804 hardcode_into_libs=no
10806 # when you set need_version to no, make sure it does not cause -set_version
10807 # flags to be left without arguments
10808 need_version=unknown
10812 version_type=linux # correct to gnu/linux during the next big refactor
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10814 shlibpath_var=LIBPATH
10816 # AIX 3 has no versioning support, so we append a major version to the name.
10817 soname_spec='${libname}${release}${shared_ext}$major'
10821 version_type=linux # correct to gnu/linux during the next big refactor
10824 hardcode_into_libs=yes
10825 if test "$host_cpu" = ia64; then
10826 # AIX 5 supports IA64
10827 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10828 shlibpath_var=LD_LIBRARY_PATH
10830 # With GCC up to 2.95.x, collect2 would create an import file
10831 # for dependence libraries. The import file would start with
10832 # the line `#! .'. This would cause the generated library to
10833 # depend on `.', always an invalid library. This was fixed in
10834 # development snapshots of GCC prior to 3.0.
10836 aix4 | aix4.[01] | aix4.[01].*)
10837 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10839 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10842 can_build_shared=no
10846 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10847 # soname into executable. Probably we can add versioning support to
10848 # collect2, so additional links can be useful in future.
10849 if test "$aix_use_runtimelinking" = yes; then
10850 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10851 # instead of lib<name>.a to let people know that these are not
10852 # typical AIX shared libraries.
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10855 # We preserve .a as extension for shared libraries through AIX4.2
10856 # and later when we are not doing run time linking.
10857 library_names_spec='${libname}${release}.a $libname.a'
10858 soname_spec='${libname}${release}${shared_ext}$major'
10860 shlibpath_var=LIBPATH
10867 # Since July 2007 AmigaOS4 officially supports .so libraries.
10868 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872 library_names_spec='$libname.ixlibrary $libname.a'
10873 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10874 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10880 library_names_spec='${libname}${shared_ext}'
10881 dynamic_linker="$host_os ld.so"
10882 shlibpath_var=LIBRARY_PATH
10886 version_type=linux # correct to gnu/linux during the next big refactor
10888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889 soname_spec='${libname}${release}${shared_ext}$major'
10890 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10891 shlibpath_var=LD_LIBRARY_PATH
10892 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10893 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10894 # the default ld.so.conf also contains /usr/contrib/lib and
10895 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10896 # libtool to hard-code these into programs
10899 cygwin* | mingw* | pw32* | cegcc*)
10900 version_type=windows
10905 case $GCC,$cc_basename in
10908 library_names_spec='$libname.dll.a'
10909 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10910 postinstall_cmds='base_file=`basename \${file}`~
10911 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10912 dldir=$destdir/`dirname \$dlpath`~
10913 test -d \$dldir || mkdir -p \$dldir~
10914 $install_prog $dir/$dlname \$dldir/$dlname~
10915 chmod a+x \$dldir/$dlname~
10916 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10917 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10919 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10920 dlpath=$dir/\$dldll~
10922 shlibpath_overrides_runpath=yes
10926 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10927 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10929 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10932 # MinGW DLLs use traditional 'lib' prefix
10933 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10936 # pw32 DLLs use 'pw' prefix rather than 'lib'
10937 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10940 dynamic_linker='Win32 ld.exe'
10945 libname_spec='$name'
10946 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10947 library_names_spec='${libname}.dll.lib'
10951 sys_lib_search_path_spec=
10954 for lt_path in $LIB
10957 # Let DOS variable expansion print the short 8.3 style file name.
10958 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10959 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10962 # Convert to MSYS style.
10963 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10966 # Convert to unix form, then to dos form, then back to unix form
10967 # but this time dos style (no spaces!) so that the unix form looks
10968 # like /cygdrive/c/PROGRA~1:/cygdr...
10969 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10970 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10971 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10974 sys_lib_search_path_spec="$LIB"
10975 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10976 # It is most probably a Windows format PATH.
10977 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10979 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10981 # FIXME: find the short name or the path components, as spaces are
10982 # common. (e.g. "Program Files" -> "PROGRA~1")
10986 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10987 postinstall_cmds='base_file=`basename \${file}`~
10988 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10989 dldir=$destdir/`dirname \$dlpath`~
10990 test -d \$dldir || mkdir -p \$dldir~
10991 $install_prog $dir/$dlname \$dldir/$dlname'
10992 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10993 dlpath=$dir/\$dldll~
10995 shlibpath_overrides_runpath=yes
10996 dynamic_linker='Win32 link.exe'
11000 # Assume MSVC wrapper
11001 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11002 dynamic_linker='Win32 ld.exe'
11005 # FIXME: first we should search . and the directory the executable is in
11009 darwin* | rhapsody*)
11010 dynamic_linker="$host_os dyld"
11011 version_type=darwin
11014 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11015 soname_spec='${libname}${release}${major}$shared_ext'
11016 shlibpath_overrides_runpath=yes
11017 shlibpath_var=DYLD_LIBRARY_PATH
11018 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11020 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11021 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11025 version_type=linux # correct to gnu/linux during the next big refactor
11028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11029 soname_spec='${libname}${release}${shared_ext}$major'
11030 shlibpath_var=LD_LIBRARY_PATH
11033 freebsd* | dragonfly*)
11034 # DragonFly does not have aout. When/if they implement a new
11035 # versioning mechanism, adjust this.
11036 if test -x /usr/bin/objformat; then
11037 objformat=`/usr/bin/objformat`
11040 freebsd[23].*) objformat=aout ;;
11041 *) objformat=elf ;;
11044 version_type=freebsd-$objformat
11045 case $version_type in
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11052 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11056 shlibpath_var=LD_LIBRARY_PATH
11059 shlibpath_overrides_runpath=yes
11061 freebsd3.[01]* | freebsdelf3.[01]*)
11062 shlibpath_overrides_runpath=yes
11063 hardcode_into_libs=yes
11065 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11066 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11067 shlibpath_overrides_runpath=no
11068 hardcode_into_libs=yes
11070 *) # from 4.6 on, and DragonFly
11071 shlibpath_overrides_runpath=yes
11072 hardcode_into_libs=yes
11078 version_type=linux # correct to gnu/linux during the next big refactor
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11082 soname_spec='${libname}${release}${shared_ext}$major'
11083 shlibpath_var=LD_LIBRARY_PATH
11084 shlibpath_overrides_runpath=no
11085 hardcode_into_libs=yes
11089 version_type=linux # correct to gnu/linux during the next big refactor
11092 dynamic_linker="$host_os runtime_loader"
11093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11094 soname_spec='${libname}${release}${shared_ext}$major'
11095 shlibpath_var=LIBRARY_PATH
11096 shlibpath_overrides_runpath=yes
11097 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11098 hardcode_into_libs=yes
11101 hpux9* | hpux10* | hpux11*)
11102 # Give a soname corresponding to the major version so that dld.sl refuses to
11103 # link against other versions.
11110 hardcode_into_libs=yes
11111 dynamic_linker="$host_os dld.so"
11112 shlibpath_var=LD_LIBRARY_PATH
11113 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115 soname_spec='${libname}${release}${shared_ext}$major'
11116 if test "X$HPUX_IA64_MODE" = X32; then
11117 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11119 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11121 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11125 hardcode_into_libs=yes
11126 dynamic_linker="$host_os dld.sl"
11127 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11128 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11130 soname_spec='${libname}${release}${shared_ext}$major'
11131 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11132 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11136 dynamic_linker="$host_os dld.sl"
11137 shlibpath_var=SHLIB_PATH
11138 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 soname_spec='${libname}${release}${shared_ext}$major'
11143 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11144 postinstall_cmds='chmod 555 $lib'
11145 # or fails outright, so override atomically:
11146 install_override_mode=555
11150 version_type=linux # correct to gnu/linux during the next big refactor
11153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11154 soname_spec='${libname}${release}${shared_ext}$major'
11155 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11156 shlibpath_var=LD_LIBRARY_PATH
11157 shlibpath_overrides_runpath=no
11158 hardcode_into_libs=yes
11161 irix5* | irix6* | nonstopux*)
11163 nonstopux*) version_type=nonstopux ;;
11165 if test "$lt_cv_prog_gnu_ld" = yes; then
11166 version_type=linux # correct to gnu/linux during the next big refactor
11173 soname_spec='${libname}${release}${shared_ext}$major'
11174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11176 irix5* | nonstopux*)
11177 libsuff= shlibsuff=
11180 case $LD in # libtool.m4 will add one of these switches to LD
11181 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11182 libsuff= shlibsuff= libmagic=32-bit;;
11183 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11184 libsuff=32 shlibsuff=N32 libmagic=N32;;
11185 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11186 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11187 *) libsuff= shlibsuff= libmagic=never-match;;
11191 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11192 shlibpath_overrides_runpath=no
11193 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11194 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11195 hardcode_into_libs=yes
11198 # No shared lib support for Linux oldld, aout, or coff.
11199 linux*oldld* | linux*aout* | linux*coff*)
11203 # This must be glibc/ELF.
11204 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11205 version_type=linux # correct to gnu/linux during the next big refactor
11208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11209 soname_spec='${libname}${release}${shared_ext}$major'
11210 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11211 shlibpath_var=LD_LIBRARY_PATH
11212 shlibpath_overrides_runpath=no
11214 # Some binutils ld are patched to set DT_RUNPATH
11215 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11216 $as_echo_n "(cached) " >&6
11218 lt_cv_shlibpath_overrides_runpath=no
11219 save_LDFLAGS=$LDFLAGS
11220 save_libdir=$libdir
11221 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11222 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11234 if ac_fn_c_try_link "$LINENO"; then :
11235 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11236 lt_cv_shlibpath_overrides_runpath=yes
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LDFLAGS=$save_LDFLAGS
11242 libdir=$save_libdir
11246 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11248 # This implies no fast_install, which is unacceptable.
11249 # Some rework will be needed to allow for fast_install
11250 # before this can be enabled.
11251 hardcode_into_libs=yes
11253 # Append ld.so.conf contents to the search path
11254 if test -f /etc/ld.so.conf; then
11255 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11256 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11259 # We used to test for /lib/ld.so.1 and disable shared libraries on
11260 # powerpc, because MkLinux only supported shared libraries with the
11261 # GNU dynamic linker. Since this was broken with cross compilers,
11262 # most powerpc-linux boxes support dynamic linking these days and
11263 # people can always --disable-shared, the test was removed, and we
11264 # assume the GNU/Linux dynamic linker is in use.
11265 dynamic_linker='GNU/Linux ld.so'
11272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11273 soname_spec='${libname}${release}${shared_ext}$major'
11274 shlibpath_var=LD_LIBRARY_PATH
11275 shlibpath_overrides_runpath=no
11276 hardcode_into_libs=yes
11277 dynamic_linker='NetBSD ld.elf_so'
11284 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11286 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11287 dynamic_linker='NetBSD (a.out) ld.so'
11289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11290 soname_spec='${libname}${release}${shared_ext}$major'
11291 dynamic_linker='NetBSD ld.elf_so'
11293 shlibpath_var=LD_LIBRARY_PATH
11294 shlibpath_overrides_runpath=yes
11295 hardcode_into_libs=yes
11299 version_type=linux # correct to gnu/linux during the next big refactor
11300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11301 shlibpath_var=LD_LIBRARY_PATH
11302 shlibpath_overrides_runpath=yes
11309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11310 soname_spec='${libname}${release}${shared_ext}$major'
11311 shlibpath_var=LD_LIBRARY_PATH
11312 shlibpath_overrides_runpath=no
11313 hardcode_into_libs=yes
11314 dynamic_linker='ldqnx.so'
11319 sys_lib_dlsearch_path_spec="/usr/lib"
11321 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11323 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11324 *) need_version=no ;;
11326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11327 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11328 shlibpath_var=LD_LIBRARY_PATH
11329 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11331 openbsd2.[89] | openbsd2.[89].*)
11332 shlibpath_overrides_runpath=no
11335 shlibpath_overrides_runpath=yes
11339 shlibpath_overrides_runpath=yes
11344 libname_spec='$name'
11347 library_names_spec='$libname${shared_ext} $libname.a'
11348 dynamic_linker='OS/2 ld.exe'
11349 shlibpath_var=LIBPATH
11352 osf3* | osf4* | osf5*)
11356 soname_spec='${libname}${release}${shared_ext}$major'
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358 shlibpath_var=LD_LIBRARY_PATH
11359 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11360 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11368 version_type=linux # correct to gnu/linux during the next big refactor
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11372 soname_spec='${libname}${release}${shared_ext}$major'
11373 shlibpath_var=LD_LIBRARY_PATH
11374 shlibpath_overrides_runpath=yes
11375 hardcode_into_libs=yes
11376 # ldd complains unless libraries are executable
11377 postinstall_cmds='chmod +x $lib'
11382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11383 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11384 shlibpath_var=LD_LIBRARY_PATH
11385 shlibpath_overrides_runpath=yes
11386 if test "$with_gnu_ld" = yes; then
11393 version_type=linux # correct to gnu/linux during the next big refactor
11394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11395 soname_spec='${libname}${release}${shared_ext}$major'
11396 shlibpath_var=LD_LIBRARY_PATH
11397 case $host_vendor in
11399 shlibpath_overrides_runpath=no
11401 runpath_var=LD_RUN_PATH
11409 shlibpath_overrides_runpath=no
11410 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11416 if test -d /usr/nec ;then
11417 version_type=linux # correct to gnu/linux during the next big refactor
11418 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11419 soname_spec='$libname${shared_ext}.$major'
11420 shlibpath_var=LD_LIBRARY_PATH
11424 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11425 version_type=freebsd-elf
11428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11429 soname_spec='${libname}${release}${shared_ext}$major'
11430 shlibpath_var=LD_LIBRARY_PATH
11431 shlibpath_overrides_runpath=yes
11432 hardcode_into_libs=yes
11433 if test "$with_gnu_ld" = yes; then
11434 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11436 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11439 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11443 sys_lib_dlsearch_path_spec='/usr/lib'
11447 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11448 version_type=linux # correct to gnu/linux during the next big refactor
11451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452 shlibpath_var=LD_LIBRARY_PATH
11453 shlibpath_overrides_runpath=no
11454 hardcode_into_libs=yes
11458 version_type=linux # correct to gnu/linux during the next big refactor
11459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11460 soname_spec='${libname}${release}${shared_ext}$major'
11461 shlibpath_var=LD_LIBRARY_PATH
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11469 $as_echo "$dynamic_linker" >&6; }
11470 test "$dynamic_linker" = no && can_build_shared=no
11472 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11473 if test "$GCC" = yes; then
11474 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11477 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11478 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11480 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11481 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11576 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11578 if test -n "$hardcode_libdir_flag_spec" ||
11579 test -n "$runpath_var" ||
11580 test "X$hardcode_automatic" = "Xyes" ; then
11582 # We can hardcode non-existent directories.
11583 if test "$hardcode_direct" != no &&
11584 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11585 # have to relink, otherwise we might link with an installed library
11586 # when we should be linking with a yet-to-be-installed one
11587 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11588 test "$hardcode_minus_L" != no; then
11589 # Linking always hardcodes the temporary library directory.
11590 hardcode_action=relink
11592 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11593 hardcode_action=immediate
11596 # We cannot hardcode anything, or else we can only hardcode existing
11598 hardcode_action=unsupported
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11601 $as_echo "$hardcode_action" >&6; }
11603 if test "$hardcode_action" = relink ||
11604 test "$inherit_rpath" = yes; then
11605 # Fast installation is not supported
11606 enable_fast_install=no
11607 elif test "$shlibpath_overrides_runpath" = yes ||
11608 test "$enable_shared" = no; then
11609 # Fast installation is not necessary
11610 enable_fast_install=needless
11618 if test "x$enable_dlopen" != xyes; then
11619 enable_dlopen=unknown
11620 enable_dlopen_self=unknown
11621 enable_dlopen_self_static=unknown
11628 lt_cv_dlopen="load_add_on"
11630 lt_cv_dlopen_self=yes
11633 mingw* | pw32* | cegcc*)
11634 lt_cv_dlopen="LoadLibrary"
11639 lt_cv_dlopen="dlopen"
11644 # if libdl is installed we need to link against it
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11646 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11647 if ${ac_cv_lib_dl_dlopen+:} false; then :
11648 $as_echo_n "(cached) " >&6
11650 ac_check_lib_save_LIBS=$LIBS
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11670 if ac_fn_c_try_link "$LINENO"; then :
11671 ac_cv_lib_dl_dlopen=yes
11673 ac_cv_lib_dl_dlopen=no
11675 rm -f core conftest.err conftest.$ac_objext \
11676 conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_lib_save_LIBS
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11680 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11681 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11682 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11685 lt_cv_dlopen="dyld"
11687 lt_cv_dlopen_self=yes
11694 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11695 if test "x$ac_cv_func_shl_load" = xyes; then :
11696 lt_cv_dlopen="shl_load"
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11699 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11700 if ${ac_cv_lib_dld_shl_load+:} false; then :
11701 $as_echo_n "(cached) " >&6
11703 ac_check_lib_save_LIBS=$LIBS
11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11708 /* Override any GCC internal prototype to avoid an error.
11709 Use char because int might match the return type of a GCC
11710 builtin and then its argument prototype would still apply. */
11718 return shl_load ();
11723 if ac_fn_c_try_link "$LINENO"; then :
11724 ac_cv_lib_dld_shl_load=yes
11726 ac_cv_lib_dld_shl_load=no
11728 rm -f core conftest.err conftest.$ac_objext \
11729 conftest$ac_exeext conftest.$ac_ext
11730 LIBS=$ac_check_lib_save_LIBS
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11733 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11734 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11735 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11737 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11738 if test "x$ac_cv_func_dlopen" = xyes; then :
11739 lt_cv_dlopen="dlopen"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11742 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11743 if ${ac_cv_lib_dl_dlopen+:} false; then :
11744 $as_echo_n "(cached) " >&6
11746 ac_check_lib_save_LIBS=$LIBS
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11766 if ac_fn_c_try_link "$LINENO"; then :
11767 ac_cv_lib_dl_dlopen=yes
11769 ac_cv_lib_dl_dlopen=no
11771 rm -f core conftest.err conftest.$ac_objext \
11772 conftest$ac_exeext conftest.$ac_ext
11773 LIBS=$ac_check_lib_save_LIBS
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11776 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11777 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11778 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11781 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11782 if ${ac_cv_lib_svld_dlopen+:} false; then :
11783 $as_echo_n "(cached) " >&6
11785 ac_check_lib_save_LIBS=$LIBS
11786 LIBS="-lsvld $LIBS"
11787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11788 /* end confdefs.h. */
11790 /* Override any GCC internal prototype to avoid an error.
11791 Use char because int might match the return type of a GCC
11792 builtin and then its argument prototype would still apply. */
11805 if ac_fn_c_try_link "$LINENO"; then :
11806 ac_cv_lib_svld_dlopen=yes
11808 ac_cv_lib_svld_dlopen=no
11810 rm -f core conftest.err conftest.$ac_objext \
11811 conftest$ac_exeext conftest.$ac_ext
11812 LIBS=$ac_check_lib_save_LIBS
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11815 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11816 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11817 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11820 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11821 if ${ac_cv_lib_dld_dld_link+:} false; then :
11822 $as_echo_n "(cached) " >&6
11824 ac_check_lib_save_LIBS=$LIBS
11826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11827 /* end confdefs.h. */
11829 /* Override any GCC internal prototype to avoid an error.
11830 Use char because int might match the return type of a GCC
11831 builtin and then its argument prototype would still apply. */
11839 return dld_link ();
11844 if ac_fn_c_try_link "$LINENO"; then :
11845 ac_cv_lib_dld_dld_link=yes
11847 ac_cv_lib_dld_dld_link=no
11849 rm -f core conftest.err conftest.$ac_objext \
11850 conftest$ac_exeext conftest.$ac_ext
11851 LIBS=$ac_check_lib_save_LIBS
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11854 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11855 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11856 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11877 if test "x$lt_cv_dlopen" != xno; then
11883 case $lt_cv_dlopen in
11885 save_CPPFLAGS="$CPPFLAGS"
11886 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11888 save_LDFLAGS="$LDFLAGS"
11889 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11892 LIBS="$lt_cv_dlopen_libs $LIBS"
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11895 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11896 if ${lt_cv_dlopen_self+:} false; then :
11897 $as_echo_n "(cached) " >&6
11899 if test "$cross_compiling" = yes; then :
11900 lt_cv_dlopen_self=cross
11902 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11903 lt_status=$lt_dlunknown
11904 cat > conftest.$ac_ext <<_LT_EOF
11905 #line $LINENO "configure"
11906 #include "confdefs.h"
11915 # define LT_DLGLOBAL RTLD_GLOBAL
11918 # define LT_DLGLOBAL DL_GLOBAL
11920 # define LT_DLGLOBAL 0
11924 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11925 find out it does not work in some platform. */
11926 #ifndef LT_DLLAZY_OR_NOW
11928 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11931 # define LT_DLLAZY_OR_NOW DL_LAZY
11934 # define LT_DLLAZY_OR_NOW RTLD_NOW
11937 # define LT_DLLAZY_OR_NOW DL_NOW
11939 # define LT_DLLAZY_OR_NOW 0
11946 /* When -fvisbility=hidden is used, assume the code has been annotated
11947 correspondingly for the symbols needed. */
11948 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11949 int fnord () __attribute__((visibility("default")));
11952 int fnord () { return 42; }
11955 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11956 int status = $lt_dlunknown;
11960 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11963 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11964 else puts (dlerror ());
11966 /* dlclose (self); */
11974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11975 (eval $ac_link) 2>&5
11977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11978 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11979 (./conftest; exit; ) >&5 2>/dev/null
11981 case x$lt_status in
11982 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11983 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11984 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11987 # compilation failed
11988 lt_cv_dlopen_self=no
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11996 $as_echo "$lt_cv_dlopen_self" >&6; }
11998 if test "x$lt_cv_dlopen_self" = xyes; then
11999 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12001 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12002 if ${lt_cv_dlopen_self_static+:} false; then :
12003 $as_echo_n "(cached) " >&6
12005 if test "$cross_compiling" = yes; then :
12006 lt_cv_dlopen_self_static=cross
12008 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12009 lt_status=$lt_dlunknown
12010 cat > conftest.$ac_ext <<_LT_EOF
12011 #line $LINENO "configure"
12012 #include "confdefs.h"
12021 # define LT_DLGLOBAL RTLD_GLOBAL
12024 # define LT_DLGLOBAL DL_GLOBAL
12026 # define LT_DLGLOBAL 0
12030 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12031 find out it does not work in some platform. */
12032 #ifndef LT_DLLAZY_OR_NOW
12034 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12037 # define LT_DLLAZY_OR_NOW DL_LAZY
12040 # define LT_DLLAZY_OR_NOW RTLD_NOW
12043 # define LT_DLLAZY_OR_NOW DL_NOW
12045 # define LT_DLLAZY_OR_NOW 0
12052 /* When -fvisbility=hidden is used, assume the code has been annotated
12053 correspondingly for the symbols needed. */
12054 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12055 int fnord () __attribute__((visibility("default")));
12058 int fnord () { return 42; }
12061 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12062 int status = $lt_dlunknown;
12066 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12069 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12070 else puts (dlerror ());
12072 /* dlclose (self); */
12080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12081 (eval $ac_link) 2>&5
12083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12084 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12085 (./conftest; exit; ) >&5 2>/dev/null
12087 case x$lt_status in
12088 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12089 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12090 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12093 # compilation failed
12094 lt_cv_dlopen_self_static=no
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12102 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12105 CPPFLAGS="$save_CPPFLAGS"
12106 LDFLAGS="$save_LDFLAGS"
12111 case $lt_cv_dlopen_self in
12112 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12113 *) enable_dlopen_self=unknown ;;
12116 case $lt_cv_dlopen_self_static in
12117 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12118 *) enable_dlopen_self_static=unknown ;;
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12141 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12142 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12143 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12144 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12146 $as_echo "yes" >&6; }
12148 # FIXME - insert some real tests, host_os isn't really good enough
12151 if test -n "$STRIP" ; then
12152 striplib="$STRIP -x"
12153 old_striplib="$STRIP -S"
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12155 $as_echo "yes" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12179 # Report which library types will actually be built
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12181 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12183 $as_echo "$can_build_shared" >&6; }
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12186 $as_echo_n "checking whether to build shared libraries... " >&6; }
12187 test "$can_build_shared" = "no" && enable_shared=no
12189 # On AIX, shared libraries and static libraries use the same namespace, and
12190 # are all built from PIC.
12193 test "$enable_shared" = yes && enable_static=no
12194 if test -n "$RANLIB"; then
12195 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12196 postinstall_cmds='$RANLIB $lib'
12201 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12202 test "$enable_shared" = yes && enable_static=no
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12207 $as_echo "$enable_shared" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12210 $as_echo_n "checking whether to build static libraries... " >&6; }
12211 # Make sure either enable_shared or enable_static is yes.
12212 test "$enable_shared" = yes || enable_static=yes
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12214 $as_echo "$enable_static" >&6; }
12221 ac_cpp='$CPP $CPPFLAGS'
12222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12242 ac_config_commands="$ac_config_commands libtool"
12247 # Only expand once:
12252 if test -z "$AM_DEFAULT_VERBOSITY"; then
12253 AM_DEFAULT_VERBOSITY=1
12257 gdu_cv_version_required=0.3.2
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
12260 $as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
12261 if test -n "$PKG_CONFIG" && \
12262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
12263 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
12265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12266 test $ac_status = 0; }; then
12267 gdu_cv_have_gdu=yes
12272 if test "$gdu_cv_have_gdu" = "yes"; then
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12274 $as_echo "yes" >&6; }
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12279 as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
12284 # Check whether --with-help-dir was given.
12285 if test "${with_help_dir+set}" = set; then :
12286 withval=$with_help_dir;
12288 with_help_dir='${datadir}/gnome/help'
12291 HELP_DIR="$with_help_dir"
12295 # Check whether --with-omf-dir was given.
12296 if test "${with_omf_dir+set}" = set; then :
12297 withval=$with_omf_dir;
12299 with_omf_dir='${datadir}/omf'
12302 OMF_DIR="$with_omf_dir"
12306 # Check whether --with-help-formats was given.
12307 if test "${with_help_formats+set}" = set; then :
12308 withval=$with_help_formats;
12310 with_help_formats=''
12313 DOC_USER_FORMATS="$with_help_formats"
12316 # Check whether --enable-scrollkeeper was given.
12317 if test "${enable_scrollkeeper+set}" = set; then :
12318 enableval=$enable_scrollkeeper;
12320 enable_scrollkeeper=yes
12323 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
12325 ENABLE_SK_FALSE='#'
12332 DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
12335 if test "$gdu_cv_have_gdu" = "yes"; then
12336 HAVE_GNOME_DOC_UTILS_TRUE=
12337 HAVE_GNOME_DOC_UTILS_FALSE='#'
12339 HAVE_GNOME_DOC_UTILS_TRUE='#'
12340 HAVE_GNOME_DOC_UTILS_FALSE=
12348 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12349 set dummy gtkdoc-check; ac_word=$2
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12351 $as_echo_n "checking for $ac_word... " >&6; }
12352 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12353 $as_echo_n "(cached) " >&6
12355 case $GTKDOC_CHECK in
12357 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12361 for as_dir in $PATH
12364 test -z "$as_dir" && as_dir=.
12365 for ac_exec_ext in '' $ac_executable_extensions; do
12366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12367 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12378 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12379 if test -n "$GTKDOC_CHECK"; then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12381 $as_echo "$GTKDOC_CHECK" >&6; }
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12384 $as_echo "no" >&6; }
12388 for ac_prog in gtkdoc-rebase
12390 # Extract the first word of "$ac_prog", so it can be a program name with args.
12391 set dummy $ac_prog; ac_word=$2
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12393 $as_echo_n "checking for $ac_word... " >&6; }
12394 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12395 $as_echo_n "(cached) " >&6
12397 case $GTKDOC_REBASE in
12399 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12403 for as_dir in $PATH
12406 test -z "$as_dir" && as_dir=.
12407 for ac_exec_ext in '' $ac_executable_extensions; do
12408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12409 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12420 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12421 if test -n "$GTKDOC_REBASE"; then
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12423 $as_echo "$GTKDOC_REBASE" >&6; }
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12426 $as_echo "no" >&6; }
12430 test -n "$GTKDOC_REBASE" && break
12432 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12434 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12435 set dummy gtkdoc-mkpdf; ac_word=$2
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12437 $as_echo_n "checking for $ac_word... " >&6; }
12438 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12439 $as_echo_n "(cached) " >&6
12441 case $GTKDOC_MKPDF in
12443 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12447 for as_dir in $PATH
12450 test -z "$as_dir" && as_dir=.
12451 for ac_exec_ext in '' $ac_executable_extensions; do
12452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12453 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12464 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12465 if test -n "$GTKDOC_MKPDF"; then
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12467 $as_echo "$GTKDOC_MKPDF" >&6; }
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12470 $as_echo "no" >&6; }
12476 # Check whether --with-html-dir was given.
12477 if test "${with_html_dir+set}" = set; then :
12478 withval=$with_html_dir;
12480 with_html_dir='${datadir}/gtk-doc/html'
12483 HTML_DIR="$with_html_dir"
12486 # Check whether --enable-gtk-doc was given.
12487 if test "${enable_gtk_doc+set}" = set; then :
12488 enableval=$enable_gtk_doc;
12494 if test x$enable_gtk_doc = xyes; then
12495 if test -n "$PKG_CONFIG" && \
12496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
12497 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
12499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12500 test $ac_status = 0; }; then
12503 as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
12505 if test "x$PACKAGE_NAME" != "xglib"; then
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12509 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12511 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12512 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12513 elif test -n "$PKG_CONFIG"; then
12514 if test -n "$PKG_CONFIG" && \
12515 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12516 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12519 test $ac_status = 0; }; then
12520 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12521 test "x$?" != "x0" && pkg_failed=yes
12528 if test -n "$GTKDOC_DEPS_LIBS"; then
12529 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12530 elif test -n "$PKG_CONFIG"; then
12531 if test -n "$PKG_CONFIG" && \
12532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12533 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12536 test $ac_status = 0; }; then
12537 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12538 test "x$?" != "x0" && pkg_failed=yes
12548 if test $pkg_failed = yes; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12550 $as_echo "no" >&6; }
12552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12553 _pkg_short_errors_supported=yes
12555 _pkg_short_errors_supported=no
12557 if test $_pkg_short_errors_supported = yes; then
12558 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12560 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12562 # Put the nasty error message in config.log where it belongs
12563 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12565 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
12567 $GTKDOC_DEPS_PKG_ERRORS
12569 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12570 installed software in a non-standard prefix.
12572 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12573 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12574 See the pkg-config man page for more details." "$LINENO" 5
12575 elif test $pkg_failed = untried; then
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 $as_echo "no" >&6; }
12578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12580 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12581 is in your PATH or set the PKG_CONFIG environment variable to the full
12582 path to pkg-config.
12584 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12585 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12586 See the pkg-config man page for more details.
12588 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12589 See \`config.log' for more details" "$LINENO" 5; }
12591 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12592 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12594 $as_echo "yes" >&6; }
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12601 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12603 $as_echo "$enable_gtk_doc" >&6; }
12605 # Check whether --enable-gtk-doc-html was given.
12606 if test "${enable_gtk_doc_html+set}" = set; then :
12607 enableval=$enable_gtk_doc_html;
12609 enable_gtk_doc_html=yes
12612 # Check whether --enable-gtk-doc-pdf was given.
12613 if test "${enable_gtk_doc_pdf+set}" = set; then :
12614 enableval=$enable_gtk_doc_pdf;
12616 enable_gtk_doc_pdf=no
12620 if test -z "$GTKDOC_MKPDF"; then
12621 enable_gtk_doc_pdf=no
12625 if test x$enable_gtk_doc = xyes; then
12626 ENABLE_GTK_DOC_TRUE=
12627 ENABLE_GTK_DOC_FALSE='#'
12629 ENABLE_GTK_DOC_TRUE='#'
12630 ENABLE_GTK_DOC_FALSE=
12633 if test x$enable_gtk_doc_html = xyes; then
12634 GTK_DOC_BUILD_HTML_TRUE=
12635 GTK_DOC_BUILD_HTML_FALSE='#'
12637 GTK_DOC_BUILD_HTML_TRUE='#'
12638 GTK_DOC_BUILD_HTML_FALSE=
12641 if test x$enable_gtk_doc_pdf = xyes; then
12642 GTK_DOC_BUILD_PDF_TRUE=
12643 GTK_DOC_BUILD_PDF_FALSE='#'
12645 GTK_DOC_BUILD_PDF_TRUE='#'
12646 GTK_DOC_BUILD_PDF_FALSE=
12649 if test -n "$LIBTOOL"; then
12650 GTK_DOC_USE_LIBTOOL_TRUE=
12651 GTK_DOC_USE_LIBTOOL_FALSE='#'
12653 GTK_DOC_USE_LIBTOOL_TRUE='#'
12654 GTK_DOC_USE_LIBTOOL_FALSE=
12657 if test -n "$GTKDOC_REBASE"; then
12658 GTK_DOC_USE_REBASE_TRUE=
12659 GTK_DOC_USE_REBASE_FALSE='#'
12661 GTK_DOC_USE_REBASE_TRUE='#'
12662 GTK_DOC_USE_REBASE_FALSE=
12669 # Check whether --enable-schemas-compile was given.
12670 if test "${enable_schemas_compile+set}" = set; then :
12671 enableval=$enable_schemas_compile; case ${enableval} in
12672 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
12673 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12674 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12686 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12687 if test -n "$ac_tool_prefix"; then
12688 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12689 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12691 $as_echo_n "checking for $ac_word... " >&6; }
12692 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12693 $as_echo_n "(cached) " >&6
12695 case $PKG_CONFIG in
12697 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12701 for as_dir in $PATH
12704 test -z "$as_dir" && as_dir=.
12705 for ac_exec_ext in '' $ac_executable_extensions; do
12706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12707 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12718 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12719 if test -n "$PKG_CONFIG"; then
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12721 $as_echo "$PKG_CONFIG" >&6; }
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12724 $as_echo "no" >&6; }
12729 if test -z "$ac_cv_path_PKG_CONFIG"; then
12730 ac_pt_PKG_CONFIG=$PKG_CONFIG
12731 # Extract the first word of "pkg-config", so it can be a program name with args.
12732 set dummy pkg-config; ac_word=$2
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12734 $as_echo_n "checking for $ac_word... " >&6; }
12735 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12736 $as_echo_n "(cached) " >&6
12738 case $ac_pt_PKG_CONFIG in
12740 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12744 for as_dir in $PATH
12747 test -z "$as_dir" && as_dir=.
12748 for ac_exec_ext in '' $ac_executable_extensions; do
12749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12750 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12761 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12762 if test -n "$ac_pt_PKG_CONFIG"; then
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12764 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12767 $as_echo "no" >&6; }
12770 if test "x$ac_pt_PKG_CONFIG" = x; then
12773 case $cross_compiling:$ac_tool_warned in
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12777 ac_tool_warned=yes ;;
12779 PKG_CONFIG=$ac_pt_PKG_CONFIG
12782 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12786 if test -n "$PKG_CONFIG"; then
12787 _pkg_min_version=0.16
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12789 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12790 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12792 $as_echo "yes" >&6; }
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12795 $as_echo "no" >&6; }
12799 gsettingsschemadir=${datadir}/glib-2.0/schemas
12801 if test x$cross_compiling != xyes; then
12802 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12804 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12805 set dummy glib-compile-schemas; ac_word=$2
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12807 $as_echo_n "checking for $ac_word... " >&6; }
12808 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12809 $as_echo_n "(cached) " >&6
12811 case $GLIB_COMPILE_SCHEMAS in
12813 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12817 for as_dir in $PATH
12820 test -z "$as_dir" && as_dir=.
12821 for ac_exec_ext in '' $ac_executable_extensions; do
12822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12823 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
12824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12834 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
12835 if test -n "$GLIB_COMPILE_SCHEMAS"; then
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
12837 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840 $as_echo "no" >&6; }
12846 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
12847 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
12853 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
12855 mostlyclean-am: clean-gsettings-schemas
12857 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
12859 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
12860 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
12862 all-am: $(gsettings_SCHEMAS:.xml=.valid)
12863 uninstall-am: uninstall-gsettings-schemas
12864 install-data-am: install-gsettings-schemas
12866 .SECONDARY: $(gsettings_SCHEMAS)
12868 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
12870 if test -n "$^"; then \
12871 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
12872 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
12873 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
12876 uninstall-gsettings-schemas:
12877 @$(NORMAL_UNINSTALL)
12878 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
12879 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
12880 test -n "$$files" || exit 0; \
12881 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
12882 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
12883 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
12885 clean-gsettings-schemas:
12886 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
12888 ifdef gsettings_ENUM_NAMESPACE
12889 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
12890 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
12901 $as_echo_n "checking for library containing strerror... " >&6; }
12902 if ${ac_cv_search_strerror+:} false; then :
12903 $as_echo_n "(cached) " >&6
12905 ac_func_search_save_LIBS=$LIBS
12906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h. */
12909 /* Override any GCC internal prototype to avoid an error.
12910 Use char because int might match the return type of a GCC
12911 builtin and then its argument prototype would still apply. */
12919 return strerror ();
12924 for ac_lib in '' cposix; do
12925 if test -z "$ac_lib"; then
12926 ac_res="none required"
12929 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12931 if ac_fn_c_try_link "$LINENO"; then :
12932 ac_cv_search_strerror=$ac_res
12934 rm -f core conftest.err conftest.$ac_objext \
12936 if ${ac_cv_search_strerror+:} false; then :
12940 if ${ac_cv_search_strerror+:} false; then :
12943 ac_cv_search_strerror=no
12945 rm conftest.$ac_ext
12946 LIBS=$ac_func_search_save_LIBS
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
12949 $as_echo "$ac_cv_search_strerror" >&6; }
12950 ac_res=$ac_cv_search_strerror
12951 if test "$ac_res" != no; then :
12952 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12957 ac_cpp='$CPP $CPPFLAGS'
12958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12961 if test -n "$ac_tool_prefix"; then
12962 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12963 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12965 $as_echo_n "checking for $ac_word... " >&6; }
12966 if ${ac_cv_prog_CC+:} false; then :
12967 $as_echo_n "(cached) " >&6
12969 if test -n "$CC"; then
12970 ac_cv_prog_CC="$CC" # Let the user override the test.
12972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12973 for as_dir in $PATH
12976 test -z "$as_dir" && as_dir=.
12977 for ac_exec_ext in '' $ac_executable_extensions; do
12978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12979 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12990 if test -n "$CC"; then
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12992 $as_echo "$CC" >&6; }
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12995 $as_echo "no" >&6; }
13000 if test -z "$ac_cv_prog_CC"; then
13002 # Extract the first word of "gcc", so it can be a program name with args.
13003 set dummy gcc; ac_word=$2
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13005 $as_echo_n "checking for $ac_word... " >&6; }
13006 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13007 $as_echo_n "(cached) " >&6
13009 if test -n "$ac_ct_CC"; then
13010 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13013 for as_dir in $PATH
13016 test -z "$as_dir" && as_dir=.
13017 for ac_exec_ext in '' $ac_executable_extensions; do
13018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13019 ac_cv_prog_ac_ct_CC="gcc"
13020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13030 if test -n "$ac_ct_CC"; then
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13032 $as_echo "$ac_ct_CC" >&6; }
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13035 $as_echo "no" >&6; }
13038 if test "x$ac_ct_CC" = x; then
13041 case $cross_compiling:$ac_tool_warned in
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13045 ac_tool_warned=yes ;;
13050 CC="$ac_cv_prog_CC"
13053 if test -z "$CC"; then
13054 if test -n "$ac_tool_prefix"; then
13055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13056 set dummy ${ac_tool_prefix}cc; ac_word=$2
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13058 $as_echo_n "checking for $ac_word... " >&6; }
13059 if ${ac_cv_prog_CC+:} false; then :
13060 $as_echo_n "(cached) " >&6
13062 if test -n "$CC"; then
13063 ac_cv_prog_CC="$CC" # Let the user override the test.
13065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13066 for as_dir in $PATH
13069 test -z "$as_dir" && as_dir=.
13070 for ac_exec_ext in '' $ac_executable_extensions; do
13071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13072 ac_cv_prog_CC="${ac_tool_prefix}cc"
13073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13083 if test -n "$CC"; then
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13085 $as_echo "$CC" >&6; }
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13088 $as_echo "no" >&6; }
13094 if test -z "$CC"; then
13095 # Extract the first word of "cc", so it can be a program name with args.
13096 set dummy cc; ac_word=$2
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13098 $as_echo_n "checking for $ac_word... " >&6; }
13099 if ${ac_cv_prog_CC+:} false; then :
13100 $as_echo_n "(cached) " >&6
13102 if test -n "$CC"; then
13103 ac_cv_prog_CC="$CC" # Let the user override the test.
13105 ac_prog_rejected=no
13106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13107 for as_dir in $PATH
13110 test -z "$as_dir" && as_dir=.
13111 for ac_exec_ext in '' $ac_executable_extensions; do
13112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13113 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13114 ac_prog_rejected=yes
13118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13125 if test $ac_prog_rejected = yes; then
13126 # We found a bogon in the path, so make sure we never use it.
13127 set dummy $ac_cv_prog_CC
13129 if test $# != 0; then
13130 # We chose a different compiler from the bogus one.
13131 # However, it has the same basename, so the bogon will be chosen
13132 # first if we set CC to just the basename; use the full file name.
13134 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13140 if test -n "$CC"; then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13142 $as_echo "$CC" >&6; }
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13145 $as_echo "no" >&6; }
13150 if test -z "$CC"; then
13151 if test -n "$ac_tool_prefix"; then
13152 for ac_prog in cl.exe
13154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13157 $as_echo_n "checking for $ac_word... " >&6; }
13158 if ${ac_cv_prog_CC+:} false; then :
13159 $as_echo_n "(cached) " >&6
13161 if test -n "$CC"; then
13162 ac_cv_prog_CC="$CC" # Let the user override the test.
13164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13165 for as_dir in $PATH
13168 test -z "$as_dir" && as_dir=.
13169 for ac_exec_ext in '' $ac_executable_extensions; do
13170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13171 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13182 if test -n "$CC"; then
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13184 $as_echo "$CC" >&6; }
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13187 $as_echo "no" >&6; }
13191 test -n "$CC" && break
13194 if test -z "$CC"; then
13196 for ac_prog in cl.exe
13198 # Extract the first word of "$ac_prog", so it can be a program name with args.
13199 set dummy $ac_prog; ac_word=$2
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13201 $as_echo_n "checking for $ac_word... " >&6; }
13202 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13203 $as_echo_n "(cached) " >&6
13205 if test -n "$ac_ct_CC"; then
13206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209 for as_dir in $PATH
13212 test -z "$as_dir" && as_dir=.
13213 for ac_exec_ext in '' $ac_executable_extensions; do
13214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13215 ac_cv_prog_ac_ct_CC="$ac_prog"
13216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13226 if test -n "$ac_ct_CC"; then
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13228 $as_echo "$ac_ct_CC" >&6; }
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13231 $as_echo "no" >&6; }
13235 test -n "$ac_ct_CC" && break
13238 if test "x$ac_ct_CC" = x; then
13241 case $cross_compiling:$ac_tool_warned in
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13245 ac_tool_warned=yes ;;
13254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13256 as_fn_error $? "no acceptable C compiler found in \$PATH
13257 See \`config.log' for more details" "$LINENO" 5; }
13259 # Provide some information about the compiler.
13260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13263 for ac_option in --version -v -V -qversion; do
13264 { { ac_try="$ac_compiler $ac_option >&5"
13265 case "(($ac_try" in
13266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13267 *) ac_try_echo=$ac_try;;
13269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13270 $as_echo "$ac_try_echo"; } >&5
13271 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13273 if test -s conftest.err; then
13275 ... rest of stderr output deleted ...
13276 10q' conftest.err >conftest.er1
13277 cat conftest.er1 >&5
13279 rm -f conftest.er1 conftest.err
13280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13281 test $ac_status = 0; }
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13285 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13286 if ${ac_cv_c_compiler_gnu+:} false; then :
13287 $as_echo_n "(cached) " >&6
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13303 if ac_fn_c_try_compile "$LINENO"; then :
13304 ac_compiler_gnu=yes
13308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13309 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13313 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13314 if test $ac_compiler_gnu = yes; then
13319 ac_test_CFLAGS=${CFLAGS+set}
13320 ac_save_CFLAGS=$CFLAGS
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13322 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13323 if ${ac_cv_prog_cc_g+:} false; then :
13324 $as_echo_n "(cached) " >&6
13326 ac_save_c_werror_flag=$ac_c_werror_flag
13327 ac_c_werror_flag=yes
13330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13331 /* end confdefs.h. */
13341 if ac_fn_c_try_compile "$LINENO"; then :
13342 ac_cv_prog_cc_g=yes
13345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13356 if ac_fn_c_try_compile "$LINENO"; then :
13359 ac_c_werror_flag=$ac_save_c_werror_flag
13361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h. */
13372 if ac_fn_c_try_compile "$LINENO"; then :
13373 ac_cv_prog_cc_g=yes
13375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13380 ac_c_werror_flag=$ac_save_c_werror_flag
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13383 $as_echo "$ac_cv_prog_cc_g" >&6; }
13384 if test "$ac_test_CFLAGS" = set; then
13385 CFLAGS=$ac_save_CFLAGS
13386 elif test $ac_cv_prog_cc_g = yes; then
13387 if test "$GCC" = yes; then
13393 if test "$GCC" = yes; then
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13400 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13401 if ${ac_cv_prog_cc_c89+:} false; then :
13402 $as_echo_n "(cached) " >&6
13404 ac_cv_prog_cc_c89=no
13406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h. */
13408 #include <stdarg.h>
13410 #include <sys/types.h>
13411 #include <sys/stat.h>
13412 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13413 struct buf { int x; };
13414 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13415 static char *e (p, i)
13421 static char *f (char * (*g) (char **, int), char **p, ...)
13426 s = g (p, va_arg (v,int));
13431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13432 function prototypes and stuff, but not '\xHH' hex character constants.
13433 These don't provoke an error unfortunately, instead are silently treated
13434 as 'x'. The following induces an error, until -std is added to get
13435 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13436 array size at least. It's necessary to write '\x00'==0 to get something
13437 that's true only with -std. */
13438 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13441 inside strings and character constants. */
13443 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13445 int test (int i, double x);
13446 struct s1 {int (*f) (int a);};
13447 struct s2 {int (*f) (double a);};
13448 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13454 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13460 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13462 CC="$ac_save_CC $ac_arg"
13463 if ac_fn_c_try_compile "$LINENO"; then :
13464 ac_cv_prog_cc_c89=$ac_arg
13466 rm -f core conftest.err conftest.$ac_objext
13467 test "x$ac_cv_prog_cc_c89" != "xno" && break
13469 rm -f conftest.$ac_ext
13474 case "x$ac_cv_prog_cc_c89" in
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13477 $as_echo "none needed" >&6; } ;;
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13480 $as_echo "unsupported" >&6; } ;;
13482 CC="$CC $ac_cv_prog_cc_c89"
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13484 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13486 if test "x$ac_cv_prog_cc_c89" != xno; then :
13491 ac_cpp='$CPP $CPPFLAGS'
13492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13496 depcc="$CC" am_compiler_list=
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13499 $as_echo_n "checking dependency style of $depcc... " >&6; }
13500 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13501 $as_echo_n "(cached) " >&6
13503 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13504 # We make a subdir and do the tests there. Otherwise we can end up
13505 # making bogus files that we don't know about and never remove. For
13506 # instance it was reported that on HP-UX the gcc test will end up
13507 # making a dummy file named `D' -- because `-MD' means `put the output
13509 rm -rf conftest.dir
13511 # Copy depcomp to subdir because otherwise we won't find it if we're
13512 # using a relative directory.
13513 cp "$am_depcomp" conftest.dir
13515 # We will build objects and dependencies in a subdirectory because
13516 # it helps to detect inapplicable dependency modes. For instance
13517 # both Tru64's cc and ICC support -MD to output dependencies as a
13518 # side effect of compilation, but ICC will put the dependencies in
13519 # the current directory while Tru64 will put them in the object
13523 am_cv_CC_dependencies_compiler_type=none
13524 if test "$am_compiler_list" = ""; then
13525 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13527 am__universal=false
13528 case " $depcc " in #(
13529 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13532 for depmode in $am_compiler_list; do
13533 # Setup a source with many dependencies, because some compilers
13534 # like to wrap large dependency lists on column 80 (with \), and
13535 # we should not choose a depcomp mode which is confused by this.
13537 # We need to recreate these files for each test, as the compiler may
13538 # overwrite some of them when testing with obscure command lines.
13539 # This happens at least with the AIX C compiler.
13541 for i in 1 2 3 4 5 6; do
13542 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13543 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13544 # Solaris 8's {/usr,}/bin/sh.
13545 touch sub/conftst$i.h
13547 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13549 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13550 # mode. It turns out that the SunPro C++ compiler does not properly
13551 # handle `-M -o', and we need to detect this. Also, some Intel
13552 # versions had trouble with output in subdirs
13553 am__obj=sub/conftest.${OBJEXT-o}
13554 am__minus_obj="-o $am__obj"
13557 # This depmode causes a compiler race in universal mode.
13558 test "$am__universal" = false || continue
13561 # after this tag, mechanisms are not by side-effect, so they'll
13562 # only be used when explicitly requested
13563 if test "x$enable_dependency_tracking" = xyes; then
13569 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13570 # This compiler won't grok `-c -o', but also, the minuso test has
13571 # not run yet. These depmodes are late enough in the game, and
13572 # so weak that their functioning should not be impacted.
13573 am__obj=conftest.${OBJEXT-o}
13578 if depmode=$depmode \
13579 source=sub/conftest.c object=$am__obj \
13580 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13581 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13582 >/dev/null 2>conftest.err &&
13583 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13584 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13585 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13586 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13587 # icc doesn't choke on unknown options, it will just issue warnings
13588 # or remarks (even with -Werror). So we grep stderr for any message
13589 # that says an option was ignored or not supported.
13590 # When given -MP, icc 7.0 and 7.1 complain thusly:
13591 # icc: Command line warning: ignoring option '-M'; no argument required
13592 # The diagnosis changed in icc 8.0:
13593 # icc: Command line remark: option '-MP' not supported
13594 if (grep 'ignoring option' conftest.err ||
13595 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13596 am_cv_CC_dependencies_compiler_type=$depmode
13603 rm -rf conftest.dir
13605 am_cv_CC_dependencies_compiler_type=none
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13610 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13611 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13614 test "x$enable_dependency_tracking" != xno \
13615 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13616 am__fastdepCC_TRUE=
13617 am__fastdepCC_FALSE='#'
13619 am__fastdepCC_TRUE='#'
13620 am__fastdepCC_FALSE=
13628 # Check whether --enable-compile-warnings was given.
13629 if test "${enable_compile_warnings+set}" = set; then :
13630 enableval=$enable_compile_warnings;
13632 enable_compile_warnings="yes"
13637 if test "x$GCC" != xyes; then
13638 enable_compile_warnings=no
13642 realsave_CFLAGS="$CFLAGS"
13644 case "$enable_compile_warnings" in
13649 warning_flags="-Wall"
13652 warning_flags="-Wall -Wmissing-prototypes"
13655 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13656 CFLAGS="$warning_flags $CFLAGS"
13657 for option in -Wno-sign-compare; do
13658 SAVE_CFLAGS="$CFLAGS"
13659 CFLAGS="$CFLAGS $option"
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13661 $as_echo_n "checking whether gcc understands $option... " >&6; }
13662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13663 /* end confdefs.h. */
13673 if ac_fn_c_try_compile "$LINENO"; then :
13678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13679 CFLAGS="$SAVE_CFLAGS"
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13681 $as_echo "$has_option" >&6; }
13682 if test $has_option = yes; then
13683 warning_flags="$warning_flags $option"
13689 if test "$enable_compile_warnings" = "error" ; then
13690 warning_flags="$warning_flags -Werror"
13694 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13697 CFLAGS="$realsave_CFLAGS"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13699 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13701 $as_echo "$warning_flags" >&6; }
13703 # Check whether --enable-iso-c was given.
13704 if test "${enable_iso_c+set}" = set; then :
13705 enableval=$enable_iso_c;
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13712 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13714 if test "x$enable_iso_c" != "xno"; then
13715 if test "x$GCC" = "xyes"; then
13716 case " $CFLAGS " in
13717 *\ \ -ansi\ \ *) ;;
13718 *) complCFLAGS="$complCFLAGS -ansi" ;;
13720 case " $CFLAGS " in
13721 *\ \ -pedantic\ \ *) ;;
13722 *) complCFLAGS="$complCFLAGS -pedantic" ;;
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13727 $as_echo "$complCFLAGS" >&6; }
13729 WARN_CFLAGS="$warning_flags $complCFLAGS"
13733 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13734 set dummy glib-genmarshal; ac_word=$2
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13736 $as_echo_n "checking for $ac_word... " >&6; }
13737 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
13738 $as_echo_n "(cached) " >&6
13740 case $GLIB_GENMARSHAL in
13742 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13746 for as_dir in $PATH
13749 test -z "$as_dir" && as_dir=.
13750 for ac_exec_ext in '' $ac_executable_extensions; do
13751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13752 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13763 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13764 if test -n "$GLIB_GENMARSHAL"; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13766 $as_echo "$GLIB_GENMARSHAL" >&6; }
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769 $as_echo "no" >&6; }
13773 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
13774 set dummy gdk-pixbuf-csource; ac_word=$2
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13776 $as_echo_n "checking for $ac_word... " >&6; }
13777 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
13778 $as_echo_n "(cached) " >&6
13780 case $GDK_PIXBUF_CSOURCE in
13782 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
13785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13786 for as_dir in $PATH
13789 test -z "$as_dir" && as_dir=.
13790 for ac_exec_ext in '' $ac_executable_extensions; do
13791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13792 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
13793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13803 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
13804 if test -n "$GDK_PIXBUF_CSOURCE"; then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
13806 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13809 $as_echo "no" >&6; }
13813 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
13814 set dummy gtk-update-icon-cache; ac_word=$2
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13816 $as_echo_n "checking for $ac_word... " >&6; }
13817 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
13818 $as_echo_n "(cached) " >&6
13820 case $GTK_UPDATE_ICON_CACHE in
13822 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
13825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13826 for as_dir in $PATH
13829 test -z "$as_dir" && as_dir=.
13830 for ac_exec_ext in '' $ac_executable_extensions; do
13831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13832 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
13833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13843 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
13844 if test -n "$GTK_UPDATE_ICON_CACHE"; then
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
13846 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13849 $as_echo "no" >&6; }
13855 GLABELS_BRANCH=glabels-3.0
13858 LIBGLABELS_BRANCH=libglabels-3.0
13861 LIBGLBARCODE_BRANCH=libglbarcode-3.0
13868 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
13875 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
13878 GLIB_REQUIRED=2.28.2
13880 LIBXML_REQUIRED=2.7.8
13881 LIBRSVG_REQUIRED=2.32.0
13882 CAIRO_REQUIRED=1.10.0
13883 PANGO_REQUIRED=1.28.1
13885 LIBEBOOK_REQUIRED=2.30.3
13886 LIBBARCODE_REQUIRED=0.98
13887 LIBQRENCODE_REQUIRED=3.1.0
13888 LIBIEC16022_REQUIRED=0.2.4
13889 LIBZINT_REQUIRED=2.4.0
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
13907 $as_echo_n "checking for GLABELS... " >&6; }
13909 if test -n "$GLABELS_CFLAGS"; then
13910 pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
13911 elif test -n "$PKG_CONFIG"; then
13912 if test -n "$PKG_CONFIG" && \
13913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13914 glib-2.0 >= \$GLIB_REQUIRED \\
13915 gtk+-3.0 >= \$GTK_REQUIRED \\
13916 libxml-2.0 >= \$LIBXML_REQUIRED \\
13917 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13919 ($PKG_CONFIG --exists --print-errors "\
13920 glib-2.0 >= $GLIB_REQUIRED \
13921 gtk+-3.0 >= $GTK_REQUIRED \
13922 libxml-2.0 >= $LIBXML_REQUIRED \
13923 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13927 test $ac_status = 0; }; then
13928 pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
13929 glib-2.0 >= $GLIB_REQUIRED \
13930 gtk+-3.0 >= $GTK_REQUIRED \
13931 libxml-2.0 >= $LIBXML_REQUIRED \
13932 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13934 test "x$?" != "x0" && pkg_failed=yes
13941 if test -n "$GLABELS_LIBS"; then
13942 pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
13943 elif test -n "$PKG_CONFIG"; then
13944 if test -n "$PKG_CONFIG" && \
13945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13946 glib-2.0 >= \$GLIB_REQUIRED \\
13947 gtk+-3.0 >= \$GTK_REQUIRED \\
13948 libxml-2.0 >= \$LIBXML_REQUIRED \\
13949 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13951 ($PKG_CONFIG --exists --print-errors "\
13952 glib-2.0 >= $GLIB_REQUIRED \
13953 gtk+-3.0 >= $GTK_REQUIRED \
13954 libxml-2.0 >= $LIBXML_REQUIRED \
13955 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13959 test $ac_status = 0; }; then
13960 pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
13961 glib-2.0 >= $GLIB_REQUIRED \
13962 gtk+-3.0 >= $GTK_REQUIRED \
13963 libxml-2.0 >= $LIBXML_REQUIRED \
13964 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13966 test "x$?" != "x0" && pkg_failed=yes
13976 if test $pkg_failed = yes; then
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13978 $as_echo "no" >&6; }
13980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13981 _pkg_short_errors_supported=yes
13983 _pkg_short_errors_supported=no
13985 if test $_pkg_short_errors_supported = yes; then
13986 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
13987 glib-2.0 >= $GLIB_REQUIRED \
13988 gtk+-3.0 >= $GTK_REQUIRED \
13989 libxml-2.0 >= $LIBXML_REQUIRED \
13990 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13993 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
13994 glib-2.0 >= $GLIB_REQUIRED \
13995 gtk+-3.0 >= $GTK_REQUIRED \
13996 libxml-2.0 >= $LIBXML_REQUIRED \
13997 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14000 # Put the nasty error message in config.log where it belongs
14001 echo "$GLABELS_PKG_ERRORS" >&5
14003 as_fn_error $? "Package requirements (\
14004 glib-2.0 >= $GLIB_REQUIRED \
14005 gtk+-3.0 >= $GTK_REQUIRED \
14006 libxml-2.0 >= $LIBXML_REQUIRED \
14007 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14010 $GLABELS_PKG_ERRORS
14012 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14013 installed software in a non-standard prefix.
14015 Alternatively, you may set the environment variables GLABELS_CFLAGS
14016 and GLABELS_LIBS to avoid the need to call pkg-config.
14017 See the pkg-config man page for more details." "$LINENO" 5
14018 elif test $pkg_failed = untried; then
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14020 $as_echo "no" >&6; }
14021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14023 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14024 is in your PATH or set the PKG_CONFIG environment variable to the full
14025 path to pkg-config.
14027 Alternatively, you may set the environment variables GLABELS_CFLAGS
14028 and GLABELS_LIBS to avoid the need to call pkg-config.
14029 See the pkg-config man page for more details.
14031 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14032 See \`config.log' for more details" "$LINENO" 5; }
14034 GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14035 GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14037 $as_echo "yes" >&6; }
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
14048 $as_echo_n "checking for LIBGLABELS... " >&6; }
14050 if test -n "$LIBGLABELS_CFLAGS"; then
14051 pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14052 elif test -n "$PKG_CONFIG"; then
14053 if test -n "$PKG_CONFIG" && \
14054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14055 glib-2.0 >= \$GLIB_REQUIRED \\
14056 gobject-2.0 >= \$GLIB_REQUIRED \\
14057 libxml-2.0 >= \$LIBXML_REQUIRED \\
14059 ($PKG_CONFIG --exists --print-errors "\
14060 glib-2.0 >= $GLIB_REQUIRED \
14061 gobject-2.0 >= $GLIB_REQUIRED \
14062 libxml-2.0 >= $LIBXML_REQUIRED \
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }; then
14067 pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14068 glib-2.0 >= $GLIB_REQUIRED \
14069 gobject-2.0 >= $GLIB_REQUIRED \
14070 libxml-2.0 >= $LIBXML_REQUIRED \
14072 test "x$?" != "x0" && pkg_failed=yes
14079 if test -n "$LIBGLABELS_LIBS"; then
14080 pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14081 elif test -n "$PKG_CONFIG"; then
14082 if test -n "$PKG_CONFIG" && \
14083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14084 glib-2.0 >= \$GLIB_REQUIRED \\
14085 gobject-2.0 >= \$GLIB_REQUIRED \\
14086 libxml-2.0 >= \$LIBXML_REQUIRED \\
14088 ($PKG_CONFIG --exists --print-errors "\
14089 glib-2.0 >= $GLIB_REQUIRED \
14090 gobject-2.0 >= $GLIB_REQUIRED \
14091 libxml-2.0 >= $LIBXML_REQUIRED \
14094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14095 test $ac_status = 0; }; then
14096 pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14097 glib-2.0 >= $GLIB_REQUIRED \
14098 gobject-2.0 >= $GLIB_REQUIRED \
14099 libxml-2.0 >= $LIBXML_REQUIRED \
14101 test "x$?" != "x0" && pkg_failed=yes
14111 if test $pkg_failed = yes; then
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14113 $as_echo "no" >&6; }
14115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14116 _pkg_short_errors_supported=yes
14118 _pkg_short_errors_supported=no
14120 if test $_pkg_short_errors_supported = yes; then
14121 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14122 glib-2.0 >= $GLIB_REQUIRED \
14123 gobject-2.0 >= $GLIB_REQUIRED \
14124 libxml-2.0 >= $LIBXML_REQUIRED \
14127 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14128 glib-2.0 >= $GLIB_REQUIRED \
14129 gobject-2.0 >= $GLIB_REQUIRED \
14130 libxml-2.0 >= $LIBXML_REQUIRED \
14133 # Put the nasty error message in config.log where it belongs
14134 echo "$LIBGLABELS_PKG_ERRORS" >&5
14136 as_fn_error $? "Package requirements (\
14137 glib-2.0 >= $GLIB_REQUIRED \
14138 gobject-2.0 >= $GLIB_REQUIRED \
14139 libxml-2.0 >= $LIBXML_REQUIRED \
14142 $LIBGLABELS_PKG_ERRORS
14144 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14145 installed software in a non-standard prefix.
14147 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14148 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14149 See the pkg-config man page for more details." "$LINENO" 5
14150 elif test $pkg_failed = untried; then
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14152 $as_echo "no" >&6; }
14153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14155 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14156 is in your PATH or set the PKG_CONFIG environment variable to the full
14157 path to pkg-config.
14159 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14160 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14161 See the pkg-config man page for more details.
14163 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14164 See \`config.log' for more details" "$LINENO" 5; }
14166 LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14167 LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14169 $as_echo "yes" >&6; }
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
14180 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
14182 if test -n "$LIBGLBARCODE_CFLAGS"; then
14183 pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
14184 elif test -n "$PKG_CONFIG"; then
14185 if test -n "$PKG_CONFIG" && \
14186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14187 glib-2.0 >= \$GLIB_REQUIRED \\
14188 cairo >= \$CAIRO_REQUIRED \\
14189 pango >= \$PANGO_REQUIRED \\
14190 pangocairo >= \$PANGO_REQUIRED \\
14192 ($PKG_CONFIG --exists --print-errors "\
14193 glib-2.0 >= $GLIB_REQUIRED \
14194 cairo >= $CAIRO_REQUIRED \
14195 pango >= $PANGO_REQUIRED \
14196 pangocairo >= $PANGO_REQUIRED \
14199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14200 test $ac_status = 0; }; then
14201 pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
14202 glib-2.0 >= $GLIB_REQUIRED \
14203 cairo >= $CAIRO_REQUIRED \
14204 pango >= $PANGO_REQUIRED \
14205 pangocairo >= $PANGO_REQUIRED \
14207 test "x$?" != "x0" && pkg_failed=yes
14214 if test -n "$LIBGLBARCODE_LIBS"; then
14215 pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
14216 elif test -n "$PKG_CONFIG"; then
14217 if test -n "$PKG_CONFIG" && \
14218 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14219 glib-2.0 >= \$GLIB_REQUIRED \\
14220 cairo >= \$CAIRO_REQUIRED \\
14221 pango >= \$PANGO_REQUIRED \\
14222 pangocairo >= \$PANGO_REQUIRED \\
14224 ($PKG_CONFIG --exists --print-errors "\
14225 glib-2.0 >= $GLIB_REQUIRED \
14226 cairo >= $CAIRO_REQUIRED \
14227 pango >= $PANGO_REQUIRED \
14228 pangocairo >= $PANGO_REQUIRED \
14231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14232 test $ac_status = 0; }; then
14233 pkg_cv_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
14234 glib-2.0 >= $GLIB_REQUIRED \
14235 cairo >= $CAIRO_REQUIRED \
14236 pango >= $PANGO_REQUIRED \
14237 pangocairo >= $PANGO_REQUIRED \
14239 test "x$?" != "x0" && pkg_failed=yes
14249 if test $pkg_failed = yes; then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 $as_echo "no" >&6; }
14253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14254 _pkg_short_errors_supported=yes
14256 _pkg_short_errors_supported=no
14258 if test $_pkg_short_errors_supported = yes; then
14259 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14260 glib-2.0 >= $GLIB_REQUIRED \
14261 cairo >= $CAIRO_REQUIRED \
14262 pango >= $PANGO_REQUIRED \
14263 pangocairo >= $PANGO_REQUIRED \
14266 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14267 glib-2.0 >= $GLIB_REQUIRED \
14268 cairo >= $CAIRO_REQUIRED \
14269 pango >= $PANGO_REQUIRED \
14270 pangocairo >= $PANGO_REQUIRED \
14273 # Put the nasty error message in config.log where it belongs
14274 echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14276 as_fn_error $? "Package requirements (\
14277 glib-2.0 >= $GLIB_REQUIRED \
14278 cairo >= $CAIRO_REQUIRED \
14279 pango >= $PANGO_REQUIRED \
14280 pangocairo >= $PANGO_REQUIRED \
14283 $LIBGLBARCODE_PKG_ERRORS
14285 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14286 installed software in a non-standard prefix.
14288 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14289 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14290 See the pkg-config man page for more details." "$LINENO" 5
14291 elif test $pkg_failed = untried; then
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14293 $as_echo "no" >&6; }
14294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14296 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14297 is in your PATH or set the PKG_CONFIG environment variable to the full
14298 path to pkg-config.
14300 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14301 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14302 See the pkg-config man page for more details.
14304 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14305 See \`config.log' for more details" "$LINENO" 5; }
14307 LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14308 LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14310 $as_echo "yes" >&6; }
14319 # Check whether --with-libebook was given.
14320 if test "${with_libebook+set}" = set; then :
14321 withval=$with_libebook;
14325 if test "x$with_libebook" != xno; then
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14329 $as_echo_n "checking for LIBEBOOK... " >&6; }
14331 if test -n "$LIBEBOOK_CFLAGS"; then
14332 pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14333 elif test -n "$PKG_CONFIG"; then
14334 if test -n "$PKG_CONFIG" && \
14335 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14336 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14339 test $ac_status = 0; }; then
14340 pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14341 test "x$?" != "x0" && pkg_failed=yes
14348 if test -n "$LIBEBOOK_LIBS"; then
14349 pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14350 elif test -n "$PKG_CONFIG"; then
14351 if test -n "$PKG_CONFIG" && \
14352 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14353 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14356 test $ac_status = 0; }; then
14357 pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14358 test "x$?" != "x0" && pkg_failed=yes
14368 if test $pkg_failed = yes; then
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14370 $as_echo "no" >&6; }
14372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14373 _pkg_short_errors_supported=yes
14375 _pkg_short_errors_supported=no
14377 if test $_pkg_short_errors_supported = yes; then
14378 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14380 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14382 # Put the nasty error message in config.log where it belongs
14383 echo "$LIBEBOOK_PKG_ERRORS" >&5
14386 elif test $pkg_failed = untried; then
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14388 $as_echo "no" >&6; }
14391 LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14392 LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14394 $as_echo "yes" >&6; }
14399 if test "x$have_libebook" = "xyes"; then
14401 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14409 # Check whether --with-libbarcode was given.
14410 if test "${with_libbarcode+set}" = set; then :
14411 withval=$with_libbarcode;
14415 if test "x$with_libbarcode" != xno; then
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14417 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14418 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14419 $as_echo_n "(cached) " >&6
14421 ac_check_lib_save_LIBS=$LIBS
14422 LIBS="-lbarcode $LIBS"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14426 /* Override any GCC internal prototype to avoid an error.
14427 Use char because int might match the return type of a GCC
14428 builtin and then its argument prototype would still apply. */
14432 char Barcode_Create ();
14436 return Barcode_Create ();
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 ac_cv_lib_barcode_Barcode_Create=yes
14444 ac_cv_lib_barcode_Barcode_Create=no
14446 rm -f core conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14448 LIBS=$ac_check_lib_save_LIBS
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14451 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14452 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14453 have_libbarcode=yes
14460 if test "x$have_libbarcode" = "xyes"; then
14462 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14464 LIBBARCODE_CFLAGS=""
14465 LIBBARCODE_LIBS="-lbarcode"
14469 help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14473 # Check whether --with-libzint was given.
14474 if test "${with_libzint+set}" = set; then :
14475 withval=$with_libzint;
14479 if test "x$with_libzint" != xno; then
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14481 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14482 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14483 $as_echo_n "(cached) " >&6
14485 ac_check_lib_save_LIBS=$LIBS
14486 LIBS="-lzint $LIBS"
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14490 /* Override any GCC internal prototype to avoid an error.
14491 Use char because int might match the return type of a GCC
14492 builtin and then its argument prototype would still apply. */
14496 char ZBarcode_Render ();
14500 return ZBarcode_Render ();
14505 if ac_fn_c_try_link "$LINENO"; then :
14506 ac_cv_lib_zint_ZBarcode_Render=yes
14508 ac_cv_lib_zint_ZBarcode_Render=no
14510 rm -f core conftest.err conftest.$ac_objext \
14511 conftest$ac_exeext conftest.$ac_ext
14512 LIBS=$ac_check_lib_save_LIBS
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14515 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14516 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
14524 if test "x$have_libzint" = "xyes"; then
14526 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
14529 LIBZINT_LIBS="-lzint"
14533 help_libzint="(See http://www.zint.org.uk)"
14538 # Check whether --with-libqrencode was given.
14539 if test "${with_libqrencode+set}" = set; then :
14540 withval=$with_libqrencode;
14543 have_libqrencode=no
14544 if test "x$with_libqrencode" != xno; then
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
14548 $as_echo_n "checking for LIBQRENCODE... " >&6; }
14550 if test -n "$LIBQRENCODE_CFLAGS"; then
14551 pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
14552 elif test -n "$PKG_CONFIG"; then
14553 if test -n "$PKG_CONFIG" && \
14554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14555 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14558 test $ac_status = 0; }; then
14559 pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14560 test "x$?" != "x0" && pkg_failed=yes
14567 if test -n "$LIBQRENCODE_LIBS"; then
14568 pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
14569 elif test -n "$PKG_CONFIG"; then
14570 if test -n "$PKG_CONFIG" && \
14571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14572 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14575 test $ac_status = 0; }; then
14576 pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14577 test "x$?" != "x0" && pkg_failed=yes
14587 if test $pkg_failed = yes; then
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14589 $as_echo "no" >&6; }
14591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14592 _pkg_short_errors_supported=yes
14594 _pkg_short_errors_supported=no
14596 if test $_pkg_short_errors_supported = yes; then
14597 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14599 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14601 # Put the nasty error message in config.log where it belongs
14602 echo "$LIBQRENCODE_PKG_ERRORS" >&5
14604 have_libqrencode=no
14605 elif test $pkg_failed = untried; then
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14607 $as_echo "no" >&6; }
14608 have_libqrencode=no
14610 LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
14611 LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14613 $as_echo "yes" >&6; }
14614 have_libqrencode=yes
14618 if test "x$have_libqrencode" = "xyes"; then
14620 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
14625 help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
14630 # Check whether --with-libiec16022 was given.
14631 if test "${with_libiec16022+set}" = set; then :
14632 withval=$with_libiec16022;
14635 have_libiec16022=no
14636 if test "x$with_libiec16022" != xno; then
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
14640 $as_echo_n "checking for LIBIEC16022... " >&6; }
14642 if test -n "$LIBIEC16022_CFLAGS"; then
14643 pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
14644 elif test -n "$PKG_CONFIG"; then
14645 if test -n "$PKG_CONFIG" && \
14646 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14647 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14650 test $ac_status = 0; }; then
14651 pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14652 test "x$?" != "x0" && pkg_failed=yes
14659 if test -n "$LIBIEC16022_LIBS"; then
14660 pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
14661 elif test -n "$PKG_CONFIG"; then
14662 if test -n "$PKG_CONFIG" && \
14663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14664 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14667 test $ac_status = 0; }; then
14668 pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14669 test "x$?" != "x0" && pkg_failed=yes
14679 if test $pkg_failed = yes; then
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14681 $as_echo "no" >&6; }
14683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14684 _pkg_short_errors_supported=yes
14686 _pkg_short_errors_supported=no
14688 if test $_pkg_short_errors_supported = yes; then
14689 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14691 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14693 # Put the nasty error message in config.log where it belongs
14694 echo "$LIBIEC16022_PKG_ERRORS" >&5
14696 have_libiec16022=no
14697 elif test $pkg_failed = untried; then
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14699 $as_echo "no" >&6; }
14700 have_libiec16022=no
14702 LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
14703 LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14705 $as_echo "yes" >&6; }
14706 have_libiec16022=yes
14710 if test "x$have_libiec16022" = "xyes"; then
14712 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
14717 help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
14721 # Check whether --enable-deprecations was given.
14722 if test "${enable_deprecations+set}" = set; then :
14723 enableval=$enable_deprecations;
14725 enable_deprecations=no
14729 if test "x$enable_deprecations" = "xyes"; then
14730 DISABLE_DEPRECATED_CFLAGS="\
14731 -DG_DISABLE_DEPRECATED \
14732 -DGDK_DISABLE_DEPRECATED \
14733 -DGTK_DISABLE_DEPRECATED \
14734 -DGDK_PIXBUF_DISABLE_DEPRECATED \
14740 GETTEXT_PACKAGE=${GLABELS_BRANCH}
14743 cat >>confdefs.h <<_ACEOF
14744 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14749 for ac_header in locale.h
14751 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14752 if test "x$ac_cv_header_locale_h" = xyes; then :
14753 cat >>confdefs.h <<_ACEOF
14754 #define HAVE_LOCALE_H 1
14761 if test $ac_cv_header_locale_h = yes; then
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14763 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14764 if ${am_cv_val_LC_MESSAGES+:} false; then :
14765 $as_echo_n "(cached) " >&6
14767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14769 #include <locale.h>
14778 if ac_fn_c_try_link "$LINENO"; then :
14779 am_cv_val_LC_MESSAGES=yes
14781 am_cv_val_LC_MESSAGES=no
14783 rm -f core conftest.err conftest.$ac_objext \
14784 conftest$ac_exeext conftest.$ac_ext
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14787 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14788 if test $am_cv_val_LC_MESSAGES = yes; then
14790 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14797 gt_cv_have_gettext=no
14803 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14804 if test "x$ac_cv_header_libintl_h" = xyes; then :
14805 gt_cv_func_dgettext_libintl="no"
14806 libintl_extra_libs=""
14809 # First check in libc
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14812 $as_echo_n "checking for ngettext in libc... " >&6; }
14813 if ${gt_cv_func_ngettext_libc+:} false; then :
14814 $as_echo_n "(cached) " >&6
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h. */
14819 #include <libintl.h>
14824 return !ngettext ("","", 1)
14829 if ac_fn_c_try_link "$LINENO"; then :
14830 gt_cv_func_ngettext_libc=yes
14832 gt_cv_func_ngettext_libc=no
14834 rm -f core conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext conftest.$ac_ext
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14839 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
14841 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14843 $as_echo_n "checking for dgettext in libc... " >&6; }
14844 if ${gt_cv_func_dgettext_libc+:} false; then :
14845 $as_echo_n "(cached) " >&6
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14850 #include <libintl.h>
14855 return !dgettext ("","")
14860 if ac_fn_c_try_link "$LINENO"; then :
14861 gt_cv_func_dgettext_libc=yes
14863 gt_cv_func_dgettext_libc=no
14865 rm -f core conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14870 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
14873 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14874 for ac_func in bind_textdomain_codeset
14876 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14877 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14878 cat >>confdefs.h <<_ACEOF
14879 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
14888 # If we don't have everything we want, check in libintl
14890 if test "$gt_cv_func_dgettext_libc" != "yes" \
14891 || test "$gt_cv_func_ngettext_libc" != "yes" \
14892 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14895 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14896 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14897 $as_echo_n "(cached) " >&6
14899 ac_check_lib_save_LIBS=$LIBS
14900 LIBS="-lintl $LIBS"
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h. */
14904 /* Override any GCC internal prototype to avoid an error.
14905 Use char because int might match the return type of a GCC
14906 builtin and then its argument prototype would still apply. */
14910 char bindtextdomain ();
14914 return bindtextdomain ();
14919 if ac_fn_c_try_link "$LINENO"; then :
14920 ac_cv_lib_intl_bindtextdomain=yes
14922 ac_cv_lib_intl_bindtextdomain=no
14924 rm -f core conftest.err conftest.$ac_objext \
14925 conftest$ac_exeext conftest.$ac_ext
14926 LIBS=$ac_check_lib_save_LIBS
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14929 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14930 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14932 $as_echo_n "checking for ngettext in -lintl... " >&6; }
14933 if ${ac_cv_lib_intl_ngettext+:} false; then :
14934 $as_echo_n "(cached) " >&6
14936 ac_check_lib_save_LIBS=$LIBS
14937 LIBS="-lintl $LIBS"
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14951 return ngettext ();
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_lib_intl_ngettext=yes
14959 ac_cv_lib_intl_ngettext=no
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14963 LIBS=$ac_check_lib_save_LIBS
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14966 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14967 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14969 $as_echo_n "checking for dgettext in -lintl... " >&6; }
14970 if ${ac_cv_lib_intl_dgettext+:} false; then :
14971 $as_echo_n "(cached) " >&6
14973 ac_check_lib_save_LIBS=$LIBS
14974 LIBS="-lintl $LIBS"
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14978 /* Override any GCC internal prototype to avoid an error.
14979 Use char because int might match the return type of a GCC
14980 builtin and then its argument prototype would still apply. */
14988 return dgettext ();
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 ac_cv_lib_intl_dgettext=yes
14996 ac_cv_lib_intl_dgettext=no
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15000 LIBS=$ac_check_lib_save_LIBS
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15003 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15004 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15005 gt_cv_func_dgettext_libintl=yes
15013 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15015 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15019 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15020 if ${ac_cv_lib_intl_ngettext+:} false; then :
15021 $as_echo_n "(cached) " >&6
15023 ac_check_lib_save_LIBS=$LIBS
15024 LIBS="-lintl -liconv $LIBS"
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15028 /* Override any GCC internal prototype to avoid an error.
15029 Use char because int might match the return type of a GCC
15030 builtin and then its argument prototype would still apply. */
15038 return ngettext ();
15043 if ac_fn_c_try_link "$LINENO"; then :
15044 ac_cv_lib_intl_ngettext=yes
15046 ac_cv_lib_intl_ngettext=no
15048 rm -f core conftest.err conftest.$ac_objext \
15049 conftest$ac_exeext conftest.$ac_ext
15050 LIBS=$ac_check_lib_save_LIBS
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15053 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15054 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15056 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15057 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15058 $as_echo_n "(cached) " >&6
15060 ac_check_lib_save_LIBS=$LIBS
15061 LIBS="-lintl -liconv $LIBS"
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15065 /* Override any GCC internal prototype to avoid an error.
15066 Use char because int might match the return type of a GCC
15067 builtin and then its argument prototype would still apply. */
15075 return dcgettext ();
15080 if ac_fn_c_try_link "$LINENO"; then :
15081 ac_cv_lib_intl_dcgettext=yes
15083 ac_cv_lib_intl_dcgettext=no
15085 rm -f core conftest.err conftest.$ac_objext \
15086 conftest$ac_exeext conftest.$ac_ext
15087 LIBS=$ac_check_lib_save_LIBS
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15090 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15091 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15092 gt_cv_func_dgettext_libintl=yes
15093 libintl_extra_libs=-liconv
15105 # If we found libintl, then check in it for bind_textdomain_codeset();
15106 # we'll prefer libc if neither have bind_textdomain_codeset(),
15107 # and both have dgettext and ngettext
15109 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15110 glib_save_LIBS="$LIBS"
15111 LIBS="$LIBS -lintl $libintl_extra_libs"
15112 unset ac_cv_func_bind_textdomain_codeset
15113 for ac_func in bind_textdomain_codeset
15115 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15116 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15117 cat >>confdefs.h <<_ACEOF
15118 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15124 LIBS="$glib_save_LIBS"
15126 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15127 gt_cv_func_dgettext_libc=no
15129 if test "$gt_cv_func_dgettext_libc" = "yes" \
15130 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15131 gt_cv_func_dgettext_libintl=no
15137 if test "$gt_cv_func_dgettext_libc" = "yes" \
15138 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15139 gt_cv_have_gettext=yes
15142 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15143 INTLLIBS="-lintl $libintl_extra_libs"
15146 if test "$gt_cv_have_gettext" = "yes"; then
15148 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15150 # Extract the first word of "msgfmt", so it can be a program name with args.
15151 set dummy msgfmt; ac_word=$2
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15153 $as_echo_n "checking for $ac_word... " >&6; }
15154 if ${ac_cv_path_MSGFMT+:} false; then :
15155 $as_echo_n "(cached) " >&6
15159 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15162 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15163 for ac_dir in $PATH; do
15164 test -z "$ac_dir" && ac_dir=.
15165 if test -f $ac_dir/$ac_word; then
15166 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15167 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15173 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15177 MSGFMT="$ac_cv_path_MSGFMT"
15178 if test "$MSGFMT" != "no"; then
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15180 $as_echo "$MSGFMT" >&6; }
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15183 $as_echo "no" >&6; }
15185 if test "$MSGFMT" != "no"; then
15186 glib_save_LIBS="$LIBS"
15187 LIBS="$LIBS $INTLLIBS"
15188 for ac_func in dcgettext
15190 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15191 if test "x$ac_cv_func_dcgettext" = xyes; then :
15192 cat >>confdefs.h <<_ACEOF
15193 #define HAVE_DCGETTEXT 1
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15201 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15202 cat >conftest.foo <<_ACEOF
15206 "Content-Type: text/plain; charset=UTF-8\n"
15207 "Project-Id-Version: test 1.0\n"
15208 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15209 "Last-Translator: test <foo@bar.xx>\n"
15210 "Language-Team: C <LL@li.org>\n"
15211 "MIME-Version: 1.0\n"
15212 "Content-Transfer-Encoding: 8bit\n"
15215 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15216 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15219 test $ac_status = 0; }; then
15220 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15221 $as_echo "yes" >&6; }
15222 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15223 $as_echo "no" >&6; }
15224 echo "$as_me: failed input was:" >&5
15225 sed 's/^/| /' conftest.foo >&5
15228 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15229 set dummy gmsgfmt; ac_word=$2
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15231 $as_echo_n "checking for $ac_word... " >&6; }
15232 if ${ac_cv_path_GMSGFMT+:} false; then :
15233 $as_echo_n "(cached) " >&6
15237 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15241 for as_dir in $PATH
15244 test -z "$as_dir" && as_dir=.
15245 for ac_exec_ext in '' $ac_executable_extensions; do
15246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15247 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15255 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15259 GMSGFMT=$ac_cv_path_GMSGFMT
15260 if test -n "$GMSGFMT"; then
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15262 $as_echo "$GMSGFMT" >&6; }
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15265 $as_echo "no" >&6; }
15269 # Extract the first word of "xgettext", so it can be a program name with args.
15270 set dummy xgettext; ac_word=$2
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15272 $as_echo_n "checking for $ac_word... " >&6; }
15273 if ${ac_cv_path_XGETTEXT+:} false; then :
15274 $as_echo_n "(cached) " >&6
15276 case "$XGETTEXT" in
15278 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15281 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15282 for ac_dir in $PATH; do
15283 test -z "$ac_dir" && ac_dir=.
15284 if test -f $ac_dir/$ac_word; then
15285 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15286 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15292 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15296 XGETTEXT="$ac_cv_path_XGETTEXT"
15297 if test "$XGETTEXT" != ":"; then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15299 $as_echo "$XGETTEXT" >&6; }
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15302 $as_echo "no" >&6; }
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15311 extern int _nl_msg_cat_cntr;
15312 return _nl_msg_cat_cntr
15317 if ac_fn_c_try_link "$LINENO"; then :
15323 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15324 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15343 rm -f core conftest.err conftest.$ac_objext \
15344 conftest$ac_exeext conftest.$ac_ext
15345 LIBS="$glib_save_LIBS"
15348 gt_cv_have_gettext=no
15356 if test "$gt_cv_have_gettext" = "yes" ; then
15358 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15362 if test "$XGETTEXT" != ":"; then
15363 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15367 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15372 # We need to process the po/ directory.
15375 ac_config_commands="$ac_config_commands default-1"
15378 for lang in $ALL_LINGUAS; do
15379 GMOFILES="$GMOFILES $lang.gmo"
15380 POFILES="$POFILES $lang.po"
15395 if test "$gt_cv_have_gettext" = "yes"; then
15396 if test "x$ALL_LINGUAS" = "x"; then
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15400 $as_echo_n "checking for catalogs to be installed... " >&6; }
15402 for presentlang in $ALL_LINGUAS; do
15404 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15405 desiredlanguages="$LINGUAS"
15407 desiredlanguages="$ALL_LINGUAS"
15409 for desiredlang in $desiredlanguages; do
15410 # Use the presentlang catalog if desiredlang is
15411 # a. equal to presentlang, or
15412 # b. a variant of presentlang (because in this case,
15413 # presentlang can be used as a fallback for messages
15414 # which are not translated in the desiredlang catalog).
15415 case "$desiredlang" in
15416 "$presentlang"*) useit=yes;;
15419 if test $useit = yes; then
15420 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15423 LINGUAS=$NEW_LINGUAS
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15425 $as_echo "$LINGUAS" >&6; }
15428 if test -n "$LINGUAS"; then
15429 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15434 if test -n "$ac_aux_dir"; then
15435 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15437 if test -z "$MKINSTALLDIRS"; then
15438 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15442 test -d po || mkdir po
15443 if test "x$srcdir" != "x."; then
15444 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15445 posrcprefix="$srcdir/"
15447 posrcprefix="../$srcdir/"
15453 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15454 < $srcdir/po/POTFILES.in > po/POTFILES
15458 ac_config_files="$ac_config_files Makefile libglabels/Makefile libglabels/${LIBGLABELS_BRANCH}.pc libglbarcode/Makefile libglbarcode/${LIBGLBARCODE_BRANCH}.pc src/Makefile src/cursors/Makefile src/pixmaps/Makefile data/Makefile data/desktop/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/man/Makefile data/mime/Makefile data/pixmaps/Makefile data/schemas/Makefile data/schemas/org.gnome.glabels-3.gschema.xml.in data/ui/Makefile templates/Makefile po/Makefile.in help/Makefile docs/Makefile docs/libglabels/Makefile docs/libglbarcode/Makefile glabels.spec"
15460 cat >confcache <<\_ACEOF
15461 # This file is a shell script that caches the results of configure
15462 # tests run on this system so they can be shared between configure
15463 # scripts and configure runs, see configure's option --config-cache.
15464 # It is not useful on other systems. If it contains results you don't
15465 # want to keep, you may remove or edit it.
15467 # config.status only pays attention to the cache file if you give it
15468 # the --recheck option to rerun configure.
15470 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15471 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15472 # following values.
15476 # The following way of writing the cache mishandles newlines in values,
15477 # but we know of no workaround that is simple, portable, and efficient.
15478 # So, we kill variables containing newlines.
15479 # Ultrix sh set writes to stderr and can't be redirected directly,
15480 # and sets the high bit in the cache file unless we assign to the vars.
15482 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15483 eval ac_val=\$$ac_var
15487 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15488 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15491 _ | IFS | as_nl) ;; #(
15492 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15493 *) { eval $ac_var=; unset $ac_var;} ;;
15499 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15500 *${as_nl}ac_space=\ *)
15501 # `set' does not quote correctly, so add quotes: double-quote
15502 # substitution turns \\\\ into \\, and sed turns \\ into \.
15505 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15508 # `set' quotes correctly as required by POSIX, so do not add quotes.
15509 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15518 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15520 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15522 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15523 if test -w "$cache_file"; then
15524 if test "x$cache_file" != "x/dev/null"; then
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15526 $as_echo "$as_me: updating cache $cache_file" >&6;}
15527 if test ! -f "$cache_file" || test -h "$cache_file"; then
15528 cat confcache >"$cache_file"
15530 case $cache_file in #(
15532 mv -f confcache "$cache_file"$$ &&
15533 mv -f "$cache_file"$$ "$cache_file" ;; #(
15535 mv -f confcache "$cache_file" ;;
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15541 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15546 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15547 # Let make expand exec_prefix.
15548 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15550 DEFS=-DHAVE_CONFIG_H
15555 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15556 # 1. Remove the extension, and $U if already installed.
15557 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15558 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15559 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15560 # will be set to the directory where LIBOBJS objects are built.
15561 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15562 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15564 LIBOBJS=$ac_libobjs
15566 LTLIBOBJS=$ac_ltlibobjs
15569 if test -n "$EXEEXT"; then
15571 am__EXEEXT_FALSE='#'
15573 am__EXEEXT_TRUE='#'
15577 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15578 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15581 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15582 as_fn_error $? "conditional \"AMDEP\" was never defined.
15583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15585 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15586 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15590 ac_config_commands="$ac_config_commands po/stamp-it"
15593 if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
15594 as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
15595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15597 if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
15598 as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15601 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15602 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15605 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15606 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15609 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15610 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15613 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15614 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15617 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15618 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15621 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15622 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15626 : "${CONFIG_STATUS=./config.status}"
15628 ac_clean_files_save=$ac_clean_files
15629 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15631 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15633 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15635 # Generated by $as_me.
15636 # Run this file to recreate the current configuration.
15637 # Compiler output produced by configure, useful for debugging
15638 # configure, is in config.log if it exists.
15641 ac_cs_recheck=false
15644 SHELL=\${CONFIG_SHELL-$SHELL}
15647 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15648 ## -------------------- ##
15649 ## M4sh Initialization. ##
15650 ## -------------------- ##
15652 # Be more Bourne compatible
15653 DUALCASE=1; export DUALCASE # for MKS sh
15654 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15657 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15658 # is contrary to our usage. Disable this feature.
15659 alias -g '${1+"$@"}'='"$@"'
15660 setopt NO_GLOB_SUBST
15662 case `(set -o) 2>/dev/null` in #(
15674 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15675 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15676 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15677 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15678 # Prefer a ksh shell builtin over an external printf program on Solaris,
15679 # but without wasting forks for bash or zsh.
15680 if test -z "$BASH_VERSION$ZSH_VERSION" \
15681 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15682 as_echo='print -r --'
15683 as_echo_n='print -rn --'
15684 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15685 as_echo='printf %s\n'
15686 as_echo_n='printf %s'
15688 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15689 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15690 as_echo_n='/usr/ucb/echo -n'
15692 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15693 as_echo_n_body='eval
15697 expr "X$arg" : "X\\(.*\\)$as_nl";
15698 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15700 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15702 export as_echo_n_body
15703 as_echo_n='sh -c $as_echo_n_body as_echo'
15705 export as_echo_body
15706 as_echo='sh -c $as_echo_body as_echo'
15709 # The user is always right.
15710 if test "${PATH_SEPARATOR+set}" != set; then
15712 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15713 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15720 # We need space, tab and new line, in precisely that order. Quoting is
15721 # there to prevent editors from complaining about space-tab.
15722 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15723 # splitting by setting IFS to empty value.)
15726 # Find who we are. Look in the path if we contain no directory separator.
15729 *[\\/]* ) as_myself=$0 ;;
15730 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15731 for as_dir in $PATH
15734 test -z "$as_dir" && as_dir=.
15735 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15741 # We did not find ourselves, most probably we were run as `sh COMMAND'
15742 # in which case we are not to be found in the path.
15743 if test "x$as_myself" = x; then
15746 if test ! -f "$as_myself"; then
15747 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15751 # Unset variables that we do not need and which cause bugs (e.g. in
15752 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15753 # suppresses any "Segmentation fault" message there. '((' could
15754 # trigger a bug in pdksh 5.2.14.
15755 for as_var in BASH_ENV ENV MAIL MAILPATH
15756 do eval test x\${$as_var+set} = xset \
15757 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15770 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15773 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15774 # ----------------------------------------
15775 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15776 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15777 # script with STATUS, using 1 if that was 0.
15780 as_status=$1; test $as_status -eq 0 && as_status=1
15782 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15783 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15785 $as_echo "$as_me: error: $2" >&2
15786 as_fn_exit $as_status
15790 # as_fn_set_status STATUS
15791 # -----------------------
15792 # Set $? to STATUS, without forking.
15793 as_fn_set_status ()
15796 } # as_fn_set_status
15798 # as_fn_exit STATUS
15799 # -----------------
15800 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15804 as_fn_set_status $1
15810 # Portably unset VAR.
15813 { eval $1=; unset $1;}
15815 as_unset=as_fn_unset
15816 # as_fn_append VAR VALUE
15817 # ----------------------
15818 # Append the text in VALUE to the end of the definition contained in VAR. Take
15819 # advantage of any shell optimizations that allow amortized linear growth over
15820 # repeated appends, instead of the typical quadratic growth present in naive
15822 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15823 eval 'as_fn_append ()
15834 # as_fn_arith ARG...
15835 # ------------------
15836 # Perform arithmetic evaluation on the ARGs, and store the result in the
15837 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15838 # must be portable across $(()) and expr.
15839 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15840 eval 'as_fn_arith ()
15847 as_val=`expr "$@" || test $? -eq 1`
15852 if expr a : '\(a\)' >/dev/null 2>&1 &&
15853 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15859 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15860 as_basename=basename
15865 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15871 as_me=`$as_basename -- "$0" ||
15872 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15873 X"$0" : 'X\(//\)$' \| \
15874 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15876 sed '/^.*\/\([^/][^/]*\)\/*$/{
15890 # Avoid depending upon Character Ranges.
15891 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15892 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15893 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15894 as_cr_digits='0123456789'
15895 as_cr_alnum=$as_cr_Letters$as_cr_digits
15897 ECHO_C= ECHO_N= ECHO_T=
15898 case `echo -n x` in #(((((
15900 case `echo 'xy\c'` in
15901 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15903 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15910 rm -f conf$$ conf$$.exe conf$$.file
15911 if test -d conf$$.dir; then
15912 rm -f conf$$.dir/conf$$.file
15915 mkdir conf$$.dir 2>/dev/null
15917 if (echo >conf$$.file) 2>/dev/null; then
15918 if ln -s conf$$.file conf$$ 2>/dev/null; then
15920 # ... but there are two gotchas:
15921 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15922 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15923 # In both cases, we have to default to `cp -p'.
15924 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15926 elif ln conf$$.file conf$$ 2>/dev/null; then
15934 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15935 rmdir conf$$.dir 2>/dev/null
15940 # Create "$as_dir" as a directory, including parents if necessary.
15945 -*) as_dir=./$as_dir;;
15947 test -d "$as_dir" || eval $as_mkdir_p || {
15951 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15952 *) as_qdir=$as_dir;;
15954 as_dirs="'$as_qdir' $as_dirs"
15955 as_dir=`$as_dirname -- "$as_dir" ||
15956 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15957 X"$as_dir" : 'X\(//\)[^/]' \| \
15958 X"$as_dir" : 'X\(//\)$' \| \
15959 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15960 $as_echo X"$as_dir" |
15961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15965 /^X\(\/\/\)[^/].*/{
15978 test -d "$as_dir" && break
15980 test -z "$as_dirs" || eval "mkdir $as_dirs"
15981 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15985 if mkdir -p . 2>/dev/null; then
15986 as_mkdir_p='mkdir -p "$as_dir"'
15988 test -d ./-p && rmdir ./-p
15992 if test -x / >/dev/null 2>&1; then
15993 as_test_x='test -x'
15995 if ls -dL / >/dev/null 2>&1; then
16002 if test -d "$1"; then
16008 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16009 ???[sx]*):;;*)false;;esac;fi
16013 as_executable_p=$as_test_x
16015 # Sed expression to map a string onto a valid CPP name.
16016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16018 # Sed expression to map a string onto a valid variable name.
16019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16023 ## ----------------------------------- ##
16024 ## Main body of $CONFIG_STATUS script. ##
16025 ## ----------------------------------- ##
16027 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16030 # Save the log message, to keep $0 and so on meaningful, and to
16031 # report actual input values of CONFIG_FILES etc. instead of their
16032 # values after options handling.
16034 This file was extended by glabels $as_me 3.0.1, which was
16035 generated by GNU Autoconf 2.68. Invocation command line was
16037 CONFIG_FILES = $CONFIG_FILES
16038 CONFIG_HEADERS = $CONFIG_HEADERS
16039 CONFIG_LINKS = $CONFIG_LINKS
16040 CONFIG_COMMANDS = $CONFIG_COMMANDS
16043 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16048 case $ac_config_files in *"
16049 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16052 case $ac_config_headers in *"
16053 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16058 # Files that config.status was made for.
16059 config_files="$ac_config_files"
16060 config_headers="$ac_config_headers"
16061 config_commands="$ac_config_commands"
16065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16067 \`$as_me' instantiates files and other configuration actions
16068 from templates according to the current configuration. Unless the files
16069 and actions are specified as TAGs, all are instantiated by default.
16071 Usage: $0 [OPTION]... [TAG]...
16073 -h, --help print this help, then exit
16074 -V, --version print version number and configuration settings, then exit
16075 --config print configuration, then exit
16076 -q, --quiet, --silent
16077 do not print progress messages
16078 -d, --debug don't remove temporary files
16079 --recheck update $as_me by reconfiguring in the same conditions
16080 --file=FILE[:TEMPLATE]
16081 instantiate the configuration file FILE
16082 --header=FILE[:TEMPLATE]
16083 instantiate the configuration header FILE
16085 Configuration files:
16088 Configuration headers:
16091 Configuration commands:
16094 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
16097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16098 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16100 glabels config.status 3.0.1
16101 configured by $0, generated by GNU Autoconf 2.68,
16102 with options \\"\$ac_cs_config\\"
16104 Copyright (C) 2010 Free Software Foundation, Inc.
16105 This config.status script is free software; the Free Software Foundation
16106 gives unlimited permission to copy, distribute and modify it."
16113 test -n "\$AWK" || AWK=awk
16116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16117 # The default lists apply if the user does not specify any file.
16123 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16124 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16128 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16140 # Handling of the options.
16141 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16143 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16144 $as_echo "$ac_cs_version"; exit ;;
16145 --config | --confi | --conf | --con | --co | --c )
16146 $as_echo "$ac_cs_config"; exit ;;
16147 --debug | --debu | --deb | --de | --d | -d )
16149 --file | --fil | --fi | --f )
16152 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16153 '') as_fn_error $? "missing file argument" ;;
16155 as_fn_append CONFIG_FILES " '$ac_optarg'"
16156 ac_need_defaults=false;;
16157 --header | --heade | --head | --hea )
16160 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16162 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16163 ac_need_defaults=false;;
16165 # Conflict between --help and --header
16166 as_fn_error $? "ambiguous option: \`$1'
16167 Try \`$0 --help' for more information.";;
16168 --help | --hel | -h )
16169 $as_echo "$ac_cs_usage"; exit ;;
16170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16171 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16174 # This is an error.
16175 -*) as_fn_error $? "unrecognized option: \`$1'
16176 Try \`$0 --help' for more information." ;;
16178 *) as_fn_append ac_config_targets " $1"
16179 ac_need_defaults=false ;;
16185 ac_configure_extra_args=
16187 if $ac_cs_silent; then
16189 ac_configure_extra_args="$ac_configure_extra_args --silent"
16193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16194 if \$ac_cs_recheck; then
16195 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16197 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16198 CONFIG_SHELL='$SHELL'
16199 export CONFIG_SHELL
16204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16209 ## Running $as_me. ##
16215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16219 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16222 # The HP-UX ksh and POSIX shell print the target directory to stdout
16223 # if CDPATH is set.
16224 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16226 sed_quote_subst='$sed_quote_subst'
16227 double_quote_subst='$double_quote_subst'
16228 delay_variable_subst='$delay_variable_subst'
16229 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16230 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16231 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16232 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16233 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16234 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16235 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16236 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16237 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16238 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16239 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16240 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16241 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16242 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16243 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16244 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16245 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16246 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16247 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16248 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16249 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16250 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16251 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16252 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16253 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16254 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16255 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16256 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16257 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16258 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16259 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16260 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16261 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16262 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16263 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16264 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16265 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16266 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16267 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16268 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16269 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16270 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16271 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16272 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16273 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16274 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16275 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16276 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16277 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16278 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16279 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16280 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16281 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16282 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16283 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16284 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16285 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16286 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16287 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16288 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16289 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16290 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16291 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16292 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16293 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16294 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16295 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16296 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16297 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16298 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16299 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16300 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16301 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16302 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16303 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16304 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16305 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16306 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16307 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16308 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16309 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16310 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16311 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16312 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16313 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16314 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16315 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16316 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16317 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16318 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16319 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16320 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16321 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16322 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16323 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16324 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16325 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16326 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16327 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16328 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16329 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16330 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16331 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16332 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16333 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16334 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16335 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16336 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16337 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16338 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16339 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16340 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16341 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16342 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16343 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16344 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16345 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16346 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16347 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16348 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16349 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16350 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16351 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16352 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16353 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16354 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16355 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16356 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16357 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16358 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16361 LTCFLAGS='$LTCFLAGS'
16362 compiler='$compiler_DEFAULT'
16364 # A function that is used when there is no print builtin or printf.
16365 func_fallback_echo ()
16367 eval 'cat <<_LTECHO_EOF
16372 # Quote evaled strings.
16387 deplibs_check_method \
16392 sharedlib_from_linklib_cmd \
16395 archiver_list_spec \
16401 lt_cv_sys_global_symbol_pipe \
16402 lt_cv_sys_global_symbol_to_cdecl \
16403 lt_cv_sys_global_symbol_to_c_name_address \
16404 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16405 nm_file_list_spec \
16406 lt_prog_compiler_no_builtin_flag \
16407 lt_prog_compiler_pic \
16408 lt_prog_compiler_wl \
16409 lt_prog_compiler_static \
16410 lt_cv_prog_compiler_c_o \
16419 export_dynamic_flag_spec \
16420 whole_archive_flag_spec \
16421 compiler_needs_object \
16423 allow_undefined_flag \
16424 no_undefined_flag \
16425 hardcode_libdir_flag_spec \
16426 hardcode_libdir_separator \
16430 variables_saved_for_relink \
16432 library_names_spec \
16434 install_override_mode \
16438 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16439 *[\\\\\\\`\\"\\\$]*)
16440 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16443 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16448 # Double-quote double-evaled strings.
16449 for var in reload_cmds \
16450 old_postinstall_cmds \
16451 old_postuninstall_cmds \
16453 extract_expsyms_cmds \
16454 old_archive_from_new_cmds \
16455 old_archive_from_expsyms_cmds \
16457 archive_expsym_cmds \
16459 module_expsym_cmds \
16460 export_symbols_cmds \
16464 postuninstall_cmds \
16466 sys_lib_search_path_spec \
16467 sys_lib_dlsearch_path_spec; do
16468 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16469 *[\\\\\\\`\\"\\\$]*)
16470 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16473 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16478 ac_aux_dir='$ac_aux_dir'
16479 xsi_shell='$xsi_shell'
16480 lt_shell_append='$lt_shell_append'
16482 # See if we are running on zsh, and set the options which allow our
16483 # commands through without removal of \ escapes INIT.
16484 if test -n "\${ZSH_VERSION+set}" ; then
16485 setopt NO_GLOB_SUBST
16491 TIMESTAMP='$TIMESTAMP'
16501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16503 # Handling of arguments.
16504 for ac_config_target in $ac_config_targets
16506 case $ac_config_target in
16507 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16508 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16509 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16510 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16511 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16512 "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16513 "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16514 "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16515 "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16516 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16517 "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16518 "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16519 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16520 "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16521 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16522 "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16523 "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16524 "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16525 "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16526 "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16527 "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16528 "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16529 "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
16530 "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
16531 "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
16532 "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
16533 "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
16534 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16535 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16536 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16537 "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
16538 "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
16539 "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
16540 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16542 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16547 # If the user did not use the arguments to specify the items to instantiate,
16548 # then the envvar interface is used. Set only those that are not.
16549 # We use the long form for the default assignment because of an extremely
16550 # bizarre bug on SunOS 4.1.3.
16551 if $ac_need_defaults; then
16552 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16553 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16554 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16557 # Have a temporary directory for convenience. Make it in the build tree
16558 # simply because there is no reason against having it here, and in addition,
16559 # creating and moving files from /tmp can sometimes cause problems.
16560 # Hook for its removal unless debugging.
16561 # Note that there is a small window in which the directory will not be cleaned:
16562 # after its creation but before its name has been assigned to `$tmp'.
16566 trap 'exit_status=$?
16567 : "${ac_tmp:=$tmp}"
16568 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16570 trap 'as_fn_exit 1' 1 2 13 15
16572 # Create a (secure) tmp directory for tmp files.
16575 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16579 tmp=./conf$$-$RANDOM
16580 (umask 077 && mkdir "$tmp")
16581 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16584 # Set up the scripts for CONFIG_FILES section.
16585 # No need to generate them if there are no CONFIG_FILES.
16586 # This happens for instance with `./config.status config.h'.
16587 if test -n "$CONFIG_FILES"; then
16590 ac_cr=`echo X | tr X '\015'`
16591 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16592 # But we know of no other shell where ac_cr would be empty at this
16593 # point, so we can use a bashism as a fallback.
16594 if test "x$ac_cr" = x; then
16595 eval ac_cr=\$\'\\r\'
16597 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16598 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16601 ac_cs_awk_cr=$ac_cr
16604 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16609 echo "cat >conf$$subs.awk <<_ACEOF" &&
16610 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16612 } >conf$$subs.sh ||
16613 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16614 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16616 for ac_last_try in false false false false false :; do
16617 . ./conf$$subs.sh ||
16618 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16620 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16621 if test $ac_delim_n = $ac_delim_num; then
16623 elif $ac_last_try; then
16624 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16626 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16629 rm -f conf$$subs.sh
16631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16632 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16636 s/^/S["/; s/!.*/"]=/
16646 s/\(.\{148\}\)..*/\1/
16648 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16653 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16660 s/\(.\{148\}\)..*/\1/
16662 s/["\\]/\\&/g; s/^/"/; s/$/"/
16666 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16671 ' <conf$$subs.awk | sed '
16676 ' >>$CONFIG_STATUS || ac_write_fail=1
16677 rm -f conf$$subs.awk
16678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16680 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16681 for (key in S) S_is_set[key] = 1
16687 nfields = split(line, field, "@")
16689 len = length(field[1])
16690 for (i = 2; i < nfields; i++) {
16692 keylen = length(key)
16693 if (S_is_set[key]) {
16695 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16696 len += length(value) + length(field[++i])
16707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16708 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16709 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16712 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16713 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16716 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16717 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16718 # trailing colons and then remove the whole line if VPATH becomes empty
16719 # (actually we leave an empty line to preserve line numbers).
16720 if test "x$srcdir" = x.; then
16721 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16740 fi # test -n "$CONFIG_FILES"
16742 # Set up the scripts for CONFIG_HEADERS section.
16743 # No need to generate them if there are no CONFIG_HEADERS.
16744 # This happens for instance with `./config.status Makefile'.
16745 if test -n "$CONFIG_HEADERS"; then
16746 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16750 # Transform confdefs.h into an awk script `defines.awk', embedded as
16751 # here-document in config.status, that substitutes the proper values into
16752 # config.h.in to produce config.h.
16754 # Create a delimiter string that does not exist in confdefs.h, to ease
16755 # handling of long lines.
16757 for ac_last_try in false false :; do
16758 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16759 if test -z "$ac_tt"; then
16761 elif $ac_last_try; then
16762 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16764 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16768 # For the awk script, D is an array of macro values keyed by name,
16769 # likewise P contains macro parameters if any. Preserve backslash
16770 # newline sequences.
16772 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16774 s/.\{148\}/&'"$ac_delim"'/g
16777 s/^[ ]*#[ ]*define[ ][ ]*/ /
16784 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16786 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16790 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16791 D["\1"]=" \3\\\\\\n"\\/p
16793 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16798 s/.\{148\}/&'"$ac_delim"'/g
16803 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16806 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16808 ' <confdefs.h | sed '
16809 s/'"$ac_delim"'/"\\\
16810 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16813 for (key in D) D_is_set[key] = 1
16816 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16818 split(line, arg, " ")
16819 if (arg[1] == "#") {
16823 defundef = substr(arg[1], 2)
16826 split(mac1, mac2, "(") #)
16828 prefix = substr(line, 1, index(line, defundef) - 1)
16829 if (D_is_set[macro]) {
16830 # Preserve the white space surrounding the "#".
16831 print prefix "define", macro P[macro] D[macro]
16834 # Replace #undef with comments. This is necessary, for example,
16835 # in the case of _POSIX_SOURCE, which is predefined and required
16836 # on some systems where configure will not decide to define it.
16837 if (defundef == "undef") {
16838 print "/*", prefix defundef, macro, "*/"
16846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16847 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16848 fi # test -n "$CONFIG_HEADERS"
16851 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16856 :[FHLC]) ac_mode=$ac_tag; continue;;
16858 case $ac_mode$ac_tag in
16860 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16861 :[FH]-) ac_tag=-:-;;
16862 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16879 -) ac_f="$ac_tmp/stdin";;
16880 *) # Look for the file first in the build tree, then in the source tree
16881 # (if the path is not absolute). The absolute path cannot be DOS-style,
16882 # because $ac_f cannot contain `:'.
16886 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16888 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16890 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16891 as_fn_append ac_file_inputs " '$ac_f'"
16894 # Let's still pretend it is `configure' which instantiates (i.e., don't
16895 # use $as_me), people would be surprised to read:
16896 # /* config.h. Generated by config.status. */
16897 configure_input='Generated from '`
16898 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16900 if test x"$ac_file" != x-; then
16901 configure_input="$ac_file. $configure_input"
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16903 $as_echo "$as_me: creating $ac_file" >&6;}
16905 # Neutralize special characters interpreted by sed in replacement strings.
16906 case $configure_input in #(
16907 *\&* | *\|* | *\\* )
16908 ac_sed_conf_input=`$as_echo "$configure_input" |
16909 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16910 *) ac_sed_conf_input=$configure_input;;
16914 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16915 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16920 ac_dir=`$as_dirname -- "$ac_file" ||
16921 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16922 X"$ac_file" : 'X\(//\)[^/]' \| \
16923 X"$ac_file" : 'X\(//\)$' \| \
16924 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16925 $as_echo X"$ac_file" |
16926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16930 /^X\(\/\/\)[^/].*/{
16943 as_dir="$ac_dir"; as_fn_mkdir_p
16947 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16949 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16950 # A ".." for each directory in $ac_dir_suffix.
16951 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16952 case $ac_top_builddir_sub in
16953 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16954 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16957 ac_abs_top_builddir=$ac_pwd
16958 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16959 # for backward compatibility:
16960 ac_top_builddir=$ac_top_build_prefix
16963 .) # We are building in place.
16965 ac_top_srcdir=$ac_top_builddir_sub
16966 ac_abs_top_srcdir=$ac_pwd ;;
16967 [\\/]* | ?:[\\/]* ) # Absolute name.
16968 ac_srcdir=$srcdir$ac_dir_suffix;
16969 ac_top_srcdir=$srcdir
16970 ac_abs_top_srcdir=$srcdir ;;
16971 *) # Relative name.
16972 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16973 ac_top_srcdir=$ac_top_build_prefix$srcdir
16974 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16976 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16986 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16987 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16989 ac_MKDIR_P=$MKDIR_P
16991 [\\/$]* | ?:[\\/]* ) ;;
16992 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16997 # If the template does not know about datarootdir, expand it.
16998 # FIXME: This hack should be removed a few years after 2.60.
16999 ac_datarootdir_hack=; ac_datarootdir_seen=
17010 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17011 *datarootdir*) ac_datarootdir_seen=yes;;
17012 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17014 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17017 ac_datarootdir_hack='
17018 s&@datadir@&$datadir&g
17019 s&@docdir@&$docdir&g
17020 s&@infodir@&$infodir&g
17021 s&@localedir@&$localedir&g
17022 s&@mandir@&$mandir&g
17023 s&\\\${datarootdir}&$datarootdir&g' ;;
17027 # Neutralize VPATH when `$srcdir' = `.'.
17028 # Shell code in configure.ac might set extrasub.
17029 # FIXME: do we really want to maintain this feature?
17030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17031 ac_sed_extra="$ac_vpsub
17034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17037 s|@configure_input@|$ac_sed_conf_input|;t t
17038 s&@top_builddir@&$ac_top_builddir_sub&;t t
17039 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17040 s&@srcdir@&$ac_srcdir&;t t
17041 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17042 s&@top_srcdir@&$ac_top_srcdir&;t t
17043 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17044 s&@builddir@&$ac_builddir&;t t
17045 s&@abs_builddir@&$ac_abs_builddir&;t t
17046 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17047 s&@INSTALL@&$ac_INSTALL&;t t
17048 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17049 $ac_datarootdir_hack
17051 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17052 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17054 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17055 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17056 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17057 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17059 which seems to be undefined. Please make sure it is defined" >&5
17060 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17061 which seems to be undefined. Please make sure it is defined" >&2;}
17063 rm -f "$ac_tmp/stdin"
17065 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17066 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17074 if test x"$ac_file" != x-; then
17076 $as_echo "/* $configure_input */" \
17077 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17078 } >"$ac_tmp/config.h" \
17079 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17080 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17082 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17085 mv "$ac_tmp/config.h" "$ac_file" \
17086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17089 $as_echo "/* $configure_input */" \
17090 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17091 || as_fn_error $? "could not create -" "$LINENO" 5
17093 # Compute "$ac_file"'s index in $config_headers.
17096 for _am_header in $config_headers :; do
17097 case $_am_header in
17098 $_am_arg | $_am_arg:* )
17101 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17104 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17105 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17106 X"$_am_arg" : 'X\(//\)[^/]' \| \
17107 X"$_am_arg" : 'X\(//\)$' \| \
17108 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17109 $as_echo X"$_am_arg" |
17110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17114 /^X\(\/\/\)[^/].*/{
17126 s/.*/./; q'`/stamp-h$_am_stamp_count
17129 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17130 $as_echo "$as_me: executing $ac_file commands" >&6;}
17135 case $ac_file$ac_mode in
17136 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17137 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17138 # are listed without --file. Let's play safe and only enable the eval
17139 # if we detect the quoting.
17140 case $CONFIG_FILES in
17141 *\'*) eval set x "$CONFIG_FILES" ;;
17142 *) set x $CONFIG_FILES ;;
17147 # Strip MF so we end up with the name of the file.
17148 mf=`echo "$mf" | sed -e 's/:.*$//'`
17149 # Check whether this is an Automake generated Makefile or not.
17150 # We used to match only the files named `Makefile.in', but
17151 # some people rename them; so instead we look at the file content.
17152 # Grep'ing the first line is not enough: some people post-process
17153 # each Makefile.in and add a new line on top of each file to say so.
17154 # Grep'ing the whole file is not good either: AIX grep has a line
17155 # limit of 2048, but all sed's we know have understand at least 4000.
17156 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17157 dirpart=`$as_dirname -- "$mf" ||
17158 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17159 X"$mf" : 'X\(//\)[^/]' \| \
17160 X"$mf" : 'X\(//\)$' \| \
17161 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17167 /^X\(\/\/\)[^/].*/{
17183 # Extract the definition of DEPDIR, am__include, and am__quote
17184 # from the Makefile without running `make'.
17185 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17186 test -z "$DEPDIR" && continue
17187 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17188 test -z "am__include" && continue
17189 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17190 # When using ansi2knr, U may be empty or an underscore; expand it
17191 U=`sed -n 's/^U = //p' < "$mf"`
17192 # Find all dependency output files, they are included files with
17193 # $(DEPDIR) in their names. We invoke sed twice because it is the
17194 # simplest approach to changing $(DEPDIR) to its actual value in the
17196 for file in `sed -n "
17197 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17198 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17199 # Make sure the directory exists.
17200 test -f "$dirpart/$file" && continue
17201 fdir=`$as_dirname -- "$file" ||
17202 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17203 X"$file" : 'X\(//\)[^/]' \| \
17204 X"$file" : 'X\(//\)$' \| \
17205 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17206 $as_echo X"$file" |
17207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17211 /^X\(\/\/\)[^/].*/{
17224 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17225 # echo "creating $dirpart/$file"
17226 echo '# dummy' > "$dirpart/$file"
17233 # See if we are running on zsh, and set the options which allow our
17234 # commands through without removal of \ escapes.
17235 if test -n "${ZSH_VERSION+set}" ; then
17236 setopt NO_GLOB_SUBST
17239 cfgfile="${ofile}T"
17240 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17243 cat <<_LT_EOF >> "$cfgfile"
17246 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17247 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17248 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17249 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17251 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17252 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17254 # Written by Gordon Matzigkeit, 1996
17256 # This file is part of GNU Libtool.
17258 # GNU Libtool is free software; you can redistribute it and/or
17259 # modify it under the terms of the GNU General Public License as
17260 # published by the Free Software Foundation; either version 2 of
17261 # the License, or (at your option) any later version.
17263 # As a special exception to the GNU General Public License,
17264 # if you distribute this file as part of a program or library that
17265 # is built using GNU Libtool, you may include this file under the
17266 # same distribution terms that you use for the rest of that program.
17268 # GNU Libtool is distributed in the hope that it will be useful,
17269 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17270 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17271 # GNU General Public License for more details.
17273 # You should have received a copy of the GNU General Public License
17274 # along with GNU Libtool; see the file COPYING. If not, a copy
17275 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17276 # obtained by writing to the Free Software Foundation, Inc.,
17277 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17280 # The names of the tagged configurations supported by this script.
17283 # ### BEGIN LIBTOOL CONFIG
17285 # Which release of libtool.m4 was used?
17286 macro_version=$macro_version
17287 macro_revision=$macro_revision
17289 # Whether or not to build shared libraries.
17290 build_libtool_libs=$enable_shared
17292 # Whether or not to build static libraries.
17293 build_old_libs=$enable_static
17295 # What type of objects to build.
17298 # Whether or not to optimize for fast installation.
17299 fast_install=$enable_fast_install
17301 # Shell to use when invoking shell scripts.
17304 # An echo program that protects backslashes.
17307 # The PATH separator for the build system.
17308 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17311 host_alias=$host_alias
17315 # The build system.
17316 build_alias=$build_alias
17320 # A sed program that does not truncate output.
17323 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17324 Xsed="\$SED -e 1s/^X//"
17326 # A grep program that handles long lines.
17332 # A literal string matcher.
17335 # A BSD- or MS-compatible name lister.
17338 # Whether we need soft or hard links.
17341 # What is the maximum length of a command?
17342 max_cmd_len=$max_cmd_len
17344 # Object file suffix (normally "o").
17347 # Executable file suffix (normally "").
17350 # whether the shell understands "unset".
17353 # turn spaces into newlines.
17356 # turn newlines into spaces.
17359 # convert \$build file names to \$host format.
17360 to_host_file_cmd=$lt_cv_to_host_file_cmd
17362 # convert \$build files to toolchain format.
17363 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17365 # An object symbol dumper.
17366 OBJDUMP=$lt_OBJDUMP
17368 # Method to check whether dependent libraries are shared objects.
17369 deplibs_check_method=$lt_deplibs_check_method
17371 # Command to use when deplibs_check_method = "file_magic".
17372 file_magic_cmd=$lt_file_magic_cmd
17374 # How to find potential files when deplibs_check_method = "file_magic".
17375 file_magic_glob=$lt_file_magic_glob
17377 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17378 want_nocaseglob=$lt_want_nocaseglob
17380 # DLL creation program.
17381 DLLTOOL=$lt_DLLTOOL
17383 # Command to associate shared and link libraries.
17384 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17389 # Flags to create an archive.
17390 AR_FLAGS=$lt_AR_FLAGS
17392 # How to feed a file listing to the archiver.
17393 archiver_list_spec=$lt_archiver_list_spec
17395 # A symbol stripping program.
17398 # Commands used to install an old-style archive.
17400 old_postinstall_cmds=$lt_old_postinstall_cmds
17401 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17403 # Whether to use a lock for old archive extraction.
17404 lock_old_archive_extraction=$lock_old_archive_extraction
17409 # LTCC compiler flags.
17410 LTCFLAGS=$lt_CFLAGS
17412 # Take the output of nm and produce a listing of raw symbols and C names.
17413 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17415 # Transform the output of nm in a proper C declaration.
17416 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17418 # Transform the output of nm in a C name address pair.
17419 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17421 # Transform the output of nm in a C name address pair when lib prefix is needed.
17422 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17424 # Specify filename containing input files for \$NM.
17425 nm_file_list_spec=$lt_nm_file_list_spec
17427 # The root where to search for dependent libraries,and in which our libraries should be installed.
17428 lt_sysroot=$lt_sysroot
17430 # The name of the directory that contains temporary libtool files.
17433 # Used to examine libraries when file_magic_cmd begins with "file".
17434 MAGIC_CMD=$MAGIC_CMD
17436 # Must we lock files when doing compilation?
17437 need_locks=$lt_need_locks
17440 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17442 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17443 DSYMUTIL=$lt_DSYMUTIL
17445 # Tool to change global to local symbols on Mac OS X.
17448 # Tool to manipulate fat objects and archives on Mac OS X.
17451 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17454 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17455 OTOOL64=$lt_OTOOL64
17457 # Old archive suffix (normally "a").
17460 # Shared library suffix (normally ".so").
17461 shrext_cmds=$lt_shrext_cmds
17463 # The commands to extract the exported symbol list from a shared archive.
17464 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17466 # Variables whose values should be saved in libtool wrapper scripts and
17467 # restored at link time.
17468 variables_saved_for_relink=$lt_variables_saved_for_relink
17470 # Do we need the "lib" prefix for modules?
17471 need_lib_prefix=$need_lib_prefix
17473 # Do we need a version for libraries?
17474 need_version=$need_version
17476 # Library versioning type.
17477 version_type=$version_type
17479 # Shared library runtime path variable.
17480 runpath_var=$runpath_var
17482 # Shared library path variable.
17483 shlibpath_var=$shlibpath_var
17485 # Is shlibpath searched before the hard-coded library search path?
17486 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17488 # Format of library name prefix.
17489 libname_spec=$lt_libname_spec
17491 # List of archive names. First name is the real one, the rest are links.
17492 # The last name is the one that the linker finds with -lNAME
17493 library_names_spec=$lt_library_names_spec
17495 # The coded name of the library, if different from the real name.
17496 soname_spec=$lt_soname_spec
17498 # Permission mode override for installation of shared libraries.
17499 install_override_mode=$lt_install_override_mode
17501 # Command to use after installation of a shared archive.
17502 postinstall_cmds=$lt_postinstall_cmds
17504 # Command to use after uninstallation of a shared archive.
17505 postuninstall_cmds=$lt_postuninstall_cmds
17507 # Commands used to finish a libtool library installation in a directory.
17508 finish_cmds=$lt_finish_cmds
17510 # As "finish_cmds", except a single script fragment to be evaled but
17512 finish_eval=$lt_finish_eval
17514 # Whether we should hardcode library paths into libraries.
17515 hardcode_into_libs=$hardcode_into_libs
17517 # Compile-time system search path for libraries.
17518 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17520 # Run-time system search path for libraries.
17521 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17523 # Whether dlopen is supported.
17524 dlopen_support=$enable_dlopen
17526 # Whether dlopen of programs is supported.
17527 dlopen_self=$enable_dlopen_self
17529 # Whether dlopen of statically linked programs is supported.
17530 dlopen_self_static=$enable_dlopen_self_static
17532 # Commands to strip libraries.
17533 old_striplib=$lt_old_striplib
17534 striplib=$lt_striplib
17537 # The linker used to build libraries.
17540 # How to create reloadable object files.
17541 reload_flag=$lt_reload_flag
17542 reload_cmds=$lt_reload_cmds
17544 # Commands used to build an old-style archive.
17545 old_archive_cmds=$lt_old_archive_cmds
17547 # A language specific compiler.
17550 # Is the compiler the GNU compiler?
17553 # Compiler flag to turn off builtin functions.
17554 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17556 # Additional compiler flags for building library objects.
17557 pic_flag=$lt_lt_prog_compiler_pic
17559 # How to pass a linker flag through the compiler.
17560 wl=$lt_lt_prog_compiler_wl
17562 # Compiler flag to prevent dynamic linking.
17563 link_static_flag=$lt_lt_prog_compiler_static
17565 # Does compiler simultaneously support -c and -o options?
17566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17568 # Whether or not to add -lc for building shared libraries.
17569 build_libtool_need_lc=$archive_cmds_need_lc
17571 # Whether or not to disallow shared libs when runtime libs are static.
17572 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17574 # Compiler flag to allow reflexive dlopens.
17575 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17577 # Compiler flag to generate shared objects directly from archives.
17578 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17580 # Whether the compiler copes with passing no objects directly.
17581 compiler_needs_object=$lt_compiler_needs_object
17583 # Create an old-style archive from a shared archive.
17584 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17586 # Create a temporary old-style archive to link instead of a shared archive.
17587 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17589 # Commands used to build a shared archive.
17590 archive_cmds=$lt_archive_cmds
17591 archive_expsym_cmds=$lt_archive_expsym_cmds
17593 # Commands used to build a loadable module if different from building
17594 # a shared archive.
17595 module_cmds=$lt_module_cmds
17596 module_expsym_cmds=$lt_module_expsym_cmds
17598 # Whether we are building with GNU ld or not.
17599 with_gnu_ld=$lt_with_gnu_ld
17601 # Flag that allows shared libraries with undefined symbols to be built.
17602 allow_undefined_flag=$lt_allow_undefined_flag
17604 # Flag that enforces no undefined symbols.
17605 no_undefined_flag=$lt_no_undefined_flag
17607 # Flag to hardcode \$libdir into a binary during linking.
17608 # This must work even if \$libdir does not exist
17609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17611 # Whether we need a single "-rpath" flag with a separated argument.
17612 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17614 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17615 # DIR into the resulting binary.
17616 hardcode_direct=$hardcode_direct
17618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17619 # DIR into the resulting binary and the resulting library dependency is
17620 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17621 # library is relocated.
17622 hardcode_direct_absolute=$hardcode_direct_absolute
17624 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17625 # into the resulting binary.
17626 hardcode_minus_L=$hardcode_minus_L
17628 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17629 # into the resulting binary.
17630 hardcode_shlibpath_var=$hardcode_shlibpath_var
17632 # Set to "yes" if building a shared library automatically hardcodes DIR
17633 # into the library and all subsequent libraries and executables linked
17635 hardcode_automatic=$hardcode_automatic
17637 # Set to yes if linker adds runtime paths of dependent libraries
17638 # to runtime path list.
17639 inherit_rpath=$inherit_rpath
17641 # Whether libtool must link a program against all its dependency libraries.
17642 link_all_deplibs=$link_all_deplibs
17644 # Set to "yes" if exported symbols are required.
17645 always_export_symbols=$always_export_symbols
17647 # The commands to list exported symbols.
17648 export_symbols_cmds=$lt_export_symbols_cmds
17650 # Symbols that should not be listed in the preloaded symbols.
17651 exclude_expsyms=$lt_exclude_expsyms
17653 # Symbols that must always be exported.
17654 include_expsyms=$lt_include_expsyms
17656 # Commands necessary for linking programs (against libraries) with templates.
17657 prelink_cmds=$lt_prelink_cmds
17659 # Commands necessary for finishing linking programs.
17660 postlink_cmds=$lt_postlink_cmds
17662 # Specify filename containing input files.
17663 file_list_spec=$lt_file_list_spec
17665 # How to hardcode a shared library path into an executable.
17666 hardcode_action=$hardcode_action
17668 # ### END LIBTOOL CONFIG
17674 cat <<\_LT_EOF >> "$cfgfile"
17675 # AIX sometimes has problems with the GCC collect2 program. For some
17676 # reason, if we set the COLLECT_NAMES environment variable, the problems
17677 # vanish in a puff of smoke.
17678 if test "X${COLLECT_NAMES+set}" != Xset; then
17680 export COLLECT_NAMES
17687 ltmain="$ac_aux_dir/ltmain.sh"
17690 # We use sed instead of cat because bash on DJGPP gets confused if
17691 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17692 # text mode, it properly converts lines to CR/LF. This bash problem
17693 # is reportedly fixed, but why not run on old versions too?
17694 sed '$q' "$ltmain" >> "$cfgfile" \
17695 || (rm -f "$cfgfile"; exit 1)
17697 if test x"$xsi_shell" = xyes; then
17698 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17702 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17703 \ * ) func_dirname_result="${3}" ;;\
17705 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17706 && mv -f "$cfgfile.tmp" "$cfgfile" \
17707 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17708 test 0 -eq $? || _lt_function_replace_fail=:
17711 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17714 \ func_basename_result="${1##*/}"\
17715 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17716 && mv -f "$cfgfile.tmp" "$cfgfile" \
17717 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17718 test 0 -eq $? || _lt_function_replace_fail=:
17721 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17722 func_dirname_and_basename ()\
17725 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17726 \ * ) func_dirname_result="${3}" ;;\
17728 \ func_basename_result="${1##*/}"\
17729 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17730 && mv -f "$cfgfile.tmp" "$cfgfile" \
17731 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17732 test 0 -eq $? || _lt_function_replace_fail=:
17735 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17738 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17739 \ # positional parameters, so assign one to ordinary parameter first.\
17740 \ func_stripname_result=${3}\
17741 \ func_stripname_result=${func_stripname_result#"${1}"}\
17742 \ func_stripname_result=${func_stripname_result%"${2}"}\
17743 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17744 && mv -f "$cfgfile.tmp" "$cfgfile" \
17745 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17746 test 0 -eq $? || _lt_function_replace_fail=:
17749 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17750 func_split_long_opt ()\
17752 \ func_split_long_opt_name=${1%%=*}\
17753 \ func_split_long_opt_arg=${1#*=}\
17754 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17755 && mv -f "$cfgfile.tmp" "$cfgfile" \
17756 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17757 test 0 -eq $? || _lt_function_replace_fail=:
17760 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17761 func_split_short_opt ()\
17763 \ func_split_short_opt_arg=${1#??}\
17764 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17765 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17766 && mv -f "$cfgfile.tmp" "$cfgfile" \
17767 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17768 test 0 -eq $? || _lt_function_replace_fail=:
17771 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17775 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17776 \ *) func_lo2o_result=${1} ;;\
17778 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17779 && mv -f "$cfgfile.tmp" "$cfgfile" \
17780 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17781 test 0 -eq $? || _lt_function_replace_fail=:
17784 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17787 func_xform_result=${1%.*}.lo\
17788 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17789 && mv -f "$cfgfile.tmp" "$cfgfile" \
17790 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17791 test 0 -eq $? || _lt_function_replace_fail=:
17794 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17797 func_arith_result=$(( $* ))\
17798 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17799 && mv -f "$cfgfile.tmp" "$cfgfile" \
17800 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17801 test 0 -eq $? || _lt_function_replace_fail=:
17804 sed -e '/^func_len ()$/,/^} # func_len /c\
17807 func_len_result=${#1}\
17808 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17809 && mv -f "$cfgfile.tmp" "$cfgfile" \
17810 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17811 test 0 -eq $? || _lt_function_replace_fail=:
17815 if test x"$lt_shell_append" = xyes; then
17816 sed -e '/^func_append ()$/,/^} # func_append /c\
17819 eval "${1}+=\\${2}"\
17820 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17821 && mv -f "$cfgfile.tmp" "$cfgfile" \
17822 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17823 test 0 -eq $? || _lt_function_replace_fail=:
17826 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17827 func_append_quoted ()\
17829 \ func_quote_for_eval "${2}"\
17830 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17831 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17832 && mv -f "$cfgfile.tmp" "$cfgfile" \
17833 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17834 test 0 -eq $? || _lt_function_replace_fail=:
17837 # Save a `func_append' function call where possible by direct use of '+='
17838 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17839 && mv -f "$cfgfile.tmp" "$cfgfile" \
17840 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17841 test 0 -eq $? || _lt_function_replace_fail=:
17843 # Save a `func_append' function call even when '+=' is not available
17844 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17845 && mv -f "$cfgfile.tmp" "$cfgfile" \
17846 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17847 test 0 -eq $? || _lt_function_replace_fail=:
17850 if test x"$_lt_function_replace_fail" = x":"; then
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17852 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17856 mv -f "$cfgfile" "$ofile" ||
17857 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17861 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17862 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17865 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17866 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17868 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17873 '"s|^| $ac_top_srcdir/|" \
17874 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17876 sed '/^POTFILES =/,/[^\\]$/ {
17880 ' "po/Makefile.in" >"po/Makefile"
17881 rm -f "po/Makefile.tmp"
17882 mv "po/stamp-it.tmp" "po/stamp-it"
17891 ac_clean_files=$ac_clean_files_save
17893 test $ac_write_fail = 0 ||
17894 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17897 # configure is writing to config.log, and then calls config.status.
17898 # config.status does its own redirection, appending to config.log.
17899 # Unfortunately, on DOS this fails, as config.log is still kept open
17900 # by configure, so config.status won't be able to write to it; its
17901 # output is simply discarded. So we exec the FD to /dev/null,
17902 # effectively closing config.log, so it can be properly (re)opened and
17903 # appended to by config.status. When coming back to configure, we
17904 # need to make the FD available again.
17905 if test "$no_create" != yes; then
17907 ac_config_status_args=
17908 test "$silent" = yes &&
17909 ac_config_status_args="$ac_config_status_args --quiet"
17911 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17913 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17914 # would make configure fail if this is the last instruction.
17915 $ac_cs_success || as_fn_exit 1
17917 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17919 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17928 Package ................. ${PACKAGE}-${VERSION}
17929 Installation prefix ..... ${prefix}
17930 Source code location .... ${srcdir}
17931 Compiler ................ ${CC}
17934 Optional data merge backends:
17936 Evolution Data Server ... ${have_libebook}
17939 Optional barcode backends:
17941 GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
17942 QR Code ................. ${have_libqrencode} ${help_libqrencode}
17943 IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
17944 Zint .................... ${have_libzint} ${help_libzint}