2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for gtkgraph 0.1.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL
=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec
; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo
; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo
; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset
; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
593 for dir
in $PATH /usr
/ucb
; do
595 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho
; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL
=/bin
/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
634 SHELL
="$CONFIG_SHELL"
636 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string
=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix
=/usr
/local
691 ac_config_libobj_dir
=.
698 # Identity of this package.
699 PACKAGE_NAME
='gtkgraph'
700 PACKAGE_TARNAME
='gtkgraph'
701 PACKAGE_VERSION
='0.1'
702 PACKAGE_STRING
='gtkgraph 0.1'
706 # Factoring default headers for most tests.
707 ac_includes_default
="\
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
719 # ifdef HAVE_STDLIB_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
742 ac_subst_vars
='am__EXEEXT_FALSE
778 INTLTOOL_SERVICE_RULE
780 INTLTOOL_SCHEMAS_RULE
782 INTLTOOL_XML_NOMERGE_RULE
787 INTLTOOL_SOUNDLIST_RULE
794 INTLTOOL_DIRECTORY_RULE
795 INTLTOOL_DESKTOP_RULE
836 MAINTAINER_MODE_FALSE
846 INSTALL_STRIP_PROGRAM
890 program_transform_name
903 enable_option_checking
905 enable_maintainer_mode
906 enable_dependency_tracking
915 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" : '[^=]*=\(.*\)'` ;;
993 # Accept the important Cygnus configure options, so we can diagnose typos.
995 case $ac_dashdash$ac_option in
999 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1001 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1002 bindir
=$ac_optarg ;;
1004 -build |
--build |
--buil |
--bui |
--bu)
1005 ac_prev
=build_alias
;;
1006 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1007 build_alias
=$ac_optarg ;;
1009 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1010 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1011 ac_prev
=cache_file
;;
1012 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1013 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1014 cache_file
=$ac_optarg ;;
1016 --config-cache |
-C)
1017 cache_file
=config.cache
;;
1019 -datadir |
--datadir |
--datadi |
--datad)
1021 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1022 datadir
=$ac_optarg ;;
1024 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1025 |
--dataroo |
--dataro |
--datar)
1026 ac_prev
=datarootdir
;;
1027 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1028 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1029 datarootdir
=$ac_optarg ;;
1031 -disable-* |
--disable-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error
"invalid feature name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_
$ac_useropt"
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval enable_
$ac_useropt=no
;;
1047 -docdir |
--docdir |
--docdi |
--doc |
--do)
1049 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1050 docdir
=$ac_optarg ;;
1052 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1054 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1055 dvidir
=$ac_optarg ;;
1057 -enable-* |
--enable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 as_fn_error
"invalid feature name: $ac_useropt"
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_
$ac_useropt"
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval enable_
$ac_useropt=\
$ac_optarg ;;
1073 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1074 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1075 |
--exec |
--exe |
--ex)
1076 ac_prev
=exec_prefix
;;
1077 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1078 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1079 |
--exec=* |
--exe=* |
--ex=*)
1080 exec_prefix
=$ac_optarg ;;
1082 -gas |
--gas |
--ga |
--g)
1083 # Obsolete; use --with-gas.
1086 -help |
--help |
--hel |
--he |
-h)
1087 ac_init_help
=long
;;
1088 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1089 ac_init_help
=recursive
;;
1090 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1091 ac_init_help
=short
;;
1093 -host |
--host |
--hos |
--ho)
1094 ac_prev
=host_alias
;;
1095 -host=* |
--host=* |
--hos=* |
--ho=*)
1096 host_alias
=$ac_optarg ;;
1098 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1100 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1102 htmldir
=$ac_optarg ;;
1104 -includedir |
--includedir |
--includedi |
--included |
--include \
1105 |
--includ |
--inclu |
--incl |
--inc)
1106 ac_prev
=includedir
;;
1107 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1108 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1109 includedir
=$ac_optarg ;;
1111 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1113 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1114 infodir
=$ac_optarg ;;
1116 -libdir |
--libdir |
--libdi |
--libd)
1118 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1119 libdir
=$ac_optarg ;;
1121 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1122 |
--libexe |
--libex |
--libe)
1123 ac_prev
=libexecdir
;;
1124 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1125 |
--libexe=* |
--libex=* |
--libe=*)
1126 libexecdir
=$ac_optarg ;;
1128 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1129 ac_prev
=localedir
;;
1130 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1131 localedir
=$ac_optarg ;;
1133 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1134 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1135 ac_prev
=localstatedir
;;
1136 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1137 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1138 localstatedir
=$ac_optarg ;;
1140 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1142 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1143 mandir
=$ac_optarg ;;
1145 -nfp |
--nfp |
--nf)
1146 # Obsolete; use --without-fp.
1149 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1150 |
--no-cr |
--no-c |
-n)
1153 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1154 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1157 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1158 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1159 |
--oldin |
--oldi |
--old |
--ol |
--o)
1160 ac_prev
=oldincludedir
;;
1161 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1162 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1163 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1164 oldincludedir
=$ac_optarg ;;
1166 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1168 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1169 prefix
=$ac_optarg ;;
1171 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1172 |
--program-pre |
--program-pr |
--program-p)
1173 ac_prev
=program_prefix
;;
1174 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1175 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1176 program_prefix
=$ac_optarg ;;
1178 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1179 |
--program-suf |
--program-su |
--program-s)
1180 ac_prev
=program_suffix
;;
1181 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1182 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1183 program_suffix
=$ac_optarg ;;
1185 -program-transform-name |
--program-transform-name \
1186 |
--program-transform-nam |
--program-transform-na \
1187 |
--program-transform-n |
--program-transform- \
1188 |
--program-transform |
--program-transfor \
1189 |
--program-transfo |
--program-transf \
1190 |
--program-trans |
--program-tran \
1191 |
--progr-tra |
--program-tr |
--program-t)
1192 ac_prev
=program_transform_name
;;
1193 -program-transform-name=* |
--program-transform-name=* \
1194 |
--program-transform-nam=* |
--program-transform-na=* \
1195 |
--program-transform-n=* |
--program-transform-=* \
1196 |
--program-transform=* |
--program-transfor=* \
1197 |
--program-transfo=* |
--program-transf=* \
1198 |
--program-trans=* |
--program-tran=* \
1199 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1200 program_transform_name
=$ac_optarg ;;
1202 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1204 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1205 pdfdir
=$ac_optarg ;;
1207 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1209 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1212 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1213 |
-silent |
--silent |
--silen |
--sile |
--sil)
1216 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1218 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1220 sbindir
=$ac_optarg ;;
1222 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1223 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1224 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1226 ac_prev
=sharedstatedir
;;
1227 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1228 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1229 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1231 sharedstatedir
=$ac_optarg ;;
1233 -site |
--site |
--sit)
1235 -site=* |
--site=* |
--sit=*)
1238 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1240 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1241 srcdir
=$ac_optarg ;;
1243 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1244 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1245 ac_prev
=sysconfdir
;;
1246 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1247 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1248 sysconfdir
=$ac_optarg ;;
1250 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1251 ac_prev
=target_alias
;;
1252 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1253 target_alias
=$ac_optarg ;;
1255 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1258 -version |
--version |
--versio |
--versi |
--vers |
-V)
1259 ac_init_version
=: ;;
1262 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1265 as_fn_error
"invalid package name: $ac_useropt"
1266 ac_useropt_orig
=$ac_useropt
1267 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1272 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1273 ac_unrecognized_sep
=', ';;
1275 eval with_
$ac_useropt=\
$ac_optarg ;;
1277 -without-* |
--without-*)
1278 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279 # Reject names that are not valid shell variable names.
1280 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1281 as_fn_error
"invalid package name: $ac_useropt"
1282 ac_useropt_orig
=$ac_useropt
1283 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284 case $ac_user_opts in
1288 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1289 ac_unrecognized_sep
=', ';;
1291 eval with_
$ac_useropt=no
;;
1294 # Obsolete; use --with-x.
1297 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1298 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1299 ac_prev
=x_includes
;;
1300 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1301 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1302 x_includes
=$ac_optarg ;;
1304 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1305 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1306 ac_prev
=x_libraries
;;
1307 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1308 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1309 x_libraries
=$ac_optarg ;;
1311 -*) as_fn_error
"unrecognized option: \`$ac_option'
1312 Try \`$0 --help' for more information."
1316 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1317 # Reject names that are not valid shell variable names.
1318 case $ac_envvar in #(
1319 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1320 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1322 eval $ac_envvar=\
$ac_optarg
1323 export $ac_envvar ;;
1326 # FIXME: should be removed in autoconf 3.0.
1327 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1329 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1336 if test -n "$ac_prev"; then
1337 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1338 as_fn_error
"missing argument to $ac_option"
1341 if test -n "$ac_unrecognized_opts"; then
1342 case $enable_option_checking in
1344 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1345 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1349 # Check all directory arguments for consistency.
1350 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351 datadir sysconfdir sharedstatedir localstatedir includedir \
1352 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353 libdir localedir mandir
1355 eval ac_val
=\$
$ac_var
1356 # Remove trailing slashes.
1359 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360 eval $ac_var=\
$ac_val;;
1362 # Be sure to have absolute directory names.
1364 [\\/$
]* | ?
:[\\/]* ) continue;;
1365 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1367 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target
=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x
; then
1379 if test "x$build_alias" = x
; then
1380 cross_compiling
=maybe
1381 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1382 If a cross compiler is detected then cross compile mode will be used." >&2
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1391 test "$silent" = yes && exec 6>/dev
/null
1394 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di
=`ls -di .` &&
1396 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1397 as_fn_error
"working directory cannot be determined"
1398 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399 as_fn_error
"pwd does not report name of working directory"
1402 # Find the source files, if location was not specified.
1403 if test -z "$srcdir"; then
1404 ac_srcdir_defaulted
=yes
1405 # Try the directory containing this script, then the parent directory.
1406 ac_confdir
=`$as_dirname -- "$as_myself" ||
1407 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408 X"$as_myself" : 'X\(//\)[^/]' \| \
1409 X"$as_myself" : 'X\(//\)$' \| \
1410 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411 $as_echo X"$as_myself" |
1412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1434 ac_srcdir_defaulted
=no
1436 if test ! -r "$srcdir/$ac_unique_file"; then
1437 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1438 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1440 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1442 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1444 # When building in place, set srcdir=.
1445 if test "$ac_abs_confdir" = "$ac_pwd"; then
1448 # Remove unnecessary trailing slashes from srcdir.
1449 # Double slashes in file names in object file debugging info
1450 # mess up M-x gdb in Emacs.
1452 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454 for ac_var
in $ac_precious_vars; do
1455 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1456 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1457 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1458 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1462 # Report the --help message.
1464 if test "$ac_init_help" = "long"; then
1465 # Omit some internal or obsolete options to make the list less imposing.
1466 # This message is too long to be a string in the A/UX 3.1 sh.
1468 \`configure' configures gtkgraph 0.1 to adapt to many kinds of systems.
1470 Usage: $0 [OPTION]... [VAR=VALUE]...
1472 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473 VAR=VALUE. See below for descriptions of some of the useful variables.
1475 Defaults for the options are specified in brackets.
1478 -h, --help display this help and exit
1479 --help=short display options specific to this package
1480 --help=recursive display the short help of all the included packages
1481 -V, --version display version information and exit
1482 -q, --quiet, --silent do not print \`checking...' messages
1483 --cache-file=FILE cache test results in FILE [disabled]
1484 -C, --config-cache alias for \`--cache-file=config.cache'
1485 -n, --no-create do not create output files
1486 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1488 Installation directories:
1489 --prefix=PREFIX install architecture-independent files in PREFIX
1490 [$ac_default_prefix]
1491 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1494 By default, \`make install' will install all the files in
1495 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1496 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497 for instance \`--prefix=\$HOME'.
1499 For better control, use the options below.
1501 Fine tuning of the installation directories:
1502 --bindir=DIR user executables [EPREFIX/bin]
1503 --sbindir=DIR system admin executables [EPREFIX/sbin]
1504 --libexecdir=DIR program executables [EPREFIX/libexec]
1505 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1506 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1507 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1508 --libdir=DIR object code libraries [EPREFIX/lib]
1509 --includedir=DIR C header files [PREFIX/include]
1510 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1511 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1512 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1513 --infodir=DIR info documentation [DATAROOTDIR/info]
1514 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1515 --mandir=DIR man documentation [DATAROOTDIR/man]
1516 --docdir=DIR documentation root [DATAROOTDIR/doc/gtkgraph]
1517 --htmldir=DIR html documentation [DOCDIR]
1518 --dvidir=DIR dvi documentation [DOCDIR]
1519 --pdfdir=DIR pdf documentation [DOCDIR]
1520 --psdir=DIR ps documentation [DOCDIR]
1526 --program-prefix=PREFIX prepend PREFIX to installed program names
1527 --program-suffix=SUFFIX append SUFFIX to installed program names
1528 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1531 --build=BUILD configure
for building on BUILD
[guessed
]
1532 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1536 if test -n "$ac_init_help"; then
1537 case $ac_init_help in
1538 short | recursive
) echo "Configuration of gtkgraph 0.1:";;
1543 --disable-option-checking ignore unrecognized
--enable/--with options
1544 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1545 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1546 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1547 --disable-silent-rules verbose build output (undo: `make V
=0')
1548 --enable-maintainer-mode enable make rules and dependencies not useful
1549 (and sometimes confusing) to the casual installer
1550 --disable-dependency-tracking speeds up one-time build
1551 --enable-dependency-tracking do not reject slow dependency extractors
1552 --disable-nls do not use Native Language Support
1553 --enable-shared[=PKGS] build shared libraries [default=yes]
1554 --enable-static[=PKGS] build static libraries [default=yes]
1555 --enable-fast-install[=PKGS]
1556 optimize for fast installation [default=yes]
1557 --disable-libtool-lock avoid locking (might break parallel builds)
1560 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1561 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1562 --with-pic try to use only PIC/non-PIC objects [default=use
1564 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1566 Some influential environment variables:
1567 CC C compiler command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1570 nonstandard directory <lib dir>
1571 LIBS libraries to pass to the linker, e.g. -l<library>
1572 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1573 you have headers in a nonstandard directory <include dir>
1575 PKG_CONFIG path to pkg-config utility
1577 C compiler flags for GTKGRAPH, overriding pkg-config
1579 linker flags for GTKGRAPH, overriding pkg-config
1581 Use these variables to override the choices made by `configure' or to
help
1582 it to
find libraries and programs with nonstandard names
/locations.
1584 Report bugs to the package provider.
1589 if test "$ac_init_help" = "recursive"; then
1590 # If there are subdirs, report their specific --help.
1591 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1592 test -d "$ac_dir" ||
1593 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1598 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1600 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1601 # A ".." for each directory in $ac_dir_suffix.
1602 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1603 case $ac_top_builddir_sub in
1604 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1605 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1608 ac_abs_top_builddir
=$ac_pwd
1609 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1610 # for backward compatibility:
1611 ac_top_builddir
=$ac_top_build_prefix
1614 .
) # We are building in place.
1616 ac_top_srcdir
=$ac_top_builddir_sub
1617 ac_abs_top_srcdir
=$ac_pwd ;;
1618 [\\/]* | ?
:[\\/]* ) # Absolute name.
1619 ac_srcdir
=$srcdir$ac_dir_suffix;
1620 ac_top_srcdir
=$srcdir
1621 ac_abs_top_srcdir
=$srcdir ;;
1623 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1624 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1625 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1627 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1629 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1630 # Check for guested configure.
1631 if test -f "$ac_srcdir/configure.gnu"; then
1633 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1634 elif test -f "$ac_srcdir/configure"; then
1636 $SHELL "$ac_srcdir/configure" --help=recursive
1638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1640 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1644 test -n "$ac_init_help" && exit $ac_status
1645 if $ac_init_version; then
1647 gtkgraph configure
0.1
1648 generated by GNU Autoconf
2.65
1650 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1651 This configure
script is free software
; the Free Software Foundation
1652 gives unlimited permission to copy
, distribute and modify it.
1657 ## ------------------------ ##
1658 ## Autoconf initialization. ##
1659 ## ------------------------ ##
1661 # ac_fn_c_try_compile LINENO
1662 # --------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_compile
()
1666 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1667 rm -f conftest.
$ac_objext
1668 if { { ac_try
="$ac_compile"
1670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_compile") 2>conftest.err
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1679 cat conftest.er1 >&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.$ac_objext; then :
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 as_fn_set_status $ac_retval
1697 } # ac_fn_c_try_compile
1699 # ac_fn_c_try_link LINENO
1700 # -----------------------
1701 # Try to link conftest.$ac_ext, and return whether this succeeded.
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 rm -f conftest.$ac_objext conftest$ac_exeext
1706 if { { ac_try="$ac_link"
1708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1709 *) ac_try_echo
=$ac_try;;
1711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_link") 2>conftest.err
1715 if test -s conftest.err
; then
1716 grep -v '^ *+' conftest.err
>conftest.er1
1717 cat conftest.er1
>&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_c_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest
$ac_exeext && {
1725 test "$cross_compiling" = yes ||
1726 $as_test_x conftest
$ac_exeext
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.
$ac_ext >&5
1735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1737 # interfere with the next link command; also delete a directory that is
1738 # left behind by Apple's compiler. We do this before executing the actions.
1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1741 as_fn_set_status
$ac_retval
1743 } # ac_fn_c_try_link
1745 # ac_fn_c_try_cpp LINENO
1746 # ----------------------
1747 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1750 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1751 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1760 if test -s conftest.err; then
1761 grep -v '^ *+' conftest.err >conftest.er1
1762 cat conftest.er1 >&5
1763 mv -f conftest.er1 conftest.err
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } >/dev/null && {
1767 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1768 test ! -s conftest.err
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.$ac_ext >&5
1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1778 as_fn_set_status $ac_retval
1782 # ac_fn_c_try_run LINENO
1783 # ----------------------
1784 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1785 # that executables *can* be run.
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 if { { ac_try="$ac_link"
1791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1792 *) ac_try_echo
=$ac_try;;
1794 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_link") 2>&5
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1800 { { case "(($ac_try" in
1801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1802 *) ac_try_echo=$ac_try;;
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_try") 2>&5
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; }; }; then :
1812 $as_echo "$as_me: program exited with status $ac_status" >&5
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1816 ac_retval=$ac_status
1818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820 as_fn_set_status $ac_retval
1824 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1825 # -------------------------------------------------------
1826 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1827 # the include files in INCLUDES and setting the cache variable VAR
1829 ac_fn_c_check_header_mongrel ()
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836 $as_echo_n "(cached) " >&6
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1842 # Is the header compilable?
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1844 $as_echo_n "checking $2 usability... " >&6; }
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851 ac_header_compiler=yes
1853 ac_header_compiler=no
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1857 $as_echo "$ac_header_compiler" >&6; }
1859 # Is the header present?
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1861 $as_echo_n "checking $2 presence... " >&6; }
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1866 if ac_fn_c_try_cpp "$LINENO"; then :
1867 ac_header_preproc=yes
1869 ac_header_preproc=no
1871 rm -f conftest.err conftest.$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1873 $as_echo "$ac_header_preproc" >&6; }
1875 # So? What about this header?
1876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1879 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1881 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1885 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1887 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1889 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1891 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1893 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1897 $as_echo_n "checking for $2... " >&6; }
1898 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1899 $as_echo_n "(cached) " >&6
1901 eval "$3=\$ac_header_compiler"
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1909 } # ac_fn_c_check_header_mongrel
1911 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1912 # -------------------------------------------------------
1913 # Tests whether HEADER exists and can be compiled using the include files in
1914 # INCLUDES, setting the cache variable VAR accordingly.
1915 ac_fn_c_check_header_compile ()
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919 $as_echo_n "checking for $2... " >&6; }
1920 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1921 $as_echo_n "(cached) " >&6
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1928 if ac_fn_c_try_compile "$LINENO"; then :
1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 } # ac_fn_c_check_header_compile
1942 # ac_fn_c_check_func LINENO FUNC VAR
1943 # ----------------------------------
1944 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1945 ac_fn_c_check_func ()
1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949 $as_echo_n "checking for $2... " >&6; }
1950 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1951 $as_echo_n "(cached) " >&6
1953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1954 /* end confdefs.h. */
1955 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1957 #define $2 innocuous_$2
1959 /* System header to define __stub macros and hopefully few prototypes,
1960 which can conflict with char $2 (); below.
1961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1962 <limits.h> exists even on freestanding compilers. */
1965 # include <limits.h>
1967 # include <assert.h>
1972 /* Override any GCC internal prototype to avoid an error.
1973 Use char because int might match the return type of a GCC
1974 builtin and then its argument prototype would still apply. */
1979 /* The GNU C library defines this for functions which it implements
1980 to always fail with ENOSYS. Some functions are actually named
1981 something starting with __ and the normal name is an alias. */
1982 #if defined __stub_$2 || defined __stub___$2
1994 if ac_fn_c_try_link "$LINENO"; then :
1999 rm -f core conftest.err conftest.$ac_objext \
2000 conftest$ac_exeext conftest.$ac_ext
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2005 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2007 } # ac_fn_c_check_func
2008 cat >config.log <<_ACEOF
2009 This file contains any messages produced by compilers while
2010 running configure, to aid debugging if configure makes a mistake.
2012 It was created by gtkgraph $as_me 0.1, which was
2013 generated by GNU Autoconf 2.65. Invocation command line was
2025 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2026 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2027 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2028 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2029 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2031 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2032 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2034 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2035 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2036 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2037 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2038 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2039 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2040 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir=.
2049 $as_echo "PATH: $as_dir"
2065 # Keep a trace of the command line.
2066 # Strip out --no-create and --no-recursion so they do not pile up.
2067 # Strip out --silent because we don't want to record it for future runs.
2068 # Also quote any args containing shell meta-characters.
2069 # Make two passes to allow for proper duplicate-argument suppression.
2073 ac_must_keep_next=false
2079 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2081 | -silent | --silent | --silen | --sile | --sil)
2084 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2087 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2089 as_fn_append ac_configure_args1 " '$ac_arg'"
2090 if test $ac_must_keep_next = true; then
2091 ac_must_keep_next=false # Got value, back to normal.
2094 *=* | --config-cache | -C | -disable-* | --disable-* \
2095 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2096 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2097 | -with-* | --with-* | -without-* | --without-* | --x)
2098 case "$ac_configure_args0 " in
2099 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2102 -* ) ac_must_keep_next=true ;;
2105 as_fn_append ac_configure_args " '$ac_arg'"
2110 { ac_configure_args0=; unset ac_configure_args0;}
2111 { ac_configure_args1=; unset ac_configure_args1;}
2113 # When interrupted or exit'd, cleanup temporary files, and complete
2114 # config.log. We remove comments because anyway the quotes in there
2115 # would cause problems or look ugly.
2116 # WARNING: Use '\'' to represent an apostrophe within the trap.
2117 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2118 trap 'exit_status=$?
2119 # Save into config.log some information that might help in debugging.
2124 ## ---------------- ##
2125 ## Cache variables. ##
2126 ## ---------------- ##
2129 # The following way of writing the cache mishandles newlines in values,
2131 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2132 eval ac_val=\$$ac_var
2136 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2137 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2140 _ | IFS | as_nl) ;; #(
2141 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2142 *) { eval $ac_var=; unset $ac_var;} ;;
2147 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2148 *${as_nl}ac_space=\ *)
2150 "s/'\''/'\''\\\\'\'''\''/g;
2151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2154 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2162 ## ----------------- ##
2163 ## Output variables. ##
2164 ## ----------------- ##
2167 for ac_var in $ac_subst_vars
2169 eval ac_val=\$$ac_var
2171 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 $as_echo "$ac_var='\''$ac_val'\''"
2177 if test -n "$ac_subst_files"; then
2179 ## ------------------- ##
2180 ## File substitutions. ##
2181 ## ------------------- ##
2184 for ac_var in $ac_subst_files
2186 eval ac_val=\$$ac_var
2188 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 $as_echo "$ac_var='\''$ac_val'\''"
2195 if test -s confdefs.h; then
2205 test "$ac_signal" != 0 &&
2206 $as_echo "$as_me: caught signal $ac_signal"
2207 $as_echo "$as_me: exit $exit_status"
2209 rm -f core *.core core.conftest.* &&
2210 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2213 for ac_signal in 1 2 13 15; do
2214 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2219 rm -f -r conftest* confdefs.h
2221 $as_echo "/* confdefs.h */" > confdefs.h
2223 # Predefined preprocessor variables.
2225 cat >>confdefs.h <<_ACEOF
2226 #define PACKAGE_NAME "$PACKAGE_NAME"
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_STRING "$PACKAGE_STRING"
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_URL "$PACKAGE_URL"
2250 # Let the site file select an alternate cache file if it wants to.
2251 # Prefer an explicitly selected file to automatically selected ones.
2254 if test -n "$CONFIG_SITE"; then
2255 ac_site_file1=$CONFIG_SITE
2256 elif test "x$prefix" != xNONE; then
2257 ac_site_file1=$prefix/share/config.site
2258 ac_site_file2=$prefix/etc/config.site
2260 ac_site_file1=$ac_default_prefix/share/config.site
2261 ac_site_file2=$ac_default_prefix/etc/config.site
2263 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2265 test "x$ac_site_file" = xNONE && continue
2266 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2268 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2269 sed 's/^/| /' "$ac_site_file" >&5
2274 if test -r "$cache_file"; then
2275 # Some versions of bash will fail to source /dev/null (special files
2276 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2277 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2279 $as_echo "$as_me: loading cache $cache_file" >&6;}
2281 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2282 *) . "./$cache_file";;
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2287 $as_echo "$as_me: creating cache $cache_file" >&6;}
2291 # Check that the precious variables saved in the cache have kept the same
2293 ac_cache_corrupted=false
2294 for ac_var in $ac_precious_vars; do
2295 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2296 eval ac_new_set=\$ac_env_${ac_var}_set
2297 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2298 eval ac_new_val=\$ac_env_${ac_var}_value
2299 case $ac_old_set,$ac_new_set in
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2302 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2303 ac_cache_corrupted=: ;;
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2306 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2307 ac_cache_corrupted=: ;;
2310 if test "x$ac_old_val" != "x$ac_new_val"; then
2311 # differences in whitespace do not lead to failure.
2312 ac_old_val_w=`echo x
$ac_old_val`
2313 ac_new_val_w=`echo x
$ac_new_val`
2314 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2316 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2317 ac_cache_corrupted=:
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2320 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2321 eval $ac_var=\$ac_old_val
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2324 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2326 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2329 # Pass precious variables to config.status.
2330 if test "$ac_new_set" = set; then
2332 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2333 *) ac_arg=$ac_var=$ac_new_val ;;
2335 case " $ac_configure_args " in
2336 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2337 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2341 if $ac_cache_corrupted; then
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2345 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2346 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2348 ## -------------------- ##
2349 ## Main body of script. ##
2350 ## -------------------- ##
2353 ac_cpp='$CPP $CPPFLAGS'
2354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2359 # Check whether --enable-silent-rules was given.
2360 if test "${enable_silent_rules+set}" = set; then :
2361 enableval=$enable_silent_rules;
2364 case $enable_silent_rules in
2365 yes) AM_DEFAULT_VERBOSITY=0;;
2366 no) AM_DEFAULT_VERBOSITY=1;;
2367 *) AM_DEFAULT_VERBOSITY=0;;
2372 am__api_version='1.11'
2375 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2376 for ac_t in install-sh install.sh shtool; do
2377 if test -f "$ac_dir/$ac_t"; then
2379 ac_install_sh="$ac_aux_dir/$ac_t -c"
2384 if test -z "$ac_aux_dir"; then
2385 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2388 # These three variables are undocumented and unsupported,
2389 # and are intended to be withdrawn in a future Autoconf release.
2390 # They can cause serious problems if a builder's source tree is in a directory
2391 # whose full name contains unusual characters.
2392 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2393 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2394 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2397 # Find a good install program. We prefer a C program (faster),
2398 # so one script is as good as another. But avoid the broken or
2399 # incompatible versions:
2400 # SysV /etc/install, /usr/sbin/install
2401 # SunOS /usr/etc/install
2402 # IRIX /sbin/install
2404 # AmigaOS /C/install, which installs bootblocks on floppy discs
2405 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2406 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2407 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2408 # OS/2's system install, which has a completely different semantic
2409 # ./install, which can be erroneously created by make from ./install.sh.
2410 # Reject install programs that cannot install multiple files.
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2412 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2413 if test -z "$INSTALL"; then
2414 if test "${ac_cv_path_install+set}" = set; then :
2415 $as_echo_n "(cached) " >&6
2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2421 test -z "$as_dir" && as_dir=.
2422 # Account for people who put trailing slashes in PATH elements.
2423 case $as_dir/ in #((
2424 ./ | .// | /[cC]/* | \
2425 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2426 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2429 # OSF1 and SCO ODT 3.0 have their own names for install.
2430 # Don't use installbsd from OSF since it installs stuff as root
2432 for ac_prog in ginstall scoinst install; do
2433 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2435 if test $ac_prog = install &&
2436 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2437 # AIX install. It has an incompatible calling convention.
2439 elif test $ac_prog = install &&
2440 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2441 # program-specific install script used by HP pwplus--don't use.
2444 rm -rf conftest.one conftest.two conftest.dir
2445 echo one > conftest.one
2446 echo two > conftest.two
2448 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2449 test -s conftest.one && test -s conftest.two &&
2450 test -s conftest.dir/conftest.one &&
2451 test -s conftest.dir/conftest.two
2453 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2466 rm -rf conftest.one conftest.two conftest.dir
2469 if test "${ac_cv_path_install+set}" = set; then
2470 INSTALL=$ac_cv_path_install
2472 # As a last resort, use the slow shell script. Don't cache a
2473 # value for INSTALL within a source directory, because that will
2474 # break other packages using the cache if that directory is
2475 # removed, or if the value is a relative name.
2476 INSTALL=$ac_install_sh
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2480 $as_echo "$INSTALL" >&6; }
2482 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2483 # It thinks the first close brace ends the variable substitution.
2484 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2486 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2488 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2491 $as_echo_n "checking whether build environment is sane... " >&6; }
2494 echo timestamp > conftest.file
2495 # Reject unsafe characters in $srcdir or the absolute working directory
2496 # name. Accept space and tab only in the latter.
2500 *[\\\"\#\$\&\'\`$am_lf]*)
2501 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2504 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2505 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2508 # Do `set' in a subshell so we don't clobber the current shell's
2509 # arguments. Must try -L first in case configure is actually a
2510 # symlink; some systems play weird games with the mod time of symlinks
2511 # (eg FreeBSD returns the mod time of the symlink's containing
2514 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2515 if test "$*" = "X"; then
2517 set X
`ls -t "$srcdir/configure" conftest.file`
2520 if test "$*" != "X $srcdir/configure conftest.file" \
2521 && test "$*" != "X conftest.file $srcdir/configure"; then
2523 # If neither matched, then we have a broken ls. This can happen
2524 # if, for instance, CONFIG_SHELL is bash and it inherits a
2525 # broken ls alias from the environment. This has actually
2526 # happened. Such a system could not be considered "sane".
2527 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2528 alias in your environment" "$LINENO" 5
2531 test "$2" = conftest.
file
2537 as_fn_error
"newly created file is older than distributed files!
2538 Check your system clock" "$LINENO" 5
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2541 $as_echo "yes" >&6; }
2542 test "$program_prefix" != NONE
&&
2543 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2544 # Use a double $ so make ignores it.
2545 test "$program_suffix" != NONE
&&
2546 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2547 # Double any \ or $.
2548 # By default was `s,x,x', remove it if useless.
2549 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2550 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2552 # expand $ac_aux_dir to an absolute path
2553 am_aux_dir
=`cd $ac_aux_dir && pwd`
2555 if test x
"${MISSING+set}" != xset
; then
2558 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2560 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2563 # Use eval to expand $SHELL
2564 if eval "$MISSING --run true"; then
2565 am_missing_run
="$MISSING --run "
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2569 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2572 if test x
"${install_sh}" != xset
; then
2575 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2577 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2581 # Installed binaries are usually stripped using `strip' when the user
2582 # run `make install-strip'. However `strip' might not be the right
2583 # tool to use in cross-compilation environments, therefore Automake
2584 # will honor the `STRIP' environment variable to overrule this program.
2585 if test "$cross_compiling" != no
; then
2586 if test -n "$ac_tool_prefix"; then
2587 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2588 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if test "${ac_cv_prog_STRIP+set}" = set; then :
2592 $as_echo_n "(cached) " >&6
2594 if test -n "$STRIP"; then
2595 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir
=.
2602 for ac_exec_ext
in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 STRIP
=$ac_cv_prog_STRIP
2615 if test -n "$STRIP"; then
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2617 $as_echo "$STRIP" >&6; }
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620 $as_echo "no" >&6; }
2625 if test -z "$ac_cv_prog_STRIP"; then
2627 # Extract the first word of "strip", so it can be a program name with args.
2628 set dummy strip
; ac_word
=$2
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2630 $as_echo_n "checking for $ac_word... " >&6; }
2631 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2632 $as_echo_n "(cached) " >&6
2634 if test -n "$ac_ct_STRIP"; then
2635 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir
=.
2642 for ac_exec_ext
in '' $ac_executable_extensions; do
2643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644 ac_cv_prog_ac_ct_STRIP
="strip"
2645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2655 if test -n "$ac_ct_STRIP"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2657 $as_echo "$ac_ct_STRIP" >&6; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660 $as_echo "no" >&6; }
2663 if test "x$ac_ct_STRIP" = x
; then
2666 case $cross_compiling:$ac_tool_warned in
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2670 ac_tool_warned
=yes ;;
2675 STRIP
="$ac_cv_prog_STRIP"
2679 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2682 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2683 if test -z "$MKDIR_P"; then
2684 if test "${ac_cv_path_mkdir+set}" = set; then :
2685 $as_echo_n "(cached) " >&6
2687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2691 test -z "$as_dir" && as_dir
=.
2692 for ac_prog
in mkdir gmkdir
; do
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2695 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2696 'mkdir (GNU coreutils) '* | \
2697 'mkdir (coreutils) '* | \
2698 'mkdir (fileutils) '4.1*)
2699 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2709 test -d .
/--version && rmdir .
/--version
2710 if test "${ac_cv_path_mkdir+set}" = set; then
2711 MKDIR_P
="$ac_cv_path_mkdir -p"
2713 # As a last resort, use the slow shell script. Don't cache a
2714 # value for MKDIR_P within a source directory, because that will
2715 # break other packages using the cache if that directory is
2716 # removed, or if the value is a relative name.
2717 MKDIR_P
="$ac_install_sh -d"
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2721 $as_echo "$MKDIR_P" >&6; }
2725 [\\/$
]* | ?
:[\\/]*) ;;
2726 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2729 for ac_prog
in gawk mawk nawk
awk
2731 # Extract the first word of "$ac_prog", so it can be a program name with args.
2732 set dummy
$ac_prog; ac_word
=$2
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if test "${ac_cv_prog_AWK+set}" = set; then :
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$AWK"; then
2739 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 ac_cv_prog_AWK
="$ac_prog"
2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 if test -n "$AWK"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2761 $as_echo "$AWK" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2768 test -n "$AWK" && break
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2772 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2774 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2775 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2776 $as_echo_n "(cached) " >&6
2778 cat >conftest.
make <<\_ACEOF
2781 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2783 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2784 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2786 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2788 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2792 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2794 $as_echo "yes" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2799 SET_MAKE
="MAKE=${MAKE-make}"
2802 rm -rf .tst
2>/dev
/null
2803 mkdir .tst
2>/dev
/null
2804 if test -d .tst
; then
2809 rmdir .tst
2>/dev
/null
2811 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2812 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2813 # is not polluted with repeated "-I."
2814 am__isrc
=' -I$(srcdir)'
2815 # test to see if srcdir already configured
2816 if test -f $srcdir/config.status
; then
2817 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2821 # test whether we have cygpath
2822 if test -z "$CYGPATH_W"; then
2823 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2824 CYGPATH_W
='cygpath -w'
2831 # Define the identity of the package.
2836 cat >>confdefs.h
<<_ACEOF
2837 #define PACKAGE "$PACKAGE"
2841 cat >>confdefs.h
<<_ACEOF
2842 #define VERSION "$VERSION"
2845 # Some tools Automake needs.
2847 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2850 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2853 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2856 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2859 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2861 # We need awk for the "check" target. The system "awk" is bad on
2863 # Always define AMTAR for backward compatibility.
2865 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2867 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2873 ac_config_headers
="$ac_config_headers config.h"
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2877 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2878 # Check whether --enable-maintainer-mode was given.
2879 if test "${enable_maintainer_mode+set}" = set; then :
2880 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2882 USE_MAINTAINER_MODE
=no
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2886 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2887 if test $USE_MAINTAINER_MODE = yes; then
2888 MAINTAINER_MODE_TRUE
=
2889 MAINTAINER_MODE_FALSE
='#'
2891 MAINTAINER_MODE_TRUE
='#'
2892 MAINTAINER_MODE_FALSE
=
2895 MAINT
=$MAINTAINER_MODE_TRUE
2899 DEPDIR
="${am__leading_dot}deps"
2901 ac_config_commands
="$ac_config_commands depfiles"
2904 am_make
=${MAKE-make}
2905 cat > confinc
<< 'END'
2907 @
echo this is the am__doit target
2910 # If we don't find an include directive, just comment out the code.
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2912 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2916 # First try GNU make style include.
2917 echo "include confinc" > confmf
2918 # Ignore all kinds of additional output from `make'.
2919 case `$am_make -s -f confmf 2> /dev/null` in #(
2920 *the\ am__doit\ target
*)
2926 # Now try BSD make style include.
2927 if test "$am__include" = "#"; then
2928 echo '.include "confinc"' > confmf
2929 case `$am_make -s -f confmf 2> /dev/null` in #(
2930 *the\ am__doit\ target
*)
2931 am__include
=.include
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2940 $as_echo "$_am_result" >&6; }
2941 rm -f confinc confmf
2943 # Check whether --enable-dependency-tracking was given.
2944 if test "${enable_dependency_tracking+set}" = set; then :
2945 enableval
=$enable_dependency_tracking;
2948 if test "x$enable_dependency_tracking" != xno
; then
2949 am_depcomp
="$ac_aux_dir/depcomp"
2952 if test "x$enable_dependency_tracking" != xno; then
2962 ac_cpp
='$CPP $CPPFLAGS'
2963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2966 if test -n "$ac_tool_prefix"; then
2967 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2968 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if test "${ac_cv_prog_CC+set}" = set; then :
2972 $as_echo_n "(cached) " >&6
2974 if test -n "$CC"; then
2975 ac_cv_prog_CC
="$CC" # Let the user override the test.
2977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir
=.
2982 for ac_exec_ext
in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 if test -n "$CC"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2997 $as_echo "$CC" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3005 if test -z "$ac_cv_prog_CC"; then
3007 # Extract the first word of "gcc", so it can be a program name with args.
3008 set dummy gcc
; ac_word
=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3012 $as_echo_n "(cached) " >&6
3014 if test -n "$ac_ct_CC"; then
3015 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir
=.
3022 for ac_exec_ext
in '' $ac_executable_extensions; do
3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024 ac_cv_prog_ac_ct_CC
="gcc"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3035 if test -n "$ac_ct_CC"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3037 $as_echo "$ac_ct_CC" >&6; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3043 if test "x$ac_ct_CC" = x
; then
3046 case $cross_compiling:$ac_tool_warned in
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3050 ac_tool_warned
=yes ;;
3058 if test -z "$CC"; then
3059 if test -n "$ac_tool_prefix"; then
3060 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3061 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if test "${ac_cv_prog_CC+set}" = set; then :
3065 $as_echo_n "(cached) " >&6
3067 if test -n "$CC"; then
3068 ac_cv_prog_CC
="$CC" # Let the user override the test.
3070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir
=.
3075 for ac_exec_ext
in '' $ac_executable_extensions; do
3076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3077 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 if test -n "$CC"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3090 $as_echo "$CC" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3099 if test -z "$CC"; then
3100 # Extract the first word of "cc", so it can be a program name with args.
3101 set dummy cc
; ac_word
=$2
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; }
3104 if test "${ac_cv_prog_CC+set}" = set; then :
3105 $as_echo_n "(cached) " >&6
3107 if test -n "$CC"; then
3108 ac_cv_prog_CC
="$CC" # Let the user override the test.
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3118 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3119 ac_prog_rejected
=yes
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 if test $ac_prog_rejected = yes; then
3131 # We found a bogon in the path, so make sure we never use it.
3132 set dummy
$ac_cv_prog_CC
3134 if test $# != 0; then
3135 # We chose a different compiler from the bogus one.
3136 # However, it has the same basename, so the bogon will be chosen
3137 # first if we set CC to just the basename; use the full file name.
3139 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3145 if test -n "$CC"; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3147 $as_echo "$CC" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150 $as_echo "no" >&6; }
3155 if test -z "$CC"; then
3156 if test -n "$ac_tool_prefix"; then
3157 for ac_prog
in cl.exe
3159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3160 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if test "${ac_cv_prog_CC+set}" = set; then :
3164 $as_echo_n "(cached) " >&6
3166 if test -n "$CC"; then
3167 ac_cv_prog_CC
="$CC" # Let the user override the test.
3169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir
=.
3174 for ac_exec_ext
in '' $ac_executable_extensions; do
3175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 if test -n "$CC"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3189 $as_echo "$CC" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3196 test -n "$CC" && break
3199 if test -z "$CC"; then
3201 for ac_prog
in cl.exe
3203 # Extract the first word of "$ac_prog", so it can be a program name with args.
3204 set dummy
$ac_prog; ac_word
=$2
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206 $as_echo_n "checking for $ac_word... " >&6; }
3207 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3208 $as_echo_n "(cached) " >&6
3210 if test -n "$ac_ct_CC"; then
3211 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3217 test -z "$as_dir" && as_dir
=.
3218 for ac_exec_ext
in '' $ac_executable_extensions; do
3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 ac_cv_prog_ac_ct_CC
="$ac_prog"
3221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3230 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3231 if test -n "$ac_ct_CC"; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3233 $as_echo "$ac_ct_CC" >&6; }
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3240 test -n "$ac_ct_CC" && break
3243 if test "x$ac_ct_CC" = x
; then
3246 case $cross_compiling:$ac_tool_warned in
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3250 ac_tool_warned
=yes ;;
3259 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261 as_fn_error
"no acceptable C compiler found in \$PATH
3262 See \`config.log' for more details." "$LINENO" 5; }
3264 # Provide some information about the compiler.
3265 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3268 for ac_option
in --version -v -V -qversion; do
3269 { { ac_try
="$ac_compiler $ac_option >&5"
3271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3275 $as_echo "$ac_try_echo"; } >&5
3276 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3278 if test -s conftest.err; then
3280 ... rest of stderr output deleted ...
3281 10q' conftest.err >conftest.er1
3282 cat conftest.er1 >&5
3284 rm -f conftest.er1 conftest.err
3285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3286 test $ac_status = 0; }
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3300 ac_clean_files_save=$ac_clean_files
3301 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3302 # Try to create an executable without -o first, disregard a.out.
3303 # It will help us diagnose broken compilers, and finding out an intuition
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3306 $as_echo_n "checking whether the C compiler works... " >&6; }
3307 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3309 # The possible output files:
3310 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3313 for ac_file in $ac_files
3316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3317 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3322 if { { ac_try="$ac_link_default"
3324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3325 *) ac_try_echo
=$ac_try;;
3327 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3328 $as_echo "$ac_try_echo"; } >&5
3329 (eval "$ac_link_default") 2>&5
3331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3332 test $ac_status = 0; }; then :
3333 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3334 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3335 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3336 # so that the user can short-circuit this test for compilers unknown to
3338 for ac_file
in $ac_files ''
3340 test -f "$ac_file" ||
continue
3342 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3345 # We found the default executable, but exeext='' is most
3349 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3351 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3353 # We set ac_cv_exeext here because the later test for it is not
3354 # safe: cross compilers may not add the suffix if given an `-o'
3355 # argument, so we may need to know it at that point already.
3356 # Even if this section looks crufty: it has the advantage of
3363 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3368 if test -z "$ac_file"; then :
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370 $as_echo "no" >&6; }
3371 $as_echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.
$ac_ext >&5
3374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 { as_fn_set_status
77
3377 as_fn_error
"C compiler cannot create executables
3378 See \`config.log' for more details." "$LINENO" 5; }; }
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3381 $as_echo "yes" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3384 $as_echo_n "checking for C compiler default output file name... " >&6; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3386 $as_echo "$ac_file" >&6; }
3387 ac_exeext
=$ac_cv_exeext
3389 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3390 ac_clean_files
=$ac_clean_files_save
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3392 $as_echo_n "checking for suffix of executables... " >&6; }
3393 if { { ac_try
="$ac_link"
3395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_link") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; then :
3404 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3405 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3406 # work properly (i.e., refer to `conftest.exe'), while it won't with
3408 for ac_file
in conftest.exe conftest conftest.
*; do
3409 test -f "$ac_file" ||
continue
3411 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3412 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3420 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3421 See \`config.log' for more details." "$LINENO" 5; }
3423 rm -f conftest conftest
$ac_cv_exeext
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3425 $as_echo "$ac_cv_exeext" >&6; }
3427 rm -f conftest.
$ac_ext
3428 EXEEXT
=$ac_cv_exeext
3430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3436 FILE *f = fopen ("conftest.out", "w");
3437 return ferror (f) || fclose (f) != 0;
3443 ac_clean_files
="$ac_clean_files conftest.out"
3444 # Check that the compiler produces executables we can run. If not, either
3445 # the compiler is broken, or we cross compile.
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3447 $as_echo_n "checking whether we are cross compiling... " >&6; }
3448 if test "$cross_compiling" != yes; then
3449 { { ac_try
="$ac_link"
3451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455 $as_echo "$ac_try_echo"; } >&5
3456 (eval "$ac_link") 2>&5
3458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459 test $ac_status = 0; }
3460 if { ac_try='./conftest$ac_cv_exeext'
3461 { { case "(($ac_try" in
3462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3463 *) ac_try_echo
=$ac_try;;
3465 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3466 $as_echo "$ac_try_echo"; } >&5
3467 (eval "$ac_try") 2>&5
3469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3470 test $ac_status = 0; }; }; then
3473 if test "$cross_compiling" = maybe
; then
3476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478 as_fn_error
"cannot run C compiled programs.
3479 If you meant to cross compile, use \`--host'.
3480 See \`config.log' for more details." "$LINENO" 5; }
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3485 $as_echo "$cross_compiling" >&6; }
3487 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3488 ac_clean_files
=$ac_clean_files_save
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3490 $as_echo_n "checking for suffix of object files... " >&6; }
3491 if test "${ac_cv_objext+set}" = set; then :
3492 $as_echo_n "(cached) " >&6
3494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3505 rm -f conftest.o conftest.obj
3506 if { { ac_try
="$ac_compile"
3508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3512 $as_echo "$ac_try_echo"; } >&5
3513 (eval "$ac_compile") 2>&5
3515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3516 test $ac_status = 0; }; then :
3517 for ac_file in conftest.o conftest.obj conftest.*; do
3518 test -f "$ac_file" || continue;
3520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3521 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3526 $as_echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error "cannot compute suffix of object files
: cannot compile
3532 See \
`config.log' for more details." "$LINENO" 5; }
3534 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3537 $as_echo "$ac_cv_objext" >&6; }
3538 OBJEXT=$ac_cv_objext
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3541 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3542 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3543 $as_echo_n "(cached) " >&6
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3569 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3570 if test $ac_compiler_gnu = yes; then
3575 ac_test_CFLAGS=${CFLAGS+set}
3576 ac_save_CFLAGS=$CFLAGS
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3578 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3579 if test "${ac_cv_prog_cc_g+set}" = set; then :
3580 $as_echo_n "(cached) " >&6
3582 ac_save_c_werror_flag=$ac_c_werror_flag
3583 ac_c_werror_flag=yes
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3597 if ac_fn_c_try_compile "$LINENO"; then :
3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3612 if ac_fn_c_try_compile "$LINENO"; then :
3615 ac_c_werror_flag=$ac_save_c_werror_flag
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3628 if ac_fn_c_try_compile "$LINENO"; then :
3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 ac_c_werror_flag=$ac_save_c_werror_flag
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3639 $as_echo "$ac_cv_prog_cc_g" >&6; }
3640 if test "$ac_test_CFLAGS" = set; then
3641 CFLAGS=$ac_save_CFLAGS
3642 elif test $ac_cv_prog_cc_g = yes; then
3643 if test "$GCC" = yes; then
3649 if test "$GCC" = yes; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3656 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3657 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3658 $as_echo_n "(cached) " >&6
3660 ac_cv_prog_cc_c89=no
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3666 #include <sys/types.h>
3667 #include <sys/stat.h>
3668 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3669 struct buf { int x; };
3670 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3671 static char *e (p, i)
3677 static char *f (char * (*g) (char **, int), char **p, ...)
3682 s = g (p, va_arg (v,int));
3687 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3688 function prototypes and stuff, but not '\xHH' hex character constants.
3689 These don't provoke an error unfortunately, instead are silently treated
3690 as 'x'. The following induces an error, until -std is added to get
3691 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3692 array size at least. It's necessary to write '\x00'==0 to get something
3693 that's true only with -std. */
3694 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3696 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3697 inside strings and character constants. */
3699 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3701 int test (int i, double x);
3702 struct s1 {int (*f) (int a);};
3703 struct s2 {int (*f) (double a);};
3704 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3710 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3715 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3716 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3718 CC="$ac_save_CC $ac_arg"
3719 if ac_fn_c_try_compile "$LINENO"; then :
3720 ac_cv_prog_cc_c89=$ac_arg
3722 rm -f core conftest.err conftest.$ac_objext
3723 test "x$ac_cv_prog_cc_c89" != "xno" && break
3725 rm -f conftest.$ac_ext
3730 case "x$ac_cv_prog_cc_c89" in
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3733 $as_echo "none needed" >&6; } ;;
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3736 $as_echo "unsupported" >&6; } ;;
3738 CC="$CC $ac_cv_prog_cc_c89"
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3740 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3742 if test "x$ac_cv_prog_cc_c89" != xno; then :
3747 ac_cpp='$CPP $CPPFLAGS'
3748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3752 depcc="$CC" am_compiler_list=
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3755 $as_echo_n "checking dependency style of $depcc... " >&6; }
3756 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3757 $as_echo_n "(cached) " >&6
3759 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3760 # We make a subdir and do the tests there. Otherwise we can end up
3761 # making bogus files that we don't know about and never remove. For
3762 # instance it was reported that on HP-UX the gcc test will end up
3763 # making a dummy file named `D
' -- because `-MD' means
`put the output
3766 # Copy depcomp to subdir because otherwise we won't find it if we're
3767 # using a relative directory.
3768 cp "$am_depcomp" conftest.dir
3770 # We will build objects and dependencies in a subdirectory because
3771 # it helps to detect inapplicable dependency modes. For instance
3772 # both Tru64's cc and ICC support -MD to output dependencies as a
3773 # side effect of compilation, but ICC will put the dependencies in
3774 # the current directory while Tru64 will put them in the object
3778 am_cv_CC_dependencies_compiler_type=none
3779 if test "$am_compiler_list" = ""; then
3780 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3783 case " $depcc " in #(
3784 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3787 for depmode in $am_compiler_list; do
3788 # Setup a source with many dependencies, because some compilers
3789 # like to wrap large dependency lists on column 80 (with \), and
3790 # we should not choose a depcomp mode which is confused by this.
3792 # We need to recreate these files for each test, as the compiler may
3793 # overwrite some of them when testing with obscure command lines.
3794 # This happens at least with the AIX C compiler.
3796 for i in 1 2 3 4 5 6; do
3797 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3798 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3799 # Solaris 8's
{/usr
,}/bin
/sh.
3800 touch sub
/conftst
$i.h
3802 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3804 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3805 # mode. It turns out that the SunPro C++ compiler does not properly
3806 # handle `-M -o', and we need to detect this. Also, some Intel
3807 # versions had trouble with output in subdirs
3808 am__obj
=sub
/conftest.
${OBJEXT-o}
3809 am__minus_obj
="-o $am__obj"
3812 # This depmode causes a compiler race in universal mode.
3813 test "$am__universal" = false ||
continue
3816 # after this tag, mechanisms are not by side-effect, so they'll
3817 # only be used when explicitly requested
3818 if test "x$enable_dependency_tracking" = xyes
; then
3824 msvisualcpp | msvcmsys
)
3825 # This compiler won't grok `-c -o', but also, the minuso test has
3826 # not run yet. These depmodes are late enough in the game, and
3827 # so weak that their functioning should not be impacted.
3828 am__obj
=conftest.
${OBJEXT-o}
3833 if depmode
=$depmode \
3834 source=sub
/conftest.c object
=$am__obj \
3835 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3836 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3837 >/dev
/null
2>conftest.err
&&
3838 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3839 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3840 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3841 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3842 # icc doesn't choke on unknown options, it will just issue warnings
3843 # or remarks (even with -Werror). So we grep stderr for any message
3844 # that says an option was ignored or not supported.
3845 # When given -MP, icc 7.0 and 7.1 complain thusly:
3846 # icc: Command line warning: ignoring option '-M'; no argument required
3847 # The diagnosis changed in icc 8.0:
3848 # icc: Command line remark: option '-MP' not supported
3849 if (grep 'ignoring option' conftest.err ||
3850 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3851 am_cv_CC_dependencies_compiler_type
=$depmode
3860 am_cv_CC_dependencies_compiler_type
=none
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3865 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3866 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3869 test "x$enable_dependency_tracking" != xno \
3870 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3872 am__fastdepCC_FALSE
='#'
3874 am__fastdepCC_TRUE
='#'
3875 am__fastdepCC_FALSE
=
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3881 $as_echo_n "checking for library containing strerror... " >&6; }
3882 if test "${ac_cv_search_strerror+set}" = set; then :
3883 $as_echo_n "(cached) " >&6
3885 ac_func_search_save_LIBS
=$LIBS
3886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3889 /* Override any GCC internal prototype to avoid an error.
3890 Use char because int might match the return type of a GCC
3891 builtin and then its argument prototype would still apply. */
3904 for ac_lib
in '' cposix
; do
3905 if test -z "$ac_lib"; then
3906 ac_res
="none required"
3909 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3911 if ac_fn_c_try_link
"$LINENO"; then :
3912 ac_cv_search_strerror
=$ac_res
3914 rm -f core conftest.err conftest.
$ac_objext \
3916 if test "${ac_cv_search_strerror+set}" = set; then :
3920 if test "${ac_cv_search_strerror+set}" = set; then :
3923 ac_cv_search_strerror
=no
3926 LIBS
=$ac_func_search_save_LIBS
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3929 $as_echo "$ac_cv_search_strerror" >&6; }
3930 ac_res
=$ac_cv_search_strerror
3931 if test "$ac_res" != no
; then :
3932 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3937 ac_cpp
='$CPP $CPPFLAGS'
3938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3941 if test -n "$ac_tool_prefix"; then
3942 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3943 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if test "${ac_cv_prog_CC+set}" = set; then :
3947 $as_echo_n "(cached) " >&6
3949 if test -n "$CC"; then
3950 ac_cv_prog_CC
="$CC" # Let the user override the test.
3952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3956 test -z "$as_dir" && as_dir
=.
3957 for ac_exec_ext
in '' $ac_executable_extensions; do
3958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3959 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 if test -n "$CC"; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3972 $as_echo "$CC" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3980 if test -z "$ac_cv_prog_CC"; then
3982 # Extract the first word of "gcc", so it can be a program name with args.
3983 set dummy gcc
; ac_word
=$2
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3985 $as_echo_n "checking for $ac_word... " >&6; }
3986 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3987 $as_echo_n "(cached) " >&6
3989 if test -n "$ac_ct_CC"; then
3990 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3996 test -z "$as_dir" && as_dir
=.
3997 for ac_exec_ext
in '' $ac_executable_extensions; do
3998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3999 ac_cv_prog_ac_ct_CC
="gcc"
4000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4009 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4010 if test -n "$ac_ct_CC"; then
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4012 $as_echo "$ac_ct_CC" >&6; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4018 if test "x$ac_ct_CC" = x
; then
4021 case $cross_compiling:$ac_tool_warned in
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4025 ac_tool_warned
=yes ;;
4033 if test -z "$CC"; then
4034 if test -n "$ac_tool_prefix"; then
4035 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4036 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if test "${ac_cv_prog_CC+set}" = set; then :
4040 $as_echo_n "(cached) " >&6
4042 if test -n "$CC"; then
4043 ac_cv_prog_CC
="$CC" # Let the user override the test.
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4052 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 if test -n "$CC"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4065 $as_echo "$CC" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4074 if test -z "$CC"; then
4075 # Extract the first word of "cc", so it can be a program name with args.
4076 set dummy cc
; ac_word
=$2
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if test "${ac_cv_prog_CC+set}" = set; then :
4080 $as_echo_n "(cached) " >&6
4082 if test -n "$CC"; then
4083 ac_cv_prog_CC
="$CC" # Let the user override the test.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4094 ac_prog_rejected
=yes
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 if test $ac_prog_rejected = yes; then
4106 # We found a bogon in the path, so make sure we never use it.
4107 set dummy
$ac_cv_prog_CC
4109 if test $# != 0; then
4110 # We chose a different compiler from the bogus one.
4111 # However, it has the same basename, so the bogon will be chosen
4112 # first if we set CC to just the basename; use the full file name.
4114 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4120 if test -n "$CC"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4122 $as_echo "$CC" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4130 if test -z "$CC"; then
4131 if test -n "$ac_tool_prefix"; then
4132 for ac_prog
in cl.exe
4134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4135 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4137 $as_echo_n "checking for $ac_word... " >&6; }
4138 if test "${ac_cv_prog_CC+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4141 if test -n "$CC"; then
4142 ac_cv_prog_CC
="$CC" # Let the user override the test.
4144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4148 test -z "$as_dir" && as_dir
=.
4149 for ac_exec_ext
in '' $ac_executable_extensions; do
4150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4151 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4162 if test -n "$CC"; then
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4164 $as_echo "$CC" >&6; }
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4167 $as_echo "no" >&6; }
4171 test -n "$CC" && break
4174 if test -z "$CC"; then
4176 for ac_prog
in cl.exe
4178 # Extract the first word of "$ac_prog", so it can be a program name with args.
4179 set dummy
$ac_prog; ac_word
=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -n "$ac_ct_CC"; then
4186 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for ac_exec_ext
in '' $ac_executable_extensions; do
4194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4195 ac_cv_prog_ac_ct_CC
="$ac_prog"
4196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4206 if test -n "$ac_ct_CC"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4208 $as_echo "$ac_ct_CC" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4215 test -n "$ac_ct_CC" && break
4218 if test "x$ac_ct_CC" = x
; then
4221 case $cross_compiling:$ac_tool_warned in
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4225 ac_tool_warned
=yes ;;
4234 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error
"no acceptable C compiler found in \$PATH
4237 See \`config.log' for more details." "$LINENO" 5; }
4239 # Provide some information about the compiler.
4240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4243 for ac_option
in --version -v -V -qversion; do
4244 { { ac_try
="$ac_compiler $ac_option >&5"
4246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4250 $as_echo "$ac_try_echo"; } >&5
4251 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4253 if test -s conftest.err; then
4255 ... rest of stderr output deleted ...
4256 10q' conftest.err >conftest.er1
4257 cat conftest.er1 >&5
4259 rm -f conftest.er1 conftest.err
4260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4261 test $ac_status = 0; }
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4265 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4266 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4283 if ac_fn_c_try_compile "$LINENO"; then :
4288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4289 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4293 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4294 if test $ac_compiler_gnu = yes; then
4299 ac_test_CFLAGS=${CFLAGS+set}
4300 ac_save_CFLAGS=$CFLAGS
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4302 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4303 if test "${ac_cv_prog_cc_g+set}" = set; then :
4304 $as_echo_n "(cached) " >&6
4306 ac_save_c_werror_flag=$ac_c_werror_flag
4307 ac_c_werror_flag=yes
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4321 if ac_fn_c_try_compile "$LINENO"; then :
4325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4326 /* end confdefs.h. */
4336 if ac_fn_c_try_compile "$LINENO"; then :
4339 ac_c_werror_flag=$ac_save_c_werror_flag
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4352 if ac_fn_c_try_compile "$LINENO"; then :
4355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4360 ac_c_werror_flag=$ac_save_c_werror_flag
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4363 $as_echo "$ac_cv_prog_cc_g" >&6; }
4364 if test "$ac_test_CFLAGS" = set; then
4365 CFLAGS=$ac_save_CFLAGS
4366 elif test $ac_cv_prog_cc_g = yes; then
4367 if test "$GCC" = yes; then
4373 if test "$GCC" = yes; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4380 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4381 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4382 $as_echo_n "(cached) " >&6
4384 ac_cv_prog_cc_c89=no
4386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4390 #include <sys/types.h>
4391 #include <sys/stat.h>
4392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4393 struct buf { int x; };
4394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4395 static char *e (p, i)
4401 static char *f (char * (*g) (char **, int), char **p, ...)
4406 s = g (p, va_arg (v,int));
4411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4412 function prototypes and stuff, but not '\xHH' hex character constants.
4413 These don't provoke an error unfortunately, instead are silently treated
4414 as 'x'. The following induces an error, until -std is added to get
4415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4416 array size at least. It's necessary to write '\x00'==0 to get something
4417 that's true only with -std. */
4418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4421 inside strings and character constants. */
4423 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4425 int test (int i, double x);
4426 struct s1 {int (*f) (int a);};
4427 struct s2 {int (*f) (double a);};
4428 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4434 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4440 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4442 CC="$ac_save_CC $ac_arg"
4443 if ac_fn_c_try_compile "$LINENO"; then :
4444 ac_cv_prog_cc_c89=$ac_arg
4446 rm -f core conftest.err conftest.$ac_objext
4447 test "x$ac_cv_prog_cc_c89" != "xno" && break
4449 rm -f conftest.$ac_ext
4454 case "x$ac_cv_prog_cc_c89" in
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4457 $as_echo "none needed" >&6; } ;;
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4460 $as_echo "unsupported" >&6; } ;;
4462 CC="$CC $ac_cv_prog_cc_c89"
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4464 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4466 if test "x$ac_cv_prog_cc_c89" != xno; then :
4471 ac_cpp='$CPP $CPPFLAGS'
4472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4476 depcc="$CC" am_compiler_list=
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4479 $as_echo_n "checking dependency style of $depcc... " >&6; }
4480 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4483 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4484 # We make a subdir and do the tests there. Otherwise we can end up
4485 # making bogus files that we don't know about and never remove. For
4486 # instance it was reported that on HP-UX the gcc test will end up
4487 # making a dummy file named `D
' -- because `-MD' means
`put the output
4490 # Copy depcomp to subdir because otherwise we won't find it if we're
4491 # using a relative directory.
4492 cp "$am_depcomp" conftest.dir
4494 # We will build objects and dependencies in a subdirectory because
4495 # it helps to detect inapplicable dependency modes. For instance
4496 # both Tru64's cc and ICC support -MD to output dependencies as a
4497 # side effect of compilation, but ICC will put the dependencies in
4498 # the current directory while Tru64 will put them in the object
4502 am_cv_CC_dependencies_compiler_type=none
4503 if test "$am_compiler_list" = ""; then
4504 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4507 case " $depcc " in #(
4508 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4511 for depmode in $am_compiler_list; do
4512 # Setup a source with many dependencies, because some compilers
4513 # like to wrap large dependency lists on column 80 (with \), and
4514 # we should not choose a depcomp mode which is confused by this.
4516 # We need to recreate these files for each test, as the compiler may
4517 # overwrite some of them when testing with obscure command lines.
4518 # This happens at least with the AIX C compiler.
4520 for i in 1 2 3 4 5 6; do
4521 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4522 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4523 # Solaris 8's
{/usr
,}/bin
/sh.
4524 touch sub
/conftst
$i.h
4526 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4528 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4529 # mode. It turns out that the SunPro C++ compiler does not properly
4530 # handle `-M -o', and we need to detect this. Also, some Intel
4531 # versions had trouble with output in subdirs
4532 am__obj
=sub
/conftest.
${OBJEXT-o}
4533 am__minus_obj
="-o $am__obj"
4536 # This depmode causes a compiler race in universal mode.
4537 test "$am__universal" = false ||
continue
4540 # after this tag, mechanisms are not by side-effect, so they'll
4541 # only be used when explicitly requested
4542 if test "x$enable_dependency_tracking" = xyes
; then
4548 msvisualcpp | msvcmsys
)
4549 # This compiler won't grok `-c -o', but also, the minuso test has
4550 # not run yet. These depmodes are late enough in the game, and
4551 # so weak that their functioning should not be impacted.
4552 am__obj
=conftest.
${OBJEXT-o}
4557 if depmode
=$depmode \
4558 source=sub
/conftest.c object
=$am__obj \
4559 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4560 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4561 >/dev
/null
2>conftest.err
&&
4562 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4563 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4564 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4565 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4566 # icc doesn't choke on unknown options, it will just issue warnings
4567 # or remarks (even with -Werror). So we grep stderr for any message
4568 # that says an option was ignored or not supported.
4569 # When given -MP, icc 7.0 and 7.1 complain thusly:
4570 # icc: Command line warning: ignoring option '-M'; no argument required
4571 # The diagnosis changed in icc 8.0:
4572 # icc: Command line remark: option '-MP' not supported
4573 if (grep 'ignoring option' conftest.err ||
4574 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4575 am_cv_CC_dependencies_compiler_type
=$depmode
4584 am_cv_CC_dependencies_compiler_type
=none
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4589 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4590 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4593 test "x$enable_dependency_tracking" != xno \
4594 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4596 am__fastdepCC_FALSE
='#'
4598 am__fastdepCC_TRUE
='#'
4599 am__fastdepCC_FALSE
=
4604 ac_cpp
='$CPP $CPPFLAGS'
4605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4608 if test -n "$ac_tool_prefix"; then
4609 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4610 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if test "${ac_cv_prog_CC+set}" = set; then :
4614 $as_echo_n "(cached) " >&6
4616 if test -n "$CC"; then
4617 ac_cv_prog_CC
="$CC" # Let the user override the test.
4619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4623 test -z "$as_dir" && as_dir
=.
4624 for ac_exec_ext
in '' $ac_executable_extensions; do
4625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 if test -n "$CC"; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4639 $as_echo "$CC" >&6; }
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4647 if test -z "$ac_cv_prog_CC"; then
4649 # Extract the first word of "gcc", so it can be a program name with args.
4650 set dummy gcc
; ac_word
=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -n "$ac_ct_CC"; then
4657 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666 ac_cv_prog_ac_ct_CC
="gcc"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4677 if test -n "$ac_ct_CC"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4679 $as_echo "$ac_ct_CC" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4685 if test "x$ac_ct_CC" = x
; then
4688 case $cross_compiling:$ac_tool_warned in
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4692 ac_tool_warned
=yes ;;
4700 if test -z "$CC"; then
4701 if test -n "$ac_tool_prefix"; then
4702 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4703 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 $as_echo_n "checking for $ac_word... " >&6; }
4706 if test "${ac_cv_prog_CC+set}" = set; then :
4707 $as_echo_n "(cached) " >&6
4709 if test -n "$CC"; then
4710 ac_cv_prog_CC
="$CC" # Let the user override the test.
4712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir
=.
4717 for ac_exec_ext
in '' $ac_executable_extensions; do
4718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4719 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 if test -n "$CC"; then
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4732 $as_echo "$CC" >&6; }
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4741 if test -z "$CC"; then
4742 # Extract the first word of "cc", so it can be a program name with args.
4743 set dummy cc
; ac_word
=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if test "${ac_cv_prog_CC+set}" = set; then :
4747 $as_echo_n "(cached) " >&6
4749 if test -n "$CC"; then
4750 ac_cv_prog_CC
="$CC" # Let the user override the test.
4753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir
=.
4758 for ac_exec_ext
in '' $ac_executable_extensions; do
4759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4761 ac_prog_rejected
=yes
4765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 if test $ac_prog_rejected = yes; then
4773 # We found a bogon in the path, so make sure we never use it.
4774 set dummy
$ac_cv_prog_CC
4776 if test $# != 0; then
4777 # We chose a different compiler from the bogus one.
4778 # However, it has the same basename, so the bogon will be chosen
4779 # first if we set CC to just the basename; use the full file name.
4781 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4787 if test -n "$CC"; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4789 $as_echo "$CC" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4797 if test -z "$CC"; then
4798 if test -n "$ac_tool_prefix"; then
4799 for ac_prog
in cl.exe
4801 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4802 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if test "${ac_cv_prog_CC+set}" = set; then :
4806 $as_echo_n "(cached) " >&6
4808 if test -n "$CC"; then
4809 ac_cv_prog_CC
="$CC" # Let the user override the test.
4811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4815 test -z "$as_dir" && as_dir
=.
4816 for ac_exec_ext
in '' $ac_executable_extensions; do
4817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4818 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 if test -n "$CC"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4831 $as_echo "$CC" >&6; }
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4838 test -n "$CC" && break
4841 if test -z "$CC"; then
4843 for ac_prog
in cl.exe
4845 # Extract the first word of "$ac_prog", so it can be a program name with args.
4846 set dummy
$ac_prog; ac_word
=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4850 $as_echo_n "(cached) " >&6
4852 if test -n "$ac_ct_CC"; then
4853 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4859 test -z "$as_dir" && as_dir
=.
4860 for ac_exec_ext
in '' $ac_executable_extensions; do
4861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4862 ac_cv_prog_ac_ct_CC
="$ac_prog"
4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4873 if test -n "$ac_ct_CC"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4875 $as_echo "$ac_ct_CC" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4882 test -n "$ac_ct_CC" && break
4885 if test "x$ac_ct_CC" = x
; then
4888 case $cross_compiling:$ac_tool_warned in
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4892 ac_tool_warned
=yes ;;
4901 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4903 as_fn_error
"no acceptable C compiler found in \$PATH
4904 See \`config.log' for more details." "$LINENO" 5; }
4906 # Provide some information about the compiler.
4907 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4910 for ac_option
in --version -v -V -qversion; do
4911 { { ac_try
="$ac_compiler $ac_option >&5"
4913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4914 *) ac_try_echo=$ac_try;;
4916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4917 $as_echo "$ac_try_echo"; } >&5
4918 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4920 if test -s conftest.err; then
4922 ... rest of stderr output deleted ...
4923 10q' conftest.err >conftest.er1
4924 cat conftest.er1 >&5
4926 rm -f conftest.er1 conftest.err
4927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4928 test $ac_status = 0; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4932 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4933 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4950 if ac_fn_c_try_compile "$LINENO"; then :
4955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4956 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4960 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4961 if test $ac_compiler_gnu = yes; then
4966 ac_test_CFLAGS=${CFLAGS+set}
4967 ac_save_CFLAGS=$CFLAGS
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4969 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4970 if test "${ac_cv_prog_cc_g+set}" = set; then :
4971 $as_echo_n "(cached) " >&6
4973 ac_save_c_werror_flag=$ac_c_werror_flag
4974 ac_c_werror_flag=yes
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4988 if ac_fn_c_try_compile "$LINENO"; then :
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
5003 if ac_fn_c_try_compile "$LINENO"; then :
5006 ac_c_werror_flag=$ac_save_c_werror_flag
5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5019 if ac_fn_c_try_compile "$LINENO"; then :
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 ac_c_werror_flag=$ac_save_c_werror_flag
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5030 $as_echo "$ac_cv_prog_cc_g" >&6; }
5031 if test "$ac_test_CFLAGS" = set; then
5032 CFLAGS=$ac_save_CFLAGS
5033 elif test $ac_cv_prog_cc_g = yes; then
5034 if test "$GCC" = yes; then
5040 if test "$GCC" = yes; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5047 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5048 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5049 $as_echo_n "(cached) " >&6
5051 ac_cv_prog_cc_c89=no
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5057 #include <sys/types.h>
5058 #include <sys/stat.h>
5059 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5060 struct buf { int x; };
5061 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5062 static char *e (p, i)
5068 static char *f (char * (*g) (char **, int), char **p, ...)
5073 s = g (p, va_arg (v,int));
5078 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5079 function prototypes and stuff, but not '\xHH' hex character constants.
5080 These don't provoke an error unfortunately, instead are silently treated
5081 as 'x'. The following induces an error, until -std is added to get
5082 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5083 array size at least. It's necessary to write '\x00'==0 to get something
5084 that's true only with -std. */
5085 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5087 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5088 inside strings and character constants. */
5090 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5092 int test (int i, double x);
5093 struct s1 {int (*f) (int a);};
5094 struct s2 {int (*f) (double a);};
5095 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5101 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5106 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5107 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5109 CC="$ac_save_CC $ac_arg"
5110 if ac_fn_c_try_compile "$LINENO"; then :
5111 ac_cv_prog_cc_c89=$ac_arg
5113 rm -f core conftest.err conftest.$ac_objext
5114 test "x$ac_cv_prog_cc_c89" != "xno" && break
5116 rm -f conftest.$ac_ext
5121 case "x$ac_cv_prog_cc_c89" in
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5124 $as_echo "none needed" >&6; } ;;
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5127 $as_echo "unsupported" >&6; } ;;
5129 CC="$CC $ac_cv_prog_cc_c89"
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5131 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5133 if test "x$ac_cv_prog_cc_c89" != xno; then :
5138 ac_cpp='$CPP $CPPFLAGS'
5139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5143 depcc="$CC" am_compiler_list=
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5146 $as_echo_n "checking dependency style of $depcc... " >&6; }
5147 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5150 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5151 # We make a subdir and do the tests there. Otherwise we can end up
5152 # making bogus files that we don't know about and never remove. For
5153 # instance it was reported that on HP-UX the gcc test will end up
5154 # making a dummy file named `D
' -- because `-MD' means
`put the output
5157 # Copy depcomp to subdir because otherwise we won't find it if we're
5158 # using a relative directory.
5159 cp "$am_depcomp" conftest.dir
5161 # We will build objects and dependencies in a subdirectory because
5162 # it helps to detect inapplicable dependency modes. For instance
5163 # both Tru64's cc and ICC support -MD to output dependencies as a
5164 # side effect of compilation, but ICC will put the dependencies in
5165 # the current directory while Tru64 will put them in the object
5169 am_cv_CC_dependencies_compiler_type=none
5170 if test "$am_compiler_list" = ""; then
5171 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5174 case " $depcc " in #(
5175 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5178 for depmode in $am_compiler_list; do
5179 # Setup a source with many dependencies, because some compilers
5180 # like to wrap large dependency lists on column 80 (with \), and
5181 # we should not choose a depcomp mode which is confused by this.
5183 # We need to recreate these files for each test, as the compiler may
5184 # overwrite some of them when testing with obscure command lines.
5185 # This happens at least with the AIX C compiler.
5187 for i in 1 2 3 4 5 6; do
5188 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5189 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5190 # Solaris 8's
{/usr
,}/bin
/sh.
5191 touch sub
/conftst
$i.h
5193 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5195 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5196 # mode. It turns out that the SunPro C++ compiler does not properly
5197 # handle `-M -o', and we need to detect this. Also, some Intel
5198 # versions had trouble with output in subdirs
5199 am__obj
=sub
/conftest.
${OBJEXT-o}
5200 am__minus_obj
="-o $am__obj"
5203 # This depmode causes a compiler race in universal mode.
5204 test "$am__universal" = false ||
continue
5207 # after this tag, mechanisms are not by side-effect, so they'll
5208 # only be used when explicitly requested
5209 if test "x$enable_dependency_tracking" = xyes
; then
5215 msvisualcpp | msvcmsys
)
5216 # This compiler won't grok `-c -o', but also, the minuso test has
5217 # not run yet. These depmodes are late enough in the game, and
5218 # so weak that their functioning should not be impacted.
5219 am__obj
=conftest.
${OBJEXT-o}
5224 if depmode
=$depmode \
5225 source=sub
/conftest.c object
=$am__obj \
5226 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5227 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5228 >/dev
/null
2>conftest.err
&&
5229 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5230 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5231 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5232 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5233 # icc doesn't choke on unknown options, it will just issue warnings
5234 # or remarks (even with -Werror). So we grep stderr for any message
5235 # that says an option was ignored or not supported.
5236 # When given -MP, icc 7.0 and 7.1 complain thusly:
5237 # icc: Command line warning: ignoring option '-M'; no argument required
5238 # The diagnosis changed in icc 8.0:
5239 # icc: Command line remark: option '-MP' not supported
5240 if (grep 'ignoring option' conftest.err ||
5241 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5242 am_cv_CC_dependencies_compiler_type
=$depmode
5251 am_cv_CC_dependencies_compiler_type
=none
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5256 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5257 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5260 test "x$enable_dependency_tracking" != xno \
5261 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5263 am__fastdepCC_FALSE
='#'
5265 am__fastdepCC_TRUE
='#'
5266 am__fastdepCC_FALSE
=
5271 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5274 ac_cpp
='$CPP $CPPFLAGS'
5275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5279 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5280 # On Suns, sometimes $CPP names a directory.
5281 if test -n "$CPP" && test -d "$CPP"; then
5284 if test -z "$CPP"; then
5285 if test "${ac_cv_prog_CPP+set}" = set; then :
5286 $as_echo_n "(cached) " >&6
5288 # Double quotes because CPP needs to be expanded
5289 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5292 for ac_c_preproc_warn_flag
in '' yes
5294 # Use a header file that comes with gcc, so configuring glibc
5295 # with a fresh cross-compiler works.
5296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5297 # <limits.h> exists even on freestanding compilers.
5298 # On the NeXT, cc -E runs the code through the compiler's parser,
5299 # not just through cpp. "Syntax error" is here to catch this case.
5300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5303 # include <limits.h>
5305 # include <assert.h>
5309 if ac_fn_c_try_cpp
"$LINENO"; then :
5312 # Broken: fails on valid input.
5315 rm -f conftest.err conftest.
$ac_ext
5317 # OK, works on sane cases. Now check whether nonexistent headers
5318 # can be detected and how.
5319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5321 #include <ac_nonexistent.h>
5323 if ac_fn_c_try_cpp
"$LINENO"; then :
5324 # Broken: success on invalid input.
5327 # Passes both tests.
5331 rm -f conftest.err conftest.
$ac_ext
5334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5335 rm -f conftest.err conftest.
$ac_ext
5336 if $ac_preproc_ok; then :
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5349 $as_echo "$CPP" >&6; }
5351 for ac_c_preproc_warn_flag
in '' yes
5353 # Use a header file that comes with gcc, so configuring glibc
5354 # with a fresh cross-compiler works.
5355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5356 # <limits.h> exists even on freestanding compilers.
5357 # On the NeXT, cc -E runs the code through the compiler's parser,
5358 # not just through cpp. "Syntax error" is here to catch this case.
5359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5362 # include <limits.h>
5364 # include <assert.h>
5368 if ac_fn_c_try_cpp
"$LINENO"; then :
5371 # Broken: fails on valid input.
5374 rm -f conftest.err conftest.
$ac_ext
5376 # OK, works on sane cases. Now check whether nonexistent headers
5377 # can be detected and how.
5378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5380 #include <ac_nonexistent.h>
5382 if ac_fn_c_try_cpp
"$LINENO"; then :
5383 # Broken: success on invalid input.
5386 # Passes both tests.
5390 rm -f conftest.err conftest.
$ac_ext
5393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5394 rm -f conftest.err conftest.
$ac_ext
5395 if $ac_preproc_ok; then :
5398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5400 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5401 See \`config.log' for more details." "$LINENO" 5; }
5405 ac_cpp
='$CPP $CPPFLAGS'
5406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5412 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5413 if test "${ac_cv_path_GREP+set}" = set; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -z "$GREP"; then
5417 ac_path_GREP_found
=false
5418 # Loop through the user's path and test for each of PROGNAME-LIST
5419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5420 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_prog
in grep ggrep
; do
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5427 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5428 # Check for GNU ac_path_GREP and select it if it is found.
5429 # Check for GNU $ac_path_GREP
5430 case `"$ac_path_GREP" --version 2>&1` in
5432 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5435 $as_echo_n 0123456789 >"conftest.in"
5438 cat "conftest.in" "conftest.in" >"conftest.tmp"
5439 mv "conftest.tmp" "conftest.in"
5440 cp "conftest.in" "conftest.nl"
5441 $as_echo 'GREP' >> "conftest.nl"
5442 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5443 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5444 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5445 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5446 # Best one so far, save it but keep looking for a better one
5447 ac_cv_path_GREP
="$ac_path_GREP"
5448 ac_path_GREP_max
=$ac_count
5450 # 10*(2^10) chars as input seems more than enough
5451 test $ac_count -gt 10 && break
5453 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5456 $ac_path_GREP_found && break 3
5461 if test -z "$ac_cv_path_GREP"; then
5462 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5465 ac_cv_path_GREP
=$GREP
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5470 $as_echo "$ac_cv_path_GREP" >&6; }
5471 GREP
="$ac_cv_path_GREP"
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5475 $as_echo_n "checking for egrep... " >&6; }
5476 if test "${ac_cv_path_EGREP+set}" = set; then :
5477 $as_echo_n "(cached) " >&6
5479 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5480 then ac_cv_path_EGREP
="$GREP -E"
5482 if test -z "$EGREP"; then
5483 ac_path_EGREP_found
=false
5484 # Loop through the user's path and test for each of PROGNAME-LIST
5485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5486 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5489 test -z "$as_dir" && as_dir
=.
5490 for ac_prog
in egrep; do
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5493 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5494 # Check for GNU ac_path_EGREP and select it if it is found.
5495 # Check for GNU $ac_path_EGREP
5496 case `"$ac_path_EGREP" --version 2>&1` in
5498 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5501 $as_echo_n 0123456789 >"conftest.in"
5504 cat "conftest.in" "conftest.in" >"conftest.tmp"
5505 mv "conftest.tmp" "conftest.in"
5506 cp "conftest.in" "conftest.nl"
5507 $as_echo 'EGREP' >> "conftest.nl"
5508 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5509 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5510 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5511 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5512 # Best one so far, save it but keep looking for a better one
5513 ac_cv_path_EGREP
="$ac_path_EGREP"
5514 ac_path_EGREP_max
=$ac_count
5516 # 10*(2^10) chars as input seems more than enough
5517 test $ac_count -gt 10 && break
5519 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5522 $ac_path_EGREP_found && break 3
5527 if test -z "$ac_cv_path_EGREP"; then
5528 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5531 ac_cv_path_EGREP
=$EGREP
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5537 $as_echo "$ac_cv_path_EGREP" >&6; }
5538 EGREP
="$ac_cv_path_EGREP"
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5542 $as_echo_n "checking for ANSI C header files... " >&6; }
5543 if test "${ac_cv_header_stdc+set}" = set; then :
5544 $as_echo_n "(cached) " >&6
5546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5561 if ac_fn_c_try_compile
"$LINENO"; then :
5562 ac_cv_header_stdc
=yes
5564 ac_cv_header_stdc
=no
5566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5568 if test $ac_cv_header_stdc = yes; then
5569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5576 $EGREP "memchr" >/dev
/null
2>&1; then :
5579 ac_cv_header_stdc
=no
5585 if test $ac_cv_header_stdc = yes; then
5586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5593 $EGREP "free" >/dev
/null
2>&1; then :
5596 ac_cv_header_stdc
=no
5602 if test $ac_cv_header_stdc = yes; then
5603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5604 if test "$cross_compiling" = yes; then :
5607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5611 #if ((' ' & 0x0FF) == 0x020)
5612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5615 # define ISLOWER(c) \
5616 (('a' <= (c) && (c) <= 'i') \
5617 || ('j' <= (c) && (c) <= 'r') \
5618 || ('s' <= (c) && (c) <= 'z'))
5619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5627 for (i = 0; i < 256; i++)
5628 if (XOR (islower (i), ISLOWER (i))
5629 || toupper (i) != TOUPPER (i))
5634 if ac_fn_c_try_run
"$LINENO"; then :
5637 ac_cv_header_stdc
=no
5639 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5640 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5646 $as_echo "$ac_cv_header_stdc" >&6; }
5647 if test $ac_cv_header_stdc = yes; then
5649 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5657 GETTEXT_PACKAGE
=gtkgraph
5660 cat >>confdefs.h
<<_ACEOF
5661 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5664 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5665 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5666 inttypes.h stdint.h unistd.h
5668 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5669 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5671 eval as_val
=\$
$as_ac_Header
5672 if test "x$as_val" = x
""yes; then :
5673 cat >>confdefs.h
<<_ACEOF
5674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5683 for ac_header
in locale.h
5685 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5686 if test "x$ac_cv_header_locale_h" = x
""yes; then :
5687 cat >>confdefs.h
<<_ACEOF
5688 #define HAVE_LOCALE_H 1
5695 if test $ac_cv_header_locale_h = yes; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5697 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5698 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
5699 $as_echo_n "(cached) " >&6
5701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5712 if ac_fn_c_try_link
"$LINENO"; then :
5713 am_cv_val_LC_MESSAGES
=yes
5715 am_cv_val_LC_MESSAGES
=no
5717 rm -f core conftest.err conftest.
$ac_objext \
5718 conftest
$ac_exeext conftest.
$ac_ext
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5721 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5722 if test $am_cv_val_LC_MESSAGES = yes; then
5724 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5731 gt_cv_have_gettext
=no
5737 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5738 if test "x$ac_cv_header_libintl_h" = x
""yes; then :
5739 gt_cv_func_dgettext_libintl
="no"
5740 libintl_extra_libs
=""
5743 # First check in libc
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5746 $as_echo_n "checking for ngettext in libc... " >&6; }
5747 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
5748 $as_echo_n "(cached) " >&6
5750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5753 #include <libintl.h>
5758 return !ngettext ("","", 1)
5763 if ac_fn_c_try_link
"$LINENO"; then :
5764 gt_cv_func_ngettext_libc
=yes
5766 gt_cv_func_ngettext_libc
=no
5768 rm -f core conftest.err conftest.
$ac_objext \
5769 conftest
$ac_exeext conftest.
$ac_ext
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5773 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
5775 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5777 $as_echo_n "checking for dgettext in libc... " >&6; }
5778 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
5779 $as_echo_n "(cached) " >&6
5781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5782 /* end confdefs.h. */
5784 #include <libintl.h>
5789 return !dgettext ("","")
5794 if ac_fn_c_try_link
"$LINENO"; then :
5795 gt_cv_func_dgettext_libc
=yes
5797 gt_cv_func_dgettext_libc
=no
5799 rm -f core conftest.err conftest.
$ac_objext \
5800 conftest
$ac_exeext conftest.
$ac_ext
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5804 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
5807 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5808 for ac_func
in bind_textdomain_codeset
5810 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5811 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
5812 cat >>confdefs.h
<<_ACEOF
5813 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5822 # If we don't have everything we want, check in libintl
5824 if test "$gt_cv_func_dgettext_libc" != "yes" \
5825 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
5826 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5829 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5830 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
5831 $as_echo_n "(cached) " >&6
5833 ac_check_lib_save_LIBS
=$LIBS
5835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5836 /* end confdefs.h. */
5838 /* Override any GCC internal prototype to avoid an error.
5839 Use char because int might match the return type of a GCC
5840 builtin and then its argument prototype would still apply. */
5844 char bindtextdomain ();
5848 return bindtextdomain ();
5853 if ac_fn_c_try_link
"$LINENO"; then :
5854 ac_cv_lib_intl_bindtextdomain
=yes
5856 ac_cv_lib_intl_bindtextdomain
=no
5858 rm -f core conftest.err conftest.
$ac_objext \
5859 conftest
$ac_exeext conftest.
$ac_ext
5860 LIBS
=$ac_check_lib_save_LIBS
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5863 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5864 if test "x$ac_cv_lib_intl_bindtextdomain" = x
""yes; then :
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5866 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5867 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5868 $as_echo_n "(cached) " >&6
5870 ac_check_lib_save_LIBS
=$LIBS
5872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5875 /* Override any GCC internal prototype to avoid an error.
5876 Use char because int might match the return type of a GCC
5877 builtin and then its argument prototype would still apply. */
5890 if ac_fn_c_try_link
"$LINENO"; then :
5891 ac_cv_lib_intl_ngettext
=yes
5893 ac_cv_lib_intl_ngettext
=no
5895 rm -f core conftest.err conftest.
$ac_objext \
5896 conftest
$ac_exeext conftest.
$ac_ext
5897 LIBS
=$ac_check_lib_save_LIBS
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5900 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5901 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5903 $as_echo_n "checking for dgettext in -lintl... " >&6; }
5904 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
5905 $as_echo_n "(cached) " >&6
5907 ac_check_lib_save_LIBS
=$LIBS
5909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5912 /* Override any GCC internal prototype to avoid an error.
5913 Use char because int might match the return type of a GCC
5914 builtin and then its argument prototype would still apply. */
5927 if ac_fn_c_try_link
"$LINENO"; then :
5928 ac_cv_lib_intl_dgettext
=yes
5930 ac_cv_lib_intl_dgettext
=no
5932 rm -f core conftest.err conftest.
$ac_objext \
5933 conftest
$ac_exeext conftest.
$ac_ext
5934 LIBS
=$ac_check_lib_save_LIBS
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5937 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5938 if test "x$ac_cv_lib_intl_dgettext" = x
""yes; then :
5939 gt_cv_func_dgettext_libintl
=yes
5947 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5949 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5953 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5954 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5955 $as_echo_n "(cached) " >&6
5957 ac_check_lib_save_LIBS
=$LIBS
5958 LIBS
="-lintl -liconv $LIBS"
5959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5960 /* end confdefs.h. */
5962 /* Override any GCC internal prototype to avoid an error.
5963 Use char because int might match the return type of a GCC
5964 builtin and then its argument prototype would still apply. */
5977 if ac_fn_c_try_link
"$LINENO"; then :
5978 ac_cv_lib_intl_ngettext
=yes
5980 ac_cv_lib_intl_ngettext
=no
5982 rm -f core conftest.err conftest.
$ac_objext \
5983 conftest
$ac_exeext conftest.
$ac_ext
5984 LIBS
=$ac_check_lib_save_LIBS
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5987 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5988 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5990 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
5991 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5994 ac_check_lib_save_LIBS
=$LIBS
5995 LIBS
="-lintl -liconv $LIBS"
5996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
5999 /* Override any GCC internal prototype to avoid an error.
6000 Use char because int might match the return type of a GCC
6001 builtin and then its argument prototype would still apply. */
6009 return dcgettext ();
6014 if ac_fn_c_try_link
"$LINENO"; then :
6015 ac_cv_lib_intl_dcgettext
=yes
6017 ac_cv_lib_intl_dcgettext
=no
6019 rm -f core conftest.err conftest.
$ac_objext \
6020 conftest
$ac_exeext conftest.
$ac_ext
6021 LIBS
=$ac_check_lib_save_LIBS
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6024 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6025 if test "x$ac_cv_lib_intl_dcgettext" = x
""yes; then :
6026 gt_cv_func_dgettext_libintl
=yes
6027 libintl_extra_libs
=-liconv
6039 # If we found libintl, then check in it for bind_textdomain_codeset();
6040 # we'll prefer libc if neither have bind_textdomain_codeset(),
6041 # and both have dgettext and ngettext
6043 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6044 glib_save_LIBS
="$LIBS"
6045 LIBS
="$LIBS -lintl $libintl_extra_libs"
6046 unset ac_cv_func_bind_textdomain_codeset
6047 for ac_func
in bind_textdomain_codeset
6049 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6050 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
6051 cat >>confdefs.h
<<_ACEOF
6052 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
6058 LIBS
="$glib_save_LIBS"
6060 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6061 gt_cv_func_dgettext_libc
=no
6063 if test "$gt_cv_func_dgettext_libc" = "yes" \
6064 && test "$gt_cv_func_ngettext_libc" = "yes"; then
6065 gt_cv_func_dgettext_libintl
=no
6071 if test "$gt_cv_func_dgettext_libc" = "yes" \
6072 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
6073 gt_cv_have_gettext
=yes
6076 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6077 INTLLIBS
="-lintl $libintl_extra_libs"
6080 if test "$gt_cv_have_gettext" = "yes"; then
6082 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6084 # Extract the first word of "msgfmt", so it can be a program name with args.
6085 set dummy msgfmt
; ac_word
=$2
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 $as_echo_n "checking for $ac_word... " >&6; }
6088 if test "${ac_cv_path_MSGFMT+set}" = set; then :
6089 $as_echo_n "(cached) " >&6
6093 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6096 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6097 for ac_dir
in $PATH; do
6098 test -z "$ac_dir" && ac_dir
=.
6099 if test -f $ac_dir/$ac_word; then
6100 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6101 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6107 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
6111 MSGFMT
="$ac_cv_path_MSGFMT"
6112 if test "$MSGFMT" != "no"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6114 $as_echo "$MSGFMT" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6119 if test "$MSGFMT" != "no"; then
6120 glib_save_LIBS
="$LIBS"
6121 LIBS
="$LIBS $INTLLIBS"
6122 for ac_func
in dcgettext
6124 ac_fn_c_check_func
"$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6125 if test "x$ac_cv_func_dcgettext" = x
""yes; then :
6126 cat >>confdefs.h
<<_ACEOF
6127 #define HAVE_DCGETTEXT 1
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6135 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
6136 cat >conftest.foo
<<_ACEOF
6140 "Content-Type: text/plain; charset=UTF-8\n"
6141 "Project-Id-Version: test 1.0\n"
6142 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
6143 "Last-Translator: test <foo@bar.xx>\n"
6144 "Language-Team: C <LL@li.org>\n"
6145 "MIME-Version: 1.0\n"
6146 "Content-Transfer-Encoding: 8bit\n"
6149 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6150 ($MSGFMT -c -o /dev
/null conftest.foo
) 2>&5
6152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6153 test $ac_status = 0; }; then
6154 MSGFMT_OPTS
=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6155 $as_echo "yes" >&6; }
6156 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6158 echo "$as_me: failed input was:" >&5
6159 sed 's/^/| /' conftest.foo
>&5
6162 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6163 set dummy gmsgfmt
; ac_word
=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6167 $as_echo_n "(cached) " >&6
6171 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6178 test -z "$as_dir" && as_dir
=.
6179 for ac_exec_ext
in '' $ac_executable_extensions; do
6180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6193 GMSGFMT
=$ac_cv_path_GMSGFMT
6194 if test -n "$GMSGFMT"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6196 $as_echo "$GMSGFMT" >&6; }
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6203 # Extract the first word of "xgettext", so it can be a program name with args.
6204 set dummy xgettext
; ac_word
=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6208 $as_echo_n "(cached) " >&6
6212 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6215 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6216 for ac_dir
in $PATH; do
6217 test -z "$ac_dir" && ac_dir
=.
6218 if test -f $ac_dir/$ac_word; then
6219 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6220 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6226 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6230 XGETTEXT
="$ac_cv_path_XGETTEXT"
6231 if test "$XGETTEXT" != ":"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6233 $as_echo "$XGETTEXT" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6245 extern int _nl_msg_cat_cntr;
6246 return _nl_msg_cat_cntr
6251 if ac_fn_c_try_link
"$LINENO"; then :
6257 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6258 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
6273 rm -f core conftest.err conftest.
$ac_objext \
6274 conftest
$ac_exeext conftest.
$ac_ext
6275 LIBS
="$glib_save_LIBS"
6278 gt_cv_have_gettext
=no
6286 if test "$gt_cv_have_gettext" = "yes" ; then
6288 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6292 if test "$XGETTEXT" != ":"; then
6293 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6297 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6302 # We need to process the po/ directory.
6305 ac_config_commands
="$ac_config_commands default-1"
6308 for lang
in $ALL_LINGUAS; do
6309 GMOFILES
="$GMOFILES $lang.gmo"
6310 POFILES
="$POFILES $lang.po"
6325 if test "$gt_cv_have_gettext" = "yes"; then
6326 if test "x$ALL_LINGUAS" = "x"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6330 $as_echo_n "checking for catalogs to be installed... " >&6; }
6332 for presentlang
in $ALL_LINGUAS; do
6334 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6335 desiredlanguages
="$LINGUAS"
6337 desiredlanguages
="$ALL_LINGUAS"
6339 for desiredlang
in $desiredlanguages; do
6340 # Use the presentlang catalog if desiredlang is
6341 # a. equal to presentlang, or
6342 # b. a variant of presentlang (because in this case,
6343 # presentlang can be used as a fallback for messages
6344 # which are not translated in the desiredlang catalog).
6345 case "$desiredlang" in
6346 "$presentlang"*) useit
=yes;;
6349 if test $useit = yes; then
6350 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
6353 LINGUAS
=$NEW_LINGUAS
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6355 $as_echo "$LINGUAS" >&6; }
6358 if test -n "$LINGUAS"; then
6359 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
6364 if test -n "$ac_aux_dir"; then
6365 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
6367 if test -z "$MKINSTALLDIRS"; then
6368 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
6372 test -d po || mkdir po
6373 if test "x$srcdir" != "x."; then
6374 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6375 posrcprefix
="$srcdir/"
6377 posrcprefix
="../$srcdir/"
6383 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6384 < $srcdir/po
/POTFILES.
in > po
/POTFILES
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6388 $as_echo_n "checking whether NLS is requested... " >&6; }
6389 # Check whether --enable-nls was given.
6390 if test "${enable_nls+set}" = set; then :
6391 enableval
=$enable_nls; USE_NLS
=$enableval
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6397 $as_echo "$USE_NLS" >&6; }
6402 case "$am__api_version" in
6404 as_fn_error
"Automake 1.5 or newer is required to use intltool" "$LINENO" 5
6410 if test -n "0.35.0"; then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
6412 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
6414 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6415 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
6416 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
6419 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
6420 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6421 as_fn_error
"Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
6424 # Extract the first word of "intltool-update", so it can be a program name with args.
6425 set dummy intltool-update
; ac_word
=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
6429 $as_echo_n "(cached) " >&6
6431 case $INTLTOOL_UPDATE in
6433 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
6436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6440 test -z "$as_dir" && as_dir
=.
6441 for ac_exec_ext
in '' $ac_executable_extensions; do
6442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6443 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
6455 if test -n "$INTLTOOL_UPDATE"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
6457 $as_echo "$INTLTOOL_UPDATE" >&6; }
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6464 # Extract the first word of "intltool-merge", so it can be a program name with args.
6465 set dummy intltool-merge
; ac_word
=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
6469 $as_echo_n "(cached) " >&6
6471 case $INTLTOOL_MERGE in
6473 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
6476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6480 test -z "$as_dir" && as_dir
=.
6481 for ac_exec_ext
in '' $ac_executable_extensions; do
6482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6483 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
6495 if test -n "$INTLTOOL_MERGE"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
6497 $as_echo "$INTLTOOL_MERGE" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6504 # Extract the first word of "intltool-extract", so it can be a program name with args.
6505 set dummy intltool-extract
; ac_word
=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
6509 $as_echo_n "(cached) " >&6
6511 case $INTLTOOL_EXTRACT in
6513 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
6516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6520 test -z "$as_dir" && as_dir
=.
6521 for ac_exec_ext
in '' $ac_executable_extensions; do
6522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6523 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
6535 if test -n "$INTLTOOL_EXTRACT"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
6537 $as_echo "$INTLTOOL_EXTRACT" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6544 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
6545 as_fn_error
"The intltool scripts were not found. Please install intltool." "$LINENO" 5
6548 INTLTOOL_DESKTOP_RULE
='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6549 INTLTOOL_DIRECTORY_RULE
='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6550 INTLTOOL_KEYS_RULE
='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6551 INTLTOOL_PROP_RULE
='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6552 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
6553 INTLTOOL_PONG_RULE
='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6554 INTLTOOL_SERVER_RULE
='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6555 INTLTOOL_SHEET_RULE
='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6556 INTLTOOL_SOUNDLIST_RULE
='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6557 INTLTOOL_UI_RULE
='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6558 INTLTOOL_XML_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6559 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
6560 INTLTOOL_XAM_RULE
='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6561 INTLTOOL_KBD_RULE
='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6562 INTLTOOL_CAVES_RULE
='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6563 INTLTOOL_SCHEMAS_RULE
='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6564 INTLTOOL_THEME_RULE
='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6565 INTLTOOL_SERVICE_RULE
='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6566 INTLTOOL_POLICY_RULE
='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6664 # Check the gettext tools to make sure they are GNU
6665 # Extract the first word of "xgettext", so it can be a program name with args.
6666 set dummy xgettext
; ac_word
=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 $as_echo_n "checking for $ac_word... " >&6; }
6669 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6670 $as_echo_n "(cached) " >&6
6674 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir
=.
6682 for ac_exec_ext
in '' $ac_executable_extensions; do
6683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 XGETTEXT
=$ac_cv_path_XGETTEXT
6696 if test -n "$XGETTEXT"; then
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6698 $as_echo "$XGETTEXT" >&6; }
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6705 # Extract the first word of "msgmerge", so it can be a program name with args.
6706 set dummy msgmerge
; ac_word
=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
6710 $as_echo_n "(cached) " >&6
6714 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir
=.
6722 for ac_exec_ext
in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 MSGMERGE
=$ac_cv_path_MSGMERGE
6736 if test -n "$MSGMERGE"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6738 $as_echo "$MSGMERGE" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6745 # Extract the first word of "msgfmt", so it can be a program name with args.
6746 set dummy msgfmt
; ac_word
=$2
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748 $as_echo_n "checking for $ac_word... " >&6; }
6749 if test "${ac_cv_path_MSGFMT+set}" = set; then :
6750 $as_echo_n "(cached) " >&6
6754 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6761 test -z "$as_dir" && as_dir
=.
6762 for ac_exec_ext
in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 MSGFMT
=$ac_cv_path_MSGFMT
6776 if test -n "$MSGFMT"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6778 $as_echo "$MSGFMT" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6785 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6786 set dummy gmsgfmt
; ac_word
=$2
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6788 $as_echo_n "checking for $ac_word... " >&6; }
6789 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6790 $as_echo_n "(cached) " >&6
6794 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6801 test -z "$as_dir" && as_dir
=.
6802 for ac_exec_ext
in '' $ac_executable_extensions; do
6803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6804 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6816 GMSGFMT
=$ac_cv_path_GMSGFMT
6817 if test -n "$GMSGFMT"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6819 $as_echo "$GMSGFMT" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6826 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6827 as_fn_error
"GNU gettext tools not found; required for intltool" "$LINENO" 5
6829 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6830 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6831 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6832 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6833 as_fn_error
"GNU gettext tools not found; required for intltool" "$LINENO" 5
6836 # Extract the first word of "perl", so it can be a program name with args.
6837 set dummy perl
; ac_word
=$2
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6839 $as_echo_n "checking for $ac_word... " >&6; }
6840 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
6841 $as_echo_n "(cached) " >&6
6843 case $INTLTOOL_PERL in
6845 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
6848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir
=.
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
6867 if test -n "$INTLTOOL_PERL"; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6869 $as_echo "$INTLTOOL_PERL" >&6; }
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 $as_echo "no" >&6; }
6876 if test -z "$INTLTOOL_PERL"; then
6877 as_fn_error
"perl not found" "$LINENO" 5
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6880 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
6881 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
6882 if test $?
-ne 0; then
6883 as_fn_error
"perl 5.8.1 is required for intltool" "$LINENO" 5
6885 IT_PERL_VERSION
="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6887 $as_echo "$IT_PERL_VERSION" >&6; }
6889 if test "x" != "xno-xml"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6891 $as_echo_n "checking for XML::Parser... " >&6; }
6892 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6894 $as_echo "ok" >&6; }
6896 as_fn_error
"XML::Parser perl module is required for intltool" "$LINENO" 5
6900 # Substitute ALL_LINGUAS so we can use it in po/Makefile
6903 # Set DATADIRNAME correctly if it is not set yet
6904 # (copied from glib-gettext.m4)
6905 if test -z "$DATADIRNAME"; then
6906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6907 /* end confdefs.h. */
6912 extern int _nl_msg_cat_cntr;
6913 return _nl_msg_cat_cntr
6918 if ac_fn_c_try_link
"$LINENO"; then :
6923 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6924 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
6936 rm -f core conftest.err conftest.
$ac_objext \
6937 conftest
$ac_exeext conftest.
$ac_ext
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6949 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6954 macro_version
='2.2.6b'
6955 macro_revision
='1.3017'
6969 ltmain
="$ac_aux_dir/ltmain.sh"
6971 # Make sure we can run config.sub.
6972 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
6973 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6976 $as_echo_n "checking build system type... " >&6; }
6977 if test "${ac_cv_build+set}" = set; then :
6978 $as_echo_n "(cached) " >&6
6980 ac_build_alias
=$build_alias
6981 test "x$ac_build_alias" = x
&&
6982 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
6983 test "x$ac_build_alias" = x
&&
6984 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
6985 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6986 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6990 $as_echo "$ac_cv_build" >&6; }
6991 case $ac_cv_build in
6993 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
6996 ac_save_IFS
=$IFS; IFS
='-'
7002 # Remember, the first character of IFS is used to create $*,
7003 # except with old shells:
7006 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7010 $as_echo_n "checking host system type... " >&6; }
7011 if test "${ac_cv_host+set}" = set; then :
7012 $as_echo_n "(cached) " >&6
7014 if test "x$host_alias" = x
; then
7015 ac_cv_host
=$ac_cv_build
7017 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7018 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7023 $as_echo "$ac_cv_host" >&6; }
7026 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
7029 ac_save_IFS
=$IFS; IFS
='-'
7035 # Remember, the first character of IFS is used to create $*,
7036 # except with old shells:
7039 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7043 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7044 if test "${ac_cv_path_SED+set}" = set; then :
7045 $as_echo_n "(cached) " >&6
7047 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
7048 for ac_i
in 1 2 3 4 5 6 7; do
7049 ac_script
="$ac_script$as_nl$ac_script"
7051 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
7052 { ac_script
=; unset ac_script
;}
7053 if test -z "$SED"; then
7054 ac_path_SED_found
=false
7055 # Loop through the user's path and test for each of PROGNAME-LIST
7056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7060 test -z "$as_dir" && as_dir
=.
7061 for ac_prog
in sed gsed
; do
7062 for ac_exec_ext
in '' $ac_executable_extensions; do
7063 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
7064 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
7065 # Check for GNU ac_path_SED and select it if it is found.
7066 # Check for GNU $ac_path_SED
7067 case `"$ac_path_SED" --version 2>&1` in
7069 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7072 $as_echo_n 0123456789 >"conftest.in"
7075 cat "conftest.in" "conftest.in" >"conftest.tmp"
7076 mv "conftest.tmp" "conftest.in"
7077 cp "conftest.in" "conftest.nl"
7078 $as_echo '' >> "conftest.nl"
7079 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7080 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7081 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7082 if test $ac_count -gt ${ac_path_SED_max-0}; then
7083 # Best one so far, save it but keep looking for a better one
7084 ac_cv_path_SED
="$ac_path_SED"
7085 ac_path_SED_max
=$ac_count
7087 # 10*(2^10) chars as input seems more than enough
7088 test $ac_count -gt 10 && break
7090 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7093 $ac_path_SED_found && break 3
7098 if test -z "$ac_cv_path_SED"; then
7099 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7107 $as_echo "$ac_cv_path_SED" >&6; }
7108 SED
="$ac_cv_path_SED"
7111 test -z "$SED" && SED
=sed
7112 Xsed
="$SED -e 1s/^X//"
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7125 $as_echo_n "checking for fgrep... " >&6; }
7126 if test "${ac_cv_path_FGREP+set}" = set; then :
7127 $as_echo_n "(cached) " >&6
7129 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
7130 then ac_cv_path_FGREP
="$GREP -F"
7132 if test -z "$FGREP"; then
7133 ac_path_FGREP_found
=false
7134 # Loop through the user's path and test for each of PROGNAME-LIST
7135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7136 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7139 test -z "$as_dir" && as_dir
=.
7140 for ac_prog
in fgrep
; do
7141 for ac_exec_ext
in '' $ac_executable_extensions; do
7142 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7143 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
7144 # Check for GNU ac_path_FGREP and select it if it is found.
7145 # Check for GNU $ac_path_FGREP
7146 case `"$ac_path_FGREP" --version 2>&1` in
7148 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7151 $as_echo_n 0123456789 >"conftest.in"
7154 cat "conftest.in" "conftest.in" >"conftest.tmp"
7155 mv "conftest.tmp" "conftest.in"
7156 cp "conftest.in" "conftest.nl"
7157 $as_echo 'FGREP' >> "conftest.nl"
7158 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7159 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7160 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7161 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7162 # Best one so far, save it but keep looking for a better one
7163 ac_cv_path_FGREP
="$ac_path_FGREP"
7164 ac_path_FGREP_max
=$ac_count
7166 # 10*(2^10) chars as input seems more than enough
7167 test $ac_count -gt 10 && break
7169 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7172 $ac_path_FGREP_found && break 3
7177 if test -z "$ac_cv_path_FGREP"; then
7178 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7181 ac_cv_path_FGREP
=$FGREP
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7187 $as_echo "$ac_cv_path_FGREP" >&6; }
7188 FGREP
="$ac_cv_path_FGREP"
7191 test -z "$GREP" && GREP
=grep
7211 # Check whether --with-gnu-ld was given.
7212 if test "${with_gnu_ld+set}" = set; then :
7213 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7219 if test "$GCC" = yes; then
7220 # Check if gcc -print-prog-name=ld gives a path.
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7222 $as_echo_n "checking for ld used by $CC... " >&6; }
7225 # gcc leaves a trailing carriage return which upsets mingw
7226 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7228 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7231 # Accept absolute paths.
7233 re_direlt
='/[^/][^/]*/\.\./'
7234 # Canonicalize the pathname of ld
7235 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7236 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7237 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7239 test -z "$LD" && LD
="$ac_prog"
7242 # If it fails, then pretend we aren't using GCC.
7246 # If it is relative, then search for the first ld in PATH.
7250 elif test "$with_gnu_ld" = yes; then
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7252 $as_echo_n "checking for GNU ld... " >&6; }
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7255 $as_echo_n "checking for non-GNU ld... " >&6; }
7257 if test "${lt_cv_path_LD+set}" = set; then :
7258 $as_echo_n "(cached) " >&6
7260 if test -z "$LD"; then
7261 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7262 for ac_dir
in $PATH; do
7264 test -z "$ac_dir" && ac_dir
=.
7265 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7266 lt_cv_path_LD
="$ac_dir/$ac_prog"
7267 # Check to see if the program is GNU ld. I'd rather use --version,
7268 # but apparently some variants of GNU ld only accept -v.
7269 # Break only if it was the GNU/non-GNU ld that we prefer.
7270 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7271 *GNU
* |
*'with BFD'*)
7272 test "$with_gnu_ld" != no
&& break
7275 test "$with_gnu_ld" != yes && break
7282 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7287 if test -n "$LD"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7289 $as_echo "$LD" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7294 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7296 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7297 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7298 $as_echo_n "(cached) " >&6
7300 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7301 case `$LD -v 2>&1 </dev/null` in
7302 *GNU
* |
*'with BFD'*)
7303 lt_cv_prog_gnu_ld
=yes
7306 lt_cv_prog_gnu_ld
=no
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7311 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7312 with_gnu_ld
=$lt_cv_prog_gnu_ld
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7323 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7324 if test "${lt_cv_path_NM+set}" = set; then :
7325 $as_echo_n "(cached) " >&6
7327 if test -n "$NM"; then
7328 # Let the user override the test.
7331 lt_nm_to_check
="${ac_tool_prefix}nm"
7332 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7333 lt_nm_to_check
="$lt_nm_to_check nm"
7335 for lt_tmp_nm
in $lt_nm_to_check; do
7336 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7337 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7339 test -z "$ac_dir" && ac_dir
=.
7340 tmp_nm
="$ac_dir/$lt_tmp_nm"
7341 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7342 # Check to see if the nm accepts a BSD-compat flag.
7343 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7344 # nm: unknown option "B" ignored
7345 # Tru64's nm complains that /dev/null is an invalid object file
7346 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7347 */dev
/null
* |
*'Invalid file or object type'*)
7348 lt_cv_path_NM
="$tmp_nm -B"
7352 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7354 lt_cv_path_NM
="$tmp_nm -p"
7358 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7359 continue # so that we can try to find one that supports BSD flags
7368 : ${lt_cv_path_NM=no}
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7372 $as_echo "$lt_cv_path_NM" >&6; }
7373 if test "$lt_cv_path_NM" != "no"; then
7376 # Didn't find any BSD compatible name lister, look for dumpbin.
7377 if test -n "$ac_tool_prefix"; then
7378 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
7380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7381 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7385 $as_echo_n "(cached) " >&6
7387 if test -n "$DUMPBIN"; then
7388 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7394 test -z "$as_dir" && as_dir
=.
7395 for ac_exec_ext
in '' $ac_executable_extensions; do
7396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7397 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 DUMPBIN
=$ac_cv_prog_DUMPBIN
7408 if test -n "$DUMPBIN"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7410 $as_echo "$DUMPBIN" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7417 test -n "$DUMPBIN" && break
7420 if test -z "$DUMPBIN"; then
7421 ac_ct_DUMPBIN
=$DUMPBIN
7422 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
7424 # Extract the first word of "$ac_prog", so it can be a program name with args.
7425 set dummy
$ac_prog; ac_word
=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7429 $as_echo_n "(cached) " >&6
7431 if test -n "$ac_ct_DUMPBIN"; then
7432 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7438 test -z "$as_dir" && as_dir
=.
7439 for ac_exec_ext
in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7452 if test -n "$ac_ct_DUMPBIN"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7454 $as_echo "$ac_ct_DUMPBIN" >&6; }
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7461 test -n "$ac_ct_DUMPBIN" && break
7464 if test "x$ac_ct_DUMPBIN" = x
; then
7467 case $cross_compiling:$ac_tool_warned in
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7471 ac_tool_warned
=yes ;;
7473 DUMPBIN
=$ac_ct_DUMPBIN
7478 if test "$DUMPBIN" != ":"; then
7482 test -z "$NM" && NM
=nm
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7490 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7491 if test "${lt_cv_nm_interface+set}" = set; then :
7492 $as_echo_n "(cached) " >&6
7494 lt_cv_nm_interface
="BSD nm"
7495 echo "int some_variable = 0;" > conftest.
$ac_ext
7496 (eval echo "\"\$as_me:7496: $ac_compile\"" >&5)
7497 (eval "$ac_compile" 2>conftest.err
)
7498 cat conftest.err
>&5
7499 (eval echo "\"\$as_me:7499: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7500 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7501 cat conftest.err
>&5
7502 (eval echo "\"\$as_me:7502: output\"" >&5)
7503 cat conftest.out
>&5
7504 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7505 lt_cv_nm_interface
="MS dumpbin"
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7510 $as_echo "$lt_cv_nm_interface" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7513 $as_echo_n "checking whether ln -s works... " >&6; }
7515 if test "$LN_S" = "ln -s"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7517 $as_echo "yes" >&6; }
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7520 $as_echo "no, using $LN_S" >&6; }
7523 # find the maximum length of command line arguments
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7525 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7526 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7534 # On DJGPP, this test can blow up pretty badly due to problems in libc
7535 # (any single argument exceeding 2000 bytes causes a buffer overrun
7536 # during glob expansion). Even if it were fixed, the result of this
7537 # check would be larger than it should be.
7538 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7542 # Under GNU Hurd, this test is not required because there is
7543 # no limit to the length of command line arguments.
7544 # Libtool will interpret -1 as no limit whatsoever
7545 lt_cv_sys_max_cmd_len
=-1;
7548 cygwin
* | mingw
* | cegcc
*)
7549 # On Win9x/ME, this test blows up -- it succeeds, but takes
7550 # about 5 minutes as the teststring grows exponentially.
7551 # Worse, since 9x/ME are not pre-emptively multitasking,
7552 # you end up with a "frozen" computer, even though with patience
7553 # the test eventually succeeds (with a max line length of 256k).
7554 # Instead, let's just punt: use the minimum linelength reported by
7555 # all of the supported platforms: 8192 (on NT/2K/XP).
7556 lt_cv_sys_max_cmd_len
=8192;
7560 # On AmigaOS with pdksh, this test takes hours, literally.
7561 # So we just punt and use a minimum line length of 8192.
7562 lt_cv_sys_max_cmd_len
=8192;
7565 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7566 # This has been around since 386BSD, at least. Likely further.
7567 if test -x /sbin
/sysctl
; then
7568 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7569 elif test -x /usr
/sbin
/sysctl
; then
7570 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7572 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7574 # And add a safety zone
7575 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7576 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7580 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7581 lt_cv_sys_max_cmd_len
=196608
7585 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7586 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7587 # nice to cause kernel panics so lets avoid the loop below.
7588 # First set a reasonable default.
7589 lt_cv_sys_max_cmd_len
=16384
7591 if test -x /sbin
/sysconfig
; then
7592 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7593 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7598 lt_cv_sys_max_cmd_len
=102400
7600 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7601 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7602 if test -n "$kargmax"; then
7603 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7605 lt_cv_sys_max_cmd_len
=32768
7609 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7610 if test -n "$lt_cv_sys_max_cmd_len"; then
7611 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7612 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7614 # Make teststring a little bigger before we do anything with it.
7615 # a 1K string should be a reasonable start.
7616 for i
in 1 2 3 4 5 6 7 8 ; do
7617 teststring
=$teststring$teststring
7619 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7620 # If test is not a shell built-in, we'll probably end up computing a
7621 # maximum length that is only half of the actual maximum length, but
7623 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7624 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
7625 test $i != 17 # 1/2 MB should be enough
7628 teststring
=$teststring$teststring
7630 # Only check the string length outside the loop.
7631 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7633 # Add a significant safety factor because C++ compilers can tack on
7634 # massive amounts of additional arguments before passing them to the
7635 # linker. It appears as though 1/2 is a usable value.
7636 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7643 if test -n $lt_cv_sys_max_cmd_len ; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7645 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7648 $as_echo "none" >&6; }
7650 max_cmd_len
=$lt_cv_sys_max_cmd_len
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7662 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7663 # Try some XSI features
7666 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7668 && eval 'test $(( 1 + 1 )) -eq 2 \
7669 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7672 $as_echo "$xsi_shell" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7676 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7678 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7680 && lt_shell_append=yes
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7682 $as_echo "$lt_shell_append" >&6; }
7685 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7695 # test EBCDIC or ASCII
7696 case `echo X|tr X '\101'` in
7697 A) # ASCII based system
7698 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7699 lt_SP2NL='tr \040 \012'
7700 lt_NL2SP='tr \015\012 \040\040'
7702 *) # EBCDIC based system
7703 lt_SP2NL='tr \100 \n'
7704 lt_NL2SP='tr \r\n \100\100'
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7717 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7718 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7719 $as_echo_n "(cached
) " >&6
7721 lt_cv_ld_reload_flag='-r'
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7724 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7725 reload_flag=$lt_cv_ld_reload_flag
7726 case $reload_flag in
7728 *) reload_flag=" $reload_flag" ;;
7730 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7733 if test "$GCC" = yes; then
7734 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7736 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7749 if test -n "$ac_tool_prefix"; then
7750 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7751 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7753 $as_echo_n "checking
for $ac_word...
" >&6; }
7754 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7755 $as_echo_n "(cached
) " >&6
7757 if test -n "$OBJDUMP"; then
7758 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764 test -z "$as_dir" && as_dir=.
7765 for ac_exec_ext in '' $ac_executable_extensions; do
7766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7777 OBJDUMP=$ac_cv_prog_OBJDUMP
7778 if test -n "$OBJDUMP"; then
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7780 $as_echo "$OBJDUMP" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7783 $as_echo "no
" >&6; }
7788 if test -z "$ac_cv_prog_OBJDUMP"; then
7789 ac_ct_OBJDUMP=$OBJDUMP
7790 # Extract the first word of "objdump
", so it can be a program name with args.
7791 set dummy objdump; ac_word=$2
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7793 $as_echo_n "checking
for $ac_word...
" >&6; }
7794 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7795 $as_echo_n "(cached
) " >&6
7797 if test -n "$ac_ct_OBJDUMP"; then
7798 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7804 test -z "$as_dir" && as_dir=.
7805 for ac_exec_ext in '' $ac_executable_extensions; do
7806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7807 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7817 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7818 if test -n "$ac_ct_OBJDUMP"; then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7820 $as_echo "$ac_ct_OBJDUMP" >&6; }
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7823 $as_echo "no
" >&6; }
7826 if test "x
$ac_ct_OBJDUMP" = x; then
7829 case $cross_compiling:$ac_tool_warned in
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7832 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7833 ac_tool_warned=yes ;;
7835 OBJDUMP=$ac_ct_OBJDUMP
7838 OBJDUMP="$ac_cv_prog_OBJDUMP"
7841 test -z "$OBJDUMP" && OBJDUMP=objdump
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7852 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7853 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7854 $as_echo_n "(cached
) " >&6
7856 lt_cv_file_magic_cmd='$MAGIC_CMD'
7857 lt_cv_file_magic_test_file=
7858 lt_cv_deplibs_check_method='unknown'
7859 # Need to set the preceding variable on all platforms that support
7860 # interlibrary dependencies.
7861 # 'none' -- dependencies not supported.
7862 # `unknown' -- same as none, but documents that we really don't know.
7863 # 'pass_all' -- all dependencies passed with no checks.
7864 # 'test_compile' -- check by making test program.
7865 # 'file_magic [[regex]]' -- check by looking for files in library path
7866 # which responds to the $file_magic_cmd with a given extended regex.
7867 # If you have `file' or equivalent on your system and you're not sure
7868 # whether `pass_all' will *always* work, you probably want this one.
7872 lt_cv_deplibs_check_method=pass_all
7876 lt_cv_deplibs_check_method=pass_all
7880 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7881 lt_cv_file_magic_cmd='/usr/bin/file -L'
7882 lt_cv_file_magic_test_file=/shlib/libc.so
7886 # func_win32_libid is a shell function defined in ltmain.sh
7887 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7888 lt_cv_file_magic_cmd='func_win32_libid'
7892 # Base MSYS/MinGW do not provide the 'file' command needed by
7893 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7894 # unless we find 'file', for example because we are cross-compiling.
7895 if ( file / ) >/dev/null 2>&1; then
7896 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7897 lt_cv_file_magic_cmd='func_win32_libid'
7899 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7900 lt_cv_file_magic_cmd='$OBJDUMP -f'
7905 # use the weaker test based on 'objdump'. See mingw*.
7906 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7907 lt_cv_file_magic_cmd='$OBJDUMP -f'
7910 darwin* | rhapsody*)
7911 lt_cv_deplibs_check_method=pass_all
7914 freebsd* | dragonfly*)
7915 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7918 # Not sure whether the presence of OpenBSD here was a mistake.
7919 # Let's accept both of them until this is cleared up.
7920 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7921 lt_cv_file_magic_cmd=/usr/bin/file
7922 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7926 lt_cv_deplibs_check_method=pass_all
7931 lt_cv_deplibs_check_method=pass_all
7934 hpux10.20* | hpux11*)
7935 lt_cv_file_magic_cmd=/usr/bin/file
7938 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7939 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7942 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7943 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7946 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7947 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7953 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7954 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7957 irix5* | irix6* | nonstopux*)
7959 *-32|*"-32 ") libmagic=32-bit;;
7960 *-n32|*"-n32 ") libmagic=N32;;
7961 *-64|*"-64 ") libmagic=64-bit;;
7962 *) libmagic=never-match;;
7964 lt_cv_deplibs_check_method=pass_all
7967 # This must be Linux ELF.
7968 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7969 lt_cv_deplibs_check_method=pass_all
7972 netbsd* | netbsdelf*-gnu)
7973 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7974 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7976 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7981 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7982 lt_cv_file_magic_cmd=/usr/bin/file
7983 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7987 lt_cv_deplibs_check_method=pass_all
7991 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7992 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7994 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7998 osf3* | osf4* | osf5*)
7999 lt_cv_deplibs_check_method=pass_all
8003 lt_cv_deplibs_check_method=pass_all
8007 lt_cv_deplibs_check_method=pass_all
8010 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8011 lt_cv_deplibs_check_method=pass_all
8015 case $host_vendor in
8017 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]'
8018 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8021 lt_cv_deplibs_check_method=pass_all
8024 lt_cv_file_magic_cmd='/bin/file'
8025 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8028 lt_cv_file_magic_cmd='/bin/file'
8029 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
8030 lt_cv_file_magic_test_file=/lib/libc.so
8033 lt_cv_deplibs_check_method=pass_all
8036 lt_cv_deplibs_check_method=pass_all
8042 lt_cv_deplibs_check_method=pass_all
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
8048 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8049 file_magic_cmd=$lt_cv_file_magic_cmd
8050 deplibs_check_method=$lt_cv_deplibs_check_method
8051 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8064 if test -n "$ac_tool_prefix"; then
8065 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8066 set dummy ${ac_tool_prefix}ar; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8068 $as_echo_n "checking
for $ac_word...
" >&6; }
8069 if test "${ac_cv_prog_AR+set}" = set; then :
8070 $as_echo_n "(cached
) " >&6
8072 if test -n "$AR"; then
8073 ac_cv_prog_AR="$AR" # Let the user override the test.
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8082 ac_cv_prog_AR="${ac_tool_prefix}ar"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8093 if test -n "$AR"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8095 $as_echo "$AR" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8098 $as_echo "no
" >&6; }
8103 if test -z "$ac_cv_prog_AR"; then
8105 # Extract the first word of "ar", so it can be a program name with args.
8106 set dummy ar; ac_word=$2
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8108 $as_echo_n "checking
for $ac_word...
" >&6; }
8109 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8110 $as_echo_n "(cached
) " >&6
8112 if test -n "$ac_ct_AR"; then
8113 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119 test -z "$as_dir" && as_dir=.
8120 for ac_exec_ext in '' $ac_executable_extensions; do
8121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8122 ac_cv_prog_ac_ct_AR="ar"
8123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8132 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8133 if test -n "$ac_ct_AR"; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
8135 $as_echo "$ac_ct_AR" >&6; }
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8138 $as_echo "no
" >&6; }
8141 if test "x
$ac_ct_AR" = x; then
8144 case $cross_compiling:$ac_tool_warned in
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8147 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8148 ac_tool_warned=yes ;;
8156 test -z "$AR" && AR=ar
8157 test -z "$AR_FLAGS" && AR_FLAGS=cru
8169 if test -n "$ac_tool_prefix"; then
8170 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
8171 set dummy ${ac_tool_prefix}strip; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8173 $as_echo_n "checking
for $ac_word...
" >&6; }
8174 if test "${ac_cv_prog_STRIP+set}" = set; then :
8175 $as_echo_n "(cached
) " >&6
8177 if test -n "$STRIP"; then
8178 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8187 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8197 STRIP=$ac_cv_prog_STRIP
8198 if test -n "$STRIP"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8200 $as_echo "$STRIP" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8203 $as_echo "no
" >&6; }
8208 if test -z "$ac_cv_prog_STRIP"; then
8210 # Extract the first word of "strip
", so it can be a program name with args.
8211 set dummy strip; ac_word=$2
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8213 $as_echo_n "checking
for $ac_word...
" >&6; }
8214 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8215 $as_echo_n "(cached
) " >&6
8217 if test -n "$ac_ct_STRIP"; then
8218 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 test -z "$as_dir" && as_dir=.
8225 for ac_exec_ext in '' $ac_executable_extensions; do
8226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8227 ac_cv_prog_ac_ct_STRIP="strip
"
8228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8237 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8238 if test -n "$ac_ct_STRIP"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8240 $as_echo "$ac_ct_STRIP" >&6; }
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8243 $as_echo "no
" >&6; }
8246 if test "x
$ac_ct_STRIP" = x; then
8249 case $cross_compiling:$ac_tool_warned in
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8252 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8253 ac_tool_warned=yes ;;
8258 STRIP="$ac_cv_prog_STRIP"
8261 test -z "$STRIP" && STRIP=:
8268 if test -n "$ac_tool_prefix"; then
8269 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8270 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8272 $as_echo_n "checking
for $ac_word...
" >&6; }
8273 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8274 $as_echo_n "(cached
) " >&6
8276 if test -n "$RANLIB"; then
8277 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8296 RANLIB=$ac_cv_prog_RANLIB
8297 if test -n "$RANLIB"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8299 $as_echo "$RANLIB" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8302 $as_echo "no
" >&6; }
8307 if test -z "$ac_cv_prog_RANLIB"; then
8308 ac_ct_RANLIB=$RANLIB
8309 # Extract the first word of "ranlib
", so it can be a program name with args.
8310 set dummy ranlib; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8312 $as_echo_n "checking
for $ac_word...
" >&6; }
8313 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8314 $as_echo_n "(cached
) " >&6
8316 if test -n "$ac_ct_RANLIB"; then
8317 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8326 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8336 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8337 if test -n "$ac_ct_RANLIB"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8339 $as_echo "$ac_ct_RANLIB" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8342 $as_echo "no
" >&6; }
8345 if test "x
$ac_ct_RANLIB" = x; then
8348 case $cross_compiling:$ac_tool_warned in
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8351 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8352 ac_tool_warned=yes ;;
8354 RANLIB=$ac_ct_RANLIB
8357 RANLIB="$ac_cv_prog_RANLIB"
8360 test -z "$RANLIB" && RANLIB=:
8367 # Determine commands to create old-style static archives.
8368 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8369 old_postinstall_cmds='chmod 644 $oldlib'
8370 old_postuninstall_cmds=
8372 if test -n "$RANLIB"; then
8375 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8378 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8381 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8417 # If no C compiler was specified, use CC.
8420 # If no C compiler flags were specified, use CFLAGS.
8421 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8423 # Allow CC to be a program name with arguments.
8427 # Check for command to grab the raw symbol name followed by C symbol from nm.
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8429 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8430 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8431 $as_echo_n "(cached
) " >&6
8434 # These are sane defaults that work on at least a few old systems.
8435 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8437 # Character class describing NM global symbol codes.
8438 symcode='[BCDEGRST]'
8440 # Regexp to match symbols that can be accessed directly from C.
8441 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8443 # Define system-specific variables.
8448 cygwin* | mingw* | pw32* | cegcc*)
8449 symcode='[ABCDGISTW]'
8452 if test "$host_cpu" = ia64; then
8453 symcode='[ABCDEGRST]'
8457 symcode='[BCDEGRST]'
8460 symcode='[BCDEGQRST]'
8471 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8479 # If we're using GNU nm, then use its standard symbol codes.
8480 case `$NM -V 2>&1` in
8481 *GNU* | *'with BFD'*)
8482 symcode='[ABCDGIRSTW]' ;;
8485 # Transform an extracted symbol line into a proper C declaration.
8486 # Some systems (esp. on ia64) link data and code symbols differently,
8487 # so use this general approach.
8488 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8490 # Transform an extracted symbol line into symbol name and symbol address
8491 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8492 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'"
8494 # Handle CRLF in mingw tool chain
8498 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8502 # Try without a prefix underscore, then with it.
8503 for ac_symprfx in "" "_
"; do
8505 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8506 symxfrm="\\1 $ac_symprfx\\2 \\2"
8508 # Write the raw and C identifiers.
8509 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8510 # Fake it for dumpbin and say T for any non-static function
8511 # and D for any global variable.
8512 # Also find C++ and __fastcall symbols from MSVC++,
8513 # which start with @ or ?.
8514 lt_cv_sys_global_symbol_pipe="$AWK '"\
8515 " {last_section=section; section=\$ 3};"\
8516 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8517 " \$ 0!~/External *\|/{next};"\
8518 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8519 " {if(hide[section]) next};"\
8520 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8521 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8522 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8523 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8524 " ' prfx
=^
$ac_symprfx"
8526 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8529 # Check to see that the pipe works correctly.
8533 cat > conftest.$ac_ext <<_LT_EOF
8538 void nm_test_func(void);
8539 void nm_test_func(void){}
8543 int main(){nm_test_var='a';nm_test_func();return(0);}
8546 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8547 (eval $ac_compile) 2>&5
8549 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8550 test $ac_status = 0; }; then
8551 # Now try to grab the symbols.
8553 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
8554 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8556 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8557 test $ac_status = 0; } && test -s "$nlist"; then
8558 # Try sorting and uniquifying the output.
8559 if sort "$nlist" | uniq > "$nlist"T; then
8560 mv -f "$nlist"T "$nlist"
8565 # Make sure that we snagged all the symbols we need.
8566 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8567 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8568 cat <<_LT_EOF > conftest.$ac_ext
8574 # Now generate the symbol file.
8575 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8577 cat <<_LT_EOF >> conftest.$ac_ext
8579 /* The mapping between symbol names and symbols. */
8584 lt__PROGRAM__LTX_preloaded_symbols[] =
8586 { "@PROGRAM@
", (void *) 0 },
8588 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8589 cat <<\_LT_EOF >> conftest.$ac_ext
8593 /* This works around a problem in FreeBSD linker */
8594 #ifdef FREEBSD_WORKAROUND
8595 static const void *lt_preloaded_setup() {
8596 return lt__PROGRAM__LTX_preloaded_symbols;
8604 # Now try linking the two files.
8605 mv conftest.$ac_objext conftstm.$ac_objext
8606 lt_save_LIBS="$LIBS"
8607 lt_save_CFLAGS="$CFLAGS"
8608 LIBS="conftstm.
$ac_objext"
8609 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8610 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8611 (eval $ac_link) 2>&5
8613 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8614 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8617 LIBS="$lt_save_LIBS"
8618 CFLAGS="$lt_save_CFLAGS"
8620 echo "cannot
find nm_test_func
in $nlist" >&5
8623 echo "cannot
find nm_test_var
in $nlist" >&5
8626 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8629 echo "$progname: failed program was
:" >&5
8630 cat conftest.$ac_ext >&5
8632 rm -rf conftest* conftst*
8634 # Do not use the global_symbol_pipe unless it works.
8635 if test "$pipe_works" = yes; then
8638 lt_cv_sys_global_symbol_pipe=
8644 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8645 lt_cv_sys_global_symbol_to_cdecl=
8647 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8649 $as_echo "failed
" >&6; }
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8652 $as_echo "ok
" >&6; }
8676 # Check whether --enable-libtool-lock was given.
8677 if test "${enable_libtool_lock+set}" = set; then :
8678 enableval=$enable_libtool_lock;
8681 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8683 # Some flags need to be propagated to the compiler or linker for good
8687 # Find out which ABI we are using.
8688 echo 'int i;' > conftest.$ac_ext
8689 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8690 (eval $ac_compile) 2>&5
8692 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8693 test $ac_status = 0; }; then
8694 case `/usr/bin/file conftest.$ac_objext` in
8706 # Find out which ABI we are using.
8707 echo '#line 8707 "configure
"' > conftest.$ac_ext
8708 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8709 (eval $ac_compile) 2>&5
8711 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8712 test $ac_status = 0; }; then
8713 if test "$lt_cv_prog_gnu_ld" = yes; then
8714 case `/usr/bin/file conftest.$ac_objext` in
8716 LD="${LD-ld} -melf32bsmip"
8719 LD="${LD-ld} -melf32bmipn32"
8722 LD="${LD-ld} -melf64bmip"
8726 case `/usr/bin/file conftest.$ac_objext` in
8742 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8743 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8744 # Find out which ABI we are using.
8745 echo 'int i;' > conftest.$ac_ext
8746 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8747 (eval $ac_compile) 2>&5
8749 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8750 test $ac_status = 0; }; then
8751 case `/usr/bin/file conftest.o` in
8754 x86_64-*kfreebsd*-gnu)
8755 LD="${LD-ld} -m elf_i386_fbsd
"
8758 LD="${LD-ld} -m elf_i386
"
8760 ppc64-*linux*|powerpc64-*linux*)
8761 LD="${LD-ld} -m elf32ppclinux
"
8764 LD="${LD-ld} -m elf_s390
"
8767 LD="${LD-ld} -m elf32_sparc
"
8773 x86_64-*kfreebsd*-gnu)
8774 LD="${LD-ld} -m elf_x86_64_fbsd
"
8777 LD="${LD-ld} -m elf_x86_64
"
8779 ppc*-*linux*|powerpc*-*linux*)
8780 LD="${LD-ld} -m elf64ppc
"
8782 s390*-*linux*|s390*-*tpf*)
8783 LD="${LD-ld} -m elf64_s390
"
8786 LD="${LD-ld} -m elf64_sparc
"
8796 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8797 SAVE_CFLAGS="$CFLAGS"
8798 CFLAGS="$CFLAGS -belf"
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8800 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8801 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8802 $as_echo_n "(cached
) " >&6
8805 ac_cpp='$CPP $CPPFLAGS'
8806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8821 if ac_fn_c_try_link "$LINENO"; then :
8822 lt_cv_cc_needs_belf=yes
8824 lt_cv_cc_needs_belf=no
8826 rm -f core conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8836 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8837 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8838 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8839 CFLAGS="$SAVE_CFLAGS"
8843 # Find out which ABI we are using.
8844 echo 'int i;' > conftest.$ac_ext
8845 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8846 (eval $ac_compile) 2>&5
8848 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8849 test $ac_status = 0; }; then
8850 case `/usr/bin/file conftest.o` in
8852 case $lt_cv_prog_gnu_ld in
8853 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8855 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8867 need_locks="$enable_libtool_lock"
8871 rhapsody* | darwin*)
8872 if test -n "$ac_tool_prefix"; then
8873 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8874 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8876 $as_echo_n "checking
for $ac_word...
" >&6; }
8877 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8878 $as_echo_n "(cached
) " >&6
8880 if test -n "$DSYMUTIL"; then
8881 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8887 test -z "$as_dir" && as_dir=.
8888 for ac_exec_ext in '' $ac_executable_extensions; do
8889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8890 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8900 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8901 if test -n "$DSYMUTIL"; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8903 $as_echo "$DSYMUTIL" >&6; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8906 $as_echo "no
" >&6; }
8911 if test -z "$ac_cv_prog_DSYMUTIL"; then
8912 ac_ct_DSYMUTIL=$DSYMUTIL
8913 # Extract the first word of "dsymutil
", so it can be a program name with args.
8914 set dummy dsymutil; ac_word=$2
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8916 $as_echo_n "checking
for $ac_word...
" >&6; }
8917 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8918 $as_echo_n "(cached
) " >&6
8920 if test -n "$ac_ct_DSYMUTIL"; then
8921 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8927 test -z "$as_dir" && as_dir=.
8928 for ac_exec_ext in '' $ac_executable_extensions; do
8929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8930 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8940 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8941 if test -n "$ac_ct_DSYMUTIL"; then
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8943 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8946 $as_echo "no
" >&6; }
8949 if test "x
$ac_ct_DSYMUTIL" = x; then
8952 case $cross_compiling:$ac_tool_warned in
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8955 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8956 ac_tool_warned=yes ;;
8958 DSYMUTIL=$ac_ct_DSYMUTIL
8961 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8964 if test -n "$ac_tool_prefix"; then
8965 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8966 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8968 $as_echo_n "checking
for $ac_word...
" >&6; }
8969 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8970 $as_echo_n "(cached
) " >&6
8972 if test -n "$NMEDIT"; then
8973 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8979 test -z "$as_dir" && as_dir=.
8980 for ac_exec_ext in '' $ac_executable_extensions; do
8981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8982 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8992 NMEDIT=$ac_cv_prog_NMEDIT
8993 if test -n "$NMEDIT"; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8995 $as_echo "$NMEDIT" >&6; }
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8998 $as_echo "no
" >&6; }
9003 if test -z "$ac_cv_prog_NMEDIT"; then
9004 ac_ct_NMEDIT=$NMEDIT
9005 # Extract the first word of "nmedit
", so it can be a program name with args.
9006 set dummy nmedit; ac_word=$2
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9008 $as_echo_n "checking
for $ac_word...
" >&6; }
9009 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9010 $as_echo_n "(cached
) " >&6
9012 if test -n "$ac_ct_NMEDIT"; then
9013 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9019 test -z "$as_dir" && as_dir=.
9020 for ac_exec_ext in '' $ac_executable_extensions; do
9021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9022 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
9023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9032 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9033 if test -n "$ac_ct_NMEDIT"; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
9035 $as_echo "$ac_ct_NMEDIT" >&6; }
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9038 $as_echo "no
" >&6; }
9041 if test "x
$ac_ct_NMEDIT" = x; then
9044 case $cross_compiling:$ac_tool_warned in
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9047 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9048 ac_tool_warned=yes ;;
9050 NMEDIT=$ac_ct_NMEDIT
9053 NMEDIT="$ac_cv_prog_NMEDIT"
9056 if test -n "$ac_tool_prefix"; then
9057 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9058 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9060 $as_echo_n "checking
for $ac_word...
" >&6; }
9061 if test "${ac_cv_prog_LIPO+set}" = set; then :
9062 $as_echo_n "(cached
) " >&6
9064 if test -n "$LIPO"; then
9065 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9071 test -z "$as_dir" && as_dir=.
9072 for ac_exec_ext in '' $ac_executable_extensions; do
9073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9074 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9084 LIPO=$ac_cv_prog_LIPO
9085 if test -n "$LIPO"; then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9087 $as_echo "$LIPO" >&6; }
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9090 $as_echo "no
" >&6; }
9095 if test -z "$ac_cv_prog_LIPO"; then
9097 # Extract the first word of "lipo
", so it can be a program name with args.
9098 set dummy lipo; ac_word=$2
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9100 $as_echo_n "checking
for $ac_word...
" >&6; }
9101 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9102 $as_echo_n "(cached
) " >&6
9104 if test -n "$ac_ct_LIPO"; then
9105 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9111 test -z "$as_dir" && as_dir=.
9112 for ac_exec_ext in '' $ac_executable_extensions; do
9113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9114 ac_cv_prog_ac_ct_LIPO="lipo
"
9115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9124 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9125 if test -n "$ac_ct_LIPO"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9127 $as_echo "$ac_ct_LIPO" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9130 $as_echo "no
" >&6; }
9133 if test "x
$ac_ct_LIPO" = x; then
9136 case $cross_compiling:$ac_tool_warned in
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9139 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9140 ac_tool_warned=yes ;;
9145 LIPO="$ac_cv_prog_LIPO"
9148 if test -n "$ac_tool_prefix"; then
9149 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9150 set dummy ${ac_tool_prefix}otool; ac_word=$2
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9152 $as_echo_n "checking
for $ac_word...
" >&6; }
9153 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9154 $as_echo_n "(cached
) " >&6
9156 if test -n "$OTOOL"; then
9157 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 test -z "$as_dir" && as_dir=.
9164 for ac_exec_ext in '' $ac_executable_extensions; do
9165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9166 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9176 OTOOL=$ac_cv_prog_OTOOL
9177 if test -n "$OTOOL"; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9179 $as_echo "$OTOOL" >&6; }
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9182 $as_echo "no
" >&6; }
9187 if test -z "$ac_cv_prog_OTOOL"; then
9189 # Extract the first word of "otool
", so it can be a program name with args.
9190 set dummy otool; ac_word=$2
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9192 $as_echo_n "checking
for $ac_word...
" >&6; }
9193 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9194 $as_echo_n "(cached
) " >&6
9196 if test -n "$ac_ct_OTOOL"; then
9197 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9203 test -z "$as_dir" && as_dir=.
9204 for ac_exec_ext in '' $ac_executable_extensions; do
9205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9206 ac_cv_prog_ac_ct_OTOOL="otool
"
9207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9216 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9217 if test -n "$ac_ct_OTOOL"; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9219 $as_echo "$ac_ct_OTOOL" >&6; }
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9222 $as_echo "no
" >&6; }
9225 if test "x
$ac_ct_OTOOL" = x; then
9228 case $cross_compiling:$ac_tool_warned in
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9231 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9232 ac_tool_warned=yes ;;
9237 OTOOL="$ac_cv_prog_OTOOL"
9240 if test -n "$ac_tool_prefix"; then
9241 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9242 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9244 $as_echo_n "checking
for $ac_word...
" >&6; }
9245 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9246 $as_echo_n "(cached
) " >&6
9248 if test -n "$OTOOL64"; then
9249 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9255 test -z "$as_dir" && as_dir=.
9256 for ac_exec_ext in '' $ac_executable_extensions; do
9257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9258 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9259 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9268 OTOOL64=$ac_cv_prog_OTOOL64
9269 if test -n "$OTOOL64"; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9271 $as_echo "$OTOOL64" >&6; }
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9274 $as_echo "no
" >&6; }
9279 if test -z "$ac_cv_prog_OTOOL64"; then
9280 ac_ct_OTOOL64=$OTOOL64
9281 # Extract the first word of "otool64
", so it can be a program name with args.
9282 set dummy otool64; ac_word=$2
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9284 $as_echo_n "checking
for $ac_word...
" >&6; }
9285 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9286 $as_echo_n "(cached
) " >&6
9288 if test -n "$ac_ct_OTOOL64"; then
9289 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9295 test -z "$as_dir" && as_dir=.
9296 for ac_exec_ext in '' $ac_executable_extensions; do
9297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9298 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9308 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9309 if test -n "$ac_ct_OTOOL64"; then
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9311 $as_echo "$ac_ct_OTOOL64" >&6; }
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9314 $as_echo "no
" >&6; }
9317 if test "x
$ac_ct_OTOOL64" = x; then
9320 case $cross_compiling:$ac_tool_warned in
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9323 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9324 ac_tool_warned=yes ;;
9326 OTOOL64=$ac_ct_OTOOL64
9329 OTOOL64="$ac_cv_prog_OTOOL64"
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9359 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9360 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9361 $as_echo_n "(cached
) " >&6
9363 lt_cv_apple_cc_single_mod=no
9364 if test -z "${LT_MULTI_MODULE}"; then
9365 # By default we will add the -single_module flag. You can override
9366 # by either setting the environment variable LT_MULTI_MODULE
9367 # non-empty at configure time, or by adding -multi_module to the
9369 rm -rf libconftest.dylib*
9370 echo "int foo
(void
){return 1;}" > conftest.c
9371 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9372 -dynamiclib -Wl,-single_module conftest.c
" >&5
9373 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9374 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9376 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9377 lt_cv_apple_cc_single_mod=yes
9379 cat conftest.err >&5
9381 rm -rf libconftest.dylib*
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9386 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9388 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9389 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9390 $as_echo_n "(cached
) " >&6
9392 lt_cv_ld_exported_symbols_list=no
9393 save_LDFLAGS=$LDFLAGS
9394 echo "_main
" > conftest.sym
9395 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9407 if ac_fn_c_try_link "$LINENO"; then :
9408 lt_cv_ld_exported_symbols_list=yes
9410 lt_cv_ld_exported_symbols_list=no
9412 rm -f core conftest.err conftest.$ac_objext \
9413 conftest$ac_exeext conftest.$ac_ext
9414 LDFLAGS="$save_LDFLAGS"
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9418 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9420 rhapsody* | darwin1.[012])
9421 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9423 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9424 darwin*) # darwin 5.x on
9425 # if running on 10.5 or later, the deployment target defaults
9426 # to the OS version, if on x86, and 10.4, the deployment
9427 # target defaults to 10.4. Don't you love it?
9428 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9429 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9430 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9432 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9434 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9438 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9439 _lt_dar_single_mod='$single_module'
9441 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9442 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9444 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9446 if test "$DSYMUTIL" != ":"; then
9447 _lt_dsymutil='~$DSYMUTIL $lib || :'
9454 for ac_header in dlfcn.h
9456 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9458 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
9459 cat >>confdefs.h <<_ACEOF
9460 #define HAVE_DLFCN_H 1
9479 # Check whether --enable-shared was given.
9480 if test "${enable_shared+set}" = set; then :
9481 enableval=$enable_shared; p=${PACKAGE-default}
9483 yes) enable_shared=yes ;;
9484 no) enable_shared=no ;;
9487 # Look at the argument we got. We use all the common list separators.
9488 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9489 for pkg in $enableval; do
9491 if test "X
$pkg" = "X
$p"; then
9510 # Check whether --enable-static was given.
9511 if test "${enable_static+set}" = set; then :
9512 enableval=$enable_static; p=${PACKAGE-default}
9514 yes) enable_static=yes ;;
9515 no) enable_static=no ;;
9518 # Look at the argument we got. We use all the common list separators.
9519 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9520 for pkg in $enableval; do
9522 if test "X
$pkg" = "X
$p"; then
9542 # Check whether --with-pic was given.
9543 if test "${with_pic+set}" = set; then :
9544 withval=$with_pic; pic_mode="$withval"
9550 test -z "$pic_mode" && pic_mode=default
9558 # Check whether --enable-fast-install was given.
9559 if test "${enable_fast_install+set}" = set; then :
9560 enableval=$enable_fast_install; p=${PACKAGE-default}
9562 yes) enable_fast_install=yes ;;
9563 no) enable_fast_install=no ;;
9565 enable_fast_install=no
9566 # Look at the argument we got. We use all the common list separators.
9567 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9568 for pkg in $enableval; do
9570 if test "X
$pkg" = "X
$p"; then
9571 enable_fast_install=yes
9578 enable_fast_install=yes
9591 # This can be used to rebuild libtool when needed
9592 LIBTOOL_DEPS="$ltmain"
9594 # Always use our own libtool.
9595 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9621 test -z "$LN_S" && LN_S="ln -s"
9636 if test -n "${ZSH_VERSION+set}" ; then
9637 setopt NO_GLOB_SUBST
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9641 $as_echo_n "checking
for objdir...
" >&6; }
9642 if test "${lt_cv_objdir+set}" = set; then :
9643 $as_echo_n "(cached
) " >&6
9645 rm -f .libs 2>/dev/null
9646 mkdir .libs 2>/dev/null
9647 if test -d .libs; then
9650 # MS-DOS does not allow filenames that begin with a dot.
9653 rmdir .libs 2>/dev/null
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9656 $as_echo "$lt_cv_objdir" >&6; }
9657 objdir=$lt_cv_objdir
9663 cat >>confdefs.h <<_ACEOF
9664 #define LT_OBJDIR "$lt_cv_objdir/"
9685 # AIX sometimes has problems with the GCC collect2 program. For some
9686 # reason, if we set the COLLECT_NAMES environment variable, the problems
9687 # vanish in a puff of smoke.
9688 if test "X
${COLLECT_NAMES+set}" != Xset; then
9690 export COLLECT_NAMES
9695 # Sed substitution that helps us do robust quoting. It backslashifies
9696 # metacharacters that are still active within double-quoted strings.
9697 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9699 # Same as above, but do not quote variable references.
9700 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
9702 # Sed substitution to delay expansion of an escaped shell variable in a
9703 # double_quote_subst'ed string.
9704 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
9706 # Sed substitution to delay expansion of an escaped single quote.
9707 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
9709 # Sed substitution to avoid accidental globbing in evaled expressions
9710 no_glob_subst
='s/\*/\\\*/g'
9714 can_build_shared
=yes
9716 # All known linkers require a `.a' archive for static linking (except MSVC,
9717 # which needs '.lib').
9720 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9723 old_CFLAGS
="$CFLAGS"
9725 # Set sane defaults for various variables
9726 test -z "$CC" && CC
=cc
9727 test -z "$LTCC" && LTCC
=$CC
9728 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9729 test -z "$LD" && LD
=ld
9730 test -z "$ac_objext" && ac_objext
=o
9732 for cc_temp
in $compiler""; do
9734 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9735 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9740 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9743 # Only perform the check for file, if the check method requires it
9744 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9745 case $deplibs_check_method in
9747 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9749 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9750 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9751 $as_echo_n "(cached) " >&6
9755 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9758 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9759 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9760 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9761 for ac_dir
in $ac_dummy; do
9763 test -z "$ac_dir" && ac_dir
=.
9764 if test -f $ac_dir/${ac_tool_prefix}file; then
9765 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9766 if test -n "$file_magic_test_file"; then
9767 case $deplibs_check_method in
9769 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9770 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9771 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9772 $EGREP "$file_magic_regex" > /dev
/null
; then
9777 *** Warning: the command libtool uses to detect shared libraries,
9778 *** $file_magic_cmd, produces output that libtool cannot recognize.
9779 *** The result is that libtool may fail to recognize shared libraries
9780 *** as such. This will affect the creation of libtool libraries that
9781 *** depend on shared libraries, but programs linked with such libtool
9782 *** libraries will work regardless of this problem. Nevertheless, you
9783 *** may want to report the problem to your system manager and/or to
9784 *** bug-libtool@gnu.org
9794 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9799 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9800 if test -n "$MAGIC_CMD"; then
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9802 $as_echo "$MAGIC_CMD" >&6; }
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9805 $as_echo "no" >&6; }
9812 if test -z "$lt_cv_path_MAGIC_CMD"; then
9813 if test -n "$ac_tool_prefix"; then
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9815 $as_echo_n "checking for file... " >&6; }
9816 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9817 $as_echo_n "(cached) " >&6
9821 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9824 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9825 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9826 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9827 for ac_dir
in $ac_dummy; do
9829 test -z "$ac_dir" && ac_dir
=.
9830 if test -f $ac_dir/file; then
9831 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9832 if test -n "$file_magic_test_file"; then
9833 case $deplibs_check_method in
9835 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9836 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9837 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9838 $EGREP "$file_magic_regex" > /dev
/null
; then
9843 *** Warning: the command libtool uses to detect shared libraries,
9844 *** $file_magic_cmd, produces output that libtool cannot recognize.
9845 *** The result is that libtool may fail to recognize shared libraries
9846 *** as such. This will affect the creation of libtool libraries that
9847 *** depend on shared libraries, but programs linked with such libtool
9848 *** libraries will work regardless of this problem. Nevertheless, you
9849 *** may want to report the problem to your system manager and/or to
9850 *** bug-libtool@gnu.org
9860 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9865 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9866 if test -n "$MAGIC_CMD"; then
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9868 $as_echo "$MAGIC_CMD" >&6; }
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9871 $as_echo "no" >&6; }
9884 # Use C for the default configuration in the libtool script
9888 ac_cpp
='$CPP $CPPFLAGS'
9889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9894 # Source file extension for C test sources.
9897 # Object file extension for compiled C test sources.
9901 # Code to be used in simple compile tests
9902 lt_simple_compile_test_code
="int some_variable = 0;"
9904 # Code to be used in simple link tests
9905 lt_simple_link_test_code
='int main(){return(0);}'
9913 # If no C compiler was specified, use CC.
9916 # If no C compiler flags were specified, use CFLAGS.
9917 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9919 # Allow CC to be a program name with arguments.
9922 # Save the default compiler, since it gets overwritten when the other
9923 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9924 compiler_DEFAULT
=$CC
9926 # save warnings/boilerplate of simple test code
9927 ac_outfile
=conftest.
$ac_objext
9928 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9929 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9930 _lt_compiler_boilerplate
=`cat conftest.err`
9933 ac_outfile
=conftest.
$ac_objext
9934 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9935 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9936 _lt_linker_boilerplate
=`cat conftest.err`
9940 if test -n "$compiler"; then
9942 lt_prog_compiler_no_builtin_flag
=
9944 if test "$GCC" = yes; then
9945 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9948 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9949 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9950 $as_echo_n "(cached) " >&6
9952 lt_cv_prog_compiler_rtti_exceptions
=no
9953 ac_outfile
=conftest.
$ac_objext
9954 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9955 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9956 # Insert the option either (1) after the last *FLAGS variable, or
9957 # (2) before a word containing "conftest.", or (3) at the end.
9958 # Note that $ac_compile itself does not contain backslashes and begins
9959 # with a dollar sign (not a hyphen), so the echo should work correctly.
9960 # The option is referenced via a variable to avoid confusing sed.
9961 lt_compile
=`echo "$ac_compile" | $SED \
9962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9964 -e 's:$: $lt_compiler_flag:'`
9965 (eval echo "\"\$as_me:9965: $lt_compile\"" >&5)
9966 (eval "$lt_compile" 2>conftest.err
)
9968 cat conftest.err
>&5
9969 echo "$as_me:9969: \$? = $ac_status" >&5
9970 if (exit $ac_status) && test -s "$ac_outfile"; then
9971 # The compiler can only warn and ignore the option if not recognized
9972 # So say no if there are warnings other than the usual output.
9973 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9974 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9975 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9976 lt_cv_prog_compiler_rtti_exceptions
=yes
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9983 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9985 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9986 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9998 lt_prog_compiler_wl
=
9999 lt_prog_compiler_pic
=
10000 lt_prog_compiler_static
=
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10003 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10005 if test "$GCC" = yes; then
10006 lt_prog_compiler_wl
='-Wl,'
10007 lt_prog_compiler_static
='-static'
10011 # All AIX code is PIC.
10012 if test "$host_cpu" = ia64
; then
10013 # AIX 5 now supports IA64 processor
10014 lt_prog_compiler_static
='-Bstatic'
10021 # see comment about AmigaOS4 .so support
10022 lt_prog_compiler_pic
='-fPIC'
10025 # FIXME: we need at least 68020 code to build shared libraries, but
10026 # adding the `-m68020' flag to GCC prevents building anything better,
10028 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10033 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10034 # PIC is the default for these OSes.
10037 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10038 # This hack is so that the source file can tell whether it is being
10039 # built for inclusion in a dll (and should export symbols for example).
10040 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10041 # (--disable-auto-import) libraries
10042 lt_prog_compiler_pic
='-DDLL_EXPORT'
10045 darwin
* | rhapsody
*)
10046 # PIC is the default on this platform
10047 # Common symbols not allowed in MH_DYLIB files
10048 lt_prog_compiler_pic
='-fno-common'
10052 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10053 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10054 # sets the default TLS model and affects inlining.
10060 lt_prog_compiler_pic
='-fPIC'
10066 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10067 # Instead, we relocate shared libraries at runtime.
10071 # Just because we use GCC doesn't mean we suddenly get shared libraries
10072 # on systems that don't support them.
10073 lt_prog_compiler_can_build_shared
=no
10078 # QNX uses GNU C++, but need to define -shared option too, otherwise
10079 # it will coredump.
10080 lt_prog_compiler_pic
='-fPIC -shared'
10084 if test -d /usr
/nec
; then
10085 lt_prog_compiler_pic
=-Kconform_pic
10090 lt_prog_compiler_pic
='-fPIC'
10094 # PORTME Check for flag to pass linker flags through the system compiler.
10097 lt_prog_compiler_wl
='-Wl,'
10098 if test "$host_cpu" = ia64
; then
10099 # AIX 5 now supports IA64 processor
10100 lt_prog_compiler_static
='-Bstatic'
10102 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10106 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10107 # This hack is so that the source file can tell whether it is being
10108 # built for inclusion in a dll (and should export symbols for example).
10109 lt_prog_compiler_pic
='-DDLL_EXPORT'
10112 hpux9
* | hpux10
* | hpux11
*)
10113 lt_prog_compiler_wl
='-Wl,'
10114 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10115 # not for PA HP-UX.
10121 lt_prog_compiler_pic
='+Z'
10124 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10125 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10128 irix5
* | irix6
* | nonstopux
*)
10129 lt_prog_compiler_wl
='-Wl,'
10130 # PIC (with -KPIC) is the default.
10131 lt_prog_compiler_static
='-non_shared'
10134 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10135 case $cc_basename in
10136 # old Intel for x86_64 which still supported -KPIC.
10138 lt_prog_compiler_wl
='-Wl,'
10139 lt_prog_compiler_pic
='-KPIC'
10140 lt_prog_compiler_static
='-static'
10142 # icc used to be incompatible with GCC.
10143 # ICC 10 doesn't accept -KPIC any more.
10145 lt_prog_compiler_wl
='-Wl,'
10146 lt_prog_compiler_pic
='-fPIC'
10147 lt_prog_compiler_static
='-static'
10149 # Lahey Fortran 8.1.
10151 lt_prog_compiler_wl
='-Wl,'
10152 lt_prog_compiler_pic
='--shared'
10153 lt_prog_compiler_static
='--static'
10155 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10156 # Portland Group compilers (*not* the Pentium gcc compiler,
10157 # which looks to be a dead project)
10158 lt_prog_compiler_wl
='-Wl,'
10159 lt_prog_compiler_pic
='-fpic'
10160 lt_prog_compiler_static
='-Bstatic'
10163 lt_prog_compiler_wl
='-Wl,'
10164 # All Alpha code is PIC.
10165 lt_prog_compiler_static
='-non_shared'
10168 # IBM XL C 8.0/Fortran 10.1 on PPC
10169 lt_prog_compiler_wl
='-Wl,'
10170 lt_prog_compiler_pic
='-qpic'
10171 lt_prog_compiler_static
='-qstaticlink'
10174 case `$CC -V 2>&1 | sed 5q` in
10177 lt_prog_compiler_pic
='-KPIC'
10178 lt_prog_compiler_static
='-Bstatic'
10179 lt_prog_compiler_wl
='-Wl,'
10182 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10183 lt_prog_compiler_pic
='-KPIC'
10184 lt_prog_compiler_static
='-Bstatic'
10185 lt_prog_compiler_wl
=''
10193 lt_prog_compiler_pic
='-KPIC'
10194 lt_prog_compiler_static
='-Bstatic'
10198 # QNX uses GNU C++, but need to define -shared option too, otherwise
10199 # it will coredump.
10200 lt_prog_compiler_pic
='-fPIC -shared'
10203 osf3
* | osf4
* | osf5
*)
10204 lt_prog_compiler_wl
='-Wl,'
10205 # All OSF/1 code is PIC.
10206 lt_prog_compiler_static
='-non_shared'
10210 lt_prog_compiler_static
='-non_shared'
10214 lt_prog_compiler_pic
='-KPIC'
10215 lt_prog_compiler_static
='-Bstatic'
10216 case $cc_basename in
10217 f77
* | f90
* | f95
*)
10218 lt_prog_compiler_wl
='-Qoption ld ';;
10220 lt_prog_compiler_wl
='-Wl,';;
10225 lt_prog_compiler_wl
='-Qoption ld '
10226 lt_prog_compiler_pic
='-PIC'
10227 lt_prog_compiler_static
='-Bstatic'
10230 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10231 lt_prog_compiler_wl
='-Wl,'
10232 lt_prog_compiler_pic
='-KPIC'
10233 lt_prog_compiler_static
='-Bstatic'
10237 if test -d /usr
/nec
;then
10238 lt_prog_compiler_pic
='-Kconform_pic'
10239 lt_prog_compiler_static
='-Bstatic'
10243 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10244 lt_prog_compiler_wl
='-Wl,'
10245 lt_prog_compiler_pic
='-KPIC'
10246 lt_prog_compiler_static
='-Bstatic'
10250 lt_prog_compiler_wl
='-Wl,'
10251 lt_prog_compiler_can_build_shared
=no
10255 lt_prog_compiler_pic
='-pic'
10256 lt_prog_compiler_static
='-Bstatic'
10260 lt_prog_compiler_can_build_shared
=no
10266 # For platforms which do not support PIC, -DPIC is meaningless:
10268 lt_prog_compiler_pic
=
10271 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10275 $as_echo "$lt_prog_compiler_pic" >&6; }
10283 # Check to make sure the PIC flag actually works.
10285 if test -n "$lt_prog_compiler_pic"; then
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10287 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10288 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10289 $as_echo_n "(cached) " >&6
10291 lt_cv_prog_compiler_pic_works
=no
10292 ac_outfile
=conftest.
$ac_objext
10293 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10294 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10295 # Insert the option either (1) after the last *FLAGS variable, or
10296 # (2) before a word containing "conftest.", or (3) at the end.
10297 # Note that $ac_compile itself does not contain backslashes and begins
10298 # with a dollar sign (not a hyphen), so the echo should work correctly.
10299 # The option is referenced via a variable to avoid confusing sed.
10300 lt_compile
=`echo "$ac_compile" | $SED \
10301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10303 -e 's:$: $lt_compiler_flag:'`
10304 (eval echo "\"\$as_me:10304: $lt_compile\"" >&5)
10305 (eval "$lt_compile" 2>conftest.err
)
10307 cat conftest.err
>&5
10308 echo "$as_me:10308: \$? = $ac_status" >&5
10309 if (exit $ac_status) && test -s "$ac_outfile"; then
10310 # The compiler can only warn and ignore the option if not recognized
10311 # So say no if there are warnings other than the usual output.
10312 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10313 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10314 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10315 lt_cv_prog_compiler_pic_works
=yes
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10322 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10324 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10325 case $lt_prog_compiler_pic in
10327 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10330 lt_prog_compiler_pic
=
10331 lt_prog_compiler_can_build_shared
=no
10342 # Check to make sure the static flag actually works.
10344 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10346 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10347 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10348 $as_echo_n "(cached) " >&6
10350 lt_cv_prog_compiler_static_works
=no
10351 save_LDFLAGS
="$LDFLAGS"
10352 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10353 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10354 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10355 # The linker can only warn and ignore the option if not recognized
10356 # So say no if there are warnings
10357 if test -s conftest.err
; then
10358 # Append any errors to the config.log.
10359 cat conftest.err
1>&5
10360 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
10361 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10362 if diff conftest.exp conftest.er2
>/dev
/null
; then
10363 lt_cv_prog_compiler_static_works
=yes
10366 lt_cv_prog_compiler_static_works
=yes
10370 LDFLAGS
="$save_LDFLAGS"
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10374 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10376 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10379 lt_prog_compiler_static
=
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10389 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10390 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10391 $as_echo_n "(cached) " >&6
10393 lt_cv_prog_compiler_c_o
=no
10394 $RM -r conftest
2>/dev
/null
10398 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10400 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10401 # Insert the option either (1) after the last *FLAGS variable, or
10402 # (2) before a word containing "conftest.", or (3) at the end.
10403 # Note that $ac_compile itself does not contain backslashes and begins
10404 # with a dollar sign (not a hyphen), so the echo should work correctly.
10405 lt_compile
=`echo "$ac_compile" | $SED \
10406 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10408 -e 's:$: $lt_compiler_flag:'`
10409 (eval echo "\"\$as_me:10409: $lt_compile\"" >&5)
10410 (eval "$lt_compile" 2>out
/conftest.err
)
10412 cat out
/conftest.err
>&5
10413 echo "$as_me:10413: \$? = $ac_status" >&5
10414 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10416 # The compiler can only warn and ignore the option if not recognized
10417 # So say no if there are warnings
10418 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
10419 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10420 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10421 lt_cv_prog_compiler_c_o
=yes
10426 # SGI C++ compiler will create directory out/ii_files/ for
10427 # template instantiation
10428 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10429 $RM out
/* && rmdir out
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10436 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10444 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10445 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10446 $as_echo_n "(cached) " >&6
10448 lt_cv_prog_compiler_c_o
=no
10449 $RM -r conftest
2>/dev
/null
10453 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10455 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10456 # Insert the option either (1) after the last *FLAGS variable, or
10457 # (2) before a word containing "conftest.", or (3) at the end.
10458 # Note that $ac_compile itself does not contain backslashes and begins
10459 # with a dollar sign (not a hyphen), so the echo should work correctly.
10460 lt_compile
=`echo "$ac_compile" | $SED \
10461 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10463 -e 's:$: $lt_compiler_flag:'`
10464 (eval echo "\"\$as_me:10464: $lt_compile\"" >&5)
10465 (eval "$lt_compile" 2>out
/conftest.err
)
10467 cat out
/conftest.err
>&5
10468 echo "$as_me:10468: \$? = $ac_status" >&5
10469 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10471 # The compiler can only warn and ignore the option if not recognized
10472 # So say no if there are warnings
10473 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
10474 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10475 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10476 lt_cv_prog_compiler_c_o
=yes
10481 # SGI C++ compiler will create directory out/ii_files/ for
10482 # template instantiation
10483 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10484 $RM out
/* && rmdir out
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10491 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10496 hard_links
="nottested"
10497 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10498 # do not overwrite the value of need_locks provided by the user
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10500 $as_echo_n "checking if we can lock with hard links... " >&6; }
10503 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10505 ln conftest.a conftest.b
2>&5 || hard_links
=no
10506 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10508 $as_echo "$hard_links" >&6; }
10509 if test "$hard_links" = no
; then
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10511 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10524 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10527 allow_undefined_flag
=
10528 always_export_symbols
=no
10530 archive_expsym_cmds
=
10531 compiler_needs_object
=no
10532 enable_shared_with_static_runtimes
=no
10533 export_dynamic_flag_spec
=
10534 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10535 hardcode_automatic
=no
10537 hardcode_direct_absolute
=no
10538 hardcode_libdir_flag_spec
=
10539 hardcode_libdir_flag_spec_ld
=
10540 hardcode_libdir_separator
=
10541 hardcode_minus_L
=no
10542 hardcode_shlibpath_var
=unsupported
10544 link_all_deplibs
=unknown
10546 module_expsym_cmds
=
10547 old_archive_from_new_cmds
=
10548 old_archive_from_expsyms_cmds
=
10549 thread_safe_flag_spec
=
10550 whole_archive_flag_spec
=
10551 # include_expsyms should be a list of space-separated symbols to be *always*
10552 # included in the symbol list
10554 # exclude_expsyms can be an extended regexp of symbols to exclude
10555 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10556 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10557 # as well as any symbol that contains `d'.
10558 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10559 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10560 # platforms (ab)use it in PIC code, but their linkers get confused if
10561 # the symbol is explicitly referenced. Since portable code cannot
10562 # rely on this symbol name, it's probably fine to never include it in
10563 # preloaded symbol tables.
10564 # Exclude shared library initialization/finalization symbols.
10565 extract_expsyms_cmds
=
10568 cygwin
* | mingw
* | pw32
* | cegcc
*)
10569 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10570 # When not using gcc, we currently assume that we are using
10571 # Microsoft Visual C++.
10572 if test "$GCC" != yes; then
10577 # we just hope/assume this is gcc and not c89 (= MSVC++)
10583 linux
* | k
*bsd
*-gnu)
10584 link_all_deplibs
=no
10589 if test "$with_gnu_ld" = yes; then
10590 # If archive_cmds runs LD, not CC, wlarc should be empty
10593 # Set some defaults for GNU ld with shared library support. These
10594 # are reset later if shared libraries are not supported. Putting them
10595 # here allows them to be overridden if necessary.
10596 runpath_var
=LD_RUN_PATH
10597 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10598 export_dynamic_flag_spec
='${wl}--export-dynamic'
10599 # ancient GNU ld didn't support --whole-archive et. al.
10600 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10601 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10603 whole_archive_flag_spec
=
10605 supports_anon_versioning
=no
10606 case `$LD -v 2>&1` in
10607 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10608 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10609 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10610 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10611 *\
2.11.
*) ;; # other 2.11 versions
10612 *) supports_anon_versioning
=yes ;;
10615 # See if GNU ld supports shared libraries.
10618 # On AIX/PPC, the GNU linker is very broken
10619 if test "$host_cpu" != ia64
; then
10623 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10624 *** to be unable to reliably create shared libraries on AIX.
10625 *** Therefore, libtool is disabling shared libraries support. If you
10626 *** really care for shared libraries, you may want to modify your PATH
10627 *** so that a non-GNU linker is found, and then restart.
10636 # see comment about AmigaOS4 .so support
10637 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10638 archive_expsym_cmds
=''
10641 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)'
10642 hardcode_libdir_flag_spec
='-L$libdir'
10643 hardcode_minus_L
=yes
10649 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10650 allow_undefined_flag
=unsupported
10651 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10652 # support --undefined. This deserves some investigation. FIXME
10653 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10659 cygwin
* | mingw
* | pw32
* | cegcc
*)
10660 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10661 # as there is no search path for DLLs.
10662 hardcode_libdir_flag_spec
='-L$libdir'
10663 allow_undefined_flag
=unsupported
10664 always_export_symbols
=no
10665 enable_shared_with_static_runtimes
=yes
10666 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10668 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10669 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10670 # If the export-symbols file already is a .def file (1st line
10671 # is EXPORTS), use it as is; otherwise, prepend...
10672 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10673 cp $export_symbols $output_objdir/$soname.def;
10675 echo EXPORTS > $output_objdir/$soname.def;
10676 cat $export_symbols >> $output_objdir/$soname.def;
10678 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10686 hardcode_shlibpath_var
=no
10687 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10688 export_dynamic_flag_spec
='${wl}-E'
10689 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10690 # Instead, shared libraries are loaded at an image base (0x10000000 by
10691 # default) and relocated if they conflict, which is a slow very memory
10692 # consuming and fragmenting process. To avoid this, we pick a random,
10693 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10694 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10695 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10696 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'
10699 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10701 if test "$host_os" = linux-dietlibc
; then
10702 case $cc_basename in
10703 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10706 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10707 && test "$tmp_diet" = no
10710 tmp_sharedflag
='-shared'
10711 case $cc_basename,$host_cpu in
10712 pgcc
*) # Portland Group C compiler
10713 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10714 tmp_addflag
=' $pic_flag'
10716 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
10717 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10718 tmp_addflag
=' $pic_flag -Mnomain' ;;
10719 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10720 tmp_addflag
=' -i_dynamic' ;;
10721 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10722 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10723 ifc
* | ifort
*) # Intel Fortran compiler
10724 tmp_addflag
=' -nofor_main' ;;
10725 lf95
*) # Lahey Fortran 8.1
10726 whole_archive_flag_spec
=
10727 tmp_sharedflag
='--shared' ;;
10728 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10729 tmp_sharedflag
='-qmkshrobj'
10732 case `$CC -V 2>&1 | sed 5q` in
10733 *Sun\ C
*) # Sun C 5.9
10734 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10735 compiler_needs_object
=yes
10736 tmp_sharedflag
='-G' ;;
10737 *Sun\ F
*) # Sun Fortran 8.3
10738 tmp_sharedflag
='-G' ;;
10740 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10742 if test "x$supports_anon_versioning" = xyes
; then
10743 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10744 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10745 echo "local: *; };" >> $output_objdir/$libname.ver~
10746 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10749 case $cc_basename in
10751 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10752 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10753 hardcode_libdir_flag_spec
=
10754 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10755 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10756 if test "x$supports_anon_versioning" = xyes
; then
10757 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10758 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10759 echo "local: *; };" >> $output_objdir/$libname.ver~
10760 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10769 netbsd
* | netbsdelf
*-gnu)
10770 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10771 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10774 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10775 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10780 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10784 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10785 *** create shared libraries on Solaris systems. Therefore, libtool
10786 *** is disabling shared libraries support. We urge you to upgrade GNU
10787 *** binutils to release 2.9.1 or newer. Another option is to modify
10788 *** your PATH or compiler configuration so that the native linker is
10789 *** used, and then restart.
10792 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10793 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10794 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10800 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10801 case `$LD -v 2>&1` in
10802 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10806 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10807 *** reliably create shared libraries on SCO systems. Therefore, libtool
10808 *** is disabling shared libraries support. We urge you to upgrade GNU
10809 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10810 *** your PATH or compiler configuration so that the native linker is
10811 *** used, and then restart.
10816 # For security reasons, it is highly recommended that you always
10817 # use absolute paths for naming shared libraries, and exclude the
10818 # DT_RUNPATH tag from executables and libraries. But doing so
10819 # requires that you compile everything twice, which is a pain.
10820 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10821 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10822 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10823 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10832 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10834 hardcode_direct
=yes
10835 hardcode_shlibpath_var
=no
10839 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10840 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10841 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10848 if test "$ld_shlibs" = no
; then
10850 hardcode_libdir_flag_spec
=
10851 export_dynamic_flag_spec
=
10852 whole_archive_flag_spec
=
10855 # PORTME fill in a description of your system's linker (not GNU ld)
10858 allow_undefined_flag
=unsupported
10859 always_export_symbols
=yes
10860 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'
10861 # Note: this linker hardcodes the directories in LIBPATH if there
10862 # are no directories specified by -L.
10863 hardcode_minus_L
=yes
10864 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10865 # Neither direct hardcoding nor static linking is supported with a
10867 hardcode_direct
=unsupported
10872 if test "$host_cpu" = ia64
; then
10873 # On IA64, the linker does run time linking by default, so we don't
10874 # have to do anything special.
10875 aix_use_runtimelinking
=no
10876 exp_sym_flag
='-Bexport'
10879 # If we're using GNU nm, then we don't want the "-C" option.
10880 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10881 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10882 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10884 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'
10886 aix_use_runtimelinking
=no
10888 # Test if we are trying to use run time linking or normal
10889 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10890 # need to do runtime linking.
10891 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10892 for ld_flag
in $LDFLAGS; do
10893 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10894 aix_use_runtimelinking
=yes
10901 exp_sym_flag
='-bexport'
10902 no_entry_flag
='-bnoentry'
10905 # When large executables or shared objects are built, AIX ld can
10906 # have problems creating the table of contents. If linking a library
10907 # or program results in "error TOC overflow" add -mminimal-toc to
10908 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10909 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10912 hardcode_direct
=yes
10913 hardcode_direct_absolute
=yes
10914 hardcode_libdir_separator
=':'
10915 link_all_deplibs
=yes
10916 file_list_spec
='${wl}-f,'
10918 if test "$GCC" = yes; then
10919 case $host_os in aix4.
[012]|aix4.
[012].
*)
10920 # We only want to do this on AIX 4.2 and lower, the check
10921 # below for broken collect2 doesn't work under 4.3+
10922 collect2name
=`${CC} -print-prog-name=collect2`
10923 if test -f "$collect2name" &&
10924 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10926 # We have reworked collect2
10929 # We have old collect2
10930 hardcode_direct
=unsupported
10931 # It fails to find uninstalled libraries when the uninstalled
10932 # path is not listed in the libpath. Setting hardcode_minus_L
10933 # to unsupported forces relinking
10934 hardcode_minus_L
=yes
10935 hardcode_libdir_flag_spec
='-L$libdir'
10936 hardcode_libdir_separator
=
10940 shared_flag
='-shared'
10941 if test "$aix_use_runtimelinking" = yes; then
10942 shared_flag
="$shared_flag "'${wl}-G'
10944 link_all_deplibs
=no
10947 if test "$host_cpu" = ia64
; then
10948 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10949 # chokes on -Wl,-G. The following line is correct:
10952 if test "$aix_use_runtimelinking" = yes; then
10953 shared_flag
='${wl}-G'
10955 shared_flag
='${wl}-bM:SRE'
10960 export_dynamic_flag_spec
='${wl}-bexpall'
10961 # It seems that -bexpall does not export symbols beginning with
10962 # underscore (_), so it is better to generate a list of symbols to export.
10963 always_export_symbols
=yes
10964 if test "$aix_use_runtimelinking" = yes; then
10965 # Warning - without using the other runtime loading flags (-brtl),
10966 # -berok will link without error, but may produce a broken library.
10967 allow_undefined_flag
='-berok'
10968 # Determine the default libpath from the value encoded in an
10969 # empty executable.
10970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10981 if ac_fn_c_try_link
"$LINENO"; then :
10983 lt_aix_libpath_sed
='
10984 /Import File Strings/,/^$/ {
10990 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10991 # Check for a 64-bit object if we didn't find anything.
10992 if test -z "$aix_libpath"; then
10993 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10996 rm -f core conftest.err conftest.
$ac_objext \
10997 conftest
$ac_exeext conftest.
$ac_ext
10998 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11000 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11001 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11003 if test "$host_cpu" = ia64
; then
11004 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11005 allow_undefined_flag
="-z nodefs"
11006 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"
11008 # Determine the default libpath from the value encoded in an
11009 # empty executable.
11010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11011 /* end confdefs.h. */
11021 if ac_fn_c_try_link
"$LINENO"; then :
11023 lt_aix_libpath_sed
='
11024 /Import File Strings/,/^$/ {
11030 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11031 # Check for a 64-bit object if we didn't find anything.
11032 if test -z "$aix_libpath"; then
11033 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11036 rm -f core conftest.err conftest.
$ac_objext \
11037 conftest
$ac_exeext conftest.
$ac_ext
11038 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11040 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11041 # Warning - without using the other run time loading flags,
11042 # -berok will link without error, but may produce a broken library.
11043 no_undefined_flag
=' ${wl}-bernotok'
11044 allow_undefined_flag
=' ${wl}-berok'
11045 # Exported symbols can be pulled into shared objects from archives
11046 whole_archive_flag_spec
='$convenience'
11047 archive_cmds_need_lc
=yes
11048 # This is similar to how AIX traditionally builds its shared libraries.
11049 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'
11057 # see comment about AmigaOS4 .so support
11058 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11059 archive_expsym_cmds
=''
11062 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)'
11063 hardcode_libdir_flag_spec
='-L$libdir'
11064 hardcode_minus_L
=yes
11070 export_dynamic_flag_spec
=-rdynamic
11073 cygwin
* | mingw
* | pw32
* | cegcc
*)
11074 # When not using gcc, we currently assume that we are using
11075 # Microsoft Visual C++.
11076 # hardcode_libdir_flag_spec is actually meaningless, as there is
11077 # no search path for DLLs.
11078 hardcode_libdir_flag_spec
=' '
11079 allow_undefined_flag
=unsupported
11080 # Tell ltmain to make .lib files, not .a files.
11082 # Tell ltmain to make .dll files, not .so files.
11084 # FIXME: Setting linknames here is a bad hack.
11085 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11086 # The linker will automatically build a .lib file if we build a DLL.
11087 old_archive_from_new_cmds
='true'
11088 # FIXME: Should let the user specify the lib program.
11089 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11090 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11091 enable_shared_with_static_runtimes
=yes
11094 darwin
* | rhapsody
*)
11097 archive_cmds_need_lc
=no
11099 hardcode_automatic
=yes
11100 hardcode_shlibpath_var
=unsupported
11101 whole_archive_flag_spec
=''
11102 link_all_deplibs
=yes
11103 allow_undefined_flag
="$_lt_dar_allow_undefined"
11104 case $cc_basename in
11105 ifort
*) _lt_dar_can_shared
=yes ;;
11106 *) _lt_dar_can_shared
=$GCC ;;
11108 if test "$_lt_dar_can_shared" = "yes"; then
11109 output_verbose_link_cmd
=echo
11110 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11111 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11112 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}"
11113 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}"
11122 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11123 hardcode_libdir_flag_spec
='-L$libdir'
11124 hardcode_shlibpath_var
=no
11131 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11132 # support. Future versions do this automatically, but an explicit c++rt0.o
11133 # does not break anything, and helps significantly (at the cost of a little
11136 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11137 hardcode_libdir_flag_spec
='-R$libdir'
11138 hardcode_direct
=yes
11139 hardcode_shlibpath_var
=no
11142 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11144 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11145 hardcode_direct
=yes
11146 hardcode_minus_L
=yes
11147 hardcode_shlibpath_var
=no
11150 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11151 freebsd
* | dragonfly
*)
11152 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11153 hardcode_libdir_flag_spec
='-R$libdir'
11154 hardcode_direct
=yes
11155 hardcode_shlibpath_var
=no
11159 if test "$GCC" = yes; then
11160 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11162 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'
11164 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11165 hardcode_libdir_separator
=:
11166 hardcode_direct
=yes
11168 # hardcode_minus_L: Not really in the search PATH,
11169 # but as the default location of the library.
11170 hardcode_minus_L
=yes
11171 export_dynamic_flag_spec
='${wl}-E'
11175 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11176 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11178 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11180 if test "$with_gnu_ld" = no
; then
11181 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11182 hardcode_libdir_flag_spec_ld
='+b $libdir'
11183 hardcode_libdir_separator
=:
11184 hardcode_direct
=yes
11185 hardcode_direct_absolute
=yes
11186 export_dynamic_flag_spec
='${wl}-E'
11187 # hardcode_minus_L: Not really in the search PATH,
11188 # but as the default location of the library.
11189 hardcode_minus_L
=yes
11194 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11197 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11200 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11203 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11209 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11212 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11215 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11219 if test "$with_gnu_ld" = no
; then
11220 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11221 hardcode_libdir_separator
=:
11226 hardcode_shlibpath_var
=no
11229 hardcode_direct
=yes
11230 hardcode_direct_absolute
=yes
11231 export_dynamic_flag_spec
='${wl}-E'
11233 # hardcode_minus_L: Not really in the search PATH,
11234 # but as the default location of the library.
11235 hardcode_minus_L
=yes
11241 irix5
* | irix6
* | nonstopux
*)
11242 if test "$GCC" = yes; then
11243 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11244 # Try to use the -exported_symbol ld option, if it does not
11245 # work, assume that -exports_file does not work either and
11246 # implicitly export all symbols.
11247 save_LDFLAGS
="$LDFLAGS"
11248 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11253 if ac_fn_c_try_link
"$LINENO"; then :
11254 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11257 rm -f core conftest.err conftest.
$ac_objext \
11258 conftest
$ac_exeext conftest.
$ac_ext
11259 LDFLAGS
="$save_LDFLAGS"
11261 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11262 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11264 archive_cmds_need_lc
='no'
11265 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11266 hardcode_libdir_separator
=:
11268 link_all_deplibs
=yes
11271 netbsd
* | netbsdelf
*-gnu)
11272 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11273 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11275 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11277 hardcode_libdir_flag_spec
='-R$libdir'
11278 hardcode_direct
=yes
11279 hardcode_shlibpath_var
=no
11283 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11284 hardcode_direct
=yes
11285 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11286 hardcode_libdir_separator
=:
11287 hardcode_shlibpath_var
=no
11294 if test -f /usr
/libexec
/ld.so
; then
11295 hardcode_direct
=yes
11296 hardcode_shlibpath_var
=no
11297 hardcode_direct_absolute
=yes
11298 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11299 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11300 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11301 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11302 export_dynamic_flag_spec
='${wl}-E'
11305 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11306 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11307 hardcode_libdir_flag_spec
='-R$libdir'
11310 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11311 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11321 hardcode_libdir_flag_spec
='-L$libdir'
11322 hardcode_minus_L
=yes
11323 allow_undefined_flag
=unsupported
11324 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'
11325 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11329 if test "$GCC" = yes; then
11330 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11331 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11333 allow_undefined_flag
=' -expect_unresolved \*'
11334 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11336 archive_cmds_need_lc
='no'
11337 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11338 hardcode_libdir_separator
=:
11341 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11342 if test "$GCC" = yes; then
11343 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11344 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11345 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11347 allow_undefined_flag
=' -expect_unresolved \*'
11348 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11349 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~
11350 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11352 # Both c and cxx compiler support -rpath directly
11353 hardcode_libdir_flag_spec
='-rpath $libdir'
11355 archive_cmds_need_lc
='no'
11356 hardcode_libdir_separator
=:
11360 no_undefined_flag
=' -z defs'
11361 if test "$GCC" = yes; then
11363 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11364 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11365 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11367 case `$CC -V 2>&1` in
11370 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11371 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11372 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11376 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11377 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11378 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11382 hardcode_libdir_flag_spec
='-R$libdir'
11383 hardcode_shlibpath_var
=no
11385 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11387 # The compiler driver will combine and reorder linker options,
11388 # but understands `-z linker_flag'. GCC discards it without `$wl',
11389 # but is careful enough not to reorder.
11390 # Supported since Solaris 2.6 (maybe 2.5.1?)
11391 if test "$GCC" = yes; then
11392 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11394 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11398 link_all_deplibs
=yes
11402 if test "x$host_vendor" = xsequent
; then
11403 # Use $CC to link under sequent, because it throws in some extra .o
11404 # files that make .init and .fini sections work.
11405 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11407 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11409 hardcode_libdir_flag_spec
='-L$libdir'
11410 hardcode_direct
=yes
11411 hardcode_minus_L
=yes
11412 hardcode_shlibpath_var
=no
11416 case $host_vendor in
11418 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11419 hardcode_direct
=yes # is this really true???
11422 ## LD is ld it makes a PLAMLIB
11423 ## CC just makes a GrossModule.
11424 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11425 reload_cmds
='$CC -r -o $output$reload_objs'
11429 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11430 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11433 runpath_var
='LD_RUN_PATH'
11434 hardcode_shlibpath_var
=no
11438 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11439 hardcode_shlibpath_var
=no
11440 export_dynamic_flag_spec
='-Bexport'
11444 if test -d /usr
/nec
; then
11445 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11446 hardcode_shlibpath_var
=no
11447 runpath_var
=LD_RUN_PATH
11448 hardcode_runpath_var
=yes
11453 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11454 no_undefined_flag
='${wl}-z,text'
11455 archive_cmds_need_lc
=no
11456 hardcode_shlibpath_var
=no
11457 runpath_var
='LD_RUN_PATH'
11459 if test "$GCC" = yes; then
11460 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11461 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11463 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11464 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11468 sysv5
* | sco3.2v5
* | sco5v6
*)
11469 # Note: We can NOT use -z defs as we might desire, because we do not
11470 # link with -lc, and that would cause any symbols used from libc to
11471 # always be unresolved, which means just about no library would
11472 # ever link correctly. If we're not using GNU ld we use -z text
11473 # though, which does catch some bad symbols but isn't as heavy-handed
11475 no_undefined_flag
='${wl}-z,text'
11476 allow_undefined_flag
='${wl}-z,nodefs'
11477 archive_cmds_need_lc
=no
11478 hardcode_shlibpath_var
=no
11479 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11480 hardcode_libdir_separator
=':'
11481 link_all_deplibs
=yes
11482 export_dynamic_flag_spec
='${wl}-Bexport'
11483 runpath_var
='LD_RUN_PATH'
11485 if test "$GCC" = yes; then
11486 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11487 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11489 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11490 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11495 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11496 hardcode_libdir_flag_spec
='-L$libdir'
11497 hardcode_shlibpath_var
=no
11505 if test x
$host_vendor = xsni
; then
11507 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11508 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11515 $as_echo "$ld_shlibs" >&6; }
11516 test "$ld_shlibs" = no
&& can_build_shared
=no
11518 with_gnu_ld
=$with_gnu_ld
11535 # Do we need to explicitly link libc?
11537 case "x$archive_cmds_need_lc" in
11539 # Assume -lc should be added
11540 archive_cmds_need_lc
=yes
11542 if test "$enable_shared" = yes && test "$GCC" = yes; then
11543 case $archive_cmds in
11545 # FIXME: we may have to deal with multi-command sequences.
11548 # Test whether the compiler implicitly links with -lc since on some
11549 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11550 # to ld, don't add -lc before -lgcc.
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11552 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11554 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11556 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11557 (eval $ac_compile) 2>&5
11559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11560 test $ac_status = 0; } 2>conftest.err
; then
11563 libobjs
=conftest.
$ac_objext
11565 wl
=$lt_prog_compiler_wl
11566 pic_flag
=$lt_prog_compiler_pic
11572 lt_save_allow_undefined_flag
=$allow_undefined_flag
11573 allow_undefined_flag
=
11574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11575 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11578 test $ac_status = 0; }
11580 archive_cmds_need_lc
=no
11582 archive_cmds_need_lc
=yes
11584 allow_undefined_flag
=$lt_save_allow_undefined_flag
11586 cat conftest.err
1>&5
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11590 $as_echo "$archive_cmds_need_lc" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11754 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11756 if test "$GCC" = yes; then
11758 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11759 *) lt_awk_arg
="/^libraries:/" ;;
11761 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11762 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
11763 # if the path contains ";" then we assume it to be the separator
11764 # otherwise default to the standard path separator (i.e. ":") - it is
11765 # assumed that no part of a normal pathname contains ";" but that should
11766 # okay in the real world where ";" in dirpaths is itself problematic.
11767 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11769 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11771 # Ok, now we have the path, separated by spaces, we can step through it
11772 # and add multilib dir if necessary.
11773 lt_tmp_lt_search_path_spec
=
11774 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11775 for lt_sys_path
in $lt_search_path_spec; do
11776 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11777 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11779 test -d "$lt_sys_path" && \
11780 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11783 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11784 BEGIN {RS=" "; FS="/|\n";} {
11787 for (lt_i = NF; lt_i > 0; lt_i--) {
11788 if ($lt_i != "" && $lt_i != ".") {
11789 if ($lt_i == "..") {
11792 if (lt_count == 0) {
11793 lt_foo="/" $lt_i lt_foo;
11800 if (lt_foo != "") { lt_freq[lt_foo]++; }
11801 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11803 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
11805 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11807 library_names_spec
=
11808 libname_spec
='lib$name'
11812 postuninstall_cmds
=
11816 shlibpath_overrides_runpath
=unknown
11818 dynamic_linker
="$host_os ld.so"
11819 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11820 need_lib_prefix
=unknown
11821 hardcode_into_libs
=no
11823 # when you set need_version to no, make sure it does not cause -set_version
11824 # flags to be left without arguments
11825 need_version
=unknown
11830 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11831 shlibpath_var
=LIBPATH
11833 # AIX 3 has no versioning support, so we append a major version to the name.
11834 soname_spec
='${libname}${release}${shared_ext}$major'
11841 hardcode_into_libs
=yes
11842 if test "$host_cpu" = ia64
; then
11843 # AIX 5 supports IA64
11844 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11845 shlibpath_var
=LD_LIBRARY_PATH
11847 # With GCC up to 2.95.x, collect2 would create an import file
11848 # for dependence libraries. The import file would start with
11849 # the line `#! .'. This would cause the generated library to
11850 # depend on `.', always an invalid library. This was fixed in
11851 # development snapshots of GCC prior to 3.0.
11853 aix4 | aix4.
[01] | aix4.
[01].
*)
11854 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11856 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11859 can_build_shared
=no
11863 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11864 # soname into executable. Probably we can add versioning support to
11865 # collect2, so additional links can be useful in future.
11866 if test "$aix_use_runtimelinking" = yes; then
11867 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11868 # instead of lib<name>.a to let people know that these are not
11869 # typical AIX shared libraries.
11870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11872 # We preserve .a as extension for shared libraries through AIX4.2
11873 # and later when we are not doing run time linking.
11874 library_names_spec
='${libname}${release}.a $libname.a'
11875 soname_spec
='${libname}${release}${shared_ext}$major'
11877 shlibpath_var
=LIBPATH
11884 # Since July 2007 AmigaOS4 officially supports .so libraries.
11885 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11889 library_names_spec
='$libname.ixlibrary $libname.a'
11890 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11891 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11897 library_names_spec
='${libname}${shared_ext}'
11898 dynamic_linker
="$host_os ld.so"
11899 shlibpath_var
=LIBRARY_PATH
11905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11906 soname_spec
='${libname}${release}${shared_ext}$major'
11907 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11908 shlibpath_var
=LD_LIBRARY_PATH
11909 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11910 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11911 # the default ld.so.conf also contains /usr/contrib/lib and
11912 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11913 # libtool to hard-code these into programs
11916 cygwin
* | mingw
* | pw32
* | cegcc
*)
11917 version_type
=windows
11922 case $GCC,$host_os in
11923 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11924 library_names_spec
='$libname.dll.a'
11925 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11926 postinstall_cmds
='base_file=`basename \${file}`~
11927 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11928 dldir=$destdir/`dirname \$dlpath`~
11929 test -d \$dldir || mkdir -p \$dldir~
11930 $install_prog $dir/$dlname \$dldir/$dlname~
11931 chmod a+x \$dldir/$dlname~
11932 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11933 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11935 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11936 dlpath=$dir/\$dldll~
11938 shlibpath_overrides_runpath
=yes
11942 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11943 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11944 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11947 # MinGW DLLs use traditional 'lib' prefix
11948 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11949 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11950 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11951 # It is most probably a Windows format PATH printed by
11952 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11953 # path with ; separators, and with drive letters. We can handle the
11954 # drive letters (cygwin fileutils understands them), so leave them,
11955 # especially as we might pass files found there to a mingw objdump,
11956 # which wouldn't understand a cygwinified path. Ahh.
11957 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11959 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11963 # pw32 DLLs use 'pw' prefix rather than 'lib'
11964 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11970 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11973 dynamic_linker
='Win32 ld.exe'
11974 # FIXME: first we should search . and the directory the executable is in
11978 darwin
* | rhapsody
*)
11979 dynamic_linker
="$host_os dyld"
11980 version_type
=darwin
11983 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11984 soname_spec
='${libname}${release}${major}$shared_ext'
11985 shlibpath_overrides_runpath
=yes
11986 shlibpath_var
=DYLD_LIBRARY_PATH
11987 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11989 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11990 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11998 soname_spec
='${libname}${release}${shared_ext}$major'
11999 shlibpath_var
=LD_LIBRARY_PATH
12006 freebsd
* | dragonfly
*)
12007 # DragonFly does not have aout. When/if they implement a new
12008 # versioning mechanism, adjust this.
12009 if test -x /usr
/bin
/objformat
; then
12010 objformat
=`/usr/bin/objformat`
12013 freebsd
[123]*) objformat
=aout
;;
12014 *) objformat
=elf
;;
12017 version_type
=freebsd-
$objformat
12018 case $version_type in
12020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12025 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12029 shlibpath_var
=LD_LIBRARY_PATH
12032 shlibpath_overrides_runpath
=yes
12034 freebsd3.
[01]* | freebsdelf3.
[01]*)
12035 shlibpath_overrides_runpath
=yes
12036 hardcode_into_libs
=yes
12038 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12039 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12040 shlibpath_overrides_runpath
=no
12041 hardcode_into_libs
=yes
12043 *) # from 4.6 on, and DragonFly
12044 shlibpath_overrides_runpath
=yes
12045 hardcode_into_libs
=yes
12054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12055 soname_spec
='${libname}${release}${shared_ext}$major'
12056 shlibpath_var
=LD_LIBRARY_PATH
12057 hardcode_into_libs
=yes
12060 hpux9
* | hpux10
* | hpux11
*)
12061 # Give a soname corresponding to the major version so that dld.sl refuses to
12062 # link against other versions.
12069 hardcode_into_libs
=yes
12070 dynamic_linker
="$host_os dld.so"
12071 shlibpath_var
=LD_LIBRARY_PATH
12072 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12074 soname_spec
='${libname}${release}${shared_ext}$major'
12075 if test "X$HPUX_IA64_MODE" = X32
; then
12076 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12078 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12080 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12084 hardcode_into_libs
=yes
12085 dynamic_linker
="$host_os dld.sl"
12086 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12087 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12089 soname_spec
='${libname}${release}${shared_ext}$major'
12090 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12091 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12095 dynamic_linker
="$host_os dld.sl"
12096 shlibpath_var
=SHLIB_PATH
12097 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12099 soname_spec
='${libname}${release}${shared_ext}$major'
12102 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12103 postinstall_cmds
='chmod 555 $lib'
12110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12111 soname_spec
='${libname}${release}${shared_ext}$major'
12112 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12113 shlibpath_var
=LD_LIBRARY_PATH
12114 shlibpath_overrides_runpath
=no
12115 hardcode_into_libs
=yes
12118 irix5
* | irix6
* | nonstopux
*)
12120 nonstopux
*) version_type
=nonstopux
;;
12122 if test "$lt_cv_prog_gnu_ld" = yes; then
12130 soname_spec
='${libname}${release}${shared_ext}$major'
12131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12133 irix5
* | nonstopux
*)
12134 libsuff
= shlibsuff
=
12137 case $LD in # libtool.m4 will add one of these switches to LD
12138 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12139 libsuff
= shlibsuff
= libmagic
=32-bit;;
12140 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12141 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12142 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12143 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12144 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12148 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12149 shlibpath_overrides_runpath
=no
12150 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12151 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12152 hardcode_into_libs
=yes
12155 # No shared lib support for Linux oldld, aout, or coff.
12156 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12160 # This must be Linux ELF.
12161 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12166 soname_spec
='${libname}${release}${shared_ext}$major'
12167 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12168 shlibpath_var
=LD_LIBRARY_PATH
12169 shlibpath_overrides_runpath
=no
12170 # Some binutils ld are patched to set DT_RUNPATH
12171 save_LDFLAGS
=$LDFLAGS
12172 save_libdir
=$libdir
12173 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12174 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12186 if ac_fn_c_try_link
"$LINENO"; then :
12187 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12188 shlibpath_overrides_runpath
=yes
12191 rm -f core conftest.err conftest.
$ac_objext \
12192 conftest
$ac_exeext conftest.
$ac_ext
12193 LDFLAGS
=$save_LDFLAGS
12194 libdir
=$save_libdir
12196 # This implies no fast_install, which is unacceptable.
12197 # Some rework will be needed to allow for fast_install
12198 # before this can be enabled.
12199 hardcode_into_libs
=yes
12201 # Append ld.so.conf contents to the search path
12202 if test -f /etc
/ld.so.conf
; then
12203 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12204 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12207 # We used to test for /lib/ld.so.1 and disable shared libraries on
12208 # powerpc, because MkLinux only supported shared libraries with the
12209 # GNU dynamic linker. Since this was broken with cross compilers,
12210 # most powerpc-linux boxes support dynamic linking these days and
12211 # people can always --disable-shared, the test was removed, and we
12212 # assume the GNU/Linux dynamic linker is in use.
12213 dynamic_linker
='GNU/Linux ld.so'
12220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12221 soname_spec
='${libname}${release}${shared_ext}$major'
12222 shlibpath_var
=LD_LIBRARY_PATH
12223 shlibpath_overrides_runpath
=no
12224 hardcode_into_libs
=yes
12225 dynamic_linker
='NetBSD ld.elf_so'
12232 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12234 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12235 dynamic_linker
='NetBSD (a.out) ld.so'
12237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12238 soname_spec
='${libname}${release}${shared_ext}$major'
12239 dynamic_linker
='NetBSD ld.elf_so'
12241 shlibpath_var
=LD_LIBRARY_PATH
12242 shlibpath_overrides_runpath
=yes
12243 hardcode_into_libs
=yes
12248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12249 shlibpath_var
=LD_LIBRARY_PATH
12250 shlibpath_overrides_runpath
=yes
12257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12258 soname_spec
='${libname}${release}${shared_ext}$major'
12259 shlibpath_var
=LD_LIBRARY_PATH
12260 shlibpath_overrides_runpath
=no
12261 hardcode_into_libs
=yes
12262 dynamic_linker
='ldqnx.so'
12267 sys_lib_dlsearch_path_spec
="/usr/lib"
12269 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12271 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12272 *) need_version
=no
;;
12274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12275 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12276 shlibpath_var
=LD_LIBRARY_PATH
12277 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12279 openbsd2.
[89] | openbsd2.
[89].
*)
12280 shlibpath_overrides_runpath
=no
12283 shlibpath_overrides_runpath
=yes
12287 shlibpath_overrides_runpath
=yes
12292 libname_spec
='$name'
12295 library_names_spec
='$libname${shared_ext} $libname.a'
12296 dynamic_linker
='OS/2 ld.exe'
12297 shlibpath_var
=LIBPATH
12300 osf3
* | osf4
* | osf5
*)
12304 soname_spec
='${libname}${release}${shared_ext}$major'
12305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12306 shlibpath_var
=LD_LIBRARY_PATH
12307 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12308 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12320 soname_spec
='${libname}${release}${shared_ext}$major'
12321 shlibpath_var
=LD_LIBRARY_PATH
12322 shlibpath_overrides_runpath
=yes
12323 hardcode_into_libs
=yes
12324 # ldd complains unless libraries are executable
12325 postinstall_cmds
='chmod +x $lib'
12330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12331 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12332 shlibpath_var
=LD_LIBRARY_PATH
12333 shlibpath_overrides_runpath
=yes
12334 if test "$with_gnu_ld" = yes; then
12342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12343 soname_spec
='${libname}${release}${shared_ext}$major'
12344 shlibpath_var
=LD_LIBRARY_PATH
12345 case $host_vendor in
12347 shlibpath_overrides_runpath
=no
12349 runpath_var
=LD_RUN_PATH
12357 shlibpath_overrides_runpath
=no
12358 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12364 if test -d /usr
/nec
;then
12366 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12367 soname_spec
='$libname${shared_ext}.$major'
12368 shlibpath_var
=LD_LIBRARY_PATH
12372 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12373 version_type
=freebsd-elf
12376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12377 soname_spec
='${libname}${release}${shared_ext}$major'
12378 shlibpath_var
=LD_LIBRARY_PATH
12379 shlibpath_overrides_runpath
=yes
12380 hardcode_into_libs
=yes
12381 if test "$with_gnu_ld" = yes; then
12382 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12384 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12387 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12391 sys_lib_dlsearch_path_spec
='/usr/lib'
12395 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12400 shlibpath_var
=LD_LIBRARY_PATH
12401 shlibpath_overrides_runpath
=no
12402 hardcode_into_libs
=yes
12407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12408 soname_spec
='${libname}${release}${shared_ext}$major'
12409 shlibpath_var
=LD_LIBRARY_PATH
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12417 $as_echo "$dynamic_linker" >&6; }
12418 test "$dynamic_linker" = no
&& can_build_shared
=no
12420 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12421 if test "$GCC" = yes; then
12422 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12425 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12426 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12428 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12429 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12519 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12521 if test -n "$hardcode_libdir_flag_spec" ||
12522 test -n "$runpath_var" ||
12523 test "X$hardcode_automatic" = "Xyes" ; then
12525 # We can hardcode non-existent directories.
12526 if test "$hardcode_direct" != no
&&
12527 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12528 # have to relink, otherwise we might link with an installed library
12529 # when we should be linking with a yet-to-be-installed one
12530 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12531 test "$hardcode_minus_L" != no
; then
12532 # Linking always hardcodes the temporary library directory.
12533 hardcode_action
=relink
12535 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12536 hardcode_action
=immediate
12539 # We cannot hardcode anything, or else we can only hardcode existing
12541 hardcode_action
=unsupported
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12544 $as_echo "$hardcode_action" >&6; }
12546 if test "$hardcode_action" = relink ||
12547 test "$inherit_rpath" = yes; then
12548 # Fast installation is not supported
12549 enable_fast_install
=no
12550 elif test "$shlibpath_overrides_runpath" = yes ||
12551 test "$enable_shared" = no
; then
12552 # Fast installation is not necessary
12553 enable_fast_install
=needless
12561 if test "x$enable_dlopen" != xyes
; then
12562 enable_dlopen
=unknown
12563 enable_dlopen_self
=unknown
12564 enable_dlopen_self_static
=unknown
12571 lt_cv_dlopen
="load_add_on"
12573 lt_cv_dlopen_self
=yes
12576 mingw
* | pw32
* | cegcc
*)
12577 lt_cv_dlopen
="LoadLibrary"
12582 lt_cv_dlopen
="dlopen"
12587 # if libdl is installed we need to link against it
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12589 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12590 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12591 $as_echo_n "(cached) " >&6
12593 ac_check_lib_save_LIBS
=$LIBS
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12613 if ac_fn_c_try_link
"$LINENO"; then :
12614 ac_cv_lib_dl_dlopen
=yes
12616 ac_cv_lib_dl_dlopen
=no
12618 rm -f core conftest.err conftest.
$ac_objext \
12619 conftest
$ac_exeext conftest.
$ac_ext
12620 LIBS
=$ac_check_lib_save_LIBS
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12623 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12624 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12625 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12628 lt_cv_dlopen
="dyld"
12630 lt_cv_dlopen_self
=yes
12637 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12638 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12639 lt_cv_dlopen
="shl_load"
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12642 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12643 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12644 $as_echo_n "(cached) " >&6
12646 ac_check_lib_save_LIBS
=$LIBS
12648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12661 return shl_load ();
12666 if ac_fn_c_try_link
"$LINENO"; then :
12667 ac_cv_lib_dld_shl_load
=yes
12669 ac_cv_lib_dld_shl_load
=no
12671 rm -f core conftest.err conftest.
$ac_objext \
12672 conftest
$ac_exeext conftest.
$ac_ext
12673 LIBS
=$ac_check_lib_save_LIBS
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12676 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12677 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12678 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12680 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12681 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12682 lt_cv_dlopen
="dlopen"
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12685 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12686 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12687 $as_echo_n "(cached) " >&6
12689 ac_check_lib_save_LIBS
=$LIBS
12691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12694 /* Override any GCC internal prototype to avoid an error.
12695 Use char because int might match the return type of a GCC
12696 builtin and then its argument prototype would still apply. */
12709 if ac_fn_c_try_link
"$LINENO"; then :
12710 ac_cv_lib_dl_dlopen
=yes
12712 ac_cv_lib_dl_dlopen
=no
12714 rm -f core conftest.err conftest.
$ac_objext \
12715 conftest
$ac_exeext conftest.
$ac_ext
12716 LIBS
=$ac_check_lib_save_LIBS
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12719 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12720 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12721 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12724 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12725 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12726 $as_echo_n "(cached) " >&6
12728 ac_check_lib_save_LIBS
=$LIBS
12729 LIBS
="-lsvld $LIBS"
12730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 /* Override any GCC internal prototype to avoid an error.
12734 Use char because int might match the return type of a GCC
12735 builtin and then its argument prototype would still apply. */
12748 if ac_fn_c_try_link
"$LINENO"; then :
12749 ac_cv_lib_svld_dlopen
=yes
12751 ac_cv_lib_svld_dlopen
=no
12753 rm -f core conftest.err conftest.
$ac_objext \
12754 conftest
$ac_exeext conftest.
$ac_ext
12755 LIBS
=$ac_check_lib_save_LIBS
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12758 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12759 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12760 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12763 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12764 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12765 $as_echo_n "(cached) " >&6
12767 ac_check_lib_save_LIBS
=$LIBS
12769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12772 /* Override any GCC internal prototype to avoid an error.
12773 Use char because int might match the return type of a GCC
12774 builtin and then its argument prototype would still apply. */
12782 return dld_link ();
12787 if ac_fn_c_try_link
"$LINENO"; then :
12788 ac_cv_lib_dld_dld_link
=yes
12790 ac_cv_lib_dld_dld_link
=no
12792 rm -f core conftest.err conftest.
$ac_objext \
12793 conftest
$ac_exeext conftest.
$ac_ext
12794 LIBS
=$ac_check_lib_save_LIBS
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12797 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12798 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12799 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12820 if test "x$lt_cv_dlopen" != xno
; then
12826 case $lt_cv_dlopen in
12828 save_CPPFLAGS
="$CPPFLAGS"
12829 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12831 save_LDFLAGS
="$LDFLAGS"
12832 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12835 LIBS
="$lt_cv_dlopen_libs $LIBS"
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12838 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12839 if test "${lt_cv_dlopen_self+set}" = set; then :
12840 $as_echo_n "(cached) " >&6
12842 if test "$cross_compiling" = yes; then :
12843 lt_cv_dlopen_self
=cross
12845 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12846 lt_status
=$lt_dlunknown
12847 cat > conftest.
$ac_ext <<_LT_EOF
12848 #line 12848 "configure"
12849 #include "confdefs.h"
12858 # define LT_DLGLOBAL RTLD_GLOBAL
12861 # define LT_DLGLOBAL DL_GLOBAL
12863 # define LT_DLGLOBAL 0
12867 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12868 find out it does not work in some platform. */
12869 #ifndef LT_DLLAZY_OR_NOW
12871 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12874 # define LT_DLLAZY_OR_NOW DL_LAZY
12877 # define LT_DLLAZY_OR_NOW RTLD_NOW
12880 # define LT_DLLAZY_OR_NOW DL_NOW
12882 # define LT_DLLAZY_OR_NOW 0
12889 void fnord() { int i=42;}
12892 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12893 int status = $lt_dlunknown;
12897 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12898 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12899 /* dlclose (self); */
12907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12908 (eval $ac_link) 2>&5
12910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12911 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12912 (.
/conftest
; exit; ) >&5 2>/dev
/null
12914 case x
$lt_status in
12915 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12916 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12917 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12920 # compilation failed
12921 lt_cv_dlopen_self
=no
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12929 $as_echo "$lt_cv_dlopen_self" >&6; }
12931 if test "x$lt_cv_dlopen_self" = xyes
; then
12932 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12934 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12935 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12936 $as_echo_n "(cached) " >&6
12938 if test "$cross_compiling" = yes; then :
12939 lt_cv_dlopen_self_static
=cross
12941 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12942 lt_status
=$lt_dlunknown
12943 cat > conftest.
$ac_ext <<_LT_EOF
12944 #line 12944 "configure"
12945 #include "confdefs.h"
12954 # define LT_DLGLOBAL RTLD_GLOBAL
12957 # define LT_DLGLOBAL DL_GLOBAL
12959 # define LT_DLGLOBAL 0
12963 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12964 find out it does not work in some platform. */
12965 #ifndef LT_DLLAZY_OR_NOW
12967 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12970 # define LT_DLLAZY_OR_NOW DL_LAZY
12973 # define LT_DLLAZY_OR_NOW RTLD_NOW
12976 # define LT_DLLAZY_OR_NOW DL_NOW
12978 # define LT_DLLAZY_OR_NOW 0
12985 void fnord() { int i=42;}
12988 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12989 int status = $lt_dlunknown;
12993 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12994 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12995 /* dlclose (self); */
13003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13004 (eval $ac_link) 2>&5
13006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13007 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13008 (.
/conftest
; exit; ) >&5 2>/dev
/null
13010 case x
$lt_status in
13011 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13012 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13013 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13016 # compilation failed
13017 lt_cv_dlopen_self_static
=no
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13025 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13028 CPPFLAGS
="$save_CPPFLAGS"
13029 LDFLAGS
="$save_LDFLAGS"
13034 case $lt_cv_dlopen_self in
13035 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13036 *) enable_dlopen_self
=unknown
;;
13039 case $lt_cv_dlopen_self_static in
13040 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13041 *) enable_dlopen_self_static
=unknown
;;
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13064 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13065 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13066 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13067 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13069 $as_echo "yes" >&6; }
13071 # FIXME - insert some real tests, host_os isn't really good enough
13074 if test -n "$STRIP" ; then
13075 striplib
="$STRIP -x"
13076 old_striplib
="$STRIP -S"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13078 $as_echo "yes" >&6; }
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13081 $as_echo "no" >&6; }
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13086 $as_echo "no" >&6; }
13102 # Report which library types will actually be built
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13104 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13106 $as_echo "$can_build_shared" >&6; }
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13109 $as_echo_n "checking whether to build shared libraries... " >&6; }
13110 test "$can_build_shared" = "no" && enable_shared
=no
13112 # On AIX, shared libraries and static libraries use the same namespace, and
13113 # are all built from PIC.
13116 test "$enable_shared" = yes && enable_static
=no
13117 if test -n "$RANLIB"; then
13118 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13119 postinstall_cmds
='$RANLIB $lib'
13124 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13125 test "$enable_shared" = yes && enable_static
=no
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13130 $as_echo "$enable_shared" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13133 $as_echo_n "checking whether to build static libraries... " >&6; }
13134 # Make sure either enable_shared or enable_static is yes.
13135 test "$enable_shared" = yes || enable_static
=yes
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13137 $as_echo "$enable_static" >&6; }
13144 ac_cpp
='$CPP $CPPFLAGS'
13145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13163 ac_config_commands
="$ac_config_commands libtool"
13168 # Only expand once:
13175 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13176 if test -n "$ac_tool_prefix"; then
13177 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13178 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13180 $as_echo_n "checking for $ac_word... " >&6; }
13181 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13182 $as_echo_n "(cached) " >&6
13184 case $PKG_CONFIG in
13186 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13190 for as_dir
in $PATH
13193 test -z "$as_dir" && as_dir
=.
13194 for ac_exec_ext
in '' $ac_executable_extensions; do
13195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13196 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13207 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13208 if test -n "$PKG_CONFIG"; then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13210 $as_echo "$PKG_CONFIG" >&6; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13213 $as_echo "no" >&6; }
13218 if test -z "$ac_cv_path_PKG_CONFIG"; then
13219 ac_pt_PKG_CONFIG
=$PKG_CONFIG
13220 # Extract the first word of "pkg-config", so it can be a program name with args.
13221 set dummy pkg-config
; ac_word
=$2
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13223 $as_echo_n "checking for $ac_word... " >&6; }
13224 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13225 $as_echo_n "(cached) " >&6
13227 case $ac_pt_PKG_CONFIG in
13229 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13233 for as_dir
in $PATH
13236 test -z "$as_dir" && as_dir
=.
13237 for ac_exec_ext
in '' $ac_executable_extensions; do
13238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13239 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13250 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
13251 if test -n "$ac_pt_PKG_CONFIG"; then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13253 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13256 $as_echo "no" >&6; }
13259 if test "x$ac_pt_PKG_CONFIG" = x
; then
13262 case $cross_compiling:$ac_tool_warned in
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13266 ac_tool_warned
=yes ;;
13268 PKG_CONFIG
=$ac_pt_PKG_CONFIG
13271 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13275 if test -n "$PKG_CONFIG"; then
13276 _pkg_min_version
=0.9.0
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13278 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13279 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13281 $as_echo "yes" >&6; }
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13284 $as_echo "no" >&6; }
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKGRAPH" >&5
13292 $as_echo_n "checking for GTKGRAPH... " >&6; }
13294 if test -n "$PKG_CONFIG"; then
13295 if test -n "$GTKGRAPH_CFLAGS"; then
13296 pkg_cv_GTKGRAPH_CFLAGS
="$GTKGRAPH_CFLAGS"
13298 if test -n "$PKG_CONFIG" && \
13299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 goocanvas \""; } >&5
13300 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 goocanvas ") 2>&5
13302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13303 test $ac_status = 0; }; then
13304 pkg_cv_GTKGRAPH_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 goocanvas " 2>/dev/null`
13312 if test -n "$PKG_CONFIG"; then
13313 if test -n "$GTKGRAPH_LIBS"; then
13314 pkg_cv_GTKGRAPH_LIBS
="$GTKGRAPH_LIBS"
13316 if test -n "$PKG_CONFIG" && \
13317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 goocanvas \""; } >&5
13318 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 goocanvas ") 2>&5
13320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13321 test $ac_status = 0; }; then
13322 pkg_cv_GTKGRAPH_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 goocanvas " 2>/dev/null`
13333 if test $pkg_failed = yes; then
13335 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13336 _pkg_short_errors_supported
=yes
13338 _pkg_short_errors_supported
=no
13340 if test $_pkg_short_errors_supported = yes; then
13341 GTKGRAPH_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 goocanvas "`
13343 GTKGRAPH_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 goocanvas "`
13345 # Put the nasty error message in config.log where it belongs
13346 echo "$GTKGRAPH_PKG_ERRORS" >&5
13348 as_fn_error
"Package requirements (gtk+-2.0 goocanvas ) were not met:
13350 $GTKGRAPH_PKG_ERRORS
13352 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13353 installed software in a non-standard prefix.
13355 Alternatively, you may set the environment variables GTKGRAPH_CFLAGS
13356 and GTKGRAPH_LIBS to avoid the need to call pkg-config.
13357 See the pkg-config man page for more details.
13359 elif test $pkg_failed = untried
; then
13360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13362 as_fn_error
"The pkg-config script could not be found or is too old. Make sure it
13363 is in your PATH or set the PKG_CONFIG environment variable to the full
13364 path to pkg-config.
13366 Alternatively, you may set the environment variables GTKGRAPH_CFLAGS
13367 and GTKGRAPH_LIBS to avoid the need to call pkg-config.
13368 See the pkg-config man page for more details.
13370 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13371 See \`config.log' for more details." "$LINENO" 5; }
13373 GTKGRAPH_CFLAGS
=$pkg_cv_GTKGRAPH_CFLAGS
13374 GTKGRAPH_LIBS
=$pkg_cv_GTKGRAPH_LIBS
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13376 $as_echo "yes" >&6; }
13383 ac_config_files
="$ac_config_files Makefile src/libgtkgraph-0.1.pc src/Makefile po/Makefile.in"
13385 cat >confcache
<<\_ACEOF
13386 # This file is a shell script that caches the results of configure
13387 # tests run on this system so they can be shared between configure
13388 # scripts and configure runs, see configure's option --config-cache.
13389 # It is not useful on other systems. If it contains results you don't
13390 # want to keep, you may remove or edit it.
13392 # config.status only pays attention to the cache file if you give it
13393 # the --recheck option to rerun configure.
13395 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13396 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13397 # following values.
13401 # The following way of writing the cache mishandles newlines in values,
13402 # but we know of no workaround that is simple, portable, and efficient.
13403 # So, we kill variables containing newlines.
13404 # Ultrix sh set writes to stderr and can't be redirected directly,
13405 # and sets the high bit in the cache file unless we assign to the vars.
13407 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13408 eval ac_val
=\$
$ac_var
13412 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13413 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13416 _ | IFS | as_nl
) ;; #(
13417 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13418 *) { eval $ac_var=; unset $ac_var;} ;;
13424 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13425 *${as_nl}ac_space
=\
*)
13426 # `set' does not quote correctly, so add quotes: double-quote
13427 # substitution turns \\\\ into \\, and sed turns \\ into \.
13430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13433 # `set' quotes correctly as required by POSIX, so do not add quotes.
13434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13443 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13445 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13447 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13448 if test -w "$cache_file"; then
13449 test "x$cache_file" != "x/dev/null" &&
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13451 $as_echo "$as_me: updating cache $cache_file" >&6;}
13452 cat confcache
>$cache_file
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13455 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13460 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13461 # Let make expand exec_prefix.
13462 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13464 DEFS
=-DHAVE_CONFIG_H
13468 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13469 # 1. Remove the extension, and $U if already installed.
13470 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13471 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13472 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13473 # will be set to the directory where LIBOBJS objects are built.
13474 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13475 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13477 LIBOBJS
=$ac_libobjs
13479 LTLIBOBJS
=$ac_ltlibobjs
13482 if test -n "$EXEEXT"; then
13484 am__EXEEXT_FALSE
='#'
13486 am__EXEEXT_TRUE
='#'
13490 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13491 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13494 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13495 as_fn_error
"conditional \"AMDEP\" was never defined.
13496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13498 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13499 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13502 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13503 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13506 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13507 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13511 ac_config_commands
="$ac_config_commands po/stamp-it"
13515 : ${CONFIG_STATUS=./config.status}
13517 ac_clean_files_save
=$ac_clean_files
13518 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13520 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13522 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13524 # Generated by $as_me.
13525 # Run this file to recreate the current configuration.
13526 # Compiler output produced by configure, useful for debugging
13527 # configure, is in config.log if it exists.
13530 ac_cs_recheck=false
13533 SHELL=\${CONFIG_SHELL-$SHELL}
13536 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13537 ## -------------------- ##
13538 ## M4sh Initialization. ##
13539 ## -------------------- ##
13541 # Be more Bourne compatible
13542 DUALCASE
=1; export DUALCASE
# for MKS sh
13543 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13546 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13547 # is contrary to our usage. Disable this feature.
13548 alias -g '${1+"$@"}'='"$@"'
13549 setopt NO_GLOB_SUBST
13551 case `(set -o) 2>/dev/null` in #(
13563 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13564 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13565 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13566 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13567 # Prefer a ksh shell builtin over an external printf program on Solaris,
13568 # but without wasting forks for bash or zsh.
13569 if test -z "$BASH_VERSION$ZSH_VERSION" \
13570 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13571 as_echo='print
-r --'
13572 as_echo_n='print
-rn --'
13573 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13574 as_echo='printf %s
\n'
13575 as_echo_n='printf %s
'
13577 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13578 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13579 as_echo_n='/usr
/ucb
/echo -n'
13581 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13582 as_echo_n_body='eval
13586 expr "X$arg" : "X\\(.*\\)$as_nl";
13587 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13589 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13591 export as_echo_n_body
13592 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13594 export as_echo_body
13595 as_echo='sh
-c $as_echo_body as_echo
'
13598 # The user is always right.
13599 if test "${PATH_SEPARATOR+set}" != set; then
13601 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13602 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13609 # We need space, tab and new line, in precisely that order. Quoting is
13610 # there to prevent editors from complaining about space-tab.
13611 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13612 # splitting by setting IFS to empty value.)
13615 # Find who we are. Look in the path if we contain no directory separator.
13617 *[\\/]* ) as_myself=$0 ;;
13618 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13619 for as_dir in $PATH
13622 test -z "$as_dir" && as_dir=.
13623 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13629 # We did not find ourselves, most probably we were run as `sh COMMAND'
13630 # in which case we are not to be found in the path.
13631 if test "x$as_myself" = x
; then
13634 if test ! -f "$as_myself"; then
13635 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13639 # Unset variables that we do not need and which cause bugs (e.g. in
13640 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13641 # suppresses any "Segmentation fault" message there. '((' could
13642 # trigger a bug in pdksh 5.2.14.
13643 for as_var
in BASH_ENV ENV MAIL MAILPATH
13644 do eval test x\
${$as_var+set} = xset \
13645 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13658 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13661 # as_fn_error ERROR [LINENO LOG_FD]
13662 # ---------------------------------
13663 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13664 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13665 # script with status $?, using 1 if that was 0.
13668 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13670 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13671 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13673 $as_echo "$as_me: error: $1" >&2
13674 as_fn_exit
$as_status
13678 # as_fn_set_status STATUS
13679 # -----------------------
13680 # Set $? to STATUS, without forking.
13681 as_fn_set_status
()
13684 } # as_fn_set_status
13686 # as_fn_exit STATUS
13687 # -----------------
13688 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13692 as_fn_set_status
$1
13698 # Portably unset VAR.
13701 { eval $1=; unset $1;}
13703 as_unset
=as_fn_unset
13704 # as_fn_append VAR VALUE
13705 # ----------------------
13706 # Append the text in VALUE to the end of the definition contained in VAR. Take
13707 # advantage of any shell optimizations that allow amortized linear growth over
13708 # repeated appends, instead of the typical quadratic growth present in naive
13710 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13711 eval 'as_fn_append ()
13722 # as_fn_arith ARG...
13723 # ------------------
13724 # Perform arithmetic evaluation on the ARGs, and store the result in the
13725 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13726 # must be portable across $(()) and expr.
13727 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13728 eval 'as_fn_arith ()
13735 as_val
=`expr "$@" || test $? -eq 1`
13740 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13741 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13747 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13748 as_basename
=basename
13753 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13759 as_me
=`$as_basename -- "$0" ||
13760 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13761 X"$0" : 'X\(//\)$' \| \
13762 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13764 sed '/^.*\/\([^/][^/]*\)\/*$/{
13778 # Avoid depending upon Character Ranges.
13779 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13780 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13781 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13782 as_cr_digits
='0123456789'
13783 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13785 ECHO_C
= ECHO_N
= ECHO_T
=
13786 case `echo -n x` in #(((((
13788 case `echo 'xy\c'` in
13789 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13791 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13798 rm -f conf$$ conf$$.exe conf$$.
file
13799 if test -d conf$$.dir
; then
13800 rm -f conf$$.dir
/conf$$.
file
13803 mkdir conf$$.dir
2>/dev
/null
13805 if (echo >conf$$.
file) 2>/dev
/null
; then
13806 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13808 # ... but there are two gotchas:
13809 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13810 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13811 # In both cases, we have to default to `cp -p'.
13812 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13814 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13822 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13823 rmdir conf$$.dir
2>/dev
/null
13828 # Create "$as_dir" as a directory, including parents if necessary.
13833 -*) as_dir
=.
/$as_dir;;
13835 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13839 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13840 *) as_qdir
=$as_dir;;
13842 as_dirs
="'$as_qdir' $as_dirs"
13843 as_dir
=`$as_dirname -- "$as_dir" ||
13844 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13845 X"$as_dir" : 'X\(//\)[^/]' \| \
13846 X"$as_dir" : 'X\(//\)$' \| \
13847 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13848 $as_echo X"$as_dir" |
13849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13853 /^X\(\/\/\)[^/].*/{
13866 test -d "$as_dir" && break
13868 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13869 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13873 if mkdir
-p .
2>/dev
/null
; then
13874 as_mkdir_p
='mkdir -p "$as_dir"'
13876 test -d .
/-p && rmdir .
/-p
13880 if test -x / >/dev
/null
2>&1; then
13881 as_test_x
='test -x'
13883 if ls -dL / >/dev
/null
2>&1; then
13890 if test -d "$1"; then
13896 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13897 ???[sx]*):;;*)false;;esac;fi
13901 as_executable_p
=$as_test_x
13903 # Sed expression to map a string onto a valid CPP name.
13904 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13906 # Sed expression to map a string onto a valid variable name.
13907 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13911 ## ----------------------------------- ##
13912 ## Main body of $CONFIG_STATUS script. ##
13913 ## ----------------------------------- ##
13915 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13918 # Save the log message, to keep $0 and so on meaningful, and to
13919 # report actual input values of CONFIG_FILES etc. instead of their
13920 # values after options handling.
13922 This file was extended by gtkgraph $as_me 0.1, which was
13923 generated by GNU Autoconf 2.65. Invocation command line was
13925 CONFIG_FILES = $CONFIG_FILES
13926 CONFIG_HEADERS = $CONFIG_HEADERS
13927 CONFIG_LINKS = $CONFIG_LINKS
13928 CONFIG_COMMANDS = $CONFIG_COMMANDS
13931 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13936 case $ac_config_files in *"
13937 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13940 case $ac_config_headers in *"
13941 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13946 # Files that config.status was made for.
13947 config_files="$ac_config_files"
13948 config_headers="$ac_config_headers"
13949 config_commands="$ac_config_commands"
13953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13955 \`$as_me' instantiates files and other configuration actions
13956 from templates according to the current configuration. Unless the files
13957 and actions are specified as TAGs, all are instantiated by default.
13959 Usage: $0 [OPTION]... [TAG]...
13961 -h, --help print this help, then exit
13962 -V, --version print version number and configuration settings, then exit
13963 --config print configuration, then exit
13964 -q, --quiet, --silent
13965 do not print progress messages
13966 -d, --debug don't remove temporary files
13967 --recheck update $as_me by reconfiguring in the same conditions
13968 --file=FILE[:TEMPLATE]
13969 instantiate the configuration file FILE
13970 --header=FILE[:TEMPLATE]
13971 instantiate the configuration header FILE
13973 Configuration files:
13976 Configuration headers:
13979 Configuration commands:
13982 Report bugs to the package provider."
13985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13986 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13988 gtkgraph config.status 0.1
13989 configured by $0, generated by GNU Autoconf 2.65,
13990 with options \\"\$ac_cs_config\\"
13992 Copyright (C) 2009 Free Software Foundation, Inc.
13993 This config.status script is free software; the Free Software Foundation
13994 gives unlimited permission to copy, distribute and modify it."
14001 test -n "\$AWK" || AWK=awk
14004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14005 # The default lists apply if the user does not specify any file.
14011 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14012 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14023 # Handling of the options.
14024 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14026 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14027 $as_echo "$ac_cs_version"; exit ;;
14028 --config |
--confi |
--conf |
--con |
--co |
--c )
14029 $as_echo "$ac_cs_config"; exit ;;
14030 --debug |
--debu |
--deb |
--de |
--d |
-d )
14032 --file |
--fil |
--fi |
--f )
14035 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14037 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14038 ac_need_defaults
=false
;;
14039 --header |
--heade |
--head |
--hea )
14042 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14044 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14045 ac_need_defaults
=false
;;
14047 # Conflict between --help and --header
14048 as_fn_error
"ambiguous option: \`$1'
14049 Try \`$0 --help' for more information.";;
14050 --help |
--hel |
-h )
14051 $as_echo "$ac_cs_usage"; exit ;;
14052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14053 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14056 # This is an error.
14057 -*) as_fn_error
"unrecognized option: \`$1'
14058 Try \`$0 --help' for more information." ;;
14060 *) as_fn_append ac_config_targets
" $1"
14061 ac_need_defaults
=false
;;
14067 ac_configure_extra_args
=
14069 if $ac_cs_silent; then
14071 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14076 if \$ac_cs_recheck; then
14077 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14079 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14080 CONFIG_SHELL='$SHELL'
14081 export CONFIG_SHELL
14086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14090 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14091 ## Running $as_me. ##
14097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14101 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14105 # The HP-UX ksh and POSIX shell print the target directory to stdout
14106 # if CDPATH is set.
14107 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14109 sed_quote_subst='$sed_quote_subst'
14110 double_quote_subst='$double_quote_subst'
14111 delay_variable_subst='$delay_variable_subst'
14112 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14113 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14114 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14115 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14116 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14117 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14118 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14119 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14120 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14121 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14122 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14123 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14124 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14125 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14126 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14127 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14128 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14129 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14130 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14131 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14132 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14133 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14134 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14135 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14136 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14137 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14138 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14139 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14140 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14141 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14142 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14143 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14144 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14145 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14146 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14147 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14148 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14149 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14150 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14151 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14152 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14153 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14154 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14155 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14156 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
14157 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14158 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14159 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14160 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14161 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14162 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14163 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14164 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14165 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14166 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14167 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14168 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14169 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14170 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14171 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14172 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14173 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14174 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14175 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14176 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14177 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14178 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14179 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14180 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14181 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14182 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14183 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14184 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14185 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14186 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14187 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14188 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14189 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14190 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14191 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14192 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14193 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14194 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14195 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14196 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14197 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14198 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14199 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14200 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14201 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14202 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14203 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14204 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14205 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14206 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14207 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14208 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14209 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14210 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14211 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14212 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14213 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14214 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14215 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14216 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14217 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14218 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14219 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14220 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14221 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14222 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14223 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14224 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14225 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14226 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14227 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14228 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14229 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14232 LTCFLAGS='$LTCFLAGS'
14233 compiler='$compiler_DEFAULT'
14235 # Quote evaled strings.
14247 deplibs_check_method \
14256 lt_cv_sys_global_symbol_pipe \
14257 lt_cv_sys_global_symbol_to_cdecl \
14258 lt_cv_sys_global_symbol_to_c_name_address \
14259 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14262 lt_prog_compiler_no_builtin_flag \
14263 lt_prog_compiler_wl \
14264 lt_prog_compiler_pic \
14265 lt_prog_compiler_static \
14266 lt_cv_prog_compiler_c_o \
14274 export_dynamic_flag_spec \
14275 whole_archive_flag_spec \
14276 compiler_needs_object \
14278 allow_undefined_flag \
14279 no_undefined_flag \
14280 hardcode_libdir_flag_spec \
14281 hardcode_libdir_flag_spec_ld \
14282 hardcode_libdir_separator \
14287 variables_saved_for_relink \
14289 library_names_spec \
14294 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14295 *[\\\\\\\`\\"\\\$]*)
14296 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14299 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14304 # Double-quote double-evaled strings.
14305 for var in reload_cmds \
14306 old_postinstall_cmds \
14307 old_postuninstall_cmds \
14309 extract_expsyms_cmds \
14310 old_archive_from_new_cmds \
14311 old_archive_from_expsyms_cmds \
14313 archive_expsym_cmds \
14315 module_expsym_cmds \
14316 export_symbols_cmds \
14319 postuninstall_cmds \
14321 sys_lib_search_path_spec \
14322 sys_lib_dlsearch_path_spec; do
14323 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14324 *[\\\\\\\`\\"\\\$]*)
14325 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14328 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14333 # Fix-up fallback echo if it was mangled by the above quoting rules.
14335 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14339 ac_aux_dir='$ac_aux_dir'
14340 xsi_shell='$xsi_shell'
14341 lt_shell_append='$lt_shell_append'
14343 # See if we are running on zsh, and set the options which allow our
14344 # commands through without removal of \ escapes INIT.
14345 if test -n "\${ZSH_VERSION+set}" ; then
14346 setopt NO_GLOB_SUBST
14352 TIMESTAMP='$TIMESTAMP'
14361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14363 # Handling of arguments.
14364 for ac_config_target
in $ac_config_targets
14366 case $ac_config_target in
14367 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14368 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14369 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14370 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14371 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14372 "src/libgtkgraph-0.1.pc") CONFIG_FILES
="$CONFIG_FILES src/libgtkgraph-0.1.pc" ;;
14373 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
14374 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
14375 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
14377 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14382 # If the user did not use the arguments to specify the items to instantiate,
14383 # then the envvar interface is used. Set only those that are not.
14384 # We use the long form for the default assignment because of an extremely
14385 # bizarre bug on SunOS 4.1.3.
14386 if $ac_need_defaults; then
14387 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14388 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14389 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14392 # Have a temporary directory for convenience. Make it in the build tree
14393 # simply because there is no reason against having it here, and in addition,
14394 # creating and moving files from /tmp can sometimes cause problems.
14395 # Hook for its removal unless debugging.
14396 # Note that there is a small window in which the directory will not be cleaned:
14397 # after its creation but before its name has been assigned to `$tmp'.
14401 trap 'exit_status=$?
14402 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14404 trap 'as_fn_exit 1' 1 2 13 15
14406 # Create a (secure) tmp directory for tmp files.
14409 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14410 test -n "$tmp" && test -d "$tmp"
14413 tmp
=.
/conf$$
-$RANDOM
14414 (umask 077 && mkdir
"$tmp")
14415 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14417 # Set up the scripts for CONFIG_FILES section.
14418 # No need to generate them if there are no CONFIG_FILES.
14419 # This happens for instance with `./config.status config.h'.
14420 if test -n "$CONFIG_FILES"; then
14423 ac_cr
=`echo X | tr X '\015'`
14424 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14425 # But we know of no other shell where ac_cr would be empty at this
14426 # point, so we can use a bashism as a fallback.
14427 if test "x$ac_cr" = x
; then
14428 eval ac_cr
=\$
\'\\r
\'
14430 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14431 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14434 ac_cs_awk_cr
=$ac_cr
14437 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14442 echo "cat >conf$$subs.awk <<_ACEOF" &&
14443 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14445 } >conf$$subs.sh ||
14446 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14447 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14449 for ac_last_try in false false false false false :; do
14450 . ./conf$$subs.sh ||
14451 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14453 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14454 if test $ac_delim_n = $ac_delim_num; then
14456 elif $ac_last_try; then
14457 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14459 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14462 rm -f conf$$subs.sh
14464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14465 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14469 s/^/S["/; s
/!.
*/"]=/
14479 s/\(.\{148\}\)..*/\1/
14481 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14486 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14493 s/\(.\{148\}\)..*/\1/
14495 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14499 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14504 ' <conf$$subs.awk | sed '
14509 ' >>$CONFIG_STATUS || ac_write_fail=1
14510 rm -f conf$$subs.awk
14511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14513 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14514 for (key in S) S_is_set[key] = 1
14520 nfields = split(line, field, "@
")
14522 len = length(field[1])
14523 for (i = 2; i < nfields; i++) {
14525 keylen = length(key)
14526 if (S_is_set[key]) {
14528 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14529 len += length(value) + length(field[++i])
14540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14541 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14542 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14545 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14546 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14549 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14550 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14551 # trailing colons and then remove the whole line if VPATH becomes empty
14552 # (actually we leave an empty line to preserve line numbers).
14553 if test "x
$srcdir" = x.; then
14554 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14555 s/:*\$(srcdir):*/:/
14556 s/:*\${srcdir}:*/:/
14558 s/^\([^=]*=[ ]*\):*/\1/
14564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14565 fi # test -n "$CONFIG_FILES"
14567 # Set up the scripts for CONFIG_HEADERS section.
14568 # No need to generate them if there are no CONFIG_HEADERS.
14569 # This happens for instance with `./config.status Makefile'.
14570 if test -n "$CONFIG_HEADERS"; then
14571 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14575 # Transform confdefs.h into an awk script `defines.awk', embedded as
14576 # here-document in config.status, that substitutes the proper values into
14577 # config.h.in to produce config.h.
14579 # Create a delimiter string that does not exist in confdefs.h, to ease
14580 # handling of long lines.
14582 for ac_last_try in false false :; do
14583 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14584 if test -z "$ac_t"; then
14586 elif $ac_last_try; then
14587 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14589 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14593 # For the awk script, D is an array of macro values keyed by name,
14594 # likewise P contains macro parameters if any. Preserve backslash
14595 # newline sequences.
14597 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14599 s/.\{148\}/&'"$ac_delim"'/g
14602 s/^[ ]*#[ ]*define[ ][ ]*/ /
14609 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14611 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14615 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14616 D["\
1"]=" \
3\\\\\\n
"\\/p
14618 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14623 s/.\{148\}/&'"$ac_delim"'/g
14628 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14631 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14633 ' <confdefs.h | sed '
14634 s/'"$ac_delim"'/"\\\
14635 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14638 for (key in D) D_is_set[key] = 1
14641 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14643 split(line, arg, " ")
14644 if (arg[1] == "#") {
14648 defundef
= substr
(arg
[1], 2)
14651 split(mac1
, mac2
, "(") #)
14653 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14654 if (D_is_set
[macro
]) {
14655 # Preserve the white space surrounding the "#".
14656 print prefix
"define", macro P
[macro
] D
[macro
]
14659 # Replace #undef with comments. This is necessary, for example,
14660 # in the case of _POSIX_SOURCE, which is predefined and required
14661 # on some systems where configure will not decide to define it.
14662 if (defundef
== "undef") {
14663 print
"/*", prefix defundef
, macro
, "*/"
14671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14672 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14673 fi # test -n "$CONFIG_HEADERS"
14676 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14681 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14683 case $ac_mode$ac_tag in
14685 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14686 :[FH
]-) ac_tag
=-:-;;
14687 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14704 -) ac_f
="$tmp/stdin";;
14705 *) # Look for the file first in the build tree, then in the source tree
14706 # (if the path is not absolute). The absolute path cannot be DOS-style,
14707 # because $ac_f cannot contain `:'.
14711 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14713 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14715 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14716 as_fn_append ac_file_inputs
" '$ac_f'"
14719 # Let's still pretend it is `configure' which instantiates (i.e., don't
14720 # use $as_me), people would be surprised to read:
14721 # /* config.h. Generated by config.status. */
14722 configure_input
='Generated from '`
14723 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14725 if test x
"$ac_file" != x-
; then
14726 configure_input
="$ac_file. $configure_input"
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14728 $as_echo "$as_me: creating $ac_file" >&6;}
14730 # Neutralize special characters interpreted by sed in replacement strings.
14731 case $configure_input in #(
14732 *\
&* |
*\|
* |
*\\* )
14733 ac_sed_conf_input
=`$as_echo "$configure_input" |
14734 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14735 *) ac_sed_conf_input
=$configure_input;;
14739 *:-:* |
*:-) cat >"$tmp/stdin" \
14740 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14745 ac_dir
=`$as_dirname -- "$ac_file" ||
14746 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14747 X"$ac_file" : 'X\(//\)[^/]' \| \
14748 X"$ac_file" : 'X\(//\)$' \| \
14749 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14750 $as_echo X"$ac_file" |
14751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14755 /^X\(\/\/\)[^/].*/{
14768 as_dir
="$ac_dir"; as_fn_mkdir_p
14772 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14774 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14775 # A ".." for each directory in $ac_dir_suffix.
14776 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14777 case $ac_top_builddir_sub in
14778 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14779 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14782 ac_abs_top_builddir
=$ac_pwd
14783 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14784 # for backward compatibility:
14785 ac_top_builddir
=$ac_top_build_prefix
14788 .
) # We are building in place.
14790 ac_top_srcdir
=$ac_top_builddir_sub
14791 ac_abs_top_srcdir
=$ac_pwd ;;
14792 [\\/]* | ?
:[\\/]* ) # Absolute name.
14793 ac_srcdir
=$srcdir$ac_dir_suffix;
14794 ac_top_srcdir
=$srcdir
14795 ac_abs_top_srcdir
=$srcdir ;;
14796 *) # Relative name.
14797 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14798 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14799 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14801 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14811 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14812 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14814 ac_MKDIR_P
=$MKDIR_P
14816 [\\/$
]* | ?
:[\\/]* ) ;;
14817 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14822 # If the template does not know about datarootdir, expand it.
14823 # FIXME: This hack should be removed a few years after 2.60.
14824 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14835 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14836 *datarootdir
*) ac_datarootdir_seen
=yes;;
14837 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14839 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14842 ac_datarootdir_hack='
14843 s&@datadir@&$datadir&g
14844 s&@docdir@&$docdir&g
14845 s&@infodir@&$infodir&g
14846 s&@localedir@&$localedir&g
14847 s&@mandir@&$mandir&g
14848 s&\\\${datarootdir}&$datarootdir&g' ;;
14852 # Neutralize VPATH when `$srcdir' = `.'.
14853 # Shell code in configure.ac might set extrasub.
14854 # FIXME: do we really want to maintain this feature?
14855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14856 ac_sed_extra="$ac_vpsub
14859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14861 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14862 s|@configure_input@|
$ac_sed_conf_input|
;t t
14863 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14864 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14865 s
&@srcdir@
&$ac_srcdir&;t t
14866 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14867 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14868 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14869 s
&@builddir@
&$ac_builddir&;t t
14870 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14871 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14872 s
&@INSTALL@
&$ac_INSTALL&;t t
14873 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14874 $ac_datarootdir_hack
14876 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14877 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14880 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14883 which seems to be undefined. Please make sure it is defined." >&5
14884 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14885 which seems to be undefined. Please make sure it is defined." >&2;}
14889 -) cat "$tmp/out" && rm -f "$tmp/out";;
14890 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14892 || as_fn_error "could not create $ac_file" "$LINENO" 5
14898 if test x"$ac_file" != x-; then
14900 $as_echo "/* $configure_input */" \
14901 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14902 } >"$tmp/config.h" \
14903 || as_fn_error "could not create $ac_file" "$LINENO" 5
14904 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14906 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14909 mv "$tmp/config.h" "$ac_file" \
14910 || as_fn_error "could not create $ac_file" "$LINENO" 5
14913 $as_echo "/* $configure_input */" \
14914 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14915 || as_fn_error "could not create -" "$LINENO" 5
14917 # Compute "$ac_file"'s index
in $config_headers.
14920 for _am_header
in $config_headers :; do
14921 case $_am_header in
14922 $_am_arg |
$_am_arg:* )
14925 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14928 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14929 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14930 X"$_am_arg" : 'X\(//\)[^/]' \| \
14931 X"$_am_arg" : 'X\(//\)$' \| \
14932 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14933 $as_echo X"$_am_arg" |
14934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14938 /^X\(\/\/\)[^/].*/{
14950 s/.*/./; q'`/stamp-h
$_am_stamp_count
14953 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14954 $as_echo "$as_me: executing $ac_file commands" >&6;}
14959 case $ac_file$ac_mode in
14960 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14961 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14962 # are listed without --file. Let's play safe and only enable the eval
14963 # if we detect the quoting.
14964 case $CONFIG_FILES in
14965 *\'*) eval set x
"$CONFIG_FILES" ;;
14966 *) set x
$CONFIG_FILES ;;
14971 # Strip MF so we end up with the name of the file.
14972 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14973 # Check whether this is an Automake generated Makefile or not.
14974 # We used to match only the files named `Makefile.in', but
14975 # some people rename them; so instead we look at the file content.
14976 # Grep'ing the first line is not enough: some people post-process
14977 # each Makefile.in and add a new line on top of each file to say so.
14978 # Grep'ing the whole file is not good either: AIX grep has a line
14979 # limit of 2048, but all sed's we know have understand at least 4000.
14980 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14981 dirpart
=`$as_dirname -- "$mf" ||
14982 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14983 X"$mf" : 'X\(//\)[^/]' \| \
14984 X"$mf" : 'X\(//\)$' \| \
14985 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14991 /^X\(\/\/\)[^/].*/{
15007 # Extract the definition of DEPDIR, am__include, and am__quote
15008 # from the Makefile without running `make'.
15009 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15010 test -z "$DEPDIR" && continue
15011 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15012 test -z "am__include" && continue
15013 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15014 # When using ansi2knr, U may be empty or an underscore; expand it
15015 U
=`sed -n 's/^U = //p' < "$mf"`
15016 # Find all dependency output files, they are included files with
15017 # $(DEPDIR) in their names. We invoke sed twice because it is the
15018 # simplest approach to changing $(DEPDIR) to its actual value in the
15020 for file in `sed -n "
15021 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15022 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15023 # Make sure the directory exists.
15024 test -f "$dirpart/$file" && continue
15025 fdir
=`$as_dirname -- "$file" ||
15026 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15027 X"$file" : 'X\(//\)[^/]' \| \
15028 X"$file" : 'X\(//\)$' \| \
15029 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15030 $as_echo X"$file" |
15031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15035 /^X\(\/\/\)[^/].*/{
15048 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15049 # echo "creating $dirpart/$file"
15050 echo '# dummy' > "$dirpart/$file"
15055 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
15056 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
15060 # See if we are running on zsh, and set the options which allow our
15061 # commands through without removal of \ escapes.
15062 if test -n "${ZSH_VERSION+set}" ; then
15063 setopt NO_GLOB_SUBST
15066 cfgfile
="${ofile}T"
15067 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15070 cat <<_LT_EOF >> "$cfgfile"
15073 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15074 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15075 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15076 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15078 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15079 # 2006, 2007, 2008 Free Software Foundation, Inc.
15080 # Written by Gordon Matzigkeit, 1996
15082 # This file is part of GNU Libtool.
15084 # GNU Libtool is free software; you can redistribute it and/or
15085 # modify it under the terms of the GNU General Public License as
15086 # published by the Free Software Foundation; either version 2 of
15087 # the License, or (at your option) any later version.
15089 # As a special exception to the GNU General Public License,
15090 # if you distribute this file as part of a program or library that
15091 # is built using GNU Libtool, you may include this file under the
15092 # same distribution terms that you use for the rest of that program.
15094 # GNU Libtool is distributed in the hope that it will be useful,
15095 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15096 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15097 # GNU General Public License for more details.
15099 # You should have received a copy of the GNU General Public License
15100 # along with GNU Libtool; see the file COPYING. If not, a copy
15101 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15102 # obtained by writing to the Free Software Foundation, Inc.,
15103 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15106 # The names of the tagged configurations supported by this script.
15109 # ### BEGIN LIBTOOL CONFIG
15111 # Which release of libtool.m4 was used?
15112 macro_version=$macro_version
15113 macro_revision=$macro_revision
15115 # Whether or not to build shared libraries.
15116 build_libtool_libs=$enable_shared
15118 # Whether or not to build static libraries.
15119 build_old_libs=$enable_static
15121 # What type of objects to build.
15124 # Whether or not to optimize for fast installation.
15125 fast_install=$enable_fast_install
15128 host_alias=$host_alias
15132 # The build system.
15133 build_alias=$build_alias
15137 # A sed program that does not truncate output.
15140 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15141 Xsed="\$SED -e 1s/^X//"
15143 # A grep program that handles long lines.
15149 # A literal string matcher.
15152 # A BSD- or MS-compatible name lister.
15155 # Whether we need soft or hard links.
15158 # What is the maximum length of a command?
15159 max_cmd_len=$max_cmd_len
15161 # Object file suffix (normally "o").
15164 # Executable file suffix (normally "").
15167 # whether the shell understands "unset".
15170 # turn spaces into newlines.
15173 # turn newlines into spaces.
15176 # How to create reloadable object files.
15177 reload_flag=$lt_reload_flag
15178 reload_cmds=$lt_reload_cmds
15180 # An object symbol dumper.
15181 OBJDUMP=$lt_OBJDUMP
15183 # Method to check whether dependent libraries are shared objects.
15184 deplibs_check_method=$lt_deplibs_check_method
15186 # Command to use when deplibs_check_method == "file_magic".
15187 file_magic_cmd=$lt_file_magic_cmd
15191 AR_FLAGS=$lt_AR_FLAGS
15193 # A symbol stripping program.
15196 # Commands used to install an old-style archive.
15198 old_postinstall_cmds=$lt_old_postinstall_cmds
15199 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15204 # LTCC compiler flags.
15205 LTCFLAGS=$lt_CFLAGS
15207 # Take the output of nm and produce a listing of raw symbols and C names.
15208 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15210 # Transform the output of nm in a proper C declaration.
15211 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15213 # Transform the output of nm in a C name address pair.
15214 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15216 # Transform the output of nm in a C name address pair when lib prefix is needed.
15217 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15219 # The name of the directory that contains temporary libtool files.
15222 # Shell to use when invoking shell scripts.
15225 # An echo program that does not interpret backslashes.
15228 # Used to examine libraries when file_magic_cmd begins with "file".
15229 MAGIC_CMD=$MAGIC_CMD
15231 # Must we lock files when doing compilation?
15232 need_locks=$lt_need_locks
15234 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15235 DSYMUTIL=$lt_DSYMUTIL
15237 # Tool to change global to local symbols on Mac OS X.
15240 # Tool to manipulate fat objects and archives on Mac OS X.
15243 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15246 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15247 OTOOL64=$lt_OTOOL64
15249 # Old archive suffix (normally "a").
15252 # Shared library suffix (normally ".so").
15253 shrext_cmds=$lt_shrext_cmds
15255 # The commands to extract the exported symbol list from a shared archive.
15256 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15258 # Variables whose values should be saved in libtool wrapper scripts and
15259 # restored at link time.
15260 variables_saved_for_relink=$lt_variables_saved_for_relink
15262 # Do we need the "lib" prefix for modules?
15263 need_lib_prefix=$need_lib_prefix
15265 # Do we need a version for libraries?
15266 need_version=$need_version
15268 # Library versioning type.
15269 version_type=$version_type
15271 # Shared library runtime path variable.
15272 runpath_var=$runpath_var
15274 # Shared library path variable.
15275 shlibpath_var=$shlibpath_var
15277 # Is shlibpath searched before the hard-coded library search path?
15278 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15280 # Format of library name prefix.
15281 libname_spec=$lt_libname_spec
15283 # List of archive names. First name is the real one, the rest are links.
15284 # The last name is the one that the linker finds with -lNAME
15285 library_names_spec=$lt_library_names_spec
15287 # The coded name of the library, if different from the real name.
15288 soname_spec=$lt_soname_spec
15290 # Command to use after installation of a shared archive.
15291 postinstall_cmds=$lt_postinstall_cmds
15293 # Command to use after uninstallation of a shared archive.
15294 postuninstall_cmds=$lt_postuninstall_cmds
15296 # Commands used to finish a libtool library installation in a directory.
15297 finish_cmds=$lt_finish_cmds
15299 # As "finish_cmds", except a single script fragment to be evaled but
15301 finish_eval=$lt_finish_eval
15303 # Whether we should hardcode library paths into libraries.
15304 hardcode_into_libs=$hardcode_into_libs
15306 # Compile-time system search path for libraries.
15307 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15309 # Run-time system search path for libraries.
15310 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15312 # Whether dlopen is supported.
15313 dlopen_support=$enable_dlopen
15315 # Whether dlopen of programs is supported.
15316 dlopen_self=$enable_dlopen_self
15318 # Whether dlopen of statically linked programs is supported.
15319 dlopen_self_static=$enable_dlopen_self_static
15321 # Commands to strip libraries.
15322 old_striplib=$lt_old_striplib
15323 striplib=$lt_striplib
15326 # The linker used to build libraries.
15329 # Commands used to build an old-style archive.
15330 old_archive_cmds=$lt_old_archive_cmds
15332 # A language specific compiler.
15335 # Is the compiler the GNU compiler?
15338 # Compiler flag to turn off builtin functions.
15339 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15341 # How to pass a linker flag through the compiler.
15342 wl=$lt_lt_prog_compiler_wl
15344 # Additional compiler flags for building library objects.
15345 pic_flag=$lt_lt_prog_compiler_pic
15347 # Compiler flag to prevent dynamic linking.
15348 link_static_flag=$lt_lt_prog_compiler_static
15350 # Does compiler simultaneously support -c and -o options?
15351 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15353 # Whether or not to add -lc for building shared libraries.
15354 build_libtool_need_lc=$archive_cmds_need_lc
15356 # Whether or not to disallow shared libs when runtime libs are static.
15357 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15359 # Compiler flag to allow reflexive dlopens.
15360 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15362 # Compiler flag to generate shared objects directly from archives.
15363 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15365 # Whether the compiler copes with passing no objects directly.
15366 compiler_needs_object=$lt_compiler_needs_object
15368 # Create an old-style archive from a shared archive.
15369 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15371 # Create a temporary old-style archive to link instead of a shared archive.
15372 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15374 # Commands used to build a shared archive.
15375 archive_cmds=$lt_archive_cmds
15376 archive_expsym_cmds=$lt_archive_expsym_cmds
15378 # Commands used to build a loadable module if different from building
15379 # a shared archive.
15380 module_cmds=$lt_module_cmds
15381 module_expsym_cmds=$lt_module_expsym_cmds
15383 # Whether we are building with GNU ld or not.
15384 with_gnu_ld=$lt_with_gnu_ld
15386 # Flag that allows shared libraries with undefined symbols to be built.
15387 allow_undefined_flag=$lt_allow_undefined_flag
15389 # Flag that enforces no undefined symbols.
15390 no_undefined_flag=$lt_no_undefined_flag
15392 # Flag to hardcode \$libdir into a binary during linking.
15393 # This must work even if \$libdir does not exist
15394 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15396 # If ld is used when linking, flag to hardcode \$libdir into a binary
15397 # during linking. This must work even if \$libdir does not exist.
15398 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15400 # Whether we need a single "-rpath" flag with a separated argument.
15401 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15403 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15404 # DIR into the resulting binary.
15405 hardcode_direct=$hardcode_direct
15407 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15408 # DIR into the resulting binary and the resulting library dependency is
15409 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15410 # library is relocated.
15411 hardcode_direct_absolute=$hardcode_direct_absolute
15413 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15414 # into the resulting binary.
15415 hardcode_minus_L=$hardcode_minus_L
15417 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15418 # into the resulting binary.
15419 hardcode_shlibpath_var=$hardcode_shlibpath_var
15421 # Set to "yes" if building a shared library automatically hardcodes DIR
15422 # into the library and all subsequent libraries and executables linked
15424 hardcode_automatic=$hardcode_automatic
15426 # Set to yes if linker adds runtime paths of dependent libraries
15427 # to runtime path list.
15428 inherit_rpath=$inherit_rpath
15430 # Whether libtool must link a program against all its dependency libraries.
15431 link_all_deplibs=$link_all_deplibs
15433 # Fix the shell variable \$srcfile for the compiler.
15434 fix_srcfile_path=$lt_fix_srcfile_path
15436 # Set to "yes" if exported symbols are required.
15437 always_export_symbols=$always_export_symbols
15439 # The commands to list exported symbols.
15440 export_symbols_cmds=$lt_export_symbols_cmds
15442 # Symbols that should not be listed in the preloaded symbols.
15443 exclude_expsyms=$lt_exclude_expsyms
15445 # Symbols that must always be exported.
15446 include_expsyms=$lt_include_expsyms
15448 # Commands necessary for linking programs (against libraries) with templates.
15449 prelink_cmds=$lt_prelink_cmds
15451 # Specify filename containing input files.
15452 file_list_spec=$lt_file_list_spec
15454 # How to hardcode a shared library path into an executable.
15455 hardcode_action=$hardcode_action
15457 # ### END LIBTOOL CONFIG
15463 cat <<\_LT_EOF
>> "$cfgfile"
15464 # AIX sometimes has problems with the GCC collect2 program. For some
15465 # reason, if we set the COLLECT_NAMES environment variable, the problems
15466 # vanish in a puff of smoke.
15467 if test "X${COLLECT_NAMES+set}" != Xset
; then
15469 export COLLECT_NAMES
15476 ltmain
="$ac_aux_dir/ltmain.sh"
15479 # We use sed instead of cat because bash on DJGPP gets confused if
15480 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15481 # text mode, it properly converts lines to CR/LF. This bash problem
15482 # is reportedly fixed, but why not run on old versions too?
15483 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15484 ||
(rm -f "$cfgfile"; exit 1)
15488 cat << \_LT_EOF
>> "$cfgfile"
15490 # func_dirname file append nondir_replacement
15491 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15492 # otherwise set result to NONDIR_REPLACEMENT.
15496 */*) func_dirname_result
="${1%/*}${2}" ;;
15497 * ) func_dirname_result
="${3}" ;;
15501 # func_basename file
15504 func_basename_result
="${1##*/}"
15507 # func_dirname_and_basename file append nondir_replacement
15508 # perform func_basename and func_dirname in a single function
15510 # dirname: Compute the dirname of FILE. If nonempty,
15511 # add APPEND to the result, otherwise set result
15512 # to NONDIR_REPLACEMENT.
15513 # value returned in "$func_dirname_result"
15514 # basename: Compute filename of FILE.
15515 # value retuned in "$func_basename_result"
15516 # Implementation must be kept synchronized with func_dirname
15517 # and func_basename. For efficiency, we do not delegate to
15518 # those functions but instead duplicate the functionality here.
15519 func_dirname_and_basename
()
15522 */*) func_dirname_result
="${1%/*}${2}" ;;
15523 * ) func_dirname_result
="${3}" ;;
15525 func_basename_result
="${1##*/}"
15528 # func_stripname prefix suffix name
15529 # strip PREFIX and SUFFIX off of NAME.
15530 # PREFIX and SUFFIX must not contain globbing or regex special
15531 # characters, hashes, percent signs, but SUFFIX may contain a leading
15532 # dot (in which case that matches only a dot).
15535 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15536 # positional parameters, so assign one to ordinary parameter first.
15537 func_stripname_result
=${3}
15538 func_stripname_result
=${func_stripname_result#"${1}"}
15539 func_stripname_result
=${func_stripname_result%"${2}"}
15545 func_opt_split_opt
=${1%%=*}
15546 func_opt_split_arg
=${1#*=}
15553 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15554 *) func_lo2o_result
=${1} ;;
15558 # func_xform libobj-or-source
15561 func_xform_result
=${1%.*}.lo
15564 # func_arith arithmetic-term...
15567 func_arith_result
=$
(( $
* ))
15571 # STRING may not start with a hyphen.
15574 func_len_result
=${#1}
15579 *) # Bourne compatible functions.
15580 cat << \_LT_EOF
>> "$cfgfile"
15582 # func_dirname file append nondir_replacement
15583 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15584 # otherwise set result to NONDIR_REPLACEMENT.
15587 # Extract subdirectory from the argument.
15588 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15589 if test "X$func_dirname_result" = "X${1}"; then
15590 func_dirname_result
="${3}"
15592 func_dirname_result
="$func_dirname_result${2}"
15596 # func_basename file
15599 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15603 # func_stripname prefix suffix name
15604 # strip PREFIX and SUFFIX off of NAME.
15605 # PREFIX and SUFFIX must not contain globbing or regex special
15606 # characters, hashes, percent signs, but SUFFIX may contain a leading
15607 # dot (in which case that matches only a dot).
15608 # func_strip_suffix prefix name
15612 .
*) func_stripname_result
=`$ECHO "X${3}" \
15613 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15614 *) func_stripname_result
=`$ECHO "X${3}" \
15615 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15620 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15621 my_sed_long_arg
='1s/^-[^=]*=//'
15626 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15627 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15633 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15636 # func_xform libobj-or-source
15639 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15642 # func_arith arithmetic-term...
15645 func_arith_result
=`expr "$@"`
15649 # STRING may not start with a hyphen.
15652 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15658 case $lt_shell_append in
15660 cat << \_LT_EOF
>> "$cfgfile"
15662 # func_append var value
15663 # Append VALUE to the end of shell variable VAR.
15671 cat << \_LT_EOF
>> "$cfgfile"
15673 # func_append var value
15674 # Append VALUE to the end of shell variable VAR.
15685 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15686 ||
(rm -f "$cfgfile"; exit 1)
15688 mv -f "$cfgfile" "$ofile" ||
15689 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15694 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
15695 as_fn_error
"po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15697 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15702 '"s|^| $ac_top_srcdir/|" \
15703 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
15705 sed '/^POTFILES =/,/[^\\]$/ {
15709 ' "po/Makefile.in" >"po/Makefile"
15710 rm -f "po/Makefile.tmp"
15711 mv "po/stamp-it.tmp" "po/stamp-it"
15720 ac_clean_files
=$ac_clean_files_save
15722 test $ac_write_fail = 0 ||
15723 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15726 # configure is writing to config.log, and then calls config.status.
15727 # config.status does its own redirection, appending to config.log.
15728 # Unfortunately, on DOS this fails, as config.log is still kept open
15729 # by configure, so config.status won't be able to write to it; its
15730 # output is simply discarded. So we exec the FD to /dev/null,
15731 # effectively closing config.log, so it can be properly (re)opened and
15732 # appended to by config.status. When coming back to configure, we
15733 # need to make the FD available again.
15734 if test "$no_create" != yes; then
15736 ac_config_status_args
=
15737 test "$silent" = yes &&
15738 ac_config_status_args
="$ac_config_status_args --quiet"
15740 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15742 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15743 # would make configure fail if this is the last instruction.
15744 $ac_cs_success || as_fn_exit $?
15746 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15748 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}