2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for glabels 3.2.1.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glabels
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='glabels'
593 PACKAGE_TARNAME='glabels'
594 PACKAGE_VERSION='3.2.1'
595 PACKAGE_STRING='glabels 3.2.1'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glabels'
599 ac_unique_file="src/glabels.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
652 DISABLE_DEPRECATED_CFLAGS
680 LIBGLBARCODE_API_VERSION
681 LIBGLABELS_API_VERSION
685 GTK_UPDATE_ICON_CACHE
692 GSETTINGS_DISABLE_SCHEMAS_COMPILE
693 GTK_DOC_USE_REBASE_FALSE
694 GTK_DOC_USE_REBASE_TRUE
695 GTK_DOC_USE_LIBTOOL_FALSE
696 GTK_DOC_USE_LIBTOOL_TRUE
697 GTK_DOC_BUILD_PDF_FALSE
698 GTK_DOC_BUILD_PDF_TRUE
699 GTK_DOC_BUILD_HTML_FALSE
700 GTK_DOC_BUILD_HTML_TRUE
774 INTLTOOL_SERVICE_RULE
776 INTLTOOL_SCHEMAS_RULE
778 INTLTOOL_XML_NOMERGE_RULE
783 INTLTOOL_SOUNDLIST_RULE
790 INTLTOOL_DIRECTORY_RULE
791 INTLTOOL_DESKTOP_RULE
792 intltool__v_merge_options_0
793 intltool__v_merge_options_
794 INTLTOOL_V_MERGE_OPTIONS
803 MAINTAINER_MODE_FALSE
817 INSTALL_STRIP_PROGRAM
859 program_transform_name
872 enable_option_checking
874 enable_maintainer_mode
876 enable_dependency_tracking
889 enable_schemas_compile
890 enable_compile_warnings
899 ac_precious_vars='build_alias
929 # Initialize some variables set by options.
931 ac_init_version=false
932 ac_unrecognized_opts=
934 # The variables have the same names as the options, with
935 # dashes changed to underlines.
943 program_transform_name=s,x,x,
951 # Installation directory options.
952 # These are left unexpanded so users can "make install exec_prefix=/foo"
953 # and all the variables that are supposed to be based on exec_prefix
954 # by default will actually change.
955 # Use braces instead of parens because sh, perl, etc. also accept them.
956 # (The list follows the same order as the GNU Coding Standards.)
957 bindir='${exec_prefix}/bin'
958 sbindir='${exec_prefix}/sbin'
959 libexecdir='${exec_prefix}/libexec'
960 datarootdir='${prefix}/share'
961 datadir='${datarootdir}'
962 sysconfdir='${prefix}/etc'
963 sharedstatedir='${prefix}/com'
964 localstatedir='${prefix}/var'
965 includedir='${prefix}/include'
966 oldincludedir='/usr/include'
967 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
968 infodir='${datarootdir}/info'
973 libdir='${exec_prefix}/lib'
974 localedir='${datarootdir}/locale'
975 mandir='${datarootdir}/man'
981 # If the previous option needs an argument, assign it.
982 if test -n "$ac_prev"; then
983 eval $ac_prev=\$ac_option
989 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
994 # Accept the important Cygnus configure options, so we can diagnose typos.
996 case $ac_dashdash$ac_option in
1000 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1002 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1003 bindir=$ac_optarg ;;
1005 -build | --build | --buil | --bui | --bu)
1006 ac_prev=build_alias ;;
1007 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1008 build_alias=$ac_optarg ;;
1010 -cache-file | --cache-file | --cache-fil | --cache-fi \
1011 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1012 ac_prev=cache_file ;;
1013 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1014 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1015 cache_file=$ac_optarg ;;
1017 --config-cache | -C)
1018 cache_file=config.cache ;;
1020 -datadir | --datadir | --datadi | --datad)
1022 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1023 datadir=$ac_optarg ;;
1025 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1026 | --dataroo | --dataro | --datar)
1027 ac_prev=datarootdir ;;
1028 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1029 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1030 datarootdir=$ac_optarg ;;
1032 -disable-* | --disable-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error $? "invalid feature name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_$ac_useropt"
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1046 eval enable_$ac_useropt=no ;;
1048 -docdir | --docdir | --docdi | --doc | --do)
1050 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1051 docdir=$ac_optarg ;;
1053 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1055 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1056 dvidir=$ac_optarg ;;
1058 -enable-* | --enable-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid feature name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_$ac_useropt"
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1072 eval enable_$ac_useropt=\$ac_optarg ;;
1074 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1075 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1076 | --exec | --exe | --ex)
1077 ac_prev=exec_prefix ;;
1078 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1079 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1080 | --exec=* | --exe=* | --ex=*)
1081 exec_prefix=$ac_optarg ;;
1083 -gas | --gas | --ga | --g)
1084 # Obsolete; use --with-gas.
1087 -help | --help | --hel | --he | -h)
1088 ac_init_help=long ;;
1089 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1090 ac_init_help=recursive ;;
1091 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1092 ac_init_help=short ;;
1094 -host | --host | --hos | --ho)
1095 ac_prev=host_alias ;;
1096 -host=* | --host=* | --hos=* | --ho=*)
1097 host_alias=$ac_optarg ;;
1099 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1101 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1103 htmldir=$ac_optarg ;;
1105 -includedir | --includedir | --includedi | --included | --include \
1106 | --includ | --inclu | --incl | --inc)
1107 ac_prev=includedir ;;
1108 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1109 | --includ=* | --inclu=* | --incl=* | --inc=*)
1110 includedir=$ac_optarg ;;
1112 -infodir | --infodir | --infodi | --infod | --info | --inf)
1114 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1115 infodir=$ac_optarg ;;
1117 -libdir | --libdir | --libdi | --libd)
1119 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1120 libdir=$ac_optarg ;;
1122 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1123 | --libexe | --libex | --libe)
1124 ac_prev=libexecdir ;;
1125 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1126 | --libexe=* | --libex=* | --libe=*)
1127 libexecdir=$ac_optarg ;;
1129 -localedir | --localedir | --localedi | --localed | --locale)
1130 ac_prev=localedir ;;
1131 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1132 localedir=$ac_optarg ;;
1134 -localstatedir | --localstatedir | --localstatedi | --localstated \
1135 | --localstate | --localstat | --localsta | --localst | --locals)
1136 ac_prev=localstatedir ;;
1137 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1138 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1139 localstatedir=$ac_optarg ;;
1141 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1143 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1144 mandir=$ac_optarg ;;
1146 -nfp | --nfp | --nf)
1147 # Obsolete; use --without-fp.
1150 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1151 | --no-cr | --no-c | -n)
1154 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1155 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1158 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1159 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1160 | --oldin | --oldi | --old | --ol | --o)
1161 ac_prev=oldincludedir ;;
1162 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1163 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1164 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1165 oldincludedir=$ac_optarg ;;
1167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1170 prefix=$ac_optarg ;;
1172 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1173 | --program-pre | --program-pr | --program-p)
1174 ac_prev=program_prefix ;;
1175 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1176 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1177 program_prefix=$ac_optarg ;;
1179 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1180 | --program-suf | --program-su | --program-s)
1181 ac_prev=program_suffix ;;
1182 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1183 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1184 program_suffix=$ac_optarg ;;
1186 -program-transform-name | --program-transform-name \
1187 | --program-transform-nam | --program-transform-na \
1188 | --program-transform-n | --program-transform- \
1189 | --program-transform | --program-transfor \
1190 | --program-transfo | --program-transf \
1191 | --program-trans | --program-tran \
1192 | --progr-tra | --program-tr | --program-t)
1193 ac_prev=program_transform_name ;;
1194 -program-transform-name=* | --program-transform-name=* \
1195 | --program-transform-nam=* | --program-transform-na=* \
1196 | --program-transform-n=* | --program-transform-=* \
1197 | --program-transform=* | --program-transfor=* \
1198 | --program-transfo=* | --program-transf=* \
1199 | --program-trans=* | --program-tran=* \
1200 | --progr-tra=* | --program-tr=* | --program-t=*)
1201 program_transform_name=$ac_optarg ;;
1203 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1205 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1206 pdfdir=$ac_optarg ;;
1208 -psdir | --psdir | --psdi | --psd | --ps)
1210 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214 | -silent | --silent | --silen | --sile | --sil)
1217 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1219 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1221 sbindir=$ac_optarg ;;
1223 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1224 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1225 | --sharedst | --shareds | --shared | --share | --shar \
1227 ac_prev=sharedstatedir ;;
1228 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1229 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1230 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1232 sharedstatedir=$ac_optarg ;;
1234 -site | --site | --sit)
1236 -site=* | --site=* | --sit=*)
1239 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1241 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1242 srcdir=$ac_optarg ;;
1244 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1245 | --syscon | --sysco | --sysc | --sys | --sy)
1246 ac_prev=sysconfdir ;;
1247 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1248 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1249 sysconfdir=$ac_optarg ;;
1251 -target | --target | --targe | --targ | --tar | --ta | --t)
1252 ac_prev=target_alias ;;
1253 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1254 target_alias=$ac_optarg ;;
1256 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1259 -version | --version | --versio | --versi | --vers | -V)
1260 ac_init_version=: ;;
1263 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error $? "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1276 eval with_$ac_useropt=\$ac_optarg ;;
1278 -without-* | --without-*)
1279 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1282 as_fn_error $? "invalid package name: $ac_useropt"
1283 ac_useropt_orig=$ac_useropt
1284 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285 case $ac_user_opts in
1289 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1290 ac_unrecognized_sep=', ';;
1292 eval with_$ac_useropt=no ;;
1295 # Obsolete; use --with-x.
1298 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1299 | --x-incl | --x-inc | --x-in | --x-i)
1300 ac_prev=x_includes ;;
1301 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1302 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1303 x_includes=$ac_optarg ;;
1305 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1306 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1307 ac_prev=x_libraries ;;
1308 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1309 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1310 x_libraries=$ac_optarg ;;
1312 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1313 Try \`$0 --help' for more information"
1317 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1318 # Reject names that are not valid shell variable names.
1319 case $ac_envvar in #(
1320 '' | [0-9]* | *[!_$as_cr_alnum]* )
1321 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1323 eval $ac_envvar=\$ac_optarg
1324 export $ac_envvar ;;
1327 # FIXME: should be removed in autoconf 3.0.
1328 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1330 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1337 if test -n "$ac_prev"; then
1338 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1339 as_fn_error $? "missing argument to $ac_option"
1342 if test -n "$ac_unrecognized_opts"; then
1343 case $enable_option_checking in
1345 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1346 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1350 # Check all directory arguments for consistency.
1351 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1352 datadir sysconfdir sharedstatedir localstatedir includedir \
1353 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1354 libdir localedir mandir
1356 eval ac_val=\$$ac_var
1357 # Remove trailing slashes.
1360 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1361 eval $ac_var=\$ac_val;;
1363 # Be sure to have absolute directory names.
1365 [\\/$]* | ?:[\\/]* ) continue;;
1366 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1368 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1371 # There might be people who depend on the old broken behavior: `$host'
1372 # used to hold the argument of --host etc.
1373 # FIXME: To remove some day.
1376 target=$target_alias
1378 # FIXME: To remove some day.
1379 if test "x$host_alias" != x; then
1380 if test "x$build_alias" = x; then
1381 cross_compiling=maybe
1382 elif test "x$build_alias" != "x$host_alias"; then
1388 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1390 test "$silent" = yes && exec 6>/dev/null
1393 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1394 ac_ls_di=`ls -di .` &&
1395 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1396 as_fn_error $? "working directory cannot be determined"
1397 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1398 as_fn_error $? "pwd does not report name of working directory"
1401 # Find the source files, if location was not specified.
1402 if test -z "$srcdir"; then
1403 ac_srcdir_defaulted=yes
1404 # Try the directory containing this script, then the parent directory.
1405 ac_confdir=`$as_dirname -- "$as_myself" ||
1406 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1407 X"$as_myself" : 'X\(//\)[^/]' \| \
1408 X"$as_myself" : 'X\(//\)$' \| \
1409 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1410 $as_echo X"$as_myself" |
1411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1429 if test ! -r "$srcdir/$ac_unique_file"; then
1433 ac_srcdir_defaulted=no
1435 if test ! -r "$srcdir/$ac_unique_file"; then
1436 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1437 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1439 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1441 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1443 # When building in place, set srcdir=.
1444 if test "$ac_abs_confdir" = "$ac_pwd"; then
1447 # Remove unnecessary trailing slashes from srcdir.
1448 # Double slashes in file names in object file debugging info
1449 # mess up M-x gdb in Emacs.
1451 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1453 for ac_var in $ac_precious_vars; do
1454 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1455 eval ac_env_${ac_var}_value=\$${ac_var}
1456 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1457 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1461 # Report the --help message.
1463 if test "$ac_init_help" = "long"; then
1464 # Omit some internal or obsolete options to make the list less imposing.
1465 # This message is too long to be a string in the A/UX 3.1 sh.
1467 \`configure' configures glabels 3.2.1 to adapt to many kinds of systems.
1469 Usage: $0 [OPTION]... [VAR=VALUE]...
1471 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1472 VAR=VALUE. See below for descriptions of some of the useful variables.
1474 Defaults for the options are specified in brackets.
1477 -h, --help display this help and exit
1478 --help=short display options specific to this package
1479 --help=recursive display the short help of all the included packages
1480 -V, --version display version information and exit
1481 -q, --quiet, --silent do not print \`checking ...' messages
1482 --cache-file=FILE cache test results in FILE [disabled]
1483 -C, --config-cache alias for \`--cache-file=config.cache'
1484 -n, --no-create do not create output files
1485 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1487 Installation directories:
1488 --prefix=PREFIX install architecture-independent files in PREFIX
1489 [$ac_default_prefix]
1490 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1493 By default, \`make install' will install all the files in
1494 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1495 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1496 for instance \`--prefix=\$HOME'.
1498 For better control, use the options below.
1500 Fine tuning of the installation directories:
1501 --bindir=DIR user executables [EPREFIX/bin]
1502 --sbindir=DIR system admin executables [EPREFIX/sbin]
1503 --libexecdir=DIR program executables [EPREFIX/libexec]
1504 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1505 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1506 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1507 --libdir=DIR object code libraries [EPREFIX/lib]
1508 --includedir=DIR C header files [PREFIX/include]
1509 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1510 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1511 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1512 --infodir=DIR info documentation [DATAROOTDIR/info]
1513 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1514 --mandir=DIR man documentation [DATAROOTDIR/man]
1515 --docdir=DIR documentation root [DATAROOTDIR/doc/glabels]
1516 --htmldir=DIR html documentation [DOCDIR]
1517 --dvidir=DIR dvi documentation [DOCDIR]
1518 --pdfdir=DIR pdf documentation [DOCDIR]
1519 --psdir=DIR ps documentation [DOCDIR]
1525 --program-prefix=PREFIX prepend PREFIX to installed program names
1526 --program-suffix=SUFFIX append SUFFIX to installed program names
1527 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1530 --build=BUILD configure for building on BUILD [guessed]
1531 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1535 if test -n "$ac_init_help"; then
1536 case $ac_init_help in
1537 short | recursive ) echo "Configuration of glabels 3.2.1:";;
1542 --disable-option-checking ignore unrecognized --enable/--with options
1543 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1544 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1545 --enable-silent-rules less verbose build output (undo: "make V=1")
1546 --disable-silent-rules verbose build output (undo: "make V=0")
1547 --enable-maintainer-mode
1548 enable make rules and dependencies not useful (and
1549 sometimes confusing) to the casual installer
1550 --disable-nls do not use Native Language Support
1551 --enable-dependency-tracking
1552 do not reject slow dependency extractors
1553 --disable-dependency-tracking
1554 speeds up one-time build
1555 --enable-shared[=PKGS] build shared libraries [default=yes]
1556 --enable-static[=PKGS] build static libraries [default=yes]
1557 --enable-fast-install[=PKGS]
1558 optimize for fast installation [default=yes]
1559 --disable-libtool-lock avoid locking (might break parallel builds)
1560 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1561 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1562 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1563 --disable-schemas-compile
1564 Disable regeneration of gschemas.compiled on install
1565 --enable-compile-warnings=[no/minimum/yes/maximum/error]
1566 Turn on compiler warnings
1567 --enable-iso-c Try to warn if code is not ISO C
1568 --enable-deprecations warn about deprecated usages [default=no]
1571 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1572 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1573 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1575 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1576 --with-sysroot=DIR Search for dependent libraries within DIR
1577 (or the compiler's sysroot if not specified).
1578 --with-help-dir=DIR path where help files are installed
1579 --with-html-dir=PATH path to installed docs
1580 --without-libebook build without Evolution Data Server support
1581 --without-libbarcode build without GNU Barcode support
1582 --without-libzint build without Zint Barcode support
1583 --without-libqrencode build without QR code support
1584 --without-libiec16022 build without IEC 16022 support
1586 Some influential environment variables:
1587 CC C compiler command
1588 CFLAGS C compiler flags
1589 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1590 nonstandard directory <lib dir>
1591 LIBS libraries to pass to the linker, e.g. -l<library>
1592 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1593 you have headers in a nonstandard directory <include dir>
1594 PKG_CONFIG path to pkg-config utility
1596 directories to add to pkg-config's search path
1598 path overriding pkg-config's built-in search path
1600 ITSTOOL Path to the `itstool` command
1601 XMLLINT Path to the `xmllint` command
1603 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1605 linker flags for GTKDOC_DEPS, overriding pkg-config
1607 C compiler flags for GLABELS, overriding pkg-config
1609 linker flags for GLABELS, overriding pkg-config
1611 C compiler flags for LIBGLABELS, overriding pkg-config
1613 linker flags for LIBGLABELS, overriding pkg-config
1615 C compiler flags for LIBGLBARCODE, overriding pkg-config
1617 linker flags for LIBGLBARCODE, overriding pkg-config
1619 C compiler flags for LIBEBOOK, overriding pkg-config
1621 linker flags for LIBEBOOK, overriding pkg-config
1623 C compiler flags for LIBQRENCODE, overriding pkg-config
1625 linker flags for LIBQRENCODE, overriding pkg-config
1627 C compiler flags for LIBIEC16022, overriding pkg-config
1629 linker flags for LIBIEC16022, overriding pkg-config
1631 Use these variables to override the choices made by `configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1634 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1639 if test "$ac_init_help" = "recursive"; then
1640 # If there are subdirs, report their specific --help.
1641 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642 test -d "$ac_dir" ||
1643 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1651 # A ".." for each directory in $ac_dir_suffix.
1652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1653 case $ac_top_builddir_sub in
1654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1664 .) # We are building in place.
1666 ac_top_srcdir=$ac_top_builddir_sub
1667 ac_abs_top_srcdir=$ac_pwd ;;
1668 [\\/]* | ?:[\\/]* ) # Absolute name.
1669 ac_srcdir=$srcdir$ac_dir_suffix;
1670 ac_top_srcdir=$srcdir
1671 ac_abs_top_srcdir=$srcdir ;;
1673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674 ac_top_srcdir=$ac_top_build_prefix$srcdir
1675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679 cd "$ac_dir" || { ac_status=$?; continue; }
1680 # Check for guested configure.
1681 if test -f "$ac_srcdir/configure.gnu"; then
1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684 elif test -f "$ac_srcdir/configure"; then
1686 $SHELL "$ac_srcdir/configure" --help=recursive
1688 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 cd "$ac_pwd" || { ac_status=$?; break; }
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1697 glabels configure 3.2.1
1698 generated by GNU Autoconf 2.69
1700 Copyright (C) 2012 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1747 } # ac_fn_c_try_compile
1749 # ac_fn_c_try_link LINENO
1750 # -----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext conftest$ac_exeext
1756 if { { ac_try="$ac_link"
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>conftest.err
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest$ac_exeext && {
1775 test "$cross_compiling" = yes ||
1776 test -x conftest$ac_exeext
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1785 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1786 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1787 # interfere with the next link command; also delete a directory that is
1788 # left behind by Apple's compiler. We do this before executing the actions.
1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1793 } # ac_fn_c_try_link
1795 # ac_fn_c_check_func LINENO FUNC VAR
1796 # ----------------------------------
1797 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1798 ac_fn_c_check_func ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804 $as_echo_n "(cached) " >&6
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1808 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1810 #define $2 innocuous_$2
1812 /* System header to define __stub macros and hopefully few prototypes,
1813 which can conflict with char $2 (); below.
1814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1815 <limits.h> exists even on freestanding compilers. */
1818 # include <limits.h>
1820 # include <assert.h>
1825 /* Override any GCC internal prototype to avoid an error.
1826 Use char because int might match the return type of a GCC
1827 builtin and then its argument prototype would still apply. */
1832 /* The GNU C library defines this for functions which it implements
1833 to always fail with ENOSYS. Some functions are actually named
1834 something starting with __ and the normal name is an alias. */
1835 #if defined __stub_$2 || defined __stub___$2
1847 if ac_fn_c_try_link "$LINENO"; then :
1852 rm -f core conftest.err conftest.$ac_objext \
1853 conftest$ac_exeext conftest.$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 } # ac_fn_c_check_func
1862 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1863 # -------------------------------------------------------
1864 # Tests whether HEADER exists and can be compiled using the include files in
1865 # INCLUDES, setting the cache variable VAR accordingly.
1866 ac_fn_c_check_header_compile ()
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if eval \${$3+:} false; then :
1872 $as_echo_n "(cached) " >&6
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1879 if ac_fn_c_try_compile "$LINENO"; then :
1884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 } # ac_fn_c_check_header_compile
1893 # ac_fn_c_try_cpp LINENO
1894 # ----------------------
1895 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 if { { ac_try="$ac_cpp conftest.$ac_ext"
1901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1902 *) ac_try_echo=$ac_try;;
1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1908 if test -s conftest.err; then
1909 grep -v '^ *+' conftest.err >conftest.er1
1910 cat conftest.er1 >&5
1911 mv -f conftest.er1 conftest.err
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; } > conftest.i && {
1915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1916 test ! -s conftest.err
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 as_fn_set_status $ac_retval
1930 # ac_fn_c_try_run LINENO
1931 # ----------------------
1932 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1933 # that executables *can* be run.
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937 if { { ac_try="$ac_link"
1939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1940 *) ac_try_echo=$ac_try;;
1942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943 $as_echo "$ac_try_echo"; } >&5
1944 (eval "$ac_link") 2>&5
1946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1948 { { case "(($ac_try" in
1949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1950 *) ac_try_echo=$ac_try;;
1952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1953 $as_echo "$ac_try_echo"; } >&5
1954 (eval "$ac_try") 2>&5
1956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1957 test $ac_status = 0; }; }; then :
1960 $as_echo "$as_me: program exited with status $ac_status" >&5
1961 $as_echo "$as_me: failed program was:" >&5
1962 sed 's/^/| /' conftest.$ac_ext >&5
1964 ac_retval=$ac_status
1966 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 as_fn_set_status $ac_retval
1972 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1973 # -------------------------------------------------------
1974 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1975 # the include files in INCLUDES and setting the cache variable VAR
1977 ac_fn_c_check_header_mongrel ()
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if eval \${$3+:} false; then :
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \${$3+:} false; then :
1984 $as_echo_n "(cached) " >&6
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1990 # Is the header compilable?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1992 $as_echo_n "checking $2 usability... " >&6; }
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1998 if ac_fn_c_try_compile "$LINENO"; then :
1999 ac_header_compiler=yes
2001 ac_header_compiler=no
2003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2005 $as_echo "$ac_header_compiler" >&6; }
2007 # Is the header present?
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2009 $as_echo_n "checking $2 presence... " >&6; }
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2014 if ac_fn_c_try_cpp "$LINENO"; then :
2015 ac_header_preproc=yes
2017 ac_header_preproc=no
2019 rm -f conftest.err conftest.i conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2021 $as_echo "$ac_header_preproc" >&6; }
2023 # So? What about this header?
2024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2027 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2029 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2033 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2035 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2037 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2039 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2042 ( $as_echo "## ---------------------------------------------------------------------- ##
2043 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2044 ## ---------------------------------------------------------------------- ##"
2045 ) | sed "s/^/$as_me: WARNING: /" >&2
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \${$3+:} false; then :
2051 $as_echo_n "(cached) " >&6
2053 eval "$3=\$ac_header_compiler"
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057 $as_echo "$ac_res" >&6; }
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2061 } # ac_fn_c_check_header_mongrel
2062 cat >config.log <<_ACEOF
2063 This file contains any messages produced by compilers while
2064 running configure, to aid debugging if configure makes a mistake.
2066 It was created by glabels $as_me 3.2.1, which was
2067 generated by GNU Autoconf 2.69. Invocation command line was
2079 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2080 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2081 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2082 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2083 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2085 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2086 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2088 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2089 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2090 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2091 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2092 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2093 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2094 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir=.
2103 $as_echo "PATH: $as_dir"
2119 # Keep a trace of the command line.
2120 # Strip out --no-create and --no-recursion so they do not pile up.
2121 # Strip out --silent because we don't want to record it for future runs.
2122 # Also quote any args containing shell meta-characters.
2123 # Make two passes to allow for proper duplicate-argument suppression.
2127 ac_must_keep_next=false
2133 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2135 | -silent | --silent | --silen | --sile | --sil)
2138 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2141 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2143 as_fn_append ac_configure_args1 " '$ac_arg'"
2144 if test $ac_must_keep_next = true; then
2145 ac_must_keep_next=false # Got value, back to normal.
2148 *=* | --config-cache | -C | -disable-* | --disable-* \
2149 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2150 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2151 | -with-* | --with-* | -without-* | --without-* | --x)
2152 case "$ac_configure_args0 " in
2153 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2156 -* ) ac_must_keep_next=true ;;
2159 as_fn_append ac_configure_args " '$ac_arg'"
2164 { ac_configure_args0=; unset ac_configure_args0;}
2165 { ac_configure_args1=; unset ac_configure_args1;}
2167 # When interrupted or exit'd, cleanup temporary files, and complete
2168 # config.log. We remove comments because anyway the quotes in there
2169 # would cause problems or look ugly.
2170 # WARNING: Use '\'' to represent an apostrophe within the trap.
2171 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2172 trap 'exit_status=$?
2173 # Save into config.log some information that might help in debugging.
2177 $as_echo "## ---------------- ##
2178 ## Cache variables. ##
2179 ## ---------------- ##"
2181 # The following way of writing the cache mishandles newlines in values,
2183 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2184 eval ac_val=\$$ac_var
2188 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2192 _ | IFS | as_nl) ;; #(
2193 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2194 *) { eval $ac_var=; unset $ac_var;} ;;
2199 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2200 *${as_nl}ac_space=\ *)
2202 "s/'\''/'\''\\\\'\'''\''/g;
2203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2206 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2213 $as_echo "## ----------------- ##
2214 ## Output variables. ##
2215 ## ----------------- ##"
2217 for ac_var in $ac_subst_vars
2219 eval ac_val=\$$ac_var
2221 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2223 $as_echo "$ac_var='\''$ac_val'\''"
2227 if test -n "$ac_subst_files"; then
2228 $as_echo "## ------------------- ##
2229 ## File substitutions. ##
2230 ## ------------------- ##"
2232 for ac_var in $ac_subst_files
2234 eval ac_val=\$$ac_var
2236 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2238 $as_echo "$ac_var='\''$ac_val'\''"
2243 if test -s confdefs.h; then
2244 $as_echo "## ----------- ##
2251 test "$ac_signal" != 0 &&
2252 $as_echo "$as_me: caught signal $ac_signal"
2253 $as_echo "$as_me: exit $exit_status"
2255 rm -f core *.core core.conftest.* &&
2256 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2259 for ac_signal in 1 2 13 15; do
2260 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2264 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2265 rm -f -r conftest* confdefs.h
2267 $as_echo "/* confdefs.h */" > confdefs.h
2269 # Predefined preprocessor variables.
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_NAME "$PACKAGE_NAME"
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_STRING "$PACKAGE_STRING"
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_URL "$PACKAGE_URL"
2296 # Let the site file select an alternate cache file if it wants to.
2297 # Prefer an explicitly selected file to automatically selected ones.
2300 if test -n "$CONFIG_SITE"; then
2301 # We do not want a PATH search for config.site.
2302 case $CONFIG_SITE in #((
2303 -*) ac_site_file1=./$CONFIG_SITE;;
2304 */*) ac_site_file1=$CONFIG_SITE;;
2305 *) ac_site_file1=./$CONFIG_SITE;;
2307 elif test "x$prefix" != xNONE; then
2308 ac_site_file1=$prefix/share/config.site
2309 ac_site_file2=$prefix/etc/config.site
2311 ac_site_file1=$ac_default_prefix/share/config.site
2312 ac_site_file2=$ac_default_prefix/etc/config.site
2314 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2316 test "x$ac_site_file" = xNONE && continue
2317 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2319 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2322 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2324 as_fn_error $? "failed to load site script $ac_site_file
2325 See \`config.log' for more details" "$LINENO" 5; }
2329 if test -r "$cache_file"; then
2330 # Some versions of bash will fail to source /dev/null (special files
2331 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2332 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2334 $as_echo "$as_me: loading cache $cache_file" >&6;}
2336 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2337 *) . "./$cache_file";;
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2342 $as_echo "$as_me: creating cache $cache_file" >&6;}
2346 # Check that the precious variables saved in the cache have kept the same
2348 ac_cache_corrupted=false
2349 for ac_var in $ac_precious_vars; do
2350 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2351 eval ac_new_set=\$ac_env_${ac_var}_set
2352 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2353 eval ac_new_val=\$ac_env_${ac_var}_value
2354 case $ac_old_set,$ac_new_set in
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2357 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2358 ac_cache_corrupted=: ;;
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2361 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2362 ac_cache_corrupted=: ;;
2365 if test "x$ac_old_val" != "x$ac_new_val"; then
2366 # differences in whitespace do not lead to failure.
2367 ac_old_val_w=`echo x $ac_old_val`
2368 ac_new_val_w=`echo x $ac_new_val`
2369 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2371 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2372 ac_cache_corrupted=:
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2375 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2376 eval $ac_var=\$ac_old_val
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2379 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2381 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2384 # Pass precious variables to config.status.
2385 if test "$ac_new_set" = set; then
2387 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2388 *) ac_arg=$ac_var=$ac_new_val ;;
2390 case " $ac_configure_args " in
2391 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2392 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2396 if $ac_cache_corrupted; then
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2400 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2401 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2403 ## -------------------- ##
2404 ## Main body of script. ##
2405 ## -------------------- ##
2408 ac_cpp='$CPP $CPPFLAGS'
2409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417 am__api_version='1.14'
2420 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2421 if test -f "$ac_dir/install-sh"; then
2423 ac_install_sh="$ac_aux_dir/install-sh -c"
2425 elif test -f "$ac_dir/install.sh"; then
2427 ac_install_sh="$ac_aux_dir/install.sh -c"
2429 elif test -f "$ac_dir/shtool"; then
2431 ac_install_sh="$ac_aux_dir/shtool install -c"
2435 if test -z "$ac_aux_dir"; then
2436 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2439 # These three variables are undocumented and unsupported,
2440 # and are intended to be withdrawn in a future Autoconf release.
2441 # They can cause serious problems if a builder's source tree is in a directory
2442 # whose full name contains unusual characters.
2443 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2444 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2445 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2448 # Find a good install program. We prefer a C program (faster),
2449 # so one script is as good as another. But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if ${ac_cv_path_install+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in #((
2475 ./ | .// | /[cC]/* | \
2476 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2480 # OSF1 and SCO ODT 3.0 have their own names for install.
2481 # Don't use installbsd from OSF since it installs stuff as root
2483 for ac_prog in ginstall scoinst install; do
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2486 if test $ac_prog = install &&
2487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488 # AIX install. It has an incompatible calling convention.
2490 elif test $ac_prog = install &&
2491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492 # program-specific install script used by HP pwplus--don't use.
2495 rm -rf conftest.one conftest.two conftest.dir
2496 echo one > conftest.one
2497 echo two > conftest.two
2499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500 test -s conftest.one && test -s conftest.two &&
2501 test -s conftest.dir/conftest.one &&
2502 test -s conftest.dir/conftest.two
2504 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2517 rm -rf conftest.one conftest.two conftest.dir
2520 if test "${ac_cv_path_install+set}" = set; then
2521 INSTALL=$ac_cv_path_install
2523 # As a last resort, use the slow shell script. Don't cache a
2524 # value for INSTALL within a source directory, because that will
2525 # break other packages using the cache if that directory is
2526 # removed, or if the value is a relative name.
2527 INSTALL=$ac_install_sh
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542 $as_echo_n "checking whether build environment is sane... " >&6; }
2543 # Reject unsafe characters in $srcdir or the absolute working directory
2544 # name. Accept space and tab only in the latter.
2548 *[\\\"\#\$\&\'\`$am_lf]*)
2549 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2552 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2553 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2556 # Do 'set' in a subshell so we don't clobber the current shell's
2557 # arguments. Must try -L first in case configure is actually a
2558 # symlink; some systems play weird games with the mod time of symlinks
2559 # (eg FreeBSD returns the mod time of the symlink's containing
2563 for am_try in 1 2; do
2564 echo "timestamp, slept: $am_has_slept" > conftest.file
2565 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566 if test "$*" = "X"; then
2568 set X `ls -t "$srcdir/configure" conftest.file`
2570 if test "$*" != "X $srcdir/configure conftest.file" \
2571 && test "$*" != "X conftest.file $srcdir/configure"; then
2573 # If neither matched, then we have a broken ls. This can happen
2574 # if, for instance, CONFIG_SHELL is bash and it inherits a
2575 # broken ls alias from the environment. This has actually
2576 # happened. Such a system could not be considered "sane".
2577 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2578 alias in your environment" "$LINENO" 5
2580 if test "$2" = conftest.file || test $am_try -eq 2; then
2587 test "$2" = conftest.file
2593 as_fn_error $? "newly created file is older than distributed files!
2594 Check your system clock" "$LINENO" 5
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597 $as_echo "yes" >&6; }
2598 # If we didn't sleep, we still need to ensure time stamps of config.status and
2599 # generated files are strictly newer.
2601 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2608 test "$program_prefix" != NONE &&
2609 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2610 # Use a double $ so make ignores it.
2611 test "$program_suffix" != NONE &&
2612 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2613 # Double any \ or $.
2614 # By default was `s,x,x', remove it if useless.
2615 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2616 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2618 # expand $ac_aux_dir to an absolute path
2619 am_aux_dir=`cd $ac_aux_dir && pwd`
2621 if test x"${MISSING+set}" != xset; then
2624 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2626 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --is-lightweight"; then
2631 am_missing_run="$MISSING "
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2635 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2638 if test x"${install_sh}" != xset; then
2641 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2643 install_sh="\${SHELL} $am_aux_dir/install-sh"
2647 # Installed binaries are usually stripped using 'strip' when the user
2648 # run "make install-strip". However 'strip' might not be the right
2649 # tool to use in cross-compilation environments, therefore Automake
2650 # will honor the 'STRIP' environment variable to overrule this program.
2651 if test "$cross_compiling" != no; then
2652 if test -n "$ac_tool_prefix"; then
2653 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2654 set dummy ${ac_tool_prefix}strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_STRIP+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$STRIP"; then
2661 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 STRIP=$ac_cv_prog_STRIP
2681 if test -n "$STRIP"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2683 $as_echo "$STRIP" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2691 if test -z "$ac_cv_prog_STRIP"; then
2693 # Extract the first word of "strip", so it can be a program name with args.
2694 set dummy strip; ac_word=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2698 $as_echo_n "(cached) " >&6
2700 if test -n "$ac_ct_STRIP"; then
2701 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710 ac_cv_prog_ac_ct_STRIP="strip"
2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2721 if test -n "$ac_ct_STRIP"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2723 $as_echo "$ac_ct_STRIP" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2729 if test "x$ac_ct_STRIP" = x; then
2732 case $cross_compiling:$ac_tool_warned in
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736 ac_tool_warned=yes ;;
2741 STRIP="$ac_cv_prog_STRIP"
2745 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2748 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2749 if test -z "$MKDIR_P"; then
2750 if ${ac_cv_path_mkdir+:} false; then :
2751 $as_echo_n "(cached) " >&6
2753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2757 test -z "$as_dir" && as_dir=.
2758 for ac_prog in mkdir gmkdir; do
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2761 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2762 'mkdir (GNU coreutils) '* | \
2763 'mkdir (coreutils) '* | \
2764 'mkdir (fileutils) '4.1*)
2765 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2775 test -d ./--version && rmdir ./--version
2776 if test "${ac_cv_path_mkdir+set}" = set; then
2777 MKDIR_P="$ac_cv_path_mkdir -p"
2779 # As a last resort, use the slow shell script. Don't cache a
2780 # value for MKDIR_P within a source directory, because that will
2781 # break other packages using the cache if that directory is
2782 # removed, or if the value is a relative name.
2783 MKDIR_P="$ac_install_sh -d"
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2787 $as_echo "$MKDIR_P" >&6; }
2789 for ac_prog in gawk mawk nawk awk
2791 # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy $ac_prog; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_AWK+:} false; then :
2796 $as_echo_n "(cached) " >&6
2798 if test -n "$AWK"; then
2799 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_AWK="$ac_prog"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test -n "$AWK"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2821 $as_echo "$AWK" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2828 test -n "$AWK" && break
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2832 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2834 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2835 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2836 $as_echo_n "(cached) " >&6
2838 cat >conftest.make <<\_ACEOF
2841 @echo '@@@%%%=$(MAKE)=@@@%%%'
2843 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2846 eval ac_cv_prog_make_${ac_make}_set=yes;;
2848 eval ac_cv_prog_make_${ac_make}_set=no;;
2852 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854 $as_echo "yes" >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2859 SET_MAKE="MAKE=${MAKE-make}"
2862 rm -rf .tst 2>/dev/null
2863 mkdir .tst 2>/dev/null
2864 if test -d .tst; then
2869 rmdir .tst 2>/dev/null
2871 # Check whether --enable-silent-rules was given.
2872 if test "${enable_silent_rules+set}" = set; then :
2873 enableval=$enable_silent_rules;
2876 case $enable_silent_rules in # (((
2877 yes) AM_DEFAULT_VERBOSITY=0;;
2878 no) AM_DEFAULT_VERBOSITY=1;;
2879 *) AM_DEFAULT_VERBOSITY=1;;
2881 am_make=${MAKE-make}
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2883 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2884 if ${am_cv_make_support_nested_variables+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if $as_echo 'TRUE=$(BAR$(V))
2893 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2894 am_cv_make_support_nested_variables=yes
2896 am_cv_make_support_nested_variables=no
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2900 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2901 if test $am_cv_make_support_nested_variables = yes; then
2903 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2905 AM_V=$AM_DEFAULT_VERBOSITY
2906 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2911 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2912 # is not polluted with repeated "-I."
2913 am__isrc=' -I$(srcdir)'
2914 # test to see if srcdir already configured
2915 if test -f $srcdir/config.status; then
2916 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2920 # test whether we have cygpath
2921 if test -z "$CYGPATH_W"; then
2922 if (cygpath --version) >/dev/null 2>/dev/null; then
2923 CYGPATH_W='cygpath -w'
2930 # Define the identity of the package.
2936 cat >>confdefs.h <<_ACEOF
2937 #define PACKAGE "$PACKAGE"
2941 cat >>confdefs.h <<_ACEOF
2942 #define VERSION "$VERSION"
2945 # Some tools Automake needs.
2947 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2950 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2953 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2956 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2959 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2961 # For better backward compatibility. To be removed once Automake 1.9.x
2962 # dies out for good. For more background, see:
2963 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2964 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2965 mkdir_p='$(MKDIR_P)'
2967 # We need awk for the "check" target. The system "awk" is bad on
2969 # Always define AMTAR for backward compatibility. Yes, it's still used
2970 # in the wild :-( We should find a proper way to deprecate it ...
2974 # We'll loop over all known methods to create a tar archive until one works.
2975 _am_tools='gnutar pax cpio none'
2977 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2984 # POSIX will say in a future version that running "rm -f" with no argument
2985 # is OK; and we want to be able to make that assumption in our Makefile
2986 # recipes. So use an aggressive probe to check that the usage we want is
2987 # actually supported "in the wild" to an acceptable degree.
2988 # See automake bug#10828.
2989 # To make any issue more visible, cause the running configure to be aborted
2990 # by default if the 'rm' program in use doesn't match our expectations; the
2991 # user can still override this though.
2992 if rm -f && rm -fr && rm -rf; then : OK; else
2996 Your 'rm' program seems unable to run without file operands specified
2997 on the command line, even when the '-f' option is present. This is contrary
2998 to the behaviour of most rm programs out there, and not conforming with
2999 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3001 Please tell bug-automake@gnu.org about your system, including the value
3002 of your $PATH and any error possibly output before this message. This
3003 can help us improve future automake versions.
3006 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3007 echo 'Configuration will proceed anyway, since you have set the' >&2
3008 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3012 Aborting the configuration process, to ensure you take notice of the issue.
3014 You can download and install GNU coreutils to get an 'rm' implementation
3015 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3017 If you want to complete the configuration process using your problematic
3018 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3019 to "yes", and re-run configure.
3022 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3028 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3029 # Check whether --enable-maintainer-mode was given.
3030 if test "${enable_maintainer_mode+set}" = set; then :
3031 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3033 USE_MAINTAINER_MODE=no
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3037 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3038 if test $USE_MAINTAINER_MODE = yes; then
3039 MAINTAINER_MODE_TRUE=
3040 MAINTAINER_MODE_FALSE='#'
3042 MAINTAINER_MODE_TRUE='#'
3043 MAINTAINER_MODE_FALSE=
3046 MAINT=$MAINTAINER_MODE_TRUE
3049 # Check whether --enable-silent-rules was given.
3050 if test "${enable_silent_rules+set}" = set; then :
3051 enableval=$enable_silent_rules;
3054 case $enable_silent_rules in # (((
3055 yes) AM_DEFAULT_VERBOSITY=0;;
3056 no) AM_DEFAULT_VERBOSITY=1;;
3057 *) AM_DEFAULT_VERBOSITY=0;;
3059 am_make=${MAKE-make}
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3061 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3062 if ${am_cv_make_support_nested_variables+:} false; then :
3063 $as_echo_n "(cached) " >&6
3065 if $as_echo 'TRUE=$(BAR$(V))
3071 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3072 am_cv_make_support_nested_variables=yes
3074 am_cv_make_support_nested_variables=no
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3078 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3079 if test $am_cv_make_support_nested_variables = yes; then
3081 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3083 AM_V=$AM_DEFAULT_VERBOSITY
3084 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3089 ac_config_headers="$ac_config_headers config.h"
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3094 $as_echo_n "checking whether NLS is requested... " >&6; }
3095 # Check whether --enable-nls was given.
3096 if test "${enable_nls+set}" = set; then :
3097 enableval=$enable_nls; USE_NLS=$enableval
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3103 $as_echo "$USE_NLS" >&6; }
3106 DEPDIR="${am__leading_dot}deps"
3108 ac_config_commands="$ac_config_commands depfiles"
3111 am_make=${MAKE-make}
3112 cat > confinc << 'END'
3114 @echo this is the am__doit target
3117 # If we don't find an include directive, just comment out the code.
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3119 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3123 # First try GNU make style include.
3124 echo "include confinc" > confmf
3125 # Ignore all kinds of additional output from 'make'.
3126 case `$am_make -s -f confmf 2> /dev/null` in #(
3127 *the\ am__doit\ target*)
3133 # Now try BSD make style include.
3134 if test "$am__include" = "#"; then
3135 echo '.include "confinc"' > confmf
3136 case `$am_make -s -f confmf 2> /dev/null` in #(
3137 *the\ am__doit\ target*)
3138 am__include=.include
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3147 $as_echo "$_am_result" >&6; }
3148 rm -f confinc confmf
3150 # Check whether --enable-dependency-tracking was given.
3151 if test "${enable_dependency_tracking+set}" = set; then :
3152 enableval=$enable_dependency_tracking;
3155 if test "x$enable_dependency_tracking" != xno; then
3156 am_depcomp="$ac_aux_dir/depcomp"
3160 if test "x$enable_dependency_tracking" != xno; then
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3174 if test -n "$ac_tool_prefix"; then
3175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3176 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_CC+:} false; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$CC"; then
3183 ac_cv_prog_CC="$CC" # Let the user override the test.
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test -n "$CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3205 $as_echo "$CC" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3213 if test -z "$ac_cv_prog_CC"; then
3215 # Extract the first word of "gcc", so it can be a program name with args.
3216 set dummy gcc; ac_word=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3220 $as_echo_n "(cached) " >&6
3222 if test -n "$ac_ct_CC"; then
3223 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232 ac_cv_prog_ac_ct_CC="gcc"
3233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3243 if test -n "$ac_ct_CC"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3245 $as_echo "$ac_ct_CC" >&6; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3251 if test "x$ac_ct_CC" = x; then
3254 case $cross_compiling:$ac_tool_warned in
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3258 ac_tool_warned=yes ;;
3266 if test -z "$CC"; then
3267 if test -n "$ac_tool_prefix"; then
3268 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3269 set dummy ${ac_tool_prefix}cc; ac_word=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if ${ac_cv_prog_CC+:} false; then :
3273 $as_echo_n "(cached) " >&6
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC="$CC" # Let the user override the test.
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir=.
3283 for ac_exec_ext in '' $ac_executable_extensions; do
3284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3285 ac_cv_prog_CC="${ac_tool_prefix}cc"
3286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 if test -n "$CC"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3298 $as_echo "$CC" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3307 if test -z "$CC"; then
3308 # Extract the first word of "cc", so it can be a program name with args.
3309 set dummy cc; ac_word=$2
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311 $as_echo_n "checking for $ac_word... " >&6; }
3312 if ${ac_cv_prog_CC+:} false; then :
3313 $as_echo_n "(cached) " >&6
3315 if test -n "$CC"; then
3316 ac_cv_prog_CC="$CC" # Let the user override the test.
3319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir=.
3324 for ac_exec_ext in '' $ac_executable_extensions; do
3325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3327 ac_prog_rejected=yes
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338 if test $ac_prog_rejected = yes; then
3339 # We found a bogon in the path, so make sure we never use it.
3340 set dummy $ac_cv_prog_CC
3342 if test $# != 0; then
3343 # We chose a different compiler from the bogus one.
3344 # However, it has the same basename, so the bogon will be chosen
3345 # first if we set CC to just the basename; use the full file name.
3347 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3353 if test -n "$CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3363 if test -z "$CC"; then
3364 if test -n "$ac_tool_prefix"; then
3365 for ac_prog in cl.exe
3367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3368 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if ${ac_cv_prog_CC+:} false; then :
3372 $as_echo_n "(cached) " >&6
3374 if test -n "$CC"; then
3375 ac_cv_prog_CC="$CC" # Let the user override the test.
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir=.
3382 for ac_exec_ext in '' $ac_executable_extensions; do
3383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3384 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 if test -n "$CC"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3397 $as_echo "$CC" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3404 test -n "$CC" && break
3407 if test -z "$CC"; then
3409 for ac_prog in cl.exe
3411 # Extract the first word of "$ac_prog", so it can be a program name with args.
3412 set dummy $ac_prog; ac_word=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$ac_ct_CC"; then
3419 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir=.
3426 for ac_exec_ext in '' $ac_executable_extensions; do
3427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3428 ac_cv_prog_ac_ct_CC="$ac_prog"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3439 if test -n "$ac_ct_CC"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3441 $as_echo "$ac_ct_CC" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3448 test -n "$ac_ct_CC" && break
3451 if test "x$ac_ct_CC" = x; then
3454 case $cross_compiling:$ac_tool_warned in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3458 ac_tool_warned=yes ;;
3467 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 as_fn_error $? "no acceptable C compiler found in \$PATH
3470 See \`config.log' for more details" "$LINENO" 5; }
3472 # Provide some information about the compiler.
3473 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3476 for ac_option in --version -v -V -qversion; do
3477 { { ac_try="$ac_compiler $ac_option >&5"
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3486 if test -s conftest.err; then
3488 ... rest of stderr output deleted ...
3489 10q' conftest.err >conftest.er1
3490 cat conftest.er1 >&5
3492 rm -f conftest.er1 conftest.err
3493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494 test $ac_status = 0; }
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3508 ac_clean_files_save=$ac_clean_files
3509 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3510 # Try to create an executable without -o first, disregard a.out.
3511 # It will help us diagnose broken compilers, and finding out an intuition
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3514 $as_echo_n "checking whether the C compiler works... " >&6; }
3515 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3517 # The possible output files:
3518 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3521 for ac_file in $ac_files
3524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3525 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3530 if { { ac_try="$ac_link_default"
3532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533 *) ac_try_echo=$ac_try;;
3535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_link_default") 2>&5
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }; then :
3541 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3542 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3543 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3544 # so that the user can short-circuit this test for compilers unknown to
3546 for ac_file in $ac_files ''
3548 test -f "$ac_file" || continue
3550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3553 # We found the default executable, but exeext='' is most
3557 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3559 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3561 # We set ac_cv_exeext here because the later test for it is not
3562 # safe: cross compilers may not add the suffix if given an `-o'
3563 # argument, so we may need to know it at that point already.
3564 # Even if this section looks crufty: it has the advantage of
3571 test "$ac_cv_exeext" = no && ac_cv_exeext=
3576 if test -z "$ac_file"; then :
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579 $as_echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.$ac_ext >&5
3582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 as_fn_error 77 "C compiler cannot create executables
3585 See \`config.log' for more details" "$LINENO" 5; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3588 $as_echo "yes" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3591 $as_echo_n "checking for C compiler default output file name... " >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3593 $as_echo "$ac_file" >&6; }
3594 ac_exeext=$ac_cv_exeext
3596 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3597 ac_clean_files=$ac_clean_files_save
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3599 $as_echo_n "checking for suffix of executables... " >&6; }
3600 if { { ac_try="$ac_link"
3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606 $as_echo "$ac_try_echo"; } >&5
3607 (eval "$ac_link") 2>&5
3609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3610 test $ac_status = 0; }; then :
3611 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3612 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3613 # work properly (i.e., refer to `conftest.exe'), while it won't with
3615 for ac_file in conftest.exe conftest conftest.*; do
3616 test -f "$ac_file" || continue
3618 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3619 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3628 See \`config.log' for more details" "$LINENO" 5; }
3630 rm -f conftest conftest$ac_cv_exeext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3632 $as_echo "$ac_cv_exeext" >&6; }
3634 rm -f conftest.$ac_ext
3635 EXEEXT=$ac_cv_exeext
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3643 FILE *f = fopen ("conftest.out", "w");
3644 return ferror (f) || fclose (f) != 0;
3650 ac_clean_files="$ac_clean_files conftest.out"
3651 # Check that the compiler produces executables we can run. If not, either
3652 # the compiler is broken, or we cross compile.
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3654 $as_echo_n "checking whether we are cross compiling... " >&6; }
3655 if test "$cross_compiling" != yes; then
3656 { { ac_try="$ac_link"
3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 $as_echo "$ac_try_echo"; } >&5
3663 (eval "$ac_link") 2>&5
3665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666 test $ac_status = 0; }
3667 if { ac_try='./conftest$ac_cv_exeext'
3668 { { case "(($ac_try" in
3669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670 *) ac_try_echo=$ac_try;;
3672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673 $as_echo "$ac_try_echo"; } >&5
3674 (eval "$ac_try") 2>&5
3676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677 test $ac_status = 0; }; }; then
3680 if test "$cross_compiling" = maybe; then
3683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 as_fn_error $? "cannot run C compiled programs.
3686 If you meant to cross compile, use \`--host'.
3687 See \`config.log' for more details" "$LINENO" 5; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3692 $as_echo "$cross_compiling" >&6; }
3694 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3695 ac_clean_files=$ac_clean_files_save
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3697 $as_echo_n "checking for suffix of object files... " >&6; }
3698 if ${ac_cv_objext+:} false; then :
3699 $as_echo_n "(cached) " >&6
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 rm -f conftest.o conftest.obj
3713 if { { ac_try="$ac_compile"
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3719 $as_echo "$ac_try_echo"; } >&5
3720 (eval "$ac_compile") 2>&5
3722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723 test $ac_status = 0; }; then :
3724 for ac_file in conftest.o conftest.obj conftest.*; do
3725 test -f "$ac_file" || continue;
3727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3728 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3733 $as_echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738 as_fn_error $? "cannot compute suffix of object files: cannot compile
3739 See \`config.log' for more details" "$LINENO" 5; }
3741 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3744 $as_echo "$ac_cv_objext" >&6; }
3745 OBJEXT=$ac_cv_objext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3748 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3749 if ${ac_cv_c_compiler_gnu+:} false; then :
3750 $as_echo_n "(cached) " >&6
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3766 if ac_fn_c_try_compile "$LINENO"; then :
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3776 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3777 if test $ac_compiler_gnu = yes; then
3782 ac_test_CFLAGS=${CFLAGS+set}
3783 ac_save_CFLAGS=$CFLAGS
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3785 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3786 if ${ac_cv_prog_cc_g+:} false; then :
3787 $as_echo_n "(cached) " >&6
3789 ac_save_c_werror_flag=$ac_c_werror_flag
3790 ac_c_werror_flag=yes
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3819 if ac_fn_c_try_compile "$LINENO"; then :
3822 ac_c_werror_flag=$ac_save_c_werror_flag
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3835 if ac_fn_c_try_compile "$LINENO"; then :
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 ac_c_werror_flag=$ac_save_c_werror_flag
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3846 $as_echo "$ac_cv_prog_cc_g" >&6; }
3847 if test "$ac_test_CFLAGS" = set; then
3848 CFLAGS=$ac_save_CFLAGS
3849 elif test $ac_cv_prog_cc_g = yes; then
3850 if test "$GCC" = yes; then
3856 if test "$GCC" = yes; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3863 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3864 if ${ac_cv_prog_cc_c89+:} false; then :
3865 $as_echo_n "(cached) " >&6
3867 ac_cv_prog_cc_c89=no
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3875 struct buf { int x; };
3876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3877 static char *e (p, i)
3883 static char *f (char * (*g) (char **, int), char **p, ...)
3888 s = g (p, va_arg (v,int));
3893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3894 function prototypes and stuff, but not '\xHH' hex character constants.
3895 These don't provoke an error unfortunately, instead are silently treated
3896 as 'x'. The following induces an error, until -std is added to get
3897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3898 array size at least. It's necessary to write '\x00'==0 to get something
3899 that's true only with -std. */
3900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3903 inside strings and character constants. */
3905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3907 int test (int i, double x);
3908 struct s1 {int (*f) (int a);};
3909 struct s2 {int (*f) (double a);};
3910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3924 CC="$ac_save_CC $ac_arg"
3925 if ac_fn_c_try_compile "$LINENO"; then :
3926 ac_cv_prog_cc_c89=$ac_arg
3928 rm -f core conftest.err conftest.$ac_objext
3929 test "x$ac_cv_prog_cc_c89" != "xno" && break
3931 rm -f conftest.$ac_ext
3936 case "x$ac_cv_prog_cc_c89" in
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3939 $as_echo "none needed" >&6; } ;;
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3942 $as_echo "unsupported" >&6; } ;;
3944 CC="$CC $ac_cv_prog_cc_c89"
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3946 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3948 if test "x$ac_cv_prog_cc_c89" != xno; then :
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3964 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3965 if ${am_cv_prog_cc_c_o+:} false; then :
3966 $as_echo_n "(cached) " >&6
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3979 # Make sure it works both with $CC and with simple cc.
3980 # Following AC_PROG_CC_C_O, we do the test twice because some
3981 # compilers refuse to overwrite an existing .o file with -o,
3982 # though they will create one.
3983 am_cv_prog_cc_c_o=yes
3985 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3986 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } \
3990 && test -f conftest2.$ac_objext; then
3993 am_cv_prog_cc_c_o=no
3997 rm -f core conftest*
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4001 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4002 if test "$am_cv_prog_cc_c_o" != yes; then
4003 # Losing compiler, so override with the script.
4004 # FIXME: It is wrong to rewrite CC.
4005 # But if we don't then we get into trouble of one sort or another.
4006 # A longer-term fix would be to have automake use am__CC in this case,
4007 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4008 CC="$am_aux_dir/compile $CC"
4011 ac_cpp='$CPP $CPPFLAGS'
4012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4017 depcc="$CC" am_compiler_list=
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4020 $as_echo_n "checking dependency style of $depcc... " >&6; }
4021 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4022 $as_echo_n "(cached) " >&6
4024 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4025 # We make a subdir and do the tests there. Otherwise we can end up
4026 # making bogus files that we don't know about and never remove. For
4027 # instance it was reported that on HP-UX the gcc test will end up
4028 # making a dummy file named 'D' -- because '-MD' means "put the output
4032 # Copy depcomp to subdir because otherwise we won't find it if we're
4033 # using a relative directory.
4034 cp "$am_depcomp" conftest.dir
4036 # We will build objects and dependencies in a subdirectory because
4037 # it helps to detect inapplicable dependency modes. For instance
4038 # both Tru64's cc and ICC support -MD to output dependencies as a
4039 # side effect of compilation, but ICC will put the dependencies in
4040 # the current directory while Tru64 will put them in the object
4044 am_cv_CC_dependencies_compiler_type=none
4045 if test "$am_compiler_list" = ""; then
4046 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4049 case " $depcc " in #(
4050 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4053 for depmode in $am_compiler_list; do
4054 # Setup a source with many dependencies, because some compilers
4055 # like to wrap large dependency lists on column 80 (with \), and
4056 # we should not choose a depcomp mode which is confused by this.
4058 # We need to recreate these files for each test, as the compiler may
4059 # overwrite some of them when testing with obscure command lines.
4060 # This happens at least with the AIX C compiler.
4062 for i in 1 2 3 4 5 6; do
4063 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4064 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4065 # Solaris 10 /bin/sh.
4066 echo '/* dummy */' > sub/conftst$i.h
4068 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4070 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4071 # mode. It turns out that the SunPro C++ compiler does not properly
4072 # handle '-M -o', and we need to detect this. Also, some Intel
4073 # versions had trouble with output in subdirs.
4074 am__obj=sub/conftest.${OBJEXT-o}
4075 am__minus_obj="-o $am__obj"
4078 # This depmode causes a compiler race in universal mode.
4079 test "$am__universal" = false || continue
4082 # After this tag, mechanisms are not by side-effect, so they'll
4083 # only be used when explicitly requested.
4084 if test "x$enable_dependency_tracking" = xyes; then
4090 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4091 # This compiler won't grok '-c -o', but also, the minuso test has
4092 # not run yet. These depmodes are late enough in the game, and
4093 # so weak that their functioning should not be impacted.
4094 am__obj=conftest.${OBJEXT-o}
4099 if depmode=$depmode \
4100 source=sub/conftest.c object=$am__obj \
4101 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4102 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4103 >/dev/null 2>conftest.err &&
4104 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4105 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4106 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4107 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4108 # icc doesn't choke on unknown options, it will just issue warnings
4109 # or remarks (even with -Werror). So we grep stderr for any message
4110 # that says an option was ignored or not supported.
4111 # When given -MP, icc 7.0 and 7.1 complain thusly:
4112 # icc: Command line warning: ignoring option '-M'; no argument required
4113 # The diagnosis changed in icc 8.0:
4114 # icc: Command line remark: option '-MP' not supported
4115 if (grep 'ignoring option' conftest.err ||
4116 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4117 am_cv_CC_dependencies_compiler_type=$depmode
4126 am_cv_CC_dependencies_compiler_type=none
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4131 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4132 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4135 test "x$enable_dependency_tracking" != xno \
4136 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4138 am__fastdepCC_FALSE='#'
4140 am__fastdepCC_TRUE='#'
4141 am__fastdepCC_FALSE=
4148 case "$am__api_version" in
4150 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4156 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4157 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4158 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4159 if test -n "0.21"; then
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
4161 $as_echo_n "checking for intltool >= 0.21... " >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4163 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4164 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4165 as_fn_error $? "Your intltool is too old. You need intltool 0.21 or later." "$LINENO" 5
4168 # Extract the first word of "intltool-update", so it can be a program name with args.
4169 set dummy intltool-update; ac_word=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4173 $as_echo_n "(cached) " >&6
4175 case $INTLTOOL_UPDATE in
4177 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir=.
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4187 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4199 if test -n "$INTLTOOL_UPDATE"; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4201 $as_echo "$INTLTOOL_UPDATE" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4208 # Extract the first word of "intltool-merge", so it can be a program name with args.
4209 set dummy intltool-merge; ac_word=$2
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211 $as_echo_n "checking for $ac_word... " >&6; }
4212 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 case $INTLTOOL_MERGE in
4217 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 test -z "$as_dir" && as_dir=.
4225 for ac_exec_ext in '' $ac_executable_extensions; do
4226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4227 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4239 if test -n "$INTLTOOL_MERGE"; then
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4241 $as_echo "$INTLTOOL_MERGE" >&6; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244 $as_echo "no" >&6; }
4248 # Extract the first word of "intltool-extract", so it can be a program name with args.
4249 set dummy intltool-extract; ac_word=$2
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4251 $as_echo_n "checking for $ac_word... " >&6; }
4252 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4253 $as_echo_n "(cached) " >&6
4255 case $INTLTOOL_EXTRACT in
4257 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4264 test -z "$as_dir" && as_dir=.
4265 for ac_exec_ext in '' $ac_executable_extensions; do
4266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4267 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4278 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4279 if test -n "$INTLTOOL_EXTRACT"; then
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4281 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4288 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4289 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4292 if test -z "$AM_DEFAULT_VERBOSITY"; then
4293 AM_DEFAULT_VERBOSITY=1
4297 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4298 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4299 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
4304 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4305 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4306 intltool__v_merge_options_0='-q'
4311 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 $< $@'
4312 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 $< $@'
4313 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 $< $@'
4314 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 $< $@'
4315 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 $< $@'
4316 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 $< $@'
4317 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 $< $@'
4318 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 $< $@'
4319 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 $< $@'
4320 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 $< $@'
4321 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 $< $@'
4322 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4323 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 $< $@'
4325 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'
4327 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 $< $@'
4328 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 $< $@'
4329 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 $< $@'
4330 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 $< $@'
4331 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 $< $@'
4332 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 $< $@'
4333 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 $< $@'
4431 # Check the gettext tools to make sure they are GNU
4432 # Extract the first word of "xgettext", so it can be a program name with args.
4433 set dummy xgettext; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_path_XGETTEXT+:} false; then :
4437 $as_echo_n "(cached) " >&6
4441 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 XGETTEXT=$ac_cv_path_XGETTEXT
4463 if test -n "$XGETTEXT"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4465 $as_echo "$XGETTEXT" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4472 # Extract the first word of "msgmerge", so it can be a program name with args.
4473 set dummy msgmerge; ac_word=$2
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if ${ac_cv_path_MSGMERGE+:} false; then :
4477 $as_echo_n "(cached) " >&6
4481 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 MSGMERGE=$ac_cv_path_MSGMERGE
4503 if test -n "$MSGMERGE"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4505 $as_echo "$MSGMERGE" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4512 # Extract the first word of "msgfmt", so it can be a program name with args.
4513 set dummy msgfmt; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if ${ac_cv_path_MSGFMT+:} false; then :
4517 $as_echo_n "(cached) " >&6
4521 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 MSGFMT=$ac_cv_path_MSGFMT
4543 if test -n "$MSGFMT"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4545 $as_echo "$MSGFMT" >&6; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4552 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4553 set dummy gmsgfmt; ac_word=$2
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4555 $as_echo_n "checking for $ac_word... " >&6; }
4556 if ${ac_cv_path_GMSGFMT+:} false; then :
4557 $as_echo_n "(cached) " >&6
4561 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4583 GMSGFMT=$ac_cv_path_GMSGFMT
4584 if test -n "$GMSGFMT"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4586 $as_echo "$GMSGFMT" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4593 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4594 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4596 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4597 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4598 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4599 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4600 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4603 # Extract the first word of "perl", so it can be a program name with args.
4604 set dummy perl; ac_word=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4608 $as_echo_n "(cached) " >&6
4610 case $INTLTOOL_PERL in
4612 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4634 if test -n "$INTLTOOL_PERL"; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4636 $as_echo "$INTLTOOL_PERL" >&6; }
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4643 if test -z "$INTLTOOL_PERL"; then
4644 as_fn_error $? "perl not found" "$LINENO" 5
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4647 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4648 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4649 if test $? -ne 0; then
4650 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4652 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4654 $as_echo "$IT_PERL_VERSION" >&6; }
4656 if test "x" != "xno-xml"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4658 $as_echo_n "checking for XML::Parser... " >&6; }
4659 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4661 $as_echo "ok" >&6; }
4663 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4667 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4670 # Set DATADIRNAME correctly if it is not set yet
4671 # (copied from glib-gettext.m4)
4672 if test -z "$DATADIRNAME"; then
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4679 extern int _nl_msg_cat_cntr;
4680 return _nl_msg_cat_cntr
4685 if ac_fn_c_try_link "$LINENO"; then :
4690 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4691 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4703 rm -f core conftest.err conftest.$ac_objext \
4704 conftest$ac_exeext conftest.$ac_ext
4719 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4720 if test -n "$ac_tool_prefix"; then
4721 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4722 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724 $as_echo_n "checking for $ac_word... " >&6; }
4725 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4726 $as_echo_n "(cached) " >&6
4730 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 test -z "$as_dir" && as_dir=.
4738 for ac_exec_ext in '' $ac_executable_extensions; do
4739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4740 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4752 if test -n "$PKG_CONFIG"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4754 $as_echo "$PKG_CONFIG" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4762 if test -z "$ac_cv_path_PKG_CONFIG"; then
4763 ac_pt_PKG_CONFIG=$PKG_CONFIG
4764 # Extract the first word of "pkg-config", so it can be a program name with args.
4765 set dummy pkg-config; ac_word=$2
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767 $as_echo_n "checking for $ac_word... " >&6; }
4768 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4769 $as_echo_n "(cached) " >&6
4771 case $ac_pt_PKG_CONFIG in
4773 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 test -z "$as_dir" && as_dir=.
4781 for ac_exec_ext in '' $ac_executable_extensions; do
4782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4783 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4795 if test -n "$ac_pt_PKG_CONFIG"; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4797 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4803 if test "x$ac_pt_PKG_CONFIG" = x; then
4806 case $cross_compiling:$ac_tool_warned in
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4810 ac_tool_warned=yes ;;
4812 PKG_CONFIG=$ac_pt_PKG_CONFIG
4815 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4819 if test -n "$PKG_CONFIG"; then
4820 _pkg_min_version=0.9.0
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4822 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4823 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4825 $as_echo "yes" >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4836 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4841 macro_version='2.4.2'
4842 macro_revision='1.3337'
4856 ltmain="$ac_aux_dir/ltmain.sh"
4858 # Make sure we can run config.sub.
4859 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4860 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4863 $as_echo_n "checking build system type... " >&6; }
4864 if ${ac_cv_build+:} false; then :
4865 $as_echo_n "(cached) " >&6
4867 ac_build_alias=$build_alias
4868 test "x$ac_build_alias" = x &&
4869 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4870 test "x$ac_build_alias" = x &&
4871 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4873 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4877 $as_echo "$ac_cv_build" >&6; }
4878 case $ac_cv_build in
4880 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4883 ac_save_IFS=$IFS; IFS='-'
4889 # Remember, the first character of IFS is used to create $*,
4890 # except with old shells:
4893 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4897 $as_echo_n "checking host system type... " >&6; }
4898 if ${ac_cv_host+:} false; then :
4899 $as_echo_n "(cached) " >&6
4901 if test "x$host_alias" = x; then
4902 ac_cv_host=$ac_cv_build
4904 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4905 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4910 $as_echo "$ac_cv_host" >&6; }
4913 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4916 ac_save_IFS=$IFS; IFS='-'
4922 # Remember, the first character of IFS is used to create $*,
4923 # except with old shells:
4926 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4929 # Backslashify metacharacters that are still active within
4930 # double-quoted strings.
4931 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4933 # Same as above, but do not quote variable references.
4934 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4936 # Sed substitution to delay expansion of an escaped shell variable in a
4937 # double_quote_subst'ed string.
4938 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4940 # Sed substitution to delay expansion of an escaped single quote.
4941 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4943 # Sed substitution to avoid accidental globbing in evaled expressions
4944 no_glob_subst='s/\*/\\\*/g'
4946 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4947 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4948 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4951 $as_echo_n "checking how to print strings... " >&6; }
4952 # Test print first, because it will be a builtin if present.
4953 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4954 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4956 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4959 # Use this function as a fallback that always works.
4960 func_fallback_echo ()
4962 eval 'cat <<_LTECHO_EOF
4966 ECHO='func_fallback_echo'
4969 # func_echo_all arg...
4970 # Invoke $ECHO with all args, space-separated.
4977 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4978 $as_echo "printf" >&6; } ;;
4979 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4980 $as_echo "print -r" >&6; } ;;
4981 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4982 $as_echo "cat" >&6; } ;;
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4999 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5000 if ${ac_cv_path_SED+:} false; then :
5001 $as_echo_n "(cached) " >&6
5003 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5004 for ac_i in 1 2 3 4 5 6 7; do
5005 ac_script="$ac_script$as_nl$ac_script"
5007 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5008 { ac_script=; unset ac_script;}
5009 if test -z "$SED"; then
5010 ac_path_SED_found=false
5011 # Loop through the user's path and test for each of PROGNAME-LIST
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir=.
5017 for ac_prog in sed gsed; do
5018 for ac_exec_ext in '' $ac_executable_extensions; do
5019 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5020 as_fn_executable_p "$ac_path_SED" || continue
5021 # Check for GNU ac_path_SED and select it if it is found.
5022 # Check for GNU $ac_path_SED
5023 case `"$ac_path_SED" --version 2>&1` in
5025 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5028 $as_echo_n 0123456789 >"conftest.in"
5031 cat "conftest.in" "conftest.in" >"conftest.tmp"
5032 mv "conftest.tmp" "conftest.in"
5033 cp "conftest.in" "conftest.nl"
5034 $as_echo '' >> "conftest.nl"
5035 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5036 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5037 as_fn_arith $ac_count + 1 && ac_count=$as_val
5038 if test $ac_count -gt ${ac_path_SED_max-0}; then
5039 # Best one so far, save it but keep looking for a better one
5040 ac_cv_path_SED="$ac_path_SED"
5041 ac_path_SED_max=$ac_count
5043 # 10*(2^10) chars as input seems more than enough
5044 test $ac_count -gt 10 && break
5046 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5049 $ac_path_SED_found && break 3
5054 if test -z "$ac_cv_path_SED"; then
5055 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5063 $as_echo "$ac_cv_path_SED" >&6; }
5064 SED="$ac_cv_path_SED"
5067 test -z "$SED" && SED=sed
5068 Xsed="$SED -e 1s/^X//"
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5081 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5082 if ${ac_cv_path_GREP+:} false; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -z "$GREP"; then
5086 ac_path_GREP_found=false
5087 # Loop through the user's path and test for each of PROGNAME-LIST
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5092 test -z "$as_dir" && as_dir=.
5093 for ac_prog in grep ggrep; do
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5096 as_fn_executable_p "$ac_path_GREP" || continue
5097 # Check for GNU ac_path_GREP and select it if it is found.
5098 # Check for GNU $ac_path_GREP
5099 case `"$ac_path_GREP" --version 2>&1` in
5101 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5104 $as_echo_n 0123456789 >"conftest.in"
5107 cat "conftest.in" "conftest.in" >"conftest.tmp"
5108 mv "conftest.tmp" "conftest.in"
5109 cp "conftest.in" "conftest.nl"
5110 $as_echo 'GREP' >> "conftest.nl"
5111 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5112 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5113 as_fn_arith $ac_count + 1 && ac_count=$as_val
5114 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5115 # Best one so far, save it but keep looking for a better one
5116 ac_cv_path_GREP="$ac_path_GREP"
5117 ac_path_GREP_max=$ac_count
5119 # 10*(2^10) chars as input seems more than enough
5120 test $ac_count -gt 10 && break
5122 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5125 $ac_path_GREP_found && break 3
5130 if test -z "$ac_cv_path_GREP"; then
5131 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5134 ac_cv_path_GREP=$GREP
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5139 $as_echo "$ac_cv_path_GREP" >&6; }
5140 GREP="$ac_cv_path_GREP"
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5144 $as_echo_n "checking for egrep... " >&6; }
5145 if ${ac_cv_path_EGREP+:} false; then :
5146 $as_echo_n "(cached) " >&6
5148 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5149 then ac_cv_path_EGREP="$GREP -E"
5151 if test -z "$EGREP"; then
5152 ac_path_EGREP_found=false
5153 # Loop through the user's path and test for each of PROGNAME-LIST
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5158 test -z "$as_dir" && as_dir=.
5159 for ac_prog in egrep; do
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5162 as_fn_executable_p "$ac_path_EGREP" || continue
5163 # Check for GNU ac_path_EGREP and select it if it is found.
5164 # Check for GNU $ac_path_EGREP
5165 case `"$ac_path_EGREP" --version 2>&1` in
5167 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5170 $as_echo_n 0123456789 >"conftest.in"
5173 cat "conftest.in" "conftest.in" >"conftest.tmp"
5174 mv "conftest.tmp" "conftest.in"
5175 cp "conftest.in" "conftest.nl"
5176 $as_echo 'EGREP' >> "conftest.nl"
5177 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5178 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5179 as_fn_arith $ac_count + 1 && ac_count=$as_val
5180 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5181 # Best one so far, save it but keep looking for a better one
5182 ac_cv_path_EGREP="$ac_path_EGREP"
5183 ac_path_EGREP_max=$ac_count
5185 # 10*(2^10) chars as input seems more than enough
5186 test $ac_count -gt 10 && break
5188 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5191 $ac_path_EGREP_found && break 3
5196 if test -z "$ac_cv_path_EGREP"; then
5197 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5200 ac_cv_path_EGREP=$EGREP
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5206 $as_echo "$ac_cv_path_EGREP" >&6; }
5207 EGREP="$ac_cv_path_EGREP"
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5211 $as_echo_n "checking for fgrep... " >&6; }
5212 if ${ac_cv_path_FGREP+:} false; then :
5213 $as_echo_n "(cached) " >&6
5215 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5216 then ac_cv_path_FGREP="$GREP -F"
5218 if test -z "$FGREP"; then
5219 ac_path_FGREP_found=false
5220 # Loop through the user's path and test for each of PROGNAME-LIST
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5225 test -z "$as_dir" && as_dir=.
5226 for ac_prog in fgrep; do
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5229 as_fn_executable_p "$ac_path_FGREP" || continue
5230 # Check for GNU ac_path_FGREP and select it if it is found.
5231 # Check for GNU $ac_path_FGREP
5232 case `"$ac_path_FGREP" --version 2>&1` in
5234 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5237 $as_echo_n 0123456789 >"conftest.in"
5240 cat "conftest.in" "conftest.in" >"conftest.tmp"
5241 mv "conftest.tmp" "conftest.in"
5242 cp "conftest.in" "conftest.nl"
5243 $as_echo 'FGREP' >> "conftest.nl"
5244 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5245 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5246 as_fn_arith $ac_count + 1 && ac_count=$as_val
5247 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5248 # Best one so far, save it but keep looking for a better one
5249 ac_cv_path_FGREP="$ac_path_FGREP"
5250 ac_path_FGREP_max=$ac_count
5252 # 10*(2^10) chars as input seems more than enough
5253 test $ac_count -gt 10 && break
5255 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5258 $ac_path_FGREP_found && break 3
5263 if test -z "$ac_cv_path_FGREP"; then
5264 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5267 ac_cv_path_FGREP=$FGREP
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5273 $as_echo "$ac_cv_path_FGREP" >&6; }
5274 FGREP="$ac_cv_path_FGREP"
5277 test -z "$GREP" && GREP=grep
5297 # Check whether --with-gnu-ld was given.
5298 if test "${with_gnu_ld+set}" = set; then :
5299 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5305 if test "$GCC" = yes; then
5306 # Check if gcc -print-prog-name=ld gives a path.
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5308 $as_echo_n "checking for ld used by $CC... " >&6; }
5311 # gcc leaves a trailing carriage return which upsets mingw
5312 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5314 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5317 # Accept absolute paths.
5319 re_direlt='/[^/][^/]*/\.\./'
5320 # Canonicalize the pathname of ld
5321 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5322 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5323 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5325 test -z "$LD" && LD="$ac_prog"
5328 # If it fails, then pretend we aren't using GCC.
5332 # If it is relative, then search for the first ld in PATH.
5336 elif test "$with_gnu_ld" = yes; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5338 $as_echo_n "checking for GNU ld... " >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5341 $as_echo_n "checking for non-GNU ld... " >&6; }
5343 if ${lt_cv_path_LD+:} false; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -z "$LD"; then
5347 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5348 for ac_dir in $PATH; do
5350 test -z "$ac_dir" && ac_dir=.
5351 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5352 lt_cv_path_LD="$ac_dir/$ac_prog"
5353 # Check to see if the program is GNU ld. I'd rather use --version,
5354 # but apparently some variants of GNU ld only accept -v.
5355 # Break only if it was the GNU/non-GNU ld that we prefer.
5356 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5357 *GNU* | *'with BFD'*)
5358 test "$with_gnu_ld" != no && break
5361 test "$with_gnu_ld" != yes && break
5368 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5373 if test -n "$LD"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5375 $as_echo "$LD" >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5380 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5382 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5383 if ${lt_cv_prog_gnu_ld+:} false; then :
5384 $as_echo_n "(cached) " >&6
5386 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5387 case `$LD -v 2>&1 </dev/null` in
5388 *GNU* | *'with BFD'*)
5389 lt_cv_prog_gnu_ld=yes
5392 lt_cv_prog_gnu_ld=no
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5397 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5398 with_gnu_ld=$lt_cv_prog_gnu_ld
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5409 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5410 if ${lt_cv_path_NM+:} false; then :
5411 $as_echo_n "(cached) " >&6
5413 if test -n "$NM"; then
5414 # Let the user override the test.
5417 lt_nm_to_check="${ac_tool_prefix}nm"
5418 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5419 lt_nm_to_check="$lt_nm_to_check nm"
5421 for lt_tmp_nm in $lt_nm_to_check; do
5422 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5423 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5425 test -z "$ac_dir" && ac_dir=.
5426 tmp_nm="$ac_dir/$lt_tmp_nm"
5427 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5428 # Check to see if the nm accepts a BSD-compat flag.
5429 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5430 # nm: unknown option "B" ignored
5431 # Tru64's nm complains that /dev/null is an invalid object file
5432 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5433 */dev/null* | *'Invalid file or object type'*)
5434 lt_cv_path_NM="$tmp_nm -B"
5438 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5440 lt_cv_path_NM="$tmp_nm -p"
5444 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5445 continue # so that we can try to find one that supports BSD flags
5454 : ${lt_cv_path_NM=no}
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5458 $as_echo "$lt_cv_path_NM" >&6; }
5459 if test "$lt_cv_path_NM" != "no"; then
5462 # Didn't find any BSD compatible name lister, look for dumpbin.
5463 if test -n "$DUMPBIN"; then :
5464 # Let the user override the test.
5466 if test -n "$ac_tool_prefix"; then
5467 for ac_prog in dumpbin "link -dump"
5469 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5470 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_DUMPBIN+:} false; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$DUMPBIN"; then
5477 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 DUMPBIN=$ac_cv_prog_DUMPBIN
5497 if test -n "$DUMPBIN"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5499 $as_echo "$DUMPBIN" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5506 test -n "$DUMPBIN" && break
5509 if test -z "$DUMPBIN"; then
5510 ac_ct_DUMPBIN=$DUMPBIN
5511 for ac_prog in dumpbin "link -dump"
5513 # Extract the first word of "$ac_prog", so it can be a program name with args.
5514 set dummy $ac_prog; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5518 $as_echo_n "(cached) " >&6
5520 if test -n "$ac_ct_DUMPBIN"; then
5521 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5541 if test -n "$ac_ct_DUMPBIN"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5543 $as_echo "$ac_ct_DUMPBIN" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5550 test -n "$ac_ct_DUMPBIN" && break
5553 if test "x$ac_ct_DUMPBIN" = x; then
5556 case $cross_compiling:$ac_tool_warned in
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5560 ac_tool_warned=yes ;;
5562 DUMPBIN=$ac_ct_DUMPBIN
5566 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5568 DUMPBIN="$DUMPBIN -symbols"
5576 if test "$DUMPBIN" != ":"; then
5580 test -z "$NM" && NM=nm
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5588 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5589 if ${lt_cv_nm_interface+:} false; then :
5590 $as_echo_n "(cached) " >&6
5592 lt_cv_nm_interface="BSD nm"
5593 echo "int some_variable = 0;" > conftest.$ac_ext
5594 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5595 (eval "$ac_compile" 2>conftest.err)
5596 cat conftest.err >&5
5597 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5598 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5599 cat conftest.err >&5
5600 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5601 cat conftest.out >&5
5602 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5603 lt_cv_nm_interface="MS dumpbin"
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5608 $as_echo "$lt_cv_nm_interface" >&6; }
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5611 $as_echo_n "checking whether ln -s works... " >&6; }
5613 if test "$LN_S" = "ln -s"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5615 $as_echo "yes" >&6; }
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5618 $as_echo "no, using $LN_S" >&6; }
5621 # find the maximum length of command line arguments
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5623 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5624 if ${lt_cv_sys_max_cmd_len+:} false; then :
5625 $as_echo_n "(cached) " >&6
5632 # On DJGPP, this test can blow up pretty badly due to problems in libc
5633 # (any single argument exceeding 2000 bytes causes a buffer overrun
5634 # during glob expansion). Even if it were fixed, the result of this
5635 # check would be larger than it should be.
5636 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5640 # Under GNU Hurd, this test is not required because there is
5641 # no limit to the length of command line arguments.
5642 # Libtool will interpret -1 as no limit whatsoever
5643 lt_cv_sys_max_cmd_len=-1;
5646 cygwin* | mingw* | cegcc*)
5647 # On Win9x/ME, this test blows up -- it succeeds, but takes
5648 # about 5 minutes as the teststring grows exponentially.
5649 # Worse, since 9x/ME are not pre-emptively multitasking,
5650 # you end up with a "frozen" computer, even though with patience
5651 # the test eventually succeeds (with a max line length of 256k).
5652 # Instead, let's just punt: use the minimum linelength reported by
5653 # all of the supported platforms: 8192 (on NT/2K/XP).
5654 lt_cv_sys_max_cmd_len=8192;
5658 # On MiNT this can take a long time and run out of memory.
5659 lt_cv_sys_max_cmd_len=8192;
5663 # On AmigaOS with pdksh, this test takes hours, literally.
5664 # So we just punt and use a minimum line length of 8192.
5665 lt_cv_sys_max_cmd_len=8192;
5668 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5669 # This has been around since 386BSD, at least. Likely further.
5670 if test -x /sbin/sysctl; then
5671 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5672 elif test -x /usr/sbin/sysctl; then
5673 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5675 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5677 # And add a safety zone
5678 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5679 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5683 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5684 lt_cv_sys_max_cmd_len=196608
5688 # The test takes a long time on OS/2.
5689 lt_cv_sys_max_cmd_len=8192
5693 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5694 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5695 # nice to cause kernel panics so lets avoid the loop below.
5696 # First set a reasonable default.
5697 lt_cv_sys_max_cmd_len=16384
5699 if test -x /sbin/sysconfig; then
5700 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5701 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5706 lt_cv_sys_max_cmd_len=102400
5708 sysv5* | sco5v6* | sysv4.2uw2*)
5709 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5710 if test -n "$kargmax"; then
5711 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5713 lt_cv_sys_max_cmd_len=32768
5717 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5718 if test -n "$lt_cv_sys_max_cmd_len" && \
5719 test undefined != "$lt_cv_sys_max_cmd_len"; then
5720 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5723 # Make teststring a little bigger before we do anything with it.
5724 # a 1K string should be a reasonable start.
5725 for i in 1 2 3 4 5 6 7 8 ; do
5726 teststring=$teststring$teststring
5728 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5729 # If test is not a shell built-in, we'll probably end up computing a
5730 # maximum length that is only half of the actual maximum length, but
5732 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5733 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5734 test $i != 17 # 1/2 MB should be enough
5737 teststring=$teststring$teststring
5739 # Only check the string length outside the loop.
5740 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5742 # Add a significant safety factor because C++ compilers can tack on
5743 # massive amounts of additional arguments before passing them to the
5744 # linker. It appears as though 1/2 is a usable value.
5745 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5752 if test -n $lt_cv_sys_max_cmd_len ; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5754 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5757 $as_echo "none" >&6; }
5759 max_cmd_len=$lt_cv_sys_max_cmd_len
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5771 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5772 # Try some XSI features
5775 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5777 && eval 'test $(( 1 + 1 )) -eq 2 \
5778 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5781 $as_echo "$xsi_shell" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5785 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5787 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5789 && lt_shell_append=yes
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5791 $as_echo "$lt_shell_append" >&6; }
5794 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5804 # test EBCDIC or ASCII
5805 case `echo X|tr X '\101'` in
5806 A) # ASCII based system
5807 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5808 lt_SP2NL='tr \040 \012'
5809 lt_NL2SP='tr \015\012 \040\040'
5811 *) # EBCDIC based system
5812 lt_SP2NL='tr \100 \n'
5813 lt_NL2SP='tr \r\n \100\100'
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5826 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5827 if ${lt_cv_to_host_file_cmd+:} false; then :
5828 $as_echo_n "(cached) " >&6
5833 *-*-mingw* ) # actually msys
5834 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5837 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5839 * ) # otherwise, assume *nix
5840 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5846 *-*-mingw* ) # actually msys
5847 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5850 lt_cv_to_host_file_cmd=func_convert_file_noop
5852 * ) # otherwise, assume *nix
5853 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5857 * ) # unhandled hosts (and "normal" native builds)
5858 lt_cv_to_host_file_cmd=func_convert_file_noop
5864 to_host_file_cmd=$lt_cv_to_host_file_cmd
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5866 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5873 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5874 if ${lt_cv_to_tool_file_cmd+:} false; then :
5875 $as_echo_n "(cached) " >&6
5877 #assume ordinary cross tools, or native build.
5878 lt_cv_to_tool_file_cmd=func_convert_file_noop
5882 *-*-mingw* ) # actually msys
5883 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5891 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5893 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5900 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5901 if ${lt_cv_ld_reload_flag+:} false; then :
5902 $as_echo_n "(cached) " >&6
5904 lt_cv_ld_reload_flag='-r'
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5907 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5908 reload_flag=$lt_cv_ld_reload_flag
5909 case $reload_flag in
5911 *) reload_flag=" $reload_flag" ;;
5913 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5915 cygwin* | mingw* | pw32* | cegcc*)
5916 if test "$GCC" != yes; then
5921 if test "$GCC" = yes; then
5922 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5924 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5937 if test -n "$ac_tool_prefix"; then
5938 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5939 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if ${ac_cv_prog_OBJDUMP+:} false; then :
5943 $as_echo_n "(cached) " >&6
5945 if test -n "$OBJDUMP"; then
5946 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir=.
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5955 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 OBJDUMP=$ac_cv_prog_OBJDUMP
5966 if test -n "$OBJDUMP"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5968 $as_echo "$OBJDUMP" >&6; }
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5976 if test -z "$ac_cv_prog_OBJDUMP"; then
5977 ac_ct_OBJDUMP=$OBJDUMP
5978 # Extract the first word of "objdump", so it can be a program name with args.
5979 set dummy objdump; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5983 $as_echo_n "(cached) " >&6
5985 if test -n "$ac_ct_OBJDUMP"; then
5986 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6006 if test -n "$ac_ct_OBJDUMP"; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6008 $as_echo "$ac_ct_OBJDUMP" >&6; }
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6014 if test "x$ac_ct_OBJDUMP" = x; then
6017 case $cross_compiling:$ac_tool_warned in
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6021 ac_tool_warned=yes ;;
6023 OBJDUMP=$ac_ct_OBJDUMP
6026 OBJDUMP="$ac_cv_prog_OBJDUMP"
6029 test -z "$OBJDUMP" && OBJDUMP=objdump
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6040 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6041 if ${lt_cv_deplibs_check_method+:} false; then :
6042 $as_echo_n "(cached) " >&6
6044 lt_cv_file_magic_cmd='$MAGIC_CMD'
6045 lt_cv_file_magic_test_file=
6046 lt_cv_deplibs_check_method='unknown'
6047 # Need to set the preceding variable on all platforms that support
6048 # interlibrary dependencies.
6049 # 'none' -- dependencies not supported.
6050 # `unknown' -- same as none, but documents that we really don't know.
6051 # 'pass_all' -- all dependencies passed with no checks.
6052 # 'test_compile' -- check by making test program.
6053 # 'file_magic [[regex]]' -- check by looking for files in library path
6054 # which responds to the $file_magic_cmd with a given extended regex.
6055 # If you have `file' or equivalent on your system and you're not sure
6056 # whether `pass_all' will *always* work, you probably want this one.
6060 lt_cv_deplibs_check_method=pass_all
6064 lt_cv_deplibs_check_method=pass_all
6068 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6069 lt_cv_file_magic_cmd='/usr/bin/file -L'
6070 lt_cv_file_magic_test_file=/shlib/libc.so
6074 # func_win32_libid is a shell function defined in ltmain.sh
6075 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6076 lt_cv_file_magic_cmd='func_win32_libid'
6080 # Base MSYS/MinGW do not provide the 'file' command needed by
6081 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6082 # unless we find 'file', for example because we are cross-compiling.
6083 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6084 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6085 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6086 lt_cv_file_magic_cmd='func_win32_libid'
6088 # Keep this pattern in sync with the one in func_win32_libid.
6089 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6090 lt_cv_file_magic_cmd='$OBJDUMP -f'
6095 # use the weaker test based on 'objdump'. See mingw*.
6096 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6097 lt_cv_file_magic_cmd='$OBJDUMP -f'
6100 darwin* | rhapsody*)
6101 lt_cv_deplibs_check_method=pass_all
6104 freebsd* | dragonfly*)
6105 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6108 # Not sure whether the presence of OpenBSD here was a mistake.
6109 # Let's accept both of them until this is cleared up.
6110 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6111 lt_cv_file_magic_cmd=/usr/bin/file
6112 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6116 lt_cv_deplibs_check_method=pass_all
6121 lt_cv_deplibs_check_method=pass_all
6124 hpux10.20* | hpux11*)
6125 lt_cv_file_magic_cmd=/usr/bin/file
6128 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6129 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6132 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]'
6133 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6136 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6137 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6143 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6144 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6147 irix5* | irix6* | nonstopux*)
6149 *-32|*"-32 ") libmagic=32-bit;;
6150 *-n32|*"-n32 ") libmagic=N32;;
6151 *-64|*"-64 ") libmagic=64-bit;;
6152 *) libmagic=never-match;;
6154 lt_cv_deplibs_check_method=pass_all
6157 # This must be glibc/ELF.
6158 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6159 lt_cv_deplibs_check_method=pass_all
6162 netbsd* | netbsdelf*-gnu)
6163 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6164 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6166 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6171 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6172 lt_cv_file_magic_cmd=/usr/bin/file
6173 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6177 lt_cv_deplibs_check_method=pass_all
6181 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6182 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6184 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6188 osf3* | osf4* | osf5*)
6189 lt_cv_deplibs_check_method=pass_all
6193 lt_cv_deplibs_check_method=pass_all
6197 lt_cv_deplibs_check_method=pass_all
6200 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6201 lt_cv_deplibs_check_method=pass_all
6205 case $host_vendor in
6207 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]'
6208 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6211 lt_cv_deplibs_check_method=pass_all
6214 lt_cv_file_magic_cmd='/bin/file'
6215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6218 lt_cv_file_magic_cmd='/bin/file'
6219 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6220 lt_cv_file_magic_test_file=/lib/libc.so
6223 lt_cv_deplibs_check_method=pass_all
6226 lt_cv_deplibs_check_method=pass_all
6232 lt_cv_deplibs_check_method=pass_all
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6238 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6242 if test "$build" = "$host"; then
6245 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6248 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6254 file_magic_cmd=$lt_cv_file_magic_cmd
6255 deplibs_check_method=$lt_cv_deplibs_check_method
6256 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6279 if test -n "$ac_tool_prefix"; then
6280 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6281 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6283 $as_echo_n "checking for $ac_word... " >&6; }
6284 if ${ac_cv_prog_DLLTOOL+:} false; then :
6285 $as_echo_n "(cached) " >&6
6287 if test -n "$DLLTOOL"; then
6288 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6297 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6307 DLLTOOL=$ac_cv_prog_DLLTOOL
6308 if test -n "$DLLTOOL"; then
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6310 $as_echo "$DLLTOOL" >&6; }
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6313 $as_echo "no" >&6; }
6318 if test -z "$ac_cv_prog_DLLTOOL"; then
6319 ac_ct_DLLTOOL=$DLLTOOL
6320 # Extract the first word of "dlltool", so it can be a program name with args.
6321 set dummy dlltool; ac_word=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6325 $as_echo_n "(cached) " >&6
6327 if test -n "$ac_ct_DLLTOOL"; then
6328 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6347 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6348 if test -n "$ac_ct_DLLTOOL"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6350 $as_echo "$ac_ct_DLLTOOL" >&6; }
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6356 if test "x$ac_ct_DLLTOOL" = x; then
6359 case $cross_compiling:$ac_tool_warned in
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6363 ac_tool_warned=yes ;;
6365 DLLTOOL=$ac_ct_DLLTOOL
6368 DLLTOOL="$ac_cv_prog_DLLTOOL"
6371 test -z "$DLLTOOL" && DLLTOOL=dlltool
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6383 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6384 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6385 $as_echo_n "(cached) " >&6
6387 lt_cv_sharedlib_from_linklib_cmd='unknown'
6390 cygwin* | mingw* | pw32* | cegcc*)
6391 # two different shell functions defined in ltmain.sh
6392 # decide which to use based on capabilities of $DLLTOOL
6393 case `$DLLTOOL --help 2>&1` in
6394 *--identify-strict*)
6395 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6398 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6403 # fallback: assume linklib IS sharedlib
6404 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6410 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6411 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6412 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6420 if test -n "$ac_tool_prefix"; then
6423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_AR+:} false; then :
6428 $as_echo_n "(cached) " >&6
6430 if test -n "$AR"; then
6431 ac_cv_prog_AR="$AR" # Let the user override the test.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 if test -n "$AR"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6453 $as_echo "$AR" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6460 test -n "$AR" && break
6463 if test -z "$AR"; then
6467 # Extract the first word of "$ac_prog", so it can be a program name with args.
6468 set dummy $ac_prog; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6472 $as_echo_n "(cached) " >&6
6474 if test -n "$ac_ct_AR"; then
6475 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_ac_ct_AR="$ac_prog"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6495 if test -n "$ac_ct_AR"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6497 $as_echo "$ac_ct_AR" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6504 test -n "$ac_ct_AR" && break
6507 if test "x$ac_ct_AR" = x; then
6510 case $cross_compiling:$ac_tool_warned in
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6514 ac_tool_warned=yes ;;
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6534 $as_echo_n "checking for archiver @FILE support... " >&6; }
6535 if ${lt_cv_ar_at_file+:} false; then :
6536 $as_echo_n "(cached) " >&6
6539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6550 if ac_fn_c_try_compile "$LINENO"; then :
6551 echo conftest.$ac_objext > conftest.lst
6552 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6553 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6554 (eval $lt_ar_try) 2>&5
6556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6557 test $ac_status = 0; }
6558 if test "$ac_status" -eq 0; then
6559 # Ensure the archiver fails upon bogus file names.
6560 rm -f conftest.$ac_objext libconftest.a
6561 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6562 (eval $lt_ar_try) 2>&5
6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6565 test $ac_status = 0; }
6566 if test "$ac_status" -ne 0; then
6570 rm -f conftest.* libconftest.a
6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6577 $as_echo "$lt_cv_ar_at_file" >&6; }
6579 if test "x$lt_cv_ar_at_file" = xno; then
6582 archiver_list_spec=$lt_cv_ar_at_file
6591 if test -n "$ac_tool_prefix"; then
6592 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6593 set dummy ${ac_tool_prefix}strip; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 $as_echo_n "checking for $ac_word... " >&6; }
6596 if ${ac_cv_prog_STRIP+:} false; then :
6597 $as_echo_n "(cached) " >&6
6599 if test -n "$STRIP"; then
6600 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6606 test -z "$as_dir" && as_dir=.
6607 for ac_exec_ext in '' $ac_executable_extensions; do
6608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6609 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 STRIP=$ac_cv_prog_STRIP
6620 if test -n "$STRIP"; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6622 $as_echo "$STRIP" >&6; }
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 $as_echo "no" >&6; }
6630 if test -z "$ac_cv_prog_STRIP"; then
6632 # Extract the first word of "strip", so it can be a program name with args.
6633 set dummy strip; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 $as_echo_n "checking for $ac_word... " >&6; }
6636 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6637 $as_echo_n "(cached) " >&6
6639 if test -n "$ac_ct_STRIP"; then
6640 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6649 ac_cv_prog_ac_ct_STRIP="strip"
6650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6660 if test -n "$ac_ct_STRIP"; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6662 $as_echo "$ac_ct_STRIP" >&6; }
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
6668 if test "x$ac_ct_STRIP" = x; then
6671 case $cross_compiling:$ac_tool_warned in
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675 ac_tool_warned=yes ;;
6680 STRIP="$ac_cv_prog_STRIP"
6683 test -z "$STRIP" && STRIP=:
6690 if test -n "$ac_tool_prefix"; then
6691 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6692 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_RANLIB+:} false; then :
6696 $as_echo_n "(cached) " >&6
6698 if test -n "$RANLIB"; then
6699 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6718 RANLIB=$ac_cv_prog_RANLIB
6719 if test -n "$RANLIB"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6721 $as_echo "$RANLIB" >&6; }
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6729 if test -z "$ac_cv_prog_RANLIB"; then
6730 ac_ct_RANLIB=$RANLIB
6731 # Extract the first word of "ranlib", so it can be a program name with args.
6732 set dummy ranlib; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6736 $as_echo_n "(cached) " >&6
6738 if test -n "$ac_ct_RANLIB"; then
6739 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir=.
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_ac_ct_RANLIB="ranlib"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6759 if test -n "$ac_ct_RANLIB"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6761 $as_echo "$ac_ct_RANLIB" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6767 if test "x$ac_ct_RANLIB" = x; then
6770 case $cross_compiling:$ac_tool_warned in
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned=yes ;;
6776 RANLIB=$ac_ct_RANLIB
6779 RANLIB="$ac_cv_prog_RANLIB"
6782 test -z "$RANLIB" && RANLIB=:
6789 # Determine commands to create old-style static archives.
6790 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6791 old_postinstall_cmds='chmod 644 $oldlib'
6792 old_postuninstall_cmds=
6794 if test -n "$RANLIB"; then
6797 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6800 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6803 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6808 lock_old_archive_extraction=yes ;;
6810 lock_old_archive_extraction=no ;;
6851 # If no C compiler was specified, use CC.
6854 # If no C compiler flags were specified, use CFLAGS.
6855 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6857 # Allow CC to be a program name with arguments.
6861 # Check for command to grab the raw symbol name followed by C symbol from nm.
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6863 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6864 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6865 $as_echo_n "(cached) " >&6
6868 # These are sane defaults that work on at least a few old systems.
6869 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6871 # Character class describing NM global symbol codes.
6872 symcode='[BCDEGRST]'
6874 # Regexp to match symbols that can be accessed directly from C.
6875 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6877 # Define system-specific variables.
6882 cygwin* | mingw* | pw32* | cegcc*)
6883 symcode='[ABCDGISTW]'
6886 if test "$host_cpu" = ia64; then
6887 symcode='[ABCDEGRST]'
6891 symcode='[BCDEGRST]'
6894 symcode='[BCDEGQRST]'
6905 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6913 # If we're using GNU nm, then use its standard symbol codes.
6914 case `$NM -V 2>&1` in
6915 *GNU* | *'with BFD'*)
6916 symcode='[ABCDGIRSTW]' ;;
6919 # Transform an extracted symbol line into a proper C declaration.
6920 # Some systems (esp. on ia64) link data and code symbols differently,
6921 # so use this general approach.
6922 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6924 # Transform an extracted symbol line into symbol name and symbol address
6925 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6926 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'"
6928 # Handle CRLF in mingw tool chain
6932 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6936 # Try without a prefix underscore, then with it.
6937 for ac_symprfx in "" "_"; do
6939 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6940 symxfrm="\\1 $ac_symprfx\\2 \\2"
6942 # Write the raw and C identifiers.
6943 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6944 # Fake it for dumpbin and say T for any non-static function
6945 # and D for any global variable.
6946 # Also find C++ and __fastcall symbols from MSVC++,
6947 # which start with @ or ?.
6948 lt_cv_sys_global_symbol_pipe="$AWK '"\
6949 " {last_section=section; section=\$ 3};"\
6950 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6951 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6952 " \$ 0!~/External *\|/{next};"\
6953 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6954 " {if(hide[section]) next};"\
6955 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6956 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6957 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6958 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6959 " ' prfx=^$ac_symprfx"
6961 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6963 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6965 # Check to see that the pipe works correctly.
6969 cat > conftest.$ac_ext <<_LT_EOF
6974 void nm_test_func(void);
6975 void nm_test_func(void){}
6979 int main(){nm_test_var='a';nm_test_func();return(0);}
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6983 (eval $ac_compile) 2>&5
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; }; then
6987 # Now try to grab the symbols.
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6990 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; } && test -s "$nlist"; then
6994 # Try sorting and uniquifying the output.
6995 if sort "$nlist" | uniq > "$nlist"T; then
6996 mv -f "$nlist"T "$nlist"
7001 # Make sure that we snagged all the symbols we need.
7002 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7003 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7004 cat <<_LT_EOF > conftest.$ac_ext
7005 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7006 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7007 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7008 relocations are performed -- see ld's documentation on pseudo-relocs. */
7009 # define LT_DLSYM_CONST
7010 #elif defined(__osf__)
7011 /* This system does not cope well with relocations in const data. */
7012 # define LT_DLSYM_CONST
7014 # define LT_DLSYM_CONST const
7022 # Now generate the symbol file.
7023 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7025 cat <<_LT_EOF >> conftest.$ac_ext
7027 /* The mapping between symbol names and symbols. */
7028 LT_DLSYM_CONST struct {
7032 lt__PROGRAM__LTX_preloaded_symbols[] =
7034 { "@PROGRAM@", (void *) 0 },
7036 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7037 cat <<\_LT_EOF >> conftest.$ac_ext
7041 /* This works around a problem in FreeBSD linker */
7042 #ifdef FREEBSD_WORKAROUND
7043 static const void *lt_preloaded_setup() {
7044 return lt__PROGRAM__LTX_preloaded_symbols;
7052 # Now try linking the two files.
7053 mv conftest.$ac_objext conftstm.$ac_objext
7054 lt_globsym_save_LIBS=$LIBS
7055 lt_globsym_save_CFLAGS=$CFLAGS
7056 LIBS="conftstm.$ac_objext"
7057 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7059 (eval $ac_link) 2>&5
7061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7062 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7065 LIBS=$lt_globsym_save_LIBS
7066 CFLAGS=$lt_globsym_save_CFLAGS
7068 echo "cannot find nm_test_func in $nlist" >&5
7071 echo "cannot find nm_test_var in $nlist" >&5
7074 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7077 echo "$progname: failed program was:" >&5
7078 cat conftest.$ac_ext >&5
7080 rm -rf conftest* conftst*
7082 # Do not use the global_symbol_pipe unless it works.
7083 if test "$pipe_works" = yes; then
7086 lt_cv_sys_global_symbol_pipe=
7092 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7093 lt_cv_sys_global_symbol_to_cdecl=
7095 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7097 $as_echo "failed" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7100 $as_echo "ok" >&6; }
7103 # Response file support.
7104 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7105 nm_file_list_spec='@'
7106 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7107 nm_file_list_spec='@'
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7137 $as_echo_n "checking for sysroot... " >&6; }
7139 # Check whether --with-sysroot was given.
7140 if test "${with_sysroot+set}" = set; then :
7141 withval=$with_sysroot;
7148 case ${with_sysroot} in #(
7150 if test "$GCC" = yes; then
7151 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7155 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7161 $as_echo "${with_sysroot}" >&6; }
7162 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7167 $as_echo "${lt_sysroot:-no}" >&6; }
7173 # Check whether --enable-libtool-lock was given.
7174 if test "${enable_libtool_lock+set}" = set; then :
7175 enableval=$enable_libtool_lock;
7178 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7180 # Some flags need to be propagated to the compiler or linker for good
7184 # Find out which ABI we are using.
7185 echo 'int i;' > conftest.$ac_ext
7186 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7187 (eval $ac_compile) 2>&5
7189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7190 test $ac_status = 0; }; then
7191 case `/usr/bin/file conftest.$ac_objext` in
7203 # Find out which ABI we are using.
7204 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7206 (eval $ac_compile) 2>&5
7208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7209 test $ac_status = 0; }; then
7210 if test "$lt_cv_prog_gnu_ld" = yes; then
7211 case `/usr/bin/file conftest.$ac_objext` in
7213 LD="${LD-ld} -melf32bsmip"
7216 LD="${LD-ld} -melf32bmipn32"
7219 LD="${LD-ld} -melf64bmip"
7223 case `/usr/bin/file conftest.$ac_objext` in
7239 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7240 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7241 # Find out which ABI we are using.
7242 echo 'int i;' > conftest.$ac_ext
7243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7244 (eval $ac_compile) 2>&5
7246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7247 test $ac_status = 0; }; then
7248 case `/usr/bin/file conftest.o` in
7251 x86_64-*kfreebsd*-gnu)
7252 LD="${LD-ld} -m elf_i386_fbsd"
7255 case `/usr/bin/file conftest.o` in
7257 LD="${LD-ld} -m elf32_x86_64"
7260 LD="${LD-ld} -m elf_i386"
7265 LD="${LD-ld} -m elf32lppclinux"
7268 LD="${LD-ld} -m elf32ppclinux"
7271 LD="${LD-ld} -m elf_s390"
7274 LD="${LD-ld} -m elf32_sparc"
7280 x86_64-*kfreebsd*-gnu)
7281 LD="${LD-ld} -m elf_x86_64_fbsd"
7284 LD="${LD-ld} -m elf_x86_64"
7287 LD="${LD-ld} -m elf64lppc"
7290 LD="${LD-ld} -m elf64ppc"
7292 s390*-*linux*|s390*-*tpf*)
7293 LD="${LD-ld} -m elf64_s390"
7296 LD="${LD-ld} -m elf64_sparc"
7306 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7307 SAVE_CFLAGS="$CFLAGS"
7308 CFLAGS="$CFLAGS -belf"
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7310 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7311 if ${lt_cv_cc_needs_belf+:} false; then :
7312 $as_echo_n "(cached) " >&6
7315 ac_cpp='$CPP $CPPFLAGS'
7316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7321 /* end confdefs.h. */
7331 if ac_fn_c_try_link "$LINENO"; then :
7332 lt_cv_cc_needs_belf=yes
7334 lt_cv_cc_needs_belf=no
7336 rm -f core conftest.err conftest.$ac_objext \
7337 conftest$ac_exeext conftest.$ac_ext
7339 ac_cpp='$CPP $CPPFLAGS'
7340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7346 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7347 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7348 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7349 CFLAGS="$SAVE_CFLAGS"
7353 # Find out which ABI we are using.
7354 echo 'int i;' > conftest.$ac_ext
7355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7356 (eval $ac_compile) 2>&5
7358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7359 test $ac_status = 0; }; then
7360 case `/usr/bin/file conftest.o` in
7362 case $lt_cv_prog_gnu_ld in
7366 LD="${LD-ld} -m elf_x86_64"
7369 LD="${LD-ld} -m elf64_sparc"
7372 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7373 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7378 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7390 need_locks="$enable_libtool_lock"
7392 if test -n "$ac_tool_prefix"; then
7393 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7394 set dummy ${ac_tool_prefix}mt; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7398 $as_echo_n "(cached) " >&6
7400 if test -n "$MANIFEST_TOOL"; then
7401 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7421 if test -n "$MANIFEST_TOOL"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7423 $as_echo "$MANIFEST_TOOL" >&6; }
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7431 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7432 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7433 # Extract the first word of "mt", so it can be a program name with args.
7434 set dummy mt; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7438 $as_echo_n "(cached) " >&6
7440 if test -n "$ac_ct_MANIFEST_TOOL"; then
7441 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7461 if test -n "$ac_ct_MANIFEST_TOOL"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7463 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7469 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7472 case $cross_compiling:$ac_tool_warned in
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476 ac_tool_warned=yes ;;
7478 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7481 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7484 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7486 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7487 if ${lt_cv_path_mainfest_tool+:} false; then :
7488 $as_echo_n "(cached) " >&6
7490 lt_cv_path_mainfest_tool=no
7491 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7492 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7493 cat conftest.err >&5
7494 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7495 lt_cv_path_mainfest_tool=yes
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7500 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7501 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7511 rhapsody* | darwin*)
7512 if test -n "$ac_tool_prefix"; then
7513 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7514 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516 $as_echo_n "checking for $ac_word... " >&6; }
7517 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7518 $as_echo_n "(cached) " >&6
7520 if test -n "$DSYMUTIL"; then
7521 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 test -z "$as_dir" && as_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7540 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7541 if test -n "$DSYMUTIL"; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7543 $as_echo "$DSYMUTIL" >&6; }
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7551 if test -z "$ac_cv_prog_DSYMUTIL"; then
7552 ac_ct_DSYMUTIL=$DSYMUTIL
7553 # Extract the first word of "dsymutil", so it can be a program name with args.
7554 set dummy dsymutil; ac_word=$2
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7556 $as_echo_n "checking for $ac_word... " >&6; }
7557 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7558 $as_echo_n "(cached) " >&6
7560 if test -n "$ac_ct_DSYMUTIL"; then
7561 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 test -z "$as_dir" && as_dir=.
7568 for ac_exec_ext in '' $ac_executable_extensions; do
7569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7570 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7580 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7581 if test -n "$ac_ct_DSYMUTIL"; then
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7583 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586 $as_echo "no" >&6; }
7589 if test "x$ac_ct_DSYMUTIL" = x; then
7592 case $cross_compiling:$ac_tool_warned in
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7596 ac_tool_warned=yes ;;
7598 DSYMUTIL=$ac_ct_DSYMUTIL
7601 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7604 if test -n "$ac_tool_prefix"; then
7605 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7606 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if ${ac_cv_prog_NMEDIT+:} false; then :
7610 $as_echo_n "(cached) " >&6
7612 if test -n "$NMEDIT"; then
7613 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 test -z "$as_dir" && as_dir=.
7620 for ac_exec_ext in '' $ac_executable_extensions; do
7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632 NMEDIT=$ac_cv_prog_NMEDIT
7633 if test -n "$NMEDIT"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7635 $as_echo "$NMEDIT" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7643 if test -z "$ac_cv_prog_NMEDIT"; then
7644 ac_ct_NMEDIT=$NMEDIT
7645 # Extract the first word of "nmedit", so it can be a program name with args.
7646 set dummy nmedit; ac_word=$2
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7648 $as_echo_n "checking for $ac_word... " >&6; }
7649 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7650 $as_echo_n "(cached) " >&6
7652 if test -n "$ac_ct_NMEDIT"; then
7653 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 test -z "$as_dir" && as_dir=.
7660 for ac_exec_ext in '' $ac_executable_extensions; do
7661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7662 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7672 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7673 if test -n "$ac_ct_NMEDIT"; then
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7675 $as_echo "$ac_ct_NMEDIT" >&6; }
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7678 $as_echo "no" >&6; }
7681 if test "x$ac_ct_NMEDIT" = x; then
7684 case $cross_compiling:$ac_tool_warned in
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7688 ac_tool_warned=yes ;;
7690 NMEDIT=$ac_ct_NMEDIT
7693 NMEDIT="$ac_cv_prog_NMEDIT"
7696 if test -n "$ac_tool_prefix"; then
7697 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7698 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7700 $as_echo_n "checking for $ac_word... " >&6; }
7701 if ${ac_cv_prog_LIPO+:} false; then :
7702 $as_echo_n "(cached) " >&6
7704 if test -n "$LIPO"; then
7705 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7711 test -z "$as_dir" && as_dir=.
7712 for ac_exec_ext in '' $ac_executable_extensions; do
7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7724 LIPO=$ac_cv_prog_LIPO
7725 if test -n "$LIPO"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7727 $as_echo "$LIPO" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7730 $as_echo "no" >&6; }
7735 if test -z "$ac_cv_prog_LIPO"; then
7737 # Extract the first word of "lipo", so it can be a program name with args.
7738 set dummy lipo; ac_word=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740 $as_echo_n "checking for $ac_word... " >&6; }
7741 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7742 $as_echo_n "(cached) " >&6
7744 if test -n "$ac_ct_LIPO"; then
7745 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir=.
7752 for ac_exec_ext in '' $ac_executable_extensions; do
7753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754 ac_cv_prog_ac_ct_LIPO="lipo"
7755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7764 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7765 if test -n "$ac_ct_LIPO"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7767 $as_echo "$ac_ct_LIPO" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7770 $as_echo "no" >&6; }
7773 if test "x$ac_ct_LIPO" = x; then
7776 case $cross_compiling:$ac_tool_warned in
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7780 ac_tool_warned=yes ;;
7785 LIPO="$ac_cv_prog_LIPO"
7788 if test -n "$ac_tool_prefix"; then
7789 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7790 set dummy ${ac_tool_prefix}otool; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7792 $as_echo_n "checking for $ac_word... " >&6; }
7793 if ${ac_cv_prog_OTOOL+:} false; then :
7794 $as_echo_n "(cached) " >&6
7796 if test -n "$OTOOL"; then
7797 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7816 OTOOL=$ac_cv_prog_OTOOL
7817 if test -n "$OTOOL"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7819 $as_echo "$OTOOL" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7822 $as_echo "no" >&6; }
7827 if test -z "$ac_cv_prog_OTOOL"; then
7829 # Extract the first word of "otool", so it can be a program name with args.
7830 set dummy otool; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7834 $as_echo_n "(cached) " >&6
7836 if test -n "$ac_ct_OTOOL"; then
7837 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_ac_ct_OTOOL="otool"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7857 if test -n "$ac_ct_OTOOL"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7859 $as_echo "$ac_ct_OTOOL" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7865 if test "x$ac_ct_OTOOL" = x; then
7868 case $cross_compiling:$ac_tool_warned in
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7872 ac_tool_warned=yes ;;
7877 OTOOL="$ac_cv_prog_OTOOL"
7880 if test -n "$ac_tool_prefix"; then
7881 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7882 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 $as_echo_n "checking for $ac_word... " >&6; }
7885 if ${ac_cv_prog_OTOOL64+:} false; then :
7886 $as_echo_n "(cached) " >&6
7888 if test -n "$OTOOL64"; then
7889 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908 OTOOL64=$ac_cv_prog_OTOOL64
7909 if test -n "$OTOOL64"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7911 $as_echo "$OTOOL64" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7919 if test -z "$ac_cv_prog_OTOOL64"; then
7920 ac_ct_OTOOL64=$OTOOL64
7921 # Extract the first word of "otool64", so it can be a program name with args.
7922 set dummy otool64; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7926 $as_echo_n "(cached) " >&6
7928 if test -n "$ac_ct_OTOOL64"; then
7929 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_ac_ct_OTOOL64="otool64"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7949 if test -n "$ac_ct_OTOOL64"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7951 $as_echo "$ac_ct_OTOOL64" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7957 if test "x$ac_ct_OTOOL64" = x; then
7960 case $cross_compiling:$ac_tool_warned in
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7964 ac_tool_warned=yes ;;
7966 OTOOL64=$ac_ct_OTOOL64
7969 OTOOL64="$ac_cv_prog_OTOOL64"
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7999 $as_echo_n "checking for -single_module linker flag... " >&6; }
8000 if ${lt_cv_apple_cc_single_mod+:} false; then :
8001 $as_echo_n "(cached) " >&6
8003 lt_cv_apple_cc_single_mod=no
8004 if test -z "${LT_MULTI_MODULE}"; then
8005 # By default we will add the -single_module flag. You can override
8006 # by either setting the environment variable LT_MULTI_MODULE
8007 # non-empty at configure time, or by adding -multi_module to the
8009 rm -rf libconftest.dylib*
8010 echo "int foo(void){return 1;}" > conftest.c
8011 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8012 -dynamiclib -Wl,-single_module conftest.c" >&5
8013 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8014 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8016 # If there is a non-empty error log, and "single_module"
8017 # appears in it, assume the flag caused a linker warning
8018 if test -s conftest.err && $GREP single_module conftest.err; then
8019 cat conftest.err >&5
8020 # Otherwise, if the output was created with a 0 exit code from
8021 # the compiler, it worked.
8022 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8023 lt_cv_apple_cc_single_mod=yes
8025 cat conftest.err >&5
8027 rm -rf libconftest.dylib*
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8032 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8035 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8036 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8037 $as_echo_n "(cached) " >&6
8039 lt_cv_ld_exported_symbols_list=no
8040 save_LDFLAGS=$LDFLAGS
8041 echo "_main" > conftest.sym
8042 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044 /* end confdefs.h. */
8054 if ac_fn_c_try_link "$LINENO"; then :
8055 lt_cv_ld_exported_symbols_list=yes
8057 lt_cv_ld_exported_symbols_list=no
8059 rm -f core conftest.err conftest.$ac_objext \
8060 conftest$ac_exeext conftest.$ac_ext
8061 LDFLAGS="$save_LDFLAGS"
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8065 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8068 $as_echo_n "checking for -force_load linker flag... " >&6; }
8069 if ${lt_cv_ld_force_load+:} false; then :
8070 $as_echo_n "(cached) " >&6
8072 lt_cv_ld_force_load=no
8073 cat > conftest.c << _LT_EOF
8074 int forced_loaded() { return 2;}
8076 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8077 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8078 echo "$AR cru libconftest.a conftest.o" >&5
8079 $AR cru libconftest.a conftest.o 2>&5
8080 echo "$RANLIB libconftest.a" >&5
8081 $RANLIB libconftest.a 2>&5
8082 cat > conftest.c << _LT_EOF
8083 int main() { return 0;}
8085 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8086 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8088 if test -s conftest.err && $GREP force_load conftest.err; then
8089 cat conftest.err >&5
8090 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8091 lt_cv_ld_force_load=yes
8093 cat conftest.err >&5
8095 rm -f conftest.err libconftest.a conftest conftest.c
8096 rm -rf conftest.dSYM
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8100 $as_echo "$lt_cv_ld_force_load" >&6; }
8102 rhapsody* | darwin1.[012])
8103 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8105 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8106 darwin*) # darwin 5.x on
8107 # if running on 10.5 or later, the deployment target defaults
8108 # to the OS version, if on x86, and 10.4, the deployment
8109 # target defaults to 10.4. Don't you love it?
8110 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8111 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8112 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8114 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8116 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8120 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8121 _lt_dar_single_mod='$single_module'
8123 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8124 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8126 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8128 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8129 _lt_dsymutil='~$DSYMUTIL $lib || :'
8137 ac_cpp='$CPP $CPPFLAGS'
8138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8142 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8143 # On Suns, sometimes $CPP names a directory.
8144 if test -n "$CPP" && test -d "$CPP"; then
8147 if test -z "$CPP"; then
8148 if ${ac_cv_prog_CPP+:} false; then :
8149 $as_echo_n "(cached) " >&6
8151 # Double quotes because CPP needs to be expanded
8152 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8155 for ac_c_preproc_warn_flag in '' yes
8157 # Use a header file that comes with gcc, so configuring glibc
8158 # with a fresh cross-compiler works.
8159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8160 # <limits.h> exists even on freestanding compilers.
8161 # On the NeXT, cc -E runs the code through the compiler's parser,
8162 # not just through cpp. "Syntax error" is here to catch this case.
8163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h. */
8166 # include <limits.h>
8168 # include <assert.h>
8172 if ac_fn_c_try_cpp "$LINENO"; then :
8175 # Broken: fails on valid input.
8178 rm -f conftest.err conftest.i conftest.$ac_ext
8180 # OK, works on sane cases. Now check whether nonexistent headers
8181 # can be detected and how.
8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 #include <ac_nonexistent.h>
8186 if ac_fn_c_try_cpp "$LINENO"; then :
8187 # Broken: success on invalid input.
8190 # Passes both tests.
8194 rm -f conftest.err conftest.i conftest.$ac_ext
8197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8198 rm -f conftest.i conftest.err conftest.$ac_ext
8199 if $ac_preproc_ok; then :
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8212 $as_echo "$CPP" >&6; }
8214 for ac_c_preproc_warn_flag in '' yes
8216 # Use a header file that comes with gcc, so configuring glibc
8217 # with a fresh cross-compiler works.
8218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8219 # <limits.h> exists even on freestanding compilers.
8220 # On the NeXT, cc -E runs the code through the compiler's parser,
8221 # not just through cpp. "Syntax error" is here to catch this case.
8222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h. */
8225 # include <limits.h>
8227 # include <assert.h>
8231 if ac_fn_c_try_cpp "$LINENO"; then :
8234 # Broken: fails on valid input.
8237 rm -f conftest.err conftest.i conftest.$ac_ext
8239 # OK, works on sane cases. Now check whether nonexistent headers
8240 # can be detected and how.
8241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h. */
8243 #include <ac_nonexistent.h>
8245 if ac_fn_c_try_cpp "$LINENO"; then :
8246 # Broken: success on invalid input.
8249 # Passes both tests.
8253 rm -f conftest.err conftest.i conftest.$ac_ext
8256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8257 rm -f conftest.i conftest.err conftest.$ac_ext
8258 if $ac_preproc_ok; then :
8261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8263 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8264 See \`config.log' for more details" "$LINENO" 5; }
8268 ac_cpp='$CPP $CPPFLAGS'
8269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8275 $as_echo_n "checking for ANSI C header files... " >&6; }
8276 if ${ac_cv_header_stdc+:} false; then :
8277 $as_echo_n "(cached) " >&6
8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8294 if ac_fn_c_try_compile "$LINENO"; then :
8295 ac_cv_header_stdc=yes
8297 ac_cv_header_stdc=no
8299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8301 if test $ac_cv_header_stdc = yes; then
8302 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8309 $EGREP "memchr" >/dev/null 2>&1; then :
8312 ac_cv_header_stdc=no
8318 if test $ac_cv_header_stdc = yes; then
8319 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8326 $EGREP "free" >/dev/null 2>&1; then :
8329 ac_cv_header_stdc=no
8335 if test $ac_cv_header_stdc = yes; then
8336 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8337 if test "$cross_compiling" = yes; then :
8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8344 #if ((' ' & 0x0FF) == 0x020)
8345 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8346 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8348 # define ISLOWER(c) \
8349 (('a' <= (c) && (c) <= 'i') \
8350 || ('j' <= (c) && (c) <= 'r') \
8351 || ('s' <= (c) && (c) <= 'z'))
8352 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8355 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8360 for (i = 0; i < 256; i++)
8361 if (XOR (islower (i), ISLOWER (i))
8362 || toupper (i) != TOUPPER (i))
8367 if ac_fn_c_try_run "$LINENO"; then :
8370 ac_cv_header_stdc=no
8372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8373 conftest.$ac_objext conftest.beam conftest.$ac_ext
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8379 $as_echo "$ac_cv_header_stdc" >&6; }
8380 if test $ac_cv_header_stdc = yes; then
8382 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8386 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8387 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8388 inttypes.h stdint.h unistd.h
8390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8391 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8393 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8394 cat >>confdefs.h <<_ACEOF
8395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8403 for ac_header in dlfcn.h
8405 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8407 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8408 cat >>confdefs.h <<_ACEOF
8409 #define HAVE_DLFCN_H 1
8430 # Check whether --enable-shared was given.
8431 if test "${enable_shared+set}" = set; then :
8432 enableval=$enable_shared; p=${PACKAGE-default}
8434 yes) enable_shared=yes ;;
8435 no) enable_shared=no ;;
8438 # Look at the argument we got. We use all the common list separators.
8439 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8440 for pkg in $enableval; do
8442 if test "X$pkg" = "X$p"; then
8461 # Check whether --enable-static was given.
8462 if test "${enable_static+set}" = set; then :
8463 enableval=$enable_static; p=${PACKAGE-default}
8465 yes) enable_static=yes ;;
8466 no) enable_static=no ;;
8469 # Look at the argument we got. We use all the common list separators.
8470 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8471 for pkg in $enableval; do
8473 if test "X$pkg" = "X$p"; then
8493 # Check whether --with-pic was given.
8494 if test "${with_pic+set}" = set; then :
8495 withval=$with_pic; lt_p=${PACKAGE-default}
8497 yes|no) pic_mode=$withval ;;
8500 # Look at the argument we got. We use all the common list separators.
8501 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8502 for lt_pkg in $withval; do
8504 if test "X$lt_pkg" = "X$lt_p"; then
8516 test -z "$pic_mode" && pic_mode=default
8524 # Check whether --enable-fast-install was given.
8525 if test "${enable_fast_install+set}" = set; then :
8526 enableval=$enable_fast_install; p=${PACKAGE-default}
8528 yes) enable_fast_install=yes ;;
8529 no) enable_fast_install=no ;;
8531 enable_fast_install=no
8532 # Look at the argument we got. We use all the common list separators.
8533 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8534 for pkg in $enableval; do
8536 if test "X$pkg" = "X$p"; then
8537 enable_fast_install=yes
8544 enable_fast_install=yes
8557 # This can be used to rebuild libtool when needed
8558 LIBTOOL_DEPS="$ltmain"
8560 # Always use our own libtool.
8561 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8592 test -z "$LN_S" && LN_S="ln -s"
8607 if test -n "${ZSH_VERSION+set}" ; then
8608 setopt NO_GLOB_SUBST
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8612 $as_echo_n "checking for objdir... " >&6; }
8613 if ${lt_cv_objdir+:} false; then :
8614 $as_echo_n "(cached) " >&6
8616 rm -f .libs 2>/dev/null
8617 mkdir .libs 2>/dev/null
8618 if test -d .libs; then
8621 # MS-DOS does not allow filenames that begin with a dot.
8624 rmdir .libs 2>/dev/null
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8627 $as_echo "$lt_cv_objdir" >&6; }
8628 objdir=$lt_cv_objdir
8634 cat >>confdefs.h <<_ACEOF
8635 #define LT_OBJDIR "$lt_cv_objdir/"
8643 # AIX sometimes has problems with the GCC collect2 program. For some
8644 # reason, if we set the COLLECT_NAMES environment variable, the problems
8645 # vanish in a puff of smoke.
8646 if test "X${COLLECT_NAMES+set}" != Xset; then
8648 export COLLECT_NAMES
8655 can_build_shared=yes
8657 # All known linkers require a `.a' archive for static linking (except MSVC,
8658 # which needs '.lib').
8661 with_gnu_ld="$lt_cv_prog_gnu_ld"
8664 old_CFLAGS="$CFLAGS"
8666 # Set sane defaults for various variables
8667 test -z "$CC" && CC=cc
8668 test -z "$LTCC" && LTCC=$CC
8669 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8670 test -z "$LD" && LD=ld
8671 test -z "$ac_objext" && ac_objext=o
8673 for cc_temp in $compiler""; do
8675 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8676 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8681 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8684 # Only perform the check for file, if the check method requires it
8685 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8686 case $deplibs_check_method in
8688 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8690 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8691 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8692 $as_echo_n "(cached) " >&6
8696 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8699 lt_save_MAGIC_CMD="$MAGIC_CMD"
8700 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8701 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8702 for ac_dir in $ac_dummy; do
8704 test -z "$ac_dir" && ac_dir=.
8705 if test -f $ac_dir/${ac_tool_prefix}file; then
8706 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8707 if test -n "$file_magic_test_file"; then
8708 case $deplibs_check_method in
8710 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8711 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8712 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8713 $EGREP "$file_magic_regex" > /dev/null; then
8718 *** Warning: the command libtool uses to detect shared libraries,
8719 *** $file_magic_cmd, produces output that libtool cannot recognize.
8720 *** The result is that libtool may fail to recognize shared libraries
8721 *** as such. This will affect the creation of libtool libraries that
8722 *** depend on shared libraries, but programs linked with such libtool
8723 *** libraries will work regardless of this problem. Nevertheless, you
8724 *** may want to report the problem to your system manager and/or to
8725 *** bug-libtool@gnu.org
8735 MAGIC_CMD="$lt_save_MAGIC_CMD"
8740 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8741 if test -n "$MAGIC_CMD"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8743 $as_echo "$MAGIC_CMD" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8753 if test -z "$lt_cv_path_MAGIC_CMD"; then
8754 if test -n "$ac_tool_prefix"; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8756 $as_echo_n "checking for file... " >&6; }
8757 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8758 $as_echo_n "(cached) " >&6
8762 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8765 lt_save_MAGIC_CMD="$MAGIC_CMD"
8766 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8767 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8768 for ac_dir in $ac_dummy; do
8770 test -z "$ac_dir" && ac_dir=.
8771 if test -f $ac_dir/file; then
8772 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8773 if test -n "$file_magic_test_file"; then
8774 case $deplibs_check_method in
8776 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8777 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8778 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8779 $EGREP "$file_magic_regex" > /dev/null; then
8784 *** Warning: the command libtool uses to detect shared libraries,
8785 *** $file_magic_cmd, produces output that libtool cannot recognize.
8786 *** The result is that libtool may fail to recognize shared libraries
8787 *** as such. This will affect the creation of libtool libraries that
8788 *** depend on shared libraries, but programs linked with such libtool
8789 *** libraries will work regardless of this problem. Nevertheless, you
8790 *** may want to report the problem to your system manager and/or to
8791 *** bug-libtool@gnu.org
8801 MAGIC_CMD="$lt_save_MAGIC_CMD"
8806 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8807 if test -n "$MAGIC_CMD"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8809 $as_echo "$MAGIC_CMD" >&6; }
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8825 # Use C for the default configuration in the libtool script
8829 ac_cpp='$CPP $CPPFLAGS'
8830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8835 # Source file extension for C test sources.
8838 # Object file extension for compiled C test sources.
8842 # Code to be used in simple compile tests
8843 lt_simple_compile_test_code="int some_variable = 0;"
8845 # Code to be used in simple link tests
8846 lt_simple_link_test_code='int main(){return(0);}'
8854 # If no C compiler was specified, use CC.
8857 # If no C compiler flags were specified, use CFLAGS.
8858 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8860 # Allow CC to be a program name with arguments.
8863 # Save the default compiler, since it gets overwritten when the other
8864 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8865 compiler_DEFAULT=$CC
8867 # save warnings/boilerplate of simple test code
8868 ac_outfile=conftest.$ac_objext
8869 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8870 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8871 _lt_compiler_boilerplate=`cat conftest.err`
8874 ac_outfile=conftest.$ac_objext
8875 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8876 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8877 _lt_linker_boilerplate=`cat conftest.err`
8881 if test -n "$compiler"; then
8883 lt_prog_compiler_no_builtin_flag=
8885 if test "$GCC" = yes; then
8886 case $cc_basename in
8888 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8890 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8894 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8895 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8896 $as_echo_n "(cached) " >&6
8898 lt_cv_prog_compiler_rtti_exceptions=no
8899 ac_outfile=conftest.$ac_objext
8900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8901 lt_compiler_flag="-fno-rtti -fno-exceptions"
8902 # Insert the option either (1) after the last *FLAGS variable, or
8903 # (2) before a word containing "conftest.", or (3) at the end.
8904 # Note that $ac_compile itself does not contain backslashes and begins
8905 # with a dollar sign (not a hyphen), so the echo should work correctly.
8906 # The option is referenced via a variable to avoid confusing sed.
8907 lt_compile=`echo "$ac_compile" | $SED \
8908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8910 -e 's:$: $lt_compiler_flag:'`
8911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8912 (eval "$lt_compile" 2>conftest.err)
8914 cat conftest.err >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 if (exit $ac_status) && test -s "$ac_outfile"; then
8917 # The compiler can only warn and ignore the option if not recognized
8918 # So say no if there are warnings other than the usual output.
8919 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8920 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8921 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8922 lt_cv_prog_compiler_rtti_exceptions=yes
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8929 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8931 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8932 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8944 lt_prog_compiler_wl=
8945 lt_prog_compiler_pic=
8946 lt_prog_compiler_static=
8949 if test "$GCC" = yes; then
8950 lt_prog_compiler_wl='-Wl,'
8951 lt_prog_compiler_static='-static'
8955 # All AIX code is PIC.
8956 if test "$host_cpu" = ia64; then
8957 # AIX 5 now supports IA64 processor
8958 lt_prog_compiler_static='-Bstatic'
8965 # see comment about AmigaOS4 .so support
8966 lt_prog_compiler_pic='-fPIC'
8969 # FIXME: we need at least 68020 code to build shared libraries, but
8970 # adding the `-m68020' flag to GCC prevents building anything better,
8972 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8977 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8978 # PIC is the default for these OSes.
8981 mingw* | cygwin* | pw32* | os2* | cegcc*)
8982 # This hack is so that the source file can tell whether it is being
8983 # built for inclusion in a dll (and should export symbols for example).
8984 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8985 # (--disable-auto-import) libraries
8986 lt_prog_compiler_pic='-DDLL_EXPORT'
8989 darwin* | rhapsody*)
8990 # PIC is the default on this platform
8991 # Common symbols not allowed in MH_DYLIB files
8992 lt_prog_compiler_pic='-fno-common'
8996 # PIC is the default for Haiku.
8997 # The "-static" flag exists, but is broken.
8998 lt_prog_compiler_static=
9002 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9003 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9004 # sets the default TLS model and affects inlining.
9010 lt_prog_compiler_pic='-fPIC'
9016 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9017 # Instead, we relocate shared libraries at runtime.
9021 # Just because we use GCC doesn't mean we suddenly get shared libraries
9022 # on systems that don't support them.
9023 lt_prog_compiler_can_build_shared=no
9028 # QNX uses GNU C++, but need to define -shared option too, otherwise
9030 lt_prog_compiler_pic='-fPIC -shared'
9034 if test -d /usr/nec; then
9035 lt_prog_compiler_pic=-Kconform_pic
9040 lt_prog_compiler_pic='-fPIC'
9044 case $cc_basename in
9045 nvcc*) # Cuda Compiler Driver 2.2
9046 lt_prog_compiler_wl='-Xlinker '
9047 if test -n "$lt_prog_compiler_pic"; then
9048 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9053 # PORTME Check for flag to pass linker flags through the system compiler.
9056 lt_prog_compiler_wl='-Wl,'
9057 if test "$host_cpu" = ia64; then
9058 # AIX 5 now supports IA64 processor
9059 lt_prog_compiler_static='-Bstatic'
9061 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9065 mingw* | cygwin* | pw32* | os2* | cegcc*)
9066 # This hack is so that the source file can tell whether it is being
9067 # built for inclusion in a dll (and should export symbols for example).
9068 lt_prog_compiler_pic='-DDLL_EXPORT'
9071 hpux9* | hpux10* | hpux11*)
9072 lt_prog_compiler_wl='-Wl,'
9073 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9080 lt_prog_compiler_pic='+Z'
9083 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9084 lt_prog_compiler_static='${wl}-a ${wl}archive'
9087 irix5* | irix6* | nonstopux*)
9088 lt_prog_compiler_wl='-Wl,'
9089 # PIC (with -KPIC) is the default.
9090 lt_prog_compiler_static='-non_shared'
9093 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9094 case $cc_basename in
9095 # old Intel for x86_64 which still supported -KPIC.
9097 lt_prog_compiler_wl='-Wl,'
9098 lt_prog_compiler_pic='-KPIC'
9099 lt_prog_compiler_static='-static'
9101 # icc used to be incompatible with GCC.
9102 # ICC 10 doesn't accept -KPIC any more.
9104 lt_prog_compiler_wl='-Wl,'
9105 lt_prog_compiler_pic='-fPIC'
9106 lt_prog_compiler_static='-static'
9108 # Lahey Fortran 8.1.
9110 lt_prog_compiler_wl='-Wl,'
9111 lt_prog_compiler_pic='--shared'
9112 lt_prog_compiler_static='--static'
9115 # NAG Fortran compiler
9116 lt_prog_compiler_wl='-Wl,-Wl,,'
9117 lt_prog_compiler_pic='-PIC'
9118 lt_prog_compiler_static='-Bstatic'
9120 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9121 # Portland Group compilers (*not* the Pentium gcc compiler,
9122 # which looks to be a dead project)
9123 lt_prog_compiler_wl='-Wl,'
9124 lt_prog_compiler_pic='-fpic'
9125 lt_prog_compiler_static='-Bstatic'
9128 lt_prog_compiler_wl='-Wl,'
9129 # All Alpha code is PIC.
9130 lt_prog_compiler_static='-non_shared'
9132 xl* | bgxl* | bgf* | mpixl*)
9133 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9134 lt_prog_compiler_wl='-Wl,'
9135 lt_prog_compiler_pic='-qpic'
9136 lt_prog_compiler_static='-qstaticlink'
9139 case `$CC -V 2>&1 | sed 5q` in
9140 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9141 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9142 lt_prog_compiler_pic='-KPIC'
9143 lt_prog_compiler_static='-Bstatic'
9144 lt_prog_compiler_wl=''
9146 *Sun\ F* | *Sun*Fortran*)
9147 lt_prog_compiler_pic='-KPIC'
9148 lt_prog_compiler_static='-Bstatic'
9149 lt_prog_compiler_wl='-Qoption ld '
9153 lt_prog_compiler_pic='-KPIC'
9154 lt_prog_compiler_static='-Bstatic'
9155 lt_prog_compiler_wl='-Wl,'
9157 *Intel*\ [CF]*Compiler*)
9158 lt_prog_compiler_wl='-Wl,'
9159 lt_prog_compiler_pic='-fPIC'
9160 lt_prog_compiler_static='-static'
9163 lt_prog_compiler_wl='-Wl,'
9164 lt_prog_compiler_pic='-fpic'
9165 lt_prog_compiler_static='-Bstatic'
9173 lt_prog_compiler_pic='-KPIC'
9174 lt_prog_compiler_static='-Bstatic'
9178 # QNX uses GNU C++, but need to define -shared option too, otherwise
9180 lt_prog_compiler_pic='-fPIC -shared'
9183 osf3* | osf4* | osf5*)
9184 lt_prog_compiler_wl='-Wl,'
9185 # All OSF/1 code is PIC.
9186 lt_prog_compiler_static='-non_shared'
9190 lt_prog_compiler_static='-non_shared'
9194 lt_prog_compiler_pic='-KPIC'
9195 lt_prog_compiler_static='-Bstatic'
9196 case $cc_basename in
9197 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9198 lt_prog_compiler_wl='-Qoption ld ';;
9200 lt_prog_compiler_wl='-Wl,';;
9205 lt_prog_compiler_wl='-Qoption ld '
9206 lt_prog_compiler_pic='-PIC'
9207 lt_prog_compiler_static='-Bstatic'
9210 sysv4 | sysv4.2uw2* | sysv4.3*)
9211 lt_prog_compiler_wl='-Wl,'
9212 lt_prog_compiler_pic='-KPIC'
9213 lt_prog_compiler_static='-Bstatic'
9217 if test -d /usr/nec ;then
9218 lt_prog_compiler_pic='-Kconform_pic'
9219 lt_prog_compiler_static='-Bstatic'
9223 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9224 lt_prog_compiler_wl='-Wl,'
9225 lt_prog_compiler_pic='-KPIC'
9226 lt_prog_compiler_static='-Bstatic'
9230 lt_prog_compiler_wl='-Wl,'
9231 lt_prog_compiler_can_build_shared=no
9235 lt_prog_compiler_pic='-pic'
9236 lt_prog_compiler_static='-Bstatic'
9240 lt_prog_compiler_can_build_shared=no
9246 # For platforms which do not support PIC, -DPIC is meaningless:
9248 lt_prog_compiler_pic=
9251 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9256 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9257 if ${lt_cv_prog_compiler_pic+:} false; then :
9258 $as_echo_n "(cached) " >&6
9260 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9263 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9264 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9267 # Check to make sure the PIC flag actually works.
9269 if test -n "$lt_prog_compiler_pic"; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9271 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9272 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9273 $as_echo_n "(cached) " >&6
9275 lt_cv_prog_compiler_pic_works=no
9276 ac_outfile=conftest.$ac_objext
9277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9278 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9279 # Insert the option either (1) after the last *FLAGS variable, or
9280 # (2) before a word containing "conftest.", or (3) at the end.
9281 # Note that $ac_compile itself does not contain backslashes and begins
9282 # with a dollar sign (not a hyphen), so the echo should work correctly.
9283 # The option is referenced via a variable to avoid confusing sed.
9284 lt_compile=`echo "$ac_compile" | $SED \
9285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9287 -e 's:$: $lt_compiler_flag:'`
9288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9289 (eval "$lt_compile" 2>conftest.err)
9291 cat conftest.err >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 if (exit $ac_status) && test -s "$ac_outfile"; then
9294 # The compiler can only warn and ignore the option if not recognized
9295 # So say no if there are warnings other than the usual output.
9296 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9297 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9298 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9299 lt_cv_prog_compiler_pic_works=yes
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9306 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9308 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9309 case $lt_prog_compiler_pic in
9311 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9314 lt_prog_compiler_pic=
9315 lt_prog_compiler_can_build_shared=no
9331 # Check to make sure the static flag actually works.
9333 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9335 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9336 if ${lt_cv_prog_compiler_static_works+:} false; then :
9337 $as_echo_n "(cached) " >&6
9339 lt_cv_prog_compiler_static_works=no
9340 save_LDFLAGS="$LDFLAGS"
9341 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9342 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9343 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9344 # The linker can only warn and ignore the option if not recognized
9345 # So say no if there are warnings
9346 if test -s conftest.err; then
9347 # Append any errors to the config.log.
9348 cat conftest.err 1>&5
9349 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9350 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9351 if diff conftest.exp conftest.er2 >/dev/null; then
9352 lt_cv_prog_compiler_static_works=yes
9355 lt_cv_prog_compiler_static_works=yes
9359 LDFLAGS="$save_LDFLAGS"
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9363 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9365 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9368 lt_prog_compiler_static=
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9378 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9379 if ${lt_cv_prog_compiler_c_o+:} false; then :
9380 $as_echo_n "(cached) " >&6
9382 lt_cv_prog_compiler_c_o=no
9383 $RM -r conftest 2>/dev/null
9387 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9389 lt_compiler_flag="-o out/conftest2.$ac_objext"
9390 # Insert the option either (1) after the last *FLAGS variable, or
9391 # (2) before a word containing "conftest.", or (3) at the end.
9392 # Note that $ac_compile itself does not contain backslashes and begins
9393 # with a dollar sign (not a hyphen), so the echo should work correctly.
9394 lt_compile=`echo "$ac_compile" | $SED \
9395 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9396 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9397 -e 's:$: $lt_compiler_flag:'`
9398 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9399 (eval "$lt_compile" 2>out/conftest.err)
9401 cat out/conftest.err >&5
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9405 # The compiler can only warn and ignore the option if not recognized
9406 # So say no if there are warnings
9407 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9408 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9409 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9410 lt_cv_prog_compiler_c_o=yes
9415 # SGI C++ compiler will create directory out/ii_files/ for
9416 # template instantiation
9417 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9418 $RM out/* && rmdir out
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9425 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9433 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9434 if ${lt_cv_prog_compiler_c_o+:} false; then :
9435 $as_echo_n "(cached) " >&6
9437 lt_cv_prog_compiler_c_o=no
9438 $RM -r conftest 2>/dev/null
9442 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9444 lt_compiler_flag="-o out/conftest2.$ac_objext"
9445 # Insert the option either (1) after the last *FLAGS variable, or
9446 # (2) before a word containing "conftest.", or (3) at the end.
9447 # Note that $ac_compile itself does not contain backslashes and begins
9448 # with a dollar sign (not a hyphen), so the echo should work correctly.
9449 lt_compile=`echo "$ac_compile" | $SED \
9450 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9452 -e 's:$: $lt_compiler_flag:'`
9453 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9454 (eval "$lt_compile" 2>out/conftest.err)
9456 cat out/conftest.err >&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9460 # The compiler can only warn and ignore the option if not recognized
9461 # So say no if there are warnings
9462 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9463 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9464 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9465 lt_cv_prog_compiler_c_o=yes
9470 # SGI C++ compiler will create directory out/ii_files/ for
9471 # template instantiation
9472 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9473 $RM out/* && rmdir out
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9480 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9485 hard_links="nottested"
9486 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9487 # do not overwrite the value of need_locks provided by the user
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9489 $as_echo_n "checking if we can lock with hard links... " >&6; }
9492 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9494 ln conftest.a conftest.b 2>&5 || hard_links=no
9495 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9497 $as_echo "$hard_links" >&6; }
9498 if test "$hard_links" = no; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9500 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9513 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9516 allow_undefined_flag=
9517 always_export_symbols=no
9519 archive_expsym_cmds=
9520 compiler_needs_object=no
9521 enable_shared_with_static_runtimes=no
9522 export_dynamic_flag_spec=
9523 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9524 hardcode_automatic=no
9526 hardcode_direct_absolute=no
9527 hardcode_libdir_flag_spec=
9528 hardcode_libdir_separator=
9530 hardcode_shlibpath_var=unsupported
9532 link_all_deplibs=unknown
9535 old_archive_from_new_cmds=
9536 old_archive_from_expsyms_cmds=
9537 thread_safe_flag_spec=
9538 whole_archive_flag_spec=
9539 # include_expsyms should be a list of space-separated symbols to be *always*
9540 # included in the symbol list
9542 # exclude_expsyms can be an extended regexp of symbols to exclude
9543 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9544 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9545 # as well as any symbol that contains `d'.
9546 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9547 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9548 # platforms (ab)use it in PIC code, but their linkers get confused if
9549 # the symbol is explicitly referenced. Since portable code cannot
9550 # rely on this symbol name, it's probably fine to never include it in
9551 # preloaded symbol tables.
9552 # Exclude shared library initialization/finalization symbols.
9553 extract_expsyms_cmds=
9556 cygwin* | mingw* | pw32* | cegcc*)
9557 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9558 # When not using gcc, we currently assume that we are using
9559 # Microsoft Visual C++.
9560 if test "$GCC" != yes; then
9565 # we just hope/assume this is gcc and not c89 (= MSVC++)
9571 linux* | k*bsd*-gnu | gnu*)
9578 # On some targets, GNU ld is compatible enough with the native linker
9579 # that we're better off using the native interface for both.
9580 lt_use_gnu_ld_interface=no
9581 if test "$with_gnu_ld" = yes; then
9584 # The AIX port of GNU ld has always aspired to compatibility
9585 # with the native linker. However, as the warning in the GNU ld
9586 # block says, versions before 2.19.5* couldn't really create working
9587 # shared libraries, regardless of the interface used.
9588 case `$LD -v 2>&1` in
9589 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9590 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9591 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9593 lt_use_gnu_ld_interface=yes
9598 lt_use_gnu_ld_interface=yes
9603 if test "$lt_use_gnu_ld_interface" = yes; then
9604 # If archive_cmds runs LD, not CC, wlarc should be empty
9607 # Set some defaults for GNU ld with shared library support. These
9608 # are reset later if shared libraries are not supported. Putting them
9609 # here allows them to be overridden if necessary.
9610 runpath_var=LD_RUN_PATH
9611 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9612 export_dynamic_flag_spec='${wl}--export-dynamic'
9613 # ancient GNU ld didn't support --whole-archive et. al.
9614 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9615 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9617 whole_archive_flag_spec=
9619 supports_anon_versioning=no
9620 case `$LD -v 2>&1` in
9621 *GNU\ gold*) supports_anon_versioning=yes ;;
9622 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9623 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9624 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9625 *\ 2.11.*) ;; # other 2.11 versions
9626 *) supports_anon_versioning=yes ;;
9629 # See if GNU ld supports shared libraries.
9632 # On AIX/PPC, the GNU linker is very broken
9633 if test "$host_cpu" != ia64; then
9637 *** Warning: the GNU linker, at least up to release 2.19, is reported
9638 *** to be unable to reliably create shared libraries on AIX.
9639 *** Therefore, libtool is disabling shared libraries support. If you
9640 *** really care for shared libraries, you may want to install binutils
9641 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9642 *** You will then need to restart the configuration process.
9651 # see comment about AmigaOS4 .so support
9652 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9653 archive_expsym_cmds=''
9656 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)'
9657 hardcode_libdir_flag_spec='-L$libdir'
9658 hardcode_minus_L=yes
9664 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9665 allow_undefined_flag=unsupported
9666 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9667 # support --undefined. This deserves some investigation. FIXME
9668 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9674 cygwin* | mingw* | pw32* | cegcc*)
9675 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9676 # as there is no search path for DLLs.
9677 hardcode_libdir_flag_spec='-L$libdir'
9678 export_dynamic_flag_spec='${wl}--export-all-symbols'
9679 allow_undefined_flag=unsupported
9680 always_export_symbols=no
9681 enable_shared_with_static_runtimes=yes
9682 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'
9683 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9685 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9686 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9687 # If the export-symbols file already is a .def file (1st line
9688 # is EXPORTS), use it as is; otherwise, prepend...
9689 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9690 cp $export_symbols $output_objdir/$soname.def;
9692 echo EXPORTS > $output_objdir/$soname.def;
9693 cat $export_symbols >> $output_objdir/$soname.def;
9695 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9702 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9703 link_all_deplibs=yes
9708 hardcode_shlibpath_var=no
9709 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9710 export_dynamic_flag_spec='${wl}-E'
9711 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9712 # Instead, shared libraries are loaded at an image base (0x10000000 by
9713 # default) and relocated if they conflict, which is a slow very memory
9714 # consuming and fragmenting process. To avoid this, we pick a random,
9715 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9716 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9717 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9718 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'
9721 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9723 if test "$host_os" = linux-dietlibc; then
9724 case $cc_basename in
9725 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9728 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9729 && test "$tmp_diet" = no
9731 tmp_addflag=' $pic_flag'
9732 tmp_sharedflag='-shared'
9733 case $cc_basename,$host_cpu in
9734 pgcc*) # Portland Group C compiler
9735 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'
9736 tmp_addflag=' $pic_flag'
9738 pgf77* | pgf90* | pgf95* | pgfortran*)
9739 # Portland Group f77 and f90 compilers
9740 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'
9741 tmp_addflag=' $pic_flag -Mnomain' ;;
9742 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9743 tmp_addflag=' -i_dynamic' ;;
9744 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9745 tmp_addflag=' -i_dynamic -nofor_main' ;;
9746 ifc* | ifort*) # Intel Fortran compiler
9747 tmp_addflag=' -nofor_main' ;;
9748 lf95*) # Lahey Fortran 8.1
9749 whole_archive_flag_spec=
9750 tmp_sharedflag='--shared' ;;
9751 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9752 tmp_sharedflag='-qmkshrobj'
9754 nvcc*) # Cuda Compiler Driver 2.2
9755 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'
9756 compiler_needs_object=yes
9759 case `$CC -V 2>&1 | sed 5q` in
9760 *Sun\ C*) # Sun C 5.9
9761 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'
9762 compiler_needs_object=yes
9763 tmp_sharedflag='-G' ;;
9764 *Sun\ F*) # Sun Fortran 8.3
9765 tmp_sharedflag='-G' ;;
9767 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9769 if test "x$supports_anon_versioning" = xyes; then
9770 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9771 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9772 echo "local: *; };" >> $output_objdir/$libname.ver~
9773 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9776 case $cc_basename in
9777 xlf* | bgf* | bgxlf* | mpixlf*)
9778 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9779 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9780 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9781 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9782 if test "x$supports_anon_versioning" = xyes; then
9783 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9784 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9785 echo "local: *; };" >> $output_objdir/$libname.ver~
9786 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9795 netbsd* | netbsdelf*-gnu)
9796 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9797 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9800 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9801 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9806 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9810 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9811 *** create shared libraries on Solaris systems. Therefore, libtool
9812 *** is disabling shared libraries support. We urge you to upgrade GNU
9813 *** binutils to release 2.9.1 or newer. Another option is to modify
9814 *** your PATH or compiler configuration so that the native linker is
9815 *** used, and then restart.
9818 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9819 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9820 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9826 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9827 case `$LD -v 2>&1` in
9828 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9832 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9833 *** reliably create shared libraries on SCO systems. Therefore, libtool
9834 *** is disabling shared libraries support. We urge you to upgrade GNU
9835 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9836 *** your PATH or compiler configuration so that the native linker is
9837 *** used, and then restart.
9842 # For security reasons, it is highly recommended that you always
9843 # use absolute paths for naming shared libraries, and exclude the
9844 # DT_RUNPATH tag from executables and libraries. But doing so
9845 # requires that you compile everything twice, which is a pain.
9846 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9847 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9848 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9849 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9858 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9861 hardcode_shlibpath_var=no
9865 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9866 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9867 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9874 if test "$ld_shlibs" = no; then
9876 hardcode_libdir_flag_spec=
9877 export_dynamic_flag_spec=
9878 whole_archive_flag_spec=
9881 # PORTME fill in a description of your system's linker (not GNU ld)
9884 allow_undefined_flag=unsupported
9885 always_export_symbols=yes
9886 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'
9887 # Note: this linker hardcodes the directories in LIBPATH if there
9888 # are no directories specified by -L.
9889 hardcode_minus_L=yes
9890 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9891 # Neither direct hardcoding nor static linking is supported with a
9893 hardcode_direct=unsupported
9898 if test "$host_cpu" = ia64; then
9899 # On IA64, the linker does run time linking by default, so we don't
9900 # have to do anything special.
9901 aix_use_runtimelinking=no
9902 exp_sym_flag='-Bexport'
9905 # If we're using GNU nm, then we don't want the "-C" option.
9906 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9907 # Also, AIX nm treats weak defined symbols like other global
9908 # defined symbols, whereas GNU nm marks them as "W".
9909 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9910 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'
9912 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'
9914 aix_use_runtimelinking=no
9916 # Test if we are trying to use run time linking or normal
9917 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9918 # need to do runtime linking.
9919 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9920 for ld_flag in $LDFLAGS; do
9921 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9922 aix_use_runtimelinking=yes
9929 exp_sym_flag='-bexport'
9930 no_entry_flag='-bnoentry'
9933 # When large executables or shared objects are built, AIX ld can
9934 # have problems creating the table of contents. If linking a library
9935 # or program results in "error TOC overflow" add -mminimal-toc to
9936 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9937 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9941 hardcode_direct_absolute=yes
9942 hardcode_libdir_separator=':'
9943 link_all_deplibs=yes
9944 file_list_spec='${wl}-f,'
9946 if test "$GCC" = yes; then
9947 case $host_os in aix4.[012]|aix4.[012].*)
9948 # We only want to do this on AIX 4.2 and lower, the check
9949 # below for broken collect2 doesn't work under 4.3+
9950 collect2name=`${CC} -print-prog-name=collect2`
9951 if test -f "$collect2name" &&
9952 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9954 # We have reworked collect2
9957 # We have old collect2
9958 hardcode_direct=unsupported
9959 # It fails to find uninstalled libraries when the uninstalled
9960 # path is not listed in the libpath. Setting hardcode_minus_L
9961 # to unsupported forces relinking
9962 hardcode_minus_L=yes
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_libdir_separator=
9968 shared_flag='-shared'
9969 if test "$aix_use_runtimelinking" = yes; then
9970 shared_flag="$shared_flag "'${wl}-G'
9975 if test "$host_cpu" = ia64; then
9976 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9977 # chokes on -Wl,-G. The following line is correct:
9980 if test "$aix_use_runtimelinking" = yes; then
9981 shared_flag='${wl}-G'
9983 shared_flag='${wl}-bM:SRE'
9988 export_dynamic_flag_spec='${wl}-bexpall'
9989 # It seems that -bexpall does not export symbols beginning with
9990 # underscore (_), so it is better to generate a list of symbols to export.
9991 always_export_symbols=yes
9992 if test "$aix_use_runtimelinking" = yes; then
9993 # Warning - without using the other runtime loading flags (-brtl),
9994 # -berok will link without error, but may produce a broken library.
9995 allow_undefined_flag='-berok'
9996 # Determine the default libpath from the value encoded in an
9998 if test "${lt_cv_aix_libpath+set}" = set; then
9999 aix_libpath=$lt_cv_aix_libpath
10001 if ${lt_cv_aix_libpath_+:} false; then :
10002 $as_echo_n "(cached) " >&6
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10015 if ac_fn_c_try_link "$LINENO"; then :
10017 lt_aix_libpath_sed='
10018 /Import File Strings/,/^$/ {
10020 s/^0 *\([^ ]*\) *$/\1/
10024 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10025 # Check for a 64-bit object if we didn't find anything.
10026 if test -z "$lt_cv_aix_libpath_"; then
10027 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 if test -z "$lt_cv_aix_libpath_"; then
10033 lt_cv_aix_libpath_="/usr/lib:/lib"
10038 aix_libpath=$lt_cv_aix_libpath_
10041 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10042 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"
10044 if test "$host_cpu" = ia64; then
10045 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10046 allow_undefined_flag="-z nodefs"
10047 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"
10049 # Determine the default libpath from the value encoded in an
10050 # empty executable.
10051 if test "${lt_cv_aix_libpath+set}" = set; then
10052 aix_libpath=$lt_cv_aix_libpath
10054 if ${lt_cv_aix_libpath_+:} false; then :
10055 $as_echo_n "(cached) " >&6
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10068 if ac_fn_c_try_link "$LINENO"; then :
10070 lt_aix_libpath_sed='
10071 /Import File Strings/,/^$/ {
10073 s/^0 *\([^ ]*\) *$/\1/
10077 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10078 # Check for a 64-bit object if we didn't find anything.
10079 if test -z "$lt_cv_aix_libpath_"; then
10080 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 if test -z "$lt_cv_aix_libpath_"; then
10086 lt_cv_aix_libpath_="/usr/lib:/lib"
10091 aix_libpath=$lt_cv_aix_libpath_
10094 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10095 # Warning - without using the other run time loading flags,
10096 # -berok will link without error, but may produce a broken library.
10097 no_undefined_flag=' ${wl}-bernotok'
10098 allow_undefined_flag=' ${wl}-berok'
10099 if test "$with_gnu_ld" = yes; then
10100 # We only use this code for GNU lds that support --whole-archive.
10101 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10103 # Exported symbols can be pulled into shared objects from archives
10104 whole_archive_flag_spec='$convenience'
10106 archive_cmds_need_lc=yes
10107 # This is similar to how AIX traditionally builds its shared libraries.
10108 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'
10116 # see comment about AmigaOS4 .so support
10117 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10118 archive_expsym_cmds=''
10121 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)'
10122 hardcode_libdir_flag_spec='-L$libdir'
10123 hardcode_minus_L=yes
10129 export_dynamic_flag_spec=-rdynamic
10132 cygwin* | mingw* | pw32* | cegcc*)
10133 # When not using gcc, we currently assume that we are using
10134 # Microsoft Visual C++.
10135 # hardcode_libdir_flag_spec is actually meaningless, as there is
10136 # no search path for DLLs.
10137 case $cc_basename in
10140 hardcode_libdir_flag_spec=' '
10141 allow_undefined_flag=unsupported
10142 always_export_symbols=yes
10144 # Tell ltmain to make .lib files, not .a files.
10146 # Tell ltmain to make .dll files, not .so files.
10148 # FIXME: Setting linknames here is a bad hack.
10149 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10150 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10151 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10153 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10155 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10157 # The linker will not automatically build a static lib if we build a DLL.
10158 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10159 enable_shared_with_static_runtimes=yes
10160 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10161 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10163 old_postinstall_cmds='chmod 644 $oldlib'
10164 postlink_cmds='lt_outputfile="@OUTPUT@"~
10165 lt_tool_outputfile="@TOOL_OUTPUT@"~
10166 case $lt_outputfile in
10169 lt_outputfile="$lt_outputfile.exe"
10170 lt_tool_outputfile="$lt_tool_outputfile.exe"
10173 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10174 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10175 $RM "$lt_outputfile.manifest";
10179 # Assume MSVC wrapper
10180 hardcode_libdir_flag_spec=' '
10181 allow_undefined_flag=unsupported
10182 # Tell ltmain to make .lib files, not .a files.
10184 # Tell ltmain to make .dll files, not .so files.
10186 # FIXME: Setting linknames here is a bad hack.
10187 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10188 # The linker will automatically build a .lib file if we build a DLL.
10189 old_archive_from_new_cmds='true'
10190 # FIXME: Should let the user specify the lib program.
10191 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10192 enable_shared_with_static_runtimes=yes
10197 darwin* | rhapsody*)
10200 archive_cmds_need_lc=no
10202 hardcode_automatic=yes
10203 hardcode_shlibpath_var=unsupported
10204 if test "$lt_cv_ld_force_load" = "yes"; then
10205 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\"`'
10208 whole_archive_flag_spec=''
10210 link_all_deplibs=yes
10211 allow_undefined_flag="$_lt_dar_allow_undefined"
10212 case $cc_basename in
10213 ifort*) _lt_dar_can_shared=yes ;;
10214 *) _lt_dar_can_shared=$GCC ;;
10216 if test "$_lt_dar_can_shared" = "yes"; then
10217 output_verbose_link_cmd=func_echo_all
10218 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10219 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10220 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}"
10221 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}"
10230 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10231 hardcode_libdir_flag_spec='-L$libdir'
10232 hardcode_shlibpath_var=no
10235 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10236 # support. Future versions do this automatically, but an explicit c++rt0.o
10237 # does not break anything, and helps significantly (at the cost of a little
10240 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10241 hardcode_libdir_flag_spec='-R$libdir'
10242 hardcode_direct=yes
10243 hardcode_shlibpath_var=no
10246 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10248 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10249 hardcode_direct=yes
10250 hardcode_minus_L=yes
10251 hardcode_shlibpath_var=no
10254 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10255 freebsd* | dragonfly*)
10256 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10257 hardcode_libdir_flag_spec='-R$libdir'
10258 hardcode_direct=yes
10259 hardcode_shlibpath_var=no
10263 if test "$GCC" = yes; then
10264 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'
10266 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'
10268 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10269 hardcode_libdir_separator=:
10270 hardcode_direct=yes
10272 # hardcode_minus_L: Not really in the search PATH,
10273 # but as the default location of the library.
10274 hardcode_minus_L=yes
10275 export_dynamic_flag_spec='${wl}-E'
10279 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10280 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10282 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10284 if test "$with_gnu_ld" = no; then
10285 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10286 hardcode_libdir_separator=:
10287 hardcode_direct=yes
10288 hardcode_direct_absolute=yes
10289 export_dynamic_flag_spec='${wl}-E'
10290 # hardcode_minus_L: Not really in the search PATH,
10291 # but as the default location of the library.
10292 hardcode_minus_L=yes
10297 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10300 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10303 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10306 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10312 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10315 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10319 # Older versions of the 11.00 compiler do not understand -b yet
10320 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10322 $as_echo_n "checking if $CC understands -b... " >&6; }
10323 if ${lt_cv_prog_compiler__b+:} false; then :
10324 $as_echo_n "(cached) " >&6
10326 lt_cv_prog_compiler__b=no
10327 save_LDFLAGS="$LDFLAGS"
10328 LDFLAGS="$LDFLAGS -b"
10329 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10330 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10331 # The linker can only warn and ignore the option if not recognized
10332 # So say no if there are warnings
10333 if test -s conftest.err; then
10334 # Append any errors to the config.log.
10335 cat conftest.err 1>&5
10336 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10337 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10338 if diff conftest.exp conftest.er2 >/dev/null; then
10339 lt_cv_prog_compiler__b=yes
10342 lt_cv_prog_compiler__b=yes
10346 LDFLAGS="$save_LDFLAGS"
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10350 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10352 if test x"$lt_cv_prog_compiler__b" = xyes; then
10353 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10355 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10361 if test "$with_gnu_ld" = no; then
10362 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10363 hardcode_libdir_separator=:
10368 hardcode_shlibpath_var=no
10371 hardcode_direct=yes
10372 hardcode_direct_absolute=yes
10373 export_dynamic_flag_spec='${wl}-E'
10375 # hardcode_minus_L: Not really in the search PATH,
10376 # but as the default location of the library.
10377 hardcode_minus_L=yes
10383 irix5* | irix6* | nonstopux*)
10384 if test "$GCC" = yes; then
10385 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'
10386 # Try to use the -exported_symbol ld option, if it does not
10387 # work, assume that -exports_file does not work either and
10388 # implicitly export all symbols.
10389 # This should be the same for all languages, so no per-tag cache variable.
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10391 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10392 if ${lt_cv_irix_exported_symbol+:} false; then :
10393 $as_echo_n "(cached) " >&6
10395 save_LDFLAGS="$LDFLAGS"
10396 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10399 int foo (void) { return 0; }
10401 if ac_fn_c_try_link "$LINENO"; then :
10402 lt_cv_irix_exported_symbol=yes
10404 lt_cv_irix_exported_symbol=no
10406 rm -f core conftest.err conftest.$ac_objext \
10407 conftest$ac_exeext conftest.$ac_ext
10408 LDFLAGS="$save_LDFLAGS"
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10411 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10412 if test "$lt_cv_irix_exported_symbol" = yes; then
10413 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'
10416 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'
10417 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'
10419 archive_cmds_need_lc='no'
10420 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10421 hardcode_libdir_separator=:
10423 link_all_deplibs=yes
10426 netbsd* | netbsdelf*-gnu)
10427 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10428 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10430 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10432 hardcode_libdir_flag_spec='-R$libdir'
10433 hardcode_direct=yes
10434 hardcode_shlibpath_var=no
10438 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10439 hardcode_direct=yes
10440 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10441 hardcode_libdir_separator=:
10442 hardcode_shlibpath_var=no
10449 if test -f /usr/libexec/ld.so; then
10450 hardcode_direct=yes
10451 hardcode_shlibpath_var=no
10452 hardcode_direct_absolute=yes
10453 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10454 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10455 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10456 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10457 export_dynamic_flag_spec='${wl}-E'
10460 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10461 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10462 hardcode_libdir_flag_spec='-R$libdir'
10465 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10466 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10476 hardcode_libdir_flag_spec='-L$libdir'
10477 hardcode_minus_L=yes
10478 allow_undefined_flag=unsupported
10479 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'
10480 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10484 if test "$GCC" = yes; then
10485 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10486 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'
10488 allow_undefined_flag=' -expect_unresolved \*'
10489 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'
10491 archive_cmds_need_lc='no'
10492 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10493 hardcode_libdir_separator=:
10496 osf4* | osf5*) # as osf3* with the addition of -msym flag
10497 if test "$GCC" = yes; then
10498 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10499 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'
10500 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10502 allow_undefined_flag=' -expect_unresolved \*'
10503 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'
10504 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~
10505 $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'
10507 # Both c and cxx compiler support -rpath directly
10508 hardcode_libdir_flag_spec='-rpath $libdir'
10510 archive_cmds_need_lc='no'
10511 hardcode_libdir_separator=:
10515 no_undefined_flag=' -z defs'
10516 if test "$GCC" = yes; then
10518 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10519 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10520 $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'
10522 case `$CC -V 2>&1` in
10525 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10526 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10527 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10531 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10532 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10533 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10537 hardcode_libdir_flag_spec='-R$libdir'
10538 hardcode_shlibpath_var=no
10540 solaris2.[0-5] | solaris2.[0-5].*) ;;
10542 # The compiler driver will combine and reorder linker options,
10543 # but understands `-z linker_flag'. GCC discards it without `$wl',
10544 # but is careful enough not to reorder.
10545 # Supported since Solaris 2.6 (maybe 2.5.1?)
10546 if test "$GCC" = yes; then
10547 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10549 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10553 link_all_deplibs=yes
10557 if test "x$host_vendor" = xsequent; then
10558 # Use $CC to link under sequent, because it throws in some extra .o
10559 # files that make .init and .fini sections work.
10560 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10562 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10564 hardcode_libdir_flag_spec='-L$libdir'
10565 hardcode_direct=yes
10566 hardcode_minus_L=yes
10567 hardcode_shlibpath_var=no
10571 case $host_vendor in
10573 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10574 hardcode_direct=yes # is this really true???
10577 ## LD is ld it makes a PLAMLIB
10578 ## CC just makes a GrossModule.
10579 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10580 reload_cmds='$CC -r -o $output$reload_objs'
10584 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10585 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10588 runpath_var='LD_RUN_PATH'
10589 hardcode_shlibpath_var=no
10593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10594 hardcode_shlibpath_var=no
10595 export_dynamic_flag_spec='-Bexport'
10599 if test -d /usr/nec; then
10600 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10601 hardcode_shlibpath_var=no
10602 runpath_var=LD_RUN_PATH
10603 hardcode_runpath_var=yes
10608 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10609 no_undefined_flag='${wl}-z,text'
10610 archive_cmds_need_lc=no
10611 hardcode_shlibpath_var=no
10612 runpath_var='LD_RUN_PATH'
10614 if test "$GCC" = yes; then
10615 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10616 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10618 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10619 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 sysv5* | sco3.2v5* | sco5v6*)
10624 # Note: We can NOT use -z defs as we might desire, because we do not
10625 # link with -lc, and that would cause any symbols used from libc to
10626 # always be unresolved, which means just about no library would
10627 # ever link correctly. If we're not using GNU ld we use -z text
10628 # though, which does catch some bad symbols but isn't as heavy-handed
10630 no_undefined_flag='${wl}-z,text'
10631 allow_undefined_flag='${wl}-z,nodefs'
10632 archive_cmds_need_lc=no
10633 hardcode_shlibpath_var=no
10634 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10635 hardcode_libdir_separator=':'
10636 link_all_deplibs=yes
10637 export_dynamic_flag_spec='${wl}-Bexport'
10638 runpath_var='LD_RUN_PATH'
10640 if test "$GCC" = yes; then
10641 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10642 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10644 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10645 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10650 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10651 hardcode_libdir_flag_spec='-L$libdir'
10652 hardcode_shlibpath_var=no
10660 if test x$host_vendor = xsni; then
10662 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10663 export_dynamic_flag_spec='${wl}-Blargedynsym'
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10670 $as_echo "$ld_shlibs" >&6; }
10671 test "$ld_shlibs" = no && can_build_shared=no
10673 with_gnu_ld=$with_gnu_ld
10690 # Do we need to explicitly link libc?
10692 case "x$archive_cmds_need_lc" in
10694 # Assume -lc should be added
10695 archive_cmds_need_lc=yes
10697 if test "$enable_shared" = yes && test "$GCC" = yes; then
10698 case $archive_cmds in
10700 # FIXME: we may have to deal with multi-command sequences.
10703 # Test whether the compiler implicitly links with -lc since on some
10704 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10705 # to ld, don't add -lc before -lgcc.
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10707 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10708 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10709 $as_echo_n "(cached) " >&6
10712 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10715 (eval $ac_compile) 2>&5
10717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10718 test $ac_status = 0; } 2>conftest.err; then
10721 libobjs=conftest.$ac_objext
10723 wl=$lt_prog_compiler_wl
10724 pic_flag=$lt_prog_compiler_pic
10730 lt_save_allow_undefined_flag=$allow_undefined_flag
10731 allow_undefined_flag=
10732 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10733 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10736 test $ac_status = 0; }
10738 lt_cv_archive_cmds_need_lc=no
10740 lt_cv_archive_cmds_need_lc=yes
10742 allow_undefined_flag=$lt_save_allow_undefined_flag
10744 cat conftest.err 1>&5
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10750 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10751 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10910 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10912 if test "$GCC" = yes; then
10914 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10915 *) lt_awk_arg="/^libraries:/" ;;
10918 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10919 *) lt_sed_strip_eq="s,=/,/,g" ;;
10921 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10922 case $lt_search_path_spec in
10924 # if the path contains ";" then we assume it to be the separator
10925 # otherwise default to the standard path separator (i.e. ":") - it is
10926 # assumed that no part of a normal pathname contains ";" but that should
10927 # okay in the real world where ";" in dirpaths is itself problematic.
10928 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10931 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10934 # Ok, now we have the path, separated by spaces, we can step through it
10935 # and add multilib dir if necessary.
10936 lt_tmp_lt_search_path_spec=
10937 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10938 for lt_sys_path in $lt_search_path_spec; do
10939 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10940 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10942 test -d "$lt_sys_path" && \
10943 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10946 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10947 BEGIN {RS=" "; FS="/|\n";} {
10950 for (lt_i = NF; lt_i > 0; lt_i--) {
10951 if ($lt_i != "" && $lt_i != ".") {
10952 if ($lt_i == "..") {
10955 if (lt_count == 0) {
10956 lt_foo="/" $lt_i lt_foo;
10963 if (lt_foo != "") { lt_freq[lt_foo]++; }
10964 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10966 # AWK program above erroneously prepends '/' to C:/dos/paths
10969 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10970 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10972 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10974 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10976 library_names_spec=
10977 libname_spec='lib$name'
10981 postuninstall_cmds=
10985 shlibpath_overrides_runpath=unknown
10987 dynamic_linker="$host_os ld.so"
10988 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10989 need_lib_prefix=unknown
10990 hardcode_into_libs=no
10992 # when you set need_version to no, make sure it does not cause -set_version
10993 # flags to be left without arguments
10994 need_version=unknown
10998 version_type=linux # correct to gnu/linux during the next big refactor
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11000 shlibpath_var=LIBPATH
11002 # AIX 3 has no versioning support, so we append a major version to the name.
11003 soname_spec='${libname}${release}${shared_ext}$major'
11007 version_type=linux # correct to gnu/linux during the next big refactor
11010 hardcode_into_libs=yes
11011 if test "$host_cpu" = ia64; then
11012 # AIX 5 supports IA64
11013 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11014 shlibpath_var=LD_LIBRARY_PATH
11016 # With GCC up to 2.95.x, collect2 would create an import file
11017 # for dependence libraries. The import file would start with
11018 # the line `#! .'. This would cause the generated library to
11019 # depend on `.', always an invalid library. This was fixed in
11020 # development snapshots of GCC prior to 3.0.
11022 aix4 | aix4.[01] | aix4.[01].*)
11023 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11025 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11028 can_build_shared=no
11032 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11033 # soname into executable. Probably we can add versioning support to
11034 # collect2, so additional links can be useful in future.
11035 if test "$aix_use_runtimelinking" = yes; then
11036 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11037 # instead of lib<name>.a to let people know that these are not
11038 # typical AIX shared libraries.
11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11041 # We preserve .a as extension for shared libraries through AIX4.2
11042 # and later when we are not doing run time linking.
11043 library_names_spec='${libname}${release}.a $libname.a'
11044 soname_spec='${libname}${release}${shared_ext}$major'
11046 shlibpath_var=LIBPATH
11053 # Since July 2007 AmigaOS4 officially supports .so libraries.
11054 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11058 library_names_spec='$libname.ixlibrary $libname.a'
11059 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11060 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'
11066 library_names_spec='${libname}${shared_ext}'
11067 dynamic_linker="$host_os ld.so"
11068 shlibpath_var=LIBRARY_PATH
11072 version_type=linux # correct to gnu/linux during the next big refactor
11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075 soname_spec='${libname}${release}${shared_ext}$major'
11076 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11077 shlibpath_var=LD_LIBRARY_PATH
11078 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11079 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11080 # the default ld.so.conf also contains /usr/contrib/lib and
11081 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11082 # libtool to hard-code these into programs
11085 cygwin* | mingw* | pw32* | cegcc*)
11086 version_type=windows
11091 case $GCC,$cc_basename in
11094 library_names_spec='$libname.dll.a'
11095 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11096 postinstall_cmds='base_file=`basename \${file}`~
11097 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11098 dldir=$destdir/`dirname \$dlpath`~
11099 test -d \$dldir || mkdir -p \$dldir~
11100 $install_prog $dir/$dlname \$dldir/$dlname~
11101 chmod a+x \$dldir/$dlname~
11102 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11103 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11105 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11106 dlpath=$dir/\$dldll~
11108 shlibpath_overrides_runpath=yes
11112 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11113 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11115 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11118 # MinGW DLLs use traditional 'lib' prefix
11119 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11122 # pw32 DLLs use 'pw' prefix rather than 'lib'
11123 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11126 dynamic_linker='Win32 ld.exe'
11131 libname_spec='$name'
11132 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11133 library_names_spec='${libname}.dll.lib'
11137 sys_lib_search_path_spec=
11140 for lt_path in $LIB
11143 # Let DOS variable expansion print the short 8.3 style file name.
11144 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11145 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11148 # Convert to MSYS style.
11149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11152 # Convert to unix form, then to dos form, then back to unix form
11153 # but this time dos style (no spaces!) so that the unix form looks
11154 # like /cygdrive/c/PROGRA~1:/cygdr...
11155 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11156 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11157 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11160 sys_lib_search_path_spec="$LIB"
11161 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11162 # It is most probably a Windows format PATH.
11163 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11165 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11167 # FIXME: find the short name or the path components, as spaces are
11168 # common. (e.g. "Program Files" -> "PROGRA~1")
11172 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11173 postinstall_cmds='base_file=`basename \${file}`~
11174 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11175 dldir=$destdir/`dirname \$dlpath`~
11176 test -d \$dldir || mkdir -p \$dldir~
11177 $install_prog $dir/$dlname \$dldir/$dlname'
11178 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11179 dlpath=$dir/\$dldll~
11181 shlibpath_overrides_runpath=yes
11182 dynamic_linker='Win32 link.exe'
11186 # Assume MSVC wrapper
11187 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11188 dynamic_linker='Win32 ld.exe'
11191 # FIXME: first we should search . and the directory the executable is in
11195 darwin* | rhapsody*)
11196 dynamic_linker="$host_os dyld"
11197 version_type=darwin
11200 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11201 soname_spec='${libname}${release}${major}$shared_ext'
11202 shlibpath_overrides_runpath=yes
11203 shlibpath_var=DYLD_LIBRARY_PATH
11204 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11206 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11207 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11211 version_type=linux # correct to gnu/linux during the next big refactor
11214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11215 soname_spec='${libname}${release}${shared_ext}$major'
11216 shlibpath_var=LD_LIBRARY_PATH
11219 freebsd* | dragonfly*)
11220 # DragonFly does not have aout. When/if they implement a new
11221 # versioning mechanism, adjust this.
11222 if test -x /usr/bin/objformat; then
11223 objformat=`/usr/bin/objformat`
11226 freebsd[23].*) objformat=aout ;;
11227 *) objformat=elf ;;
11230 version_type=freebsd-$objformat
11231 case $version_type in
11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11238 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11242 shlibpath_var=LD_LIBRARY_PATH
11245 shlibpath_overrides_runpath=yes
11247 freebsd3.[01]* | freebsdelf3.[01]*)
11248 shlibpath_overrides_runpath=yes
11249 hardcode_into_libs=yes
11251 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11252 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11253 shlibpath_overrides_runpath=no
11254 hardcode_into_libs=yes
11256 *) # from 4.6 on, and DragonFly
11257 shlibpath_overrides_runpath=yes
11258 hardcode_into_libs=yes
11264 version_type=linux # correct to gnu/linux during the next big refactor
11267 dynamic_linker="$host_os runtime_loader"
11268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11269 soname_spec='${libname}${release}${shared_ext}$major'
11270 shlibpath_var=LIBRARY_PATH
11271 shlibpath_overrides_runpath=yes
11272 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11273 hardcode_into_libs=yes
11276 hpux9* | hpux10* | hpux11*)
11277 # Give a soname corresponding to the major version so that dld.sl refuses to
11278 # link against other versions.
11285 hardcode_into_libs=yes
11286 dynamic_linker="$host_os dld.so"
11287 shlibpath_var=LD_LIBRARY_PATH
11288 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32; then
11292 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11294 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11296 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11300 hardcode_into_libs=yes
11301 dynamic_linker="$host_os dld.sl"
11302 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11303 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305 soname_spec='${libname}${release}${shared_ext}$major'
11306 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11307 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11311 dynamic_linker="$host_os dld.sl"
11312 shlibpath_var=SHLIB_PATH
11313 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11315 soname_spec='${libname}${release}${shared_ext}$major'
11318 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11319 postinstall_cmds='chmod 555 $lib'
11320 # or fails outright, so override atomically:
11321 install_override_mode=555
11325 version_type=linux # correct to gnu/linux during the next big refactor
11328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11329 soname_spec='${libname}${release}${shared_ext}$major'
11330 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11331 shlibpath_var=LD_LIBRARY_PATH
11332 shlibpath_overrides_runpath=no
11333 hardcode_into_libs=yes
11336 irix5* | irix6* | nonstopux*)
11338 nonstopux*) version_type=nonstopux ;;
11340 if test "$lt_cv_prog_gnu_ld" = yes; then
11341 version_type=linux # correct to gnu/linux during the next big refactor
11348 soname_spec='${libname}${release}${shared_ext}$major'
11349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11351 irix5* | nonstopux*)
11352 libsuff= shlibsuff=
11355 case $LD in # libtool.m4 will add one of these switches to LD
11356 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11357 libsuff= shlibsuff= libmagic=32-bit;;
11358 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11359 libsuff=32 shlibsuff=N32 libmagic=N32;;
11360 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11361 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11362 *) libsuff= shlibsuff= libmagic=never-match;;
11366 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11367 shlibpath_overrides_runpath=no
11368 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11369 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11370 hardcode_into_libs=yes
11373 # No shared lib support for Linux oldld, aout, or coff.
11374 linux*oldld* | linux*aout* | linux*coff*)
11378 # This must be glibc/ELF.
11379 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11380 version_type=linux # correct to gnu/linux during the next big refactor
11383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11384 soname_spec='${libname}${release}${shared_ext}$major'
11385 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11386 shlibpath_var=LD_LIBRARY_PATH
11387 shlibpath_overrides_runpath=no
11389 # Some binutils ld are patched to set DT_RUNPATH
11390 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11391 $as_echo_n "(cached) " >&6
11393 lt_cv_shlibpath_overrides_runpath=no
11394 save_LDFLAGS=$LDFLAGS
11395 save_libdir=$libdir
11396 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11397 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11411 lt_cv_shlibpath_overrides_runpath=yes
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LDFLAGS=$save_LDFLAGS
11417 libdir=$save_libdir
11421 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11423 # This implies no fast_install, which is unacceptable.
11424 # Some rework will be needed to allow for fast_install
11425 # before this can be enabled.
11426 hardcode_into_libs=yes
11428 # Append ld.so.conf contents to the search path
11429 if test -f /etc/ld.so.conf; then
11430 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' ' '`
11431 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11434 # We used to test for /lib/ld.so.1 and disable shared libraries on
11435 # powerpc, because MkLinux only supported shared libraries with the
11436 # GNU dynamic linker. Since this was broken with cross compilers,
11437 # most powerpc-linux boxes support dynamic linking these days and
11438 # people can always --disable-shared, the test was removed, and we
11439 # assume the GNU/Linux dynamic linker is in use.
11440 dynamic_linker='GNU/Linux ld.so'
11447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11448 soname_spec='${libname}${release}${shared_ext}$major'
11449 shlibpath_var=LD_LIBRARY_PATH
11450 shlibpath_overrides_runpath=no
11451 hardcode_into_libs=yes
11452 dynamic_linker='NetBSD ld.elf_so'
11459 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11461 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11462 dynamic_linker='NetBSD (a.out) ld.so'
11464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11465 soname_spec='${libname}${release}${shared_ext}$major'
11466 dynamic_linker='NetBSD ld.elf_so'
11468 shlibpath_var=LD_LIBRARY_PATH
11469 shlibpath_overrides_runpath=yes
11470 hardcode_into_libs=yes
11474 version_type=linux # correct to gnu/linux during the next big refactor
11475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11476 shlibpath_var=LD_LIBRARY_PATH
11477 shlibpath_overrides_runpath=yes
11484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11485 soname_spec='${libname}${release}${shared_ext}$major'
11486 shlibpath_var=LD_LIBRARY_PATH
11487 shlibpath_overrides_runpath=no
11488 hardcode_into_libs=yes
11489 dynamic_linker='ldqnx.so'
11494 sys_lib_dlsearch_path_spec="/usr/lib"
11496 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11498 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11499 *) need_version=no ;;
11501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11502 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11503 shlibpath_var=LD_LIBRARY_PATH
11504 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11506 openbsd2.[89] | openbsd2.[89].*)
11507 shlibpath_overrides_runpath=no
11510 shlibpath_overrides_runpath=yes
11514 shlibpath_overrides_runpath=yes
11519 libname_spec='$name'
11522 library_names_spec='$libname${shared_ext} $libname.a'
11523 dynamic_linker='OS/2 ld.exe'
11524 shlibpath_var=LIBPATH
11527 osf3* | osf4* | osf5*)
11531 soname_spec='${libname}${release}${shared_ext}$major'
11532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11533 shlibpath_var=LD_LIBRARY_PATH
11534 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11535 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11543 version_type=linux # correct to gnu/linux during the next big refactor
11546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11547 soname_spec='${libname}${release}${shared_ext}$major'
11548 shlibpath_var=LD_LIBRARY_PATH
11549 shlibpath_overrides_runpath=yes
11550 hardcode_into_libs=yes
11551 # ldd complains unless libraries are executable
11552 postinstall_cmds='chmod +x $lib'
11557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11558 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11559 shlibpath_var=LD_LIBRARY_PATH
11560 shlibpath_overrides_runpath=yes
11561 if test "$with_gnu_ld" = yes; then
11568 version_type=linux # correct to gnu/linux during the next big refactor
11569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11570 soname_spec='${libname}${release}${shared_ext}$major'
11571 shlibpath_var=LD_LIBRARY_PATH
11572 case $host_vendor in
11574 shlibpath_overrides_runpath=no
11576 runpath_var=LD_RUN_PATH
11584 shlibpath_overrides_runpath=no
11585 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11591 if test -d /usr/nec ;then
11592 version_type=linux # correct to gnu/linux during the next big refactor
11593 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11594 soname_spec='$libname${shared_ext}.$major'
11595 shlibpath_var=LD_LIBRARY_PATH
11599 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11600 version_type=freebsd-elf
11603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11604 soname_spec='${libname}${release}${shared_ext}$major'
11605 shlibpath_var=LD_LIBRARY_PATH
11606 shlibpath_overrides_runpath=yes
11607 hardcode_into_libs=yes
11608 if test "$with_gnu_ld" = yes; then
11609 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11611 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11614 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11618 sys_lib_dlsearch_path_spec='/usr/lib'
11622 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11623 version_type=linux # correct to gnu/linux during the next big refactor
11626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11627 shlibpath_var=LD_LIBRARY_PATH
11628 shlibpath_overrides_runpath=no
11629 hardcode_into_libs=yes
11633 version_type=linux # correct to gnu/linux during the next big refactor
11634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11635 soname_spec='${libname}${release}${shared_ext}$major'
11636 shlibpath_var=LD_LIBRARY_PATH
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11644 $as_echo "$dynamic_linker" >&6; }
11645 test "$dynamic_linker" = no && can_build_shared=no
11647 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11648 if test "$GCC" = yes; then
11649 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11652 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11653 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11655 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11656 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11751 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11753 if test -n "$hardcode_libdir_flag_spec" ||
11754 test -n "$runpath_var" ||
11755 test "X$hardcode_automatic" = "Xyes" ; then
11757 # We can hardcode non-existent directories.
11758 if test "$hardcode_direct" != no &&
11759 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11760 # have to relink, otherwise we might link with an installed library
11761 # when we should be linking with a yet-to-be-installed one
11762 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11763 test "$hardcode_minus_L" != no; then
11764 # Linking always hardcodes the temporary library directory.
11765 hardcode_action=relink
11767 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11768 hardcode_action=immediate
11771 # We cannot hardcode anything, or else we can only hardcode existing
11773 hardcode_action=unsupported
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11776 $as_echo "$hardcode_action" >&6; }
11778 if test "$hardcode_action" = relink ||
11779 test "$inherit_rpath" = yes; then
11780 # Fast installation is not supported
11781 enable_fast_install=no
11782 elif test "$shlibpath_overrides_runpath" = yes ||
11783 test "$enable_shared" = no; then
11784 # Fast installation is not necessary
11785 enable_fast_install=needless
11793 if test "x$enable_dlopen" != xyes; then
11794 enable_dlopen=unknown
11795 enable_dlopen_self=unknown
11796 enable_dlopen_self_static=unknown
11803 lt_cv_dlopen="load_add_on"
11805 lt_cv_dlopen_self=yes
11808 mingw* | pw32* | cegcc*)
11809 lt_cv_dlopen="LoadLibrary"
11814 lt_cv_dlopen="dlopen"
11819 # if libdl is installed we need to link against it
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11821 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11822 if ${ac_cv_lib_dl_dlopen+:} false; then :
11823 $as_echo_n "(cached) " >&6
11825 ac_check_lib_save_LIBS=$LIBS
11827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11828 /* end confdefs.h. */
11830 /* Override any GCC internal prototype to avoid an error.
11831 Use char because int might match the return type of a GCC
11832 builtin and then its argument prototype would still apply. */
11845 if ac_fn_c_try_link "$LINENO"; then :
11846 ac_cv_lib_dl_dlopen=yes
11848 ac_cv_lib_dl_dlopen=no
11850 rm -f core conftest.err conftest.$ac_objext \
11851 conftest$ac_exeext conftest.$ac_ext
11852 LIBS=$ac_check_lib_save_LIBS
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11855 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11856 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11857 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11860 lt_cv_dlopen="dyld"
11862 lt_cv_dlopen_self=yes
11869 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11870 if test "x$ac_cv_func_shl_load" = xyes; then :
11871 lt_cv_dlopen="shl_load"
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11874 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11875 if ${ac_cv_lib_dld_shl_load+:} false; then :
11876 $as_echo_n "(cached) " >&6
11878 ac_check_lib_save_LIBS=$LIBS
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11883 /* Override any GCC internal prototype to avoid an error.
11884 Use char because int might match the return type of a GCC
11885 builtin and then its argument prototype would still apply. */
11893 return shl_load ();
11898 if ac_fn_c_try_link "$LINENO"; then :
11899 ac_cv_lib_dld_shl_load=yes
11901 ac_cv_lib_dld_shl_load=no
11903 rm -f core conftest.err conftest.$ac_objext \
11904 conftest$ac_exeext conftest.$ac_ext
11905 LIBS=$ac_check_lib_save_LIBS
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11908 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11909 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11910 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11912 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11913 if test "x$ac_cv_func_dlopen" = xyes; then :
11914 lt_cv_dlopen="dlopen"
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11917 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11918 if ${ac_cv_lib_dl_dlopen+:} false; then :
11919 $as_echo_n "(cached) " >&6
11921 ac_check_lib_save_LIBS=$LIBS
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11941 if ac_fn_c_try_link "$LINENO"; then :
11942 ac_cv_lib_dl_dlopen=yes
11944 ac_cv_lib_dl_dlopen=no
11946 rm -f core conftest.err conftest.$ac_objext \
11947 conftest$ac_exeext conftest.$ac_ext
11948 LIBS=$ac_check_lib_save_LIBS
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11951 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11952 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11953 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11956 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11957 if ${ac_cv_lib_svld_dlopen+:} false; then :
11958 $as_echo_n "(cached) " >&6
11960 ac_check_lib_save_LIBS=$LIBS
11961 LIBS="-lsvld $LIBS"
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11980 if ac_fn_c_try_link "$LINENO"; then :
11981 ac_cv_lib_svld_dlopen=yes
11983 ac_cv_lib_svld_dlopen=no
11985 rm -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11990 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11991 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11992 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11995 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11996 if ${ac_cv_lib_dld_dld_link+:} false; then :
11997 $as_echo_n "(cached) " >&6
11999 ac_check_lib_save_LIBS=$LIBS
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12014 return dld_link ();
12019 if ac_fn_c_try_link "$LINENO"; then :
12020 ac_cv_lib_dld_dld_link=yes
12022 ac_cv_lib_dld_dld_link=no
12024 rm -f core conftest.err conftest.$ac_objext \
12025 conftest$ac_exeext conftest.$ac_ext
12026 LIBS=$ac_check_lib_save_LIBS
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12029 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12030 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12031 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12052 if test "x$lt_cv_dlopen" != xno; then
12058 case $lt_cv_dlopen in
12060 save_CPPFLAGS="$CPPFLAGS"
12061 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12063 save_LDFLAGS="$LDFLAGS"
12064 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12067 LIBS="$lt_cv_dlopen_libs $LIBS"
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12070 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12071 if ${lt_cv_dlopen_self+:} false; then :
12072 $as_echo_n "(cached) " >&6
12074 if test "$cross_compiling" = yes; then :
12075 lt_cv_dlopen_self=cross
12077 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12078 lt_status=$lt_dlunknown
12079 cat > conftest.$ac_ext <<_LT_EOF
12080 #line $LINENO "configure"
12081 #include "confdefs.h"
12090 # define LT_DLGLOBAL RTLD_GLOBAL
12093 # define LT_DLGLOBAL DL_GLOBAL
12095 # define LT_DLGLOBAL 0
12099 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12100 find out it does not work in some platform. */
12101 #ifndef LT_DLLAZY_OR_NOW
12103 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12106 # define LT_DLLAZY_OR_NOW DL_LAZY
12109 # define LT_DLLAZY_OR_NOW RTLD_NOW
12112 # define LT_DLLAZY_OR_NOW DL_NOW
12114 # define LT_DLLAZY_OR_NOW 0
12121 /* When -fvisbility=hidden is used, assume the code has been annotated
12122 correspondingly for the symbols needed. */
12123 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12124 int fnord () __attribute__((visibility("default")));
12127 int fnord () { return 42; }
12130 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12131 int status = $lt_dlunknown;
12135 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12138 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12139 else puts (dlerror ());
12141 /* dlclose (self); */
12149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12150 (eval $ac_link) 2>&5
12152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12153 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12154 (./conftest; exit; ) >&5 2>/dev/null
12156 case x$lt_status in
12157 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12158 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12159 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12162 # compilation failed
12163 lt_cv_dlopen_self=no
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12171 $as_echo "$lt_cv_dlopen_self" >&6; }
12173 if test "x$lt_cv_dlopen_self" = xyes; then
12174 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12176 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12177 if ${lt_cv_dlopen_self_static+:} false; then :
12178 $as_echo_n "(cached) " >&6
12180 if test "$cross_compiling" = yes; then :
12181 lt_cv_dlopen_self_static=cross
12183 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12184 lt_status=$lt_dlunknown
12185 cat > conftest.$ac_ext <<_LT_EOF
12186 #line $LINENO "configure"
12187 #include "confdefs.h"
12196 # define LT_DLGLOBAL RTLD_GLOBAL
12199 # define LT_DLGLOBAL DL_GLOBAL
12201 # define LT_DLGLOBAL 0
12205 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12206 find out it does not work in some platform. */
12207 #ifndef LT_DLLAZY_OR_NOW
12209 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12212 # define LT_DLLAZY_OR_NOW DL_LAZY
12215 # define LT_DLLAZY_OR_NOW RTLD_NOW
12218 # define LT_DLLAZY_OR_NOW DL_NOW
12220 # define LT_DLLAZY_OR_NOW 0
12227 /* When -fvisbility=hidden is used, assume the code has been annotated
12228 correspondingly for the symbols needed. */
12229 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12230 int fnord () __attribute__((visibility("default")));
12233 int fnord () { return 42; }
12236 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12237 int status = $lt_dlunknown;
12241 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12244 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12245 else puts (dlerror ());
12247 /* dlclose (self); */
12255 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12256 (eval $ac_link) 2>&5
12258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12259 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12260 (./conftest; exit; ) >&5 2>/dev/null
12262 case x$lt_status in
12263 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12264 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12265 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12268 # compilation failed
12269 lt_cv_dlopen_self_static=no
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12277 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12280 CPPFLAGS="$save_CPPFLAGS"
12281 LDFLAGS="$save_LDFLAGS"
12286 case $lt_cv_dlopen_self in
12287 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12288 *) enable_dlopen_self=unknown ;;
12291 case $lt_cv_dlopen_self_static in
12292 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12293 *) enable_dlopen_self_static=unknown ;;
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12316 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12317 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12318 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12319 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12321 $as_echo "yes" >&6; }
12323 # FIXME - insert some real tests, host_os isn't really good enough
12326 if test -n "$STRIP" ; then
12327 striplib="$STRIP -x"
12328 old_striplib="$STRIP -S"
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12330 $as_echo "yes" >&6; }
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12338 $as_echo "no" >&6; }
12354 # Report which library types will actually be built
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12356 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12358 $as_echo "$can_build_shared" >&6; }
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12361 $as_echo_n "checking whether to build shared libraries... " >&6; }
12362 test "$can_build_shared" = "no" && enable_shared=no
12364 # On AIX, shared libraries and static libraries use the same namespace, and
12365 # are all built from PIC.
12368 test "$enable_shared" = yes && enable_static=no
12369 if test -n "$RANLIB"; then
12370 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12371 postinstall_cmds='$RANLIB $lib'
12376 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12377 test "$enable_shared" = yes && enable_static=no
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12382 $as_echo "$enable_shared" >&6; }
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12385 $as_echo_n "checking whether to build static libraries... " >&6; }
12386 # Make sure either enable_shared or enable_static is yes.
12387 test "$enable_shared" = yes || enable_static=yes
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12389 $as_echo "$enable_static" >&6; }
12396 ac_cpp='$CPP $CPPFLAGS'
12397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12417 ac_config_commands="$ac_config_commands libtool"
12422 # Only expand once:
12432 # Check whether --with-help-dir was given.
12433 if test "${with_help_dir+set}" = set; then :
12434 withval=$with_help_dir;
12436 with_help_dir='${datadir}/help'
12439 HELP_DIR="$with_help_dir"
12443 # Extract the first word of "itstool", so it can be a program name with args.
12444 set dummy itstool; ac_word=$2
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12446 $as_echo_n "checking for $ac_word... " >&6; }
12447 if ${ac_cv_prog_ITSTOOL+:} false; then :
12448 $as_echo_n "(cached) " >&6
12450 if test -n "$ITSTOOL"; then
12451 ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
12453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12454 for as_dir in $PATH
12457 test -z "$as_dir" && as_dir=.
12458 for ac_exec_ext in '' $ac_executable_extensions; do
12459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12460 ac_cv_prog_ITSTOOL="itstool"
12461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12470 ITSTOOL=$ac_cv_prog_ITSTOOL
12471 if test -n "$ITSTOOL"; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
12473 $as_echo "$ITSTOOL" >&6; }
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12476 $as_echo "no" >&6; }
12480 if test x"$ITSTOOL" = x; then
12481 as_fn_error $? "itstool not found" "$LINENO" 5
12485 # Extract the first word of "xmllint", so it can be a program name with args.
12486 set dummy xmllint; ac_word=$2
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12488 $as_echo_n "checking for $ac_word... " >&6; }
12489 if ${ac_cv_prog_XMLLINT+:} false; then :
12490 $as_echo_n "(cached) " >&6
12492 if test -n "$XMLLINT"; then
12493 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
12495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12496 for as_dir in $PATH
12499 test -z "$as_dir" && as_dir=.
12500 for ac_exec_ext in '' $ac_executable_extensions; do
12501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12502 ac_cv_prog_XMLLINT="xmllint"
12503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12512 XMLLINT=$ac_cv_prog_XMLLINT
12513 if test -n "$XMLLINT"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
12515 $as_echo "$XMLLINT" >&6; }
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518 $as_echo "no" >&6; }
12522 if test x"$XMLLINT" = x; then
12523 as_fn_error $? "xmllint not found" "$LINENO" 5
12534 _HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
12535 _HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
12536 _HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
12537 _HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
12538 _HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
12539 _HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
12540 _HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
12541 _HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
12542 _HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
12544 _HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
12545 _HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
12546 _HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
12547 _HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
12548 _HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@);
12550 all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
12553 pot: $(_HELP_POTFILE)
12554 $(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12555 $(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \
12556 $(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)")
12559 repo: $(_HELP_POTFILE)
12560 $(AM_V_at)for po in $(_HELP_POFILES); do \
12561 if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \
12562 msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
12566 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12567 $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
12568 $(AM_V_GEN)if ! test -f "$@"; then \
12569 (cd "$(dir $@)" && \
12570 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12571 mv "$(notdir $@).tmp" "$(notdir $@)"); \
12573 (cd "$(dir $@)" && \
12574 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12575 msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
12576 rm "$(notdir $@).tmp"); \
12579 $(_HELP_MOFILES): %.mo: %.po
12580 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12581 $(AM_V_GEN)msgfmt -o "$@" "$<"
12583 $(_HELP_LC_FILES): $(_HELP_LINGUAS)
12584 $(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
12585 $(_HELP_LC_STAMPS): %.stamp: %.mo
12586 $(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
12587 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12588 $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
12589 mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
12590 if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
12591 (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
12595 mostlyclean-am: $(if $(HELP_ID),clean-help)
12597 rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
12600 EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12601 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
12602 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
12603 EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
12605 distdir: distdir-help-files
12606 distdir-help-files:
12607 @for lc in C $(HELP_LINGUAS); do \
12608 $(MKDIR_P) "$(distdir)/$$lc"; \
12609 for file in $(HELP_FILES); do \
12610 if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
12611 cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
12618 for lc in C $(_HELP_LINGUAS); do \
12619 if test -d "$$lc"; \
12624 xmlpath="$$lc:$(srcdir)/$$lc"; \
12626 for page in $(HELP_FILES); do \
12627 echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
12628 $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
12633 .PHONY: install-help
12634 install-data-am: $(if $(HELP_ID),install-help)
12636 @for lc in C $(_HELP_LINGUAS); do \
12637 $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
12639 @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12640 if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
12641 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12642 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12643 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
12644 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
12646 @for f in $(_HELP_C_EXTRA); do \
12647 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12648 if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
12649 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12650 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12651 echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
12652 $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
12654 @for f in $(HELP_MEDIA); do \
12655 for lc in C $(_HELP_LINGUAS); do \
12656 if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
12657 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12658 mdir=`dirname "$$f"`; \
12659 if test "x$mdir" = "x."; then mdir=""; fi; \
12660 if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
12661 if test -f "$$d$$lc/$$f"; then \
12662 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
12663 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
12664 elif test "x$$lc" != "xC"; then \
12665 echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
12666 $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
12671 .PHONY: uninstall-help
12672 uninstall-am: $(if $(HELP_ID),uninstall-help)
12674 for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12675 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12676 echo "rm -f $$helpdir`basename $$f`"; \
12677 rm -f "$$helpdir`basename $$f`"; \
12679 @for f in $(_HELP_C_EXTRA); do \
12680 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12681 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12682 echo "rm -f $$helpdir`basename $$f`"; \
12683 rm -f "$$helpdir`basename $$f`"; \
12685 @for f in $(HELP_MEDIA); do \
12686 for lc in C $(_HELP_LINGUAS); do \
12687 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12688 echo "rm -f $$helpdir$$f"; \
12689 rm -f "$$helpdir$$f"; \
12699 gtk_doc_requires="gtk-doc >= 1.0"
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12701 $as_echo_n "checking for gtk-doc... " >&6; }
12702 if test -n "$PKG_CONFIG" && \
12703 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12704 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12707 test $ac_status = 0; }; then
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12713 $as_echo "$have_gtk_doc" >&6; }
12715 if test "$have_gtk_doc" = "no"; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12717 You will not be able to create source packages with 'make dist'
12718 because $gtk_doc_requires is not found." >&5
12719 $as_echo "$as_me: WARNING:
12720 You will not be able to create source packages with 'make dist'
12721 because $gtk_doc_requires is not found." >&2;}
12724 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12725 set dummy gtkdoc-check; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12729 $as_echo_n "(cached) " >&6
12731 if test -n "$GTKDOC_CHECK"; then
12732 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12735 for as_dir in $PATH
12738 test -z "$as_dir" && as_dir=.
12739 for ac_exec_ext in '' $ac_executable_extensions; do
12740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12741 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12751 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12752 if test -n "$GTKDOC_CHECK"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12754 $as_echo "$GTKDOC_CHECK" >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12761 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12762 set dummy gtkdoc-check; ac_word=$2
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12764 $as_echo_n "checking for $ac_word... " >&6; }
12765 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12766 $as_echo_n "(cached) " >&6
12768 case $GTKDOC_CHECK_PATH in
12770 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12774 for as_dir in $PATH
12777 test -z "$as_dir" && as_dir=.
12778 for ac_exec_ext in '' $ac_executable_extensions; do
12779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12780 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12791 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12792 if test -n "$GTKDOC_CHECK_PATH"; then
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12794 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12797 $as_echo "no" >&6; }
12801 for ac_prog in gtkdoc-rebase
12803 # Extract the first word of "$ac_prog", so it can be a program name with args.
12804 set dummy $ac_prog; ac_word=$2
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12806 $as_echo_n "checking for $ac_word... " >&6; }
12807 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12808 $as_echo_n "(cached) " >&6
12810 case $GTKDOC_REBASE in
12812 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12816 for as_dir in $PATH
12819 test -z "$as_dir" && as_dir=.
12820 for ac_exec_ext in '' $ac_executable_extensions; do
12821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12822 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12833 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12834 if test -n "$GTKDOC_REBASE"; then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12836 $as_echo "$GTKDOC_REBASE" >&6; }
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12839 $as_echo "no" >&6; }
12843 test -n "$GTKDOC_REBASE" && break
12845 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12847 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12848 set dummy gtkdoc-mkpdf; ac_word=$2
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12850 $as_echo_n "checking for $ac_word... " >&6; }
12851 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12852 $as_echo_n "(cached) " >&6
12854 case $GTKDOC_MKPDF in
12856 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12860 for as_dir in $PATH
12863 test -z "$as_dir" && as_dir=.
12864 for ac_exec_ext in '' $ac_executable_extensions; do
12865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12866 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12877 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12878 if test -n "$GTKDOC_MKPDF"; then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12880 $as_echo "$GTKDOC_MKPDF" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12883 $as_echo "no" >&6; }
12889 # Check whether --with-html-dir was given.
12890 if test "${with_html_dir+set}" = set; then :
12891 withval=$with_html_dir;
12893 with_html_dir='${datadir}/gtk-doc/html'
12896 HTML_DIR="$with_html_dir"
12899 # Check whether --enable-gtk-doc was given.
12900 if test "${enable_gtk_doc+set}" = set; then :
12901 enableval=$enable_gtk_doc;
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12908 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12910 $as_echo "$enable_gtk_doc" >&6; }
12912 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12914 You must have $gtk_doc_requires installed to build documentation for
12915 $PACKAGE_NAME. Please install gtk-doc or disable building the
12916 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12919 if test "x$PACKAGE_NAME" != "xglib"; then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12923 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12925 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12926 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12927 elif test -n "$PKG_CONFIG"; then
12928 if test -n "$PKG_CONFIG" && \
12929 { { $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
12930 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12933 test $ac_status = 0; }; then
12934 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12935 test "x$?" != "x0" && pkg_failed=yes
12942 if test -n "$GTKDOC_DEPS_LIBS"; then
12943 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12944 elif test -n "$PKG_CONFIG"; then
12945 if test -n "$PKG_CONFIG" && \
12946 { { $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
12947 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12950 test $ac_status = 0; }; then
12951 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12952 test "x$?" != "x0" && pkg_failed=yes
12962 if test $pkg_failed = yes; then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12964 $as_echo "no" >&6; }
12966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12967 _pkg_short_errors_supported=yes
12969 _pkg_short_errors_supported=no
12971 if test $_pkg_short_errors_supported = yes; then
12972 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`
12974 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12976 # Put the nasty error message in config.log where it belongs
12977 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12980 elif test $pkg_failed = untried; then
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12982 $as_echo "no" >&6; }
12985 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12986 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12988 $as_echo "yes" >&6; }
12993 # Check whether --enable-gtk-doc-html was given.
12994 if test "${enable_gtk_doc_html+set}" = set; then :
12995 enableval=$enable_gtk_doc_html;
12997 enable_gtk_doc_html=yes
13000 # Check whether --enable-gtk-doc-pdf was given.
13001 if test "${enable_gtk_doc_pdf+set}" = set; then :
13002 enableval=$enable_gtk_doc_pdf;
13004 enable_gtk_doc_pdf=no
13008 if test -z "$GTKDOC_MKPDF"; then
13009 enable_gtk_doc_pdf=no
13012 if test -z "$AM_DEFAULT_VERBOSITY"; then
13013 AM_DEFAULT_VERBOSITY=1
13017 if test x$have_gtk_doc = xyes; then
13019 HAVE_GTK_DOC_FALSE='#'
13021 HAVE_GTK_DOC_TRUE='#'
13022 HAVE_GTK_DOC_FALSE=
13025 if test x$enable_gtk_doc = xyes; then
13026 ENABLE_GTK_DOC_TRUE=
13027 ENABLE_GTK_DOC_FALSE='#'
13029 ENABLE_GTK_DOC_TRUE='#'
13030 ENABLE_GTK_DOC_FALSE=
13033 if test x$enable_gtk_doc_html = xyes; then
13034 GTK_DOC_BUILD_HTML_TRUE=
13035 GTK_DOC_BUILD_HTML_FALSE='#'
13037 GTK_DOC_BUILD_HTML_TRUE='#'
13038 GTK_DOC_BUILD_HTML_FALSE=
13041 if test x$enable_gtk_doc_pdf = xyes; then
13042 GTK_DOC_BUILD_PDF_TRUE=
13043 GTK_DOC_BUILD_PDF_FALSE='#'
13045 GTK_DOC_BUILD_PDF_TRUE='#'
13046 GTK_DOC_BUILD_PDF_FALSE=
13049 if test -n "$LIBTOOL"; then
13050 GTK_DOC_USE_LIBTOOL_TRUE=
13051 GTK_DOC_USE_LIBTOOL_FALSE='#'
13053 GTK_DOC_USE_LIBTOOL_TRUE='#'
13054 GTK_DOC_USE_LIBTOOL_FALSE=
13057 if test -n "$GTKDOC_REBASE"; then
13058 GTK_DOC_USE_REBASE_TRUE=
13059 GTK_DOC_USE_REBASE_FALSE='#'
13061 GTK_DOC_USE_REBASE_TRUE='#'
13062 GTK_DOC_USE_REBASE_FALSE=
13069 # Check whether --enable-schemas-compile was given.
13070 if test "${enable_schemas_compile+set}" = set; then :
13071 enableval=$enable_schemas_compile; case ${enableval} in
13072 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
13073 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
13074 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
13086 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13087 if test -n "$ac_tool_prefix"; then
13088 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13089 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13091 $as_echo_n "checking for $ac_word... " >&6; }
13092 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13093 $as_echo_n "(cached) " >&6
13095 case $PKG_CONFIG in
13097 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13101 for as_dir in $PATH
13104 test -z "$as_dir" && as_dir=.
13105 for ac_exec_ext in '' $ac_executable_extensions; do
13106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13107 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13118 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13119 if test -n "$PKG_CONFIG"; then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13121 $as_echo "$PKG_CONFIG" >&6; }
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13124 $as_echo "no" >&6; }
13129 if test -z "$ac_cv_path_PKG_CONFIG"; then
13130 ac_pt_PKG_CONFIG=$PKG_CONFIG
13131 # Extract the first word of "pkg-config", so it can be a program name with args.
13132 set dummy pkg-config; ac_word=$2
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13134 $as_echo_n "checking for $ac_word... " >&6; }
13135 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13136 $as_echo_n "(cached) " >&6
13138 case $ac_pt_PKG_CONFIG in
13140 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13144 for as_dir in $PATH
13147 test -z "$as_dir" && as_dir=.
13148 for ac_exec_ext in '' $ac_executable_extensions; do
13149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13150 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13161 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13162 if test -n "$ac_pt_PKG_CONFIG"; then
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13164 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13167 $as_echo "no" >&6; }
13170 if test "x$ac_pt_PKG_CONFIG" = x; then
13173 case $cross_compiling:$ac_tool_warned in
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13177 ac_tool_warned=yes ;;
13179 PKG_CONFIG=$ac_pt_PKG_CONFIG
13182 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13186 if test -n "$PKG_CONFIG"; then
13187 _pkg_min_version=0.16
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13189 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13190 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13192 $as_echo "yes" >&6; }
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13195 $as_echo "no" >&6; }
13199 gsettingsschemadir=${datadir}/glib-2.0/schemas
13201 if test x$cross_compiling != xyes; then
13202 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
13204 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
13205 set dummy glib-compile-schemas; ac_word=$2
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13207 $as_echo_n "checking for $ac_word... " >&6; }
13208 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
13209 $as_echo_n "(cached) " >&6
13211 case $GLIB_COMPILE_SCHEMAS in
13213 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
13216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13217 for as_dir in $PATH
13220 test -z "$as_dir" && as_dir=.
13221 for ac_exec_ext in '' $ac_executable_extensions; do
13222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13223 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
13224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13234 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
13235 if test -n "$GLIB_COMPILE_SCHEMAS"; then
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
13237 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13240 $as_echo "no" >&6; }
13246 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
13247 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
13253 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
13255 mostlyclean-am: clean-gsettings-schemas
13257 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
13259 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
13260 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
13262 all-am: $(gsettings_SCHEMAS:.xml=.valid)
13263 uninstall-am: uninstall-gsettings-schemas
13264 install-data-am: install-gsettings-schemas
13266 .SECONDARY: $(gsettings_SCHEMAS)
13268 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
13270 if test -n "$^"; then \
13271 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
13272 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
13273 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
13276 uninstall-gsettings-schemas:
13277 @$(NORMAL_UNINSTALL)
13278 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
13279 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
13280 test -n "$$files" || exit 0; \
13281 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
13282 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
13283 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
13285 clean-gsettings-schemas:
13286 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
13288 ifdef gsettings_ENUM_NAMESPACE
13289 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
13290 $(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 $@
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13301 $as_echo_n "checking for library containing strerror... " >&6; }
13302 if ${ac_cv_search_strerror+:} false; then :
13303 $as_echo_n "(cached) " >&6
13305 ac_func_search_save_LIBS=$LIBS
13306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 /* end confdefs.h. */
13309 /* Override any GCC internal prototype to avoid an error.
13310 Use char because int might match the return type of a GCC
13311 builtin and then its argument prototype would still apply. */
13319 return strerror ();
13324 for ac_lib in '' cposix; do
13325 if test -z "$ac_lib"; then
13326 ac_res="none required"
13329 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13331 if ac_fn_c_try_link "$LINENO"; then :
13332 ac_cv_search_strerror=$ac_res
13334 rm -f core conftest.err conftest.$ac_objext \
13336 if ${ac_cv_search_strerror+:} false; then :
13340 if ${ac_cv_search_strerror+:} false; then :
13343 ac_cv_search_strerror=no
13345 rm conftest.$ac_ext
13346 LIBS=$ac_func_search_save_LIBS
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13349 $as_echo "$ac_cv_search_strerror" >&6; }
13350 ac_res=$ac_cv_search_strerror
13351 if test "$ac_res" != no; then :
13352 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13357 ac_cpp='$CPP $CPPFLAGS'
13358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13361 if test -n "$ac_tool_prefix"; then
13362 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13363 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13365 $as_echo_n "checking for $ac_word... " >&6; }
13366 if ${ac_cv_prog_CC+:} false; then :
13367 $as_echo_n "(cached) " >&6
13369 if test -n "$CC"; then
13370 ac_cv_prog_CC="$CC" # Let the user override the test.
13372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13373 for as_dir in $PATH
13376 test -z "$as_dir" && as_dir=.
13377 for ac_exec_ext in '' $ac_executable_extensions; do
13378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13379 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13390 if test -n "$CC"; then
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13392 $as_echo "$CC" >&6; }
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13395 $as_echo "no" >&6; }
13400 if test -z "$ac_cv_prog_CC"; then
13402 # Extract the first word of "gcc", so it can be a program name with args.
13403 set dummy gcc; ac_word=$2
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13405 $as_echo_n "checking for $ac_word... " >&6; }
13406 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13407 $as_echo_n "(cached) " >&6
13409 if test -n "$ac_ct_CC"; then
13410 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13413 for as_dir in $PATH
13416 test -z "$as_dir" && as_dir=.
13417 for ac_exec_ext in '' $ac_executable_extensions; do
13418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13419 ac_cv_prog_ac_ct_CC="gcc"
13420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13429 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13430 if test -n "$ac_ct_CC"; then
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13432 $as_echo "$ac_ct_CC" >&6; }
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13435 $as_echo "no" >&6; }
13438 if test "x$ac_ct_CC" = x; then
13441 case $cross_compiling:$ac_tool_warned in
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13445 ac_tool_warned=yes ;;
13450 CC="$ac_cv_prog_CC"
13453 if test -z "$CC"; then
13454 if test -n "$ac_tool_prefix"; then
13455 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13456 set dummy ${ac_tool_prefix}cc; ac_word=$2
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13458 $as_echo_n "checking for $ac_word... " >&6; }
13459 if ${ac_cv_prog_CC+:} false; then :
13460 $as_echo_n "(cached) " >&6
13462 if test -n "$CC"; then
13463 ac_cv_prog_CC="$CC" # Let the user override the test.
13465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13466 for as_dir in $PATH
13469 test -z "$as_dir" && as_dir=.
13470 for ac_exec_ext in '' $ac_executable_extensions; do
13471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13472 ac_cv_prog_CC="${ac_tool_prefix}cc"
13473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13483 if test -n "$CC"; then
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13485 $as_echo "$CC" >&6; }
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13488 $as_echo "no" >&6; }
13494 if test -z "$CC"; then
13495 # Extract the first word of "cc", so it can be a program name with args.
13496 set dummy cc; ac_word=$2
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13498 $as_echo_n "checking for $ac_word... " >&6; }
13499 if ${ac_cv_prog_CC+:} false; then :
13500 $as_echo_n "(cached) " >&6
13502 if test -n "$CC"; then
13503 ac_cv_prog_CC="$CC" # Let the user override the test.
13505 ac_prog_rejected=no
13506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13507 for as_dir in $PATH
13510 test -z "$as_dir" && as_dir=.
13511 for ac_exec_ext in '' $ac_executable_extensions; do
13512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13513 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13514 ac_prog_rejected=yes
13518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13525 if test $ac_prog_rejected = yes; then
13526 # We found a bogon in the path, so make sure we never use it.
13527 set dummy $ac_cv_prog_CC
13529 if test $# != 0; then
13530 # We chose a different compiler from the bogus one.
13531 # However, it has the same basename, so the bogon will be chosen
13532 # first if we set CC to just the basename; use the full file name.
13534 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13540 if test -n "$CC"; then
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13542 $as_echo "$CC" >&6; }
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13545 $as_echo "no" >&6; }
13550 if test -z "$CC"; then
13551 if test -n "$ac_tool_prefix"; then
13552 for ac_prog in cl.exe
13554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13555 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13557 $as_echo_n "checking for $ac_word... " >&6; }
13558 if ${ac_cv_prog_CC+:} false; then :
13559 $as_echo_n "(cached) " >&6
13561 if test -n "$CC"; then
13562 ac_cv_prog_CC="$CC" # Let the user override the test.
13564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13565 for as_dir in $PATH
13568 test -z "$as_dir" && as_dir=.
13569 for ac_exec_ext in '' $ac_executable_extensions; do
13570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13571 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13582 if test -n "$CC"; then
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13584 $as_echo "$CC" >&6; }
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13587 $as_echo "no" >&6; }
13591 test -n "$CC" && break
13594 if test -z "$CC"; then
13596 for ac_prog in cl.exe
13598 # Extract the first word of "$ac_prog", so it can be a program name with args.
13599 set dummy $ac_prog; ac_word=$2
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13601 $as_echo_n "checking for $ac_word... " >&6; }
13602 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13603 $as_echo_n "(cached) " >&6
13605 if test -n "$ac_ct_CC"; then
13606 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13609 for as_dir in $PATH
13612 test -z "$as_dir" && as_dir=.
13613 for ac_exec_ext in '' $ac_executable_extensions; do
13614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13615 ac_cv_prog_ac_ct_CC="$ac_prog"
13616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13626 if test -n "$ac_ct_CC"; then
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13628 $as_echo "$ac_ct_CC" >&6; }
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13631 $as_echo "no" >&6; }
13635 test -n "$ac_ct_CC" && break
13638 if test "x$ac_ct_CC" = x; then
13641 case $cross_compiling:$ac_tool_warned in
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13645 ac_tool_warned=yes ;;
13654 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13656 as_fn_error $? "no acceptable C compiler found in \$PATH
13657 See \`config.log' for more details" "$LINENO" 5; }
13659 # Provide some information about the compiler.
13660 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13663 for ac_option in --version -v -V -qversion; do
13664 { { ac_try="$ac_compiler $ac_option >&5"
13665 case "(($ac_try" in
13666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13667 *) ac_try_echo=$ac_try;;
13669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13670 $as_echo "$ac_try_echo"; } >&5
13671 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13673 if test -s conftest.err; then
13675 ... rest of stderr output deleted ...
13676 10q' conftest.err >conftest.er1
13677 cat conftest.er1 >&5
13679 rm -f conftest.er1 conftest.err
13680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13681 test $ac_status = 0; }
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13685 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13686 if ${ac_cv_c_compiler_gnu+:} false; then :
13687 $as_echo_n "(cached) " >&6
13689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13703 if ac_fn_c_try_compile "$LINENO"; then :
13704 ac_compiler_gnu=yes
13708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13709 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13713 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13714 if test $ac_compiler_gnu = yes; then
13719 ac_test_CFLAGS=${CFLAGS+set}
13720 ac_save_CFLAGS=$CFLAGS
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13722 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13723 if ${ac_cv_prog_cc_g+:} false; then :
13724 $as_echo_n "(cached) " >&6
13726 ac_save_c_werror_flag=$ac_c_werror_flag
13727 ac_c_werror_flag=yes
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13741 if ac_fn_c_try_compile "$LINENO"; then :
13742 ac_cv_prog_cc_g=yes
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13756 if ac_fn_c_try_compile "$LINENO"; then :
13759 ac_c_werror_flag=$ac_save_c_werror_flag
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13772 if ac_fn_c_try_compile "$LINENO"; then :
13773 ac_cv_prog_cc_g=yes
13775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13780 ac_c_werror_flag=$ac_save_c_werror_flag
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13783 $as_echo "$ac_cv_prog_cc_g" >&6; }
13784 if test "$ac_test_CFLAGS" = set; then
13785 CFLAGS=$ac_save_CFLAGS
13786 elif test $ac_cv_prog_cc_g = yes; then
13787 if test "$GCC" = yes; then
13793 if test "$GCC" = yes; then
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13800 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13801 if ${ac_cv_prog_cc_c89+:} false; then :
13802 $as_echo_n "(cached) " >&6
13804 ac_cv_prog_cc_c89=no
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13808 #include <stdarg.h>
13811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13812 struct buf { int x; };
13813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13814 static char *e (p, i)
13820 static char *f (char * (*g) (char **, int), char **p, ...)
13825 s = g (p, va_arg (v,int));
13830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13831 function prototypes and stuff, but not '\xHH' hex character constants.
13832 These don't provoke an error unfortunately, instead are silently treated
13833 as 'x'. The following induces an error, until -std is added to get
13834 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13835 array size at least. It's necessary to write '\x00'==0 to get something
13836 that's true only with -std. */
13837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13839 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13840 inside strings and character constants. */
13842 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13844 int test (int i, double x);
13845 struct s1 {int (*f) (int a);};
13846 struct s2 {int (*f) (double a);};
13847 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13853 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13858 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13859 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13861 CC="$ac_save_CC $ac_arg"
13862 if ac_fn_c_try_compile "$LINENO"; then :
13863 ac_cv_prog_cc_c89=$ac_arg
13865 rm -f core conftest.err conftest.$ac_objext
13866 test "x$ac_cv_prog_cc_c89" != "xno" && break
13868 rm -f conftest.$ac_ext
13873 case "x$ac_cv_prog_cc_c89" in
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13876 $as_echo "none needed" >&6; } ;;
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13879 $as_echo "unsupported" >&6; } ;;
13881 CC="$CC $ac_cv_prog_cc_c89"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13883 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13885 if test "x$ac_cv_prog_cc_c89" != xno; then :
13890 ac_cpp='$CPP $CPPFLAGS'
13891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13896 ac_cpp='$CPP $CPPFLAGS'
13897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13901 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13902 if ${am_cv_prog_cc_c_o+:} false; then :
13903 $as_echo_n "(cached) " >&6
13905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13906 /* end confdefs.h. */
13916 # Make sure it works both with $CC and with simple cc.
13917 # Following AC_PROG_CC_C_O, we do the test twice because some
13918 # compilers refuse to overwrite an existing .o file with -o,
13919 # though they will create one.
13920 am_cv_prog_cc_c_o=yes
13921 for am_i in 1 2; do
13922 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13923 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } \
13927 && test -f conftest2.$ac_objext; then
13930 am_cv_prog_cc_c_o=no
13934 rm -f core conftest*
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13938 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13939 if test "$am_cv_prog_cc_c_o" != yes; then
13940 # Losing compiler, so override with the script.
13941 # FIXME: It is wrong to rewrite CC.
13942 # But if we don't then we get into trouble of one sort or another.
13943 # A longer-term fix would be to have automake use am__CC in this case,
13944 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13945 CC="$am_aux_dir/compile $CC"
13948 ac_cpp='$CPP $CPPFLAGS'
13949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13954 depcc="$CC" am_compiler_list=
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13957 $as_echo_n "checking dependency style of $depcc... " >&6; }
13958 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13959 $as_echo_n "(cached) " >&6
13961 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13962 # We make a subdir and do the tests there. Otherwise we can end up
13963 # making bogus files that we don't know about and never remove. For
13964 # instance it was reported that on HP-UX the gcc test will end up
13965 # making a dummy file named 'D' -- because '-MD' means "put the output
13967 rm -rf conftest.dir
13969 # Copy depcomp to subdir because otherwise we won't find it if we're
13970 # using a relative directory.
13971 cp "$am_depcomp" conftest.dir
13973 # We will build objects and dependencies in a subdirectory because
13974 # it helps to detect inapplicable dependency modes. For instance
13975 # both Tru64's cc and ICC support -MD to output dependencies as a
13976 # side effect of compilation, but ICC will put the dependencies in
13977 # the current directory while Tru64 will put them in the object
13981 am_cv_CC_dependencies_compiler_type=none
13982 if test "$am_compiler_list" = ""; then
13983 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13985 am__universal=false
13986 case " $depcc " in #(
13987 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13990 for depmode in $am_compiler_list; do
13991 # Setup a source with many dependencies, because some compilers
13992 # like to wrap large dependency lists on column 80 (with \), and
13993 # we should not choose a depcomp mode which is confused by this.
13995 # We need to recreate these files for each test, as the compiler may
13996 # overwrite some of them when testing with obscure command lines.
13997 # This happens at least with the AIX C compiler.
13999 for i in 1 2 3 4 5 6; do
14000 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14001 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14002 # Solaris 10 /bin/sh.
14003 echo '/* dummy */' > sub/conftst$i.h
14005 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14007 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14008 # mode. It turns out that the SunPro C++ compiler does not properly
14009 # handle '-M -o', and we need to detect this. Also, some Intel
14010 # versions had trouble with output in subdirs.
14011 am__obj=sub/conftest.${OBJEXT-o}
14012 am__minus_obj="-o $am__obj"
14015 # This depmode causes a compiler race in universal mode.
14016 test "$am__universal" = false || continue
14019 # After this tag, mechanisms are not by side-effect, so they'll
14020 # only be used when explicitly requested.
14021 if test "x$enable_dependency_tracking" = xyes; then
14027 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14028 # This compiler won't grok '-c -o', but also, the minuso test has
14029 # not run yet. These depmodes are late enough in the game, and
14030 # so weak that their functioning should not be impacted.
14031 am__obj=conftest.${OBJEXT-o}
14036 if depmode=$depmode \
14037 source=sub/conftest.c object=$am__obj \
14038 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14039 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14040 >/dev/null 2>conftest.err &&
14041 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14042 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14043 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14044 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14045 # icc doesn't choke on unknown options, it will just issue warnings
14046 # or remarks (even with -Werror). So we grep stderr for any message
14047 # that says an option was ignored or not supported.
14048 # When given -MP, icc 7.0 and 7.1 complain thusly:
14049 # icc: Command line warning: ignoring option '-M'; no argument required
14050 # The diagnosis changed in icc 8.0:
14051 # icc: Command line remark: option '-MP' not supported
14052 if (grep 'ignoring option' conftest.err ||
14053 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14054 am_cv_CC_dependencies_compiler_type=$depmode
14061 rm -rf conftest.dir
14063 am_cv_CC_dependencies_compiler_type=none
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14068 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14069 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14072 test "x$enable_dependency_tracking" != xno \
14073 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14074 am__fastdepCC_TRUE=
14075 am__fastdepCC_FALSE='#'
14077 am__fastdepCC_TRUE='#'
14078 am__fastdepCC_FALSE=
14086 # Check whether --enable-compile-warnings was given.
14087 if test "${enable_compile_warnings+set}" = set; then :
14088 enableval=$enable_compile_warnings;
14090 enable_compile_warnings="yes"
14094 if test "x$GCC" != xyes; then
14095 enable_compile_warnings=no
14099 realsave_CFLAGS="$CFLAGS"
14101 base_warn_flags=" \
14103 -Wstrict-prototypes \
14107 base_error_flags=" \
14108 -Werror=missing-prototypes \
14109 -Werror=implicit-function-declaration \
14110 -Werror=pointer-arith \
14111 -Werror=init-self \
14112 -Werror=format-security \
14114 -Werror=missing-include-dirs \
14117 additional_flags=""
14119 case "$enable_compile_warnings" in
14124 warning_flags="-Wall"
14127 warning_flags="$base_warn_flags $base_error_flags $additional_flags"
14130 warning_flags="$base_warn_flags $base_error_flags $additional_flags"
14133 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
14137 if test "$enable_compile_warnings" = "error" ; then
14138 warning_flags="$warning_flags -Werror"
14141 for option in $warning_flags; do
14142 save_CFLAGS="$CFLAGS"
14143 CFLAGS="$CFLAGS $option"
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
14145 $as_echo_n "checking whether gcc understands $option... " >&6; }
14146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14157 if ac_fn_c_try_compile "$LINENO"; then :
14162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14163 CFLAGS="$save_CFLAGS"
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
14165 $as_echo "$has_option" >&6; }
14166 if test $has_option = yes; then
14167 tested_warning_flags="$tested_warning_flags $option"
14173 CFLAGS="$realsave_CFLAGS"
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
14175 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tested_warning_flags" >&5
14177 $as_echo "$tested_warning_flags" >&6; }
14179 # Check whether --enable-iso-c was given.
14180 if test "${enable_iso_c+set}" = set; then :
14181 enableval=$enable_iso_c;
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
14188 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14190 if test "x$enable_iso_c" != "xno"; then
14191 if test "x$GCC" = "xyes"; then
14192 case " $CFLAGS " in
14193 *\ \ -ansi\ \ *) ;;
14194 *) complCFLAGS="$complCFLAGS -ansi" ;;
14196 case " $CFLAGS " in
14197 *\ \ -pedantic\ \ *) ;;
14198 *) complCFLAGS="$complCFLAGS -pedantic" ;;
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
14203 $as_echo "$complCFLAGS" >&6; }
14205 WARN_CFLAGS="$tested_warning_flags $complCFLAGS"
14209 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
14210 set dummy glib-genmarshal; ac_word=$2
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14212 $as_echo_n "checking for $ac_word... " >&6; }
14213 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
14214 $as_echo_n "(cached) " >&6
14216 case $GLIB_GENMARSHAL in
14218 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
14221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14222 for as_dir in $PATH
14225 test -z "$as_dir" && as_dir=.
14226 for ac_exec_ext in '' $ac_executable_extensions; do
14227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14228 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
14229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14239 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
14240 if test -n "$GLIB_GENMARSHAL"; then
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
14242 $as_echo "$GLIB_GENMARSHAL" >&6; }
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14245 $as_echo "no" >&6; }
14249 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
14250 set dummy gdk-pixbuf-csource; ac_word=$2
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14252 $as_echo_n "checking for $ac_word... " >&6; }
14253 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
14254 $as_echo_n "(cached) " >&6
14256 case $GDK_PIXBUF_CSOURCE in
14258 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
14261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14262 for as_dir in $PATH
14265 test -z "$as_dir" && as_dir=.
14266 for ac_exec_ext in '' $ac_executable_extensions; do
14267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14268 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
14269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14279 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
14280 if test -n "$GDK_PIXBUF_CSOURCE"; then
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
14282 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14285 $as_echo "no" >&6; }
14289 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
14290 set dummy gtk-update-icon-cache; ac_word=$2
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14292 $as_echo_n "checking for $ac_word... " >&6; }
14293 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
14294 $as_echo_n "(cached) " >&6
14296 case $GTK_UPDATE_ICON_CACHE in
14298 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
14301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14302 for as_dir in $PATH
14305 test -z "$as_dir" && as_dir=.
14306 for ac_exec_ext in '' $ac_executable_extensions; do
14307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14308 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
14309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14319 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
14320 if test -n "$GTK_UPDATE_ICON_CACHE"; then
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
14322 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325 $as_echo "no" >&6; }
14331 GLABELS_BRANCH=glabels-3.0
14334 LIBGLABELS_BRANCH=libglabels-3.0
14337 LIBGLBARCODE_BRANCH=libglbarcode-3.0
14344 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
14351 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
14354 GLIB_REQUIRED=2.28.2
14356 LIBXML_REQUIRED=2.7.8
14357 LIBRSVG_REQUIRED=2.32.0
14358 CAIRO_REQUIRED=1.10.0
14359 PANGO_REQUIRED=1.28.1
14361 LIBEBOOK_REQUIRED=2.30.3
14362 LIBBARCODE_REQUIRED=0.98
14363 LIBQRENCODE_REQUIRED=3.1.0
14364 LIBIEC16022_REQUIRED=0.2.4
14365 LIBZINT_REQUIRED=2.4.0
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
14383 $as_echo_n "checking for GLABELS... " >&6; }
14385 if test -n "$GLABELS_CFLAGS"; then
14386 pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
14387 elif test -n "$PKG_CONFIG"; then
14388 if test -n "$PKG_CONFIG" && \
14389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14390 glib-2.0 >= \$GLIB_REQUIRED \\
14391 gtk+-3.0 >= \$GTK_REQUIRED \\
14392 libxml-2.0 >= \$LIBXML_REQUIRED \\
14393 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14395 ($PKG_CONFIG --exists --print-errors "\
14396 glib-2.0 >= $GLIB_REQUIRED \
14397 gtk+-3.0 >= $GTK_REQUIRED \
14398 libxml-2.0 >= $LIBXML_REQUIRED \
14399 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14403 test $ac_status = 0; }; then
14404 pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14405 glib-2.0 >= $GLIB_REQUIRED \
14406 gtk+-3.0 >= $GTK_REQUIRED \
14407 libxml-2.0 >= $LIBXML_REQUIRED \
14408 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14410 test "x$?" != "x0" && pkg_failed=yes
14417 if test -n "$GLABELS_LIBS"; then
14418 pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
14419 elif test -n "$PKG_CONFIG"; then
14420 if test -n "$PKG_CONFIG" && \
14421 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14422 glib-2.0 >= \$GLIB_REQUIRED \\
14423 gtk+-3.0 >= \$GTK_REQUIRED \\
14424 libxml-2.0 >= \$LIBXML_REQUIRED \\
14425 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14427 ($PKG_CONFIG --exists --print-errors "\
14428 glib-2.0 >= $GLIB_REQUIRED \
14429 gtk+-3.0 >= $GTK_REQUIRED \
14430 libxml-2.0 >= $LIBXML_REQUIRED \
14431 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14435 test $ac_status = 0; }; then
14436 pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
14437 glib-2.0 >= $GLIB_REQUIRED \
14438 gtk+-3.0 >= $GTK_REQUIRED \
14439 libxml-2.0 >= $LIBXML_REQUIRED \
14440 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14442 test "x$?" != "x0" && pkg_failed=yes
14452 if test $pkg_failed = yes; then
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14454 $as_echo "no" >&6; }
14456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14457 _pkg_short_errors_supported=yes
14459 _pkg_short_errors_supported=no
14461 if test $_pkg_short_errors_supported = yes; then
14462 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14463 glib-2.0 >= $GLIB_REQUIRED \
14464 gtk+-3.0 >= $GTK_REQUIRED \
14465 libxml-2.0 >= $LIBXML_REQUIRED \
14466 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14469 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14470 glib-2.0 >= $GLIB_REQUIRED \
14471 gtk+-3.0 >= $GTK_REQUIRED \
14472 libxml-2.0 >= $LIBXML_REQUIRED \
14473 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14476 # Put the nasty error message in config.log where it belongs
14477 echo "$GLABELS_PKG_ERRORS" >&5
14479 as_fn_error $? "Package requirements (\
14480 glib-2.0 >= $GLIB_REQUIRED \
14481 gtk+-3.0 >= $GTK_REQUIRED \
14482 libxml-2.0 >= $LIBXML_REQUIRED \
14483 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14486 $GLABELS_PKG_ERRORS
14488 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14489 installed software in a non-standard prefix.
14491 Alternatively, you may set the environment variables GLABELS_CFLAGS
14492 and GLABELS_LIBS to avoid the need to call pkg-config.
14493 See the pkg-config man page for more details." "$LINENO" 5
14494 elif test $pkg_failed = untried; then
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14496 $as_echo "no" >&6; }
14497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14499 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14500 is in your PATH or set the PKG_CONFIG environment variable to the full
14501 path to pkg-config.
14503 Alternatively, you may set the environment variables GLABELS_CFLAGS
14504 and GLABELS_LIBS to avoid the need to call pkg-config.
14505 See the pkg-config man page for more details.
14507 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14508 See \`config.log' for more details" "$LINENO" 5; }
14510 GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14511 GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14513 $as_echo "yes" >&6; }
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
14524 $as_echo_n "checking for LIBGLABELS... " >&6; }
14526 if test -n "$LIBGLABELS_CFLAGS"; then
14527 pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14528 elif test -n "$PKG_CONFIG"; then
14529 if test -n "$PKG_CONFIG" && \
14530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14531 glib-2.0 >= \$GLIB_REQUIRED \\
14532 gobject-2.0 >= \$GLIB_REQUIRED \\
14533 libxml-2.0 >= \$LIBXML_REQUIRED \\
14535 ($PKG_CONFIG --exists --print-errors "\
14536 glib-2.0 >= $GLIB_REQUIRED \
14537 gobject-2.0 >= $GLIB_REQUIRED \
14538 libxml-2.0 >= $LIBXML_REQUIRED \
14541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14542 test $ac_status = 0; }; then
14543 pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14544 glib-2.0 >= $GLIB_REQUIRED \
14545 gobject-2.0 >= $GLIB_REQUIRED \
14546 libxml-2.0 >= $LIBXML_REQUIRED \
14548 test "x$?" != "x0" && pkg_failed=yes
14555 if test -n "$LIBGLABELS_LIBS"; then
14556 pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14557 elif test -n "$PKG_CONFIG"; then
14558 if test -n "$PKG_CONFIG" && \
14559 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14560 glib-2.0 >= \$GLIB_REQUIRED \\
14561 gobject-2.0 >= \$GLIB_REQUIRED \\
14562 libxml-2.0 >= \$LIBXML_REQUIRED \\
14564 ($PKG_CONFIG --exists --print-errors "\
14565 glib-2.0 >= $GLIB_REQUIRED \
14566 gobject-2.0 >= $GLIB_REQUIRED \
14567 libxml-2.0 >= $LIBXML_REQUIRED \
14570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14571 test $ac_status = 0; }; then
14572 pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14573 glib-2.0 >= $GLIB_REQUIRED \
14574 gobject-2.0 >= $GLIB_REQUIRED \
14575 libxml-2.0 >= $LIBXML_REQUIRED \
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 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14598 glib-2.0 >= $GLIB_REQUIRED \
14599 gobject-2.0 >= $GLIB_REQUIRED \
14600 libxml-2.0 >= $LIBXML_REQUIRED \
14603 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14604 glib-2.0 >= $GLIB_REQUIRED \
14605 gobject-2.0 >= $GLIB_REQUIRED \
14606 libxml-2.0 >= $LIBXML_REQUIRED \
14609 # Put the nasty error message in config.log where it belongs
14610 echo "$LIBGLABELS_PKG_ERRORS" >&5
14612 as_fn_error $? "Package requirements (\
14613 glib-2.0 >= $GLIB_REQUIRED \
14614 gobject-2.0 >= $GLIB_REQUIRED \
14615 libxml-2.0 >= $LIBXML_REQUIRED \
14618 $LIBGLABELS_PKG_ERRORS
14620 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14621 installed software in a non-standard prefix.
14623 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14624 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14625 See the pkg-config man page for more details." "$LINENO" 5
14626 elif test $pkg_failed = untried; then
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14628 $as_echo "no" >&6; }
14629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14631 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14632 is in your PATH or set the PKG_CONFIG environment variable to the full
14633 path to pkg-config.
14635 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14636 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14637 See the pkg-config man page for more details.
14639 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14640 See \`config.log' for more details" "$LINENO" 5; }
14642 LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14643 LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14645 $as_echo "yes" >&6; }
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
14656 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
14658 if test -n "$LIBGLBARCODE_CFLAGS"; then
14659 pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
14660 elif test -n "$PKG_CONFIG"; then
14661 if test -n "$PKG_CONFIG" && \
14662 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14663 glib-2.0 >= \$GLIB_REQUIRED \\
14664 cairo >= \$CAIRO_REQUIRED \\
14665 pango >= \$PANGO_REQUIRED \\
14666 pangocairo >= \$PANGO_REQUIRED \\
14668 ($PKG_CONFIG --exists --print-errors "\
14669 glib-2.0 >= $GLIB_REQUIRED \
14670 cairo >= $CAIRO_REQUIRED \
14671 pango >= $PANGO_REQUIRED \
14672 pangocairo >= $PANGO_REQUIRED \
14675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14676 test $ac_status = 0; }; then
14677 pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
14678 glib-2.0 >= $GLIB_REQUIRED \
14679 cairo >= $CAIRO_REQUIRED \
14680 pango >= $PANGO_REQUIRED \
14681 pangocairo >= $PANGO_REQUIRED \
14683 test "x$?" != "x0" && pkg_failed=yes
14690 if test -n "$LIBGLBARCODE_LIBS"; then
14691 pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
14692 elif test -n "$PKG_CONFIG"; then
14693 if test -n "$PKG_CONFIG" && \
14694 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14695 glib-2.0 >= \$GLIB_REQUIRED \\
14696 cairo >= \$CAIRO_REQUIRED \\
14697 pango >= \$PANGO_REQUIRED \\
14698 pangocairo >= \$PANGO_REQUIRED \\
14700 ($PKG_CONFIG --exists --print-errors "\
14701 glib-2.0 >= $GLIB_REQUIRED \
14702 cairo >= $CAIRO_REQUIRED \
14703 pango >= $PANGO_REQUIRED \
14704 pangocairo >= $PANGO_REQUIRED \
14707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14708 test $ac_status = 0; }; then
14709 pkg_cv_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
14710 glib-2.0 >= $GLIB_REQUIRED \
14711 cairo >= $CAIRO_REQUIRED \
14712 pango >= $PANGO_REQUIRED \
14713 pangocairo >= $PANGO_REQUIRED \
14715 test "x$?" != "x0" && pkg_failed=yes
14725 if test $pkg_failed = yes; then
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14727 $as_echo "no" >&6; }
14729 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14730 _pkg_short_errors_supported=yes
14732 _pkg_short_errors_supported=no
14734 if test $_pkg_short_errors_supported = yes; then
14735 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14736 glib-2.0 >= $GLIB_REQUIRED \
14737 cairo >= $CAIRO_REQUIRED \
14738 pango >= $PANGO_REQUIRED \
14739 pangocairo >= $PANGO_REQUIRED \
14742 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14743 glib-2.0 >= $GLIB_REQUIRED \
14744 cairo >= $CAIRO_REQUIRED \
14745 pango >= $PANGO_REQUIRED \
14746 pangocairo >= $PANGO_REQUIRED \
14749 # Put the nasty error message in config.log where it belongs
14750 echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14752 as_fn_error $? "Package requirements (\
14753 glib-2.0 >= $GLIB_REQUIRED \
14754 cairo >= $CAIRO_REQUIRED \
14755 pango >= $PANGO_REQUIRED \
14756 pangocairo >= $PANGO_REQUIRED \
14759 $LIBGLBARCODE_PKG_ERRORS
14761 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14762 installed software in a non-standard prefix.
14764 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14765 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14766 See the pkg-config man page for more details." "$LINENO" 5
14767 elif test $pkg_failed = untried; then
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14769 $as_echo "no" >&6; }
14770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14772 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14773 is in your PATH or set the PKG_CONFIG environment variable to the full
14774 path to pkg-config.
14776 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14777 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14778 See the pkg-config man page for more details.
14780 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14781 See \`config.log' for more details" "$LINENO" 5; }
14783 LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14784 LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14786 $as_echo "yes" >&6; }
14795 # Check whether --with-libebook was given.
14796 if test "${with_libebook+set}" = set; then :
14797 withval=$with_libebook;
14801 if test "x$with_libebook" != xno; then
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14805 $as_echo_n "checking for LIBEBOOK... " >&6; }
14807 if test -n "$LIBEBOOK_CFLAGS"; then
14808 pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14809 elif test -n "$PKG_CONFIG"; then
14810 if test -n "$PKG_CONFIG" && \
14811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14812 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14815 test $ac_status = 0; }; then
14816 pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14817 test "x$?" != "x0" && pkg_failed=yes
14824 if test -n "$LIBEBOOK_LIBS"; then
14825 pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14826 elif test -n "$PKG_CONFIG"; then
14827 if test -n "$PKG_CONFIG" && \
14828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14829 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14832 test $ac_status = 0; }; then
14833 pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14834 test "x$?" != "x0" && pkg_failed=yes
14844 if test $pkg_failed = yes; then
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14846 $as_echo "no" >&6; }
14848 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14849 _pkg_short_errors_supported=yes
14851 _pkg_short_errors_supported=no
14853 if test $_pkg_short_errors_supported = yes; then
14854 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14856 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14858 # Put the nasty error message in config.log where it belongs
14859 echo "$LIBEBOOK_PKG_ERRORS" >&5
14862 elif test $pkg_failed = untried; then
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14864 $as_echo "no" >&6; }
14867 LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14868 LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14870 $as_echo "yes" >&6; }
14875 if test "x$have_libebook" = "xyes"; then
14877 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14885 # Check whether --with-libbarcode was given.
14886 if test "${with_libbarcode+set}" = set; then :
14887 withval=$with_libbarcode;
14891 if test "x$with_libbarcode" != xno; then
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14893 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14894 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14895 $as_echo_n "(cached) " >&6
14897 ac_check_lib_save_LIBS=$LIBS
14898 LIBS="-lbarcode $LIBS"
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14902 /* Override any GCC internal prototype to avoid an error.
14903 Use char because int might match the return type of a GCC
14904 builtin and then its argument prototype would still apply. */
14908 char Barcode_Create ();
14912 return Barcode_Create ();
14917 if ac_fn_c_try_link "$LINENO"; then :
14918 ac_cv_lib_barcode_Barcode_Create=yes
14920 ac_cv_lib_barcode_Barcode_Create=no
14922 rm -f core conftest.err conftest.$ac_objext \
14923 conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_lib_save_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14927 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14928 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14929 have_libbarcode=yes
14936 if test "x$have_libbarcode" = "xyes"; then
14938 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14940 LIBBARCODE_CFLAGS=""
14941 LIBBARCODE_LIBS="-lbarcode"
14945 help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14949 # Check whether --with-libzint was given.
14950 if test "${with_libzint+set}" = set; then :
14951 withval=$with_libzint;
14955 if test "x$with_libzint" != xno; then
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14957 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14958 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14959 $as_echo_n "(cached) " >&6
14961 ac_check_lib_save_LIBS=$LIBS
14962 LIBS="-lzint $LIBS"
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14972 char ZBarcode_Render ();
14976 return ZBarcode_Render ();
14981 if ac_fn_c_try_link "$LINENO"; then :
14982 ac_cv_lib_zint_ZBarcode_Render=yes
14984 ac_cv_lib_zint_ZBarcode_Render=no
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14988 LIBS=$ac_check_lib_save_LIBS
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14991 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14992 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
15000 if test "x$have_libzint" = "xyes"; then
15002 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
15005 LIBZINT_LIBS="-lzint"
15009 help_libzint="(See http://www.zint.org.uk)"
15014 # Check whether --with-libqrencode was given.
15015 if test "${with_libqrencode+set}" = set; then :
15016 withval=$with_libqrencode;
15019 have_libqrencode=no
15020 if test "x$with_libqrencode" != xno; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
15024 $as_echo_n "checking for LIBQRENCODE... " >&6; }
15026 if test -n "$LIBQRENCODE_CFLAGS"; then
15027 pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
15028 elif test -n "$PKG_CONFIG"; then
15029 if test -n "$PKG_CONFIG" && \
15030 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
15031 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
15033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15034 test $ac_status = 0; }; then
15035 pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
15036 test "x$?" != "x0" && pkg_failed=yes
15043 if test -n "$LIBQRENCODE_LIBS"; then
15044 pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
15045 elif test -n "$PKG_CONFIG"; then
15046 if test -n "$PKG_CONFIG" && \
15047 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
15048 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
15053 test "x$?" != "x0" && pkg_failed=yes
15063 if test $pkg_failed = yes; then
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15065 $as_echo "no" >&6; }
15067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15068 _pkg_short_errors_supported=yes
15070 _pkg_short_errors_supported=no
15072 if test $_pkg_short_errors_supported = yes; then
15073 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
15075 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
15077 # Put the nasty error message in config.log where it belongs
15078 echo "$LIBQRENCODE_PKG_ERRORS" >&5
15080 have_libqrencode=no
15081 elif test $pkg_failed = untried; then
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15083 $as_echo "no" >&6; }
15084 have_libqrencode=no
15086 LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
15087 LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15089 $as_echo "yes" >&6; }
15090 have_libqrencode=yes
15094 if test "x$have_libqrencode" = "xyes"; then
15096 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
15101 help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
15106 # Check whether --with-libiec16022 was given.
15107 if test "${with_libiec16022+set}" = set; then :
15108 withval=$with_libiec16022;
15111 have_libiec16022=no
15112 if test "x$with_libiec16022" != xno; then
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
15116 $as_echo_n "checking for LIBIEC16022... " >&6; }
15118 if test -n "$LIBIEC16022_CFLAGS"; then
15119 pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
15120 elif test -n "$PKG_CONFIG"; then
15121 if test -n "$PKG_CONFIG" && \
15122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
15123 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
15125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15126 test $ac_status = 0; }; then
15127 pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
15128 test "x$?" != "x0" && pkg_failed=yes
15135 if test -n "$LIBIEC16022_LIBS"; then
15136 pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
15137 elif test -n "$PKG_CONFIG"; then
15138 if test -n "$PKG_CONFIG" && \
15139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
15140 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
15142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15143 test $ac_status = 0; }; then
15144 pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
15145 test "x$?" != "x0" && pkg_failed=yes
15155 if test $pkg_failed = yes; then
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15157 $as_echo "no" >&6; }
15159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15160 _pkg_short_errors_supported=yes
15162 _pkg_short_errors_supported=no
15164 if test $_pkg_short_errors_supported = yes; then
15165 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
15167 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
15169 # Put the nasty error message in config.log where it belongs
15170 echo "$LIBIEC16022_PKG_ERRORS" >&5
15172 have_libiec16022=no
15173 elif test $pkg_failed = untried; then
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15175 $as_echo "no" >&6; }
15176 have_libiec16022=no
15178 LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
15179 LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15181 $as_echo "yes" >&6; }
15182 have_libiec16022=yes
15186 if test "x$have_libiec16022" = "xyes"; then
15188 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
15193 help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
15197 # Check whether --enable-deprecations was given.
15198 if test "${enable_deprecations+set}" = set; then :
15199 enableval=$enable_deprecations;
15201 enable_deprecations=no
15205 if test "x$enable_deprecations" = "xyes"; then
15206 DISABLE_DEPRECATED_CFLAGS="\
15207 -DG_DISABLE_DEPRECATED \
15208 -DGDK_DISABLE_DEPRECATED \
15209 -DGTK_DISABLE_DEPRECATED \
15210 -DGDK_PIXBUF_DISABLE_DEPRECATED \
15216 GETTEXT_PACKAGE=${GLABELS_BRANCH}
15219 cat >>confdefs.h <<_ACEOF
15220 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15225 for ac_header in locale.h
15227 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15228 if test "x$ac_cv_header_locale_h" = xyes; then :
15229 cat >>confdefs.h <<_ACEOF
15230 #define HAVE_LOCALE_H 1
15237 if test $ac_cv_header_locale_h = yes; then
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15239 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15240 if ${am_cv_val_LC_MESSAGES+:} false; then :
15241 $as_echo_n "(cached) " >&6
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245 #include <locale.h>
15254 if ac_fn_c_try_link "$LINENO"; then :
15255 am_cv_val_LC_MESSAGES=yes
15257 am_cv_val_LC_MESSAGES=no
15259 rm -f core conftest.err conftest.$ac_objext \
15260 conftest$ac_exeext conftest.$ac_ext
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15263 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15264 if test $am_cv_val_LC_MESSAGES = yes; then
15266 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15273 gt_cv_have_gettext=no
15279 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15280 if test "x$ac_cv_header_libintl_h" = xyes; then :
15281 gt_cv_func_dgettext_libintl="no"
15282 libintl_extra_libs=""
15285 # First check in libc
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15288 $as_echo_n "checking for ngettext in libc... " >&6; }
15289 if ${gt_cv_func_ngettext_libc+:} false; then :
15290 $as_echo_n "(cached) " >&6
15292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15293 /* end confdefs.h. */
15295 #include <libintl.h>
15300 return !ngettext ("","", 1)
15305 if ac_fn_c_try_link "$LINENO"; then :
15306 gt_cv_func_ngettext_libc=yes
15308 gt_cv_func_ngettext_libc=no
15310 rm -f core conftest.err conftest.$ac_objext \
15311 conftest$ac_exeext conftest.$ac_ext
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15315 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15317 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15319 $as_echo_n "checking for dgettext in libc... " >&6; }
15320 if ${gt_cv_func_dgettext_libc+:} false; then :
15321 $as_echo_n "(cached) " >&6
15323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h. */
15326 #include <libintl.h>
15331 return !dgettext ("","")
15336 if ac_fn_c_try_link "$LINENO"; then :
15337 gt_cv_func_dgettext_libc=yes
15339 gt_cv_func_dgettext_libc=no
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15346 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15349 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15350 for ac_func in bind_textdomain_codeset
15352 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15353 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15354 cat >>confdefs.h <<_ACEOF
15355 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15364 # If we don't have everything we want, check in libintl
15366 if test "$gt_cv_func_dgettext_libc" != "yes" \
15367 || test "$gt_cv_func_ngettext_libc" != "yes" \
15368 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15371 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15372 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15373 $as_echo_n "(cached) " >&6
15375 ac_check_lib_save_LIBS=$LIBS
15376 LIBS="-lintl $LIBS"
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15386 char bindtextdomain ();
15390 return bindtextdomain ();
15395 if ac_fn_c_try_link "$LINENO"; then :
15396 ac_cv_lib_intl_bindtextdomain=yes
15398 ac_cv_lib_intl_bindtextdomain=no
15400 rm -f core conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_lib_save_LIBS
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15405 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15406 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15408 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15409 if ${ac_cv_lib_intl_ngettext+:} false; then :
15410 $as_echo_n "(cached) " >&6
15412 ac_check_lib_save_LIBS=$LIBS
15413 LIBS="-lintl $LIBS"
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15417 /* Override any GCC internal prototype to avoid an error.
15418 Use char because int might match the return type of a GCC
15419 builtin and then its argument prototype would still apply. */
15427 return ngettext ();
15432 if ac_fn_c_try_link "$LINENO"; then :
15433 ac_cv_lib_intl_ngettext=yes
15435 ac_cv_lib_intl_ngettext=no
15437 rm -f core conftest.err conftest.$ac_objext \
15438 conftest$ac_exeext conftest.$ac_ext
15439 LIBS=$ac_check_lib_save_LIBS
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15442 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15443 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15445 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15446 if ${ac_cv_lib_intl_dgettext+:} false; then :
15447 $as_echo_n "(cached) " >&6
15449 ac_check_lib_save_LIBS=$LIBS
15450 LIBS="-lintl $LIBS"
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15454 /* Override any GCC internal prototype to avoid an error.
15455 Use char because int might match the return type of a GCC
15456 builtin and then its argument prototype would still apply. */
15464 return dgettext ();
15469 if ac_fn_c_try_link "$LINENO"; then :
15470 ac_cv_lib_intl_dgettext=yes
15472 ac_cv_lib_intl_dgettext=no
15474 rm -f core conftest.err conftest.$ac_objext \
15475 conftest$ac_exeext conftest.$ac_ext
15476 LIBS=$ac_check_lib_save_LIBS
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15479 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15480 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15481 gt_cv_func_dgettext_libintl=yes
15489 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15491 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15495 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15496 if ${ac_cv_lib_intl_ngettext+:} false; then :
15497 $as_echo_n "(cached) " >&6
15499 ac_check_lib_save_LIBS=$LIBS
15500 LIBS="-lintl -liconv $LIBS"
15501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h. */
15504 /* Override any GCC internal prototype to avoid an error.
15505 Use char because int might match the return type of a GCC
15506 builtin and then its argument prototype would still apply. */
15514 return ngettext ();
15519 if ac_fn_c_try_link "$LINENO"; then :
15520 ac_cv_lib_intl_ngettext=yes
15522 ac_cv_lib_intl_ngettext=no
15524 rm -f core conftest.err conftest.$ac_objext \
15525 conftest$ac_exeext conftest.$ac_ext
15526 LIBS=$ac_check_lib_save_LIBS
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15529 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15530 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15532 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15533 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15534 $as_echo_n "(cached) " >&6
15536 ac_check_lib_save_LIBS=$LIBS
15537 LIBS="-lintl -liconv $LIBS"
15538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15539 /* end confdefs.h. */
15541 /* Override any GCC internal prototype to avoid an error.
15542 Use char because int might match the return type of a GCC
15543 builtin and then its argument prototype would still apply. */
15551 return dcgettext ();
15556 if ac_fn_c_try_link "$LINENO"; then :
15557 ac_cv_lib_intl_dcgettext=yes
15559 ac_cv_lib_intl_dcgettext=no
15561 rm -f core conftest.err conftest.$ac_objext \
15562 conftest$ac_exeext conftest.$ac_ext
15563 LIBS=$ac_check_lib_save_LIBS
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15566 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15567 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15568 gt_cv_func_dgettext_libintl=yes
15569 libintl_extra_libs=-liconv
15581 # If we found libintl, then check in it for bind_textdomain_codeset();
15582 # we'll prefer libc if neither have bind_textdomain_codeset(),
15583 # and both have dgettext and ngettext
15585 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15586 glib_save_LIBS="$LIBS"
15587 LIBS="$LIBS -lintl $libintl_extra_libs"
15588 unset ac_cv_func_bind_textdomain_codeset
15589 for ac_func in bind_textdomain_codeset
15591 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15592 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15593 cat >>confdefs.h <<_ACEOF
15594 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15600 LIBS="$glib_save_LIBS"
15602 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15603 gt_cv_func_dgettext_libc=no
15605 if test "$gt_cv_func_dgettext_libc" = "yes" \
15606 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15607 gt_cv_func_dgettext_libintl=no
15613 if test "$gt_cv_func_dgettext_libc" = "yes" \
15614 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15615 gt_cv_have_gettext=yes
15618 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15619 INTLLIBS="-lintl $libintl_extra_libs"
15622 if test "$gt_cv_have_gettext" = "yes"; then
15624 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15626 # Extract the first word of "msgfmt", so it can be a program name with args.
15627 set dummy msgfmt; ac_word=$2
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15629 $as_echo_n "checking for $ac_word... " >&6; }
15630 if ${ac_cv_path_MSGFMT+:} false; then :
15631 $as_echo_n "(cached) " >&6
15635 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15638 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15639 for ac_dir in $PATH; do
15640 test -z "$ac_dir" && ac_dir=.
15641 if test -f $ac_dir/$ac_word; then
15642 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15643 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15649 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15653 MSGFMT="$ac_cv_path_MSGFMT"
15654 if test "$MSGFMT" != "no"; then
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15656 $as_echo "$MSGFMT" >&6; }
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15659 $as_echo "no" >&6; }
15661 if test "$MSGFMT" != "no"; then
15662 glib_save_LIBS="$LIBS"
15663 LIBS="$LIBS $INTLLIBS"
15664 for ac_func in dcgettext
15666 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15667 if test "x$ac_cv_func_dcgettext" = xyes; then :
15668 cat >>confdefs.h <<_ACEOF
15669 #define HAVE_DCGETTEXT 1
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15677 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15678 cat >conftest.foo <<_ACEOF
15682 "Content-Type: text/plain; charset=UTF-8\n"
15683 "Project-Id-Version: test 1.0\n"
15684 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15685 "Last-Translator: test <foo@bar.xx>\n"
15686 "Language-Team: C <LL@li.org>\n"
15687 "MIME-Version: 1.0\n"
15688 "Content-Transfer-Encoding: 8bit\n"
15691 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15692 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15695 test $ac_status = 0; }; then
15696 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15697 $as_echo "yes" >&6; }
15698 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15699 $as_echo "no" >&6; }
15700 echo "$as_me: failed input was:" >&5
15701 sed 's/^/| /' conftest.foo >&5
15704 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15705 set dummy gmsgfmt; ac_word=$2
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15707 $as_echo_n "checking for $ac_word... " >&6; }
15708 if ${ac_cv_path_GMSGFMT+:} false; then :
15709 $as_echo_n "(cached) " >&6
15713 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15717 for as_dir in $PATH
15720 test -z "$as_dir" && as_dir=.
15721 for ac_exec_ext in '' $ac_executable_extensions; do
15722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15723 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15731 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15735 GMSGFMT=$ac_cv_path_GMSGFMT
15736 if test -n "$GMSGFMT"; then
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15738 $as_echo "$GMSGFMT" >&6; }
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15741 $as_echo "no" >&6; }
15745 # Extract the first word of "xgettext", so it can be a program name with args.
15746 set dummy xgettext; ac_word=$2
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15748 $as_echo_n "checking for $ac_word... " >&6; }
15749 if ${ac_cv_path_XGETTEXT+:} false; then :
15750 $as_echo_n "(cached) " >&6
15752 case "$XGETTEXT" in
15754 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15757 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15758 for ac_dir in $PATH; do
15759 test -z "$ac_dir" && ac_dir=.
15760 if test -f $ac_dir/$ac_word; then
15761 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15762 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15768 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15772 XGETTEXT="$ac_cv_path_XGETTEXT"
15773 if test "$XGETTEXT" != ":"; then
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15775 $as_echo "$XGETTEXT" >&6; }
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15778 $as_echo "no" >&6; }
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15787 extern int _nl_msg_cat_cntr;
15788 return _nl_msg_cat_cntr
15793 if ac_fn_c_try_link "$LINENO"; then :
15799 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15800 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15819 rm -f core conftest.err conftest.$ac_objext \
15820 conftest$ac_exeext conftest.$ac_ext
15821 LIBS="$glib_save_LIBS"
15824 gt_cv_have_gettext=no
15832 if test "$gt_cv_have_gettext" = "yes" ; then
15834 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15838 if test "$XGETTEXT" != ":"; then
15839 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15843 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15848 # We need to process the po/ directory.
15851 ac_config_commands="$ac_config_commands default-1"
15854 for lang in $ALL_LINGUAS; do
15855 GMOFILES="$GMOFILES $lang.gmo"
15856 POFILES="$POFILES $lang.po"
15871 if test "$gt_cv_have_gettext" = "yes"; then
15872 if test "x$ALL_LINGUAS" = "x"; then
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15876 $as_echo_n "checking for catalogs to be installed... " >&6; }
15878 for presentlang in $ALL_LINGUAS; do
15880 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15881 desiredlanguages="$LINGUAS"
15883 desiredlanguages="$ALL_LINGUAS"
15885 for desiredlang in $desiredlanguages; do
15886 # Use the presentlang catalog if desiredlang is
15887 # a. equal to presentlang, or
15888 # b. a variant of presentlang (because in this case,
15889 # presentlang can be used as a fallback for messages
15890 # which are not translated in the desiredlang catalog).
15891 case "$desiredlang" in
15892 "$presentlang"*) useit=yes;;
15895 if test $useit = yes; then
15896 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15899 LINGUAS=$NEW_LINGUAS
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15901 $as_echo "$LINGUAS" >&6; }
15904 if test -n "$LINGUAS"; then
15905 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15910 if test -n "$ac_aux_dir"; then
15911 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15913 if test -z "$MKINSTALLDIRS"; then
15914 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15918 test -d po || mkdir po
15919 if test "x$srcdir" != "x."; then
15920 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15921 posrcprefix="$srcdir/"
15923 posrcprefix="../$srcdir/"
15929 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15930 < $srcdir/po/POTFILES.in > po/POTFILES
15934 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/appdata/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/icons/scalable/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"
15936 cat >confcache <<\_ACEOF
15937 # This file is a shell script that caches the results of configure
15938 # tests run on this system so they can be shared between configure
15939 # scripts and configure runs, see configure's option --config-cache.
15940 # It is not useful on other systems. If it contains results you don't
15941 # want to keep, you may remove or edit it.
15943 # config.status only pays attention to the cache file if you give it
15944 # the --recheck option to rerun configure.
15946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15948 # following values.
15952 # The following way of writing the cache mishandles newlines in values,
15953 # but we know of no workaround that is simple, portable, and efficient.
15954 # So, we kill variables containing newlines.
15955 # Ultrix sh set writes to stderr and can't be redirected directly,
15956 # and sets the high bit in the cache file unless we assign to the vars.
15958 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15959 eval ac_val=\$$ac_var
15963 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15964 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15967 _ | IFS | as_nl) ;; #(
15968 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15969 *) { eval $ac_var=; unset $ac_var;} ;;
15975 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15976 *${as_nl}ac_space=\ *)
15977 # `set' does not quote correctly, so add quotes: double-quote
15978 # substitution turns \\\\ into \\, and sed turns \\ into \.
15981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15984 # `set' quotes correctly as required by POSIX, so do not add quotes.
15985 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15996 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15998 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15999 if test -w "$cache_file"; then
16000 if test "x$cache_file" != "x/dev/null"; then
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16002 $as_echo "$as_me: updating cache $cache_file" >&6;}
16003 if test ! -f "$cache_file" || test -h "$cache_file"; then
16004 cat confcache >"$cache_file"
16006 case $cache_file in #(
16008 mv -f confcache "$cache_file"$$ &&
16009 mv -f "$cache_file"$$ "$cache_file" ;; #(
16011 mv -f confcache "$cache_file" ;;
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16017 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16022 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16023 # Let make expand exec_prefix.
16024 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16026 DEFS=-DHAVE_CONFIG_H
16031 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16032 # 1. Remove the extension, and $U if already installed.
16033 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16034 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16035 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16036 # will be set to the directory where LIBOBJS objects are built.
16037 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16038 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16040 LIBOBJS=$ac_libobjs
16042 LTLIBOBJS=$ac_ltlibobjs
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16046 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16047 if test -n "$am_sleep_pid"; then
16048 # Hide warnings about reused PIDs.
16049 wait $am_sleep_pid 2>/dev/null
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16052 $as_echo "done" >&6; }
16053 if test -n "$EXEEXT"; then
16055 am__EXEEXT_FALSE='#'
16057 am__EXEEXT_TRUE='#'
16061 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16062 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16065 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16066 as_fn_error $? "conditional \"AMDEP\" was never defined.
16067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16069 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16070 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16074 ac_config_commands="$ac_config_commands po/stamp-it"
16077 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
16078 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
16079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16081 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16082 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16085 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16086 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16089 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16090 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16093 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16094 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16097 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16098 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16101 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16102 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16106 : "${CONFIG_STATUS=./config.status}"
16108 ac_clean_files_save=$ac_clean_files
16109 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16111 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16113 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16115 # Generated by $as_me.
16116 # Run this file to recreate the current configuration.
16117 # Compiler output produced by configure, useful for debugging
16118 # configure, is in config.log if it exists.
16121 ac_cs_recheck=false
16124 SHELL=\${CONFIG_SHELL-$SHELL}
16127 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16128 ## -------------------- ##
16129 ## M4sh Initialization. ##
16130 ## -------------------- ##
16132 # Be more Bourne compatible
16133 DUALCASE=1; export DUALCASE # for MKS sh
16134 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16137 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16138 # is contrary to our usage. Disable this feature.
16139 alias -g '${1+"$@"}'='"$@"'
16140 setopt NO_GLOB_SUBST
16142 case `(set -o) 2>/dev/null` in #(
16154 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16155 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16156 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16158 # Prefer a ksh shell builtin over an external printf program on Solaris,
16159 # but without wasting forks for bash or zsh.
16160 if test -z "$BASH_VERSION$ZSH_VERSION" \
16161 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16162 as_echo='print -r --'
16163 as_echo_n='print -rn --'
16164 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16165 as_echo='printf %s\n'
16166 as_echo_n='printf %s'
16168 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16169 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16170 as_echo_n='/usr/ucb/echo -n'
16172 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16173 as_echo_n_body='eval
16177 expr "X$arg" : "X\\(.*\\)$as_nl";
16178 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16180 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16182 export as_echo_n_body
16183 as_echo_n='sh -c $as_echo_n_body as_echo'
16185 export as_echo_body
16186 as_echo='sh -c $as_echo_body as_echo'
16189 # The user is always right.
16190 if test "${PATH_SEPARATOR+set}" != set; then
16192 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16193 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16200 # We need space, tab and new line, in precisely that order. Quoting is
16201 # there to prevent editors from complaining about space-tab.
16202 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16203 # splitting by setting IFS to empty value.)
16206 # Find who we are. Look in the path if we contain no directory separator.
16209 *[\\/]* ) as_myself=$0 ;;
16210 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16211 for as_dir in $PATH
16214 test -z "$as_dir" && as_dir=.
16215 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16221 # We did not find ourselves, most probably we were run as `sh COMMAND'
16222 # in which case we are not to be found in the path.
16223 if test "x$as_myself" = x; then
16226 if test ! -f "$as_myself"; then
16227 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16231 # Unset variables that we do not need and which cause bugs (e.g. in
16232 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16233 # suppresses any "Segmentation fault" message there. '((' could
16234 # trigger a bug in pdksh 5.2.14.
16235 for as_var in BASH_ENV ENV MAIL MAILPATH
16236 do eval test x\${$as_var+set} = xset \
16237 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16253 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16254 # ----------------------------------------
16255 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16256 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16257 # script with STATUS, using 1 if that was 0.
16260 as_status=$1; test $as_status -eq 0 && as_status=1
16262 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16263 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16265 $as_echo "$as_me: error: $2" >&2
16266 as_fn_exit $as_status
16270 # as_fn_set_status STATUS
16271 # -----------------------
16272 # Set $? to STATUS, without forking.
16273 as_fn_set_status ()
16276 } # as_fn_set_status
16278 # as_fn_exit STATUS
16279 # -----------------
16280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16284 as_fn_set_status $1
16290 # Portably unset VAR.
16293 { eval $1=; unset $1;}
16295 as_unset=as_fn_unset
16296 # as_fn_append VAR VALUE
16297 # ----------------------
16298 # Append the text in VALUE to the end of the definition contained in VAR. Take
16299 # advantage of any shell optimizations that allow amortized linear growth over
16300 # repeated appends, instead of the typical quadratic growth present in naive
16302 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16303 eval 'as_fn_append ()
16314 # as_fn_arith ARG...
16315 # ------------------
16316 # Perform arithmetic evaluation on the ARGs, and store the result in the
16317 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16318 # must be portable across $(()) and expr.
16319 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16320 eval 'as_fn_arith ()
16327 as_val=`expr "$@" || test $? -eq 1`
16332 if expr a : '\(a\)' >/dev/null 2>&1 &&
16333 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16339 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16340 as_basename=basename
16345 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16351 as_me=`$as_basename -- "$0" ||
16352 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16353 X"$0" : 'X\(//\)$' \| \
16354 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16356 sed '/^.*\/\([^/][^/]*\)\/*$/{
16370 # Avoid depending upon Character Ranges.
16371 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16372 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16373 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16374 as_cr_digits='0123456789'
16375 as_cr_alnum=$as_cr_Letters$as_cr_digits
16377 ECHO_C= ECHO_N= ECHO_T=
16378 case `echo -n x` in #(((((
16380 case `echo 'xy\c'` in
16381 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16383 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16390 rm -f conf$$ conf$$.exe conf$$.file
16391 if test -d conf$$.dir; then
16392 rm -f conf$$.dir/conf$$.file
16395 mkdir conf$$.dir 2>/dev/null
16397 if (echo >conf$$.file) 2>/dev/null; then
16398 if ln -s conf$$.file conf$$ 2>/dev/null; then
16400 # ... but there are two gotchas:
16401 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16402 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16403 # In both cases, we have to default to `cp -pR'.
16404 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16406 elif ln conf$$.file conf$$ 2>/dev/null; then
16414 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16415 rmdir conf$$.dir 2>/dev/null
16420 # Create "$as_dir" as a directory, including parents if necessary.
16425 -*) as_dir=./$as_dir;;
16427 test -d "$as_dir" || eval $as_mkdir_p || {
16431 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16432 *) as_qdir=$as_dir;;
16434 as_dirs="'$as_qdir' $as_dirs"
16435 as_dir=`$as_dirname -- "$as_dir" ||
16436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16437 X"$as_dir" : 'X\(//\)[^/]' \| \
16438 X"$as_dir" : 'X\(//\)$' \| \
16439 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16440 $as_echo X"$as_dir" |
16441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16445 /^X\(\/\/\)[^/].*/{
16458 test -d "$as_dir" && break
16460 test -z "$as_dirs" || eval "mkdir $as_dirs"
16461 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16465 if mkdir -p . 2>/dev/null; then
16466 as_mkdir_p='mkdir -p "$as_dir"'
16468 test -d ./-p && rmdir ./-p
16473 # as_fn_executable_p FILE
16474 # -----------------------
16475 # Test if FILE is an executable regular file.
16476 as_fn_executable_p ()
16478 test -f "$1" && test -x "$1"
16479 } # as_fn_executable_p
16480 as_test_x='test -x'
16481 as_executable_p=as_fn_executable_p
16483 # Sed expression to map a string onto a valid CPP name.
16484 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16486 # Sed expression to map a string onto a valid variable name.
16487 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16491 ## ----------------------------------- ##
16492 ## Main body of $CONFIG_STATUS script. ##
16493 ## ----------------------------------- ##
16495 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16498 # Save the log message, to keep $0 and so on meaningful, and to
16499 # report actual input values of CONFIG_FILES etc. instead of their
16500 # values after options handling.
16502 This file was extended by glabels $as_me 3.2.1, which was
16503 generated by GNU Autoconf 2.69. Invocation command line was
16505 CONFIG_FILES = $CONFIG_FILES
16506 CONFIG_HEADERS = $CONFIG_HEADERS
16507 CONFIG_LINKS = $CONFIG_LINKS
16508 CONFIG_COMMANDS = $CONFIG_COMMANDS
16511 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16516 case $ac_config_files in *"
16517 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16520 case $ac_config_headers in *"
16521 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16526 # Files that config.status was made for.
16527 config_files="$ac_config_files"
16528 config_headers="$ac_config_headers"
16529 config_commands="$ac_config_commands"
16533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16535 \`$as_me' instantiates files and other configuration actions
16536 from templates according to the current configuration. Unless the files
16537 and actions are specified as TAGs, all are instantiated by default.
16539 Usage: $0 [OPTION]... [TAG]...
16541 -h, --help print this help, then exit
16542 -V, --version print version number and configuration settings, then exit
16543 --config print configuration, then exit
16544 -q, --quiet, --silent
16545 do not print progress messages
16546 -d, --debug don't remove temporary files
16547 --recheck update $as_me by reconfiguring in the same conditions
16548 --file=FILE[:TEMPLATE]
16549 instantiate the configuration file FILE
16550 --header=FILE[:TEMPLATE]
16551 instantiate the configuration header FILE
16553 Configuration files:
16556 Configuration headers:
16559 Configuration commands:
16562 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
16565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16566 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16568 glabels config.status 3.2.1
16569 configured by $0, generated by GNU Autoconf 2.69,
16570 with options \\"\$ac_cs_config\\"
16572 Copyright (C) 2012 Free Software Foundation, Inc.
16573 This config.status script is free software; the Free Software Foundation
16574 gives unlimited permission to copy, distribute and modify it."
16581 test -n "\$AWK" || AWK=awk
16584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16585 # The default lists apply if the user does not specify any file.
16591 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16592 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16596 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16608 # Handling of the options.
16609 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16611 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16612 $as_echo "$ac_cs_version"; exit ;;
16613 --config | --confi | --conf | --con | --co | --c )
16614 $as_echo "$ac_cs_config"; exit ;;
16615 --debug | --debu | --deb | --de | --d | -d )
16617 --file | --fil | --fi | --f )
16620 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16621 '') as_fn_error $? "missing file argument" ;;
16623 as_fn_append CONFIG_FILES " '$ac_optarg'"
16624 ac_need_defaults=false;;
16625 --header | --heade | --head | --hea )
16628 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16630 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16631 ac_need_defaults=false;;
16633 # Conflict between --help and --header
16634 as_fn_error $? "ambiguous option: \`$1'
16635 Try \`$0 --help' for more information.";;
16636 --help | --hel | -h )
16637 $as_echo "$ac_cs_usage"; exit ;;
16638 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16639 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16642 # This is an error.
16643 -*) as_fn_error $? "unrecognized option: \`$1'
16644 Try \`$0 --help' for more information." ;;
16646 *) as_fn_append ac_config_targets " $1"
16647 ac_need_defaults=false ;;
16653 ac_configure_extra_args=
16655 if $ac_cs_silent; then
16657 ac_configure_extra_args="$ac_configure_extra_args --silent"
16661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16662 if \$ac_cs_recheck; then
16663 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16665 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16666 CONFIG_SHELL='$SHELL'
16667 export CONFIG_SHELL
16672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16676 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16677 ## Running $as_me. ##
16683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16687 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16690 # The HP-UX ksh and POSIX shell print the target directory to stdout
16691 # if CDPATH is set.
16692 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16694 sed_quote_subst='$sed_quote_subst'
16695 double_quote_subst='$double_quote_subst'
16696 delay_variable_subst='$delay_variable_subst'
16697 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16698 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16699 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16700 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16701 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16702 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16703 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16704 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16705 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16706 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16707 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16708 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16709 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16710 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16711 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16712 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16713 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16714 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16715 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16716 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16717 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16718 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16719 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16720 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16721 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16722 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16723 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16724 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16725 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16726 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16727 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16728 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16729 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16730 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16731 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16732 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16733 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16734 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16735 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16736 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16737 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16738 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16739 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16740 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16741 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16742 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16743 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16744 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16745 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16746 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16747 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16748 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16749 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16750 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16751 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16752 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16753 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"`'
16754 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16755 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16756 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16757 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16758 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16759 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16760 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16761 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16762 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16763 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16764 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16765 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16766 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16767 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16768 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16769 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16770 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16771 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16772 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16773 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16774 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16775 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16776 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16777 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16778 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16779 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16780 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16781 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16782 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16783 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16784 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16785 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16786 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16787 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16788 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16789 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16790 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16791 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16792 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16793 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16794 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16795 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16796 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16797 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16798 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16799 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16800 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16801 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16802 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16803 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16804 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16805 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16806 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16807 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16808 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16809 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16810 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16811 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16812 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16813 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16814 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16815 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16816 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16817 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16818 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16819 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16820 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16821 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16822 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16823 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16824 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16825 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16826 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16829 LTCFLAGS='$LTCFLAGS'
16830 compiler='$compiler_DEFAULT'
16832 # A function that is used when there is no print builtin or printf.
16833 func_fallback_echo ()
16835 eval 'cat <<_LTECHO_EOF
16840 # Quote evaled strings.
16855 deplibs_check_method \
16860 sharedlib_from_linklib_cmd \
16863 archiver_list_spec \
16869 lt_cv_sys_global_symbol_pipe \
16870 lt_cv_sys_global_symbol_to_cdecl \
16871 lt_cv_sys_global_symbol_to_c_name_address \
16872 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16873 nm_file_list_spec \
16874 lt_prog_compiler_no_builtin_flag \
16875 lt_prog_compiler_pic \
16876 lt_prog_compiler_wl \
16877 lt_prog_compiler_static \
16878 lt_cv_prog_compiler_c_o \
16887 export_dynamic_flag_spec \
16888 whole_archive_flag_spec \
16889 compiler_needs_object \
16891 allow_undefined_flag \
16892 no_undefined_flag \
16893 hardcode_libdir_flag_spec \
16894 hardcode_libdir_separator \
16898 variables_saved_for_relink \
16900 library_names_spec \
16902 install_override_mode \
16906 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16907 *[\\\\\\\`\\"\\\$]*)
16908 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16911 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16916 # Double-quote double-evaled strings.
16917 for var in reload_cmds \
16918 old_postinstall_cmds \
16919 old_postuninstall_cmds \
16921 extract_expsyms_cmds \
16922 old_archive_from_new_cmds \
16923 old_archive_from_expsyms_cmds \
16925 archive_expsym_cmds \
16927 module_expsym_cmds \
16928 export_symbols_cmds \
16932 postuninstall_cmds \
16934 sys_lib_search_path_spec \
16935 sys_lib_dlsearch_path_spec; do
16936 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16937 *[\\\\\\\`\\"\\\$]*)
16938 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16941 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16946 ac_aux_dir='$ac_aux_dir'
16947 xsi_shell='$xsi_shell'
16948 lt_shell_append='$lt_shell_append'
16950 # See if we are running on zsh, and set the options which allow our
16951 # commands through without removal of \ escapes INIT.
16952 if test -n "\${ZSH_VERSION+set}" ; then
16953 setopt NO_GLOB_SUBST
16959 TIMESTAMP='$TIMESTAMP'
16969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16971 # Handling of arguments.
16972 for ac_config_target in $ac_config_targets
16974 case $ac_config_target in
16975 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16976 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16977 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16978 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16979 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16980 "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16981 "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16982 "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16983 "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16984 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16985 "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16986 "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16987 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16988 "data/appdata/Makefile") CONFIG_FILES="$CONFIG_FILES data/appdata/Makefile" ;;
16989 "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16990 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16991 "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16992 "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16993 "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16994 "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16995 "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16996 "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
16997 "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16998 "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16999 "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
17000 "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
17001 "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
17002 "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
17003 "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
17004 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17005 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
17006 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17007 "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
17008 "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
17009 "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
17010 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17012 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17017 # If the user did not use the arguments to specify the items to instantiate,
17018 # then the envvar interface is used. Set only those that are not.
17019 # We use the long form for the default assignment because of an extremely
17020 # bizarre bug on SunOS 4.1.3.
17021 if $ac_need_defaults; then
17022 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17023 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17024 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17027 # Have a temporary directory for convenience. Make it in the build tree
17028 # simply because there is no reason against having it here, and in addition,
17029 # creating and moving files from /tmp can sometimes cause problems.
17030 # Hook for its removal unless debugging.
17031 # Note that there is a small window in which the directory will not be cleaned:
17032 # after its creation but before its name has been assigned to `$tmp'.
17036 trap 'exit_status=$?
17037 : "${ac_tmp:=$tmp}"
17038 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17040 trap 'as_fn_exit 1' 1 2 13 15
17042 # Create a (secure) tmp directory for tmp files.
17045 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17049 tmp=./conf$$-$RANDOM
17050 (umask 077 && mkdir "$tmp")
17051 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17054 # Set up the scripts for CONFIG_FILES section.
17055 # No need to generate them if there are no CONFIG_FILES.
17056 # This happens for instance with `./config.status config.h'.
17057 if test -n "$CONFIG_FILES"; then
17060 ac_cr=`echo X | tr X '\015'`
17061 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17062 # But we know of no other shell where ac_cr would be empty at this
17063 # point, so we can use a bashism as a fallback.
17064 if test "x$ac_cr" = x; then
17065 eval ac_cr=\$\'\\r\'
17067 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17068 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17071 ac_cs_awk_cr=$ac_cr
17074 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17079 echo "cat >conf$$subs.awk <<_ACEOF" &&
17080 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17082 } >conf$$subs.sh ||
17083 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17084 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17086 for ac_last_try in false false false false false :; do
17087 . ./conf$$subs.sh ||
17088 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17090 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17091 if test $ac_delim_n = $ac_delim_num; then
17093 elif $ac_last_try; then
17094 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17096 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17099 rm -f conf$$subs.sh
17101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17102 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17106 s/^/S["/; s/!.*/"]=/
17116 s/\(.\{148\}\)..*/\1/
17118 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17123 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17130 s/\(.\{148\}\)..*/\1/
17132 s/["\\]/\\&/g; s/^/"/; s/$/"/
17136 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17141 ' <conf$$subs.awk | sed '
17146 ' >>$CONFIG_STATUS || ac_write_fail=1
17147 rm -f conf$$subs.awk
17148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17150 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17151 for (key in S) S_is_set[key] = 1
17157 nfields = split(line, field, "@")
17159 len = length(field[1])
17160 for (i = 2; i < nfields; i++) {
17162 keylen = length(key)
17163 if (S_is_set[key]) {
17165 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17166 len += length(value) + length(field[++i])
17177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17178 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17179 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17182 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17183 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17186 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17187 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17188 # trailing colons and then remove the whole line if VPATH becomes empty
17189 # (actually we leave an empty line to preserve line numbers).
17190 if test "x$srcdir" = x.; then
17191 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17210 fi # test -n "$CONFIG_FILES"
17212 # Set up the scripts for CONFIG_HEADERS section.
17213 # No need to generate them if there are no CONFIG_HEADERS.
17214 # This happens for instance with `./config.status Makefile'.
17215 if test -n "$CONFIG_HEADERS"; then
17216 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17220 # Transform confdefs.h into an awk script `defines.awk', embedded as
17221 # here-document in config.status, that substitutes the proper values into
17222 # config.h.in to produce config.h.
17224 # Create a delimiter string that does not exist in confdefs.h, to ease
17225 # handling of long lines.
17227 for ac_last_try in false false :; do
17228 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17229 if test -z "$ac_tt"; then
17231 elif $ac_last_try; then
17232 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17234 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17238 # For the awk script, D is an array of macro values keyed by name,
17239 # likewise P contains macro parameters if any. Preserve backslash
17240 # newline sequences.
17242 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17244 s/.\{148\}/&'"$ac_delim"'/g
17247 s/^[ ]*#[ ]*define[ ][ ]*/ /
17254 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17256 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17260 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17261 D["\1"]=" \3\\\\\\n"\\/p
17263 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17268 s/.\{148\}/&'"$ac_delim"'/g
17273 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17276 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17278 ' <confdefs.h | sed '
17279 s/'"$ac_delim"'/"\\\
17280 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17283 for (key in D) D_is_set[key] = 1
17286 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17288 split(line, arg, " ")
17289 if (arg[1] == "#") {
17293 defundef = substr(arg[1], 2)
17296 split(mac1, mac2, "(") #)
17298 prefix = substr(line, 1, index(line, defundef) - 1)
17299 if (D_is_set[macro]) {
17300 # Preserve the white space surrounding the "#".
17301 print prefix "define", macro P[macro] D[macro]
17304 # Replace #undef with comments. This is necessary, for example,
17305 # in the case of _POSIX_SOURCE, which is predefined and required
17306 # on some systems where configure will not decide to define it.
17307 if (defundef == "undef") {
17308 print "/*", prefix defundef, macro, "*/"
17316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17317 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17318 fi # test -n "$CONFIG_HEADERS"
17321 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17326 :[FHLC]) ac_mode=$ac_tag; continue;;
17328 case $ac_mode$ac_tag in
17330 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17331 :[FH]-) ac_tag=-:-;;
17332 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17349 -) ac_f="$ac_tmp/stdin";;
17350 *) # Look for the file first in the build tree, then in the source tree
17351 # (if the path is not absolute). The absolute path cannot be DOS-style,
17352 # because $ac_f cannot contain `:'.
17356 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17358 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17360 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17361 as_fn_append ac_file_inputs " '$ac_f'"
17364 # Let's still pretend it is `configure' which instantiates (i.e., don't
17365 # use $as_me), people would be surprised to read:
17366 # /* config.h. Generated by config.status. */
17367 configure_input='Generated from '`
17368 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17370 if test x"$ac_file" != x-; then
17371 configure_input="$ac_file. $configure_input"
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17373 $as_echo "$as_me: creating $ac_file" >&6;}
17375 # Neutralize special characters interpreted by sed in replacement strings.
17376 case $configure_input in #(
17377 *\&* | *\|* | *\\* )
17378 ac_sed_conf_input=`$as_echo "$configure_input" |
17379 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17380 *) ac_sed_conf_input=$configure_input;;
17384 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17385 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17390 ac_dir=`$as_dirname -- "$ac_file" ||
17391 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17392 X"$ac_file" : 'X\(//\)[^/]' \| \
17393 X"$ac_file" : 'X\(//\)$' \| \
17394 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17395 $as_echo X"$ac_file" |
17396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17400 /^X\(\/\/\)[^/].*/{
17413 as_dir="$ac_dir"; as_fn_mkdir_p
17417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17419 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17420 # A ".." for each directory in $ac_dir_suffix.
17421 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17422 case $ac_top_builddir_sub in
17423 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17424 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17427 ac_abs_top_builddir=$ac_pwd
17428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17429 # for backward compatibility:
17430 ac_top_builddir=$ac_top_build_prefix
17433 .) # We are building in place.
17435 ac_top_srcdir=$ac_top_builddir_sub
17436 ac_abs_top_srcdir=$ac_pwd ;;
17437 [\\/]* | ?:[\\/]* ) # Absolute name.
17438 ac_srcdir=$srcdir$ac_dir_suffix;
17439 ac_top_srcdir=$srcdir
17440 ac_abs_top_srcdir=$srcdir ;;
17441 *) # Relative name.
17442 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17443 ac_top_srcdir=$ac_top_build_prefix$srcdir
17444 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17456 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17457 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17459 ac_MKDIR_P=$MKDIR_P
17461 [\\/$]* | ?:[\\/]* ) ;;
17462 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17467 # If the template does not know about datarootdir, expand it.
17468 # FIXME: This hack should be removed a few years after 2.60.
17469 ac_datarootdir_hack=; ac_datarootdir_seen=
17480 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17481 *datarootdir*) ac_datarootdir_seen=yes;;
17482 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17484 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17487 ac_datarootdir_hack='
17488 s&@datadir@&$datadir&g
17489 s&@docdir@&$docdir&g
17490 s&@infodir@&$infodir&g
17491 s&@localedir@&$localedir&g
17492 s&@mandir@&$mandir&g
17493 s&\\\${datarootdir}&$datarootdir&g' ;;
17497 # Neutralize VPATH when `$srcdir' = `.'.
17498 # Shell code in configure.ac might set extrasub.
17499 # FIXME: do we really want to maintain this feature?
17500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17501 ac_sed_extra="$ac_vpsub
17504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17507 s|@configure_input@|$ac_sed_conf_input|;t t
17508 s&@top_builddir@&$ac_top_builddir_sub&;t t
17509 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17510 s&@srcdir@&$ac_srcdir&;t t
17511 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17512 s&@top_srcdir@&$ac_top_srcdir&;t t
17513 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17514 s&@builddir@&$ac_builddir&;t t
17515 s&@abs_builddir@&$ac_abs_builddir&;t t
17516 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17517 s&@INSTALL@&$ac_INSTALL&;t t
17518 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17519 $ac_datarootdir_hack
17521 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17522 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17524 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17525 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17526 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17527 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17529 which seems to be undefined. Please make sure it is defined" >&5
17530 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17531 which seems to be undefined. Please make sure it is defined" >&2;}
17533 rm -f "$ac_tmp/stdin"
17535 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17536 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17538 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17544 if test x"$ac_file" != x-; then
17546 $as_echo "/* $configure_input */" \
17547 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17548 } >"$ac_tmp/config.h" \
17549 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17550 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17552 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17555 mv "$ac_tmp/config.h" "$ac_file" \
17556 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17559 $as_echo "/* $configure_input */" \
17560 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17561 || as_fn_error $? "could not create -" "$LINENO" 5
17563 # Compute "$ac_file"'s index in $config_headers.
17566 for _am_header in $config_headers :; do
17567 case $_am_header in
17568 $_am_arg | $_am_arg:* )
17571 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17574 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17575 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17576 X"$_am_arg" : 'X\(//\)[^/]' \| \
17577 X"$_am_arg" : 'X\(//\)$' \| \
17578 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17579 $as_echo X"$_am_arg" |
17580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17584 /^X\(\/\/\)[^/].*/{
17596 s/.*/./; q'`/stamp-h$_am_stamp_count
17599 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17600 $as_echo "$as_me: executing $ac_file commands" >&6;}
17605 case $ac_file$ac_mode in
17606 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17607 # Older Autoconf quotes --file arguments for eval, but not when files
17608 # are listed without --file. Let's play safe and only enable the eval
17609 # if we detect the quoting.
17610 case $CONFIG_FILES in
17611 *\'*) eval set x "$CONFIG_FILES" ;;
17612 *) set x $CONFIG_FILES ;;
17617 # Strip MF so we end up with the name of the file.
17618 mf=`echo "$mf" | sed -e 's/:.*$//'`
17619 # Check whether this is an Automake generated Makefile or not.
17620 # We used to match only the files named 'Makefile.in', but
17621 # some people rename them; so instead we look at the file content.
17622 # Grep'ing the first line is not enough: some people post-process
17623 # each Makefile.in and add a new line on top of each file to say so.
17624 # Grep'ing the whole file is not good either: AIX grep has a line
17625 # limit of 2048, but all sed's we know have understand at least 4000.
17626 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17627 dirpart=`$as_dirname -- "$mf" ||
17628 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17629 X"$mf" : 'X\(//\)[^/]' \| \
17630 X"$mf" : 'X\(//\)$' \| \
17631 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17637 /^X\(\/\/\)[^/].*/{
17653 # Extract the definition of DEPDIR, am__include, and am__quote
17654 # from the Makefile without running 'make'.
17655 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17656 test -z "$DEPDIR" && continue
17657 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17658 test -z "$am__include" && continue
17659 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17660 # Find all dependency output files, they are included files with
17661 # $(DEPDIR) in their names. We invoke sed twice because it is the
17662 # simplest approach to changing $(DEPDIR) to its actual value in the
17664 for file in `sed -n "
17665 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17666 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17667 # Make sure the directory exists.
17668 test -f "$dirpart/$file" && continue
17669 fdir=`$as_dirname -- "$file" ||
17670 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17671 X"$file" : 'X\(//\)[^/]' \| \
17672 X"$file" : 'X\(//\)$' \| \
17673 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17674 $as_echo X"$file" |
17675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17679 /^X\(\/\/\)[^/].*/{
17692 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17693 # echo "creating $dirpart/$file"
17694 echo '# dummy' > "$dirpart/$file"
17701 # See if we are running on zsh, and set the options which allow our
17702 # commands through without removal of \ escapes.
17703 if test -n "${ZSH_VERSION+set}" ; then
17704 setopt NO_GLOB_SUBST
17707 cfgfile="${ofile}T"
17708 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17711 cat <<_LT_EOF >> "$cfgfile"
17714 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17715 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17716 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17717 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17719 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17720 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17722 # Written by Gordon Matzigkeit, 1996
17724 # This file is part of GNU Libtool.
17726 # GNU Libtool is free software; you can redistribute it and/or
17727 # modify it under the terms of the GNU General Public License as
17728 # published by the Free Software Foundation; either version 2 of
17729 # the License, or (at your option) any later version.
17731 # As a special exception to the GNU General Public License,
17732 # if you distribute this file as part of a program or library that
17733 # is built using GNU Libtool, you may include this file under the
17734 # same distribution terms that you use for the rest of that program.
17736 # GNU Libtool is distributed in the hope that it will be useful,
17737 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17738 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17739 # GNU General Public License for more details.
17741 # You should have received a copy of the GNU General Public License
17742 # along with GNU Libtool; see the file COPYING. If not, a copy
17743 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17744 # obtained by writing to the Free Software Foundation, Inc.,
17745 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17748 # The names of the tagged configurations supported by this script.
17751 # ### BEGIN LIBTOOL CONFIG
17753 # Which release of libtool.m4 was used?
17754 macro_version=$macro_version
17755 macro_revision=$macro_revision
17757 # Whether or not to build shared libraries.
17758 build_libtool_libs=$enable_shared
17760 # Whether or not to build static libraries.
17761 build_old_libs=$enable_static
17763 # What type of objects to build.
17766 # Whether or not to optimize for fast installation.
17767 fast_install=$enable_fast_install
17769 # Shell to use when invoking shell scripts.
17772 # An echo program that protects backslashes.
17775 # The PATH separator for the build system.
17776 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17779 host_alias=$host_alias
17783 # The build system.
17784 build_alias=$build_alias
17788 # A sed program that does not truncate output.
17791 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17792 Xsed="\$SED -e 1s/^X//"
17794 # A grep program that handles long lines.
17800 # A literal string matcher.
17803 # A BSD- or MS-compatible name lister.
17806 # Whether we need soft or hard links.
17809 # What is the maximum length of a command?
17810 max_cmd_len=$max_cmd_len
17812 # Object file suffix (normally "o").
17815 # Executable file suffix (normally "").
17818 # whether the shell understands "unset".
17821 # turn spaces into newlines.
17824 # turn newlines into spaces.
17827 # convert \$build file names to \$host format.
17828 to_host_file_cmd=$lt_cv_to_host_file_cmd
17830 # convert \$build files to toolchain format.
17831 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17833 # An object symbol dumper.
17834 OBJDUMP=$lt_OBJDUMP
17836 # Method to check whether dependent libraries are shared objects.
17837 deplibs_check_method=$lt_deplibs_check_method
17839 # Command to use when deplibs_check_method = "file_magic".
17840 file_magic_cmd=$lt_file_magic_cmd
17842 # How to find potential files when deplibs_check_method = "file_magic".
17843 file_magic_glob=$lt_file_magic_glob
17845 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17846 want_nocaseglob=$lt_want_nocaseglob
17848 # DLL creation program.
17849 DLLTOOL=$lt_DLLTOOL
17851 # Command to associate shared and link libraries.
17852 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17857 # Flags to create an archive.
17858 AR_FLAGS=$lt_AR_FLAGS
17860 # How to feed a file listing to the archiver.
17861 archiver_list_spec=$lt_archiver_list_spec
17863 # A symbol stripping program.
17866 # Commands used to install an old-style archive.
17868 old_postinstall_cmds=$lt_old_postinstall_cmds
17869 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17871 # Whether to use a lock for old archive extraction.
17872 lock_old_archive_extraction=$lock_old_archive_extraction
17877 # LTCC compiler flags.
17878 LTCFLAGS=$lt_CFLAGS
17880 # Take the output of nm and produce a listing of raw symbols and C names.
17881 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17883 # Transform the output of nm in a proper C declaration.
17884 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17886 # Transform the output of nm in a C name address pair.
17887 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17889 # Transform the output of nm in a C name address pair when lib prefix is needed.
17890 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17892 # Specify filename containing input files for \$NM.
17893 nm_file_list_spec=$lt_nm_file_list_spec
17895 # The root where to search for dependent libraries,and in which our libraries should be installed.
17896 lt_sysroot=$lt_sysroot
17898 # The name of the directory that contains temporary libtool files.
17901 # Used to examine libraries when file_magic_cmd begins with "file".
17902 MAGIC_CMD=$MAGIC_CMD
17904 # Must we lock files when doing compilation?
17905 need_locks=$lt_need_locks
17908 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17910 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17911 DSYMUTIL=$lt_DSYMUTIL
17913 # Tool to change global to local symbols on Mac OS X.
17916 # Tool to manipulate fat objects and archives on Mac OS X.
17919 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17922 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17923 OTOOL64=$lt_OTOOL64
17925 # Old archive suffix (normally "a").
17928 # Shared library suffix (normally ".so").
17929 shrext_cmds=$lt_shrext_cmds
17931 # The commands to extract the exported symbol list from a shared archive.
17932 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17934 # Variables whose values should be saved in libtool wrapper scripts and
17935 # restored at link time.
17936 variables_saved_for_relink=$lt_variables_saved_for_relink
17938 # Do we need the "lib" prefix for modules?
17939 need_lib_prefix=$need_lib_prefix
17941 # Do we need a version for libraries?
17942 need_version=$need_version
17944 # Library versioning type.
17945 version_type=$version_type
17947 # Shared library runtime path variable.
17948 runpath_var=$runpath_var
17950 # Shared library path variable.
17951 shlibpath_var=$shlibpath_var
17953 # Is shlibpath searched before the hard-coded library search path?
17954 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17956 # Format of library name prefix.
17957 libname_spec=$lt_libname_spec
17959 # List of archive names. First name is the real one, the rest are links.
17960 # The last name is the one that the linker finds with -lNAME
17961 library_names_spec=$lt_library_names_spec
17963 # The coded name of the library, if different from the real name.
17964 soname_spec=$lt_soname_spec
17966 # Permission mode override for installation of shared libraries.
17967 install_override_mode=$lt_install_override_mode
17969 # Command to use after installation of a shared archive.
17970 postinstall_cmds=$lt_postinstall_cmds
17972 # Command to use after uninstallation of a shared archive.
17973 postuninstall_cmds=$lt_postuninstall_cmds
17975 # Commands used to finish a libtool library installation in a directory.
17976 finish_cmds=$lt_finish_cmds
17978 # As "finish_cmds", except a single script fragment to be evaled but
17980 finish_eval=$lt_finish_eval
17982 # Whether we should hardcode library paths into libraries.
17983 hardcode_into_libs=$hardcode_into_libs
17985 # Compile-time system search path for libraries.
17986 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17988 # Run-time system search path for libraries.
17989 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17991 # Whether dlopen is supported.
17992 dlopen_support=$enable_dlopen
17994 # Whether dlopen of programs is supported.
17995 dlopen_self=$enable_dlopen_self
17997 # Whether dlopen of statically linked programs is supported.
17998 dlopen_self_static=$enable_dlopen_self_static
18000 # Commands to strip libraries.
18001 old_striplib=$lt_old_striplib
18002 striplib=$lt_striplib
18005 # The linker used to build libraries.
18008 # How to create reloadable object files.
18009 reload_flag=$lt_reload_flag
18010 reload_cmds=$lt_reload_cmds
18012 # Commands used to build an old-style archive.
18013 old_archive_cmds=$lt_old_archive_cmds
18015 # A language specific compiler.
18018 # Is the compiler the GNU compiler?
18021 # Compiler flag to turn off builtin functions.
18022 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18024 # Additional compiler flags for building library objects.
18025 pic_flag=$lt_lt_prog_compiler_pic
18027 # How to pass a linker flag through the compiler.
18028 wl=$lt_lt_prog_compiler_wl
18030 # Compiler flag to prevent dynamic linking.
18031 link_static_flag=$lt_lt_prog_compiler_static
18033 # Does compiler simultaneously support -c and -o options?
18034 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18036 # Whether or not to add -lc for building shared libraries.
18037 build_libtool_need_lc=$archive_cmds_need_lc
18039 # Whether or not to disallow shared libs when runtime libs are static.
18040 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18042 # Compiler flag to allow reflexive dlopens.
18043 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18045 # Compiler flag to generate shared objects directly from archives.
18046 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18048 # Whether the compiler copes with passing no objects directly.
18049 compiler_needs_object=$lt_compiler_needs_object
18051 # Create an old-style archive from a shared archive.
18052 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18054 # Create a temporary old-style archive to link instead of a shared archive.
18055 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18057 # Commands used to build a shared archive.
18058 archive_cmds=$lt_archive_cmds
18059 archive_expsym_cmds=$lt_archive_expsym_cmds
18061 # Commands used to build a loadable module if different from building
18062 # a shared archive.
18063 module_cmds=$lt_module_cmds
18064 module_expsym_cmds=$lt_module_expsym_cmds
18066 # Whether we are building with GNU ld or not.
18067 with_gnu_ld=$lt_with_gnu_ld
18069 # Flag that allows shared libraries with undefined symbols to be built.
18070 allow_undefined_flag=$lt_allow_undefined_flag
18072 # Flag that enforces no undefined symbols.
18073 no_undefined_flag=$lt_no_undefined_flag
18075 # Flag to hardcode \$libdir into a binary during linking.
18076 # This must work even if \$libdir does not exist
18077 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18079 # Whether we need a single "-rpath" flag with a separated argument.
18080 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18082 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18083 # DIR into the resulting binary.
18084 hardcode_direct=$hardcode_direct
18086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18087 # DIR into the resulting binary and the resulting library dependency is
18088 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18089 # library is relocated.
18090 hardcode_direct_absolute=$hardcode_direct_absolute
18092 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18093 # into the resulting binary.
18094 hardcode_minus_L=$hardcode_minus_L
18096 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18097 # into the resulting binary.
18098 hardcode_shlibpath_var=$hardcode_shlibpath_var
18100 # Set to "yes" if building a shared library automatically hardcodes DIR
18101 # into the library and all subsequent libraries and executables linked
18103 hardcode_automatic=$hardcode_automatic
18105 # Set to yes if linker adds runtime paths of dependent libraries
18106 # to runtime path list.
18107 inherit_rpath=$inherit_rpath
18109 # Whether libtool must link a program against all its dependency libraries.
18110 link_all_deplibs=$link_all_deplibs
18112 # Set to "yes" if exported symbols are required.
18113 always_export_symbols=$always_export_symbols
18115 # The commands to list exported symbols.
18116 export_symbols_cmds=$lt_export_symbols_cmds
18118 # Symbols that should not be listed in the preloaded symbols.
18119 exclude_expsyms=$lt_exclude_expsyms
18121 # Symbols that must always be exported.
18122 include_expsyms=$lt_include_expsyms
18124 # Commands necessary for linking programs (against libraries) with templates.
18125 prelink_cmds=$lt_prelink_cmds
18127 # Commands necessary for finishing linking programs.
18128 postlink_cmds=$lt_postlink_cmds
18130 # Specify filename containing input files.
18131 file_list_spec=$lt_file_list_spec
18133 # How to hardcode a shared library path into an executable.
18134 hardcode_action=$hardcode_action
18136 # ### END LIBTOOL CONFIG
18142 cat <<\_LT_EOF >> "$cfgfile"
18143 # AIX sometimes has problems with the GCC collect2 program. For some
18144 # reason, if we set the COLLECT_NAMES environment variable, the problems
18145 # vanish in a puff of smoke.
18146 if test "X${COLLECT_NAMES+set}" != Xset; then
18148 export COLLECT_NAMES
18155 ltmain="$ac_aux_dir/ltmain.sh"
18158 # We use sed instead of cat because bash on DJGPP gets confused if
18159 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18160 # text mode, it properly converts lines to CR/LF. This bash problem
18161 # is reportedly fixed, but why not run on old versions too?
18162 sed '$q' "$ltmain" >> "$cfgfile" \
18163 || (rm -f "$cfgfile"; exit 1)
18165 if test x"$xsi_shell" = xyes; then
18166 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18170 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18171 \ * ) func_dirname_result="${3}" ;;\
18173 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18174 && mv -f "$cfgfile.tmp" "$cfgfile" \
18175 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18176 test 0 -eq $? || _lt_function_replace_fail=:
18179 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18182 \ func_basename_result="${1##*/}"\
18183 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18184 && mv -f "$cfgfile.tmp" "$cfgfile" \
18185 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18186 test 0 -eq $? || _lt_function_replace_fail=:
18189 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18190 func_dirname_and_basename ()\
18193 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18194 \ * ) func_dirname_result="${3}" ;;\
18196 \ func_basename_result="${1##*/}"\
18197 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18198 && mv -f "$cfgfile.tmp" "$cfgfile" \
18199 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18200 test 0 -eq $? || _lt_function_replace_fail=:
18203 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18206 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18207 \ # positional parameters, so assign one to ordinary parameter first.\
18208 \ func_stripname_result=${3}\
18209 \ func_stripname_result=${func_stripname_result#"${1}"}\
18210 \ func_stripname_result=${func_stripname_result%"${2}"}\
18211 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18212 && mv -f "$cfgfile.tmp" "$cfgfile" \
18213 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18214 test 0 -eq $? || _lt_function_replace_fail=:
18217 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18218 func_split_long_opt ()\
18220 \ func_split_long_opt_name=${1%%=*}\
18221 \ func_split_long_opt_arg=${1#*=}\
18222 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18223 && mv -f "$cfgfile.tmp" "$cfgfile" \
18224 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18225 test 0 -eq $? || _lt_function_replace_fail=:
18228 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18229 func_split_short_opt ()\
18231 \ func_split_short_opt_arg=${1#??}\
18232 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18233 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18234 && mv -f "$cfgfile.tmp" "$cfgfile" \
18235 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18236 test 0 -eq $? || _lt_function_replace_fail=:
18239 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18243 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18244 \ *) func_lo2o_result=${1} ;;\
18246 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18247 && mv -f "$cfgfile.tmp" "$cfgfile" \
18248 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18249 test 0 -eq $? || _lt_function_replace_fail=:
18252 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18255 func_xform_result=${1%.*}.lo\
18256 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18257 && mv -f "$cfgfile.tmp" "$cfgfile" \
18258 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18259 test 0 -eq $? || _lt_function_replace_fail=:
18262 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18265 func_arith_result=$(( $* ))\
18266 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18267 && mv -f "$cfgfile.tmp" "$cfgfile" \
18268 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18269 test 0 -eq $? || _lt_function_replace_fail=:
18272 sed -e '/^func_len ()$/,/^} # func_len /c\
18275 func_len_result=${#1}\
18276 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18277 && mv -f "$cfgfile.tmp" "$cfgfile" \
18278 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18279 test 0 -eq $? || _lt_function_replace_fail=:
18283 if test x"$lt_shell_append" = xyes; then
18284 sed -e '/^func_append ()$/,/^} # func_append /c\
18287 eval "${1}+=\\${2}"\
18288 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18289 && mv -f "$cfgfile.tmp" "$cfgfile" \
18290 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18291 test 0 -eq $? || _lt_function_replace_fail=:
18294 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18295 func_append_quoted ()\
18297 \ func_quote_for_eval "${2}"\
18298 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18299 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18300 && mv -f "$cfgfile.tmp" "$cfgfile" \
18301 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18302 test 0 -eq $? || _lt_function_replace_fail=:
18305 # Save a `func_append' function call where possible by direct use of '+='
18306 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18307 && mv -f "$cfgfile.tmp" "$cfgfile" \
18308 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18309 test 0 -eq $? || _lt_function_replace_fail=:
18311 # Save a `func_append' function call even when '+=' is not available
18312 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18313 && mv -f "$cfgfile.tmp" "$cfgfile" \
18314 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18315 test 0 -eq $? || _lt_function_replace_fail=:
18318 if test x"$_lt_function_replace_fail" = x":"; then
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18320 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18324 mv -f "$cfgfile" "$ofile" ||
18325 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18329 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18330 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18333 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18334 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18336 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18341 '"s|^| $ac_top_srcdir/|" \
18342 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18344 sed '/^POTFILES =/,/[^\\]$/ {
18348 ' "po/Makefile.in" >"po/Makefile"
18349 rm -f "po/Makefile.tmp"
18350 mv "po/stamp-it.tmp" "po/stamp-it"
18359 ac_clean_files=$ac_clean_files_save
18361 test $ac_write_fail = 0 ||
18362 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18365 # configure is writing to config.log, and then calls config.status.
18366 # config.status does its own redirection, appending to config.log.
18367 # Unfortunately, on DOS this fails, as config.log is still kept open
18368 # by configure, so config.status won't be able to write to it; its
18369 # output is simply discarded. So we exec the FD to /dev/null,
18370 # effectively closing config.log, so it can be properly (re)opened and
18371 # appended to by config.status. When coming back to configure, we
18372 # need to make the FD available again.
18373 if test "$no_create" != yes; then
18375 ac_config_status_args=
18376 test "$silent" = yes &&
18377 ac_config_status_args="$ac_config_status_args --quiet"
18379 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18381 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18382 # would make configure fail if this is the last instruction.
18383 $ac_cs_success || as_fn_exit 1
18385 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18387 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18396 Package ................. ${PACKAGE}-${VERSION}
18397 Installation prefix ..... ${prefix}
18398 Source code location .... ${srcdir}
18399 Compiler ................ ${CC}
18402 Optional data merge backends:
18404 Evolution Data Server ... ${have_libebook}
18407 Optional barcode backends:
18409 GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
18410 QR Code ................. ${have_libqrencode} ${help_libqrencode}
18411 IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
18412 Zint .................... ${have_libzint} ${help_libzint}