2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gtkmm 2.12.3.
5 # Report bugs to <gtkmm-list@gnome.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599 echo_test_string=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619 for dir in $PATH /usr/ucb; do
621 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X/bin/ksh; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL=/bin/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
660 SHELL="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames=${tagnames+${tagnames},}CXX
706 tagnames=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev/null 6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix=/usr/local
720 ac_config_libobj_dir=.
726 SHELL=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
730 PACKAGE_TARNAME='gtkmm'
731 PACKAGE_VERSION='2.12.3'
732 PACKAGE_STRING='gtkmm 2.12.3'
733 PACKAGE_BUGREPORT='gtkmm-list@gnome.org'
735 ac_unique_file="gtk/gtkmmconfig.h.in"
736 # Factoring default headers for most tests.
737 ac_includes_default="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
829 INSTALL_STRIP_PROGRAM
838 MAINTAINER_MODE_FALSE
905 DISABLE_DEPRECATED_CFLAGS
906 DISABLE_DEPRECATED_API_CFLAGS
910 GTKMM_ATKMM_ENABLED_TRUE
911 GTKMM_ATKMM_ENABLED_FALSE
918 ac_precious_vars='build_alias
946 # Initialize some variables set by options.
948 ac_init_version=false
949 # The variables have the same names as the options, with
950 # dashes changed to underlines.
958 program_transform_name=s,x,x,
966 # Installation directory options.
967 # These are left unexpanded so users can "make install exec_prefix=/foo"
968 # and all the variables that are supposed to be based on exec_prefix
969 # by default will actually change.
970 # Use braces instead of parens because sh, perl, etc. also accept them.
971 # (The list follows the same order as the GNU Coding Standards.)
972 bindir='${exec_prefix}/bin'
973 sbindir='${exec_prefix}/sbin'
974 libexecdir='${exec_prefix}/libexec'
975 datarootdir='${prefix}/share'
976 datadir='${datarootdir}'
977 sysconfdir='${prefix}/etc'
978 sharedstatedir='${prefix}/com'
979 localstatedir='${prefix}/var'
980 includedir='${prefix}/include'
981 oldincludedir='/usr/include'
982 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
983 infodir='${datarootdir}/info'
988 libdir='${exec_prefix}/lib'
989 localedir='${datarootdir}/locale'
990 mandir='${datarootdir}/man'
996 # If the previous option needs an argument, assign it.
997 if test -n "$ac_prev"; then
998 eval $ac_prev=\$ac_option
1004 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1008 # Accept the important Cygnus configure options, so we can diagnose typos.
1010 case $ac_dashdash$ac_option in
1014 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1016 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1017 bindir=$ac_optarg ;;
1019 -build | --build | --buil | --bui | --bu)
1020 ac_prev=build_alias ;;
1021 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1022 build_alias=$ac_optarg ;;
1024 -cache-file | --cache-file | --cache-fil | --cache-fi \
1025 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1026 ac_prev=cache_file ;;
1027 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1028 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1029 cache_file=$ac_optarg ;;
1031 --config-cache | -C)
1032 cache_file=config.cache ;;
1034 -datadir | --datadir | --datadi | --datad)
1036 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1037 datadir=$ac_optarg ;;
1039 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1040 | --dataroo | --dataro | --datar)
1041 ac_prev=datarootdir ;;
1042 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1043 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1044 datarootdir=$ac_optarg ;;
1046 -disable-* | --disable-*)
1047 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1050 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1051 { (exit 1); exit 1; }; }
1052 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1053 eval enable_$ac_feature=no ;;
1055 -docdir | --docdir | --docdi | --doc | --do)
1057 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1058 docdir=$ac_optarg ;;
1060 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1062 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1063 dvidir=$ac_optarg ;;
1065 -enable-* | --enable-*)
1066 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1072 eval enable_$ac_feature=\$ac_optarg ;;
1074 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1075 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1076 | --exec | --exe | --ex)
1077 ac_prev=exec_prefix ;;
1078 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1079 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1080 | --exec=* | --exe=* | --ex=*)
1081 exec_prefix=$ac_optarg ;;
1083 -gas | --gas | --ga | --g)
1084 # Obsolete; use --with-gas.
1087 -help | --help | --hel | --he | -h)
1088 ac_init_help=long ;;
1089 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1090 ac_init_help=recursive ;;
1091 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1092 ac_init_help=short ;;
1094 -host | --host | --hos | --ho)
1095 ac_prev=host_alias ;;
1096 -host=* | --host=* | --hos=* | --ho=*)
1097 host_alias=$ac_optarg ;;
1099 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1101 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1103 htmldir=$ac_optarg ;;
1105 -includedir | --includedir | --includedi | --included | --include \
1106 | --includ | --inclu | --incl | --inc)
1107 ac_prev=includedir ;;
1108 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1109 | --includ=* | --inclu=* | --incl=* | --inc=*)
1110 includedir=$ac_optarg ;;
1112 -infodir | --infodir | --infodi | --infod | --info | --inf)
1114 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1115 infodir=$ac_optarg ;;
1117 -libdir | --libdir | --libdi | --libd)
1119 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1120 libdir=$ac_optarg ;;
1122 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1123 | --libexe | --libex | --libe)
1124 ac_prev=libexecdir ;;
1125 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1126 | --libexe=* | --libex=* | --libe=*)
1127 libexecdir=$ac_optarg ;;
1129 -localedir | --localedir | --localedi | --localed | --locale)
1130 ac_prev=localedir ;;
1131 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1132 localedir=$ac_optarg ;;
1134 -localstatedir | --localstatedir | --localstatedi | --localstated \
1135 | --localstate | --localstat | --localsta | --localst | --locals)
1136 ac_prev=localstatedir ;;
1137 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1138 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1139 localstatedir=$ac_optarg ;;
1141 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1143 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1144 mandir=$ac_optarg ;;
1146 -nfp | --nfp | --nf)
1147 # Obsolete; use --without-fp.
1150 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1151 | --no-cr | --no-c | -n)
1154 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1155 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1158 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1159 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1160 | --oldin | --oldi | --old | --ol | --o)
1161 ac_prev=oldincludedir ;;
1162 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1163 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1164 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1165 oldincludedir=$ac_optarg ;;
1167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1170 prefix=$ac_optarg ;;
1172 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1173 | --program-pre | --program-pr | --program-p)
1174 ac_prev=program_prefix ;;
1175 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1176 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1177 program_prefix=$ac_optarg ;;
1179 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1180 | --program-suf | --program-su | --program-s)
1181 ac_prev=program_suffix ;;
1182 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1183 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1184 program_suffix=$ac_optarg ;;
1186 -program-transform-name | --program-transform-name \
1187 | --program-transform-nam | --program-transform-na \
1188 | --program-transform-n | --program-transform- \
1189 | --program-transform | --program-transfor \
1190 | --program-transfo | --program-transf \
1191 | --program-trans | --program-tran \
1192 | --progr-tra | --program-tr | --program-t)
1193 ac_prev=program_transform_name ;;
1194 -program-transform-name=* | --program-transform-name=* \
1195 | --program-transform-nam=* | --program-transform-na=* \
1196 | --program-transform-n=* | --program-transform-=* \
1197 | --program-transform=* | --program-transfor=* \
1198 | --program-transfo=* | --program-transf=* \
1199 | --program-trans=* | --program-tran=* \
1200 | --progr-tra=* | --program-tr=* | --program-t=*)
1201 program_transform_name=$ac_optarg ;;
1203 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1205 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1206 pdfdir=$ac_optarg ;;
1208 -psdir | --psdir | --psdi | --psd | --ps)
1210 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214 | -silent | --silent | --silen | --sile | --sil)
1217 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1219 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1221 sbindir=$ac_optarg ;;
1223 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1224 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1225 | --sharedst | --shareds | --shared | --share | --shar \
1227 ac_prev=sharedstatedir ;;
1228 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1229 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1230 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1232 sharedstatedir=$ac_optarg ;;
1234 -site | --site | --sit)
1236 -site=* | --site=* | --sit=*)
1239 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1241 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1242 srcdir=$ac_optarg ;;
1244 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1245 | --syscon | --sysco | --sysc | --sys | --sy)
1246 ac_prev=sysconfdir ;;
1247 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1248 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1249 sysconfdir=$ac_optarg ;;
1251 -target | --target | --targe | --targ | --tar | --ta | --t)
1252 ac_prev=target_alias ;;
1253 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1254 target_alias=$ac_optarg ;;
1256 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1259 -version | --version | --versio | --versi | --vers | -V)
1260 ac_init_version=: ;;
1263 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266 { echo "$as_me: error: invalid package name: $ac_package" >&2
1267 { (exit 1); exit 1; }; }
1268 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1269 eval with_$ac_package=\$ac_optarg ;;
1271 -without-* | --without-*)
1272 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1275 { echo "$as_me: error: invalid package name: $ac_package" >&2
1276 { (exit 1); exit 1; }; }
1277 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1278 eval with_$ac_package=no ;;
1281 # Obsolete; use --with-x.
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1298 -*) { echo "$as_me: error: unrecognized option: $ac_option
1299 Try \`$0 --help' for more information." >&2
1300 { (exit 1); exit 1; }; }
1304 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1307 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1308 { (exit 1); exit 1; }; }
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 { echo "$as_me: error: missing argument to $ac_option" >&2
1326 { (exit 1); exit 1; }; }
1329 # Be sure to have absolute directory names.
1330 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1331 datadir sysconfdir sharedstatedir localstatedir includedir \
1332 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333 libdir localedir mandir
1335 eval ac_val=\$$ac_var
1337 [\\/$]* | ?:[\\/]* ) continue;;
1338 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1341 { (exit 1); exit 1; }; }
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1365 test "$silent" = yes && exec 6>/dev/null
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 { echo "$as_me: error: Working directory cannot be determined" >&2
1372 { (exit 1); exit 1; }; }
1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1374 { echo "$as_me: error: pwd does not report name of working directory" >&2
1375 { (exit 1); exit 1; }; }
1378 # Find the source files, if location was not specified.
1379 if test -z "$srcdir"; then
1380 ac_srcdir_defaulted=yes
1381 # Try the directory containing this script, then the parent directory.
1382 ac_confdir=`$as_dirname -- "$0" ||
1383 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1384 X"$0" : 'X\(//\)[^/]' \| \
1385 X"$0" : 'X\(//\)$' \| \
1386 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1406 if test ! -r "$srcdir/$ac_unique_file"; then
1410 ac_srcdir_defaulted=no
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1413 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1414 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1415 { (exit 1); exit 1; }; }
1417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1419 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1420 { (exit 1); exit 1; }; }
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1432 for ac_var in $ac_precious_vars; do
1433 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1434 eval ac_env_${ac_var}_value=\$${ac_var}
1435 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1436 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1440 # Report the --help message.
1442 if test "$ac_init_help" = "long"; then
1443 # Omit some internal or obsolete options to make the list less imposing.
1444 # This message is too long to be a string in the A/UX 3.1 sh.
1446 \`configure' configures gtkmm 2.12.3 to adapt to many kinds of systems.
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE. See below for descriptions of some of the useful variables.
1453 Defaults for the options are specified in brackets.
1456 -h, --help display this help and exit
1457 --help=short display options specific to this package
1458 --help=recursive display the short help of all the included packages
1459 -V, --version display version information and exit
1460 -q, --quiet, --silent do not print \`checking...' messages
1461 --cache-file=FILE cache test results in FILE [disabled]
1462 -C, --config-cache alias for \`--cache-file=config.cache'
1463 -n, --no-create do not create output files
1464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1466 Installation directories:
1467 --prefix=PREFIX install architecture-independent files in PREFIX
1468 [$ac_default_prefix]
1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1477 For better control, use the options below.
1479 Fine tuning of the installation directories:
1480 --bindir=DIR user executables [EPREFIX/bin]
1481 --sbindir=DIR system admin executables [EPREFIX/sbin]
1482 --libexecdir=DIR program executables [EPREFIX/libexec]
1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1486 --libdir=DIR object code libraries [EPREFIX/lib]
1487 --includedir=DIR C header files [PREFIX/include]
1488 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1489 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1490 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1491 --infodir=DIR info documentation [DATAROOTDIR/info]
1492 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1493 --mandir=DIR man documentation [DATAROOTDIR/man]
1494 --docdir=DIR documentation root [DATAROOTDIR/doc/gtkmm]
1495 --htmldir=DIR html documentation [DOCDIR]
1496 --dvidir=DIR dvi documentation [DOCDIR]
1497 --pdfdir=DIR pdf documentation [DOCDIR]
1498 --psdir=DIR ps documentation [DOCDIR]
1504 --program-prefix=PREFIX prepend PREFIX to installed program names
1505 --program-suffix=SUFFIX append SUFFIX to installed program names
1506 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1509 --build=BUILD configure for building on BUILD [guessed]
1510 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1514 if test -n "$ac_init_help"; then
1515 case $ac_init_help in
1516 short | recursive ) echo "Configuration of gtkmm 2.12.3:";;
1521 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1522 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1523 --enable-maintainer-mode enable make rules and dependencies not useful
1524 (and sometimes confusing) to the casual installer
1525 --disable-dependency-tracking speeds up one-time build
1526 --enable-dependency-tracking do not reject slow dependency extractors
1527 --enable-static[=PKGS] build static libraries [default=no]
1528 --enable-shared[=PKGS] build shared libraries [default=yes]
1529 --enable-fast-install[=PKGS]
1530 optimize for fast installation [default=yes]
1531 --disable-libtool-lock avoid locking (might break parallel builds)
1532 --enable-warnings=[none|minimum|maximum|hardcore]
1533 Control compiler pickyness. [default=minimum]
1534 --enable-use-deprecations
1535 warn about deprecated usages [default=no]
1536 --enable-deprecated-api include (build) deprecated API in the libraries
1538 --enable-examples build the included examples [default=yes]
1539 --enable-demos build the included demos [default=yes]
1540 --enable-api-atkmm Build atkmm API.
1542 --enable-api-maemo-extensions Build Maemo Extensions API.
1544 --enable-docs build the included docs [default=yes]
1547 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1548 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1549 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1550 --with-pic try to use only PIC/non-PIC objects [default=use
1552 --with-tags[=TAGS] include additional configurations [automatic]
1554 Some influential environment variables:
1555 CC C compiler command
1556 CFLAGS C compiler flags
1557 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1558 nonstandard directory <lib dir>
1559 LIBS libraries to pass to the linker, e.g. -l<library>
1560 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1561 you have headers in a nonstandard directory <include dir>
1563 CXX C++ compiler command
1564 CXXFLAGS C++ compiler flags
1565 CXXCPP C++ preprocessor
1566 F77 Fortran 77 compiler command
1567 FFLAGS Fortran 77 compiler flags
1568 PKG_CONFIG path to pkg-config utility
1570 C compiler flags for ATKMM, overriding pkg-config
1571 ATKMM_LIBS linker flags for ATKMM, overriding pkg-config
1573 C compiler flags for PANGOMM, overriding pkg-config
1575 linker flags for PANGOMM, overriding pkg-config
1577 C compiler flags for GDKMM, overriding pkg-config
1578 GDKMM_LIBS linker flags for GDKMM, overriding pkg-config
1580 C compiler flags for GTKMM, overriding pkg-config
1581 GTKMM_LIBS linker flags for GTKMM, overriding pkg-config
1583 C compiler flags for GTHREAD, overriding pkg-config
1585 linker flags for GTHREAD, overriding pkg-config
1587 Use these variables to override the choices made by `configure' or to help
1588 it to find libraries and programs with nonstandard names/locations.
1590 Report bugs to <gtkmm-list@gnome.org>.
1595 if test "$ac_init_help" = "recursive"; then
1596 # If there are subdirs, report their specific --help.
1597 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1598 test -d "$ac_dir" || continue
1602 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1604 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1605 # A ".." for each directory in $ac_dir_suffix.
1606 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1607 case $ac_top_builddir_sub in
1608 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1609 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1612 ac_abs_top_builddir=$ac_pwd
1613 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1614 # for backward compatibility:
1615 ac_top_builddir=$ac_top_build_prefix
1618 .) # We are building in place.
1620 ac_top_srcdir=$ac_top_builddir_sub
1621 ac_abs_top_srcdir=$ac_pwd ;;
1622 [\\/]* | ?:[\\/]* ) # Absolute name.
1623 ac_srcdir=$srcdir$ac_dir_suffix;
1624 ac_top_srcdir=$srcdir
1625 ac_abs_top_srcdir=$srcdir ;;
1627 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1628 ac_top_srcdir=$ac_top_build_prefix$srcdir
1629 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1631 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1633 cd "$ac_dir" || { ac_status=$?; continue; }
1634 # Check for guested configure.
1635 if test -f "$ac_srcdir/configure.gnu"; then
1637 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1638 elif test -f "$ac_srcdir/configure"; then
1640 $SHELL "$ac_srcdir/configure" --help=recursive
1642 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1644 cd "$ac_pwd" || { ac_status=$?; break; }
1648 test -n "$ac_init_help" && exit $ac_status
1649 if $ac_init_version; then
1651 gtkmm configure 2.12.3
1652 generated by GNU Autoconf 2.61
1654 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1655 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1656 This configure script is free software; the Free Software Foundation
1657 gives unlimited permission to copy, distribute and modify it.
1661 cat >config.log <<_ACEOF
1662 This file contains any messages produced by compilers while
1663 running configure, to aid debugging if configure makes a mistake.
1665 It was created by gtkmm $as_me 2.12.3, which was
1666 generated by GNU Autoconf 2.61. Invocation command line was
1678 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1679 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1680 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1681 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1682 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1684 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1685 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1687 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1688 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1689 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1690 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1691 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1692 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1693 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1701 test -z "$as_dir" && as_dir=.
1702 echo "PATH: $as_dir"
1718 # Keep a trace of the command line.
1719 # Strip out --no-create and --no-recursion so they do not pile up.
1720 # Strip out --silent because we don't want to record it for future runs.
1721 # Also quote any args containing shell meta-characters.
1722 # Make two passes to allow for proper duplicate-argument suppression.
1726 ac_must_keep_next=false
1732 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1733 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1734 | -silent | --silent | --silen | --sile | --sil)
1737 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1740 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1742 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1743 if test $ac_must_keep_next = true; then
1744 ac_must_keep_next=false # Got value, back to normal.
1747 *=* | --config-cache | -C | -disable-* | --disable-* \
1748 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1749 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1750 | -with-* | --with-* | -without-* | --without-* | --x)
1751 case "$ac_configure_args0 " in
1752 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1755 -* ) ac_must_keep_next=true ;;
1758 ac_configure_args="$ac_configure_args '$ac_arg'"
1763 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1764 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1766 # When interrupted or exit'd, cleanup temporary files, and complete
1767 # config.log. We remove comments because anyway the quotes in there
1768 # would cause problems or look ugly.
1769 # WARNING: Use '\'' to represent an apostrophe within the trap.
1770 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1771 trap 'exit_status=$?
1772 # Save into config.log some information that might help in debugging.
1777 ## ---------------- ##
1778 ## Cache variables. ##
1779 ## ---------------- ##
1782 # The following way of writing the cache mishandles newlines in values,
1784 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1785 eval ac_val=\$$ac_var
1789 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1790 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1793 _ | IFS | as_nl) ;; #(
1794 *) $as_unset $ac_var ;;
1799 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1800 *${as_nl}ac_space=\ *)
1802 "s/'\''/'\''\\\\'\'''\''/g;
1803 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1806 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1814 ## ----------------- ##
1815 ## Output variables. ##
1816 ## ----------------- ##
1819 for ac_var in $ac_subst_vars
1821 eval ac_val=\$$ac_var
1823 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1825 echo "$ac_var='\''$ac_val'\''"
1829 if test -n "$ac_subst_files"; then
1831 ## ------------------- ##
1832 ## File substitutions. ##
1833 ## ------------------- ##
1836 for ac_var in $ac_subst_files
1838 eval ac_val=\$$ac_var
1840 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1842 echo "$ac_var='\''$ac_val'\''"
1847 if test -s confdefs.h; then
1857 test "$ac_signal" != 0 &&
1858 echo "$as_me: caught signal $ac_signal"
1859 echo "$as_me: exit $exit_status"
1861 rm -f core *.core core.conftest.* &&
1862 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1865 for ac_signal in 1 2 13 15; do
1866 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1870 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1871 rm -f -r conftest* confdefs.h
1873 # Predefined preprocessor variables.
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_NAME "$PACKAGE_NAME"
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_STRING "$PACKAGE_STRING"
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1900 # Let the site file select an alternate cache file if it wants to.
1901 # Prefer explicitly selected file to automatically selected ones.
1902 if test -n "$CONFIG_SITE"; then
1903 set x "$CONFIG_SITE"
1904 elif test "x$prefix" != xNONE; then
1905 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1907 set x "$ac_default_prefix/share/config.site" \
1908 "$ac_default_prefix/etc/config.site"
1913 if test -r "$ac_site_file"; then
1914 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1915 echo "$as_me: loading site script $ac_site_file" >&6;}
1916 sed 's/^/| /' "$ac_site_file" >&5
1921 if test -r "$cache_file"; then
1922 # Some versions of bash will fail to source /dev/null (special
1923 # files actually), so we avoid doing that.
1924 if test -f "$cache_file"; then
1925 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1926 echo "$as_me: loading cache $cache_file" >&6;}
1928 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1929 *) . "./$cache_file";;
1933 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1934 echo "$as_me: creating cache $cache_file" >&6;}
1938 # Check that the precious variables saved in the cache have kept the same
1940 ac_cache_corrupted=false
1941 for ac_var in $ac_precious_vars; do
1942 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1943 eval ac_new_set=\$ac_env_${ac_var}_set
1944 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1945 eval ac_new_val=\$ac_env_${ac_var}_value
1946 case $ac_old_set,$ac_new_set in
1948 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1949 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1950 ac_cache_corrupted=: ;;
1952 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1953 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1954 ac_cache_corrupted=: ;;
1957 if test "x$ac_old_val" != "x$ac_new_val"; then
1958 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1959 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1960 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1961 echo "$as_me: former value: $ac_old_val" >&2;}
1962 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1963 echo "$as_me: current value: $ac_new_val" >&2;}
1964 ac_cache_corrupted=:
1967 # Pass precious variables to config.status.
1968 if test "$ac_new_set" = set; then
1970 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1971 *) ac_arg=$ac_var=$ac_new_val ;;
1973 case " $ac_configure_args " in
1974 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1975 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1979 if $ac_cache_corrupted; then
1980 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1981 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1982 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1983 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1984 { (exit 1); exit 1; }; }
2012 ac_cpp='$CPP $CPPFLAGS'
2013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2021 #########################################################################
2022 # Version and initialization
2023 #########################################################################
2024 GTKMM_MAJOR_VERSION=2
2025 GTKMM_MINOR_VERSION=12
2026 GTKMM_MICRO_VERSION=3
2027 GTKMM_EXTRA_VERSION=
2028 GTKMM_VERSION=2.12.3
2034 GTKMM_RELEASE=$GTKMM_MAJOR_VERSION.$GTKMM_MINOR_VERSION
2036 cat >>confdefs.h <<_ACEOF
2037 #define GTKMM_MAJOR_VERSION $GTKMM_MAJOR_VERSION
2041 cat >>confdefs.h <<_ACEOF
2042 #define GTKMM_MINOR_VERSION $GTKMM_MINOR_VERSION
2046 cat >>confdefs.h <<_ACEOF
2047 #define GTKMM_MICRO_VERSION $GTKMM_MICRO_VERSION
2057 # +1 : ? : +1 == new interface that does not break old one
2058 # +1 : ? : 0 == new interface that breaks old one
2059 # ? : ? : 0 == no new interfaces, but breaks apps
2060 # ? :+1 : ? == just some internal changes, nothing breaks but might work
2062 # CURRENT : REVISION : AGE
2063 LIBGTKMM_SO_VERSION=1:30:0
2067 for ac_dir in scripts "$srcdir"/scripts; do
2068 if test -f "$ac_dir/install-sh"; then
2070 ac_install_sh="$ac_aux_dir/install-sh -c"
2072 elif test -f "$ac_dir/install.sh"; then
2074 ac_install_sh="$ac_aux_dir/install.sh -c"
2076 elif test -f "$ac_dir/shtool"; then
2078 ac_install_sh="$ac_aux_dir/shtool install -c"
2082 if test -z "$ac_aux_dir"; then
2083 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2084 echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2085 { (exit 1); exit 1; }; }
2088 # These three variables are undocumented and unsupported,
2089 # and are intended to be withdrawn in a future Autoconf release.
2090 # They can cause serious problems if a builder's source tree is in a directory
2091 # whose full name contains unusual characters.
2092 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2093 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2094 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2098 # Initialize automake stuff
2099 # tar-ustar asks it to use a sensible tar format that can handle long filenames.
2100 am__api_version='1.10'
2102 # Find a good install program. We prefer a C program (faster),
2103 # so one script is as good as another. But avoid the broken or
2104 # incompatible versions:
2105 # SysV /etc/install, /usr/sbin/install
2106 # SunOS /usr/etc/install
2107 # IRIX /sbin/install
2109 # AmigaOS /C/install, which installs bootblocks on floppy discs
2110 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2111 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2112 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2113 # OS/2's system install, which has a completely different semantic
2114 # ./install, which can be erroneously created by make from ./install.sh.
2115 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2116 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2117 if test -z "$INSTALL"; then
2118 if test "${ac_cv_path_install+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 # Account for people who put trailing slashes in PATH elements.
2128 ./ | .// | /cC/* | \
2129 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2130 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2133 # OSF1 and SCO ODT 3.0 have their own names for install.
2134 # Don't use installbsd from OSF since it installs stuff as root
2136 for ac_prog in ginstall scoinst install; do
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2139 if test $ac_prog = install &&
2140 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2141 # AIX install. It has an incompatible calling convention.
2143 elif test $ac_prog = install &&
2144 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2145 # program-specific install script used by HP pwplus--don't use.
2148 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2161 if test "${ac_cv_path_install+set}" = set; then
2162 INSTALL=$ac_cv_path_install
2164 # As a last resort, use the slow shell script. Don't cache a
2165 # value for INSTALL within a source directory, because that will
2166 # break other packages using the cache if that directory is
2167 # removed, or if the value is a relative name.
2168 INSTALL=$ac_install_sh
2171 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2172 echo "${ECHO_T}$INSTALL" >&6; }
2174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2175 # It thinks the first close brace ends the variable substitution.
2176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2180 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2182 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2183 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2186 echo timestamp > conftest.file
2187 # Do `set' in a subshell so we don't clobber the current shell's
2188 # arguments. Must try -L first in case configure is actually a
2189 # symlink; some systems play weird games with the mod time of symlinks
2190 # (eg FreeBSD returns the mod time of the symlink's containing
2193 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2194 if test "$*" = "X"; then
2196 set X `ls -t $srcdir/configure conftest.file`
2199 if test "$*" != "X $srcdir/configure conftest.file" \
2200 && test "$*" != "X conftest.file $srcdir/configure"; then
2202 # If neither matched, then we have a broken ls. This can happen
2203 # if, for instance, CONFIG_SHELL is bash and it inherits a
2204 # broken ls alias from the environment. This has actually
2205 # happened. Such a system could not be considered "sane".
2206 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2207 alias in your environment" >&5
2208 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2209 alias in your environment" >&2;}
2210 { (exit 1); exit 1; }; }
2213 test "$2" = conftest.file
2219 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2220 Check your system clock" >&5
2221 echo "$as_me: error: newly created file is older than distributed files!
2222 Check your system clock" >&2;}
2223 { (exit 1); exit 1; }; }
2225 { echo "$as_me:$LINENO: result: yes" >&5
2226 echo "${ECHO_T}yes" >&6; }
2227 test "$program_prefix" != NONE &&
2228 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2229 # Use a double $ so make ignores it.
2230 test "$program_suffix" != NONE &&
2231 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2232 # Double any \ or $. echo might interpret backslashes.
2233 # By default was `s,x,x', remove it if useless.
2234 cat <<\_ACEOF >conftest.sed
2235 s/[\\$]/&&/g;s/;s,x,x,$//
2237 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2240 # expand $ac_aux_dir to an absolute path
2241 am_aux_dir=`cd $ac_aux_dir && pwd`
2243 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2244 # Use eval to expand $SHELL
2245 if eval "$MISSING --run true"; then
2246 am_missing_run="$MISSING --run "
2249 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2250 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2253 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2254 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2255 if test -z "$MKDIR_P"; then
2256 if test "${ac_cv_path_mkdir+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2263 test -z "$as_dir" && as_dir=.
2264 for ac_prog in mkdir gmkdir; do
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2267 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2268 'mkdir (GNU coreutils) '* | \
2269 'mkdir (coreutils) '* | \
2270 'mkdir (fileutils) '4.1*)
2271 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2281 if test "${ac_cv_path_mkdir+set}" = set; then
2282 MKDIR_P="$ac_cv_path_mkdir -p"
2284 # As a last resort, use the slow shell script. Don't cache a
2285 # value for MKDIR_P within a source directory, because that will
2286 # break other packages using the cache if that directory is
2287 # removed, or if the value is a relative name.
2288 test -d ./--version && rmdir ./--version
2289 MKDIR_P="$ac_install_sh -d"
2292 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2293 echo "${ECHO_T}$MKDIR_P" >&6; }
2297 [\\/$]* | ?:[\\/]*) ;;
2298 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2301 for ac_prog in gawk mawk nawk awk
2303 # Extract the first word of "$ac_prog", so it can be a program name with args.
2304 set dummy $ac_prog; ac_word=$2
2305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2307 if test "${ac_cv_prog_AWK+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$AWK"; then
2311 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir=.
2318 for ac_exec_ext in '' $ac_executable_extensions; do
2319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320 ac_cv_prog_AWK="$ac_prog"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 if test -n "$AWK"; then
2332 { echo "$as_me:$LINENO: result: $AWK" >&5
2333 echo "${ECHO_T}$AWK" >&6; }
2335 { echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6; }
2340 test -n "$AWK" && break
2343 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2344 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2345 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2346 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2347 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 cat >conftest.make <<\_ACEOF
2352 @echo '@@@%%%=$(MAKE)=@@@%%%'
2354 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2355 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2357 eval ac_cv_prog_make_${ac_make}_set=yes;;
2359 eval ac_cv_prog_make_${ac_make}_set=no;;
2363 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2364 { echo "$as_me:$LINENO: result: yes" >&5
2365 echo "${ECHO_T}yes" >&6; }
2368 { echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6; }
2370 SET_MAKE="MAKE=${MAKE-make}"
2373 rm -rf .tst 2>/dev/null
2374 mkdir .tst 2>/dev/null
2375 if test -d .tst; then
2380 rmdir .tst 2>/dev/null
2382 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2383 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2384 # is not polluted with repeated "-I."
2385 am__isrc=' -I$(srcdir)'
2386 # test to see if srcdir already configured
2387 if test -f $srcdir/config.status; then
2388 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2389 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2390 { (exit 1); exit 1; }; }
2394 # test whether we have cygpath
2395 if test -z "$CYGPATH_W"; then
2396 if (cygpath --version) >/dev/null 2>/dev/null; then
2397 CYGPATH_W='cygpath -w'
2404 # Define the identity of the package.
2409 cat >>confdefs.h <<_ACEOF
2410 #define PACKAGE "$PACKAGE"
2414 cat >>confdefs.h <<_ACEOF
2415 #define VERSION "$VERSION"
2418 # Some tools Automake needs.
2420 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2423 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2426 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2429 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2432 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2434 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2436 # Installed binaries are usually stripped using `strip' when the user
2437 # run `make install-strip'. However `strip' might not be the right
2438 # tool to use in cross-compilation environments, therefore Automake
2439 # will honor the `STRIP' environment variable to overrule this program.
2440 if test "$cross_compiling" != no; then
2441 if test -n "$ac_tool_prefix"; then
2442 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2443 set dummy ${ac_tool_prefix}strip; ac_word=$2
2444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2446 if test "${ac_cv_prog_STRIP+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$STRIP"; then
2450 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 STRIP=$ac_cv_prog_STRIP
2470 if test -n "$STRIP"; then
2471 { echo "$as_me:$LINENO: result: $STRIP" >&5
2472 echo "${ECHO_T}$STRIP" >&6; }
2474 { echo "$as_me:$LINENO: result: no" >&5
2475 echo "${ECHO_T}no" >&6; }
2480 if test -z "$ac_cv_prog_STRIP"; then
2482 # Extract the first word of "strip", so it can be a program name with args.
2483 set dummy strip; ac_word=$2
2484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2486 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 if test -n "$ac_ct_STRIP"; then
2490 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir=.
2497 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 ac_cv_prog_ac_ct_STRIP="strip"
2500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2510 if test -n "$ac_ct_STRIP"; then
2511 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2512 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2514 { echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6; }
2518 if test "x$ac_ct_STRIP" = x; then
2521 case $cross_compiling:$ac_tool_warned in
2523 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2524 whose name does not start with the host triplet. If you think this
2525 configuration is useful to you, please write to autoconf@gnu.org." >&5
2526 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2527 whose name does not start with the host triplet. If you think this
2528 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2529 ac_tool_warned=yes ;;
2534 STRIP="$ac_cv_prog_STRIP"
2538 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2540 # We need awk for the "check" target. The system "awk" is bad on
2542 # Always define AMTAR for backward compatibility.
2544 AMTAR=${AMTAR-"${am_missing_run}tar"}
2547 { echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2548 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2549 # Loop over all known methods to create a tar archive until one works.
2550 _am_tools='gnutar plaintar pax cpio none'
2551 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2552 # Do not fold the above two line into one, because Tru64 sh and
2553 # Solaris sh will not grok spaces in the rhs of `-'.
2554 for _am_tool in $_am_tools
2558 for _am_tar in tar gnutar gtar;
2560 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2561 ($_am_tar --version) >&5 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } && break
2566 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2567 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2568 am__untar="$_am_tar -xf -"
2571 # Must skip GNU tar: if it does not support --format= it doesn't create
2572 # ustar tarball either.
2573 (tar --version) >/dev/null 2>&1 && continue
2574 am__tar='tar chf - "$$tardir"'
2575 am__tar_='tar chf - "$tardir"'
2576 am__untar='tar xf -'
2579 am__tar='pax -L -x ustar -w "$$tardir"'
2580 am__tar_='pax -L -x ustar -w "$tardir"'
2584 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2585 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2586 am__untar='cpio -i -H ustar -d'
2595 # If the value was cached, stop now. We just wanted to have am__tar
2596 # and am__untar set.
2597 test -n "${am_cv_prog_tar_ustar}" && break
2599 # tar/untar a dummy directory, and stop if the command works
2602 echo GrepMe > conftest.dir/file
2603 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2604 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }
2609 if test -s conftest.tar; then
2610 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2611 ($am__untar <conftest.tar) >&5 2>&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }
2615 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2620 if test "${am_cv_prog_tar_ustar+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 am_cv_prog_tar_ustar=$_am_tool
2626 { echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2627 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2634 ac_config_headers="$ac_config_headers config.h gdk/gdkmmconfig.h gtk/gtkmmconfig.h"
2636 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2637 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2638 # Check whether --enable-maintainer-mode was given.
2639 if test "${enable_maintainer_mode+set}" = set; then
2640 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2642 USE_MAINTAINER_MODE=no
2645 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2646 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2647 if test $USE_MAINTAINER_MODE = yes; then
2648 MAINTAINER_MODE_TRUE=
2649 MAINTAINER_MODE_FALSE='#'
2651 MAINTAINER_MODE_TRUE='#'
2652 MAINTAINER_MODE_FALSE=
2655 MAINT=$MAINTAINER_MODE_TRUE
2659 test "x$ACLOCAL_FLAGS" = "x" || ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
2662 ACLOCAL="$ACLOCAL -I $srcdir/$dir"
2667 #########################################################################
2668 # Configure arguments
2669 #########################################################################
2671 #########################################################################
2672 # Environment Checks
2673 #########################################################################
2675 ac_cpp='$CPP $CPPFLAGS'
2676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2679 if test -n "$ac_tool_prefix"; then
2680 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2681 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2684 if test "${ac_cv_prog_CC+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 if test -n "$CC"; then
2688 ac_cv_prog_CC="$CC" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 if test -n "$CC"; then
2709 { echo "$as_me:$LINENO: result: $CC" >&5
2710 echo "${ECHO_T}$CC" >&6; }
2712 { echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6; }
2718 if test -z "$ac_cv_prog_CC"; then
2720 # Extract the first word of "gcc", so it can be a program name with args.
2721 set dummy gcc; ac_word=$2
2722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 if test -n "$ac_ct_CC"; then
2728 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir=.
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_ac_ct_CC="gcc"
2738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2748 if test -n "$ac_ct_CC"; then
2749 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2750 echo "${ECHO_T}$ac_ct_CC" >&6; }
2752 { echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6; }
2756 if test "x$ac_ct_CC" = x; then
2759 case $cross_compiling:$ac_tool_warned in
2761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2762 whose name does not start with the host triplet. If you think this
2763 configuration is useful to you, please write to autoconf@gnu.org." >&5
2764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2765 whose name does not start with the host triplet. If you think this
2766 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2767 ac_tool_warned=yes ;;
2775 if test -z "$CC"; then
2776 if test -n "$ac_tool_prefix"; then
2777 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2778 set dummy ${ac_tool_prefix}cc; ac_word=$2
2779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2781 if test "${ac_cv_prog_CC+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 if test -n "$CC"; then
2785 ac_cv_prog_CC="$CC" # Let the user override the test.
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir=.
2792 for ac_exec_ext in '' $ac_executable_extensions; do
2793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2794 ac_cv_prog_CC="${ac_tool_prefix}cc"
2795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 if test -n "$CC"; then
2806 { echo "$as_me:$LINENO: result: $CC" >&5
2807 echo "${ECHO_T}$CC" >&6; }
2809 { echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6; }
2816 if test -z "$CC"; then
2817 # Extract the first word of "cc", so it can be a program name with args.
2818 set dummy cc; ac_word=$2
2819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2821 if test "${ac_cv_prog_CC+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2824 if test -n "$CC"; then
2825 ac_cv_prog_CC="$CC" # Let the user override the test.
2828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir=.
2833 for ac_exec_ext in '' $ac_executable_extensions; do
2834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2835 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2836 ac_prog_rejected=yes
2840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 if test $ac_prog_rejected = yes; then
2848 # We found a bogon in the path, so make sure we never use it.
2849 set dummy $ac_cv_prog_CC
2851 if test $# != 0; then
2852 # We chose a different compiler from the bogus one.
2853 # However, it has the same basename, so the bogon will be chosen
2854 # first if we set CC to just the basename; use the full file name.
2856 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2862 if test -n "$CC"; then
2863 { echo "$as_me:$LINENO: result: $CC" >&5
2864 echo "${ECHO_T}$CC" >&6; }
2866 { echo "$as_me:$LINENO: result: no" >&5
2867 echo "${ECHO_T}no" >&6; }
2872 if test -z "$CC"; then
2873 if test -n "$ac_tool_prefix"; then
2874 for ac_prog in cl.exe
2876 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2880 if test "${ac_cv_prog_CC+set}" = set; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 if test -n "$CC"; then
2884 ac_cv_prog_CC="$CC" # Let the user override the test.
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir=.
2891 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2893 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 if test -n "$CC"; then
2905 { echo "$as_me:$LINENO: result: $CC" >&5
2906 echo "${ECHO_T}$CC" >&6; }
2908 { echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6; }
2913 test -n "$CC" && break
2916 if test -z "$CC"; then
2918 for ac_prog in cl.exe
2920 # Extract the first word of "$ac_prog", so it can be a program name with args.
2921 set dummy $ac_prog; ac_word=$2
2922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2924 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2925 echo $ECHO_N "(cached) $ECHO_C" >&6
2927 if test -n "$ac_ct_CC"; then
2928 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_ac_ct_CC="$ac_prog"
2938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2948 if test -n "$ac_ct_CC"; then
2949 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2950 echo "${ECHO_T}$ac_ct_CC" >&6; }
2952 { echo "$as_me:$LINENO: result: no" >&5
2953 echo "${ECHO_T}no" >&6; }
2957 test -n "$ac_ct_CC" && break
2960 if test "x$ac_ct_CC" = x; then
2963 case $cross_compiling:$ac_tool_warned in
2965 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2966 whose name does not start with the host triplet. If you think this
2967 configuration is useful to you, please write to autoconf@gnu.org." >&5
2968 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2969 whose name does not start with the host triplet. If you think this
2970 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2971 ac_tool_warned=yes ;;
2980 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2981 See \`config.log' for more details." >&5
2982 echo "$as_me: error: no acceptable C compiler found in \$PATH
2983 See \`config.log' for more details." >&2;}
2984 { (exit 1); exit 1; }; }
2986 # Provide some information about the compiler.
2987 echo "$as_me:$LINENO: checking for C compiler version" >&5
2988 ac_compiler=`set X $ac_compile; echo $2`
2989 { (ac_try="$ac_compiler --version >&5"
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2995 (eval "$ac_compiler --version >&5") 2>&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }
2999 { (ac_try="$ac_compiler -v >&5"
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3005 (eval "$ac_compiler -v >&5") 2>&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }
3009 { (ac_try="$ac_compiler -V >&5"
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_compiler -V >&5") 2>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }
3020 cat >conftest.$ac_ext <<_ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3035 ac_clean_files_save=$ac_clean_files
3036 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3037 # Try to create an executable without -o first, disregard a.out.
3038 # It will help us diagnose broken compilers, and finding out an intuition
3040 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3041 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3042 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3044 # List of possible output files, starting from the most likely.
3045 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3046 # only as a last resort. b.out is created by i960 compilers.
3047 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3049 # The IRIX 6 linker writes into existing files which may not be
3050 # executable, retaining their permissions. Remove them first so a
3051 # subsequent execution test works.
3053 for ac_file in $ac_files
3056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3057 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3062 if { (ac_try="$ac_link_default"
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3068 (eval "$ac_link_default") 2>&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; then
3072 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3073 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3074 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3075 # so that the user can short-circuit this test for compilers unknown to
3077 for ac_file in $ac_files ''
3079 test -f "$ac_file" || continue
3081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3084 # We found the default executable, but exeext='' is most
3088 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3090 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3092 # We set ac_cv_exeext here because the later test for it is not
3093 # safe: cross compilers may not add the suffix if given an `-o'
3094 # argument, so we may need to know it at that point already.
3095 # Even if this section looks crufty: it has the advantage of
3102 test "$ac_cv_exeext" = no && ac_cv_exeext=
3108 { echo "$as_me:$LINENO: result: $ac_file" >&5
3109 echo "${ECHO_T}$ac_file" >&6; }
3110 if test -z "$ac_file"; then
3111 echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3114 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3115 See \`config.log' for more details." >&5
3116 echo "$as_me: error: C compiler cannot create executables
3117 See \`config.log' for more details." >&2;}
3118 { (exit 77); exit 77; }; }
3121 ac_exeext=$ac_cv_exeext
3123 # Check that the compiler produces executables we can run. If not, either
3124 # the compiler is broken, or we cross compile.
3125 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3126 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3127 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3128 # If not cross compiling, check that we can run a simple program.
3129 if test "$cross_compiling" != yes; then
3130 if { ac_try='./$ac_file'
3131 { (case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_try") 2>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; }; then
3142 if test "$cross_compiling" = maybe; then
3145 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3146 If you meant to cross compile, use \`--host'.
3147 See \`config.log' for more details." >&5
3148 echo "$as_me: error: cannot run C compiled programs.
3149 If you meant to cross compile, use \`--host'.
3150 See \`config.log' for more details." >&2;}
3151 { (exit 1); exit 1; }; }
3155 { echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6; }
3158 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3159 ac_clean_files=$ac_clean_files_save
3160 # Check that the compiler produces executables we can run. If not, either
3161 # the compiler is broken, or we cross compile.
3162 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3163 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3164 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3165 echo "${ECHO_T}$cross_compiling" >&6; }
3167 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3168 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3169 if { (ac_try="$ac_link"
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3175 (eval "$ac_link") 2>&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; then
3179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3181 # work properly (i.e., refer to `conftest.exe'), while it won't with
3183 for ac_file in conftest.exe conftest conftest.*; do
3184 test -f "$ac_file" || continue
3186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3187 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3193 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3194 See \`config.log' for more details." >&5
3195 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3196 See \`config.log' for more details." >&2;}
3197 { (exit 1); exit 1; }; }
3200 rm -f conftest$ac_cv_exeext
3201 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3202 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3204 rm -f conftest.$ac_ext
3205 EXEEXT=$ac_cv_exeext
3207 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3208 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3209 if test "${ac_cv_objext+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 cat >conftest.$ac_ext <<_ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3227 rm -f conftest.o conftest.obj
3228 if { (ac_try="$ac_compile"
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3234 (eval "$ac_compile") 2>&5
3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); }; then
3238 for ac_file in conftest.o conftest.obj conftest.*; do
3239 test -f "$ac_file" || continue;
3241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3242 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3251 See \`config.log' for more details." >&5
3252 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3253 See \`config.log' for more details." >&2;}
3254 { (exit 1); exit 1; }; }
3257 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3259 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3260 echo "${ECHO_T}$ac_cv_objext" >&6; }
3261 OBJEXT=$ac_cv_objext
3263 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3264 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3265 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 cat >conftest.$ac_ext <<_ACEOF
3271 cat confdefs.h >>conftest.$ac_ext
3272 cat >>conftest.$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_c_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3315 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3316 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3317 GCC=`test $ac_compiler_gnu = yes && echo yes`
3318 ac_test_CFLAGS=${CFLAGS+set}
3319 ac_save_CFLAGS=$CFLAGS
3320 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3321 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3322 if test "${ac_cv_prog_cc_g+set}" = set; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 ac_save_c_werror_flag=$ac_c_werror_flag
3326 ac_c_werror_flag=yes
3329 cat >conftest.$ac_ext <<_ACEOF
3332 cat confdefs.h >>conftest.$ac_ext
3333 cat >>conftest.$ac_ext <<_ACEOF
3334 /* end confdefs.h. */
3344 rm -f conftest.$ac_objext
3345 if { (ac_try="$ac_compile"
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351 (eval "$ac_compile") 2>conftest.er1
3353 grep -v '^ *+' conftest.er1 >conftest.err
3355 cat conftest.err >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } && {
3358 test -z "$ac_c_werror_flag" ||
3359 test ! -s conftest.err
3360 } && test -s conftest.$ac_objext; then
3363 echo "$as_me: failed program was:" >&5
3364 sed 's/^/| /' conftest.$ac_ext >&5
3367 cat >conftest.$ac_ext <<_ACEOF
3370 cat confdefs.h >>conftest.$ac_ext
3371 cat >>conftest.$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3382 rm -f conftest.$ac_objext
3383 if { (ac_try="$ac_compile"
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3389 (eval "$ac_compile") 2>conftest.er1
3391 grep -v '^ *+' conftest.er1 >conftest.err
3393 cat conftest.err >&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); } && {
3396 test -z "$ac_c_werror_flag" ||
3397 test ! -s conftest.err
3398 } && test -s conftest.$ac_objext; then
3401 echo "$as_me: failed program was:" >&5
3402 sed 's/^/| /' conftest.$ac_ext >&5
3404 ac_c_werror_flag=$ac_save_c_werror_flag
3406 cat >conftest.$ac_ext <<_ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3421 rm -f conftest.$ac_objext
3422 if { (ac_try="$ac_compile"
3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3428 (eval "$ac_compile") 2>conftest.er1
3430 grep -v '^ *+' conftest.er1 >conftest.err
3432 cat conftest.err >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } && {
3435 test -z "$ac_c_werror_flag" ||
3436 test ! -s conftest.err
3437 } && test -s conftest.$ac_objext; then
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 ac_c_werror_flag=$ac_save_c_werror_flag
3455 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3456 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3457 if test "$ac_test_CFLAGS" = set; then
3458 CFLAGS=$ac_save_CFLAGS
3459 elif test $ac_cv_prog_cc_g = yes; then
3460 if test "$GCC" = yes; then
3466 if test "$GCC" = yes; then
3472 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3473 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3474 if test "${ac_cv_prog_cc_c89+set}" = set; then
3475 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 ac_cv_prog_cc_c89=no
3479 cat >conftest.$ac_ext <<_ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3487 #include <sys/types.h>
3488 #include <sys/stat.h>
3489 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3490 struct buf { int x; };
3491 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3492 static char *e (p, i)
3498 static char *f (char * (*g) (char **, int), char **p, ...)
3503 s = g (p, va_arg (v,int));
3508 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3509 function prototypes and stuff, but not '\xHH' hex character constants.
3510 These don't provoke an error unfortunately, instead are silently treated
3511 as 'x'. The following induces an error, until -std is added to get
3512 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3513 array size at least. It's necessary to write '\x00'==0 to get something
3514 that's true only with -std. */
3515 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3517 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3518 inside strings and character constants. */
3520 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3522 int test (int i, double x);
3523 struct s1 {int (*f) (int a);};
3524 struct s2 {int (*f) (double a);};
3525 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3531 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3536 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3537 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3539 CC="$ac_save_CC $ac_arg"
3540 rm -f conftest.$ac_objext
3541 if { (ac_try="$ac_compile"
3543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544 *) ac_try_echo=$ac_try;;
3546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3547 (eval "$ac_compile") 2>conftest.er1
3549 grep -v '^ *+' conftest.er1 >conftest.err
3551 cat conftest.err >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } && {
3554 test -z "$ac_c_werror_flag" ||
3555 test ! -s conftest.err
3556 } && test -s conftest.$ac_objext; then
3557 ac_cv_prog_cc_c89=$ac_arg
3559 echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3565 rm -f core conftest.err conftest.$ac_objext
3566 test "x$ac_cv_prog_cc_c89" != "xno" && break
3568 rm -f conftest.$ac_ext
3573 case "x$ac_cv_prog_cc_c89" in
3575 { echo "$as_me:$LINENO: result: none needed" >&5
3576 echo "${ECHO_T}none needed" >&6; } ;;
3578 { echo "$as_me:$LINENO: result: unsupported" >&5
3579 echo "${ECHO_T}unsupported" >&6; } ;;
3581 CC="$CC $ac_cv_prog_cc_c89"
3582 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3583 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3588 ac_cpp='$CPP $CPPFLAGS'
3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3592 DEPDIR="${am__leading_dot}deps"
3594 ac_config_commands="$ac_config_commands depfiles"
3597 am_make=${MAKE-make}
3598 cat > confinc << 'END'
3603 # If we don't find an include directive, just comment out the code.
3604 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3605 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3609 # First try GNU make style include.
3610 echo "include confinc" > confmf
3611 # We grep out `Entering directory' and `Leaving directory'
3612 # messages which can occur if `w' ends up in MAKEFLAGS.
3613 # In particular we don't look at `^make:' because GNU make might
3614 # be invoked under some other name (usually "gmake"), in which
3615 # case it prints its new name instead of `make'.
3616 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3621 # Now try BSD make style include.
3622 if test "$am__include" = "#"; then
3623 echo '.include "confinc"' > confmf
3624 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3625 am__include=.include
3632 { echo "$as_me:$LINENO: result: $_am_result" >&5
3633 echo "${ECHO_T}$_am_result" >&6; }
3634 rm -f confinc confmf
3636 # Check whether --enable-dependency-tracking was given.
3637 if test "${enable_dependency_tracking+set}" = set; then
3638 enableval=$enable_dependency_tracking;
3641 if test "x$enable_dependency_tracking" != xno; then
3642 am_depcomp="$ac_aux_dir/depcomp"
3645 if test "x$enable_dependency_tracking" != xno; then
3655 depcc="$CC" am_compiler_list=
3657 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3658 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3659 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3660 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3663 # We make a subdir and do the tests there. Otherwise we can end up
3664 # making bogus files that we don't know about and never remove. For
3665 # instance it was reported that on HP-UX the gcc test will end up
3666 # making a dummy file named `D' -- because `-MD' means `put the output
3669 # Copy depcomp to subdir because otherwise we won't find it if we're
3670 # using a relative directory.
3671 cp "$am_depcomp" conftest.dir
3673 # We will build objects and dependencies in a subdirectory because
3674 # it helps to detect inapplicable dependency modes. For instance
3675 # both Tru64's cc and ICC support -MD to output dependencies as a
3676 # side effect of compilation, but ICC will put the dependencies in
3677 # the current directory while Tru64 will put them in the object
3681 am_cv_CC_dependencies_compiler_type=none
3682 if test "$am_compiler_list" = ""; then
3683 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3685 for depmode in $am_compiler_list; do
3686 # Setup a source with many dependencies, because some compilers
3687 # like to wrap large dependency lists on column 80 (with \), and
3688 # we should not choose a depcomp mode which is confused by this.
3690 # We need to recreate these files for each test, as the compiler may
3691 # overwrite some of them when testing with obscure command lines.
3692 # This happens at least with the AIX C compiler.
3694 for i in 1 2 3 4 5 6; do
3695 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3696 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3697 # Solaris 8's {/usr,}/bin/sh.
3698 touch sub/conftst$i.h
3700 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3704 # after this tag, mechanisms are not by side-effect, so they'll
3705 # only be used when explicitly requested
3706 if test "x$enable_dependency_tracking" = xyes; then
3714 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3715 # mode. It turns out that the SunPro C++ compiler does not properly
3716 # handle `-M -o', and we need to detect this.
3717 if depmode=$depmode \
3718 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3719 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3720 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3721 >/dev/null 2>conftest.err &&
3722 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3723 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3724 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3725 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3726 # icc doesn't choke on unknown options, it will just issue warnings
3727 # or remarks (even with -Werror). So we grep stderr for any message
3728 # that says an option was ignored or not supported.
3729 # When given -MP, icc 7.0 and 7.1 complain thusly:
3730 # icc: Command line warning: ignoring option '-M'; no argument required
3731 # The diagnosis changed in icc 8.0:
3732 # icc: Command line remark: option '-MP' not supported
3733 if (grep 'ignoring option' conftest.err ||
3734 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3735 am_cv_CC_dependencies_compiler_type=$depmode
3744 am_cv_CC_dependencies_compiler_type=none
3748 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3749 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3750 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3753 test "x$enable_dependency_tracking" != xno \
3754 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3756 am__fastdepCC_FALSE='#'
3758 am__fastdepCC_TRUE='#'
3759 am__fastdepCC_FALSE=
3764 ac_cpp='$CPP $CPPFLAGS'
3765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3769 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3770 # On Suns, sometimes $CPP names a directory.
3771 if test -n "$CPP" && test -d "$CPP"; then
3774 if test -z "$CPP"; then
3775 if test "${ac_cv_prog_CPP+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 # Double quotes because CPP needs to be expanded
3779 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3782 for ac_c_preproc_warn_flag in '' yes
3784 # Use a header file that comes with gcc, so configuring glibc
3785 # with a fresh cross-compiler works.
3786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787 # <limits.h> exists even on freestanding compilers.
3788 # On the NeXT, cc -E runs the code through the compiler's parser,
3789 # not just through cpp. "Syntax error" is here to catch this case.
3790 cat >conftest.$ac_ext <<_ACEOF
3793 cat confdefs.h >>conftest.$ac_ext
3794 cat >>conftest.$ac_ext <<_ACEOF
3795 /* end confdefs.h. */
3797 # include <limits.h>
3799 # include <assert.h>
3803 if { (ac_try="$ac_cpp conftest.$ac_ext"
3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806 *) ac_try_echo=$ac_try;;
3808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3811 grep -v '^ *+' conftest.er1 >conftest.err
3813 cat conftest.err >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); } >/dev/null && {
3816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3817 test ! -s conftest.err
3821 echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.$ac_ext >&5
3824 # Broken: fails on valid input.
3828 rm -f conftest.err conftest.$ac_ext
3830 # OK, works on sane cases. Now check whether nonexistent headers
3831 # can be detected and how.
3832 cat >conftest.$ac_ext <<_ACEOF
3835 cat confdefs.h >>conftest.$ac_ext
3836 cat >>conftest.$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3838 #include <ac_nonexistent.h>
3840 if { (ac_try="$ac_cpp conftest.$ac_ext"
3842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843 *) ac_try_echo=$ac_try;;
3845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3848 grep -v '^ *+' conftest.er1 >conftest.err
3850 cat conftest.err >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } >/dev/null && {
3853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3854 test ! -s conftest.err
3856 # Broken: success on invalid input.
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 # Passes both tests.
3867 rm -f conftest.err conftest.$ac_ext
3870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3871 rm -f conftest.err conftest.$ac_ext
3872 if $ac_preproc_ok; then
3884 { echo "$as_me:$LINENO: result: $CPP" >&5
3885 echo "${ECHO_T}$CPP" >&6; }
3887 for ac_c_preproc_warn_flag in '' yes
3889 # Use a header file that comes with gcc, so configuring glibc
3890 # with a fresh cross-compiler works.
3891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3892 # <limits.h> exists even on freestanding compilers.
3893 # On the NeXT, cc -E runs the code through the compiler's parser,
3894 # not just through cpp. "Syntax error" is here to catch this case.
3895 cat >conftest.$ac_ext <<_ACEOF
3898 cat confdefs.h >>conftest.$ac_ext
3899 cat >>conftest.$ac_ext <<_ACEOF
3900 /* end confdefs.h. */
3902 # include <limits.h>
3904 # include <assert.h>
3908 if { (ac_try="$ac_cpp conftest.$ac_ext"
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3916 grep -v '^ *+' conftest.er1 >conftest.err
3918 cat conftest.err >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } >/dev/null && {
3921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3922 test ! -s conftest.err
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.$ac_ext >&5
3929 # Broken: fails on valid input.
3933 rm -f conftest.err conftest.$ac_ext
3935 # OK, works on sane cases. Now check whether nonexistent headers
3936 # can be detected and how.
3937 cat >conftest.$ac_ext <<_ACEOF
3940 cat confdefs.h >>conftest.$ac_ext
3941 cat >>conftest.$ac_ext <<_ACEOF
3942 /* end confdefs.h. */
3943 #include <ac_nonexistent.h>
3945 if { (ac_try="$ac_cpp conftest.$ac_ext"
3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948 *) ac_try_echo=$ac_try;;
3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3953 grep -v '^ *+' conftest.er1 >conftest.err
3955 cat conftest.err >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } >/dev/null && {
3958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3959 test ! -s conftest.err
3961 # Broken: success on invalid input.
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.$ac_ext >&5
3967 # Passes both tests.
3972 rm -f conftest.err conftest.$ac_ext
3975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976 rm -f conftest.err conftest.$ac_ext
3977 if $ac_preproc_ok; then
3980 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3981 See \`config.log' for more details." >&5
3982 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3983 See \`config.log' for more details." >&2;}
3984 { (exit 1); exit 1; }; }
3988 ac_cpp='$CPP $CPPFLAGS'
3989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3993 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3994 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3995 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3996 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 cat >conftest.make <<\_ACEOF
4002 @echo '@@@%%%=$(MAKE)=@@@%%%'
4004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4007 eval ac_cv_prog_make_${ac_make}_set=yes;;
4009 eval ac_cv_prog_make_${ac_make}_set=no;;
4013 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4014 { echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6; }
4018 { echo "$as_me:$LINENO: result: no" >&5
4019 echo "${ECHO_T}no" >&6; }
4020 SET_MAKE="MAKE=${MAKE-make}"
4023 # Make sure we can run config.sub.
4024 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4025 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4026 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4027 { (exit 1); exit 1; }; }
4029 { echo "$as_me:$LINENO: checking build system type" >&5
4030 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4031 if test "${ac_cv_build+set}" = set; then
4032 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 ac_build_alias=$build_alias
4035 test "x$ac_build_alias" = x &&
4036 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4037 test "x$ac_build_alias" = x &&
4038 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4039 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4040 { (exit 1); exit 1; }; }
4041 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4042 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4043 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4044 { (exit 1); exit 1; }; }
4047 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4048 echo "${ECHO_T}$ac_cv_build" >&6; }
4049 case $ac_cv_build in
4051 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4052 echo "$as_me: error: invalid value of canonical build" >&2;}
4053 { (exit 1); exit 1; }; };;
4056 ac_save_IFS=$IFS; IFS='-'
4062 # Remember, the first character of IFS is used to create $*,
4063 # except with old shells:
4066 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4069 { echo "$as_me:$LINENO: checking host system type" >&5
4070 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4071 if test "${ac_cv_host+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 if test "x$host_alias" = x; then
4075 ac_cv_host=$ac_cv_build
4077 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4078 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4079 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4080 { (exit 1); exit 1; }; }
4084 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4085 echo "${ECHO_T}$ac_cv_host" >&6; }
4088 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4089 echo "$as_me: error: invalid value of canonical host" >&2;}
4090 { (exit 1); exit 1; }; };;
4093 ac_save_IFS=$IFS; IFS='-'
4099 # Remember, the first character of IFS is used to create $*,
4100 # except with old shells:
4103 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4107 { echo "$as_me:$LINENO: checking for some Win32 platform" >&5
4108 echo $ECHO_N "checking for some Win32 platform... $ECHO_C" >&6; }
4110 *-*-mingw*|*-*-cygwin*)
4117 { echo "$as_me:$LINENO: result: $platform_win32" >&5
4118 echo "${ECHO_T}$platform_win32" >&6; }
4119 if test "$platform_win32" = "yes"; then
4120 PLATFORM_WIN32_TRUE=
4121 PLATFORM_WIN32_FALSE='#'
4123 PLATFORM_WIN32_TRUE='#'
4124 PLATFORM_WIN32_FALSE=
4128 { echo "$as_me:$LINENO: checking for native Win32" >&5
4129 echo $ECHO_N "checking for native Win32... $ECHO_C" >&6; }
4138 { echo "$as_me:$LINENO: result: $os_win32" >&5
4139 echo "${ECHO_T}$os_win32" >&6; }
4140 if test "$os_win32" = "yes"; then
4149 # Check whether --enable-static was given.
4150 if test "${enable_static+set}" = set; then
4151 enableval=$enable_static; p=${PACKAGE-default}
4153 yes) enable_static=yes ;;
4154 no) enable_static=no ;;
4157 # Look at the argument we got. We use all the common list separators.
4158 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4159 for pkg in $enableval; do
4161 if test "X$pkg" = "X$p"; then
4176 # Check whether --enable-shared was given.
4177 if test "${enable_shared+set}" = set; then
4178 enableval=$enable_shared; p=${PACKAGE-default}
4180 yes) enable_shared=yes ;;
4181 no) enable_shared=no ;;
4184 # Look at the argument we got. We use all the common list separators.
4185 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4186 for pkg in $enableval; do
4188 if test "X$pkg" = "X$p"; then
4200 # Check whether --enable-fast-install was given.
4201 if test "${enable_fast_install+set}" = set; then
4202 enableval=$enable_fast_install; p=${PACKAGE-default}
4204 yes) enable_fast_install=yes ;;
4205 no) enable_fast_install=no ;;
4207 enable_fast_install=no
4208 # Look at the argument we got. We use all the common list separators.
4209 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4210 for pkg in $enableval; do
4212 if test "X$pkg" = "X$p"; then
4213 enable_fast_install=yes
4220 enable_fast_install=yes
4224 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4225 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4226 if test "${lt_cv_path_SED+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 # Loop through the user's path and test for sed and gsed.
4230 # Then use that list of sed's as ones to test for truncation.
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir=.
4236 for lt_ac_prog in sed gsed; do
4237 for ac_exec_ext in '' $ac_executable_extensions; do
4238 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4239 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4246 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4247 # along with /bin/sed that truncates output.
4248 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4249 test ! -f $lt_ac_sed && continue
4250 cat /dev/null > conftest.in
4252 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4253 # Check for GNU sed and select it if it is found.
4254 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4255 lt_cv_path_SED=$lt_ac_sed
4259 cat conftest.in conftest.in >conftest.tmp
4260 mv conftest.tmp conftest.in
4261 cp conftest.in conftest.nl
4263 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4264 cmp -s conftest.out conftest.nl || break
4265 # 10000 chars as input seems more than enough
4266 test $lt_ac_count -gt 10 && break
4267 lt_ac_count=`expr $lt_ac_count + 1`
4268 if test $lt_ac_count -gt $lt_ac_max; then
4269 lt_ac_max=$lt_ac_count
4270 lt_cv_path_SED=$lt_ac_sed
4278 { echo "$as_me:$LINENO: result: $SED" >&5
4279 echo "${ECHO_T}$SED" >&6; }
4281 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4282 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4283 if test "${ac_cv_path_GREP+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 # Extract the first word of "grep ggrep" to use in msg output
4287 if test -z "$GREP"; then
4288 set dummy grep ggrep; ac_prog_name=$2
4289 if test "${ac_cv_path_GREP+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4292 ac_path_GREP_found=false
4293 # Loop through the user's path and test for each of PROGNAME-LIST
4294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4298 test -z "$as_dir" && as_dir=.
4299 for ac_prog in grep ggrep; do
4300 for ac_exec_ext in '' $ac_executable_extensions; do
4301 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4302 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4303 # Check for GNU ac_path_GREP and select it if it is found.
4304 # Check for GNU $ac_path_GREP
4305 case `"$ac_path_GREP" --version 2>&1` in
4307 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4310 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4313 cat "conftest.in" "conftest.in" >"conftest.tmp"
4314 mv "conftest.tmp" "conftest.in"
4315 cp "conftest.in" "conftest.nl"
4316 echo 'GREP' >> "conftest.nl"
4317 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4318 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4319 ac_count=`expr $ac_count + 1`
4320 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4321 # Best one so far, save it but keep looking for a better one
4322 ac_cv_path_GREP="$ac_path_GREP"
4323 ac_path_GREP_max=$ac_count
4325 # 10*(2^10) chars as input seems more than enough
4326 test $ac_count -gt 10 && break
4328 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4332 $ac_path_GREP_found && break 3
4342 GREP="$ac_cv_path_GREP"
4343 if test -z "$GREP"; then
4344 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4345 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4346 { (exit 1); exit 1; }; }
4350 ac_cv_path_GREP=$GREP
4355 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4356 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4357 GREP="$ac_cv_path_GREP"
4360 { echo "$as_me:$LINENO: checking for egrep" >&5
4361 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4362 if test "${ac_cv_path_EGREP+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4366 then ac_cv_path_EGREP="$GREP -E"
4368 # Extract the first word of "egrep" to use in msg output
4369 if test -z "$EGREP"; then
4370 set dummy egrep; ac_prog_name=$2
4371 if test "${ac_cv_path_EGREP+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 ac_path_EGREP_found=false
4375 # Loop through the user's path and test for each of PROGNAME-LIST
4376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4380 test -z "$as_dir" && as_dir=.
4381 for ac_prog in egrep; do
4382 for ac_exec_ext in '' $ac_executable_extensions; do
4383 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4384 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4385 # Check for GNU ac_path_EGREP and select it if it is found.
4386 # Check for GNU $ac_path_EGREP
4387 case `"$ac_path_EGREP" --version 2>&1` in
4389 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4392 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4395 cat "conftest.in" "conftest.in" >"conftest.tmp"
4396 mv "conftest.tmp" "conftest.in"
4397 cp "conftest.in" "conftest.nl"
4398 echo 'EGREP' >> "conftest.nl"
4399 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4400 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4401 ac_count=`expr $ac_count + 1`
4402 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4403 # Best one so far, save it but keep looking for a better one
4404 ac_cv_path_EGREP="$ac_path_EGREP"
4405 ac_path_EGREP_max=$ac_count
4407 # 10*(2^10) chars as input seems more than enough
4408 test $ac_count -gt 10 && break
4410 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4414 $ac_path_EGREP_found && break 3
4424 EGREP="$ac_cv_path_EGREP"
4425 if test -z "$EGREP"; then
4426 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4427 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4428 { (exit 1); exit 1; }; }
4432 ac_cv_path_EGREP=$EGREP
4438 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4439 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4440 EGREP="$ac_cv_path_EGREP"
4444 # Check whether --with-gnu-ld was given.
4445 if test "${with_gnu_ld+set}" = set; then
4446 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4452 if test "$GCC" = yes; then
4453 # Check if gcc -print-prog-name=ld gives a path.
4454 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4455 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4458 # gcc leaves a trailing carriage return which upsets mingw
4459 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4461 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4464 # Accept absolute paths.
4466 re_direlt='/[^/][^/]*/\.\./'
4467 # Canonicalize the pathname of ld
4468 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4469 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4470 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4472 test -z "$LD" && LD="$ac_prog"
4475 # If it fails, then pretend we aren't using GCC.
4479 # If it is relative, then search for the first ld in PATH.
4483 elif test "$with_gnu_ld" = yes; then
4484 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4485 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4487 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4488 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4490 if test "${lt_cv_path_LD+set}" = set; then
4491 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 if test -z "$LD"; then
4494 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4495 for ac_dir in $PATH; do
4497 test -z "$ac_dir" && ac_dir=.
4498 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4499 lt_cv_path_LD="$ac_dir/$ac_prog"
4500 # Check to see if the program is GNU ld. I'd rather use --version,
4501 # but apparently some variants of GNU ld only accept -v.
4502 # Break only if it was the GNU/non-GNU ld that we prefer.
4503 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4504 *GNU* | *'with BFD'*)
4505 test "$with_gnu_ld" != no && break
4508 test "$with_gnu_ld" != yes && break
4515 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4520 if test -n "$LD"; then
4521 { echo "$as_me:$LINENO: result: $LD" >&5
4522 echo "${ECHO_T}$LD" >&6; }
4524 { echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6; }
4527 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4528 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4529 { (exit 1); exit 1; }; }
4530 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4531 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4532 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4536 case `$LD -v 2>&1 </dev/null` in
4537 *GNU* | *'with BFD'*)
4538 lt_cv_prog_gnu_ld=yes
4541 lt_cv_prog_gnu_ld=no
4545 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4546 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4547 with_gnu_ld=$lt_cv_prog_gnu_ld
4550 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4551 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4552 if test "${lt_cv_ld_reload_flag+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 lt_cv_ld_reload_flag='-r'
4557 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4558 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4559 reload_flag=$lt_cv_ld_reload_flag
4560 case $reload_flag in
4562 *) reload_flag=" $reload_flag" ;;
4564 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4567 if test "$GCC" = yes; then
4568 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4570 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4575 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4576 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4577 if test "${lt_cv_path_NM+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4580 if test -n "$NM"; then
4581 # Let the user override the test.
4584 lt_nm_to_check="${ac_tool_prefix}nm"
4585 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4586 lt_nm_to_check="$lt_nm_to_check nm"
4588 for lt_tmp_nm in $lt_nm_to_check; do
4589 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4590 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4592 test -z "$ac_dir" && ac_dir=.
4593 tmp_nm="$ac_dir/$lt_tmp_nm"
4594 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4595 # Check to see if the nm accepts a BSD-compat flag.
4596 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4597 # nm: unknown option "B" ignored
4598 # Tru64's nm complains that /dev/null is an invalid object file
4599 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4600 */dev/null* | *'Invalid file or object type'*)
4601 lt_cv_path_NM="$tmp_nm -B"
4605 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4607 lt_cv_path_NM="$tmp_nm -p"
4611 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4612 continue # so that we can try to find one that supports BSD flags
4621 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4624 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4625 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4628 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4629 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4631 if test "$LN_S" = "ln -s"; then
4632 { echo "$as_me:$LINENO: result: yes" >&5
4633 echo "${ECHO_T}yes" >&6; }
4635 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4636 echo "${ECHO_T}no, using $LN_S" >&6; }
4639 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4640 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4641 if test "${lt_cv_deplibs_check_method+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 lt_cv_file_magic_cmd='$MAGIC_CMD'
4645 lt_cv_file_magic_test_file=
4646 lt_cv_deplibs_check_method='unknown'
4647 # Need to set the preceding variable on all platforms that support
4648 # interlibrary dependencies.
4649 # 'none' -- dependencies not supported.
4650 # `unknown' -- same as none, but documents that we really don't know.
4651 # 'pass_all' -- all dependencies passed with no checks.
4652 # 'test_compile' -- check by making test program.
4653 # 'file_magic [[regex]]' -- check by looking for files in library path
4654 # which responds to the $file_magic_cmd with a given extended regex.
4655 # If you have `file' or equivalent on your system and you're not sure
4656 # whether `pass_all' will *always* work, you probably want this one.
4660 lt_cv_deplibs_check_method=pass_all
4664 lt_cv_deplibs_check_method=pass_all
4668 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4669 lt_cv_file_magic_cmd='/usr/bin/file -L'
4670 lt_cv_file_magic_test_file=/shlib/libc.so
4674 # func_win32_libid is a shell function defined in ltmain.sh
4675 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4676 lt_cv_file_magic_cmd='func_win32_libid'
4680 # Base MSYS/MinGW do not provide the 'file' command needed by
4681 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4682 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4683 lt_cv_file_magic_cmd='$OBJDUMP -f'
4686 darwin* | rhapsody*)
4687 lt_cv_deplibs_check_method=pass_all
4690 freebsd* | kfreebsd*-gnu | dragonfly*)
4691 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4694 # Not sure whether the presence of OpenBSD here was a mistake.
4695 # Let's accept both of them until this is cleared up.
4696 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4697 lt_cv_file_magic_cmd=/usr/bin/file
4698 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4702 lt_cv_deplibs_check_method=pass_all
4707 lt_cv_deplibs_check_method=pass_all
4710 hpux10.20* | hpux11*)
4711 lt_cv_file_magic_cmd=/usr/bin/file
4714 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4715 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4718 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]'
4719 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4722 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4723 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4729 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4730 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4733 irix5* | irix6* | nonstopux*)
4735 *-32|*"-32 ") libmagic=32-bit;;
4736 *-n32|*"-n32 ") libmagic=N32;;
4737 *-64|*"-64 ") libmagic=64-bit;;
4738 *) libmagic=never-match;;
4740 lt_cv_deplibs_check_method=pass_all
4743 # This must be Linux ELF.
4745 lt_cv_deplibs_check_method=pass_all
4749 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4750 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4752 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4757 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4758 lt_cv_file_magic_cmd=/usr/bin/file
4759 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4763 lt_cv_deplibs_check_method=unknown
4767 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4768 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4770 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4774 osf3* | osf4* | osf5*)
4775 lt_cv_deplibs_check_method=pass_all
4779 lt_cv_deplibs_check_method=pass_all
4783 case $host_vendor in
4785 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]'
4786 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4789 lt_cv_deplibs_check_method=pass_all
4792 lt_cv_file_magic_cmd='/bin/file'
4793 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4796 lt_cv_file_magic_cmd='/bin/file'
4797 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4798 lt_cv_file_magic_test_file=/lib/libc.so
4801 lt_cv_deplibs_check_method=pass_all
4804 lt_cv_deplibs_check_method=pass_all
4809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4810 lt_cv_deplibs_check_method=pass_all
4815 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4816 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4817 file_magic_cmd=$lt_cv_file_magic_cmd
4818 deplibs_check_method=$lt_cv_deplibs_check_method
4819 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4824 # If no C compiler was specified, use CC.
4827 # If no C compiler flags were specified, use CFLAGS.
4828 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4830 # Allow CC to be a program name with arguments.
4834 # Check whether --enable-libtool-lock was given.
4835 if test "${enable_libtool_lock+set}" = set; then
4836 enableval=$enable_libtool_lock;
4839 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4841 # Some flags need to be propagated to the compiler or linker for good
4845 # Find out which ABI we are using.
4846 echo 'int i;' > conftest.$ac_ext
4847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4848 (eval $ac_compile) 2>&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); }; then
4852 case `/usr/bin/file conftest.$ac_objext` in
4864 # Find out which ABI we are using.
4865 echo '#line 4865 "configure"' > conftest.$ac_ext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867 (eval $ac_compile) 2>&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; then
4871 if test "$lt_cv_prog_gnu_ld" = yes; then
4872 case `/usr/bin/file conftest.$ac_objext` in
4874 LD="${LD-ld} -melf32bsmip"
4877 LD="${LD-ld} -melf32bmipn32"
4880 LD="${LD-ld} -melf64bmip"
4884 case `/usr/bin/file conftest.$ac_objext` in
4900 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4901 # Find out which ABI we are using.
4902 echo 'int i;' > conftest.$ac_ext
4903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4904 (eval $ac_compile) 2>&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); }; then
4908 case `/usr/bin/file conftest.o` in
4912 LD="${LD-ld} -m elf_i386"
4914 ppc64-*linux*|powerpc64-*linux*)
4915 LD="${LD-ld} -m elf32ppclinux"
4918 LD="${LD-ld} -m elf_s390"
4921 LD="${LD-ld} -m elf32_sparc"
4928 LD="${LD-ld} -m elf_x86_64"
4930 ppc*-*linux*|powerpc*-*linux*)
4931 LD="${LD-ld} -m elf64ppc"
4934 LD="${LD-ld} -m elf64_s390"
4937 LD="${LD-ld} -m elf64_sparc"
4947 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4948 SAVE_CFLAGS="$CFLAGS"
4949 CFLAGS="$CFLAGS -belf"
4950 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4951 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4952 if test "${lt_cv_cc_needs_belf+set}" = set; then
4953 echo $ECHO_N "(cached) $ECHO_C" >&6
4956 ac_cpp='$CPP $CPPFLAGS'
4957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4961 cat >conftest.$ac_ext <<_ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4966 /* end confdefs.h. */
4976 rm -f conftest.$ac_objext conftest$ac_exeext
4977 if { (ac_try="$ac_link"
4979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4980 *) ac_try_echo=$ac_try;;
4982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4983 (eval "$ac_link") 2>conftest.er1
4985 grep -v '^ *+' conftest.er1 >conftest.err
4987 cat conftest.err >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); } && {
4990 test -z "$ac_c_werror_flag" ||
4991 test ! -s conftest.err
4992 } && test -s conftest$ac_exeext &&
4993 $as_test_x conftest$ac_exeext; then
4994 lt_cv_cc_needs_belf=yes
4996 echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.$ac_ext >&5
4999 lt_cv_cc_needs_belf=no
5002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5003 conftest$ac_exeext conftest.$ac_ext
5005 ac_cpp='$CPP $CPPFLAGS'
5006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5011 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5012 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5013 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5014 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5015 CFLAGS="$SAVE_CFLAGS"
5019 # Find out which ABI we are using.
5020 echo 'int i;' > conftest.$ac_ext
5021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5022 (eval $ac_compile) 2>&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); }; then
5026 case `/usr/bin/file conftest.o` in
5028 case $lt_cv_prog_gnu_ld in
5029 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5030 *) LD="${LD-ld} -64" ;;
5038 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
5039 if test -n "$ac_tool_prefix"; then
5040 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5041 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5044 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 if test -n "$DLLTOOL"; then
5048 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 DLLTOOL=$ac_cv_prog_DLLTOOL
5068 if test -n "$DLLTOOL"; then
5069 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5070 echo "${ECHO_T}$DLLTOOL" >&6; }
5072 { echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6; }
5078 if test -z "$ac_cv_prog_DLLTOOL"; then
5079 ac_ct_DLLTOOL=$DLLTOOL
5080 # Extract the first word of "dlltool", so it can be a program name with args.
5081 set dummy dlltool; ac_word=$2
5082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5084 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5085 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 if test -n "$ac_ct_DLLTOOL"; then
5088 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5108 if test -n "$ac_ct_DLLTOOL"; then
5109 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5110 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
5112 { echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6; }
5116 if test "x$ac_ct_DLLTOOL" = x; then
5119 case $cross_compiling:$ac_tool_warned in
5121 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5122 whose name does not start with the host triplet. If you think this
5123 configuration is useful to you, please write to autoconf@gnu.org." >&5
5124 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5125 whose name does not start with the host triplet. If you think this
5126 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5127 ac_tool_warned=yes ;;
5129 DLLTOOL=$ac_ct_DLLTOOL
5132 DLLTOOL="$ac_cv_prog_DLLTOOL"
5135 if test -n "$ac_tool_prefix"; then
5136 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5137 set dummy ${ac_tool_prefix}as; ac_word=$2
5138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5140 if test "${ac_cv_prog_AS+set}" = set; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 if test -n "$AS"; then
5144 ac_cv_prog_AS="$AS" # Let the user override the test.
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 test -z "$as_dir" && as_dir=.
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5153 ac_cv_prog_AS="${ac_tool_prefix}as"
5154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 if test -n "$AS"; then
5165 { echo "$as_me:$LINENO: result: $AS" >&5
5166 echo "${ECHO_T}$AS" >&6; }
5168 { echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6; }
5174 if test -z "$ac_cv_prog_AS"; then
5176 # Extract the first word of "as", so it can be a program name with args.
5177 set dummy as; ac_word=$2
5178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5180 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5181 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 if test -n "$ac_ct_AS"; then
5184 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 test -z "$as_dir" && as_dir=.
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5193 ac_cv_prog_ac_ct_AS="as"
5194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5204 if test -n "$ac_ct_AS"; then
5205 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5206 echo "${ECHO_T}$ac_ct_AS" >&6; }
5208 { echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6; }
5212 if test "x$ac_ct_AS" = x; then
5215 case $cross_compiling:$ac_tool_warned in
5217 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5218 whose name does not start with the host triplet. If you think this
5219 configuration is useful to you, please write to autoconf@gnu.org." >&5
5220 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5221 whose name does not start with the host triplet. If you think this
5222 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5223 ac_tool_warned=yes ;;
5231 if test -n "$ac_tool_prefix"; then
5232 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5233 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5236 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5239 if test -n "$OBJDUMP"; then
5240 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 test -z "$as_dir" && as_dir=.
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5249 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 OBJDUMP=$ac_cv_prog_OBJDUMP
5260 if test -n "$OBJDUMP"; then
5261 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5262 echo "${ECHO_T}$OBJDUMP" >&6; }
5264 { echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6; }
5270 if test -z "$ac_cv_prog_OBJDUMP"; then
5271 ac_ct_OBJDUMP=$OBJDUMP
5272 # Extract the first word of "objdump", so it can be a program name with args.
5273 set dummy objdump; ac_word=$2
5274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5276 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 if test -n "$ac_ct_OBJDUMP"; then
5280 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 test -z "$as_dir" && as_dir=.
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5289 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5300 if test -n "$ac_ct_OBJDUMP"; then
5301 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5302 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5304 { echo "$as_me:$LINENO: result: no" >&5
5305 echo "${ECHO_T}no" >&6; }
5308 if test "x$ac_ct_OBJDUMP" = x; then
5311 case $cross_compiling:$ac_tool_warned in
5313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5314 whose name does not start with the host triplet. If you think this
5315 configuration is useful to you, please write to autoconf@gnu.org." >&5
5316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5317 whose name does not start with the host triplet. If you think this
5318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5319 ac_tool_warned=yes ;;
5321 OBJDUMP=$ac_ct_OBJDUMP
5324 OBJDUMP="$ac_cv_prog_OBJDUMP"
5331 need_locks="$enable_libtool_lock"
5335 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5336 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5337 if test "${ac_cv_header_stdc+set}" = set; then
5338 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 cat >conftest.$ac_ext <<_ACEOF
5343 cat confdefs.h >>conftest.$ac_ext
5344 cat >>conftest.$ac_ext <<_ACEOF
5345 /* end confdefs.h. */
5359 rm -f conftest.$ac_objext
5360 if { (ac_try="$ac_compile"
5362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5363 *) ac_try_echo=$ac_try;;
5365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5366 (eval "$ac_compile") 2>conftest.er1
5368 grep -v '^ *+' conftest.er1 >conftest.err
5370 cat conftest.err >&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); } && {
5373 test -z "$ac_c_werror_flag" ||
5374 test ! -s conftest.err
5375 } && test -s conftest.$ac_objext; then
5376 ac_cv_header_stdc=yes
5378 echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.$ac_ext >&5
5381 ac_cv_header_stdc=no
5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5386 if test $ac_cv_header_stdc = yes; then
5387 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5388 cat >conftest.$ac_ext <<_ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5398 $EGREP "memchr" >/dev/null 2>&1; then
5401 ac_cv_header_stdc=no
5407 if test $ac_cv_header_stdc = yes; then
5408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5409 cat >conftest.$ac_ext <<_ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5414 /* end confdefs.h. */
5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5419 $EGREP "free" >/dev/null 2>&1; then
5422 ac_cv_header_stdc=no
5428 if test $ac_cv_header_stdc = yes; then
5429 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5430 if test "$cross_compiling" = yes; then
5433 cat >conftest.$ac_ext <<_ACEOF
5436 cat confdefs.h >>conftest.$ac_ext
5437 cat >>conftest.$ac_ext <<_ACEOF
5438 /* end confdefs.h. */
5441 #if ((' ' & 0x0FF) == 0x020)
5442 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5443 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5445 # define ISLOWER(c) \
5446 (('a' <= (c) && (c) <= 'i') \
5447 || ('j' <= (c) && (c) <= 'r') \
5448 || ('s' <= (c) && (c) <= 'z'))
5449 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5452 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5457 for (i = 0; i < 256; i++)
5458 if (XOR (islower (i), ISLOWER (i))
5459 || toupper (i) != TOUPPER (i))
5464 rm -f conftest$ac_exeext
5465 if { (ac_try="$ac_link"
5467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5468 *) ac_try_echo=$ac_try;;
5470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5471 (eval "$ac_link") 2>&5
5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5475 { (case "(($ac_try" in
5476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5480 (eval "$ac_try") 2>&5
5482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483 (exit $ac_status); }; }; then
5486 echo "$as_me: program exited with status $ac_status" >&5
5487 echo "$as_me: failed program was:" >&5
5488 sed 's/^/| /' conftest.$ac_ext >&5
5491 ac_cv_header_stdc=no
5493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5499 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5500 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5501 if test $ac_cv_header_stdc = yes; then
5503 cat >>confdefs.h <<\_ACEOF
5504 #define STDC_HEADERS 1
5509 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5519 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5520 inttypes.h stdint.h unistd.h
5522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 cat >conftest.$ac_ext <<_ACEOF
5531 cat confdefs.h >>conftest.$ac_ext
5532 cat >>conftest.$ac_ext <<_ACEOF
5533 /* end confdefs.h. */
5534 $ac_includes_default
5536 #include <$ac_header>
5538 rm -f conftest.$ac_objext
5539 if { (ac_try="$ac_compile"
5541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5542 *) ac_try_echo=$ac_try;;
5544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5545 (eval "$ac_compile") 2>conftest.er1
5547 grep -v '^ *+' conftest.er1 >conftest.err
5549 cat conftest.err >&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && {
5552 test -z "$ac_c_werror_flag" ||
5553 test ! -s conftest.err
5554 } && test -s conftest.$ac_objext; then
5555 eval "$as_ac_Header=yes"
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5560 eval "$as_ac_Header=no"
5563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5565 ac_res=`eval echo '${'$as_ac_Header'}'`
5566 { echo "$as_me:$LINENO: result: $ac_res" >&5
5567 echo "${ECHO_T}$ac_res" >&6; }
5568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5569 cat >>confdefs.h <<_ACEOF
5570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5579 for ac_header in dlfcn.h
5581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5583 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 ac_res=`eval echo '${'$as_ac_Header'}'`
5589 { echo "$as_me:$LINENO: result: $ac_res" >&5
5590 echo "${ECHO_T}$ac_res" >&6; }
5592 # Is the header compilable?
5593 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5595 cat >conftest.$ac_ext <<_ACEOF
5598 cat confdefs.h >>conftest.$ac_ext
5599 cat >>conftest.$ac_ext <<_ACEOF
5600 /* end confdefs.h. */
5601 $ac_includes_default
5602 #include <$ac_header>
5604 rm -f conftest.$ac_objext
5605 if { (ac_try="$ac_compile"
5607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5608 *) ac_try_echo=$ac_try;;
5610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5611 (eval "$ac_compile") 2>conftest.er1
5613 grep -v '^ *+' conftest.er1 >conftest.err
5615 cat conftest.err >&5
5616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617 (exit $ac_status); } && {
5618 test -z "$ac_c_werror_flag" ||
5619 test ! -s conftest.err
5620 } && test -s conftest.$ac_objext; then
5621 ac_header_compiler=yes
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.$ac_ext >&5
5626 ac_header_compiler=no
5629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5630 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5631 echo "${ECHO_T}$ac_header_compiler" >&6; }
5633 # Is the header present?
5634 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5636 cat >conftest.$ac_ext <<_ACEOF
5639 cat confdefs.h >>conftest.$ac_ext
5640 cat >>conftest.$ac_ext <<_ACEOF
5641 /* end confdefs.h. */
5642 #include <$ac_header>
5644 if { (ac_try="$ac_cpp conftest.$ac_ext"
5646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5647 *) ac_try_echo=$ac_try;;
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5652 grep -v '^ *+' conftest.er1 >conftest.err
5654 cat conftest.err >&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } >/dev/null && {
5657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5658 test ! -s conftest.err
5660 ac_header_preproc=yes
5662 echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.$ac_ext >&5
5665 ac_header_preproc=no
5668 rm -f conftest.err conftest.$ac_ext
5669 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5670 echo "${ECHO_T}$ac_header_preproc" >&6; }
5672 # So? What about this header?
5673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5679 ac_header_preproc=yes
5682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5695 ## ----------------------------------- ##
5696 ## Report this to gtkmm-list@gnome.org ##
5697 ## ----------------------------------- ##
5699 ) | sed "s/^/$as_me: WARNING: /" >&2
5702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5707 eval "$as_ac_Header=\$ac_header_preproc"
5709 ac_res=`eval echo '${'$as_ac_Header'}'`
5710 { echo "$as_me:$LINENO: result: $ac_res" >&5
5711 echo "${ECHO_T}$ac_res" >&6; }
5714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5715 cat >>confdefs.h <<_ACEOF
5716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5724 ac_cpp='$CXXCPP $CPPFLAGS'
5725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5728 if test -z "$CXX"; then
5729 if test -n "$CCC"; then
5732 if test -n "$ac_tool_prefix"; then
5733 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5739 if test "${ac_cv_prog_CXX+set}" = set; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 if test -n "$CXX"; then
5743 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5752 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 if test -n "$CXX"; then
5764 { echo "$as_me:$LINENO: result: $CXX" >&5
5765 echo "${ECHO_T}$CXX" >&6; }
5767 { echo "$as_me:$LINENO: result: no" >&5
5768 echo "${ECHO_T}no" >&6; }
5772 test -n "$CXX" && break
5775 if test -z "$CXX"; then
5777 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5779 # Extract the first word of "$ac_prog", so it can be a program name with args.
5780 set dummy $ac_prog; ac_word=$2
5781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5783 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 if test -n "$ac_ct_CXX"; then
5787 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5793 test -z "$as_dir" && as_dir=.
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5796 ac_cv_prog_ac_ct_CXX="$ac_prog"
5797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5807 if test -n "$ac_ct_CXX"; then
5808 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5809 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5811 { echo "$as_me:$LINENO: result: no" >&5
5812 echo "${ECHO_T}no" >&6; }
5816 test -n "$ac_ct_CXX" && break
5819 if test "x$ac_ct_CXX" = x; then
5822 case $cross_compiling:$ac_tool_warned in
5824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5825 whose name does not start with the host triplet. If you think this
5826 configuration is useful to you, please write to autoconf@gnu.org." >&5
5827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5828 whose name does not start with the host triplet. If you think this
5829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5830 ac_tool_warned=yes ;;
5838 # Provide some information about the compiler.
5839 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5840 ac_compiler=`set X $ac_compile; echo $2`
5841 { (ac_try="$ac_compiler --version >&5"
5843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5844 *) ac_try_echo=$ac_try;;
5846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5847 (eval "$ac_compiler --version >&5") 2>&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }
5851 { (ac_try="$ac_compiler -v >&5"
5853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5854 *) ac_try_echo=$ac_try;;
5856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5857 (eval "$ac_compiler -v >&5") 2>&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); }
5861 { (ac_try="$ac_compiler -V >&5"
5863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5864 *) ac_try_echo=$ac_try;;
5866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5867 (eval "$ac_compiler -V >&5") 2>&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }
5872 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5873 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5874 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 cat >conftest.$ac_ext <<_ACEOF
5880 cat confdefs.h >>conftest.$ac_ext
5881 cat >>conftest.$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5895 rm -f conftest.$ac_objext
5896 if { (ac_try="$ac_compile"
5898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5899 *) ac_try_echo=$ac_try;;
5901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5902 (eval "$ac_compile") 2>conftest.er1
5904 grep -v '^ *+' conftest.er1 >conftest.err
5906 cat conftest.err >&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); } && {
5909 test -z "$ac_cxx_werror_flag" ||
5910 test ! -s conftest.err
5911 } && test -s conftest.$ac_objext; then
5914 echo "$as_me: failed program was:" >&5
5915 sed 's/^/| /' conftest.$ac_ext >&5
5920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5921 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5924 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5925 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5926 GXX=`test $ac_compiler_gnu = yes && echo yes`
5927 ac_test_CXXFLAGS=${CXXFLAGS+set}
5928 ac_save_CXXFLAGS=$CXXFLAGS
5929 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5930 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5931 if test "${ac_cv_prog_cxx_g+set}" = set; then
5932 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5935 ac_cxx_werror_flag=yes
5938 cat >conftest.$ac_ext <<_ACEOF
5941 cat confdefs.h >>conftest.$ac_ext
5942 cat >>conftest.$ac_ext <<_ACEOF
5943 /* end confdefs.h. */
5953 rm -f conftest.$ac_objext
5954 if { (ac_try="$ac_compile"
5956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5957 *) ac_try_echo=$ac_try;;
5959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5960 (eval "$ac_compile") 2>conftest.er1
5962 grep -v '^ *+' conftest.er1 >conftest.err
5964 cat conftest.err >&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } && {
5967 test -z "$ac_cxx_werror_flag" ||
5968 test ! -s conftest.err
5969 } && test -s conftest.$ac_objext; then
5970 ac_cv_prog_cxx_g=yes
5972 echo "$as_me: failed program was:" >&5
5973 sed 's/^/| /' conftest.$ac_ext >&5
5976 cat >conftest.$ac_ext <<_ACEOF
5979 cat confdefs.h >>conftest.$ac_ext
5980 cat >>conftest.$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5991 rm -f conftest.$ac_objext
5992 if { (ac_try="$ac_compile"
5994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5995 *) ac_try_echo=$ac_try;;
5997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5998 (eval "$ac_compile") 2>conftest.er1
6000 grep -v '^ *+' conftest.er1 >conftest.err
6002 cat conftest.err >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } && {
6005 test -z "$ac_cxx_werror_flag" ||
6006 test ! -s conftest.err
6007 } && test -s conftest.$ac_objext; then
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6013 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6015 cat >conftest.$ac_ext <<_ACEOF
6018 cat confdefs.h >>conftest.$ac_ext
6019 cat >>conftest.$ac_ext <<_ACEOF
6020 /* end confdefs.h. */
6030 rm -f conftest.$ac_objext
6031 if { (ac_try="$ac_compile"
6033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6034 *) ac_try_echo=$ac_try;;
6036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6037 (eval "$ac_compile") 2>conftest.er1
6039 grep -v '^ *+' conftest.er1 >conftest.err
6041 cat conftest.err >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); } && {
6044 test -z "$ac_cxx_werror_flag" ||
6045 test ! -s conftest.err
6046 } && test -s conftest.$ac_objext; then
6047 ac_cv_prog_cxx_g=yes
6049 echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.$ac_ext >&5
6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6064 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6065 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6066 if test "$ac_test_CXXFLAGS" = set; then
6067 CXXFLAGS=$ac_save_CXXFLAGS
6068 elif test $ac_cv_prog_cxx_g = yes; then
6069 if test "$GXX" = yes; then
6075 if test "$GXX" = yes; then
6082 ac_cpp='$CXXCPP $CPPFLAGS'
6083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6087 depcc="$CXX" am_compiler_list=
6089 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6090 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6091 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6095 # We make a subdir and do the tests there. Otherwise we can end up
6096 # making bogus files that we don't know about and never remove. For
6097 # instance it was reported that on HP-UX the gcc test will end up
6098 # making a dummy file named `D' -- because `-MD' means `put the output
6101 # Copy depcomp to subdir because otherwise we won't find it if we're
6102 # using a relative directory.
6103 cp "$am_depcomp" conftest.dir
6105 # We will build objects and dependencies in a subdirectory because
6106 # it helps to detect inapplicable dependency modes. For instance
6107 # both Tru64's cc and ICC support -MD to output dependencies as a
6108 # side effect of compilation, but ICC will put the dependencies in
6109 # the current directory while Tru64 will put them in the object
6113 am_cv_CXX_dependencies_compiler_type=none
6114 if test "$am_compiler_list" = ""; then
6115 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6117 for depmode in $am_compiler_list; do
6118 # Setup a source with many dependencies, because some compilers
6119 # like to wrap large dependency lists on column 80 (with \), and
6120 # we should not choose a depcomp mode which is confused by this.
6122 # We need to recreate these files for each test, as the compiler may
6123 # overwrite some of them when testing with obscure command lines.
6124 # This happens at least with the AIX C compiler.
6126 for i in 1 2 3 4 5 6; do
6127 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6128 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6129 # Solaris 8's {/usr,}/bin/sh.
6130 touch sub/conftst$i.h
6132 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6136 # after this tag, mechanisms are not by side-effect, so they'll
6137 # only be used when explicitly requested
6138 if test "x$enable_dependency_tracking" = xyes; then
6146 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6147 # mode. It turns out that the SunPro C++ compiler does not properly
6148 # handle `-M -o', and we need to detect this.
6149 if depmode=$depmode \
6150 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6151 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6152 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6153 >/dev/null 2>conftest.err &&
6154 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6155 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6156 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6157 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6158 # icc doesn't choke on unknown options, it will just issue warnings
6159 # or remarks (even with -Werror). So we grep stderr for any message
6160 # that says an option was ignored or not supported.
6161 # When given -MP, icc 7.0 and 7.1 complain thusly:
6162 # icc: Command line warning: ignoring option '-M'; no argument required
6163 # The diagnosis changed in icc 8.0:
6164 # icc: Command line remark: option '-MP' not supported
6165 if (grep 'ignoring option' conftest.err ||
6166 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6167 am_cv_CXX_dependencies_compiler_type=$depmode
6176 am_cv_CXX_dependencies_compiler_type=none
6180 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6181 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6182 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6185 test "x$enable_dependency_tracking" != xno \
6186 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6187 am__fastdepCXX_TRUE=
6188 am__fastdepCXX_FALSE='#'
6190 am__fastdepCXX_TRUE='#'
6191 am__fastdepCXX_FALSE=
6197 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6198 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6199 (test "X$CXX" != "Xg++"))) ; then
6201 ac_cpp='$CXXCPP $CPPFLAGS'
6202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6205 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6206 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6207 if test -z "$CXXCPP"; then
6208 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6209 echo $ECHO_N "(cached) $ECHO_C" >&6
6211 # Double quotes because CXXCPP needs to be expanded
6212 for CXXCPP in "$CXX -E" "/lib/cpp"
6215 for ac_cxx_preproc_warn_flag in '' yes
6217 # Use a header file that comes with gcc, so configuring glibc
6218 # with a fresh cross-compiler works.
6219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6220 # <limits.h> exists even on freestanding compilers.
6221 # On the NeXT, cc -E runs the code through the compiler's parser,
6222 # not just through cpp. "Syntax error" is here to catch this case.
6223 cat >conftest.$ac_ext <<_ACEOF
6226 cat confdefs.h >>conftest.$ac_ext
6227 cat >>conftest.$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6230 # include <limits.h>
6232 # include <assert.h>
6236 if { (ac_try="$ac_cpp conftest.$ac_ext"
6238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6239 *) ac_try_echo=$ac_try;;
6241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6244 grep -v '^ *+' conftest.er1 >conftest.err
6246 cat conftest.err >&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); } >/dev/null && {
6249 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6250 test ! -s conftest.err
6254 echo "$as_me: failed program was:" >&5
6255 sed 's/^/| /' conftest.$ac_ext >&5
6257 # Broken: fails on valid input.
6261 rm -f conftest.err conftest.$ac_ext
6263 # OK, works on sane cases. Now check whether nonexistent headers
6264 # can be detected and how.
6265 cat >conftest.$ac_ext <<_ACEOF
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6271 #include <ac_nonexistent.h>
6273 if { (ac_try="$ac_cpp conftest.$ac_ext"
6275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6276 *) ac_try_echo=$ac_try;;
6278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6281 grep -v '^ *+' conftest.er1 >conftest.err
6283 cat conftest.err >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } >/dev/null && {
6286 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6287 test ! -s conftest.err
6289 # Broken: success on invalid input.
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 # Passes both tests.
6300 rm -f conftest.err conftest.$ac_ext
6303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6304 rm -f conftest.err conftest.$ac_ext
6305 if $ac_preproc_ok; then
6310 ac_cv_prog_CXXCPP=$CXXCPP
6313 CXXCPP=$ac_cv_prog_CXXCPP
6315 ac_cv_prog_CXXCPP=$CXXCPP
6317 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6318 echo "${ECHO_T}$CXXCPP" >&6; }
6320 for ac_cxx_preproc_warn_flag in '' yes
6322 # Use a header file that comes with gcc, so configuring glibc
6323 # with a fresh cross-compiler works.
6324 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6325 # <limits.h> exists even on freestanding compilers.
6326 # On the NeXT, cc -E runs the code through the compiler's parser,
6327 # not just through cpp. "Syntax error" is here to catch this case.
6328 cat >conftest.$ac_ext <<_ACEOF
6331 cat confdefs.h >>conftest.$ac_ext
6332 cat >>conftest.$ac_ext <<_ACEOF
6333 /* end confdefs.h. */
6335 # include <limits.h>
6337 # include <assert.h>
6341 if { (ac_try="$ac_cpp conftest.$ac_ext"
6343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6344 *) ac_try_echo=$ac_try;;
6346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6349 grep -v '^ *+' conftest.er1 >conftest.err
6351 cat conftest.err >&5
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); } >/dev/null && {
6354 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6355 test ! -s conftest.err
6359 echo "$as_me: failed program was:" >&5
6360 sed 's/^/| /' conftest.$ac_ext >&5
6362 # Broken: fails on valid input.
6366 rm -f conftest.err conftest.$ac_ext
6368 # OK, works on sane cases. Now check whether nonexistent headers
6369 # can be detected and how.
6370 cat >conftest.$ac_ext <<_ACEOF
6373 cat confdefs.h >>conftest.$ac_ext
6374 cat >>conftest.$ac_ext <<_ACEOF
6375 /* end confdefs.h. */
6376 #include <ac_nonexistent.h>
6378 if { (ac_try="$ac_cpp conftest.$ac_ext"
6380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6381 *) ac_try_echo=$ac_try;;
6383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6384 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6386 grep -v '^ *+' conftest.er1 >conftest.err
6388 cat conftest.err >&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); } >/dev/null && {
6391 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6392 test ! -s conftest.err
6394 # Broken: success on invalid input.
6397 echo "$as_me: failed program was:" >&5
6398 sed 's/^/| /' conftest.$ac_ext >&5
6400 # Passes both tests.
6405 rm -f conftest.err conftest.$ac_ext
6408 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6409 rm -f conftest.err conftest.$ac_ext
6410 if $ac_preproc_ok; then
6413 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6414 See \`config.log' for more details." >&5
6415 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6416 See \`config.log' for more details." >&2;}
6417 { (exit 1); exit 1; }; }
6421 ac_cpp='$CXXCPP $CPPFLAGS'
6422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6430 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6431 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6433 if test -n "$ac_tool_prefix"; then
6434 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6436 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6437 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6440 if test "${ac_cv_prog_F77+set}" = set; then
6441 echo $ECHO_N "(cached) $ECHO_C" >&6
6443 if test -n "$F77"; then
6444 ac_cv_prog_F77="$F77" # Let the user override the test.
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450 test -z "$as_dir" && as_dir=.
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6453 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 if test -n "$F77"; then
6465 { echo "$as_me:$LINENO: result: $F77" >&5
6466 echo "${ECHO_T}$F77" >&6; }
6468 { echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6; }
6473 test -n "$F77" && break
6476 if test -z "$F77"; then
6478 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6480 # Extract the first word of "$ac_prog", so it can be a program name with args.
6481 set dummy $ac_prog; ac_word=$2
6482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6484 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6487 if test -n "$ac_ct_F77"; then
6488 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6497 ac_cv_prog_ac_ct_F77="$ac_prog"
6498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 ac_ct_F77=$ac_cv_prog_ac_ct_F77
6508 if test -n "$ac_ct_F77"; then
6509 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6510 echo "${ECHO_T}$ac_ct_F77" >&6; }
6512 { echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6; }
6517 test -n "$ac_ct_F77" && break
6520 if test "x$ac_ct_F77" = x; then
6523 case $cross_compiling:$ac_tool_warned in
6525 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6526 whose name does not start with the host triplet. If you think this
6527 configuration is useful to you, please write to autoconf@gnu.org." >&5
6528 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6529 whose name does not start with the host triplet. If you think this
6530 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6531 ac_tool_warned=yes ;;
6538 # Provide some information about the compiler.
6539 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6540 ac_compiler=`set X $ac_compile; echo $2`
6541 { (ac_try="$ac_compiler --version >&5"
6543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6544 *) ac_try_echo=$ac_try;;
6546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6547 (eval "$ac_compiler --version >&5") 2>&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }
6551 { (ac_try="$ac_compiler -v >&5"
6553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 (eval "$ac_compiler -v >&5") 2>&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); }
6561 { (ac_try="$ac_compiler -V >&5"
6563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6564 *) ac_try_echo=$ac_try;;
6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6567 (eval "$ac_compiler -V >&5") 2>&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }
6573 # If we don't use `.F' as extension, the preprocessor is not run on the
6574 # input file. (Note that this only needs to work for GNU compilers.)
6577 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6578 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6579 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 cat >conftest.$ac_ext <<_ACEOF
6590 rm -f conftest.$ac_objext
6591 if { (ac_try="$ac_compile"
6593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6594 *) ac_try_echo=$ac_try;;
6596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6597 (eval "$ac_compile") 2>conftest.er1
6599 grep -v '^ *+' conftest.er1 >conftest.err
6601 cat conftest.err >&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } && {
6604 test -z "$ac_f77_werror_flag" ||
6605 test ! -s conftest.err
6606 } && test -s conftest.$ac_objext; then
6609 echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.$ac_ext >&5
6615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6616 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6619 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6620 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6622 ac_test_FFLAGS=${FFLAGS+set}
6623 ac_save_FFLAGS=$FFLAGS
6625 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6626 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6627 if test "${ac_cv_prog_f77_g+set}" = set; then
6628 echo $ECHO_N "(cached) $ECHO_C" >&6
6631 cat >conftest.$ac_ext <<_ACEOF
6636 rm -f conftest.$ac_objext
6637 if { (ac_try="$ac_compile"
6639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6640 *) ac_try_echo=$ac_try;;
6642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6643 (eval "$ac_compile") 2>conftest.er1
6645 grep -v '^ *+' conftest.er1 >conftest.err
6647 cat conftest.err >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); } && {
6650 test -z "$ac_f77_werror_flag" ||
6651 test ! -s conftest.err
6652 } && test -s conftest.$ac_objext; then
6653 ac_cv_prog_f77_g=yes
6655 echo "$as_me: failed program was:" >&5
6656 sed 's/^/| /' conftest.$ac_ext >&5
6661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6664 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6665 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6666 if test "$ac_test_FFLAGS" = set; then
6667 FFLAGS=$ac_save_FFLAGS
6668 elif test $ac_cv_prog_f77_g = yes; then
6669 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6675 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6682 G77=`test $ac_compiler_gnu = yes && echo yes`
6684 ac_cpp='$CPP $CPPFLAGS'
6685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6691 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6693 # find the maximum length of command line arguments
6694 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6695 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6696 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6697 echo $ECHO_N "(cached) $ECHO_C" >&6
6704 # On DJGPP, this test can blow up pretty badly due to problems in libc
6705 # (any single argument exceeding 2000 bytes causes a buffer overrun
6706 # during glob expansion). Even if it were fixed, the result of this
6707 # check would be larger than it should be.
6708 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6712 # Under GNU Hurd, this test is not required because there is
6713 # no limit to the length of command line arguments.
6714 # Libtool will interpret -1 as no limit whatsoever
6715 lt_cv_sys_max_cmd_len=-1;
6719 # On Win9x/ME, this test blows up -- it succeeds, but takes
6720 # about 5 minutes as the teststring grows exponentially.
6721 # Worse, since 9x/ME are not pre-emptively multitasking,
6722 # you end up with a "frozen" computer, even though with patience
6723 # the test eventually succeeds (with a max line length of 256k).
6724 # Instead, let's just punt: use the minimum linelength reported by
6725 # all of the supported platforms: 8192 (on NT/2K/XP).
6726 lt_cv_sys_max_cmd_len=8192;
6730 # On AmigaOS with pdksh, this test takes hours, literally.
6731 # So we just punt and use a minimum line length of 8192.
6732 lt_cv_sys_max_cmd_len=8192;
6735 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6736 # This has been around since 386BSD, at least. Likely further.
6737 if test -x /sbin/sysctl; then
6738 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6739 elif test -x /usr/sbin/sysctl; then
6740 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6742 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6744 # And add a safety zone
6745 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6746 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6750 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6751 lt_cv_sys_max_cmd_len=196608
6755 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6756 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6757 # nice to cause kernel panics so lets avoid the loop below.
6758 # First set a reasonable default.
6759 lt_cv_sys_max_cmd_len=16384
6761 if test -x /sbin/sysconfig; then
6762 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6763 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6768 lt_cv_sys_max_cmd_len=102400
6770 sysv5* | sco5v6* | sysv4.2uw2*)
6771 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6772 if test -n "$kargmax"; then
6773 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6775 lt_cv_sys_max_cmd_len=32768
6779 # If test is not a shell built-in, we'll probably end up computing a
6780 # maximum length that is only half of the actual maximum length, but
6782 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6783 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6784 = "XX$teststring") >/dev/null 2>&1 &&
6785 new_result=`expr "X$teststring" : ".*" 2>&1` &&
6786 lt_cv_sys_max_cmd_len=$new_result &&
6787 test $i != 17 # 1/2 MB should be enough
6790 teststring=$teststring$teststring
6793 # Add a significant safety factor because C++ compilers can tack on massive
6794 # amounts of additional arguments before passing them to the linker.
6795 # It appears as though 1/2 is a usable value.
6796 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6802 if test -n $lt_cv_sys_max_cmd_len ; then
6803 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6804 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6806 { echo "$as_me:$LINENO: result: none" >&5
6807 echo "${ECHO_T}none" >&6; }
6813 # Check for command to grab the raw symbol name followed by C symbol from nm.
6814 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6815 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6816 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 # These are sane defaults that work on at least a few old systems.
6821 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6823 # Character class describing NM global symbol codes.
6824 symcode='[BCDEGRST]'
6826 # Regexp to match symbols that can be accessed directly from C.
6827 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6829 # Transform an extracted symbol line into a proper C declaration
6830 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6832 # Transform an extracted symbol line into symbol name and symbol address
6833 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6835 # Define system-specific variables.
6840 cygwin* | mingw* | pw32*)
6841 symcode='[ABCDGISTW]'
6843 hpux*) # Its linker distinguishes data from code symbols
6844 if test "$host_cpu" = ia64; then
6845 symcode='[ABCDEGRST]'
6847 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6848 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6851 if test "$host_cpu" = ia64; then
6852 symcode='[ABCDGIRSTW]'
6853 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6854 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6858 symcode='[BCDEGRST]'
6861 symcode='[BCDEGQRST]'
6872 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6880 # Handle CRLF in mingw tool chain
6884 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6888 # If we're using GNU nm, then use its standard symbol codes.
6889 case `$NM -V 2>&1` in
6890 *GNU* | *'with BFD'*)
6891 symcode='[ABCDGIRSTW]' ;;
6894 # Try without a prefix undercore, then with it.
6895 for ac_symprfx in "" "_"; do
6897 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6898 symxfrm="\\1 $ac_symprfx\\2 \\2"
6900 # Write the raw and C identifiers.
6901 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6903 # Check to see that the pipe works correctly.
6907 cat > conftest.$ac_ext <<EOF
6912 void nm_test_func(){}
6916 int main(){nm_test_var='a';nm_test_func();return(0);}
6919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6920 (eval $ac_compile) 2>&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); }; then
6924 # Now try to grab the symbols.
6926 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6927 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); } && test -s "$nlist"; then
6931 # Try sorting and uniquifying the output.
6932 if sort "$nlist" | uniq > "$nlist"T; then
6933 mv -f "$nlist"T "$nlist"
6938 # Make sure that we snagged all the symbols we need.
6939 if grep ' nm_test_var$' "$nlist" >/dev/null; then
6940 if grep ' nm_test_func$' "$nlist" >/dev/null; then
6941 cat <<EOF > conftest.$ac_ext
6947 # Now generate the symbol file.
6948 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6950 cat <<EOF >> conftest.$ac_ext
6951 #if defined (__STDC__) && __STDC__
6952 # define lt_ptr_t void *
6954 # define lt_ptr_t char *
6958 /* The mapping between symbol names and symbols. */
6963 lt_preloaded_symbols[] =
6966 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6967 cat <<\EOF >> conftest.$ac_ext
6975 # Now try linking the two files.
6976 mv conftest.$ac_objext conftstm.$ac_objext
6977 lt_save_LIBS="$LIBS"
6978 lt_save_CFLAGS="$CFLAGS"
6979 LIBS="conftstm.$ac_objext"
6980 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6982 (eval $ac_link) 2>&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6988 LIBS="$lt_save_LIBS"
6989 CFLAGS="$lt_save_CFLAGS"
6991 echo "cannot find nm_test_func in $nlist" >&5
6994 echo "cannot find nm_test_var in $nlist" >&5
6997 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7000 echo "$progname: failed program was:" >&5
7001 cat conftest.$ac_ext >&5
7003 rm -f conftest* conftst*
7005 # Do not use the global_symbol_pipe unless it works.
7006 if test "$pipe_works" = yes; then
7009 lt_cv_sys_global_symbol_pipe=
7015 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7016 lt_cv_sys_global_symbol_to_cdecl=
7018 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7019 { echo "$as_me:$LINENO: result: failed" >&5
7020 echo "${ECHO_T}failed" >&6; }
7022 { echo "$as_me:$LINENO: result: ok" >&5
7023 echo "${ECHO_T}ok" >&6; }
7026 { echo "$as_me:$LINENO: checking for objdir" >&5
7027 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7028 if test "${lt_cv_objdir+set}" = set; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7031 rm -f .libs 2>/dev/null
7032 mkdir .libs 2>/dev/null
7033 if test -d .libs; then
7036 # MS-DOS does not allow filenames that begin with a dot.
7039 rmdir .libs 2>/dev/null
7041 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7042 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7043 objdir=$lt_cv_objdir
7051 # AIX sometimes has problems with the GCC collect2 program. For some
7052 # reason, if we set the COLLECT_NAMES environment variable, the problems
7053 # vanish in a puff of smoke.
7054 if test "X${COLLECT_NAMES+set}" != Xset; then
7056 export COLLECT_NAMES
7061 # Sed substitution that helps us do robust quoting. It backslashifies
7062 # metacharacters that are still active within double-quoted strings.
7063 Xsed='sed -e 1s/^X//'
7064 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7066 # Same as above, but do not quote variable references.
7067 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7069 # Sed substitution to delay expansion of an escaped shell variable in a
7070 # double_quote_subst'ed string.
7071 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7073 # Sed substitution to avoid accidental globbing in evaled expressions
7074 no_glob_subst='s/\*/\\\*/g'
7080 default_ofile=libtool
7081 can_build_shared=yes
7083 # All known linkers require a `.a' archive for static linking (except MSVC,
7084 # which needs '.lib').
7086 ltmain="$ac_aux_dir/ltmain.sh"
7087 ofile="$default_ofile"
7088 with_gnu_ld="$lt_cv_prog_gnu_ld"
7090 if test -n "$ac_tool_prefix"; then
7091 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7092 set dummy ${ac_tool_prefix}ar; ac_word=$2
7093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7095 if test "${ac_cv_prog_AR+set}" = set; then
7096 echo $ECHO_N "(cached) $ECHO_C" >&6
7098 if test -n "$AR"; then
7099 ac_cv_prog_AR="$AR" # Let the user override the test.
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir=.
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108 ac_cv_prog_AR="${ac_tool_prefix}ar"
7109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 if test -n "$AR"; then
7120 { echo "$as_me:$LINENO: result: $AR" >&5
7121 echo "${ECHO_T}$AR" >&6; }
7123 { echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6; }
7129 if test -z "$ac_cv_prog_AR"; then
7131 # Extract the first word of "ar", so it can be a program name with args.
7132 set dummy ar; ac_word=$2
7133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7135 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7136 echo $ECHO_N "(cached) $ECHO_C" >&6
7138 if test -n "$ac_ct_AR"; then
7139 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 test -z "$as_dir" && as_dir=.
7146 for ac_exec_ext in '' $ac_executable_extensions; do
7147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7148 ac_cv_prog_ac_ct_AR="ar"
7149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7159 if test -n "$ac_ct_AR"; then
7160 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7161 echo "${ECHO_T}$ac_ct_AR" >&6; }
7163 { echo "$as_me:$LINENO: result: no" >&5
7164 echo "${ECHO_T}no" >&6; }
7167 if test "x$ac_ct_AR" = x; then
7170 case $cross_compiling:$ac_tool_warned in
7172 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7173 whose name does not start with the host triplet. If you think this
7174 configuration is useful to you, please write to autoconf@gnu.org." >&5
7175 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7176 whose name does not start with the host triplet. If you think this
7177 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7178 ac_tool_warned=yes ;;
7186 if test -n "$ac_tool_prefix"; then
7187 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7188 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7191 if test "${ac_cv_prog_RANLIB+set}" = set; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 if test -n "$RANLIB"; then
7195 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7204 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 RANLIB=$ac_cv_prog_RANLIB
7215 if test -n "$RANLIB"; then
7216 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7217 echo "${ECHO_T}$RANLIB" >&6; }
7219 { echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6; }
7225 if test -z "$ac_cv_prog_RANLIB"; then
7226 ac_ct_RANLIB=$RANLIB
7227 # Extract the first word of "ranlib", so it can be a program name with args.
7228 set dummy ranlib; ac_word=$2
7229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7231 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7232 echo $ECHO_N "(cached) $ECHO_C" >&6
7234 if test -n "$ac_ct_RANLIB"; then
7235 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 test -z "$as_dir" && as_dir=.
7242 for ac_exec_ext in '' $ac_executable_extensions; do
7243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7244 ac_cv_prog_ac_ct_RANLIB="ranlib"
7245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7254 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7255 if test -n "$ac_ct_RANLIB"; then
7256 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7257 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7259 { echo "$as_me:$LINENO: result: no" >&5
7260 echo "${ECHO_T}no" >&6; }
7263 if test "x$ac_ct_RANLIB" = x; then
7266 case $cross_compiling:$ac_tool_warned in
7268 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7269 whose name does not start with the host triplet. If you think this
7270 configuration is useful to you, please write to autoconf@gnu.org." >&5
7271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7272 whose name does not start with the host triplet. If you think this
7273 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7274 ac_tool_warned=yes ;;
7276 RANLIB=$ac_ct_RANLIB
7279 RANLIB="$ac_cv_prog_RANLIB"
7282 if test -n "$ac_tool_prefix"; then
7283 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7284 set dummy ${ac_tool_prefix}strip; ac_word=$2
7285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7287 if test "${ac_cv_prog_STRIP+set}" = set; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 if test -n "$STRIP"; then
7291 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7310 STRIP=$ac_cv_prog_STRIP
7311 if test -n "$STRIP"; then
7312 { echo "$as_me:$LINENO: result: $STRIP" >&5
7313 echo "${ECHO_T}$STRIP" >&6; }
7315 { echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6; }
7321 if test -z "$ac_cv_prog_STRIP"; then
7323 # Extract the first word of "strip", so it can be a program name with args.
7324 set dummy strip; ac_word=$2
7325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7327 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7328 echo $ECHO_N "(cached) $ECHO_C" >&6
7330 if test -n "$ac_ct_STRIP"; then
7331 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340 ac_cv_prog_ac_ct_STRIP="strip"
7341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7350 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7351 if test -n "$ac_ct_STRIP"; then
7352 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7353 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7355 { echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6; }
7359 if test "x$ac_ct_STRIP" = x; then
7362 case $cross_compiling:$ac_tool_warned in
7364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7365 whose name does not start with the host triplet. If you think this
7366 configuration is useful to you, please write to autoconf@gnu.org." >&5
7367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7368 whose name does not start with the host triplet. If you think this
7369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7370 ac_tool_warned=yes ;;
7375 STRIP="$ac_cv_prog_STRIP"
7380 old_CFLAGS="$CFLAGS"
7382 # Set sane defaults for various variables
7383 test -z "$AR" && AR=ar
7384 test -z "$AR_FLAGS" && AR_FLAGS=cru
7385 test -z "$AS" && AS=as
7386 test -z "$CC" && CC=cc
7387 test -z "$LTCC" && LTCC=$CC
7388 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7389 test -z "$DLLTOOL" && DLLTOOL=dlltool
7390 test -z "$LD" && LD=ld
7391 test -z "$LN_S" && LN_S="ln -s"
7392 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7393 test -z "$NM" && NM=nm
7394 test -z "$SED" && SED=sed
7395 test -z "$OBJDUMP" && OBJDUMP=objdump
7396 test -z "$RANLIB" && RANLIB=:
7397 test -z "$STRIP" && STRIP=:
7398 test -z "$ac_objext" && ac_objext=o
7400 # Determine commands to create old-style static archives.
7401 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7402 old_postinstall_cmds='chmod 644 $oldlib'
7403 old_postuninstall_cmds=
7405 if test -n "$RANLIB"; then
7408 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7411 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7414 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7417 for cc_temp in $compiler""; do
7419 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7420 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7425 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7428 # Only perform the check for file, if the check method requires it
7429 case $deplibs_check_method in
7431 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7432 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7433 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7434 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7435 echo $ECHO_N "(cached) $ECHO_C" >&6
7439 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7442 lt_save_MAGIC_CMD="$MAGIC_CMD"
7443 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7444 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7445 for ac_dir in $ac_dummy; do
7447 test -z "$ac_dir" && ac_dir=.
7448 if test -f $ac_dir/${ac_tool_prefix}file; then
7449 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7450 if test -n "$file_magic_test_file"; then
7451 case $deplibs_check_method in
7453 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7454 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7455 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7456 $EGREP "$file_magic_regex" > /dev/null; then
7461 *** Warning: the command libtool uses to detect shared libraries,
7462 *** $file_magic_cmd, produces output that libtool cannot recognize.
7463 *** The result is that libtool may fail to recognize shared libraries
7464 *** as such. This will affect the creation of libtool libraries that
7465 *** depend on shared libraries, but programs linked with such libtool
7466 *** libraries will work regardless of this problem. Nevertheless, you
7467 *** may want to report the problem to your system manager and/or to
7468 *** bug-libtool@gnu.org
7478 MAGIC_CMD="$lt_save_MAGIC_CMD"
7483 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7484 if test -n "$MAGIC_CMD"; then
7485 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7486 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7488 { echo "$as_me:$LINENO: result: no" >&5
7489 echo "${ECHO_T}no" >&6; }
7492 if test -z "$lt_cv_path_MAGIC_CMD"; then
7493 if test -n "$ac_tool_prefix"; then
7494 { echo "$as_me:$LINENO: checking for file" >&5
7495 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7496 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7497 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7504 lt_save_MAGIC_CMD="$MAGIC_CMD"
7505 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7506 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7507 for ac_dir in $ac_dummy; do
7509 test -z "$ac_dir" && ac_dir=.
7510 if test -f $ac_dir/file; then
7511 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7512 if test -n "$file_magic_test_file"; then
7513 case $deplibs_check_method in
7515 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7516 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7517 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7518 $EGREP "$file_magic_regex" > /dev/null; then
7523 *** Warning: the command libtool uses to detect shared libraries,
7524 *** $file_magic_cmd, produces output that libtool cannot recognize.
7525 *** The result is that libtool may fail to recognize shared libraries
7526 *** as such. This will affect the creation of libtool libraries that
7527 *** depend on shared libraries, but programs linked with such libtool
7528 *** libraries will work regardless of this problem. Nevertheless, you
7529 *** may want to report the problem to your system manager and/or to
7530 *** bug-libtool@gnu.org
7540 MAGIC_CMD="$lt_save_MAGIC_CMD"
7545 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7546 if test -n "$MAGIC_CMD"; then
7547 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7548 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7550 { echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6; }
7564 enable_win32_dll=yes
7566 # Check whether --enable-libtool-lock was given.
7567 if test "${enable_libtool_lock+set}" = set; then
7568 enableval=$enable_libtool_lock;
7571 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7574 # Check whether --with-pic was given.
7575 if test "${with_pic+set}" = set; then
7576 withval=$with_pic; pic_mode="$withval"
7581 test -z "$pic_mode" && pic_mode=default
7583 # Use C for the default configuration in the libtool script
7587 ac_cpp='$CPP $CPPFLAGS'
7588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7593 # Source file extension for C test sources.
7596 # Object file extension for compiled C test sources.
7600 # Code to be used in simple compile tests
7601 lt_simple_compile_test_code="int some_variable = 0;\n"
7603 # Code to be used in simple link tests
7604 lt_simple_link_test_code='int main(){return(0);}\n'
7607 # If no C compiler was specified, use CC.
7610 # If no C compiler flags were specified, use CFLAGS.
7611 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7613 # Allow CC to be a program name with arguments.
7617 # save warnings/boilerplate of simple test code
7618 ac_outfile=conftest.$ac_objext
7619 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7620 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7621 _lt_compiler_boilerplate=`cat conftest.err`
7624 ac_outfile=conftest.$ac_objext
7625 printf "$lt_simple_link_test_code" >conftest.$ac_ext
7626 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7627 _lt_linker_boilerplate=`cat conftest.err`
7632 lt_prog_compiler_no_builtin_flag=
7634 if test "$GCC" = yes; then
7635 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7638 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7639 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7640 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 lt_cv_prog_compiler_rtti_exceptions=no
7644 ac_outfile=conftest.$ac_objext
7645 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7646 lt_compiler_flag="-fno-rtti -fno-exceptions"
7647 # Insert the option either (1) after the last *FLAGS variable, or
7648 # (2) before a word containing "conftest.", or (3) at the end.
7649 # Note that $ac_compile itself does not contain backslashes and begins
7650 # with a dollar sign (not a hyphen), so the echo should work correctly.
7651 # The option is referenced via a variable to avoid confusing sed.
7652 lt_compile=`echo "$ac_compile" | $SED \
7653 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7654 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7655 -e 's:$: $lt_compiler_flag:'`
7656 (eval echo "\"\$as_me:7656: $lt_compile\"" >&5)
7657 (eval "$lt_compile" 2>conftest.err)
7659 cat conftest.err >&5
7660 echo "$as_me:7660: \$? = $ac_status" >&5
7661 if (exit $ac_status) && test -s "$ac_outfile"; then
7662 # The compiler can only warn and ignore the option if not recognized
7663 # So say no if there are warnings other than the usual output.
7664 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7665 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7666 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7667 lt_cv_prog_compiler_rtti_exceptions=yes
7673 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7674 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7676 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7677 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7684 lt_prog_compiler_wl=
7685 lt_prog_compiler_pic=
7686 lt_prog_compiler_static=
7688 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7689 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7691 if test "$GCC" = yes; then
7692 lt_prog_compiler_wl='-Wl,'
7693 lt_prog_compiler_static='-static'
7697 # All AIX code is PIC.
7698 if test "$host_cpu" = ia64; then
7699 # AIX 5 now supports IA64 processor
7700 lt_prog_compiler_static='-Bstatic'
7705 # FIXME: we need at least 68020 code to build shared libraries, but
7706 # adding the `-m68020' flag to GCC prevents building anything better,
7708 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7711 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7712 # PIC is the default for these OSes.
7715 mingw* | pw32* | os2*)
7716 # This hack is so that the source file can tell whether it is being
7717 # built for inclusion in a dll (and should export symbols for example).
7718 lt_prog_compiler_pic='-DDLL_EXPORT'
7721 darwin* | rhapsody*)
7722 # PIC is the default on this platform
7723 # Common symbols not allowed in MH_DYLIB files
7724 lt_prog_compiler_pic='-fno-common'
7728 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7729 # Instead, we relocate shared libraries at runtime.
7733 # Just because we use GCC doesn't mean we suddenly get shared libraries
7734 # on systems that don't support them.
7735 lt_prog_compiler_can_build_shared=no
7740 if test -d /usr/nec; then
7741 lt_prog_compiler_pic=-Kconform_pic
7746 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7753 lt_prog_compiler_pic='-fPIC'
7759 lt_prog_compiler_pic='-fPIC'
7763 # PORTME Check for flag to pass linker flags through the system compiler.
7766 lt_prog_compiler_wl='-Wl,'
7767 if test "$host_cpu" = ia64; then
7768 # AIX 5 now supports IA64 processor
7769 lt_prog_compiler_static='-Bstatic'
7771 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7775 # PIC is the default on this platform
7776 # Common symbols not allowed in MH_DYLIB files
7777 case $cc_basename in
7779 lt_prog_compiler_pic='-qnocommon'
7780 lt_prog_compiler_wl='-Wl,'
7785 mingw* | pw32* | os2*)
7786 # This hack is so that the source file can tell whether it is being
7787 # built for inclusion in a dll (and should export symbols for example).
7788 lt_prog_compiler_pic='-DDLL_EXPORT'
7791 hpux9* | hpux10* | hpux11*)
7792 lt_prog_compiler_wl='-Wl,'
7793 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7800 lt_prog_compiler_pic='+Z'
7803 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7804 lt_prog_compiler_static='${wl}-a ${wl}archive'
7807 irix5* | irix6* | nonstopux*)
7808 lt_prog_compiler_wl='-Wl,'
7809 # PIC (with -KPIC) is the default.
7810 lt_prog_compiler_static='-non_shared'
7814 lt_prog_compiler_pic='-KPIC'
7815 lt_prog_compiler_static='-Bstatic'
7819 case $cc_basename in
7821 lt_prog_compiler_wl='-Wl,'
7822 lt_prog_compiler_pic='-KPIC'
7823 lt_prog_compiler_static='-static'
7825 pgcc* | pgf77* | pgf90* | pgf95*)
7826 # Portland Group compilers (*not* the Pentium gcc compiler,
7827 # which looks to be a dead project)
7828 lt_prog_compiler_wl='-Wl,'
7829 lt_prog_compiler_pic='-fpic'
7830 lt_prog_compiler_static='-Bstatic'
7833 lt_prog_compiler_wl='-Wl,'
7834 # All Alpha code is PIC.
7835 lt_prog_compiler_static='-non_shared'
7840 osf3* | osf4* | osf5*)
7841 lt_prog_compiler_wl='-Wl,'
7842 # All OSF/1 code is PIC.
7843 lt_prog_compiler_static='-non_shared'
7847 lt_prog_compiler_pic='-KPIC'
7848 lt_prog_compiler_static='-Bstatic'
7849 case $cc_basename in
7851 lt_prog_compiler_wl='-Qoption ld ';;
7853 lt_prog_compiler_wl='-Wl,';;
7858 lt_prog_compiler_wl='-Qoption ld '
7859 lt_prog_compiler_pic='-PIC'
7860 lt_prog_compiler_static='-Bstatic'
7863 sysv4 | sysv4.2uw2* | sysv4.3*)
7864 lt_prog_compiler_wl='-Wl,'
7865 lt_prog_compiler_pic='-KPIC'
7866 lt_prog_compiler_static='-Bstatic'
7870 if test -d /usr/nec ;then
7871 lt_prog_compiler_pic='-Kconform_pic'
7872 lt_prog_compiler_static='-Bstatic'
7876 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7877 lt_prog_compiler_wl='-Wl,'
7878 lt_prog_compiler_pic='-KPIC'
7879 lt_prog_compiler_static='-Bstatic'
7883 lt_prog_compiler_wl='-Wl,'
7884 lt_prog_compiler_can_build_shared=no
7888 lt_prog_compiler_pic='-pic'
7889 lt_prog_compiler_static='-Bstatic'
7893 lt_prog_compiler_can_build_shared=no
7898 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7899 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7902 # Check to make sure the PIC flag actually works.
7904 if test -n "$lt_prog_compiler_pic"; then
7906 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7907 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7908 if test "${lt_prog_compiler_pic_works+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 lt_prog_compiler_pic_works=no
7912 ac_outfile=conftest.$ac_objext
7913 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7914 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7915 # Insert the option either (1) after the last *FLAGS variable, or
7916 # (2) before a word containing "conftest.", or (3) at the end.
7917 # Note that $ac_compile itself does not contain backslashes and begins
7918 # with a dollar sign (not a hyphen), so the echo should work correctly.
7919 # The option is referenced via a variable to avoid confusing sed.
7920 lt_compile=`echo "$ac_compile" | $SED \
7921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7923 -e 's:$: $lt_compiler_flag:'`
7924 (eval echo "\"\$as_me:7924: $lt_compile\"" >&5)
7925 (eval "$lt_compile" 2>conftest.err)
7927 cat conftest.err >&5
7928 echo "$as_me:7928: \$? = $ac_status" >&5
7929 if (exit $ac_status) && test -s "$ac_outfile"; then
7930 # The compiler can only warn and ignore the option if not recognized
7931 # So say no if there are warnings other than the usual output.
7932 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7933 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7934 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7935 lt_prog_compiler_pic_works=yes
7941 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7942 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7944 if test x"$lt_prog_compiler_pic_works" = xyes; then
7945 case $lt_prog_compiler_pic in
7947 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7950 lt_prog_compiler_pic=
7951 lt_prog_compiler_can_build_shared=no
7956 # For platforms which do not support PIC, -DPIC is meaningless:
7958 lt_prog_compiler_pic=
7961 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7966 # Check to make sure the static flag actually works.
7968 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7969 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7970 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7971 if test "${lt_prog_compiler_static_works+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7974 lt_prog_compiler_static_works=no
7975 save_LDFLAGS="$LDFLAGS"
7976 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7977 printf "$lt_simple_link_test_code" > conftest.$ac_ext
7978 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7979 # The linker can only warn and ignore the option if not recognized
7980 # So say no if there are warnings
7981 if test -s conftest.err; then
7982 # Append any errors to the config.log.
7983 cat conftest.err 1>&5
7984 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7985 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7986 if diff conftest.exp conftest.er2 >/dev/null; then
7987 lt_prog_compiler_static_works=yes
7990 lt_prog_compiler_static_works=yes
7994 LDFLAGS="$save_LDFLAGS"
7997 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7998 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8000 if test x"$lt_prog_compiler_static_works" = xyes; then
8003 lt_prog_compiler_static=
8007 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8008 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8009 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8010 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 lt_cv_prog_compiler_c_o=no
8013 $rm -r conftest 2>/dev/null
8017 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8019 lt_compiler_flag="-o out/conftest2.$ac_objext"
8020 # Insert the option either (1) after the last *FLAGS variable, or
8021 # (2) before a word containing "conftest.", or (3) at the end.
8022 # Note that $ac_compile itself does not contain backslashes and begins
8023 # with a dollar sign (not a hyphen), so the echo should work correctly.
8024 lt_compile=`echo "$ac_compile" | $SED \
8025 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8027 -e 's:$: $lt_compiler_flag:'`
8028 (eval echo "\"\$as_me:8028: $lt_compile\"" >&5)
8029 (eval "$lt_compile" 2>out/conftest.err)
8031 cat out/conftest.err >&5
8032 echo "$as_me:8032: \$? = $ac_status" >&5
8033 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8035 # The compiler can only warn and ignore the option if not recognized
8036 # So say no if there are warnings
8037 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8038 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8039 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8040 lt_cv_prog_compiler_c_o=yes
8045 # SGI C++ compiler will create directory out/ii_files/ for
8046 # template instantiation
8047 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8048 $rm out/* && rmdir out
8054 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8055 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8058 hard_links="nottested"
8059 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8060 # do not overwrite the value of need_locks provided by the user
8061 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8062 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8065 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8067 ln conftest.a conftest.b 2>&5 || hard_links=no
8068 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8069 { echo "$as_me:$LINENO: result: $hard_links" >&5
8070 echo "${ECHO_T}$hard_links" >&6; }
8071 if test "$hard_links" = no; then
8072 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8073 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8080 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8081 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8084 allow_undefined_flag=
8085 enable_shared_with_static_runtimes=no
8087 archive_expsym_cmds=
8088 old_archive_From_new_cmds=
8089 old_archive_from_expsyms_cmds=
8090 export_dynamic_flag_spec=
8091 whole_archive_flag_spec=
8092 thread_safe_flag_spec=
8093 hardcode_libdir_flag_spec=
8094 hardcode_libdir_flag_spec_ld=
8095 hardcode_libdir_separator=
8098 hardcode_shlibpath_var=unsupported
8099 link_all_deplibs=unknown
8100 hardcode_automatic=no
8103 always_export_symbols=no
8104 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8105 # include_expsyms should be a list of space-separated symbols to be *always*
8106 # included in the symbol list
8108 # exclude_expsyms can be an extended regexp of symbols to exclude
8109 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8110 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8111 # as well as any symbol that contains `d'.
8112 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8113 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8114 # platforms (ab)use it in PIC code, but their linkers get confused if
8115 # the symbol is explicitly referenced. Since portable code cannot
8116 # rely on this symbol name, it's probably fine to never include it in
8117 # preloaded symbol tables.
8118 extract_expsyms_cmds=
8119 # Just being paranoid about ensuring that cc_basename is set.
8120 for cc_temp in $compiler""; do
8122 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8123 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8128 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8131 cygwin* | mingw* | pw32*)
8132 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8133 # When not using gcc, we currently assume that we are using
8134 # Microsoft Visual C++.
8135 if test "$GCC" != yes; then
8140 # we just hope/assume this is gcc and not c89 (= MSVC++)
8149 if test "$with_gnu_ld" = yes; then
8150 # If archive_cmds runs LD, not CC, wlarc should be empty
8153 # Set some defaults for GNU ld with shared library support. These
8154 # are reset later if shared libraries are not supported. Putting them
8155 # here allows them to be overridden if necessary.
8156 runpath_var=LD_RUN_PATH
8157 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8158 export_dynamic_flag_spec='${wl}--export-dynamic'
8159 # ancient GNU ld didn't support --whole-archive et. al.
8160 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8161 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8163 whole_archive_flag_spec=
8165 supports_anon_versioning=no
8166 case `$LD -v 2>/dev/null` in
8167 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8168 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8169 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8170 *\ 2.11.*) ;; # other 2.11 versions
8171 *) supports_anon_versioning=yes ;;
8174 # See if GNU ld supports shared libraries.
8176 aix3* | aix4* | aix5*)
8177 # On AIX/PPC, the GNU linker is very broken
8178 if test "$host_cpu" != ia64; then
8182 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8183 *** to be unable to reliably create shared libraries on AIX.
8184 *** Therefore, libtool is disabling shared libraries support. If you
8185 *** really care for shared libraries, you may want to modify your PATH
8186 *** so that a non-GNU linker is found, and then restart.
8193 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)'
8194 hardcode_libdir_flag_spec='-L$libdir'
8195 hardcode_minus_L=yes
8197 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8198 # that the semantics of dynamic libraries on AmigaOS, at least up
8199 # to version 4, is to share data among multiple programs linked
8200 # with the same dynamic library. Since this doesn't match the
8201 # behavior of shared libraries on other platforms, we can't use
8207 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8208 allow_undefined_flag=unsupported
8209 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8210 # support --undefined. This deserves some investigation. FIXME
8211 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8217 cygwin* | mingw* | pw32*)
8218 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8219 # as there is no search path for DLLs.
8220 hardcode_libdir_flag_spec='-L$libdir'
8221 allow_undefined_flag=unsupported
8222 always_export_symbols=no
8223 enable_shared_with_static_runtimes=yes
8224 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8226 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8227 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8228 # If the export-symbols file already is a .def file (1st line
8229 # is EXPORTS), use it as is; otherwise, prepend...
8230 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8231 cp $export_symbols $output_objdir/$soname.def;
8233 echo EXPORTS > $output_objdir/$soname.def;
8234 cat $export_symbols >> $output_objdir/$soname.def;
8236 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8244 hardcode_shlibpath_var=no
8245 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8246 export_dynamic_flag_spec='${wl}-E'
8247 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8248 # Instead, shared libraries are loaded at an image base (0x10000000 by
8249 # default) and relocated if they conflict, which is a slow very memory
8250 # consuming and fragmenting process. To avoid this, we pick a random,
8251 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8252 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8253 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8254 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'
8258 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8260 case $cc_basename,$host_cpu in
8261 pgcc*) # Portland Group C compiler
8262 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'
8263 tmp_addflag=' $pic_flag'
8265 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8266 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'
8267 tmp_addflag=' $pic_flag -Mnomain' ;;
8268 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8269 tmp_addflag=' -i_dynamic' ;;
8270 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8271 tmp_addflag=' -i_dynamic -nofor_main' ;;
8272 ifc* | ifort*) # Intel Fortran compiler
8273 tmp_addflag=' -nofor_main' ;;
8275 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8277 if test $supports_anon_versioning = yes; then
8278 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8279 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8280 $echo "local: *; };" >> $output_objdir/$libname.ver~
8281 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8289 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8290 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8293 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8294 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8299 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8303 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8304 *** create shared libraries on Solaris systems. Therefore, libtool
8305 *** is disabling shared libraries support. We urge you to upgrade GNU
8306 *** binutils to release 2.9.1 or newer. Another option is to modify
8307 *** your PATH or compiler configuration so that the native linker is
8308 *** used, and then restart.
8311 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8312 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8313 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8319 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8320 case `$LD -v 2>&1` in
8321 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8325 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8326 *** reliably create shared libraries on SCO systems. Therefore, libtool
8327 *** is disabling shared libraries support. We urge you to upgrade GNU
8328 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8329 *** your PATH or compiler configuration so that the native linker is
8330 *** used, and then restart.
8335 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8336 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8337 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8338 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8347 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8350 hardcode_shlibpath_var=no
8354 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8355 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8356 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8363 if test "$ld_shlibs" = no; then
8365 hardcode_libdir_flag_spec=
8366 export_dynamic_flag_spec=
8367 whole_archive_flag_spec=
8370 # PORTME fill in a description of your system's linker (not GNU ld)
8373 allow_undefined_flag=unsupported
8374 always_export_symbols=yes
8375 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'
8376 # Note: this linker hardcodes the directories in LIBPATH if there
8377 # are no directories specified by -L.
8378 hardcode_minus_L=yes
8379 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8380 # Neither direct hardcoding nor static linking is supported with a
8382 hardcode_direct=unsupported
8387 if test "$host_cpu" = ia64; then
8388 # On IA64, the linker does run time linking by default, so we don't
8389 # have to do anything special.
8390 aix_use_runtimelinking=no
8391 exp_sym_flag='-Bexport'
8394 # If we're using GNU nm, then we don't want the "-C" option.
8395 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8396 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8397 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'
8399 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'
8401 aix_use_runtimelinking=no
8403 # Test if we are trying to use run time linking or normal
8404 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8405 # need to do runtime linking.
8406 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8407 for ld_flag in $LDFLAGS; do
8408 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8409 aix_use_runtimelinking=yes
8416 exp_sym_flag='-bexport'
8417 no_entry_flag='-bnoentry'
8420 # When large executables or shared objects are built, AIX ld can
8421 # have problems creating the table of contents. If linking a library
8422 # or program results in "error TOC overflow" add -mminimal-toc to
8423 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8424 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8428 hardcode_libdir_separator=':'
8429 link_all_deplibs=yes
8431 if test "$GCC" = yes; then
8432 case $host_os in aix4.[012]|aix4.[012].*)
8433 # We only want to do this on AIX 4.2 and lower, the check
8434 # below for broken collect2 doesn't work under 4.3+
8435 collect2name=`${CC} -print-prog-name=collect2`
8436 if test -f "$collect2name" && \
8437 strings "$collect2name" | grep resolve_lib_name >/dev/null
8439 # We have reworked collect2
8442 # We have old collect2
8443 hardcode_direct=unsupported
8444 # It fails to find uninstalled libraries when the uninstalled
8445 # path is not listed in the libpath. Setting hardcode_minus_L
8446 # to unsupported forces relinking
8447 hardcode_minus_L=yes
8448 hardcode_libdir_flag_spec='-L$libdir'
8449 hardcode_libdir_separator=
8453 shared_flag='-shared'
8454 if test "$aix_use_runtimelinking" = yes; then
8455 shared_flag="$shared_flag "'${wl}-G'
8459 if test "$host_cpu" = ia64; then
8460 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8461 # chokes on -Wl,-G. The following line is correct:
8464 if test "$aix_use_runtimelinking" = yes; then
8465 shared_flag='${wl}-G'
8467 shared_flag='${wl}-bM:SRE'
8472 # It seems that -bexpall does not export symbols beginning with
8473 # underscore (_), so it is better to generate a list of symbols to export.
8474 always_export_symbols=yes
8475 if test "$aix_use_runtimelinking" = yes; then
8476 # Warning - without using the other runtime loading flags (-brtl),
8477 # -berok will link without error, but may produce a broken library.
8478 allow_undefined_flag='-berok'
8479 # Determine the default libpath from the value encoded in an empty executable.
8480 cat >conftest.$ac_ext <<_ACEOF
8483 cat confdefs.h >>conftest.$ac_ext
8484 cat >>conftest.$ac_ext <<_ACEOF
8485 /* end confdefs.h. */
8495 rm -f conftest.$ac_objext conftest$ac_exeext
8496 if { (ac_try="$ac_link"
8498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8499 *) ac_try_echo=$ac_try;;
8501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8502 (eval "$ac_link") 2>conftest.er1
8504 grep -v '^ *+' conftest.er1 >conftest.err
8506 cat conftest.err >&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); } && {
8509 test -z "$ac_c_werror_flag" ||
8510 test ! -s conftest.err
8511 } && test -s conftest$ac_exeext &&
8512 $as_test_x conftest$ac_exeext; then
8514 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8516 # Check for a 64-bit object if we didn't find anything.
8517 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8520 echo "$as_me: failed program was:" >&5
8521 sed 's/^/| /' conftest.$ac_ext >&5
8526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8527 conftest$ac_exeext conftest.$ac_ext
8528 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8530 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8531 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8533 if test "$host_cpu" = ia64; then
8534 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8535 allow_undefined_flag="-z nodefs"
8536 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"
8538 # Determine the default libpath from the value encoded in an empty executable.
8539 cat >conftest.$ac_ext <<_ACEOF
8542 cat confdefs.h >>conftest.$ac_ext
8543 cat >>conftest.$ac_ext <<_ACEOF
8544 /* end confdefs.h. */
8554 rm -f conftest.$ac_objext conftest$ac_exeext
8555 if { (ac_try="$ac_link"
8557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8558 *) ac_try_echo=$ac_try;;
8560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8561 (eval "$ac_link") 2>conftest.er1
8563 grep -v '^ *+' conftest.er1 >conftest.err
8565 cat conftest.err >&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } && {
8568 test -z "$ac_c_werror_flag" ||
8569 test ! -s conftest.err
8570 } && test -s conftest$ac_exeext &&
8571 $as_test_x conftest$ac_exeext; then
8573 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8575 # Check for a 64-bit object if we didn't find anything.
8576 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8579 echo "$as_me: failed program was:" >&5
8580 sed 's/^/| /' conftest.$ac_ext >&5
8585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8586 conftest$ac_exeext conftest.$ac_ext
8587 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8589 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8590 # Warning - without using the other run time loading flags,
8591 # -berok will link without error, but may produce a broken library.
8592 no_undefined_flag=' ${wl}-bernotok'
8593 allow_undefined_flag=' ${wl}-berok'
8594 # Exported symbols can be pulled into shared objects from archives
8595 whole_archive_flag_spec='$convenience'
8596 archive_cmds_need_lc=yes
8597 # This is similar to how AIX traditionally builds its shared libraries.
8598 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'
8604 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)'
8605 hardcode_libdir_flag_spec='-L$libdir'
8606 hardcode_minus_L=yes
8607 # see comment about different semantics on the GNU ld section
8612 export_dynamic_flag_spec=-rdynamic
8615 cygwin* | mingw* | pw32*)
8616 # When not using gcc, we currently assume that we are using
8617 # Microsoft Visual C++.
8618 # hardcode_libdir_flag_spec is actually meaningless, as there is
8619 # no search path for DLLs.
8620 hardcode_libdir_flag_spec=' '
8621 allow_undefined_flag=unsupported
8622 # Tell ltmain to make .lib files, not .a files.
8624 # Tell ltmain to make .dll files, not .so files.
8626 # FIXME: Setting linknames here is a bad hack.
8627 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8628 # The linker will automatically build a .lib file if we build a DLL.
8629 old_archive_From_new_cmds='true'
8630 # FIXME: Should let the user specify the lib program.
8631 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
8632 fix_srcfile_path='`cygpath -w "$srcfile"`'
8633 enable_shared_with_static_runtimes=yes
8636 darwin* | rhapsody*)
8638 rhapsody* | darwin1.[012])
8639 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8642 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8643 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8645 case ${MACOSX_DEPLOYMENT_TARGET} in
8647 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8650 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8656 archive_cmds_need_lc=no
8658 hardcode_automatic=yes
8659 hardcode_shlibpath_var=unsupported
8660 whole_archive_flag_spec=''
8661 link_all_deplibs=yes
8662 if test "$GCC" = yes ; then
8663 output_verbose_link_cmd='echo'
8664 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8665 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8666 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8667 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8668 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8670 case $cc_basename in
8672 output_verbose_link_cmd='echo'
8673 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8674 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8675 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8676 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8677 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8687 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8688 hardcode_libdir_flag_spec='-L$libdir'
8689 hardcode_shlibpath_var=no
8696 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8697 # support. Future versions do this automatically, but an explicit c++rt0.o
8698 # does not break anything, and helps significantly (at the cost of a little
8701 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8702 hardcode_libdir_flag_spec='-R$libdir'
8704 hardcode_shlibpath_var=no
8707 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8709 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8711 hardcode_minus_L=yes
8712 hardcode_shlibpath_var=no
8715 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8716 freebsd* | kfreebsd*-gnu | dragonfly*)
8717 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8718 hardcode_libdir_flag_spec='-R$libdir'
8720 hardcode_shlibpath_var=no
8724 if test "$GCC" = yes; then
8725 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'
8727 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'
8729 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8730 hardcode_libdir_separator=:
8733 # hardcode_minus_L: Not really in the search PATH,
8734 # but as the default location of the library.
8735 hardcode_minus_L=yes
8736 export_dynamic_flag_spec='${wl}-E'
8740 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8741 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8743 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8745 if test "$with_gnu_ld" = no; then
8746 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8747 hardcode_libdir_separator=:
8750 export_dynamic_flag_spec='${wl}-E'
8752 # hardcode_minus_L: Not really in the search PATH,
8753 # but as the default location of the library.
8754 hardcode_minus_L=yes
8759 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8762 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8765 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8768 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8774 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8777 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8780 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8784 if test "$with_gnu_ld" = no; then
8785 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8786 hardcode_libdir_separator=:
8790 hardcode_libdir_flag_spec_ld='+b $libdir'
8792 hardcode_shlibpath_var=no
8796 export_dynamic_flag_spec='${wl}-E'
8798 # hardcode_minus_L: Not really in the search PATH,
8799 # but as the default location of the library.
8800 hardcode_minus_L=yes
8806 irix5* | irix6* | nonstopux*)
8807 if test "$GCC" = yes; then
8808 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8810 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8811 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8813 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8814 hardcode_libdir_separator=:
8815 link_all_deplibs=yes
8819 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8820 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8822 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8824 hardcode_libdir_flag_spec='-R$libdir'
8826 hardcode_shlibpath_var=no
8830 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8832 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8833 hardcode_libdir_separator=:
8834 hardcode_shlibpath_var=no
8839 hardcode_shlibpath_var=no
8840 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8841 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8842 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8843 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8844 export_dynamic_flag_spec='${wl}-E'
8847 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8848 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8849 hardcode_libdir_flag_spec='-R$libdir'
8852 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8853 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8860 hardcode_libdir_flag_spec='-L$libdir'
8861 hardcode_minus_L=yes
8862 allow_undefined_flag=unsupported
8863 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'
8864 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8868 if test "$GCC" = yes; then
8869 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8870 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8872 allow_undefined_flag=' -expect_unresolved \*'
8873 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8875 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8876 hardcode_libdir_separator=:
8879 osf4* | osf5*) # as osf3* with the addition of -msym flag
8880 if test "$GCC" = yes; then
8881 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8882 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8883 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8885 allow_undefined_flag=' -expect_unresolved \*'
8886 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8887 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8888 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8890 # Both c and cxx compiler support -rpath directly
8891 hardcode_libdir_flag_spec='-rpath $libdir'
8893 hardcode_libdir_separator=:
8897 no_undefined_flag=' -z text'
8898 if test "$GCC" = yes; then
8900 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8901 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8902 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8905 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8906 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8907 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8909 hardcode_libdir_flag_spec='-R$libdir'
8910 hardcode_shlibpath_var=no
8912 solaris2.[0-5] | solaris2.[0-5].*) ;;
8914 # The compiler driver will combine linker options so we
8915 # cannot just pass the convience library names through
8916 # without $wl, iff we do not link with $LD.
8917 # Luckily, gcc supports the same syntax we need for Sun Studio.
8918 # Supported since Solaris 2.6 (maybe 2.5.1?)
8921 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8923 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8926 link_all_deplibs=yes
8930 if test "x$host_vendor" = xsequent; then
8931 # Use $CC to link under sequent, because it throws in some extra .o
8932 # files that make .init and .fini sections work.
8933 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8935 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8937 hardcode_libdir_flag_spec='-L$libdir'
8939 hardcode_minus_L=yes
8940 hardcode_shlibpath_var=no
8944 case $host_vendor in
8946 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8947 hardcode_direct=yes # is this really true???
8950 ## LD is ld it makes a PLAMLIB
8951 ## CC just makes a GrossModule.
8952 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8953 reload_cmds='$CC -r -o $output$reload_objs'
8957 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8958 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8961 runpath_var='LD_RUN_PATH'
8962 hardcode_shlibpath_var=no
8966 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8967 hardcode_shlibpath_var=no
8968 export_dynamic_flag_spec='-Bexport'
8972 if test -d /usr/nec; then
8973 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8974 hardcode_shlibpath_var=no
8975 runpath_var=LD_RUN_PATH
8976 hardcode_runpath_var=yes
8981 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
8982 no_undefined_flag='${wl}-z,text'
8983 archive_cmds_need_lc=no
8984 hardcode_shlibpath_var=no
8985 runpath_var='LD_RUN_PATH'
8987 if test "$GCC" = yes; then
8988 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8989 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8991 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8992 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8996 sysv5* | sco3.2v5* | sco5v6*)
8997 # Note: We can NOT use -z defs as we might desire, because we do not
8998 # link with -lc, and that would cause any symbols used from libc to
8999 # always be unresolved, which means just about no library would
9000 # ever link correctly. If we're not using GNU ld we use -z text
9001 # though, which does catch some bad symbols but isn't as heavy-handed
9003 no_undefined_flag='${wl}-z,text'
9004 allow_undefined_flag='${wl}-z,nodefs'
9005 archive_cmds_need_lc=no
9006 hardcode_shlibpath_var=no
9007 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9008 hardcode_libdir_separator=':'
9009 link_all_deplibs=yes
9010 export_dynamic_flag_spec='${wl}-Bexport'
9011 runpath_var='LD_RUN_PATH'
9013 if test "$GCC" = yes; then
9014 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9015 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9017 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9018 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9024 hardcode_libdir_flag_spec='-L$libdir'
9025 hardcode_shlibpath_var=no
9034 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9035 echo "${ECHO_T}$ld_shlibs" >&6; }
9036 test "$ld_shlibs" = no && can_build_shared=no
9039 # Do we need to explicitly link libc?
9041 case "x$archive_cmds_need_lc" in
9043 # Assume -lc should be added
9044 archive_cmds_need_lc=yes
9046 if test "$enable_shared" = yes && test "$GCC" = yes; then
9047 case $archive_cmds in
9049 # FIXME: we may have to deal with multi-command sequences.
9052 # Test whether the compiler implicitly links with -lc since on some
9053 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9054 # to ld, don't add -lc before -lgcc.
9055 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9056 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9058 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9061 (eval $ac_compile) 2>&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } 2>conftest.err; then
9067 libobjs=conftest.$ac_objext
9069 wl=$lt_prog_compiler_wl
9070 pic_flag=$lt_prog_compiler_pic
9076 lt_save_allow_undefined_flag=$allow_undefined_flag
9077 allow_undefined_flag=
9078 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9079 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); }
9084 archive_cmds_need_lc=no
9086 archive_cmds_need_lc=yes
9088 allow_undefined_flag=$lt_save_allow_undefined_flag
9090 cat conftest.err 1>&5
9093 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9094 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9101 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9102 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9104 libname_spec='lib$name'
9112 shlibpath_overrides_runpath=unknown
9114 dynamic_linker="$host_os ld.so"
9115 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9116 if test "$GCC" = yes; then
9117 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9118 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9119 # if the path contains ";" then we assume it to be the separator
9120 # otherwise default to the standard path separator (i.e. ":") - it is
9121 # assumed that no part of a normal pathname contains ";" but that should
9122 # okay in the real world where ";" in dirpaths is itself problematic.
9123 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9125 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9128 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9130 need_lib_prefix=unknown
9131 hardcode_into_libs=no
9133 # when you set need_version to no, make sure it does not cause -set_version
9134 # flags to be left without arguments
9135 need_version=unknown
9140 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9141 shlibpath_var=LIBPATH
9143 # AIX 3 has no versioning support, so we append a major version to the name.
9144 soname_spec='${libname}${release}${shared_ext}$major'
9151 hardcode_into_libs=yes
9152 if test "$host_cpu" = ia64; then
9153 # AIX 5 supports IA64
9154 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9155 shlibpath_var=LD_LIBRARY_PATH
9157 # With GCC up to 2.95.x, collect2 would create an import file
9158 # for dependence libraries. The import file would start with
9159 # the line `#! .'. This would cause the generated library to
9160 # depend on `.', always an invalid library. This was fixed in
9161 # development snapshots of GCC prior to 3.0.
9163 aix4 | aix4.[01] | aix4.[01].*)
9164 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9166 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9173 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9174 # soname into executable. Probably we can add versioning support to
9175 # collect2, so additional links can be useful in future.
9176 if test "$aix_use_runtimelinking" = yes; then
9177 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9178 # instead of lib<name>.a to let people know that these are not
9179 # typical AIX shared libraries.
9180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9182 # We preserve .a as extension for shared libraries through AIX4.2
9183 # and later when we are not doing run time linking.
9184 library_names_spec='${libname}${release}.a $libname.a'
9185 soname_spec='${libname}${release}${shared_ext}$major'
9187 shlibpath_var=LIBPATH
9192 library_names_spec='$libname.ixlibrary $libname.a'
9193 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9194 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'
9198 library_names_spec='${libname}${shared_ext}'
9199 dynamic_linker="$host_os ld.so"
9200 shlibpath_var=LIBRARY_PATH
9206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9207 soname_spec='${libname}${release}${shared_ext}$major'
9208 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9209 shlibpath_var=LD_LIBRARY_PATH
9210 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9211 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9212 # the default ld.so.conf also contains /usr/contrib/lib and
9213 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9214 # libtool to hard-code these into programs
9217 cygwin* | mingw* | pw32*)
9218 version_type=windows
9223 case $GCC,$host_os in
9224 yes,cygwin* | yes,mingw* | yes,pw32*)
9225 library_names_spec='$libname.dll.a'
9226 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9227 postinstall_cmds='base_file=`basename \${file}`~
9228 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9229 dldir=$destdir/`dirname \$dlpath`~
9230 test -d \$dldir || mkdir -p \$dldir~
9231 $install_prog $dir/$dlname \$dldir/$dlname~
9232 chmod a+x \$dldir/$dlname'
9233 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9234 dlpath=$dir/\$dldll~
9236 shlibpath_overrides_runpath=yes
9240 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9241 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9242 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9245 # MinGW DLLs use traditional 'lib' prefix
9246 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9247 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9248 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9249 # It is most probably a Windows format PATH printed by
9250 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9251 # path with ; separators, and with drive letters. We can handle the
9252 # drive letters (cygwin fileutils understands them), so leave them,
9253 # especially as we might pass files found there to a mingw objdump,
9254 # which wouldn't understand a cygwinified path. Ahh.
9255 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9257 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9261 # pw32 DLLs use 'pw' prefix rather than 'lib'
9262 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9268 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9271 dynamic_linker='Win32 ld.exe'
9272 # FIXME: first we should search . and the directory the executable is in
9276 darwin* | rhapsody*)
9277 dynamic_linker="$host_os dyld"
9281 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9282 soname_spec='${libname}${release}${major}$shared_ext'
9283 shlibpath_overrides_runpath=yes
9284 shlibpath_var=DYLD_LIBRARY_PATH
9285 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9286 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9287 if test "$GCC" = yes; then
9288 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9290 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9292 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9300 soname_spec='${libname}${release}${shared_ext}$major'
9301 shlibpath_var=LD_LIBRARY_PATH
9312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9313 soname_spec='${libname}${release}${shared_ext}$major'
9314 shlibpath_var=LD_LIBRARY_PATH
9315 shlibpath_overrides_runpath=no
9316 hardcode_into_libs=yes
9317 dynamic_linker='GNU ld.so'
9320 freebsd* | dragonfly*)
9321 # DragonFly does not have aout. When/if they implement a new
9322 # versioning mechanism, adjust this.
9323 if test -x /usr/bin/objformat; then
9324 objformat=`/usr/bin/objformat`
9327 freebsd[123]*) objformat=aout ;;
9331 version_type=freebsd-$objformat
9332 case $version_type in
9334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9339 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9343 shlibpath_var=LD_LIBRARY_PATH
9346 shlibpath_overrides_runpath=yes
9348 freebsd3.[01]* | freebsdelf3.[01]*)
9349 shlibpath_overrides_runpath=yes
9350 hardcode_into_libs=yes
9352 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9353 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9354 shlibpath_overrides_runpath=no
9355 hardcode_into_libs=yes
9357 freebsd*) # from 4.6 on
9358 shlibpath_overrides_runpath=yes
9359 hardcode_into_libs=yes
9368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9369 soname_spec='${libname}${release}${shared_ext}$major'
9370 shlibpath_var=LD_LIBRARY_PATH
9371 hardcode_into_libs=yes
9374 hpux9* | hpux10* | hpux11*)
9375 # Give a soname corresponding to the major version so that dld.sl refuses to
9376 # link against other versions.
9383 hardcode_into_libs=yes
9384 dynamic_linker="$host_os dld.so"
9385 shlibpath_var=LD_LIBRARY_PATH
9386 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9388 soname_spec='${libname}${release}${shared_ext}$major'
9389 if test "X$HPUX_IA64_MODE" = X32; then
9390 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9392 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9394 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9398 hardcode_into_libs=yes
9399 dynamic_linker="$host_os dld.sl"
9400 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9401 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9403 soname_spec='${libname}${release}${shared_ext}$major'
9404 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9405 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9409 dynamic_linker="$host_os dld.sl"
9410 shlibpath_var=SHLIB_PATH
9411 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9413 soname_spec='${libname}${release}${shared_ext}$major'
9416 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9417 postinstall_cmds='chmod 555 $lib'
9424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9425 soname_spec='${libname}${release}${shared_ext}$major'
9426 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9427 shlibpath_var=LD_LIBRARY_PATH
9428 shlibpath_overrides_runpath=no
9429 hardcode_into_libs=yes
9432 irix5* | irix6* | nonstopux*)
9434 nonstopux*) version_type=nonstopux ;;
9436 if test "$lt_cv_prog_gnu_ld" = yes; then
9444 soname_spec='${libname}${release}${shared_ext}$major'
9445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9447 irix5* | nonstopux*)
9451 case $LD in # libtool.m4 will add one of these switches to LD
9452 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9453 libsuff= shlibsuff= libmagic=32-bit;;
9454 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9455 libsuff=32 shlibsuff=N32 libmagic=N32;;
9456 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9457 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9458 *) libsuff= shlibsuff= libmagic=never-match;;
9462 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9463 shlibpath_overrides_runpath=no
9464 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9465 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9466 hardcode_into_libs=yes
9469 # No shared lib support for Linux oldld, aout, or coff.
9470 linux*oldld* | linux*aout* | linux*coff*)
9474 # This must be Linux ELF.
9479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9480 soname_spec='${libname}${release}${shared_ext}$major'
9481 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9482 shlibpath_var=LD_LIBRARY_PATH
9483 shlibpath_overrides_runpath=no
9484 # This implies no fast_install, which is unacceptable.
9485 # Some rework will be needed to allow for fast_install
9486 # before this can be enabled.
9487 hardcode_into_libs=yes
9489 # find out which ABI we are using
9492 x86_64*|s390x*|powerpc64*)
9493 echo '#line 9493 "configure"' > conftest.$ac_ext
9494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9495 (eval $ac_compile) 2>&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; then
9499 case `/usr/bin/file conftest.$ac_objext` in
9502 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9510 # Append ld.so.conf contents to the search path
9511 if test -f /etc/ld.so.conf; then
9512 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9513 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9516 # We used to test for /lib/ld.so.1 and disable shared libraries on
9517 # powerpc, because MkLinux only supported shared libraries with the
9518 # GNU dynamic linker. Since this was broken with cross compilers,
9519 # most powerpc-linux boxes support dynamic linking these days and
9520 # people can always --disable-shared, the test was removed, and we
9521 # assume the GNU/Linux dynamic linker is in use.
9522 dynamic_linker='GNU/Linux ld.so'
9529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9530 soname_spec='${libname}${release}${shared_ext}$major'
9531 shlibpath_var=LD_LIBRARY_PATH
9532 shlibpath_overrides_runpath=no
9533 hardcode_into_libs=yes
9534 dynamic_linker='GNU ld.so'
9541 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9543 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9544 dynamic_linker='NetBSD (a.out) ld.so'
9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9547 soname_spec='${libname}${release}${shared_ext}$major'
9548 dynamic_linker='NetBSD ld.elf_so'
9550 shlibpath_var=LD_LIBRARY_PATH
9551 shlibpath_overrides_runpath=yes
9552 hardcode_into_libs=yes
9557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9558 shlibpath_var=LD_LIBRARY_PATH
9559 shlibpath_overrides_runpath=yes
9566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9567 soname_spec='${libname}${release}${shared_ext}$major'
9568 shlibpath_var=LD_LIBRARY_PATH
9569 shlibpath_overrides_runpath=yes
9574 sys_lib_dlsearch_path_spec="/usr/lib"
9576 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9578 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9579 *) need_version=no ;;
9581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9583 shlibpath_var=LD_LIBRARY_PATH
9584 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9586 openbsd2.[89] | openbsd2.[89].*)
9587 shlibpath_overrides_runpath=no
9590 shlibpath_overrides_runpath=yes
9594 shlibpath_overrides_runpath=yes
9599 libname_spec='$name'
9602 library_names_spec='$libname${shared_ext} $libname.a'
9603 dynamic_linker='OS/2 ld.exe'
9604 shlibpath_var=LIBPATH
9607 osf3* | osf4* | osf5*)
9611 soname_spec='${libname}${release}${shared_ext}$major'
9612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9613 shlibpath_var=LD_LIBRARY_PATH
9614 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9615 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9623 soname_spec='${libname}${release}${shared_ext}$major'
9624 shlibpath_var=LD_LIBRARY_PATH
9625 shlibpath_overrides_runpath=yes
9626 hardcode_into_libs=yes
9627 # ldd complains unless libraries are executable
9628 postinstall_cmds='chmod +x $lib'
9633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9635 shlibpath_var=LD_LIBRARY_PATH
9636 shlibpath_overrides_runpath=yes
9637 if test "$with_gnu_ld" = yes; then
9645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9646 soname_spec='${libname}${release}${shared_ext}$major'
9647 shlibpath_var=LD_LIBRARY_PATH
9648 case $host_vendor in
9650 shlibpath_overrides_runpath=no
9652 export_dynamic_flag_spec='${wl}-Blargedynsym'
9653 runpath_var=LD_RUN_PATH
9661 shlibpath_overrides_runpath=no
9662 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9668 if test -d /usr/nec ;then
9670 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9671 soname_spec='$libname${shared_ext}.$major'
9672 shlibpath_var=LD_LIBRARY_PATH
9676 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9677 version_type=freebsd-elf
9680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9681 soname_spec='${libname}${release}${shared_ext}$major'
9682 shlibpath_var=LD_LIBRARY_PATH
9683 hardcode_into_libs=yes
9684 if test "$with_gnu_ld" = yes; then
9685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9686 shlibpath_overrides_runpath=no
9688 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9689 shlibpath_overrides_runpath=yes
9692 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9696 sys_lib_dlsearch_path_spec='/usr/lib'
9701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9702 soname_spec='${libname}${release}${shared_ext}$major'
9703 shlibpath_var=LD_LIBRARY_PATH
9710 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9711 echo "${ECHO_T}$dynamic_linker" >&6; }
9712 test "$dynamic_linker" = no && can_build_shared=no
9714 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9715 if test "$GCC" = yes; then
9716 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9719 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9720 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9722 if test -n "$hardcode_libdir_flag_spec" || \
9723 test -n "$runpath_var" || \
9724 test "X$hardcode_automatic" = "Xyes" ; then
9726 # We can hardcode non-existant directories.
9727 if test "$hardcode_direct" != no &&
9728 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9729 # have to relink, otherwise we might link with an installed library
9730 # when we should be linking with a yet-to-be-installed one
9731 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9732 test "$hardcode_minus_L" != no; then
9733 # Linking always hardcodes the temporary library directory.
9734 hardcode_action=relink
9736 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9737 hardcode_action=immediate
9740 # We cannot hardcode anything, or else we can only hardcode existing
9742 hardcode_action=unsupported
9744 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9745 echo "${ECHO_T}$hardcode_action" >&6; }
9747 if test "$hardcode_action" = relink; then
9748 # Fast installation is not supported
9749 enable_fast_install=no
9750 elif test "$shlibpath_overrides_runpath" = yes ||
9751 test "$enable_shared" = no; then
9752 # Fast installation is not necessary
9753 enable_fast_install=needless
9758 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9759 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9760 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9761 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9762 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9763 { echo "$as_me:$LINENO: result: yes" >&5
9764 echo "${ECHO_T}yes" >&6; }
9766 # FIXME - insert some real tests, host_os isn't really good enough
9769 if test -n "$STRIP" ; then
9770 striplib="$STRIP -x"
9771 { echo "$as_me:$LINENO: result: yes" >&5
9772 echo "${ECHO_T}yes" >&6; }
9774 { echo "$as_me:$LINENO: result: no" >&5
9775 echo "${ECHO_T}no" >&6; }
9779 { echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6; }
9785 if test "x$enable_dlopen" != xyes; then
9786 enable_dlopen=unknown
9787 enable_dlopen_self=unknown
9788 enable_dlopen_self_static=unknown
9795 lt_cv_dlopen="load_add_on"
9797 lt_cv_dlopen_self=yes
9801 lt_cv_dlopen="LoadLibrary"
9806 lt_cv_dlopen="dlopen"
9811 # if libdl is installed we need to link against it
9812 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9813 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9814 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 ac_check_lib_save_LIBS=$LIBS
9819 cat >conftest.$ac_ext <<_ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9826 /* Override any GCC internal prototype to avoid an error.
9827 Use char because int might match the return type of a GCC
9828 builtin and then its argument prototype would still apply. */
9841 rm -f conftest.$ac_objext conftest$ac_exeext
9842 if { (ac_try="$ac_link"
9844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9845 *) ac_try_echo=$ac_try;;
9847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9848 (eval "$ac_link") 2>conftest.er1
9850 grep -v '^ *+' conftest.er1 >conftest.err
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } && {
9855 test -z "$ac_c_werror_flag" ||
9856 test ! -s conftest.err
9857 } && test -s conftest$ac_exeext &&
9858 $as_test_x conftest$ac_exeext; then
9859 ac_cv_lib_dl_dlopen=yes
9861 echo "$as_me: failed program was:" >&5
9862 sed 's/^/| /' conftest.$ac_ext >&5
9864 ac_cv_lib_dl_dlopen=no
9867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9868 conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_lib_save_LIBS
9871 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9872 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9873 if test $ac_cv_lib_dl_dlopen = yes; then
9874 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9879 lt_cv_dlopen_self=yes
9886 { echo "$as_me:$LINENO: checking for shl_load" >&5
9887 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9888 if test "${ac_cv_func_shl_load+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9891 cat >conftest.$ac_ext <<_ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9897 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9899 #define shl_load innocuous_shl_load
9901 /* System header to define __stub macros and hopefully few prototypes,
9902 which can conflict with char shl_load (); below.
9903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9904 <limits.h> exists even on freestanding compilers. */
9907 # include <limits.h>
9909 # include <assert.h>
9914 /* Override any GCC internal prototype to avoid an error.
9915 Use char because int might match the return type of a GCC
9916 builtin and then its argument prototype would still apply. */
9921 /* The GNU C library defines this for functions which it implements
9922 to always fail with ENOSYS. Some functions are actually named
9923 something starting with __ and the normal name is an alias. */
9924 #if defined __stub_shl_load || defined __stub___shl_load
9936 rm -f conftest.$ac_objext conftest$ac_exeext
9937 if { (ac_try="$ac_link"
9939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9940 *) ac_try_echo=$ac_try;;
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_link") 2>conftest.er1
9945 grep -v '^ *+' conftest.er1 >conftest.err
9947 cat conftest.err >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && {
9950 test -z "$ac_c_werror_flag" ||
9951 test ! -s conftest.err
9952 } && test -s conftest$ac_exeext &&
9953 $as_test_x conftest$ac_exeext; then
9954 ac_cv_func_shl_load=yes
9956 echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9959 ac_cv_func_shl_load=no
9962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9963 conftest$ac_exeext conftest.$ac_ext
9965 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9966 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9967 if test $ac_cv_func_shl_load = yes; then
9968 lt_cv_dlopen="shl_load"
9970 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9971 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9972 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9973 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 ac_check_lib_save_LIBS=$LIBS
9977 cat >conftest.$ac_ext <<_ACEOF
9980 cat confdefs.h >>conftest.$ac_ext
9981 cat >>conftest.$ac_ext <<_ACEOF
9982 /* end confdefs.h. */
9984 /* Override any GCC internal prototype to avoid an error.
9985 Use char because int might match the return type of a GCC
9986 builtin and then its argument prototype would still apply. */
9999 rm -f conftest.$ac_objext conftest$ac_exeext
10000 if { (ac_try="$ac_link"
10001 case "(($ac_try" in
10002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10003 *) ac_try_echo=$ac_try;;
10005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10006 (eval "$ac_link") 2>conftest.er1
10008 grep -v '^ *+' conftest.er1 >conftest.err
10010 cat conftest.err >&5
10011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 (exit $ac_status); } && {
10013 test -z "$ac_c_werror_flag" ||
10014 test ! -s conftest.err
10015 } && test -s conftest$ac_exeext &&
10016 $as_test_x conftest$ac_exeext; then
10017 ac_cv_lib_dld_shl_load=yes
10019 echo "$as_me: failed program was:" >&5
10020 sed 's/^/| /' conftest.$ac_ext >&5
10022 ac_cv_lib_dld_shl_load=no
10025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10026 conftest$ac_exeext conftest.$ac_ext
10027 LIBS=$ac_check_lib_save_LIBS
10029 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10030 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10031 if test $ac_cv_lib_dld_shl_load = yes; then
10032 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10034 { echo "$as_me:$LINENO: checking for dlopen" >&5
10035 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10036 if test "${ac_cv_func_dlopen+set}" = set; then
10037 echo $ECHO_N "(cached) $ECHO_C" >&6
10039 cat >conftest.$ac_ext <<_ACEOF
10042 cat confdefs.h >>conftest.$ac_ext
10043 cat >>conftest.$ac_ext <<_ACEOF
10044 /* end confdefs.h. */
10045 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10047 #define dlopen innocuous_dlopen
10049 /* System header to define __stub macros and hopefully few prototypes,
10050 which can conflict with char dlopen (); below.
10051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10052 <limits.h> exists even on freestanding compilers. */
10055 # include <limits.h>
10057 # include <assert.h>
10062 /* Override any GCC internal prototype to avoid an error.
10063 Use char because int might match the return type of a GCC
10064 builtin and then its argument prototype would still apply. */
10069 /* The GNU C library defines this for functions which it implements
10070 to always fail with ENOSYS. Some functions are actually named
10071 something starting with __ and the normal name is an alias. */
10072 #if defined __stub_dlopen || defined __stub___dlopen
10084 rm -f conftest.$ac_objext conftest$ac_exeext
10085 if { (ac_try="$ac_link"
10086 case "(($ac_try" in
10087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10088 *) ac_try_echo=$ac_try;;
10090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10091 (eval "$ac_link") 2>conftest.er1
10093 grep -v '^ *+' conftest.er1 >conftest.err
10095 cat conftest.err >&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); } && {
10098 test -z "$ac_c_werror_flag" ||
10099 test ! -s conftest.err
10100 } && test -s conftest$ac_exeext &&
10101 $as_test_x conftest$ac_exeext; then
10102 ac_cv_func_dlopen=yes
10104 echo "$as_me: failed program was:" >&5
10105 sed 's/^/| /' conftest.$ac_ext >&5
10107 ac_cv_func_dlopen=no
10110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10111 conftest$ac_exeext conftest.$ac_ext
10113 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10114 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10115 if test $ac_cv_func_dlopen = yes; then
10116 lt_cv_dlopen="dlopen"
10118 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10119 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10120 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10121 echo $ECHO_N "(cached) $ECHO_C" >&6
10123 ac_check_lib_save_LIBS=$LIBS
10125 cat >conftest.$ac_ext <<_ACEOF
10128 cat confdefs.h >>conftest.$ac_ext
10129 cat >>conftest.$ac_ext <<_ACEOF
10130 /* end confdefs.h. */
10132 /* Override any GCC internal prototype to avoid an error.
10133 Use char because int might match the return type of a GCC
10134 builtin and then its argument prototype would still apply. */
10147 rm -f conftest.$ac_objext conftest$ac_exeext
10148 if { (ac_try="$ac_link"
10149 case "(($ac_try" in
10150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10151 *) ac_try_echo=$ac_try;;
10153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10154 (eval "$ac_link") 2>conftest.er1
10156 grep -v '^ *+' conftest.er1 >conftest.err
10158 cat conftest.err >&5
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); } && {
10161 test -z "$ac_c_werror_flag" ||
10162 test ! -s conftest.err
10163 } && test -s conftest$ac_exeext &&
10164 $as_test_x conftest$ac_exeext; then
10165 ac_cv_lib_dl_dlopen=yes
10167 echo "$as_me: failed program was:" >&5
10168 sed 's/^/| /' conftest.$ac_ext >&5
10170 ac_cv_lib_dl_dlopen=no
10173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10174 conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_lib_save_LIBS
10177 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10178 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10179 if test $ac_cv_lib_dl_dlopen = yes; then
10180 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10182 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10183 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10184 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10187 ac_check_lib_save_LIBS=$LIBS
10188 LIBS="-lsvld $LIBS"
10189 cat >conftest.$ac_ext <<_ACEOF
10192 cat confdefs.h >>conftest.$ac_ext
10193 cat >>conftest.$ac_ext <<_ACEOF
10194 /* end confdefs.h. */
10196 /* Override any GCC internal prototype to avoid an error.
10197 Use char because int might match the return type of a GCC
10198 builtin and then its argument prototype would still apply. */
10211 rm -f conftest.$ac_objext conftest$ac_exeext
10212 if { (ac_try="$ac_link"
10213 case "(($ac_try" in
10214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10215 *) ac_try_echo=$ac_try;;
10217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10218 (eval "$ac_link") 2>conftest.er1
10220 grep -v '^ *+' conftest.er1 >conftest.err
10222 cat conftest.err >&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } && {
10225 test -z "$ac_c_werror_flag" ||
10226 test ! -s conftest.err
10227 } && test -s conftest$ac_exeext &&
10228 $as_test_x conftest$ac_exeext; then
10229 ac_cv_lib_svld_dlopen=yes
10231 echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.$ac_ext >&5
10234 ac_cv_lib_svld_dlopen=no
10237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_lib_save_LIBS
10241 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10242 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10243 if test $ac_cv_lib_svld_dlopen = yes; then
10244 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10246 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10247 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10248 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10249 echo $ECHO_N "(cached) $ECHO_C" >&6
10251 ac_check_lib_save_LIBS=$LIBS
10253 cat >conftest.$ac_ext <<_ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10270 return dld_link ();
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (ac_try="$ac_link"
10277 case "(($ac_try" in
10278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10279 *) ac_try_echo=$ac_try;;
10281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10282 (eval "$ac_link") 2>conftest.er1
10284 grep -v '^ *+' conftest.er1 >conftest.err
10286 cat conftest.err >&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); } && {
10289 test -z "$ac_c_werror_flag" ||
10290 test ! -s conftest.err
10291 } && test -s conftest$ac_exeext &&
10292 $as_test_x conftest$ac_exeext; then
10293 ac_cv_lib_dld_dld_link=yes
10295 echo "$as_me: failed program was:" >&5
10296 sed 's/^/| /' conftest.$ac_ext >&5
10298 ac_cv_lib_dld_dld_link=no
10301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10302 conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_lib_save_LIBS
10305 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10306 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10307 if test $ac_cv_lib_dld_dld_link = yes; then
10308 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10329 if test "x$lt_cv_dlopen" != xno; then
10335 case $lt_cv_dlopen in
10337 save_CPPFLAGS="$CPPFLAGS"
10338 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10340 save_LDFLAGS="$LDFLAGS"
10341 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10344 LIBS="$lt_cv_dlopen_libs $LIBS"
10346 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10347 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10348 if test "${lt_cv_dlopen_self+set}" = set; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10351 if test "$cross_compiling" = yes; then :
10352 lt_cv_dlopen_self=cross
10354 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10355 lt_status=$lt_dlunknown
10356 cat > conftest.$ac_ext <<EOF
10357 #line 10357 "configure"
10358 #include "confdefs.h"
10367 # define LT_DLGLOBAL RTLD_GLOBAL
10370 # define LT_DLGLOBAL DL_GLOBAL
10372 # define LT_DLGLOBAL 0
10376 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10377 find out it does not work in some platform. */
10378 #ifndef LT_DLLAZY_OR_NOW
10380 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10383 # define LT_DLLAZY_OR_NOW DL_LAZY
10386 # define LT_DLLAZY_OR_NOW RTLD_NOW
10389 # define LT_DLLAZY_OR_NOW DL_NOW
10391 # define LT_DLLAZY_OR_NOW 0
10399 extern "C" void exit (int);
10402 void fnord() { int i=42;}
10405 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10406 int status = $lt_dlunknown;
10410 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10411 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10412 /* dlclose (self); */
10420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10421 (eval $ac_link) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10425 (./conftest; exit; ) >&5 2>/dev/null
10427 case x$lt_status in
10428 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10429 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10430 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10433 # compilation failed
10434 lt_cv_dlopen_self=no
10441 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10442 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10444 if test "x$lt_cv_dlopen_self" = xyes; then
10445 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10446 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10447 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10448 if test "${lt_cv_dlopen_self_static+set}" = set; then
10449 echo $ECHO_N "(cached) $ECHO_C" >&6
10451 if test "$cross_compiling" = yes; then :
10452 lt_cv_dlopen_self_static=cross
10454 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10455 lt_status=$lt_dlunknown
10456 cat > conftest.$ac_ext <<EOF
10457 #line 10457 "configure"
10458 #include "confdefs.h"
10467 # define LT_DLGLOBAL RTLD_GLOBAL
10470 # define LT_DLGLOBAL DL_GLOBAL
10472 # define LT_DLGLOBAL 0
10476 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10477 find out it does not work in some platform. */
10478 #ifndef LT_DLLAZY_OR_NOW
10480 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10483 # define LT_DLLAZY_OR_NOW DL_LAZY
10486 # define LT_DLLAZY_OR_NOW RTLD_NOW
10489 # define LT_DLLAZY_OR_NOW DL_NOW
10491 # define LT_DLLAZY_OR_NOW 0
10499 extern "C" void exit (int);
10502 void fnord() { int i=42;}
10505 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10506 int status = $lt_dlunknown;
10510 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10511 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10512 /* dlclose (self); */
10520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10521 (eval $ac_link) 2>&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10525 (./conftest; exit; ) >&5 2>/dev/null
10527 case x$lt_status in
10528 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10529 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10530 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10533 # compilation failed
10534 lt_cv_dlopen_self_static=no
10541 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10542 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10545 CPPFLAGS="$save_CPPFLAGS"
10546 LDFLAGS="$save_LDFLAGS"
10551 case $lt_cv_dlopen_self in
10552 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10553 *) enable_dlopen_self=unknown ;;
10556 case $lt_cv_dlopen_self_static in
10557 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10558 *) enable_dlopen_self_static=unknown ;;
10563 # Report which library types will actually be built
10564 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10565 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10566 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10567 echo "${ECHO_T}$can_build_shared" >&6; }
10569 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10570 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10571 test "$can_build_shared" = "no" && enable_shared=no
10573 # On AIX, shared libraries and static libraries use the same namespace, and
10574 # are all built from PIC.
10577 test "$enable_shared" = yes && enable_static=no
10578 if test -n "$RANLIB"; then
10579 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10580 postinstall_cmds='$RANLIB $lib'
10585 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10586 test "$enable_shared" = yes && enable_static=no
10590 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10591 echo "${ECHO_T}$enable_shared" >&6; }
10593 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10594 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10595 # Make sure either enable_shared or enable_static is yes.
10596 test "$enable_shared" = yes || enable_static=yes
10597 { echo "$as_me:$LINENO: result: $enable_static" >&5
10598 echo "${ECHO_T}$enable_static" >&6; }
10600 # The else clause should only fire when bootstrapping the
10601 # libtool distribution, otherwise you forgot to ship ltmain.sh
10602 # with your package, and you will get complaints that there are
10603 # no rules to generate ltmain.sh.
10604 if test -f "$ltmain"; then
10605 # See if we are running on zsh, and set the options which allow our commands through
10606 # without removal of \ escapes.
10607 if test -n "${ZSH_VERSION+set}" ; then
10608 setopt NO_GLOB_SUBST
10610 # Now quote all the things that may contain metacharacters while being
10611 # careful not to overquote the AC_SUBSTed values. We take copies of the
10612 # variables and quote the copies for generation of the libtool script.
10613 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10615 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10616 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10617 deplibs_check_method reload_flag reload_cmds need_locks \
10618 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10619 lt_cv_sys_global_symbol_to_c_name_address \
10620 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10621 old_postinstall_cmds old_postuninstall_cmds \
10625 lt_prog_compiler_wl \
10626 lt_prog_compiler_pic \
10627 lt_prog_compiler_static \
10628 lt_prog_compiler_no_builtin_flag \
10629 export_dynamic_flag_spec \
10630 thread_safe_flag_spec \
10631 whole_archive_flag_spec \
10632 enable_shared_with_static_runtimes \
10634 old_archive_from_new_cmds \
10639 compiler_lib_search_path \
10641 archive_expsym_cmds \
10643 postuninstall_cmds \
10644 old_archive_from_expsyms_cmds \
10645 allow_undefined_flag \
10646 no_undefined_flag \
10647 export_symbols_cmds \
10648 hardcode_libdir_flag_spec \
10649 hardcode_libdir_flag_spec_ld \
10650 hardcode_libdir_separator \
10651 hardcode_automatic \
10653 module_expsym_cmds \
10654 lt_cv_prog_compiler_c_o \
10656 include_expsyms; do
10659 old_archive_cmds | \
10660 old_archive_from_new_cmds | \
10662 archive_expsym_cmds | \
10664 module_expsym_cmds | \
10665 old_archive_from_expsyms_cmds | \
10666 export_symbols_cmds | \
10667 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10668 postinstall_cmds | postuninstall_cmds | \
10669 old_postinstall_cmds | old_postuninstall_cmds | \
10670 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10671 # Double-quote double-evaled strings.
10672 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10675 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10681 *'\$0 --fallback-echo"')
10682 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10686 cfgfile="${ofile}T"
10687 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10689 { echo "$as_me:$LINENO: creating $ofile" >&5
10690 echo "$as_me: creating $ofile" >&6;}
10692 cat <<__EOF__ >> "$cfgfile"
10695 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10696 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10697 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10699 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10700 # Free Software Foundation, Inc.
10702 # This file is part of GNU Libtool:
10703 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10705 # This program is free software; you can redistribute it and/or modify
10706 # it under the terms of the GNU General Public License as published by
10707 # the Free Software Foundation; either version 2 of the License, or
10708 # (at your option) any later version.
10710 # This program is distributed in the hope that it will be useful, but
10711 # WITHOUT ANY WARRANTY; without even the implied warranty of
10712 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10713 # General Public License for more details.
10715 # You should have received a copy of the GNU General Public License
10716 # along with this program; if not, write to the Free Software
10717 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10719 # As a special exception to the GNU General Public License, if you
10720 # distribute this file as part of a program that contains a
10721 # configuration script generated by Autoconf, you may include it under
10722 # the same distribution terms that you use for the rest of that program.
10724 # A sed program that does not truncate output.
10727 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10728 Xsed="$SED -e 1s/^X//"
10730 # The HP-UX ksh and POSIX shell print the target directory to stdout
10731 # if CDPATH is set.
10732 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10734 # The names of the tagged configurations supported by this script.
10737 # ### BEGIN LIBTOOL CONFIG
10739 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10741 # Shell to use when invoking shell scripts.
10744 # Whether or not to build shared libraries.
10745 build_libtool_libs=$enable_shared
10747 # Whether or not to build static libraries.
10748 build_old_libs=$enable_static
10750 # Whether or not to add -lc for building shared libraries.
10751 build_libtool_need_lc=$archive_cmds_need_lc
10753 # Whether or not to disallow shared libs when runtime libs are static
10754 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10756 # Whether or not to optimize for fast installation.
10757 fast_install=$enable_fast_install
10760 host_alias=$host_alias
10764 # The build system.
10765 build_alias=$build_alias
10769 # An echo program that does not interpret backslashes.
10774 AR_FLAGS=$lt_AR_FLAGS
10779 # LTCC compiler flags.
10780 LTCFLAGS=$lt_LTCFLAGS
10782 # A language-specific compiler.
10785 # Is the compiler the GNU C compiler?
10791 # The linker used to build libraries.
10794 # Whether we need hard or soft links.
10797 # A BSD-compatible nm program.
10800 # A symbol stripping program
10803 # Used to examine libraries when file_magic_cmd begins "file"
10804 MAGIC_CMD=$MAGIC_CMD
10806 # Used on cygwin: DLL creation program.
10809 # Used on cygwin: object dumper.
10812 # Used on cygwin: assembler.
10815 # The name of the directory that contains temporary libtool files.
10818 # How to create reloadable object files.
10819 reload_flag=$lt_reload_flag
10820 reload_cmds=$lt_reload_cmds
10822 # How to pass a linker flag through the compiler.
10823 wl=$lt_lt_prog_compiler_wl
10825 # Object file suffix (normally "o").
10826 objext="$ac_objext"
10828 # Old archive suffix (normally "a").
10831 # Shared library suffix (normally ".so").
10832 shrext_cmds='$shrext_cmds'
10834 # Executable file suffix (normally "").
10837 # Additional compiler flags for building library objects.
10838 pic_flag=$lt_lt_prog_compiler_pic
10841 # What is the maximum length of a command?
10842 max_cmd_len=$lt_cv_sys_max_cmd_len
10844 # Does compiler simultaneously support -c and -o options?
10845 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10847 # Must we lock files when doing compilation?
10848 need_locks=$lt_need_locks
10850 # Do we need the lib prefix for modules?
10851 need_lib_prefix=$need_lib_prefix
10853 # Do we need a version for libraries?
10854 need_version=$need_version
10856 # Whether dlopen is supported.
10857 dlopen_support=$enable_dlopen
10859 # Whether dlopen of programs is supported.
10860 dlopen_self=$enable_dlopen_self
10862 # Whether dlopen of statically linked programs is supported.
10863 dlopen_self_static=$enable_dlopen_self_static
10865 # Compiler flag to prevent dynamic linking.
10866 link_static_flag=$lt_lt_prog_compiler_static
10868 # Compiler flag to turn off builtin functions.
10869 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10871 # Compiler flag to allow reflexive dlopens.
10872 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10874 # Compiler flag to generate shared objects directly from archives.
10875 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10877 # Compiler flag to generate thread-safe objects.
10878 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10880 # Library versioning type.
10881 version_type=$version_type
10883 # Format of library name prefix.
10884 libname_spec=$lt_libname_spec
10886 # List of archive names. First name is the real one, the rest are links.
10887 # The last name is the one that the linker finds with -lNAME.
10888 library_names_spec=$lt_library_names_spec
10890 # The coded name of the library, if different from the real name.
10891 soname_spec=$lt_soname_spec
10893 # Commands used to build and install an old-style archive.
10895 old_archive_cmds=$lt_old_archive_cmds
10896 old_postinstall_cmds=$lt_old_postinstall_cmds
10897 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10899 # Create an old-style archive from a shared archive.
10900 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10902 # Create a temporary old-style archive to link instead of a shared archive.
10903 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10905 # Commands used to build and install a shared archive.
10906 archive_cmds=$lt_archive_cmds
10907 archive_expsym_cmds=$lt_archive_expsym_cmds
10908 postinstall_cmds=$lt_postinstall_cmds
10909 postuninstall_cmds=$lt_postuninstall_cmds
10911 # Commands used to build a loadable module (assumed same as above if empty)
10912 module_cmds=$lt_module_cmds
10913 module_expsym_cmds=$lt_module_expsym_cmds
10915 # Commands to strip libraries.
10916 old_striplib=$lt_old_striplib
10917 striplib=$lt_striplib
10919 # Dependencies to place before the objects being linked to create a
10921 predep_objects=$lt_predep_objects
10923 # Dependencies to place after the objects being linked to create a
10925 postdep_objects=$lt_postdep_objects
10927 # Dependencies to place before the objects being linked to create a
10929 predeps=$lt_predeps
10931 # Dependencies to place after the objects being linked to create a
10933 postdeps=$lt_postdeps
10935 # The library search path used internally by the compiler when linking
10936 # a shared library.
10937 compiler_lib_search_path=$lt_compiler_lib_search_path
10939 # Method to check whether dependent libraries are shared objects.
10940 deplibs_check_method=$lt_deplibs_check_method
10942 # Command to use when deplibs_check_method == file_magic.
10943 file_magic_cmd=$lt_file_magic_cmd
10945 # Flag that allows shared libraries with undefined symbols to be built.
10946 allow_undefined_flag=$lt_allow_undefined_flag
10948 # Flag that forces no undefined symbols.
10949 no_undefined_flag=$lt_no_undefined_flag
10951 # Commands used to finish a libtool library installation in a directory.
10952 finish_cmds=$lt_finish_cmds
10954 # Same as above, but a single script fragment to be evaled but not shown.
10955 finish_eval=$lt_finish_eval
10957 # Take the output of nm and produce a listing of raw symbols and C names.
10958 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10960 # Transform the output of nm in a proper C declaration
10961 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10963 # Transform the output of nm in a C name address pair
10964 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10966 # This is the shared library runtime path variable.
10967 runpath_var=$runpath_var
10969 # This is the shared library path variable.
10970 shlibpath_var=$shlibpath_var
10972 # Is shlibpath searched before the hard-coded library search path?
10973 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10975 # How to hardcode a shared library path into an executable.
10976 hardcode_action=$hardcode_action
10978 # Whether we should hardcode library paths into libraries.
10979 hardcode_into_libs=$hardcode_into_libs
10981 # Flag to hardcode \$libdir into a binary during linking.
10982 # This must work even if \$libdir does not exist.
10983 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10985 # If ld is used when linking, flag to hardcode \$libdir into
10986 # a binary during linking. This must work even if \$libdir does
10988 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10990 # Whether we need a single -rpath flag with a separated argument.
10991 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10993 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10994 # resulting binary.
10995 hardcode_direct=$hardcode_direct
10997 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10998 # resulting binary.
10999 hardcode_minus_L=$hardcode_minus_L
11001 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11002 # the resulting binary.
11003 hardcode_shlibpath_var=$hardcode_shlibpath_var
11005 # Set to yes if building a shared library automatically hardcodes DIR into the library
11006 # and all subsequent libraries and executables linked against it.
11007 hardcode_automatic=$hardcode_automatic
11009 # Variables whose values should be saved in libtool wrapper scripts and
11010 # restored at relink time.
11011 variables_saved_for_relink="$variables_saved_for_relink"
11013 # Whether libtool must link a program against all its dependency libraries.
11014 link_all_deplibs=$link_all_deplibs
11016 # Compile-time system search path for libraries
11017 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11019 # Run-time system search path for libraries
11020 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11022 # Fix the shell variable \$srcfile for the compiler.
11023 fix_srcfile_path="$fix_srcfile_path"
11025 # Set to yes if exported symbols are required.
11026 always_export_symbols=$always_export_symbols
11028 # The commands to list exported symbols.
11029 export_symbols_cmds=$lt_export_symbols_cmds
11031 # The commands to extract the exported symbol list from a shared archive.
11032 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11034 # Symbols that should not be listed in the preloaded symbols.
11035 exclude_expsyms=$lt_exclude_expsyms
11037 # Symbols that must always be exported.
11038 include_expsyms=$lt_include_expsyms
11040 # ### END LIBTOOL CONFIG
11047 cat <<\EOF >> "$cfgfile"
11049 # AIX sometimes has problems with the GCC collect2 program. For some
11050 # reason, if we set the COLLECT_NAMES environment variable, the problems
11051 # vanish in a puff of smoke.
11052 if test "X${COLLECT_NAMES+set}" != Xset; then
11054 export COLLECT_NAMES
11060 # We use sed instead of cat because bash on DJGPP gets confused if
11061 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11062 # text mode, it properly converts lines to CR/LF. This bash problem
11063 # is reportedly fixed, but why not run on old versions too?
11064 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11066 mv -f "$cfgfile" "$ofile" || \
11067 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11071 # If there is no Makefile yet, we rely on a make rule to execute
11072 # `config.status --recheck' to rerun these tests and create the
11073 # libtool script then.
11074 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11075 if test -f "$ltmain_in"; then
11076 test -f Makefile && make "$ltmain"
11082 ac_cpp='$CPP $CPPFLAGS'
11083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11090 # Check whether --with-tags was given.
11091 if test "${with_tags+set}" = set; then
11092 withval=$with_tags; tagnames="$withval"
11096 if test -f "$ltmain" && test -n "$tagnames"; then
11097 if test ! -f "${ofile}"; then
11098 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11099 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11102 if test -z "$LTCC"; then
11103 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11104 if test -z "$LTCC"; then
11105 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11106 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11108 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11109 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11112 if test -z "$LTCFLAGS"; then
11113 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11116 # Extract list of available tagged configurations in $ofile.
11117 # Note that this assumes the entire list is on one line.
11118 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11120 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11121 for tagname in $tagnames; do
11123 # Check whether tagname contains only valid characters
11124 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11126 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11127 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11128 { (exit 1); exit 1; }; }
11132 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11134 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11135 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11136 { (exit 1); exit 1; }; }
11139 # Update the list of available tags.
11140 if test -n "$tagname"; then
11141 echo appending configuration tag \"$tagname\" to $ofile
11145 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11146 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11147 (test "X$CXX" != "Xg++"))) ; then
11149 ac_cpp='$CXXCPP $CPPFLAGS'
11150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11157 archive_cmds_need_lc_CXX=no
11158 allow_undefined_flag_CXX=
11159 always_export_symbols_CXX=no
11160 archive_expsym_cmds_CXX=
11161 export_dynamic_flag_spec_CXX=
11162 hardcode_direct_CXX=no
11163 hardcode_libdir_flag_spec_CXX=
11164 hardcode_libdir_flag_spec_ld_CXX=
11165 hardcode_libdir_separator_CXX=
11166 hardcode_minus_L_CXX=no
11167 hardcode_shlibpath_var_CXX=unsupported
11168 hardcode_automatic_CXX=no
11170 module_expsym_cmds_CXX=
11171 link_all_deplibs_CXX=unknown
11172 old_archive_cmds_CXX=$old_archive_cmds
11173 no_undefined_flag_CXX=
11174 whole_archive_flag_spec_CXX=
11175 enable_shared_with_static_runtimes_CXX=no
11177 # Dependencies to place before and after the object being linked:
11178 predep_objects_CXX=
11179 postdep_objects_CXX=
11182 compiler_lib_search_path_CXX=
11184 # Source file extension for C++ test sources.
11187 # Object file extension for compiled C++ test sources.
11191 # Code to be used in simple compile tests
11192 lt_simple_compile_test_code="int some_variable = 0;\n"
11194 # Code to be used in simple link tests
11195 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11197 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11199 # If no C compiler was specified, use CC.
11202 # If no C compiler flags were specified, use CFLAGS.
11203 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11205 # Allow CC to be a program name with arguments.
11209 # save warnings/boilerplate of simple test code
11210 ac_outfile=conftest.$ac_objext
11211 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11212 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11213 _lt_compiler_boilerplate=`cat conftest.err`
11216 ac_outfile=conftest.$ac_objext
11217 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11218 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11219 _lt_linker_boilerplate=`cat conftest.err`
11223 # Allow CC to be a program name with arguments.
11228 lt_save_with_gnu_ld=$with_gnu_ld
11229 lt_save_path_LD=$lt_cv_path_LD
11230 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11231 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11233 $as_unset lt_cv_prog_gnu_ld
11235 if test -n "${lt_cv_path_LDCXX+set}"; then
11236 lt_cv_path_LD=$lt_cv_path_LDCXX
11238 $as_unset lt_cv_path_LD
11240 test -z "${LDCXX+set}" || LD=$LDCXX
11244 for cc_temp in $compiler""; do
11246 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11247 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11252 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11255 # We don't want -fno-exception wen compiling C++ code, so set the
11256 # no_builtin_flag separately
11257 if test "$GXX" = yes; then
11258 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11260 lt_prog_compiler_no_builtin_flag_CXX=
11263 if test "$GXX" = yes; then
11264 # Set up default GNU C++ configuration
11267 # Check whether --with-gnu-ld was given.
11268 if test "${with_gnu_ld+set}" = set; then
11269 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11275 if test "$GCC" = yes; then
11276 # Check if gcc -print-prog-name=ld gives a path.
11277 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11278 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11281 # gcc leaves a trailing carriage return which upsets mingw
11282 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11284 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11287 # Accept absolute paths.
11289 re_direlt='/[^/][^/]*/\.\./'
11290 # Canonicalize the pathname of ld
11291 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11292 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11293 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11295 test -z "$LD" && LD="$ac_prog"
11298 # If it fails, then pretend we aren't using GCC.
11302 # If it is relative, then search for the first ld in PATH.
11303 with_gnu_ld=unknown
11306 elif test "$with_gnu_ld" = yes; then
11307 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11308 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11310 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11311 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11313 if test "${lt_cv_path_LD+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11316 if test -z "$LD"; then
11317 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11318 for ac_dir in $PATH; do
11320 test -z "$ac_dir" && ac_dir=.
11321 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11322 lt_cv_path_LD="$ac_dir/$ac_prog"
11323 # Check to see if the program is GNU ld. I'd rather use --version,
11324 # but apparently some variants of GNU ld only accept -v.
11325 # Break only if it was the GNU/non-GNU ld that we prefer.
11326 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11327 *GNU* | *'with BFD'*)
11328 test "$with_gnu_ld" != no && break
11331 test "$with_gnu_ld" != yes && break
11338 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11342 LD="$lt_cv_path_LD"
11343 if test -n "$LD"; then
11344 { echo "$as_me:$LINENO: result: $LD" >&5
11345 echo "${ECHO_T}$LD" >&6; }
11347 { echo "$as_me:$LINENO: result: no" >&5
11348 echo "${ECHO_T}no" >&6; }
11350 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11351 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11352 { (exit 1); exit 1; }; }
11353 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11354 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11355 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11356 echo $ECHO_N "(cached) $ECHO_C" >&6
11358 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11359 case `$LD -v 2>&1 </dev/null` in
11360 *GNU* | *'with BFD'*)
11361 lt_cv_prog_gnu_ld=yes
11364 lt_cv_prog_gnu_ld=no
11368 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11369 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11370 with_gnu_ld=$lt_cv_prog_gnu_ld
11374 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11375 # archiving commands below assume that GNU ld is being used.
11376 if test "$with_gnu_ld" = yes; then
11377 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11378 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11380 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11381 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11383 # If archive_cmds runs LD, not CC, wlarc should be empty
11384 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11385 # investigate it a little bit more. (MM)
11388 # ancient GNU ld didn't support --whole-archive et. al.
11389 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11390 grep 'no-whole-archive' > /dev/null; then
11391 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11393 whole_archive_flag_spec_CXX=
11399 # A generic and very simple default shared library creation
11400 # command for GNU C++ for the case where it uses the native
11401 # linker, instead of GNU ld. If possible, this setting should
11402 # overridden to take advantage of the native linker features on
11403 # the platform it is being used on.
11404 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11407 # Commands to make compiler produce verbose output that lists
11408 # what "hidden" libraries, object files and flags are used when
11409 # linking a shared library.
11410 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11418 # PORTME: fill in a description of your system's C++ link characteristics
11419 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11420 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11424 # FIXME: insert proper C++ library support
11428 if test "$host_cpu" = ia64; then
11429 # On IA64, the linker does run time linking by default, so we don't
11430 # have to do anything special.
11431 aix_use_runtimelinking=no
11432 exp_sym_flag='-Bexport'
11435 aix_use_runtimelinking=no
11437 # Test if we are trying to use run time linking or normal
11438 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11439 # need to do runtime linking.
11440 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11441 for ld_flag in $LDFLAGS; do
11444 aix_use_runtimelinking=yes
11452 exp_sym_flag='-bexport'
11453 no_entry_flag='-bnoentry'
11456 # When large executables or shared objects are built, AIX ld can
11457 # have problems creating the table of contents. If linking a library
11458 # or program results in "error TOC overflow" add -mminimal-toc to
11459 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11460 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11462 archive_cmds_CXX=''
11463 hardcode_direct_CXX=yes
11464 hardcode_libdir_separator_CXX=':'
11465 link_all_deplibs_CXX=yes
11467 if test "$GXX" = yes; then
11468 case $host_os in aix4.[012]|aix4.[012].*)
11469 # We only want to do this on AIX 4.2 and lower, the check
11470 # below for broken collect2 doesn't work under 4.3+
11471 collect2name=`${CC} -print-prog-name=collect2`
11472 if test -f "$collect2name" && \
11473 strings "$collect2name" | grep resolve_lib_name >/dev/null
11475 # We have reworked collect2
11476 hardcode_direct_CXX=yes
11478 # We have old collect2
11479 hardcode_direct_CXX=unsupported
11480 # It fails to find uninstalled libraries when the uninstalled
11481 # path is not listed in the libpath. Setting hardcode_minus_L
11482 # to unsupported forces relinking
11483 hardcode_minus_L_CXX=yes
11484 hardcode_libdir_flag_spec_CXX='-L$libdir'
11485 hardcode_libdir_separator_CXX=
11489 shared_flag='-shared'
11490 if test "$aix_use_runtimelinking" = yes; then
11491 shared_flag="$shared_flag "'${wl}-G'
11495 if test "$host_cpu" = ia64; then
11496 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11497 # chokes on -Wl,-G. The following line is correct:
11500 if test "$aix_use_runtimelinking" = yes; then
11501 shared_flag='${wl}-G'
11503 shared_flag='${wl}-bM:SRE'
11508 # It seems that -bexpall does not export symbols beginning with
11509 # underscore (_), so it is better to generate a list of symbols to export.
11510 always_export_symbols_CXX=yes
11511 if test "$aix_use_runtimelinking" = yes; then
11512 # Warning - without using the other runtime loading flags (-brtl),
11513 # -berok will link without error, but may produce a broken library.
11514 allow_undefined_flag_CXX='-berok'
11515 # Determine the default libpath from the value encoded in an empty executable.
11516 cat >conftest.$ac_ext <<_ACEOF
11519 cat confdefs.h >>conftest.$ac_ext
11520 cat >>conftest.$ac_ext <<_ACEOF
11521 /* end confdefs.h. */
11531 rm -f conftest.$ac_objext conftest$ac_exeext
11532 if { (ac_try="$ac_link"
11533 case "(($ac_try" in
11534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11535 *) ac_try_echo=$ac_try;;
11537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11538 (eval "$ac_link") 2>conftest.er1
11540 grep -v '^ *+' conftest.er1 >conftest.err
11542 cat conftest.err >&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } && {
11545 test -z "$ac_cxx_werror_flag" ||
11546 test ! -s conftest.err
11547 } && test -s conftest$ac_exeext &&
11548 $as_test_x conftest$ac_exeext; then
11550 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11552 # Check for a 64-bit object if we didn't find anything.
11553 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11563 conftest$ac_exeext conftest.$ac_ext
11564 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11566 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11568 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11570 if test "$host_cpu" = ia64; then
11571 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11572 allow_undefined_flag_CXX="-z nodefs"
11573 archive_expsym_cmds_CXX="\$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"
11575 # Determine the default libpath from the value encoded in an empty executable.
11576 cat >conftest.$ac_ext <<_ACEOF
11579 cat confdefs.h >>conftest.$ac_ext
11580 cat >>conftest.$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11591 rm -f conftest.$ac_objext conftest$ac_exeext
11592 if { (ac_try="$ac_link"
11593 case "(($ac_try" in
11594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11595 *) ac_try_echo=$ac_try;;
11597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11598 (eval "$ac_link") 2>conftest.er1
11600 grep -v '^ *+' conftest.er1 >conftest.err
11602 cat conftest.err >&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); } && {
11605 test -z "$ac_cxx_werror_flag" ||
11606 test ! -s conftest.err
11607 } && test -s conftest$ac_exeext &&
11608 $as_test_x conftest$ac_exeext; then
11610 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11612 # Check for a 64-bit object if we didn't find anything.
11613 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11616 echo "$as_me: failed program was:" >&5
11617 sed 's/^/| /' conftest.$ac_ext >&5
11622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11623 conftest$ac_exeext conftest.$ac_ext
11624 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11626 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11627 # Warning - without using the other run time loading flags,
11628 # -berok will link without error, but may produce a broken library.
11629 no_undefined_flag_CXX=' ${wl}-bernotok'
11630 allow_undefined_flag_CXX=' ${wl}-berok'
11631 # Exported symbols can be pulled into shared objects from archives
11632 whole_archive_flag_spec_CXX='$convenience'
11633 archive_cmds_need_lc_CXX=yes
11634 # This is similar to how AIX traditionally builds its shared libraries.
11635 archive_expsym_cmds_CXX="\$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'
11641 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11642 allow_undefined_flag_CXX=unsupported
11643 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11644 # support --undefined. This deserves some investigation. FIXME
11645 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11652 case $cc_basename in
11654 # FIXME: insert proper C++ library support
11660 cygwin* | mingw* | pw32*)
11661 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11662 # as there is no search path for DLLs.
11663 hardcode_libdir_flag_spec_CXX='-L$libdir'
11664 allow_undefined_flag_CXX=unsupported
11665 always_export_symbols_CXX=no
11666 enable_shared_with_static_runtimes_CXX=yes
11668 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11669 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11670 # If the export-symbols file already is a .def file (1st line
11671 # is EXPORTS), use it as is; otherwise, prepend...
11672 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11673 cp $export_symbols $output_objdir/$soname.def;
11675 echo EXPORTS > $output_objdir/$soname.def;
11676 cat $export_symbols >> $output_objdir/$soname.def;
11678 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11683 darwin* | rhapsody*)
11685 rhapsody* | darwin1.[012])
11686 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11689 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11690 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11692 case ${MACOSX_DEPLOYMENT_TARGET} in
11694 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11697 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11703 archive_cmds_need_lc_CXX=no
11704 hardcode_direct_CXX=no
11705 hardcode_automatic_CXX=yes
11706 hardcode_shlibpath_var_CXX=unsupported
11707 whole_archive_flag_spec_CXX=''
11708 link_all_deplibs_CXX=yes
11710 if test "$GXX" = yes ; then
11711 lt_int_apple_cc_single_mod=no
11712 output_verbose_link_cmd='echo'
11713 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11714 lt_int_apple_cc_single_mod=yes
11716 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11717 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11719 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11721 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11722 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11723 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11724 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11726 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11728 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11730 case $cc_basename in
11732 output_verbose_link_cmd='echo'
11733 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11734 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11735 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11736 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11737 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11747 case $cc_basename in
11749 # FIXME: insert proper C++ library support
11753 # Green Hills C++ Compiler
11754 # FIXME: insert proper C++ library support
11758 # FIXME: insert proper C++ library support
11764 # C++ shared libraries reported to be fairly broken before switch to ELF
11768 archive_cmds_need_lc_CXX=no
11770 freebsd* | kfreebsd*-gnu | dragonfly*)
11771 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11778 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11779 hardcode_libdir_separator_CXX=:
11780 export_dynamic_flag_spec_CXX='${wl}-E'
11781 hardcode_direct_CXX=yes
11782 hardcode_minus_L_CXX=yes # Not in the search PATH,
11783 # but as the default
11784 # location of the library.
11786 case $cc_basename in
11788 # FIXME: insert proper C++ library support
11792 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11793 # Commands to make compiler produce verbose output that lists
11794 # what "hidden" libraries, object files and flags are used when
11795 # linking a shared library.
11797 # There doesn't appear to be a way to prevent this compiler from
11798 # explicitly linking system object files so we need to strip them
11799 # from the output so that they don't get included in the library
11801 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11804 if test "$GXX" = yes; then
11805 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11807 # FIXME: insert proper C++ library support
11814 if test $with_gnu_ld = no; then
11815 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11816 hardcode_libdir_separator_CXX=:
11820 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11823 export_dynamic_flag_spec_CXX='${wl}-E'
11829 hardcode_direct_CXX=no
11830 hardcode_shlibpath_var_CXX=no
11833 hardcode_direct_CXX=yes
11834 hardcode_minus_L_CXX=yes # Not in the search PATH,
11835 # but as the default
11836 # location of the library.
11840 case $cc_basename in
11842 # FIXME: insert proper C++ library support
11848 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11851 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11854 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11857 # Commands to make compiler produce verbose output that lists
11858 # what "hidden" libraries, object files and flags are used when
11859 # linking a shared library.
11861 # There doesn't appear to be a way to prevent this compiler from
11862 # explicitly linking system object files so we need to strip them
11863 # from the output so that they don't get included in the library
11865 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11868 if test "$GXX" = yes; then
11869 if test $with_gnu_ld = no; then
11872 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11875 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11878 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11883 # FIXME: insert proper C++ library support
11890 hardcode_direct_CXX=no
11891 hardcode_shlibpath_var_CXX=no
11892 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11893 export_dynamic_flag_spec_CXX='${wl}-E'
11894 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11895 # Instead, shared libraries are loaded at an image base (0x10000000 by
11896 # default) and relocated if they conflict, which is a slow very memory
11897 # consuming and fragmenting process. To avoid this, we pick a random,
11898 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11899 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11900 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11901 archive_expsym_cmds_CXX='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'
11904 case $cc_basename in
11907 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11909 # Archives containing C++ object files must be created using
11910 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11911 # necessary to make sure instantiated templates are included
11913 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11916 if test "$GXX" = yes; then
11917 if test "$with_gnu_ld" = no; then
11918 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11920 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11923 link_all_deplibs_CXX=yes
11926 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11927 hardcode_libdir_separator_CXX=:
11930 case $cc_basename in
11932 # Kuck and Associates, Inc. (KAI) C++ Compiler
11934 # KCC will only create a shared library if the output file
11935 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11936 # to its proper name (with version) after linking.
11937 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11938 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11939 # Commands to make compiler produce verbose output that lists
11940 # what "hidden" libraries, object files and flags are used when
11941 # linking a shared library.
11943 # There doesn't appear to be a way to prevent this compiler from
11944 # explicitly linking system object files so we need to strip them
11945 # from the output so that they don't get included in the library
11947 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11949 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11950 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11952 # Archives containing C++ object files must be created using
11953 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11954 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11959 # version 8.0 and above of icpc choke on multiply defined symbols
11960 # if we add $predep_objects and $postdep_objects, however 7.1 and
11961 # earlier do not add the objects themselves.
11962 case `$CC -V 2>&1` in
11964 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11965 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11967 *) # Version 8.0 or newer
11970 ia64*) tmp_idyn=' -i_dynamic';;
11972 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11973 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11976 archive_cmds_need_lc_CXX=no
11977 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11978 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11979 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11982 # Portland Group C++ compiler
11983 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11984 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11986 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11987 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11988 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11992 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11993 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11995 runpath_var=LD_RUN_PATH
11996 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11997 hardcode_libdir_separator_CXX=:
11999 # Commands to make compiler produce verbose output that lists
12000 # what "hidden" libraries, object files and flags are used when
12001 # linking a shared library.
12003 # There doesn't appear to be a way to prevent this compiler from
12004 # explicitly linking system object files so we need to strip them
12005 # from the output so that they don't get included in the library
12007 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12012 # FIXME: insert proper C++ library support
12016 # FIXME: insert proper C++ library support
12020 case $cc_basename in
12022 # FIXME: insert proper C++ library support
12026 # FIXME: insert proper C++ library support
12032 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12033 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12035 hardcode_libdir_flag_spec_CXX='-R$libdir'
12036 hardcode_direct_CXX=yes
12037 hardcode_shlibpath_var_CXX=no
12039 # Workaround some broken pre-1.5 toolchains
12040 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12043 # C++ shared libraries are fairly broken
12047 hardcode_direct_CXX=yes
12048 hardcode_shlibpath_var_CXX=no
12049 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12050 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12051 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12052 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12053 export_dynamic_flag_spec_CXX='${wl}-E'
12054 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12056 output_verbose_link_cmd='echo'
12059 case $cc_basename in
12061 # Kuck and Associates, Inc. (KAI) C++ Compiler
12063 # KCC will only create a shared library if the output file
12064 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12065 # to its proper name (with version) after linking.
12066 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12068 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12069 hardcode_libdir_separator_CXX=:
12071 # Archives containing C++ object files must be created using
12072 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12073 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12077 # Rational C++ 2.4.1
12078 # FIXME: insert proper C++ library support
12082 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12083 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12085 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12086 hardcode_libdir_separator_CXX=:
12088 # Commands to make compiler produce verbose output that lists
12089 # what "hidden" libraries, object files and flags are used when
12090 # linking a shared library.
12092 # There doesn't appear to be a way to prevent this compiler from
12093 # explicitly linking system object files so we need to strip them
12094 # from the output so that they don't get included in the library
12096 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12099 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12100 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12101 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12103 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12104 hardcode_libdir_separator_CXX=:
12106 # Commands to make compiler produce verbose output that lists
12107 # what "hidden" libraries, object files and flags are used when
12108 # linking a shared library.
12109 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12112 # FIXME: insert proper C++ library support
12119 case $cc_basename in
12121 # Kuck and Associates, Inc. (KAI) C++ Compiler
12123 # KCC will only create a shared library if the output file
12124 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12125 # to its proper name (with version) after linking.
12126 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12128 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12129 hardcode_libdir_separator_CXX=:
12131 # Archives containing C++ object files must be created using
12132 # the KAI C++ compiler.
12133 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12136 # Rational C++ 2.4.1
12137 # FIXME: insert proper C++ library support
12141 allow_undefined_flag_CXX=' -expect_unresolved \*'
12142 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12143 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12144 echo "-hidden">> $lib.exp~
12145 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12148 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12149 hardcode_libdir_separator_CXX=:
12151 # Commands to make compiler produce verbose output that lists
12152 # what "hidden" libraries, object files and flags are used when
12153 # linking a shared library.
12155 # There doesn't appear to be a way to prevent this compiler from
12156 # explicitly linking system object files so we need to strip them
12157 # from the output so that they don't get included in the library
12159 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12162 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12163 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12164 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12166 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12167 hardcode_libdir_separator_CXX=:
12169 # Commands to make compiler produce verbose output that lists
12170 # what "hidden" libraries, object files and flags are used when
12171 # linking a shared library.
12172 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12175 # FIXME: insert proper C++ library support
12182 # FIXME: insert proper C++ library support
12186 case $cc_basename in
12189 # FIXME: insert proper C++ library support
12194 # FIXME: insert proper C++ library support
12198 # FIXME: insert proper C++ library support
12204 case $cc_basename in
12206 # Sun C++ 4.2, 5.x and Centerline C++
12207 archive_cmds_need_lc_CXX=yes
12208 no_undefined_flag_CXX=' -zdefs'
12209 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12210 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12211 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12213 hardcode_libdir_flag_spec_CXX='-R$libdir'
12214 hardcode_shlibpath_var_CXX=no
12216 solaris2.[0-5] | solaris2.[0-5].*) ;;
12218 # The C++ compiler is used as linker so we must use $wl
12219 # flag to pass the commands to the underlying system
12220 # linker. We must also pass each convience library through
12221 # to the system linker between allextract/defaultextract.
12222 # The C++ compiler will combine linker options so we
12223 # cannot just pass the convience library names through
12225 # Supported since Solaris 2.6 (maybe 2.5.1?)
12226 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
12229 link_all_deplibs_CXX=yes
12231 output_verbose_link_cmd='echo'
12233 # Archives containing C++ object files must be created using
12234 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12235 # necessary to make sure instantiated templates are included
12237 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12240 # Green Hills C++ Compiler
12241 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12243 # The C++ compiler must be used to create the archive.
12244 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12247 # GNU C++ compiler with Solaris linker
12248 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12249 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12250 if $CC --version | grep -v '^2\.7' > /dev/null; then
12251 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12252 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12253 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12255 # Commands to make compiler produce verbose output that lists
12256 # what "hidden" libraries, object files and flags are used when
12257 # linking a shared library.
12258 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12260 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12262 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12263 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12264 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12266 # Commands to make compiler produce verbose output that lists
12267 # what "hidden" libraries, object files and flags are used when
12268 # linking a shared library.
12269 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12272 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12277 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12278 no_undefined_flag_CXX='${wl}-z,text'
12279 archive_cmds_need_lc_CXX=no
12280 hardcode_shlibpath_var_CXX=no
12281 runpath_var='LD_RUN_PATH'
12283 case $cc_basename in
12285 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12286 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12289 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12290 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12294 sysv5* | sco3.2v5* | sco5v6*)
12295 # Note: We can NOT use -z defs as we might desire, because we do not
12296 # link with -lc, and that would cause any symbols used from libc to
12297 # always be unresolved, which means just about no library would
12298 # ever link correctly. If we're not using GNU ld we use -z text
12299 # though, which does catch some bad symbols but isn't as heavy-handed
12301 # For security reasons, it is highly recommended that you always
12302 # use absolute paths for naming shared libraries, and exclude the
12303 # DT_RUNPATH tag from executables and libraries. But doing so
12304 # requires that you compile everything twice, which is a pain.
12305 # So that behaviour is only enabled if SCOABSPATH is set to a
12306 # non-empty value in the environment. Most likely only useful for
12307 # creating official distributions of packages.
12308 # This is a hack until libtool officially supports absolute path
12309 # names for shared libraries.
12310 no_undefined_flag_CXX='${wl}-z,text'
12311 allow_undefined_flag_CXX='${wl}-z,nodefs'
12312 archive_cmds_need_lc_CXX=no
12313 hardcode_shlibpath_var_CXX=no
12314 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12315 hardcode_libdir_separator_CXX=':'
12316 link_all_deplibs_CXX=yes
12317 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12318 runpath_var='LD_RUN_PATH'
12320 case $cc_basename in
12322 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12323 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12326 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12327 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12332 case $cc_basename in
12334 # NonStop-UX NCC 3.20
12335 # FIXME: insert proper C++ library support
12339 # FIXME: insert proper C++ library support
12345 # FIXME: insert proper C++ library support
12349 # FIXME: insert proper C++ library support
12353 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12354 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12355 test "$ld_shlibs_CXX" = no && can_build_shared=no
12361 cat > conftest.$ac_ext <<EOF
12365 Foo (void) { a = 0; }
12371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12372 (eval $ac_compile) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; then
12376 # Parse the compiler output and extract the necessary
12377 # objects, libraries and library flags.
12379 # Sentinel used to keep track of whether or not we are before
12380 # the conftest object file.
12381 pre_test_object_deps_done=no
12383 # The `*' in the case matches for architectures that use `case' in
12384 # $output_verbose_cmd can trigger glob expansion during the loop
12385 # eval without this substitution.
12386 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12388 for p in `eval $output_verbose_link_cmd`; do
12392 # Some compilers place space between "-{L,R}" and the path.
12393 # Remove the space.
12394 if test $p = "-L" \
12395 || test $p = "-R"; then
12402 if test "$pre_test_object_deps_done" = no; then
12405 # Internal compiler library paths should come after those
12406 # provided the user. The postdeps already come after the
12407 # user supplied libs so there is no need to process them.
12408 if test -z "$compiler_lib_search_path_CXX"; then
12409 compiler_lib_search_path_CXX="${prev}${p}"
12411 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12414 # The "-l" case would never come before the object being
12415 # linked, so don't bother handling this case.
12418 if test -z "$postdeps_CXX"; then
12419 postdeps_CXX="${prev}${p}"
12421 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12427 # This assumes that the test object file only shows up
12428 # once in the compiler output.
12429 if test "$p" = "conftest.$objext"; then
12430 pre_test_object_deps_done=yes
12434 if test "$pre_test_object_deps_done" = no; then
12435 if test -z "$predep_objects_CXX"; then
12436 predep_objects_CXX="$p"
12438 predep_objects_CXX="$predep_objects_CXX $p"
12441 if test -z "$postdep_objects_CXX"; then
12442 postdep_objects_CXX="$p"
12444 postdep_objects_CXX="$postdep_objects_CXX $p"
12449 *) ;; # Ignore the rest.
12457 echo "libtool.m4: error: problem compiling CXX test program"
12460 $rm -f confest.$objext
12462 # PORTME: override above test on systems where it is broken
12465 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12466 # hack all around it, let's just trust "g++" to DTRT.
12467 predep_objects_CXX=
12468 postdep_objects_CXX=
12473 case $cc_basename in
12475 # Adding this requires a known-good setup of shared libraries for
12476 # Sun compiler versions before 5.6, else PIC objects from an old
12477 # archive will be linked into the output, leading to subtle bugs.
12478 postdeps_CXX='-lCstd -lCrun'
12485 case " $postdeps_CXX " in
12486 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12489 lt_prog_compiler_wl_CXX=
12490 lt_prog_compiler_pic_CXX=
12491 lt_prog_compiler_static_CXX=
12493 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12494 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12496 # C++ specific cases for pic, static, wl, etc.
12497 if test "$GXX" = yes; then
12498 lt_prog_compiler_wl_CXX='-Wl,'
12499 lt_prog_compiler_static_CXX='-static'
12503 # All AIX code is PIC.
12504 if test "$host_cpu" = ia64; then
12505 # AIX 5 now supports IA64 processor
12506 lt_prog_compiler_static_CXX='-Bstatic'
12510 # FIXME: we need at least 68020 code to build shared libraries, but
12511 # adding the `-m68020' flag to GCC prevents building anything better,
12513 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12515 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12516 # PIC is the default for these OSes.
12518 mingw* | os2* | pw32*)
12519 # This hack is so that the source file can tell whether it is being
12520 # built for inclusion in a dll (and should export symbols for example).
12521 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12523 darwin* | rhapsody*)
12524 # PIC is the default on this platform
12525 # Common symbols not allowed in MH_DYLIB files
12526 lt_prog_compiler_pic_CXX='-fno-common'
12529 # DJGPP does not support shared libraries at all
12530 lt_prog_compiler_pic_CXX=
12533 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12534 # Instead, we relocate shared libraries at runtime.
12537 if test -d /usr/nec; then
12538 lt_prog_compiler_pic_CXX=-Kconform_pic
12542 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12543 # not for PA HP-UX.
12548 lt_prog_compiler_pic_CXX='-fPIC'
12553 lt_prog_compiler_pic_CXX='-fPIC'
12559 # All AIX code is PIC.
12560 if test "$host_cpu" = ia64; then
12561 # AIX 5 now supports IA64 processor
12562 lt_prog_compiler_static_CXX='-Bstatic'
12564 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12568 case $cc_basename in
12570 # Green Hills C++ Compiler
12571 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12576 # PIC is the default on this platform
12577 # Common symbols not allowed in MH_DYLIB files
12578 case $cc_basename in
12580 lt_prog_compiler_pic_CXX='-qnocommon'
12581 lt_prog_compiler_wl_CXX='-Wl,'
12586 case $cc_basename in
12588 lt_prog_compiler_pic_CXX='-KPIC'
12591 # Green Hills C++ Compiler
12592 lt_prog_compiler_pic_CXX='-pic'
12598 freebsd* | kfreebsd*-gnu | dragonfly*)
12599 # FreeBSD uses GNU C++
12601 hpux9* | hpux10* | hpux11*)
12602 case $cc_basename in
12604 lt_prog_compiler_wl_CXX='-Wl,'
12605 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12606 if test "$host_cpu" != ia64; then
12607 lt_prog_compiler_pic_CXX='+Z'
12611 lt_prog_compiler_wl_CXX='-Wl,'
12612 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12618 lt_prog_compiler_pic_CXX='+Z'
12627 # This is c89, which is MS Visual C++ (no shared libs)
12628 # Anyone wants to do a port?
12630 irix5* | irix6* | nonstopux*)
12631 case $cc_basename in
12633 lt_prog_compiler_wl_CXX='-Wl,'
12634 lt_prog_compiler_static_CXX='-non_shared'
12635 # CC pic flag -KPIC is the default.
12642 case $cc_basename in
12645 lt_prog_compiler_wl_CXX='--backend -Wl,'
12646 lt_prog_compiler_pic_CXX='-fPIC'
12650 lt_prog_compiler_wl_CXX='-Wl,'
12651 lt_prog_compiler_pic_CXX='-KPIC'
12652 lt_prog_compiler_static_CXX='-static'
12655 # Portland Group C++ compiler.
12656 lt_prog_compiler_wl_CXX='-Wl,'
12657 lt_prog_compiler_pic_CXX='-fpic'
12658 lt_prog_compiler_static_CXX='-Bstatic'
12662 # Make sure the PIC flag is empty. It appears that all Alpha
12663 # Linux and Compaq Tru64 Unix objects are PIC.
12664 lt_prog_compiler_pic_CXX=
12665 lt_prog_compiler_static_CXX='-non_shared'
12676 case $cc_basename in
12678 lt_prog_compiler_pic_CXX='-W c,exportall'
12686 osf3* | osf4* | osf5*)
12687 case $cc_basename in
12689 lt_prog_compiler_wl_CXX='--backend -Wl,'
12692 # Rational C++ 2.4.1
12693 lt_prog_compiler_pic_CXX='-pic'
12696 # Digital/Compaq C++
12697 lt_prog_compiler_wl_CXX='-Wl,'
12698 # Make sure the PIC flag is empty. It appears that all Alpha
12699 # Linux and Compaq Tru64 Unix objects are PIC.
12700 lt_prog_compiler_pic_CXX=
12701 lt_prog_compiler_static_CXX='-non_shared'
12710 case $cc_basename in
12712 # Sun C++ 4.2, 5.x and Centerline C++
12713 lt_prog_compiler_pic_CXX='-KPIC'
12714 lt_prog_compiler_static_CXX='-Bstatic'
12715 lt_prog_compiler_wl_CXX='-Qoption ld '
12718 # Green Hills C++ Compiler
12719 lt_prog_compiler_pic_CXX='-PIC'
12726 case $cc_basename in
12729 lt_prog_compiler_pic_CXX='-pic'
12730 lt_prog_compiler_static_CXX='-Bstatic'
12734 lt_prog_compiler_pic_CXX='-pic'
12741 case $cc_basename in
12743 # NonStop-UX NCC 3.20
12744 lt_prog_compiler_pic_CXX='-KPIC'
12750 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12751 case $cc_basename in
12753 lt_prog_compiler_wl_CXX='-Wl,'
12754 lt_prog_compiler_pic_CXX='-KPIC'
12755 lt_prog_compiler_static_CXX='-Bstatic'
12762 lt_prog_compiler_can_build_shared_CXX=no
12767 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12768 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12771 # Check to make sure the PIC flag actually works.
12773 if test -n "$lt_prog_compiler_pic_CXX"; then
12775 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12776 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12777 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 lt_prog_compiler_pic_works_CXX=no
12781 ac_outfile=conftest.$ac_objext
12782 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12783 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12784 # Insert the option either (1) after the last *FLAGS variable, or
12785 # (2) before a word containing "conftest.", or (3) at the end.
12786 # Note that $ac_compile itself does not contain backslashes and begins
12787 # with a dollar sign (not a hyphen), so the echo should work correctly.
12788 # The option is referenced via a variable to avoid confusing sed.
12789 lt_compile=`echo "$ac_compile" | $SED \
12790 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12791 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12792 -e 's:$: $lt_compiler_flag:'`
12793 (eval echo "\"\$as_me:12793: $lt_compile\"" >&5)
12794 (eval "$lt_compile" 2>conftest.err)
12796 cat conftest.err >&5
12797 echo "$as_me:12797: \$? = $ac_status" >&5
12798 if (exit $ac_status) && test -s "$ac_outfile"; then
12799 # The compiler can only warn and ignore the option if not recognized
12800 # So say no if there are warnings other than the usual output.
12801 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12802 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12803 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12804 lt_prog_compiler_pic_works_CXX=yes
12810 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12811 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12813 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12814 case $lt_prog_compiler_pic_CXX in
12816 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12819 lt_prog_compiler_pic_CXX=
12820 lt_prog_compiler_can_build_shared_CXX=no
12825 # For platforms which do not support PIC, -DPIC is meaningless:
12827 lt_prog_compiler_pic_CXX=
12830 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12835 # Check to make sure the static flag actually works.
12837 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12838 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12839 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12840 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 lt_prog_compiler_static_works_CXX=no
12844 save_LDFLAGS="$LDFLAGS"
12845 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12846 printf "$lt_simple_link_test_code" > conftest.$ac_ext
12847 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12848 # The linker can only warn and ignore the option if not recognized
12849 # So say no if there are warnings
12850 if test -s conftest.err; then
12851 # Append any errors to the config.log.
12852 cat conftest.err 1>&5
12853 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12854 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12855 if diff conftest.exp conftest.er2 >/dev/null; then
12856 lt_prog_compiler_static_works_CXX=yes
12859 lt_prog_compiler_static_works_CXX=yes
12863 LDFLAGS="$save_LDFLAGS"
12866 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12867 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12869 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12872 lt_prog_compiler_static_CXX=
12876 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12877 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12878 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12879 echo $ECHO_N "(cached) $ECHO_C" >&6
12881 lt_cv_prog_compiler_c_o_CXX=no
12882 $rm -r conftest 2>/dev/null
12886 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12888 lt_compiler_flag="-o out/conftest2.$ac_objext"
12889 # Insert the option either (1) after the last *FLAGS variable, or
12890 # (2) before a word containing "conftest.", or (3) at the end.
12891 # Note that $ac_compile itself does not contain backslashes and begins
12892 # with a dollar sign (not a hyphen), so the echo should work correctly.
12893 lt_compile=`echo "$ac_compile" | $SED \
12894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12896 -e 's:$: $lt_compiler_flag:'`
12897 (eval echo "\"\$as_me:12897: $lt_compile\"" >&5)
12898 (eval "$lt_compile" 2>out/conftest.err)
12900 cat out/conftest.err >&5
12901 echo "$as_me:12901: \$? = $ac_status" >&5
12902 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12904 # The compiler can only warn and ignore the option if not recognized
12905 # So say no if there are warnings
12906 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12907 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12908 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12909 lt_cv_prog_compiler_c_o_CXX=yes
12914 # SGI C++ compiler will create directory out/ii_files/ for
12915 # template instantiation
12916 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12917 $rm out/* && rmdir out
12923 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12924 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12927 hard_links="nottested"
12928 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12929 # do not overwrite the value of need_locks provided by the user
12930 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12931 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12934 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12936 ln conftest.a conftest.b 2>&5 || hard_links=no
12937 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12938 { echo "$as_me:$LINENO: result: $hard_links" >&5
12939 echo "${ECHO_T}$hard_links" >&6; }
12940 if test "$hard_links" = no; then
12941 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12942 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12949 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12950 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12952 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12955 # If we're using GNU nm, then we don't want the "-C" option.
12956 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12957 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12958 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12960 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12964 export_symbols_cmds_CXX="$ltdll_cmds"
12967 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12974 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12975 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12976 test "$ld_shlibs_CXX" = no && can_build_shared=no
12979 # Do we need to explicitly link libc?
12981 case "x$archive_cmds_need_lc_CXX" in
12983 # Assume -lc should be added
12984 archive_cmds_need_lc_CXX=yes
12986 if test "$enable_shared" = yes && test "$GCC" = yes; then
12987 case $archive_cmds_CXX in
12989 # FIXME: we may have to deal with multi-command sequences.
12992 # Test whether the compiler implicitly links with -lc since on some
12993 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12994 # to ld, don't add -lc before -lgcc.
12995 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12996 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12998 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13001 (eval $ac_compile) 2>&5
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } 2>conftest.err; then
13007 libobjs=conftest.$ac_objext
13009 wl=$lt_prog_compiler_wl_CXX
13010 pic_flag=$lt_prog_compiler_pic_CXX
13016 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13017 allow_undefined_flag_CXX=
13018 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13019 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }
13024 archive_cmds_need_lc_CXX=no
13026 archive_cmds_need_lc_CXX=yes
13028 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13030 cat conftest.err 1>&5
13033 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13034 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13041 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13042 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13043 library_names_spec=
13044 libname_spec='lib$name'
13048 postuninstall_cmds=
13052 shlibpath_overrides_runpath=unknown
13054 dynamic_linker="$host_os ld.so"
13055 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13056 if test "$GCC" = yes; then
13057 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13058 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13059 # if the path contains ";" then we assume it to be the separator
13060 # otherwise default to the standard path separator (i.e. ":") - it is
13061 # assumed that no part of a normal pathname contains ";" but that should
13062 # okay in the real world where ";" in dirpaths is itself problematic.
13063 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13065 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13068 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13070 need_lib_prefix=unknown
13071 hardcode_into_libs=no
13073 # when you set need_version to no, make sure it does not cause -set_version
13074 # flags to be left without arguments
13075 need_version=unknown
13080 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13081 shlibpath_var=LIBPATH
13083 # AIX 3 has no versioning support, so we append a major version to the name.
13084 soname_spec='${libname}${release}${shared_ext}$major'
13091 hardcode_into_libs=yes
13092 if test "$host_cpu" = ia64; then
13093 # AIX 5 supports IA64
13094 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13095 shlibpath_var=LD_LIBRARY_PATH
13097 # With GCC up to 2.95.x, collect2 would create an import file
13098 # for dependence libraries. The import file would start with
13099 # the line `#! .'. This would cause the generated library to
13100 # depend on `.', always an invalid library. This was fixed in
13101 # development snapshots of GCC prior to 3.0.
13103 aix4 | aix4.[01] | aix4.[01].*)
13104 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13106 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13109 can_build_shared=no
13113 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13114 # soname into executable. Probably we can add versioning support to
13115 # collect2, so additional links can be useful in future.
13116 if test "$aix_use_runtimelinking" = yes; then
13117 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13118 # instead of lib<name>.a to let people know that these are not
13119 # typical AIX shared libraries.
13120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13122 # We preserve .a as extension for shared libraries through AIX4.2
13123 # and later when we are not doing run time linking.
13124 library_names_spec='${libname}${release}.a $libname.a'
13125 soname_spec='${libname}${release}${shared_ext}$major'
13127 shlibpath_var=LIBPATH
13132 library_names_spec='$libname.ixlibrary $libname.a'
13133 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13134 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'
13138 library_names_spec='${libname}${shared_ext}'
13139 dynamic_linker="$host_os ld.so"
13140 shlibpath_var=LIBRARY_PATH
13146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13147 soname_spec='${libname}${release}${shared_ext}$major'
13148 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13149 shlibpath_var=LD_LIBRARY_PATH
13150 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13151 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13152 # the default ld.so.conf also contains /usr/contrib/lib and
13153 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13154 # libtool to hard-code these into programs
13157 cygwin* | mingw* | pw32*)
13158 version_type=windows
13163 case $GCC,$host_os in
13164 yes,cygwin* | yes,mingw* | yes,pw32*)
13165 library_names_spec='$libname.dll.a'
13166 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13167 postinstall_cmds='base_file=`basename \${file}`~
13168 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13169 dldir=$destdir/`dirname \$dlpath`~
13170 test -d \$dldir || mkdir -p \$dldir~
13171 $install_prog $dir/$dlname \$dldir/$dlname~
13172 chmod a+x \$dldir/$dlname'
13173 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13174 dlpath=$dir/\$dldll~
13176 shlibpath_overrides_runpath=yes
13180 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13181 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13182 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13185 # MinGW DLLs use traditional 'lib' prefix
13186 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13187 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13188 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13189 # It is most probably a Windows format PATH printed by
13190 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13191 # path with ; separators, and with drive letters. We can handle the
13192 # drive letters (cygwin fileutils understands them), so leave them,
13193 # especially as we might pass files found there to a mingw objdump,
13194 # which wouldn't understand a cygwinified path. Ahh.
13195 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13197 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13201 # pw32 DLLs use 'pw' prefix rather than 'lib'
13202 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13208 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13211 dynamic_linker='Win32 ld.exe'
13212 # FIXME: first we should search . and the directory the executable is in
13216 darwin* | rhapsody*)
13217 dynamic_linker="$host_os dyld"
13218 version_type=darwin
13221 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13222 soname_spec='${libname}${release}${major}$shared_ext'
13223 shlibpath_overrides_runpath=yes
13224 shlibpath_var=DYLD_LIBRARY_PATH
13225 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13226 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13227 if test "$GCC" = yes; then
13228 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13230 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13232 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13240 soname_spec='${libname}${release}${shared_ext}$major'
13241 shlibpath_var=LD_LIBRARY_PATH
13252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13253 soname_spec='${libname}${release}${shared_ext}$major'
13254 shlibpath_var=LD_LIBRARY_PATH
13255 shlibpath_overrides_runpath=no
13256 hardcode_into_libs=yes
13257 dynamic_linker='GNU ld.so'
13260 freebsd* | dragonfly*)
13261 # DragonFly does not have aout. When/if they implement a new
13262 # versioning mechanism, adjust this.
13263 if test -x /usr/bin/objformat; then
13264 objformat=`/usr/bin/objformat`
13267 freebsd[123]*) objformat=aout ;;
13268 *) objformat=elf ;;
13271 version_type=freebsd-$objformat
13272 case $version_type in
13274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13279 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13283 shlibpath_var=LD_LIBRARY_PATH
13286 shlibpath_overrides_runpath=yes
13288 freebsd3.[01]* | freebsdelf3.[01]*)
13289 shlibpath_overrides_runpath=yes
13290 hardcode_into_libs=yes
13292 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13293 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13294 shlibpath_overrides_runpath=no
13295 hardcode_into_libs=yes
13297 freebsd*) # from 4.6 on
13298 shlibpath_overrides_runpath=yes
13299 hardcode_into_libs=yes
13308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13309 soname_spec='${libname}${release}${shared_ext}$major'
13310 shlibpath_var=LD_LIBRARY_PATH
13311 hardcode_into_libs=yes
13314 hpux9* | hpux10* | hpux11*)
13315 # Give a soname corresponding to the major version so that dld.sl refuses to
13316 # link against other versions.
13323 hardcode_into_libs=yes
13324 dynamic_linker="$host_os dld.so"
13325 shlibpath_var=LD_LIBRARY_PATH
13326 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13328 soname_spec='${libname}${release}${shared_ext}$major'
13329 if test "X$HPUX_IA64_MODE" = X32; then
13330 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13332 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13334 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13338 hardcode_into_libs=yes
13339 dynamic_linker="$host_os dld.sl"
13340 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13341 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13343 soname_spec='${libname}${release}${shared_ext}$major'
13344 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13345 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13349 dynamic_linker="$host_os dld.sl"
13350 shlibpath_var=SHLIB_PATH
13351 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13353 soname_spec='${libname}${release}${shared_ext}$major'
13356 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13357 postinstall_cmds='chmod 555 $lib'
13364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13365 soname_spec='${libname}${release}${shared_ext}$major'
13366 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13367 shlibpath_var=LD_LIBRARY_PATH
13368 shlibpath_overrides_runpath=no
13369 hardcode_into_libs=yes
13372 irix5* | irix6* | nonstopux*)
13374 nonstopux*) version_type=nonstopux ;;
13376 if test "$lt_cv_prog_gnu_ld" = yes; then
13384 soname_spec='${libname}${release}${shared_ext}$major'
13385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13387 irix5* | nonstopux*)
13388 libsuff= shlibsuff=
13391 case $LD in # libtool.m4 will add one of these switches to LD
13392 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13393 libsuff= shlibsuff= libmagic=32-bit;;
13394 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13395 libsuff=32 shlibsuff=N32 libmagic=N32;;
13396 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13397 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13398 *) libsuff= shlibsuff= libmagic=never-match;;
13402 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13403 shlibpath_overrides_runpath=no
13404 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13405 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13406 hardcode_into_libs=yes
13409 # No shared lib support for Linux oldld, aout, or coff.
13410 linux*oldld* | linux*aout* | linux*coff*)
13414 # This must be Linux ELF.
13419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13420 soname_spec='${libname}${release}${shared_ext}$major'
13421 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13422 shlibpath_var=LD_LIBRARY_PATH
13423 shlibpath_overrides_runpath=no
13424 # This implies no fast_install, which is unacceptable.
13425 # Some rework will be needed to allow for fast_install
13426 # before this can be enabled.
13427 hardcode_into_libs=yes
13429 # find out which ABI we are using
13431 case "$host_cpu" in
13432 x86_64*|s390x*|powerpc64*)
13433 echo '#line 13433 "configure"' > conftest.$ac_ext
13434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13435 (eval $ac_compile) 2>&5
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); }; then
13439 case `/usr/bin/file conftest.$ac_objext` in
13442 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13450 # Append ld.so.conf contents to the search path
13451 if test -f /etc/ld.so.conf; then
13452 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13453 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13456 # We used to test for /lib/ld.so.1 and disable shared libraries on
13457 # powerpc, because MkLinux only supported shared libraries with the
13458 # GNU dynamic linker. Since this was broken with cross compilers,
13459 # most powerpc-linux boxes support dynamic linking these days and
13460 # people can always --disable-shared, the test was removed, and we
13461 # assume the GNU/Linux dynamic linker is in use.
13462 dynamic_linker='GNU/Linux ld.so'
13469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13470 soname_spec='${libname}${release}${shared_ext}$major'
13471 shlibpath_var=LD_LIBRARY_PATH
13472 shlibpath_overrides_runpath=no
13473 hardcode_into_libs=yes
13474 dynamic_linker='GNU ld.so'
13481 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13483 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13484 dynamic_linker='NetBSD (a.out) ld.so'
13486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13487 soname_spec='${libname}${release}${shared_ext}$major'
13488 dynamic_linker='NetBSD ld.elf_so'
13490 shlibpath_var=LD_LIBRARY_PATH
13491 shlibpath_overrides_runpath=yes
13492 hardcode_into_libs=yes
13497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13498 shlibpath_var=LD_LIBRARY_PATH
13499 shlibpath_overrides_runpath=yes
13506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13507 soname_spec='${libname}${release}${shared_ext}$major'
13508 shlibpath_var=LD_LIBRARY_PATH
13509 shlibpath_overrides_runpath=yes
13514 sys_lib_dlsearch_path_spec="/usr/lib"
13516 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13518 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13519 *) need_version=no ;;
13521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13522 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13523 shlibpath_var=LD_LIBRARY_PATH
13524 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13526 openbsd2.[89] | openbsd2.[89].*)
13527 shlibpath_overrides_runpath=no
13530 shlibpath_overrides_runpath=yes
13534 shlibpath_overrides_runpath=yes
13539 libname_spec='$name'
13542 library_names_spec='$libname${shared_ext} $libname.a'
13543 dynamic_linker='OS/2 ld.exe'
13544 shlibpath_var=LIBPATH
13547 osf3* | osf4* | osf5*)
13551 soname_spec='${libname}${release}${shared_ext}$major'
13552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13553 shlibpath_var=LD_LIBRARY_PATH
13554 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13555 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13563 soname_spec='${libname}${release}${shared_ext}$major'
13564 shlibpath_var=LD_LIBRARY_PATH
13565 shlibpath_overrides_runpath=yes
13566 hardcode_into_libs=yes
13567 # ldd complains unless libraries are executable
13568 postinstall_cmds='chmod +x $lib'
13573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13574 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13575 shlibpath_var=LD_LIBRARY_PATH
13576 shlibpath_overrides_runpath=yes
13577 if test "$with_gnu_ld" = yes; then
13585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13586 soname_spec='${libname}${release}${shared_ext}$major'
13587 shlibpath_var=LD_LIBRARY_PATH
13588 case $host_vendor in
13590 shlibpath_overrides_runpath=no
13592 export_dynamic_flag_spec='${wl}-Blargedynsym'
13593 runpath_var=LD_RUN_PATH
13601 shlibpath_overrides_runpath=no
13602 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13608 if test -d /usr/nec ;then
13610 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13611 soname_spec='$libname${shared_ext}.$major'
13612 shlibpath_var=LD_LIBRARY_PATH
13616 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13617 version_type=freebsd-elf
13620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13621 soname_spec='${libname}${release}${shared_ext}$major'
13622 shlibpath_var=LD_LIBRARY_PATH
13623 hardcode_into_libs=yes
13624 if test "$with_gnu_ld" = yes; then
13625 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13626 shlibpath_overrides_runpath=no
13628 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13629 shlibpath_overrides_runpath=yes
13632 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13636 sys_lib_dlsearch_path_spec='/usr/lib'
13641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13642 soname_spec='${libname}${release}${shared_ext}$major'
13643 shlibpath_var=LD_LIBRARY_PATH
13650 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13651 echo "${ECHO_T}$dynamic_linker" >&6; }
13652 test "$dynamic_linker" = no && can_build_shared=no
13654 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13655 if test "$GCC" = yes; then
13656 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13659 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13660 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13661 hardcode_action_CXX=
13662 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13663 test -n "$runpath_var_CXX" || \
13664 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13666 # We can hardcode non-existant directories.
13667 if test "$hardcode_direct_CXX" != no &&
13668 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13669 # have to relink, otherwise we might link with an installed library
13670 # when we should be linking with a yet-to-be-installed one
13671 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13672 test "$hardcode_minus_L_CXX" != no; then
13673 # Linking always hardcodes the temporary library directory.
13674 hardcode_action_CXX=relink
13676 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13677 hardcode_action_CXX=immediate
13680 # We cannot hardcode anything, or else we can only hardcode existing
13682 hardcode_action_CXX=unsupported
13684 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13685 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13687 if test "$hardcode_action_CXX" = relink; then
13688 # Fast installation is not supported
13689 enable_fast_install=no
13690 elif test "$shlibpath_overrides_runpath" = yes ||
13691 test "$enable_shared" = no; then
13692 # Fast installation is not necessary
13693 enable_fast_install=needless
13697 # The else clause should only fire when bootstrapping the
13698 # libtool distribution, otherwise you forgot to ship ltmain.sh
13699 # with your package, and you will get complaints that there are
13700 # no rules to generate ltmain.sh.
13701 if test -f "$ltmain"; then
13702 # See if we are running on zsh, and set the options which allow our commands through
13703 # without removal of \ escapes.
13704 if test -n "${ZSH_VERSION+set}" ; then
13705 setopt NO_GLOB_SUBST
13707 # Now quote all the things that may contain metacharacters while being
13708 # careful not to overquote the AC_SUBSTed values. We take copies of the
13709 # variables and quote the copies for generation of the libtool script.
13710 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13712 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13713 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13714 deplibs_check_method reload_flag reload_cmds need_locks \
13715 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13716 lt_cv_sys_global_symbol_to_c_name_address \
13717 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13718 old_postinstall_cmds old_postuninstall_cmds \
13722 lt_prog_compiler_wl_CXX \
13723 lt_prog_compiler_pic_CXX \
13724 lt_prog_compiler_static_CXX \
13725 lt_prog_compiler_no_builtin_flag_CXX \
13726 export_dynamic_flag_spec_CXX \
13727 thread_safe_flag_spec_CXX \
13728 whole_archive_flag_spec_CXX \
13729 enable_shared_with_static_runtimes_CXX \
13730 old_archive_cmds_CXX \
13731 old_archive_from_new_cmds_CXX \
13732 predep_objects_CXX \
13733 postdep_objects_CXX \
13736 compiler_lib_search_path_CXX \
13738 archive_expsym_cmds_CXX \
13739 postinstall_cmds_CXX \
13740 postuninstall_cmds_CXX \
13741 old_archive_from_expsyms_cmds_CXX \
13742 allow_undefined_flag_CXX \
13743 no_undefined_flag_CXX \
13744 export_symbols_cmds_CXX \
13745 hardcode_libdir_flag_spec_CXX \
13746 hardcode_libdir_flag_spec_ld_CXX \
13747 hardcode_libdir_separator_CXX \
13748 hardcode_automatic_CXX \
13750 module_expsym_cmds_CXX \
13751 lt_cv_prog_compiler_c_o_CXX \
13752 exclude_expsyms_CXX \
13753 include_expsyms_CXX; do
13756 old_archive_cmds_CXX | \
13757 old_archive_from_new_cmds_CXX | \
13758 archive_cmds_CXX | \
13759 archive_expsym_cmds_CXX | \
13760 module_cmds_CXX | \
13761 module_expsym_cmds_CXX | \
13762 old_archive_from_expsyms_cmds_CXX | \
13763 export_symbols_cmds_CXX | \
13764 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13765 postinstall_cmds | postuninstall_cmds | \
13766 old_postinstall_cmds | old_postuninstall_cmds | \
13767 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13768 # Double-quote double-evaled strings.
13769 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13772 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13778 *'\$0 --fallback-echo"')
13779 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13785 cat <<__EOF__ >> "$cfgfile"
13786 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13788 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13790 # Shell to use when invoking shell scripts.
13793 # Whether or not to build shared libraries.
13794 build_libtool_libs=$enable_shared
13796 # Whether or not to build static libraries.
13797 build_old_libs=$enable_static
13799 # Whether or not to add -lc for building shared libraries.
13800 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13802 # Whether or not to disallow shared libs when runtime libs are static
13803 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13805 # Whether or not to optimize for fast installation.
13806 fast_install=$enable_fast_install
13809 host_alias=$host_alias
13813 # The build system.
13814 build_alias=$build_alias
13818 # An echo program that does not interpret backslashes.
13823 AR_FLAGS=$lt_AR_FLAGS
13828 # LTCC compiler flags.
13829 LTCFLAGS=$lt_LTCFLAGS
13831 # A language-specific compiler.
13832 CC=$lt_compiler_CXX
13834 # Is the compiler the GNU C compiler?
13840 # The linker used to build libraries.
13843 # Whether we need hard or soft links.
13846 # A BSD-compatible nm program.
13849 # A symbol stripping program
13852 # Used to examine libraries when file_magic_cmd begins "file"
13853 MAGIC_CMD=$MAGIC_CMD
13855 # Used on cygwin: DLL creation program.
13858 # Used on cygwin: object dumper.
13861 # Used on cygwin: assembler.
13864 # The name of the directory that contains temporary libtool files.
13867 # How to create reloadable object files.
13868 reload_flag=$lt_reload_flag
13869 reload_cmds=$lt_reload_cmds
13871 # How to pass a linker flag through the compiler.
13872 wl=$lt_lt_prog_compiler_wl_CXX
13874 # Object file suffix (normally "o").
13875 objext="$ac_objext"
13877 # Old archive suffix (normally "a").
13880 # Shared library suffix (normally ".so").
13881 shrext_cmds='$shrext_cmds'
13883 # Executable file suffix (normally "").
13886 # Additional compiler flags for building library objects.
13887 pic_flag=$lt_lt_prog_compiler_pic_CXX
13890 # What is the maximum length of a command?
13891 max_cmd_len=$lt_cv_sys_max_cmd_len
13893 # Does compiler simultaneously support -c and -o options?
13894 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13896 # Must we lock files when doing compilation?
13897 need_locks=$lt_need_locks
13899 # Do we need the lib prefix for modules?
13900 need_lib_prefix=$need_lib_prefix
13902 # Do we need a version for libraries?
13903 need_version=$need_version
13905 # Whether dlopen is supported.
13906 dlopen_support=$enable_dlopen
13908 # Whether dlopen of programs is supported.
13909 dlopen_self=$enable_dlopen_self
13911 # Whether dlopen of statically linked programs is supported.
13912 dlopen_self_static=$enable_dlopen_self_static
13914 # Compiler flag to prevent dynamic linking.
13915 link_static_flag=$lt_lt_prog_compiler_static_CXX
13917 # Compiler flag to turn off builtin functions.
13918 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13920 # Compiler flag to allow reflexive dlopens.
13921 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13923 # Compiler flag to generate shared objects directly from archives.
13924 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13926 # Compiler flag to generate thread-safe objects.
13927 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13929 # Library versioning type.
13930 version_type=$version_type
13932 # Format of library name prefix.
13933 libname_spec=$lt_libname_spec
13935 # List of archive names. First name is the real one, the rest are links.
13936 # The last name is the one that the linker finds with -lNAME.
13937 library_names_spec=$lt_library_names_spec
13939 # The coded name of the library, if different from the real name.
13940 soname_spec=$lt_soname_spec
13942 # Commands used to build and install an old-style archive.
13944 old_archive_cmds=$lt_old_archive_cmds_CXX
13945 old_postinstall_cmds=$lt_old_postinstall_cmds
13946 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13948 # Create an old-style archive from a shared archive.
13949 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13951 # Create a temporary old-style archive to link instead of a shared archive.
13952 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13954 # Commands used to build and install a shared archive.
13955 archive_cmds=$lt_archive_cmds_CXX
13956 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13957 postinstall_cmds=$lt_postinstall_cmds
13958 postuninstall_cmds=$lt_postuninstall_cmds
13960 # Commands used to build a loadable module (assumed same as above if empty)
13961 module_cmds=$lt_module_cmds_CXX
13962 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13964 # Commands to strip libraries.
13965 old_striplib=$lt_old_striplib
13966 striplib=$lt_striplib
13968 # Dependencies to place before the objects being linked to create a
13970 predep_objects=$lt_predep_objects_CXX
13972 # Dependencies to place after the objects being linked to create a
13974 postdep_objects=$lt_postdep_objects_CXX
13976 # Dependencies to place before the objects being linked to create a
13978 predeps=$lt_predeps_CXX
13980 # Dependencies to place after the objects being linked to create a
13982 postdeps=$lt_postdeps_CXX
13984 # The library search path used internally by the compiler when linking
13985 # a shared library.
13986 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13988 # Method to check whether dependent libraries are shared objects.
13989 deplibs_check_method=$lt_deplibs_check_method
13991 # Command to use when deplibs_check_method == file_magic.
13992 file_magic_cmd=$lt_file_magic_cmd
13994 # Flag that allows shared libraries with undefined symbols to be built.
13995 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13997 # Flag that forces no undefined symbols.
13998 no_undefined_flag=$lt_no_undefined_flag_CXX
14000 # Commands used to finish a libtool library installation in a directory.
14001 finish_cmds=$lt_finish_cmds
14003 # Same as above, but a single script fragment to be evaled but not shown.
14004 finish_eval=$lt_finish_eval
14006 # Take the output of nm and produce a listing of raw symbols and C names.
14007 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14009 # Transform the output of nm in a proper C declaration
14010 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14012 # Transform the output of nm in a C name address pair
14013 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14015 # This is the shared library runtime path variable.
14016 runpath_var=$runpath_var
14018 # This is the shared library path variable.
14019 shlibpath_var=$shlibpath_var
14021 # Is shlibpath searched before the hard-coded library search path?
14022 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14024 # How to hardcode a shared library path into an executable.
14025 hardcode_action=$hardcode_action_CXX
14027 # Whether we should hardcode library paths into libraries.
14028 hardcode_into_libs=$hardcode_into_libs
14030 # Flag to hardcode \$libdir into a binary during linking.
14031 # This must work even if \$libdir does not exist.
14032 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14034 # If ld is used when linking, flag to hardcode \$libdir into
14035 # a binary during linking. This must work even if \$libdir does
14037 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14039 # Whether we need a single -rpath flag with a separated argument.
14040 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14042 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14043 # resulting binary.
14044 hardcode_direct=$hardcode_direct_CXX
14046 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14047 # resulting binary.
14048 hardcode_minus_L=$hardcode_minus_L_CXX
14050 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14051 # the resulting binary.
14052 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14054 # Set to yes if building a shared library automatically hardcodes DIR into the library
14055 # and all subsequent libraries and executables linked against it.
14056 hardcode_automatic=$hardcode_automatic_CXX
14058 # Variables whose values should be saved in libtool wrapper scripts and
14059 # restored at relink time.
14060 variables_saved_for_relink="$variables_saved_for_relink"
14062 # Whether libtool must link a program against all its dependency libraries.
14063 link_all_deplibs=$link_all_deplibs_CXX
14065 # Compile-time system search path for libraries
14066 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14068 # Run-time system search path for libraries
14069 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14071 # Fix the shell variable \$srcfile for the compiler.
14072 fix_srcfile_path="$fix_srcfile_path_CXX"
14074 # Set to yes if exported symbols are required.
14075 always_export_symbols=$always_export_symbols_CXX
14077 # The commands to list exported symbols.
14078 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14080 # The commands to extract the exported symbol list from a shared archive.
14081 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14083 # Symbols that should not be listed in the preloaded symbols.
14084 exclude_expsyms=$lt_exclude_expsyms_CXX
14086 # Symbols that must always be exported.
14087 include_expsyms=$lt_include_expsyms_CXX
14089 # ### END LIBTOOL TAG CONFIG: $tagname
14095 # If there is no Makefile yet, we rely on a make rule to execute
14096 # `config.status --recheck' to rerun these tests and create the
14097 # libtool script then.
14098 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14099 if test -f "$ltmain_in"; then
14100 test -f Makefile && make "$ltmain"
14106 ac_cpp='$CPP $CPPFLAGS'
14107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14115 with_gnu_ldcxx=$with_gnu_ld
14116 with_gnu_ld=$lt_save_with_gnu_ld
14117 lt_cv_path_LDCXX=$lt_cv_path_LD
14118 lt_cv_path_LD=$lt_save_path_LD
14119 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14120 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14128 if test -n "$F77" && test "X$F77" != "Xno"; then
14131 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14132 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14133 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14136 archive_cmds_need_lc_F77=no
14137 allow_undefined_flag_F77=
14138 always_export_symbols_F77=no
14139 archive_expsym_cmds_F77=
14140 export_dynamic_flag_spec_F77=
14141 hardcode_direct_F77=no
14142 hardcode_libdir_flag_spec_F77=
14143 hardcode_libdir_flag_spec_ld_F77=
14144 hardcode_libdir_separator_F77=
14145 hardcode_minus_L_F77=no
14146 hardcode_automatic_F77=no
14148 module_expsym_cmds_F77=
14149 link_all_deplibs_F77=unknown
14150 old_archive_cmds_F77=$old_archive_cmds
14151 no_undefined_flag_F77=
14152 whole_archive_flag_spec_F77=
14153 enable_shared_with_static_runtimes_F77=no
14155 # Source file extension for f77 test sources.
14158 # Object file extension for compiled f77 test sources.
14162 # Code to be used in simple compile tests
14163 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
14165 # Code to be used in simple link tests
14166 lt_simple_link_test_code=" program t\n end\n"
14168 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14170 # If no C compiler was specified, use CC.
14173 # If no C compiler flags were specified, use CFLAGS.
14174 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14176 # Allow CC to be a program name with arguments.
14180 # save warnings/boilerplate of simple test code
14181 ac_outfile=conftest.$ac_objext
14182 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14183 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14184 _lt_compiler_boilerplate=`cat conftest.err`
14187 ac_outfile=conftest.$ac_objext
14188 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14189 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14190 _lt_linker_boilerplate=`cat conftest.err`
14194 # Allow CC to be a program name with arguments.
14199 for cc_temp in $compiler""; do
14201 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14202 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14207 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14210 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14211 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14212 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14213 echo "${ECHO_T}$can_build_shared" >&6; }
14215 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14216 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14217 test "$can_build_shared" = "no" && enable_shared=no
14219 # On AIX, shared libraries and static libraries use the same namespace, and
14220 # are all built from PIC.
14223 test "$enable_shared" = yes && enable_static=no
14224 if test -n "$RANLIB"; then
14225 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14226 postinstall_cmds='$RANLIB $lib'
14230 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14231 test "$enable_shared" = yes && enable_static=no
14235 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14236 echo "${ECHO_T}$enable_shared" >&6; }
14238 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14239 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14240 # Make sure either enable_shared or enable_static is yes.
14241 test "$enable_shared" = yes || enable_static=yes
14242 { echo "$as_me:$LINENO: result: $enable_static" >&5
14243 echo "${ECHO_T}$enable_static" >&6; }
14248 lt_prog_compiler_wl_F77=
14249 lt_prog_compiler_pic_F77=
14250 lt_prog_compiler_static_F77=
14252 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14253 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14255 if test "$GCC" = yes; then
14256 lt_prog_compiler_wl_F77='-Wl,'
14257 lt_prog_compiler_static_F77='-static'
14261 # All AIX code is PIC.
14262 if test "$host_cpu" = ia64; then
14263 # AIX 5 now supports IA64 processor
14264 lt_prog_compiler_static_F77='-Bstatic'
14269 # FIXME: we need at least 68020 code to build shared libraries, but
14270 # adding the `-m68020' flag to GCC prevents building anything better,
14272 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14275 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14276 # PIC is the default for these OSes.
14279 mingw* | pw32* | os2*)
14280 # This hack is so that the source file can tell whether it is being
14281 # built for inclusion in a dll (and should export symbols for example).
14282 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14285 darwin* | rhapsody*)
14286 # PIC is the default on this platform
14287 # Common symbols not allowed in MH_DYLIB files
14288 lt_prog_compiler_pic_F77='-fno-common'
14292 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14293 # Instead, we relocate shared libraries at runtime.
14297 # Just because we use GCC doesn't mean we suddenly get shared libraries
14298 # on systems that don't support them.
14299 lt_prog_compiler_can_build_shared_F77=no
14304 if test -d /usr/nec; then
14305 lt_prog_compiler_pic_F77=-Kconform_pic
14310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14311 # not for PA HP-UX.
14317 lt_prog_compiler_pic_F77='-fPIC'
14323 lt_prog_compiler_pic_F77='-fPIC'
14327 # PORTME Check for flag to pass linker flags through the system compiler.
14330 lt_prog_compiler_wl_F77='-Wl,'
14331 if test "$host_cpu" = ia64; then
14332 # AIX 5 now supports IA64 processor
14333 lt_prog_compiler_static_F77='-Bstatic'
14335 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14339 # PIC is the default on this platform
14340 # Common symbols not allowed in MH_DYLIB files
14341 case $cc_basename in
14343 lt_prog_compiler_pic_F77='-qnocommon'
14344 lt_prog_compiler_wl_F77='-Wl,'
14349 mingw* | pw32* | os2*)
14350 # This hack is so that the source file can tell whether it is being
14351 # built for inclusion in a dll (and should export symbols for example).
14352 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14355 hpux9* | hpux10* | hpux11*)
14356 lt_prog_compiler_wl_F77='-Wl,'
14357 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14358 # not for PA HP-UX.
14364 lt_prog_compiler_pic_F77='+Z'
14367 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14368 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14371 irix5* | irix6* | nonstopux*)
14372 lt_prog_compiler_wl_F77='-Wl,'
14373 # PIC (with -KPIC) is the default.
14374 lt_prog_compiler_static_F77='-non_shared'
14378 lt_prog_compiler_pic_F77='-KPIC'
14379 lt_prog_compiler_static_F77='-Bstatic'
14383 case $cc_basename in
14385 lt_prog_compiler_wl_F77='-Wl,'
14386 lt_prog_compiler_pic_F77='-KPIC'
14387 lt_prog_compiler_static_F77='-static'
14389 pgcc* | pgf77* | pgf90* | pgf95*)
14390 # Portland Group compilers (*not* the Pentium gcc compiler,
14391 # which looks to be a dead project)
14392 lt_prog_compiler_wl_F77='-Wl,'
14393 lt_prog_compiler_pic_F77='-fpic'
14394 lt_prog_compiler_static_F77='-Bstatic'
14397 lt_prog_compiler_wl_F77='-Wl,'
14398 # All Alpha code is PIC.
14399 lt_prog_compiler_static_F77='-non_shared'
14404 osf3* | osf4* | osf5*)
14405 lt_prog_compiler_wl_F77='-Wl,'
14406 # All OSF/1 code is PIC.
14407 lt_prog_compiler_static_F77='-non_shared'
14411 lt_prog_compiler_pic_F77='-KPIC'
14412 lt_prog_compiler_static_F77='-Bstatic'
14413 case $cc_basename in
14414 f77* | f90* | f95*)
14415 lt_prog_compiler_wl_F77='-Qoption ld ';;
14417 lt_prog_compiler_wl_F77='-Wl,';;
14422 lt_prog_compiler_wl_F77='-Qoption ld '
14423 lt_prog_compiler_pic_F77='-PIC'
14424 lt_prog_compiler_static_F77='-Bstatic'
14427 sysv4 | sysv4.2uw2* | sysv4.3*)
14428 lt_prog_compiler_wl_F77='-Wl,'
14429 lt_prog_compiler_pic_F77='-KPIC'
14430 lt_prog_compiler_static_F77='-Bstatic'
14434 if test -d /usr/nec ;then
14435 lt_prog_compiler_pic_F77='-Kconform_pic'
14436 lt_prog_compiler_static_F77='-Bstatic'
14440 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14441 lt_prog_compiler_wl_F77='-Wl,'
14442 lt_prog_compiler_pic_F77='-KPIC'
14443 lt_prog_compiler_static_F77='-Bstatic'
14447 lt_prog_compiler_wl_F77='-Wl,'
14448 lt_prog_compiler_can_build_shared_F77=no
14452 lt_prog_compiler_pic_F77='-pic'
14453 lt_prog_compiler_static_F77='-Bstatic'
14457 lt_prog_compiler_can_build_shared_F77=no
14462 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14463 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14466 # Check to make sure the PIC flag actually works.
14468 if test -n "$lt_prog_compiler_pic_F77"; then
14470 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14471 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14472 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14473 echo $ECHO_N "(cached) $ECHO_C" >&6
14475 lt_prog_compiler_pic_works_F77=no
14476 ac_outfile=conftest.$ac_objext
14477 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14478 lt_compiler_flag="$lt_prog_compiler_pic_F77"
14479 # Insert the option either (1) after the last *FLAGS variable, or
14480 # (2) before a word containing "conftest.", or (3) at the end.
14481 # Note that $ac_compile itself does not contain backslashes and begins
14482 # with a dollar sign (not a hyphen), so the echo should work correctly.
14483 # The option is referenced via a variable to avoid confusing sed.
14484 lt_compile=`echo "$ac_compile" | $SED \
14485 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14486 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14487 -e 's:$: $lt_compiler_flag:'`
14488 (eval echo "\"\$as_me:14488: $lt_compile\"" >&5)
14489 (eval "$lt_compile" 2>conftest.err)
14491 cat conftest.err >&5
14492 echo "$as_me:14492: \$? = $ac_status" >&5
14493 if (exit $ac_status) && test -s "$ac_outfile"; then
14494 # The compiler can only warn and ignore the option if not recognized
14495 # So say no if there are warnings other than the usual output.
14496 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14497 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14498 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14499 lt_prog_compiler_pic_works_F77=yes
14505 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14506 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14508 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14509 case $lt_prog_compiler_pic_F77 in
14511 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14514 lt_prog_compiler_pic_F77=
14515 lt_prog_compiler_can_build_shared_F77=no
14520 # For platforms which do not support PIC, -DPIC is meaningless:
14522 lt_prog_compiler_pic_F77=
14525 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14530 # Check to make sure the static flag actually works.
14532 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14533 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14534 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14535 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 lt_prog_compiler_static_works_F77=no
14539 save_LDFLAGS="$LDFLAGS"
14540 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14541 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14542 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14543 # The linker can only warn and ignore the option if not recognized
14544 # So say no if there are warnings
14545 if test -s conftest.err; then
14546 # Append any errors to the config.log.
14547 cat conftest.err 1>&5
14548 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14549 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14550 if diff conftest.exp conftest.er2 >/dev/null; then
14551 lt_prog_compiler_static_works_F77=yes
14554 lt_prog_compiler_static_works_F77=yes
14558 LDFLAGS="$save_LDFLAGS"
14561 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14562 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14564 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14567 lt_prog_compiler_static_F77=
14571 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14572 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14573 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14574 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 lt_cv_prog_compiler_c_o_F77=no
14577 $rm -r conftest 2>/dev/null
14581 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14583 lt_compiler_flag="-o out/conftest2.$ac_objext"
14584 # Insert the option either (1) after the last *FLAGS variable, or
14585 # (2) before a word containing "conftest.", or (3) at the end.
14586 # Note that $ac_compile itself does not contain backslashes and begins
14587 # with a dollar sign (not a hyphen), so the echo should work correctly.
14588 lt_compile=`echo "$ac_compile" | $SED \
14589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14591 -e 's:$: $lt_compiler_flag:'`
14592 (eval echo "\"\$as_me:14592: $lt_compile\"" >&5)
14593 (eval "$lt_compile" 2>out/conftest.err)
14595 cat out/conftest.err >&5
14596 echo "$as_me:14596: \$? = $ac_status" >&5
14597 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14599 # The compiler can only warn and ignore the option if not recognized
14600 # So say no if there are warnings
14601 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14602 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14603 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14604 lt_cv_prog_compiler_c_o_F77=yes
14609 # SGI C++ compiler will create directory out/ii_files/ for
14610 # template instantiation
14611 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14612 $rm out/* && rmdir out
14618 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14619 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14622 hard_links="nottested"
14623 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14624 # do not overwrite the value of need_locks provided by the user
14625 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14626 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14629 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14631 ln conftest.a conftest.b 2>&5 || hard_links=no
14632 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14633 { echo "$as_me:$LINENO: result: $hard_links" >&5
14634 echo "${ECHO_T}$hard_links" >&6; }
14635 if test "$hard_links" = no; then
14636 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14637 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14644 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14645 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14648 allow_undefined_flag_F77=
14649 enable_shared_with_static_runtimes_F77=no
14651 archive_expsym_cmds_F77=
14652 old_archive_From_new_cmds_F77=
14653 old_archive_from_expsyms_cmds_F77=
14654 export_dynamic_flag_spec_F77=
14655 whole_archive_flag_spec_F77=
14656 thread_safe_flag_spec_F77=
14657 hardcode_libdir_flag_spec_F77=
14658 hardcode_libdir_flag_spec_ld_F77=
14659 hardcode_libdir_separator_F77=
14660 hardcode_direct_F77=no
14661 hardcode_minus_L_F77=no
14662 hardcode_shlibpath_var_F77=unsupported
14663 link_all_deplibs_F77=unknown
14664 hardcode_automatic_F77=no
14666 module_expsym_cmds_F77=
14667 always_export_symbols_F77=no
14668 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14669 # include_expsyms should be a list of space-separated symbols to be *always*
14670 # included in the symbol list
14671 include_expsyms_F77=
14672 # exclude_expsyms can be an extended regexp of symbols to exclude
14673 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14674 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14675 # as well as any symbol that contains `d'.
14676 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14677 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14678 # platforms (ab)use it in PIC code, but their linkers get confused if
14679 # the symbol is explicitly referenced. Since portable code cannot
14680 # rely on this symbol name, it's probably fine to never include it in
14681 # preloaded symbol tables.
14682 extract_expsyms_cmds=
14683 # Just being paranoid about ensuring that cc_basename is set.
14684 for cc_temp in $compiler""; do
14686 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14687 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14692 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14695 cygwin* | mingw* | pw32*)
14696 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14697 # When not using gcc, we currently assume that we are using
14698 # Microsoft Visual C++.
14699 if test "$GCC" != yes; then
14704 # we just hope/assume this is gcc and not c89 (= MSVC++)
14713 if test "$with_gnu_ld" = yes; then
14714 # If archive_cmds runs LD, not CC, wlarc should be empty
14717 # Set some defaults for GNU ld with shared library support. These
14718 # are reset later if shared libraries are not supported. Putting them
14719 # here allows them to be overridden if necessary.
14720 runpath_var=LD_RUN_PATH
14721 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14722 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14723 # ancient GNU ld didn't support --whole-archive et. al.
14724 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14725 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14727 whole_archive_flag_spec_F77=
14729 supports_anon_versioning=no
14730 case `$LD -v 2>/dev/null` in
14731 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14732 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14733 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14734 *\ 2.11.*) ;; # other 2.11 versions
14735 *) supports_anon_versioning=yes ;;
14738 # See if GNU ld supports shared libraries.
14740 aix3* | aix4* | aix5*)
14741 # On AIX/PPC, the GNU linker is very broken
14742 if test "$host_cpu" != ia64; then
14746 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14747 *** to be unable to reliably create shared libraries on AIX.
14748 *** Therefore, libtool is disabling shared libraries support. If you
14749 *** really care for shared libraries, you may want to modify your PATH
14750 *** so that a non-GNU linker is found, and then restart.
14757 archive_cmds_F77='$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)'
14758 hardcode_libdir_flag_spec_F77='-L$libdir'
14759 hardcode_minus_L_F77=yes
14761 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14762 # that the semantics of dynamic libraries on AmigaOS, at least up
14763 # to version 4, is to share data among multiple programs linked
14764 # with the same dynamic library. Since this doesn't match the
14765 # behavior of shared libraries on other platforms, we can't use
14771 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14772 allow_undefined_flag_F77=unsupported
14773 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14774 # support --undefined. This deserves some investigation. FIXME
14775 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14781 cygwin* | mingw* | pw32*)
14782 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14783 # as there is no search path for DLLs.
14784 hardcode_libdir_flag_spec_F77='-L$libdir'
14785 allow_undefined_flag_F77=unsupported
14786 always_export_symbols_F77=no
14787 enable_shared_with_static_runtimes_F77=yes
14788 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14790 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14791 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14792 # If the export-symbols file already is a .def file (1st line
14793 # is EXPORTS), use it as is; otherwise, prepend...
14794 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14795 cp $export_symbols $output_objdir/$soname.def;
14797 echo EXPORTS > $output_objdir/$soname.def;
14798 cat $export_symbols >> $output_objdir/$soname.def;
14800 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14807 hardcode_direct_F77=no
14808 hardcode_shlibpath_var_F77=no
14809 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14810 export_dynamic_flag_spec_F77='${wl}-E'
14811 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14812 # Instead, shared libraries are loaded at an image base (0x10000000 by
14813 # default) and relocated if they conflict, which is a slow very memory
14814 # consuming and fragmenting process. To avoid this, we pick a random,
14815 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14816 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14817 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14818 archive_expsym_cmds_F77='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'
14822 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14824 case $cc_basename,$host_cpu in
14825 pgcc*) # Portland Group C compiler
14826 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14827 tmp_addflag=' $pic_flag'
14829 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14830 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14831 tmp_addflag=' $pic_flag -Mnomain' ;;
14832 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14833 tmp_addflag=' -i_dynamic' ;;
14834 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14835 tmp_addflag=' -i_dynamic -nofor_main' ;;
14836 ifc* | ifort*) # Intel Fortran compiler
14837 tmp_addflag=' -nofor_main' ;;
14839 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14841 if test $supports_anon_versioning = yes; then
14842 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14843 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14844 $echo "local: *; };" >> $output_objdir/$libname.ver~
14845 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14853 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14854 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14857 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14858 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14863 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14867 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14868 *** create shared libraries on Solaris systems. Therefore, libtool
14869 *** is disabling shared libraries support. We urge you to upgrade GNU
14870 *** binutils to release 2.9.1 or newer. Another option is to modify
14871 *** your PATH or compiler configuration so that the native linker is
14872 *** used, and then restart.
14875 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14876 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14877 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14884 case `$LD -v 2>&1` in
14885 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14889 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14890 *** reliably create shared libraries on SCO systems. Therefore, libtool
14891 *** is disabling shared libraries support. We urge you to upgrade GNU
14892 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14893 *** your PATH or compiler configuration so that the native linker is
14894 *** used, and then restart.
14899 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14900 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14901 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14902 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14911 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14913 hardcode_direct_F77=yes
14914 hardcode_shlibpath_var_F77=no
14918 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14919 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14920 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14927 if test "$ld_shlibs_F77" = no; then
14929 hardcode_libdir_flag_spec_F77=
14930 export_dynamic_flag_spec_F77=
14931 whole_archive_flag_spec_F77=
14934 # PORTME fill in a description of your system's linker (not GNU ld)
14937 allow_undefined_flag_F77=unsupported
14938 always_export_symbols_F77=yes
14939 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14940 # Note: this linker hardcodes the directories in LIBPATH if there
14941 # are no directories specified by -L.
14942 hardcode_minus_L_F77=yes
14943 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14944 # Neither direct hardcoding nor static linking is supported with a
14946 hardcode_direct_F77=unsupported
14951 if test "$host_cpu" = ia64; then
14952 # On IA64, the linker does run time linking by default, so we don't
14953 # have to do anything special.
14954 aix_use_runtimelinking=no
14955 exp_sym_flag='-Bexport'
14958 # If we're using GNU nm, then we don't want the "-C" option.
14959 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14960 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14961 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14963 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14965 aix_use_runtimelinking=no
14967 # Test if we are trying to use run time linking or normal
14968 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14969 # need to do runtime linking.
14970 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14971 for ld_flag in $LDFLAGS; do
14972 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14973 aix_use_runtimelinking=yes
14980 exp_sym_flag='-bexport'
14981 no_entry_flag='-bnoentry'
14984 # When large executables or shared objects are built, AIX ld can
14985 # have problems creating the table of contents. If linking a library
14986 # or program results in "error TOC overflow" add -mminimal-toc to
14987 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14988 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14990 archive_cmds_F77=''
14991 hardcode_direct_F77=yes
14992 hardcode_libdir_separator_F77=':'
14993 link_all_deplibs_F77=yes
14995 if test "$GCC" = yes; then
14996 case $host_os in aix4.[012]|aix4.[012].*)
14997 # We only want to do this on AIX 4.2 and lower, the check
14998 # below for broken collect2 doesn't work under 4.3+
14999 collect2name=`${CC} -print-prog-name=collect2`
15000 if test -f "$collect2name" && \
15001 strings "$collect2name" | grep resolve_lib_name >/dev/null
15003 # We have reworked collect2
15004 hardcode_direct_F77=yes
15006 # We have old collect2
15007 hardcode_direct_F77=unsupported
15008 # It fails to find uninstalled libraries when the uninstalled
15009 # path is not listed in the libpath. Setting hardcode_minus_L
15010 # to unsupported forces relinking
15011 hardcode_minus_L_F77=yes
15012 hardcode_libdir_flag_spec_F77='-L$libdir'
15013 hardcode_libdir_separator_F77=
15017 shared_flag='-shared'
15018 if test "$aix_use_runtimelinking" = yes; then
15019 shared_flag="$shared_flag "'${wl}-G'
15023 if test "$host_cpu" = ia64; then
15024 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15025 # chokes on -Wl,-G. The following line is correct:
15028 if test "$aix_use_runtimelinking" = yes; then
15029 shared_flag='${wl}-G'
15031 shared_flag='${wl}-bM:SRE'
15036 # It seems that -bexpall does not export symbols beginning with
15037 # underscore (_), so it is better to generate a list of symbols to export.
15038 always_export_symbols_F77=yes
15039 if test "$aix_use_runtimelinking" = yes; then
15040 # Warning - without using the other runtime loading flags (-brtl),
15041 # -berok will link without error, but may produce a broken library.
15042 allow_undefined_flag_F77='-berok'
15043 # Determine the default libpath from the value encoded in an empty executable.
15044 cat >conftest.$ac_ext <<_ACEOF
15049 rm -f conftest.$ac_objext conftest$ac_exeext
15050 if { (ac_try="$ac_link"
15051 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;;
15055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15056 (eval "$ac_link") 2>conftest.er1
15058 grep -v '^ *+' conftest.er1 >conftest.err
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } && {
15063 test -z "$ac_f77_werror_flag" ||
15064 test ! -s conftest.err
15065 } && test -s conftest$ac_exeext &&
15066 $as_test_x conftest$ac_exeext; then
15068 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15070 # Check for a 64-bit object if we didn't find anything.
15071 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15074 echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15081 conftest$ac_exeext conftest.$ac_ext
15082 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15084 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15085 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15087 if test "$host_cpu" = ia64; then
15088 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15089 allow_undefined_flag_F77="-z nodefs"
15090 archive_expsym_cmds_F77="\$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"
15092 # Determine the default libpath from the value encoded in an empty executable.
15093 cat >conftest.$ac_ext <<_ACEOF
15098 rm -f conftest.$ac_objext conftest$ac_exeext
15099 if { (ac_try="$ac_link"
15100 case "(($ac_try" in
15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_link") 2>conftest.er1
15107 grep -v '^ *+' conftest.er1 >conftest.err
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } && {
15112 test -z "$ac_f77_werror_flag" ||
15113 test ! -s conftest.err
15114 } && test -s conftest$ac_exeext &&
15115 $as_test_x conftest$ac_exeext; then
15117 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15119 # Check for a 64-bit object if we didn't find anything.
15120 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15123 echo "$as_me: failed program was:" >&5
15124 sed 's/^/| /' conftest.$ac_ext >&5
15129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15130 conftest$ac_exeext conftest.$ac_ext
15131 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15133 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15134 # Warning - without using the other run time loading flags,
15135 # -berok will link without error, but may produce a broken library.
15136 no_undefined_flag_F77=' ${wl}-bernotok'
15137 allow_undefined_flag_F77=' ${wl}-berok'
15138 # Exported symbols can be pulled into shared objects from archives
15139 whole_archive_flag_spec_F77='$convenience'
15140 archive_cmds_need_lc_F77=yes
15141 # This is similar to how AIX traditionally builds its shared libraries.
15142 archive_expsym_cmds_F77="\$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'
15148 archive_cmds_F77='$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)'
15149 hardcode_libdir_flag_spec_F77='-L$libdir'
15150 hardcode_minus_L_F77=yes
15151 # see comment about different semantics on the GNU ld section
15156 export_dynamic_flag_spec_F77=-rdynamic
15159 cygwin* | mingw* | pw32*)
15160 # When not using gcc, we currently assume that we are using
15161 # Microsoft Visual C++.
15162 # hardcode_libdir_flag_spec is actually meaningless, as there is
15163 # no search path for DLLs.
15164 hardcode_libdir_flag_spec_F77=' '
15165 allow_undefined_flag_F77=unsupported
15166 # Tell ltmain to make .lib files, not .a files.
15168 # Tell ltmain to make .dll files, not .so files.
15170 # FIXME: Setting linknames here is a bad hack.
15171 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15172 # The linker will automatically build a .lib file if we build a DLL.
15173 old_archive_From_new_cmds_F77='true'
15174 # FIXME: Should let the user specify the lib program.
15175 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
15176 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15177 enable_shared_with_static_runtimes_F77=yes
15180 darwin* | rhapsody*)
15182 rhapsody* | darwin1.[012])
15183 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15186 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15187 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15189 case ${MACOSX_DEPLOYMENT_TARGET} in
15191 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15194 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15200 archive_cmds_need_lc_F77=no
15201 hardcode_direct_F77=no
15202 hardcode_automatic_F77=yes
15203 hardcode_shlibpath_var_F77=unsupported
15204 whole_archive_flag_spec_F77=''
15205 link_all_deplibs_F77=yes
15206 if test "$GCC" = yes ; then
15207 output_verbose_link_cmd='echo'
15208 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15209 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15210 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15211 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15212 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15214 case $cc_basename in
15216 output_verbose_link_cmd='echo'
15217 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15218 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15219 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15220 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15221 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15231 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15232 hardcode_libdir_flag_spec_F77='-L$libdir'
15233 hardcode_shlibpath_var_F77=no
15240 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15241 # support. Future versions do this automatically, but an explicit c++rt0.o
15242 # does not break anything, and helps significantly (at the cost of a little
15245 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15246 hardcode_libdir_flag_spec_F77='-R$libdir'
15247 hardcode_direct_F77=yes
15248 hardcode_shlibpath_var_F77=no
15251 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15253 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15254 hardcode_direct_F77=yes
15255 hardcode_minus_L_F77=yes
15256 hardcode_shlibpath_var_F77=no
15259 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15260 freebsd* | kfreebsd*-gnu | dragonfly*)
15261 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15262 hardcode_libdir_flag_spec_F77='-R$libdir'
15263 hardcode_direct_F77=yes
15264 hardcode_shlibpath_var_F77=no
15268 if test "$GCC" = yes; then
15269 archive_cmds_F77='$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'
15271 archive_cmds_F77='$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'
15273 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15274 hardcode_libdir_separator_F77=:
15275 hardcode_direct_F77=yes
15277 # hardcode_minus_L: Not really in the search PATH,
15278 # but as the default location of the library.
15279 hardcode_minus_L_F77=yes
15280 export_dynamic_flag_spec_F77='${wl}-E'
15284 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15285 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15287 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15289 if test "$with_gnu_ld" = no; then
15290 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15291 hardcode_libdir_separator_F77=:
15293 hardcode_direct_F77=yes
15294 export_dynamic_flag_spec_F77='${wl}-E'
15296 # hardcode_minus_L: Not really in the search PATH,
15297 # but as the default location of the library.
15298 hardcode_minus_L_F77=yes
15303 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15306 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15309 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15312 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15318 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15321 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15324 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15328 if test "$with_gnu_ld" = no; then
15329 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15330 hardcode_libdir_separator_F77=:
15334 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15335 hardcode_direct_F77=no
15336 hardcode_shlibpath_var_F77=no
15339 hardcode_direct_F77=yes
15340 export_dynamic_flag_spec_F77='${wl}-E'
15342 # hardcode_minus_L: Not really in the search PATH,
15343 # but as the default location of the library.
15344 hardcode_minus_L_F77=yes
15350 irix5* | irix6* | nonstopux*)
15351 if test "$GCC" = yes; then
15352 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15354 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15355 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15357 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15358 hardcode_libdir_separator_F77=:
15359 link_all_deplibs_F77=yes
15363 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15364 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15366 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15368 hardcode_libdir_flag_spec_F77='-R$libdir'
15369 hardcode_direct_F77=yes
15370 hardcode_shlibpath_var_F77=no
15374 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15375 hardcode_direct_F77=yes
15376 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15377 hardcode_libdir_separator_F77=:
15378 hardcode_shlibpath_var_F77=no
15382 hardcode_direct_F77=yes
15383 hardcode_shlibpath_var_F77=no
15384 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15385 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15386 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15387 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15388 export_dynamic_flag_spec_F77='${wl}-E'
15391 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15392 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15393 hardcode_libdir_flag_spec_F77='-R$libdir'
15396 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15397 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15404 hardcode_libdir_flag_spec_F77='-L$libdir'
15405 hardcode_minus_L_F77=yes
15406 allow_undefined_flag_F77=unsupported
15407 archive_cmds_F77='$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'
15408 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15412 if test "$GCC" = yes; then
15413 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15414 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15416 allow_undefined_flag_F77=' -expect_unresolved \*'
15417 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15419 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15420 hardcode_libdir_separator_F77=:
15423 osf4* | osf5*) # as osf3* with the addition of -msym flag
15424 if test "$GCC" = yes; then
15425 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15426 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15427 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15429 allow_undefined_flag_F77=' -expect_unresolved \*'
15430 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15431 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15432 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15434 # Both c and cxx compiler support -rpath directly
15435 hardcode_libdir_flag_spec_F77='-rpath $libdir'
15437 hardcode_libdir_separator_F77=:
15441 no_undefined_flag_F77=' -z text'
15442 if test "$GCC" = yes; then
15444 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15445 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15446 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15449 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15450 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15451 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15453 hardcode_libdir_flag_spec_F77='-R$libdir'
15454 hardcode_shlibpath_var_F77=no
15456 solaris2.[0-5] | solaris2.[0-5].*) ;;
15458 # The compiler driver will combine linker options so we
15459 # cannot just pass the convience library names through
15460 # without $wl, iff we do not link with $LD.
15461 # Luckily, gcc supports the same syntax we need for Sun Studio.
15462 # Supported since Solaris 2.6 (maybe 2.5.1?)
15465 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15467 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15470 link_all_deplibs_F77=yes
15474 if test "x$host_vendor" = xsequent; then
15475 # Use $CC to link under sequent, because it throws in some extra .o
15476 # files that make .init and .fini sections work.
15477 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15479 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15481 hardcode_libdir_flag_spec_F77='-L$libdir'
15482 hardcode_direct_F77=yes
15483 hardcode_minus_L_F77=yes
15484 hardcode_shlibpath_var_F77=no
15488 case $host_vendor in
15490 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15491 hardcode_direct_F77=yes # is this really true???
15494 ## LD is ld it makes a PLAMLIB
15495 ## CC just makes a GrossModule.
15496 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15497 reload_cmds_F77='$CC -r -o $output$reload_objs'
15498 hardcode_direct_F77=no
15501 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15502 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15505 runpath_var='LD_RUN_PATH'
15506 hardcode_shlibpath_var_F77=no
15510 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15511 hardcode_shlibpath_var_F77=no
15512 export_dynamic_flag_spec_F77='-Bexport'
15516 if test -d /usr/nec; then
15517 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15518 hardcode_shlibpath_var_F77=no
15519 runpath_var=LD_RUN_PATH
15520 hardcode_runpath_var=yes
15525 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15526 no_undefined_flag_F77='${wl}-z,text'
15527 archive_cmds_need_lc_F77=no
15528 hardcode_shlibpath_var_F77=no
15529 runpath_var='LD_RUN_PATH'
15531 if test "$GCC" = yes; then
15532 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15533 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15535 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15536 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15540 sysv5* | sco3.2v5* | sco5v6*)
15541 # Note: We can NOT use -z defs as we might desire, because we do not
15542 # link with -lc, and that would cause any symbols used from libc to
15543 # always be unresolved, which means just about no library would
15544 # ever link correctly. If we're not using GNU ld we use -z text
15545 # though, which does catch some bad symbols but isn't as heavy-handed
15547 no_undefined_flag_F77='${wl}-z,text'
15548 allow_undefined_flag_F77='${wl}-z,nodefs'
15549 archive_cmds_need_lc_F77=no
15550 hardcode_shlibpath_var_F77=no
15551 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15552 hardcode_libdir_separator_F77=':'
15553 link_all_deplibs_F77=yes
15554 export_dynamic_flag_spec_F77='${wl}-Bexport'
15555 runpath_var='LD_RUN_PATH'
15557 if test "$GCC" = yes; then
15558 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15559 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15561 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15562 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15567 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15568 hardcode_libdir_flag_spec_F77='-L$libdir'
15569 hardcode_shlibpath_var_F77=no
15578 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15579 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15580 test "$ld_shlibs_F77" = no && can_build_shared=no
15583 # Do we need to explicitly link libc?
15585 case "x$archive_cmds_need_lc_F77" in
15587 # Assume -lc should be added
15588 archive_cmds_need_lc_F77=yes
15590 if test "$enable_shared" = yes && test "$GCC" = yes; then
15591 case $archive_cmds_F77 in
15593 # FIXME: we may have to deal with multi-command sequences.
15596 # Test whether the compiler implicitly links with -lc since on some
15597 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15598 # to ld, don't add -lc before -lgcc.
15599 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15600 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15602 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15605 (eval $ac_compile) 2>&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } 2>conftest.err; then
15611 libobjs=conftest.$ac_objext
15613 wl=$lt_prog_compiler_wl_F77
15614 pic_flag=$lt_prog_compiler_pic_F77
15620 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15621 allow_undefined_flag_F77=
15622 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15623 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }
15628 archive_cmds_need_lc_F77=no
15630 archive_cmds_need_lc_F77=yes
15632 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15634 cat conftest.err 1>&5
15637 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15638 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15645 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15646 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15647 library_names_spec=
15648 libname_spec='lib$name'
15652 postuninstall_cmds=
15656 shlibpath_overrides_runpath=unknown
15658 dynamic_linker="$host_os ld.so"
15659 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15660 if test "$GCC" = yes; then
15661 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15662 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15663 # if the path contains ";" then we assume it to be the separator
15664 # otherwise default to the standard path separator (i.e. ":") - it is
15665 # assumed that no part of a normal pathname contains ";" but that should
15666 # okay in the real world where ";" in dirpaths is itself problematic.
15667 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15669 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15672 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15674 need_lib_prefix=unknown
15675 hardcode_into_libs=no
15677 # when you set need_version to no, make sure it does not cause -set_version
15678 # flags to be left without arguments
15679 need_version=unknown
15684 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15685 shlibpath_var=LIBPATH
15687 # AIX 3 has no versioning support, so we append a major version to the name.
15688 soname_spec='${libname}${release}${shared_ext}$major'
15695 hardcode_into_libs=yes
15696 if test "$host_cpu" = ia64; then
15697 # AIX 5 supports IA64
15698 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15699 shlibpath_var=LD_LIBRARY_PATH
15701 # With GCC up to 2.95.x, collect2 would create an import file
15702 # for dependence libraries. The import file would start with
15703 # the line `#! .'. This would cause the generated library to
15704 # depend on `.', always an invalid library. This was fixed in
15705 # development snapshots of GCC prior to 3.0.
15707 aix4 | aix4.[01] | aix4.[01].*)
15708 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15710 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15713 can_build_shared=no
15717 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15718 # soname into executable. Probably we can add versioning support to
15719 # collect2, so additional links can be useful in future.
15720 if test "$aix_use_runtimelinking" = yes; then
15721 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15722 # instead of lib<name>.a to let people know that these are not
15723 # typical AIX shared libraries.
15724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15726 # We preserve .a as extension for shared libraries through AIX4.2
15727 # and later when we are not doing run time linking.
15728 library_names_spec='${libname}${release}.a $libname.a'
15729 soname_spec='${libname}${release}${shared_ext}$major'
15731 shlibpath_var=LIBPATH
15736 library_names_spec='$libname.ixlibrary $libname.a'
15737 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15738 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'
15742 library_names_spec='${libname}${shared_ext}'
15743 dynamic_linker="$host_os ld.so"
15744 shlibpath_var=LIBRARY_PATH
15750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15751 soname_spec='${libname}${release}${shared_ext}$major'
15752 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15753 shlibpath_var=LD_LIBRARY_PATH
15754 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15755 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15756 # the default ld.so.conf also contains /usr/contrib/lib and
15757 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15758 # libtool to hard-code these into programs
15761 cygwin* | mingw* | pw32*)
15762 version_type=windows
15767 case $GCC,$host_os in
15768 yes,cygwin* | yes,mingw* | yes,pw32*)
15769 library_names_spec='$libname.dll.a'
15770 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15771 postinstall_cmds='base_file=`basename \${file}`~
15772 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15773 dldir=$destdir/`dirname \$dlpath`~
15774 test -d \$dldir || mkdir -p \$dldir~
15775 $install_prog $dir/$dlname \$dldir/$dlname~
15776 chmod a+x \$dldir/$dlname'
15777 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15778 dlpath=$dir/\$dldll~
15780 shlibpath_overrides_runpath=yes
15784 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15785 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15786 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15789 # MinGW DLLs use traditional 'lib' prefix
15790 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15791 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15792 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15793 # It is most probably a Windows format PATH printed by
15794 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15795 # path with ; separators, and with drive letters. We can handle the
15796 # drive letters (cygwin fileutils understands them), so leave them,
15797 # especially as we might pass files found there to a mingw objdump,
15798 # which wouldn't understand a cygwinified path. Ahh.
15799 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15801 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15805 # pw32 DLLs use 'pw' prefix rather than 'lib'
15806 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15812 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15815 dynamic_linker='Win32 ld.exe'
15816 # FIXME: first we should search . and the directory the executable is in
15820 darwin* | rhapsody*)
15821 dynamic_linker="$host_os dyld"
15822 version_type=darwin
15825 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15826 soname_spec='${libname}${release}${major}$shared_ext'
15827 shlibpath_overrides_runpath=yes
15828 shlibpath_var=DYLD_LIBRARY_PATH
15829 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15830 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15831 if test "$GCC" = yes; then
15832 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15834 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15836 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15844 soname_spec='${libname}${release}${shared_ext}$major'
15845 shlibpath_var=LD_LIBRARY_PATH
15856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15857 soname_spec='${libname}${release}${shared_ext}$major'
15858 shlibpath_var=LD_LIBRARY_PATH
15859 shlibpath_overrides_runpath=no
15860 hardcode_into_libs=yes
15861 dynamic_linker='GNU ld.so'
15864 freebsd* | dragonfly*)
15865 # DragonFly does not have aout. When/if they implement a new
15866 # versioning mechanism, adjust this.
15867 if test -x /usr/bin/objformat; then
15868 objformat=`/usr/bin/objformat`
15871 freebsd[123]*) objformat=aout ;;
15872 *) objformat=elf ;;
15875 version_type=freebsd-$objformat
15876 case $version_type in
15878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15883 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15887 shlibpath_var=LD_LIBRARY_PATH
15890 shlibpath_overrides_runpath=yes
15892 freebsd3.[01]* | freebsdelf3.[01]*)
15893 shlibpath_overrides_runpath=yes
15894 hardcode_into_libs=yes
15896 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15897 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15898 shlibpath_overrides_runpath=no
15899 hardcode_into_libs=yes
15901 freebsd*) # from 4.6 on
15902 shlibpath_overrides_runpath=yes
15903 hardcode_into_libs=yes
15912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15913 soname_spec='${libname}${release}${shared_ext}$major'
15914 shlibpath_var=LD_LIBRARY_PATH
15915 hardcode_into_libs=yes
15918 hpux9* | hpux10* | hpux11*)
15919 # Give a soname corresponding to the major version so that dld.sl refuses to
15920 # link against other versions.
15927 hardcode_into_libs=yes
15928 dynamic_linker="$host_os dld.so"
15929 shlibpath_var=LD_LIBRARY_PATH
15930 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15932 soname_spec='${libname}${release}${shared_ext}$major'
15933 if test "X$HPUX_IA64_MODE" = X32; then
15934 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15936 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15938 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15942 hardcode_into_libs=yes
15943 dynamic_linker="$host_os dld.sl"
15944 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15945 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15947 soname_spec='${libname}${release}${shared_ext}$major'
15948 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15949 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15953 dynamic_linker="$host_os dld.sl"
15954 shlibpath_var=SHLIB_PATH
15955 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15957 soname_spec='${libname}${release}${shared_ext}$major'
15960 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15961 postinstall_cmds='chmod 555 $lib'
15968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15969 soname_spec='${libname}${release}${shared_ext}$major'
15970 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15971 shlibpath_var=LD_LIBRARY_PATH
15972 shlibpath_overrides_runpath=no
15973 hardcode_into_libs=yes
15976 irix5* | irix6* | nonstopux*)
15978 nonstopux*) version_type=nonstopux ;;
15980 if test "$lt_cv_prog_gnu_ld" = yes; then
15988 soname_spec='${libname}${release}${shared_ext}$major'
15989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15991 irix5* | nonstopux*)
15992 libsuff= shlibsuff=
15995 case $LD in # libtool.m4 will add one of these switches to LD
15996 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15997 libsuff= shlibsuff= libmagic=32-bit;;
15998 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15999 libsuff=32 shlibsuff=N32 libmagic=N32;;
16000 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16001 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16002 *) libsuff= shlibsuff= libmagic=never-match;;
16006 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16007 shlibpath_overrides_runpath=no
16008 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16009 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16010 hardcode_into_libs=yes
16013 # No shared lib support for Linux oldld, aout, or coff.
16014 linux*oldld* | linux*aout* | linux*coff*)
16018 # This must be Linux ELF.
16023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16024 soname_spec='${libname}${release}${shared_ext}$major'
16025 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16026 shlibpath_var=LD_LIBRARY_PATH
16027 shlibpath_overrides_runpath=no
16028 # This implies no fast_install, which is unacceptable.
16029 # Some rework will be needed to allow for fast_install
16030 # before this can be enabled.
16031 hardcode_into_libs=yes
16033 # find out which ABI we are using
16035 case "$host_cpu" in
16036 x86_64*|s390x*|powerpc64*)
16037 echo '#line 16037 "configure"' > conftest.$ac_ext
16038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16039 (eval $ac_compile) 2>&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); }; then
16043 case `/usr/bin/file conftest.$ac_objext` in
16046 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16054 # Append ld.so.conf contents to the search path
16055 if test -f /etc/ld.so.conf; then
16056 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16057 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16060 # We used to test for /lib/ld.so.1 and disable shared libraries on
16061 # powerpc, because MkLinux only supported shared libraries with the
16062 # GNU dynamic linker. Since this was broken with cross compilers,
16063 # most powerpc-linux boxes support dynamic linking these days and
16064 # people can always --disable-shared, the test was removed, and we
16065 # assume the GNU/Linux dynamic linker is in use.
16066 dynamic_linker='GNU/Linux ld.so'
16073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16074 soname_spec='${libname}${release}${shared_ext}$major'
16075 shlibpath_var=LD_LIBRARY_PATH
16076 shlibpath_overrides_runpath=no
16077 hardcode_into_libs=yes
16078 dynamic_linker='GNU ld.so'
16085 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16087 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16088 dynamic_linker='NetBSD (a.out) ld.so'
16090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16091 soname_spec='${libname}${release}${shared_ext}$major'
16092 dynamic_linker='NetBSD ld.elf_so'
16094 shlibpath_var=LD_LIBRARY_PATH
16095 shlibpath_overrides_runpath=yes
16096 hardcode_into_libs=yes
16101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16102 shlibpath_var=LD_LIBRARY_PATH
16103 shlibpath_overrides_runpath=yes
16110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16111 soname_spec='${libname}${release}${shared_ext}$major'
16112 shlibpath_var=LD_LIBRARY_PATH
16113 shlibpath_overrides_runpath=yes
16118 sys_lib_dlsearch_path_spec="/usr/lib"
16120 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16122 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16123 *) need_version=no ;;
16125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16126 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16127 shlibpath_var=LD_LIBRARY_PATH
16128 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16130 openbsd2.[89] | openbsd2.[89].*)
16131 shlibpath_overrides_runpath=no
16134 shlibpath_overrides_runpath=yes
16138 shlibpath_overrides_runpath=yes
16143 libname_spec='$name'
16146 library_names_spec='$libname${shared_ext} $libname.a'
16147 dynamic_linker='OS/2 ld.exe'
16148 shlibpath_var=LIBPATH
16151 osf3* | osf4* | osf5*)
16155 soname_spec='${libname}${release}${shared_ext}$major'
16156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16157 shlibpath_var=LD_LIBRARY_PATH
16158 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16159 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16167 soname_spec='${libname}${release}${shared_ext}$major'
16168 shlibpath_var=LD_LIBRARY_PATH
16169 shlibpath_overrides_runpath=yes
16170 hardcode_into_libs=yes
16171 # ldd complains unless libraries are executable
16172 postinstall_cmds='chmod +x $lib'
16177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16178 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16179 shlibpath_var=LD_LIBRARY_PATH
16180 shlibpath_overrides_runpath=yes
16181 if test "$with_gnu_ld" = yes; then
16189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16190 soname_spec='${libname}${release}${shared_ext}$major'
16191 shlibpath_var=LD_LIBRARY_PATH
16192 case $host_vendor in
16194 shlibpath_overrides_runpath=no
16196 export_dynamic_flag_spec='${wl}-Blargedynsym'
16197 runpath_var=LD_RUN_PATH
16205 shlibpath_overrides_runpath=no
16206 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16212 if test -d /usr/nec ;then
16214 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16215 soname_spec='$libname${shared_ext}.$major'
16216 shlibpath_var=LD_LIBRARY_PATH
16220 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16221 version_type=freebsd-elf
16224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16225 soname_spec='${libname}${release}${shared_ext}$major'
16226 shlibpath_var=LD_LIBRARY_PATH
16227 hardcode_into_libs=yes
16228 if test "$with_gnu_ld" = yes; then
16229 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16230 shlibpath_overrides_runpath=no
16232 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16233 shlibpath_overrides_runpath=yes
16236 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16240 sys_lib_dlsearch_path_spec='/usr/lib'
16245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16246 soname_spec='${libname}${release}${shared_ext}$major'
16247 shlibpath_var=LD_LIBRARY_PATH
16254 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16255 echo "${ECHO_T}$dynamic_linker" >&6; }
16256 test "$dynamic_linker" = no && can_build_shared=no
16258 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16259 if test "$GCC" = yes; then
16260 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16263 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16264 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16265 hardcode_action_F77=
16266 if test -n "$hardcode_libdir_flag_spec_F77" || \
16267 test -n "$runpath_var_F77" || \
16268 test "X$hardcode_automatic_F77" = "Xyes" ; then
16270 # We can hardcode non-existant directories.
16271 if test "$hardcode_direct_F77" != no &&
16272 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16273 # have to relink, otherwise we might link with an installed library
16274 # when we should be linking with a yet-to-be-installed one
16275 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16276 test "$hardcode_minus_L_F77" != no; then
16277 # Linking always hardcodes the temporary library directory.
16278 hardcode_action_F77=relink
16280 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16281 hardcode_action_F77=immediate
16284 # We cannot hardcode anything, or else we can only hardcode existing
16286 hardcode_action_F77=unsupported
16288 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16289 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16291 if test "$hardcode_action_F77" = relink; then
16292 # Fast installation is not supported
16293 enable_fast_install=no
16294 elif test "$shlibpath_overrides_runpath" = yes ||
16295 test "$enable_shared" = no; then
16296 # Fast installation is not necessary
16297 enable_fast_install=needless
16301 # The else clause should only fire when bootstrapping the
16302 # libtool distribution, otherwise you forgot to ship ltmain.sh
16303 # with your package, and you will get complaints that there are
16304 # no rules to generate ltmain.sh.
16305 if test -f "$ltmain"; then
16306 # See if we are running on zsh, and set the options which allow our commands through
16307 # without removal of \ escapes.
16308 if test -n "${ZSH_VERSION+set}" ; then
16309 setopt NO_GLOB_SUBST
16311 # Now quote all the things that may contain metacharacters while being
16312 # careful not to overquote the AC_SUBSTed values. We take copies of the
16313 # variables and quote the copies for generation of the libtool script.
16314 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16316 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16317 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16318 deplibs_check_method reload_flag reload_cmds need_locks \
16319 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16320 lt_cv_sys_global_symbol_to_c_name_address \
16321 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16322 old_postinstall_cmds old_postuninstall_cmds \
16326 lt_prog_compiler_wl_F77 \
16327 lt_prog_compiler_pic_F77 \
16328 lt_prog_compiler_static_F77 \
16329 lt_prog_compiler_no_builtin_flag_F77 \
16330 export_dynamic_flag_spec_F77 \
16331 thread_safe_flag_spec_F77 \
16332 whole_archive_flag_spec_F77 \
16333 enable_shared_with_static_runtimes_F77 \
16334 old_archive_cmds_F77 \
16335 old_archive_from_new_cmds_F77 \
16336 predep_objects_F77 \
16337 postdep_objects_F77 \
16340 compiler_lib_search_path_F77 \
16342 archive_expsym_cmds_F77 \
16343 postinstall_cmds_F77 \
16344 postuninstall_cmds_F77 \
16345 old_archive_from_expsyms_cmds_F77 \
16346 allow_undefined_flag_F77 \
16347 no_undefined_flag_F77 \
16348 export_symbols_cmds_F77 \
16349 hardcode_libdir_flag_spec_F77 \
16350 hardcode_libdir_flag_spec_ld_F77 \
16351 hardcode_libdir_separator_F77 \
16352 hardcode_automatic_F77 \
16354 module_expsym_cmds_F77 \
16355 lt_cv_prog_compiler_c_o_F77 \
16356 exclude_expsyms_F77 \
16357 include_expsyms_F77; do
16360 old_archive_cmds_F77 | \
16361 old_archive_from_new_cmds_F77 | \
16362 archive_cmds_F77 | \
16363 archive_expsym_cmds_F77 | \
16364 module_cmds_F77 | \
16365 module_expsym_cmds_F77 | \
16366 old_archive_from_expsyms_cmds_F77 | \
16367 export_symbols_cmds_F77 | \
16368 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16369 postinstall_cmds | postuninstall_cmds | \
16370 old_postinstall_cmds | old_postuninstall_cmds | \
16371 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16372 # Double-quote double-evaled strings.
16373 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16376 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16382 *'\$0 --fallback-echo"')
16383 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16389 cat <<__EOF__ >> "$cfgfile"
16390 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16392 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16394 # Shell to use when invoking shell scripts.
16397 # Whether or not to build shared libraries.
16398 build_libtool_libs=$enable_shared
16400 # Whether or not to build static libraries.
16401 build_old_libs=$enable_static
16403 # Whether or not to add -lc for building shared libraries.
16404 build_libtool_need_lc=$archive_cmds_need_lc_F77
16406 # Whether or not to disallow shared libs when runtime libs are static
16407 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16409 # Whether or not to optimize for fast installation.
16410 fast_install=$enable_fast_install
16413 host_alias=$host_alias
16417 # The build system.
16418 build_alias=$build_alias
16422 # An echo program that does not interpret backslashes.
16427 AR_FLAGS=$lt_AR_FLAGS
16432 # LTCC compiler flags.
16433 LTCFLAGS=$lt_LTCFLAGS
16435 # A language-specific compiler.
16436 CC=$lt_compiler_F77
16438 # Is the compiler the GNU C compiler?
16444 # The linker used to build libraries.
16447 # Whether we need hard or soft links.
16450 # A BSD-compatible nm program.
16453 # A symbol stripping program
16456 # Used to examine libraries when file_magic_cmd begins "file"
16457 MAGIC_CMD=$MAGIC_CMD
16459 # Used on cygwin: DLL creation program.
16462 # Used on cygwin: object dumper.
16465 # Used on cygwin: assembler.
16468 # The name of the directory that contains temporary libtool files.
16471 # How to create reloadable object files.
16472 reload_flag=$lt_reload_flag
16473 reload_cmds=$lt_reload_cmds
16475 # How to pass a linker flag through the compiler.
16476 wl=$lt_lt_prog_compiler_wl_F77
16478 # Object file suffix (normally "o").
16479 objext="$ac_objext"
16481 # Old archive suffix (normally "a").
16484 # Shared library suffix (normally ".so").
16485 shrext_cmds='$shrext_cmds'
16487 # Executable file suffix (normally "").
16490 # Additional compiler flags for building library objects.
16491 pic_flag=$lt_lt_prog_compiler_pic_F77
16494 # What is the maximum length of a command?
16495 max_cmd_len=$lt_cv_sys_max_cmd_len
16497 # Does compiler simultaneously support -c and -o options?
16498 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16500 # Must we lock files when doing compilation?
16501 need_locks=$lt_need_locks
16503 # Do we need the lib prefix for modules?
16504 need_lib_prefix=$need_lib_prefix
16506 # Do we need a version for libraries?
16507 need_version=$need_version
16509 # Whether dlopen is supported.
16510 dlopen_support=$enable_dlopen
16512 # Whether dlopen of programs is supported.
16513 dlopen_self=$enable_dlopen_self
16515 # Whether dlopen of statically linked programs is supported.
16516 dlopen_self_static=$enable_dlopen_self_static
16518 # Compiler flag to prevent dynamic linking.
16519 link_static_flag=$lt_lt_prog_compiler_static_F77
16521 # Compiler flag to turn off builtin functions.
16522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16524 # Compiler flag to allow reflexive dlopens.
16525 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16527 # Compiler flag to generate shared objects directly from archives.
16528 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16530 # Compiler flag to generate thread-safe objects.
16531 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16533 # Library versioning type.
16534 version_type=$version_type
16536 # Format of library name prefix.
16537 libname_spec=$lt_libname_spec
16539 # List of archive names. First name is the real one, the rest are links.
16540 # The last name is the one that the linker finds with -lNAME.
16541 library_names_spec=$lt_library_names_spec
16543 # The coded name of the library, if different from the real name.
16544 soname_spec=$lt_soname_spec
16546 # Commands used to build and install an old-style archive.
16548 old_archive_cmds=$lt_old_archive_cmds_F77
16549 old_postinstall_cmds=$lt_old_postinstall_cmds
16550 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16552 # Create an old-style archive from a shared archive.
16553 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16555 # Create a temporary old-style archive to link instead of a shared archive.
16556 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16558 # Commands used to build and install a shared archive.
16559 archive_cmds=$lt_archive_cmds_F77
16560 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16561 postinstall_cmds=$lt_postinstall_cmds
16562 postuninstall_cmds=$lt_postuninstall_cmds
16564 # Commands used to build a loadable module (assumed same as above if empty)
16565 module_cmds=$lt_module_cmds_F77
16566 module_expsym_cmds=$lt_module_expsym_cmds_F77
16568 # Commands to strip libraries.
16569 old_striplib=$lt_old_striplib
16570 striplib=$lt_striplib
16572 # Dependencies to place before the objects being linked to create a
16574 predep_objects=$lt_predep_objects_F77
16576 # Dependencies to place after the objects being linked to create a
16578 postdep_objects=$lt_postdep_objects_F77
16580 # Dependencies to place before the objects being linked to create a
16582 predeps=$lt_predeps_F77
16584 # Dependencies to place after the objects being linked to create a
16586 postdeps=$lt_postdeps_F77
16588 # The library search path used internally by the compiler when linking
16589 # a shared library.
16590 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16592 # Method to check whether dependent libraries are shared objects.
16593 deplibs_check_method=$lt_deplibs_check_method
16595 # Command to use when deplibs_check_method == file_magic.
16596 file_magic_cmd=$lt_file_magic_cmd
16598 # Flag that allows shared libraries with undefined symbols to be built.
16599 allow_undefined_flag=$lt_allow_undefined_flag_F77
16601 # Flag that forces no undefined symbols.
16602 no_undefined_flag=$lt_no_undefined_flag_F77
16604 # Commands used to finish a libtool library installation in a directory.
16605 finish_cmds=$lt_finish_cmds
16607 # Same as above, but a single script fragment to be evaled but not shown.
16608 finish_eval=$lt_finish_eval
16610 # Take the output of nm and produce a listing of raw symbols and C names.
16611 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16613 # Transform the output of nm in a proper C declaration
16614 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16616 # Transform the output of nm in a C name address pair
16617 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16619 # This is the shared library runtime path variable.
16620 runpath_var=$runpath_var
16622 # This is the shared library path variable.
16623 shlibpath_var=$shlibpath_var
16625 # Is shlibpath searched before the hard-coded library search path?
16626 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16628 # How to hardcode a shared library path into an executable.
16629 hardcode_action=$hardcode_action_F77
16631 # Whether we should hardcode library paths into libraries.
16632 hardcode_into_libs=$hardcode_into_libs
16634 # Flag to hardcode \$libdir into a binary during linking.
16635 # This must work even if \$libdir does not exist.
16636 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16638 # If ld is used when linking, flag to hardcode \$libdir into
16639 # a binary during linking. This must work even if \$libdir does
16641 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16643 # Whether we need a single -rpath flag with a separated argument.
16644 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16646 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16647 # resulting binary.
16648 hardcode_direct=$hardcode_direct_F77
16650 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16651 # resulting binary.
16652 hardcode_minus_L=$hardcode_minus_L_F77
16654 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16655 # the resulting binary.
16656 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16658 # Set to yes if building a shared library automatically hardcodes DIR into the library
16659 # and all subsequent libraries and executables linked against it.
16660 hardcode_automatic=$hardcode_automatic_F77
16662 # Variables whose values should be saved in libtool wrapper scripts and
16663 # restored at relink time.
16664 variables_saved_for_relink="$variables_saved_for_relink"
16666 # Whether libtool must link a program against all its dependency libraries.
16667 link_all_deplibs=$link_all_deplibs_F77
16669 # Compile-time system search path for libraries
16670 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16672 # Run-time system search path for libraries
16673 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16675 # Fix the shell variable \$srcfile for the compiler.
16676 fix_srcfile_path="$fix_srcfile_path_F77"
16678 # Set to yes if exported symbols are required.
16679 always_export_symbols=$always_export_symbols_F77
16681 # The commands to list exported symbols.
16682 export_symbols_cmds=$lt_export_symbols_cmds_F77
16684 # The commands to extract the exported symbol list from a shared archive.
16685 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16687 # Symbols that should not be listed in the preloaded symbols.
16688 exclude_expsyms=$lt_exclude_expsyms_F77
16690 # Symbols that must always be exported.
16691 include_expsyms=$lt_include_expsyms_F77
16693 # ### END LIBTOOL TAG CONFIG: $tagname
16699 # If there is no Makefile yet, we rely on a make rule to execute
16700 # `config.status --recheck' to rerun these tests and create the
16701 # libtool script then.
16702 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16703 if test -f "$ltmain_in"; then
16704 test -f Makefile && make "$ltmain"
16710 ac_cpp='$CPP $CPPFLAGS'
16711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16723 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16726 # Source file extension for Java test sources.
16729 # Object file extension for compiled Java test sources.
16733 # Code to be used in simple compile tests
16734 lt_simple_compile_test_code="class foo {}\n"
16736 # Code to be used in simple link tests
16737 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16739 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16741 # If no C compiler was specified, use CC.
16744 # If no C compiler flags were specified, use CFLAGS.
16745 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16747 # Allow CC to be a program name with arguments.
16751 # save warnings/boilerplate of simple test code
16752 ac_outfile=conftest.$ac_objext
16753 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16754 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16755 _lt_compiler_boilerplate=`cat conftest.err`
16758 ac_outfile=conftest.$ac_objext
16759 printf "$lt_simple_link_test_code" >conftest.$ac_ext
16760 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16761 _lt_linker_boilerplate=`cat conftest.err`
16765 # Allow CC to be a program name with arguments.
16770 for cc_temp in $compiler""; do
16772 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16773 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16778 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16781 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16782 archive_cmds_need_lc_GCJ=no
16784 old_archive_cmds_GCJ=$old_archive_cmds
16787 lt_prog_compiler_no_builtin_flag_GCJ=
16789 if test "$GCC" = yes; then
16790 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16793 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16794 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16795 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16796 echo $ECHO_N "(cached) $ECHO_C" >&6
16798 lt_cv_prog_compiler_rtti_exceptions=no
16799 ac_outfile=conftest.$ac_objext
16800 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16801 lt_compiler_flag="-fno-rtti -fno-exceptions"
16802 # Insert the option either (1) after the last *FLAGS variable, or
16803 # (2) before a word containing "conftest.", or (3) at the end.
16804 # Note that $ac_compile itself does not contain backslashes and begins
16805 # with a dollar sign (not a hyphen), so the echo should work correctly.
16806 # The option is referenced via a variable to avoid confusing sed.
16807 lt_compile=`echo "$ac_compile" | $SED \
16808 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16810 -e 's:$: $lt_compiler_flag:'`
16811 (eval echo "\"\$as_me:16811: $lt_compile\"" >&5)
16812 (eval "$lt_compile" 2>conftest.err)
16814 cat conftest.err >&5
16815 echo "$as_me:16815: \$? = $ac_status" >&5
16816 if (exit $ac_status) && test -s "$ac_outfile"; then
16817 # The compiler can only warn and ignore the option if not recognized
16818 # So say no if there are warnings other than the usual output.
16819 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16820 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16821 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16822 lt_cv_prog_compiler_rtti_exceptions=yes
16828 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16829 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16831 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16832 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16839 lt_prog_compiler_wl_GCJ=
16840 lt_prog_compiler_pic_GCJ=
16841 lt_prog_compiler_static_GCJ=
16843 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16844 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16846 if test "$GCC" = yes; then
16847 lt_prog_compiler_wl_GCJ='-Wl,'
16848 lt_prog_compiler_static_GCJ='-static'
16852 # All AIX code is PIC.
16853 if test "$host_cpu" = ia64; then
16854 # AIX 5 now supports IA64 processor
16855 lt_prog_compiler_static_GCJ='-Bstatic'
16860 # FIXME: we need at least 68020 code to build shared libraries, but
16861 # adding the `-m68020' flag to GCC prevents building anything better,
16863 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16866 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16867 # PIC is the default for these OSes.
16870 mingw* | pw32* | os2*)
16871 # This hack is so that the source file can tell whether it is being
16872 # built for inclusion in a dll (and should export symbols for example).
16873 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16876 darwin* | rhapsody*)
16877 # PIC is the default on this platform
16878 # Common symbols not allowed in MH_DYLIB files
16879 lt_prog_compiler_pic_GCJ='-fno-common'
16883 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16884 # Instead, we relocate shared libraries at runtime.
16888 # Just because we use GCC doesn't mean we suddenly get shared libraries
16889 # on systems that don't support them.
16890 lt_prog_compiler_can_build_shared_GCJ=no
16895 if test -d /usr/nec; then
16896 lt_prog_compiler_pic_GCJ=-Kconform_pic
16901 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16902 # not for PA HP-UX.
16908 lt_prog_compiler_pic_GCJ='-fPIC'
16914 lt_prog_compiler_pic_GCJ='-fPIC'
16918 # PORTME Check for flag to pass linker flags through the system compiler.
16921 lt_prog_compiler_wl_GCJ='-Wl,'
16922 if test "$host_cpu" = ia64; then
16923 # AIX 5 now supports IA64 processor
16924 lt_prog_compiler_static_GCJ='-Bstatic'
16926 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16930 # PIC is the default on this platform
16931 # Common symbols not allowed in MH_DYLIB files
16932 case $cc_basename in
16934 lt_prog_compiler_pic_GCJ='-qnocommon'
16935 lt_prog_compiler_wl_GCJ='-Wl,'
16940 mingw* | pw32* | os2*)
16941 # This hack is so that the source file can tell whether it is being
16942 # built for inclusion in a dll (and should export symbols for example).
16943 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16946 hpux9* | hpux10* | hpux11*)
16947 lt_prog_compiler_wl_GCJ='-Wl,'
16948 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16949 # not for PA HP-UX.
16955 lt_prog_compiler_pic_GCJ='+Z'
16958 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16959 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16962 irix5* | irix6* | nonstopux*)
16963 lt_prog_compiler_wl_GCJ='-Wl,'
16964 # PIC (with -KPIC) is the default.
16965 lt_prog_compiler_static_GCJ='-non_shared'
16969 lt_prog_compiler_pic_GCJ='-KPIC'
16970 lt_prog_compiler_static_GCJ='-Bstatic'
16974 case $cc_basename in
16976 lt_prog_compiler_wl_GCJ='-Wl,'
16977 lt_prog_compiler_pic_GCJ='-KPIC'
16978 lt_prog_compiler_static_GCJ='-static'
16980 pgcc* | pgf77* | pgf90* | pgf95*)
16981 # Portland Group compilers (*not* the Pentium gcc compiler,
16982 # which looks to be a dead project)
16983 lt_prog_compiler_wl_GCJ='-Wl,'
16984 lt_prog_compiler_pic_GCJ='-fpic'
16985 lt_prog_compiler_static_GCJ='-Bstatic'
16988 lt_prog_compiler_wl_GCJ='-Wl,'
16989 # All Alpha code is PIC.
16990 lt_prog_compiler_static_GCJ='-non_shared'
16995 osf3* | osf4* | osf5*)
16996 lt_prog_compiler_wl_GCJ='-Wl,'
16997 # All OSF/1 code is PIC.
16998 lt_prog_compiler_static_GCJ='-non_shared'
17002 lt_prog_compiler_pic_GCJ='-KPIC'
17003 lt_prog_compiler_static_GCJ='-Bstatic'
17004 case $cc_basename in
17005 f77* | f90* | f95*)
17006 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17008 lt_prog_compiler_wl_GCJ='-Wl,';;
17013 lt_prog_compiler_wl_GCJ='-Qoption ld '
17014 lt_prog_compiler_pic_GCJ='-PIC'
17015 lt_prog_compiler_static_GCJ='-Bstatic'
17018 sysv4 | sysv4.2uw2* | sysv4.3*)
17019 lt_prog_compiler_wl_GCJ='-Wl,'
17020 lt_prog_compiler_pic_GCJ='-KPIC'
17021 lt_prog_compiler_static_GCJ='-Bstatic'
17025 if test -d /usr/nec ;then
17026 lt_prog_compiler_pic_GCJ='-Kconform_pic'
17027 lt_prog_compiler_static_GCJ='-Bstatic'
17031 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17032 lt_prog_compiler_wl_GCJ='-Wl,'
17033 lt_prog_compiler_pic_GCJ='-KPIC'
17034 lt_prog_compiler_static_GCJ='-Bstatic'
17038 lt_prog_compiler_wl_GCJ='-Wl,'
17039 lt_prog_compiler_can_build_shared_GCJ=no
17043 lt_prog_compiler_pic_GCJ='-pic'
17044 lt_prog_compiler_static_GCJ='-Bstatic'
17048 lt_prog_compiler_can_build_shared_GCJ=no
17053 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17054 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17057 # Check to make sure the PIC flag actually works.
17059 if test -n "$lt_prog_compiler_pic_GCJ"; then
17061 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17062 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17063 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17066 lt_prog_compiler_pic_works_GCJ=no
17067 ac_outfile=conftest.$ac_objext
17068 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17069 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17070 # Insert the option either (1) after the last *FLAGS variable, or
17071 # (2) before a word containing "conftest.", or (3) at the end.
17072 # Note that $ac_compile itself does not contain backslashes and begins
17073 # with a dollar sign (not a hyphen), so the echo should work correctly.
17074 # The option is referenced via a variable to avoid confusing sed.
17075 lt_compile=`echo "$ac_compile" | $SED \
17076 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17077 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17078 -e 's:$: $lt_compiler_flag:'`
17079 (eval echo "\"\$as_me:17079: $lt_compile\"" >&5)
17080 (eval "$lt_compile" 2>conftest.err)
17082 cat conftest.err >&5
17083 echo "$as_me:17083: \$? = $ac_status" >&5
17084 if (exit $ac_status) && test -s "$ac_outfile"; then
17085 # The compiler can only warn and ignore the option if not recognized
17086 # So say no if there are warnings other than the usual output.
17087 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17088 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17089 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17090 lt_prog_compiler_pic_works_GCJ=yes
17096 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17097 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17099 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17100 case $lt_prog_compiler_pic_GCJ in
17102 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17105 lt_prog_compiler_pic_GCJ=
17106 lt_prog_compiler_can_build_shared_GCJ=no
17111 # For platforms which do not support PIC, -DPIC is meaningless:
17113 lt_prog_compiler_pic_GCJ=
17116 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17121 # Check to make sure the static flag actually works.
17123 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17124 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17125 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17126 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17127 echo $ECHO_N "(cached) $ECHO_C" >&6
17129 lt_prog_compiler_static_works_GCJ=no
17130 save_LDFLAGS="$LDFLAGS"
17131 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17132 printf "$lt_simple_link_test_code" > conftest.$ac_ext
17133 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17134 # The linker can only warn and ignore the option if not recognized
17135 # So say no if there are warnings
17136 if test -s conftest.err; then
17137 # Append any errors to the config.log.
17138 cat conftest.err 1>&5
17139 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17140 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17141 if diff conftest.exp conftest.er2 >/dev/null; then
17142 lt_prog_compiler_static_works_GCJ=yes
17145 lt_prog_compiler_static_works_GCJ=yes
17149 LDFLAGS="$save_LDFLAGS"
17152 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17153 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17155 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17158 lt_prog_compiler_static_GCJ=
17162 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17163 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17164 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 lt_cv_prog_compiler_c_o_GCJ=no
17168 $rm -r conftest 2>/dev/null
17172 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17174 lt_compiler_flag="-o out/conftest2.$ac_objext"
17175 # Insert the option either (1) after the last *FLAGS variable, or
17176 # (2) before a word containing "conftest.", or (3) at the end.
17177 # Note that $ac_compile itself does not contain backslashes and begins
17178 # with a dollar sign (not a hyphen), so the echo should work correctly.
17179 lt_compile=`echo "$ac_compile" | $SED \
17180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17182 -e 's:$: $lt_compiler_flag:'`
17183 (eval echo "\"\$as_me:17183: $lt_compile\"" >&5)
17184 (eval "$lt_compile" 2>out/conftest.err)
17186 cat out/conftest.err >&5
17187 echo "$as_me:17187: \$? = $ac_status" >&5
17188 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17190 # The compiler can only warn and ignore the option if not recognized
17191 # So say no if there are warnings
17192 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17193 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17194 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17195 lt_cv_prog_compiler_c_o_GCJ=yes
17200 # SGI C++ compiler will create directory out/ii_files/ for
17201 # template instantiation
17202 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17203 $rm out/* && rmdir out
17209 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17210 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17213 hard_links="nottested"
17214 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17215 # do not overwrite the value of need_locks provided by the user
17216 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17217 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17220 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17222 ln conftest.a conftest.b 2>&5 || hard_links=no
17223 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17224 { echo "$as_me:$LINENO: result: $hard_links" >&5
17225 echo "${ECHO_T}$hard_links" >&6; }
17226 if test "$hard_links" = no; then
17227 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17228 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17235 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17236 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17239 allow_undefined_flag_GCJ=
17240 enable_shared_with_static_runtimes_GCJ=no
17242 archive_expsym_cmds_GCJ=
17243 old_archive_From_new_cmds_GCJ=
17244 old_archive_from_expsyms_cmds_GCJ=
17245 export_dynamic_flag_spec_GCJ=
17246 whole_archive_flag_spec_GCJ=
17247 thread_safe_flag_spec_GCJ=
17248 hardcode_libdir_flag_spec_GCJ=
17249 hardcode_libdir_flag_spec_ld_GCJ=
17250 hardcode_libdir_separator_GCJ=
17251 hardcode_direct_GCJ=no
17252 hardcode_minus_L_GCJ=no
17253 hardcode_shlibpath_var_GCJ=unsupported
17254 link_all_deplibs_GCJ=unknown
17255 hardcode_automatic_GCJ=no
17257 module_expsym_cmds_GCJ=
17258 always_export_symbols_GCJ=no
17259 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17260 # include_expsyms should be a list of space-separated symbols to be *always*
17261 # included in the symbol list
17262 include_expsyms_GCJ=
17263 # exclude_expsyms can be an extended regexp of symbols to exclude
17264 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17265 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17266 # as well as any symbol that contains `d'.
17267 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17268 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17269 # platforms (ab)use it in PIC code, but their linkers get confused if
17270 # the symbol is explicitly referenced. Since portable code cannot
17271 # rely on this symbol name, it's probably fine to never include it in
17272 # preloaded symbol tables.
17273 extract_expsyms_cmds=
17274 # Just being paranoid about ensuring that cc_basename is set.
17275 for cc_temp in $compiler""; do
17277 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17278 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17283 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17286 cygwin* | mingw* | pw32*)
17287 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17288 # When not using gcc, we currently assume that we are using
17289 # Microsoft Visual C++.
17290 if test "$GCC" != yes; then
17295 # we just hope/assume this is gcc and not c89 (= MSVC++)
17304 if test "$with_gnu_ld" = yes; then
17305 # If archive_cmds runs LD, not CC, wlarc should be empty
17308 # Set some defaults for GNU ld with shared library support. These
17309 # are reset later if shared libraries are not supported. Putting them
17310 # here allows them to be overridden if necessary.
17311 runpath_var=LD_RUN_PATH
17312 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17313 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17314 # ancient GNU ld didn't support --whole-archive et. al.
17315 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17316 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17318 whole_archive_flag_spec_GCJ=
17320 supports_anon_versioning=no
17321 case `$LD -v 2>/dev/null` in
17322 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17323 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17324 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17325 *\ 2.11.*) ;; # other 2.11 versions
17326 *) supports_anon_versioning=yes ;;
17329 # See if GNU ld supports shared libraries.
17331 aix3* | aix4* | aix5*)
17332 # On AIX/PPC, the GNU linker is very broken
17333 if test "$host_cpu" != ia64; then
17337 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17338 *** to be unable to reliably create shared libraries on AIX.
17339 *** Therefore, libtool is disabling shared libraries support. If you
17340 *** really care for shared libraries, you may want to modify your PATH
17341 *** so that a non-GNU linker is found, and then restart.
17348 archive_cmds_GCJ='$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)'
17349 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17350 hardcode_minus_L_GCJ=yes
17352 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17353 # that the semantics of dynamic libraries on AmigaOS, at least up
17354 # to version 4, is to share data among multiple programs linked
17355 # with the same dynamic library. Since this doesn't match the
17356 # behavior of shared libraries on other platforms, we can't use
17362 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17363 allow_undefined_flag_GCJ=unsupported
17364 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17365 # support --undefined. This deserves some investigation. FIXME
17366 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17372 cygwin* | mingw* | pw32*)
17373 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17374 # as there is no search path for DLLs.
17375 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17376 allow_undefined_flag_GCJ=unsupported
17377 always_export_symbols_GCJ=no
17378 enable_shared_with_static_runtimes_GCJ=yes
17379 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17381 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17382 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17383 # If the export-symbols file already is a .def file (1st line
17384 # is EXPORTS), use it as is; otherwise, prepend...
17385 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17386 cp $export_symbols $output_objdir/$soname.def;
17388 echo EXPORTS > $output_objdir/$soname.def;
17389 cat $export_symbols >> $output_objdir/$soname.def;
17391 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17398 hardcode_direct_GCJ=no
17399 hardcode_shlibpath_var_GCJ=no
17400 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17401 export_dynamic_flag_spec_GCJ='${wl}-E'
17402 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17403 # Instead, shared libraries are loaded at an image base (0x10000000 by
17404 # default) and relocated if they conflict, which is a slow very memory
17405 # consuming and fragmenting process. To avoid this, we pick a random,
17406 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17407 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17408 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17409 archive_expsym_cmds_GCJ='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'
17413 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17415 case $cc_basename,$host_cpu in
17416 pgcc*) # Portland Group C compiler
17417 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17418 tmp_addflag=' $pic_flag'
17420 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17421 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17422 tmp_addflag=' $pic_flag -Mnomain' ;;
17423 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17424 tmp_addflag=' -i_dynamic' ;;
17425 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17426 tmp_addflag=' -i_dynamic -nofor_main' ;;
17427 ifc* | ifort*) # Intel Fortran compiler
17428 tmp_addflag=' -nofor_main' ;;
17430 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17432 if test $supports_anon_versioning = yes; then
17433 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17434 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17435 $echo "local: *; };" >> $output_objdir/$libname.ver~
17436 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17444 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17445 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17448 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17449 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17454 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17458 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17459 *** create shared libraries on Solaris systems. Therefore, libtool
17460 *** is disabling shared libraries support. We urge you to upgrade GNU
17461 *** binutils to release 2.9.1 or newer. Another option is to modify
17462 *** your PATH or compiler configuration so that the native linker is
17463 *** used, and then restart.
17466 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17467 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17468 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17474 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17475 case `$LD -v 2>&1` in
17476 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17480 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17481 *** reliably create shared libraries on SCO systems. Therefore, libtool
17482 *** is disabling shared libraries support. We urge you to upgrade GNU
17483 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17484 *** your PATH or compiler configuration so that the native linker is
17485 *** used, and then restart.
17490 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17491 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17492 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17493 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17502 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17504 hardcode_direct_GCJ=yes
17505 hardcode_shlibpath_var_GCJ=no
17509 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17510 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17511 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17518 if test "$ld_shlibs_GCJ" = no; then
17520 hardcode_libdir_flag_spec_GCJ=
17521 export_dynamic_flag_spec_GCJ=
17522 whole_archive_flag_spec_GCJ=
17525 # PORTME fill in a description of your system's linker (not GNU ld)
17528 allow_undefined_flag_GCJ=unsupported
17529 always_export_symbols_GCJ=yes
17530 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17531 # Note: this linker hardcodes the directories in LIBPATH if there
17532 # are no directories specified by -L.
17533 hardcode_minus_L_GCJ=yes
17534 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17535 # Neither direct hardcoding nor static linking is supported with a
17537 hardcode_direct_GCJ=unsupported
17542 if test "$host_cpu" = ia64; then
17543 # On IA64, the linker does run time linking by default, so we don't
17544 # have to do anything special.
17545 aix_use_runtimelinking=no
17546 exp_sym_flag='-Bexport'
17549 # If we're using GNU nm, then we don't want the "-C" option.
17550 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17551 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17552 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17554 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17556 aix_use_runtimelinking=no
17558 # Test if we are trying to use run time linking or normal
17559 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17560 # need to do runtime linking.
17561 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17562 for ld_flag in $LDFLAGS; do
17563 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17564 aix_use_runtimelinking=yes
17571 exp_sym_flag='-bexport'
17572 no_entry_flag='-bnoentry'
17575 # When large executables or shared objects are built, AIX ld can
17576 # have problems creating the table of contents. If linking a library
17577 # or program results in "error TOC overflow" add -mminimal-toc to
17578 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17579 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17581 archive_cmds_GCJ=''
17582 hardcode_direct_GCJ=yes
17583 hardcode_libdir_separator_GCJ=':'
17584 link_all_deplibs_GCJ=yes
17586 if test "$GCC" = yes; then
17587 case $host_os in aix4.[012]|aix4.[012].*)
17588 # We only want to do this on AIX 4.2 and lower, the check
17589 # below for broken collect2 doesn't work under 4.3+
17590 collect2name=`${CC} -print-prog-name=collect2`
17591 if test -f "$collect2name" && \
17592 strings "$collect2name" | grep resolve_lib_name >/dev/null
17594 # We have reworked collect2
17595 hardcode_direct_GCJ=yes
17597 # We have old collect2
17598 hardcode_direct_GCJ=unsupported
17599 # It fails to find uninstalled libraries when the uninstalled
17600 # path is not listed in the libpath. Setting hardcode_minus_L
17601 # to unsupported forces relinking
17602 hardcode_minus_L_GCJ=yes
17603 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17604 hardcode_libdir_separator_GCJ=
17608 shared_flag='-shared'
17609 if test "$aix_use_runtimelinking" = yes; then
17610 shared_flag="$shared_flag "'${wl}-G'
17614 if test "$host_cpu" = ia64; then
17615 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17616 # chokes on -Wl,-G. The following line is correct:
17619 if test "$aix_use_runtimelinking" = yes; then
17620 shared_flag='${wl}-G'
17622 shared_flag='${wl}-bM:SRE'
17627 # It seems that -bexpall does not export symbols beginning with
17628 # underscore (_), so it is better to generate a list of symbols to export.
17629 always_export_symbols_GCJ=yes
17630 if test "$aix_use_runtimelinking" = yes; then
17631 # Warning - without using the other runtime loading flags (-brtl),
17632 # -berok will link without error, but may produce a broken library.
17633 allow_undefined_flag_GCJ='-berok'
17634 # Determine the default libpath from the value encoded in an empty executable.
17635 cat >conftest.$ac_ext <<_ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17650 rm -f conftest.$ac_objext conftest$ac_exeext
17651 if { (ac_try="$ac_link"
17652 case "(($ac_try" in
17653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17654 *) ac_try_echo=$ac_try;;
17656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657 (eval "$ac_link") 2>conftest.er1
17659 grep -v '^ *+' conftest.er1 >conftest.err
17661 cat conftest.err >&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } && {
17664 test -z "$ac_c_werror_flag" ||
17665 test ! -s conftest.err
17666 } && test -s conftest$ac_exeext &&
17667 $as_test_x conftest$ac_exeext; then
17669 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17671 # Check for a 64-bit object if we didn't find anything.
17672 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17675 echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.$ac_ext >&5
17681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17682 conftest$ac_exeext conftest.$ac_ext
17683 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17685 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17686 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17688 if test "$host_cpu" = ia64; then
17689 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17690 allow_undefined_flag_GCJ="-z nodefs"
17691 archive_expsym_cmds_GCJ="\$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"
17693 # Determine the default libpath from the value encoded in an empty executable.
17694 cat >conftest.$ac_ext <<_ACEOF
17697 cat confdefs.h >>conftest.$ac_ext
17698 cat >>conftest.$ac_ext <<_ACEOF
17699 /* end confdefs.h. */
17709 rm -f conftest.$ac_objext conftest$ac_exeext
17710 if { (ac_try="$ac_link"
17711 case "(($ac_try" in
17712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17713 *) ac_try_echo=$ac_try;;
17715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17716 (eval "$ac_link") 2>conftest.er1
17718 grep -v '^ *+' conftest.er1 >conftest.err
17720 cat conftest.err >&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } && {
17723 test -z "$ac_c_werror_flag" ||
17724 test ! -s conftest.err
17725 } && test -s conftest$ac_exeext &&
17726 $as_test_x conftest$ac_exeext; then
17728 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17730 # Check for a 64-bit object if we didn't find anything.
17731 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17734 echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17741 conftest$ac_exeext conftest.$ac_ext
17742 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17744 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17745 # Warning - without using the other run time loading flags,
17746 # -berok will link without error, but may produce a broken library.
17747 no_undefined_flag_GCJ=' ${wl}-bernotok'
17748 allow_undefined_flag_GCJ=' ${wl}-berok'
17749 # Exported symbols can be pulled into shared objects from archives
17750 whole_archive_flag_spec_GCJ='$convenience'
17751 archive_cmds_need_lc_GCJ=yes
17752 # This is similar to how AIX traditionally builds its shared libraries.
17753 archive_expsym_cmds_GCJ="\$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'
17759 archive_cmds_GCJ='$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)'
17760 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17761 hardcode_minus_L_GCJ=yes
17762 # see comment about different semantics on the GNU ld section
17767 export_dynamic_flag_spec_GCJ=-rdynamic
17770 cygwin* | mingw* | pw32*)
17771 # When not using gcc, we currently assume that we are using
17772 # Microsoft Visual C++.
17773 # hardcode_libdir_flag_spec is actually meaningless, as there is
17774 # no search path for DLLs.
17775 hardcode_libdir_flag_spec_GCJ=' '
17776 allow_undefined_flag_GCJ=unsupported
17777 # Tell ltmain to make .lib files, not .a files.
17779 # Tell ltmain to make .dll files, not .so files.
17781 # FIXME: Setting linknames here is a bad hack.
17782 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17783 # The linker will automatically build a .lib file if we build a DLL.
17784 old_archive_From_new_cmds_GCJ='true'
17785 # FIXME: Should let the user specify the lib program.
17786 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17787 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17788 enable_shared_with_static_runtimes_GCJ=yes
17791 darwin* | rhapsody*)
17793 rhapsody* | darwin1.[012])
17794 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17797 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17798 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17800 case ${MACOSX_DEPLOYMENT_TARGET} in
17802 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17805 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17811 archive_cmds_need_lc_GCJ=no
17812 hardcode_direct_GCJ=no
17813 hardcode_automatic_GCJ=yes
17814 hardcode_shlibpath_var_GCJ=unsupported
17815 whole_archive_flag_spec_GCJ=''
17816 link_all_deplibs_GCJ=yes
17817 if test "$GCC" = yes ; then
17818 output_verbose_link_cmd='echo'
17819 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17820 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17821 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17822 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17823 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17825 case $cc_basename in
17827 output_verbose_link_cmd='echo'
17828 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17829 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17830 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17831 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17832 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17842 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17843 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17844 hardcode_shlibpath_var_GCJ=no
17851 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17852 # support. Future versions do this automatically, but an explicit c++rt0.o
17853 # does not break anything, and helps significantly (at the cost of a little
17856 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17857 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17858 hardcode_direct_GCJ=yes
17859 hardcode_shlibpath_var_GCJ=no
17862 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17864 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17865 hardcode_direct_GCJ=yes
17866 hardcode_minus_L_GCJ=yes
17867 hardcode_shlibpath_var_GCJ=no
17870 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17871 freebsd* | kfreebsd*-gnu | dragonfly*)
17872 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17873 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17874 hardcode_direct_GCJ=yes
17875 hardcode_shlibpath_var_GCJ=no
17879 if test "$GCC" = yes; then
17880 archive_cmds_GCJ='$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'
17882 archive_cmds_GCJ='$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'
17884 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17885 hardcode_libdir_separator_GCJ=:
17886 hardcode_direct_GCJ=yes
17888 # hardcode_minus_L: Not really in the search PATH,
17889 # but as the default location of the library.
17890 hardcode_minus_L_GCJ=yes
17891 export_dynamic_flag_spec_GCJ='${wl}-E'
17895 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17896 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17898 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17900 if test "$with_gnu_ld" = no; then
17901 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17902 hardcode_libdir_separator_GCJ=:
17904 hardcode_direct_GCJ=yes
17905 export_dynamic_flag_spec_GCJ='${wl}-E'
17907 # hardcode_minus_L: Not really in the search PATH,
17908 # but as the default location of the library.
17909 hardcode_minus_L_GCJ=yes
17914 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17917 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17920 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17923 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17929 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17932 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17935 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17939 if test "$with_gnu_ld" = no; then
17940 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17941 hardcode_libdir_separator_GCJ=:
17945 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17946 hardcode_direct_GCJ=no
17947 hardcode_shlibpath_var_GCJ=no
17950 hardcode_direct_GCJ=yes
17951 export_dynamic_flag_spec_GCJ='${wl}-E'
17953 # hardcode_minus_L: Not really in the search PATH,
17954 # but as the default location of the library.
17955 hardcode_minus_L_GCJ=yes
17961 irix5* | irix6* | nonstopux*)
17962 if test "$GCC" = yes; then
17963 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17965 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17966 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17968 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17969 hardcode_libdir_separator_GCJ=:
17970 link_all_deplibs_GCJ=yes
17974 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17975 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17977 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17979 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17980 hardcode_direct_GCJ=yes
17981 hardcode_shlibpath_var_GCJ=no
17985 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17986 hardcode_direct_GCJ=yes
17987 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17988 hardcode_libdir_separator_GCJ=:
17989 hardcode_shlibpath_var_GCJ=no
17993 hardcode_direct_GCJ=yes
17994 hardcode_shlibpath_var_GCJ=no
17995 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17996 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17997 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17998 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17999 export_dynamic_flag_spec_GCJ='${wl}-E'
18002 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18003 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18004 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18007 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18008 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18015 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18016 hardcode_minus_L_GCJ=yes
18017 allow_undefined_flag_GCJ=unsupported
18018 archive_cmds_GCJ='$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'
18019 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18023 if test "$GCC" = yes; then
18024 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18025 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18027 allow_undefined_flag_GCJ=' -expect_unresolved \*'
18028 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18030 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18031 hardcode_libdir_separator_GCJ=:
18034 osf4* | osf5*) # as osf3* with the addition of -msym flag
18035 if test "$GCC" = yes; then
18036 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18037 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18038 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18040 allow_undefined_flag_GCJ=' -expect_unresolved \*'
18041 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18042 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18043 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18045 # Both c and cxx compiler support -rpath directly
18046 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18048 hardcode_libdir_separator_GCJ=:
18052 no_undefined_flag_GCJ=' -z text'
18053 if test "$GCC" = yes; then
18055 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18056 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18057 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18060 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18061 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18062 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18064 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18065 hardcode_shlibpath_var_GCJ=no
18067 solaris2.[0-5] | solaris2.[0-5].*) ;;
18069 # The compiler driver will combine linker options so we
18070 # cannot just pass the convience library names through
18071 # without $wl, iff we do not link with $LD.
18072 # Luckily, gcc supports the same syntax we need for Sun Studio.
18073 # Supported since Solaris 2.6 (maybe 2.5.1?)
18076 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18078 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
18081 link_all_deplibs_GCJ=yes
18085 if test "x$host_vendor" = xsequent; then
18086 # Use $CC to link under sequent, because it throws in some extra .o
18087 # files that make .init and .fini sections work.
18088 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18090 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18092 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18093 hardcode_direct_GCJ=yes
18094 hardcode_minus_L_GCJ=yes
18095 hardcode_shlibpath_var_GCJ=no
18099 case $host_vendor in
18101 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18102 hardcode_direct_GCJ=yes # is this really true???
18105 ## LD is ld it makes a PLAMLIB
18106 ## CC just makes a GrossModule.
18107 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18108 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18109 hardcode_direct_GCJ=no
18112 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18113 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18116 runpath_var='LD_RUN_PATH'
18117 hardcode_shlibpath_var_GCJ=no
18121 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18122 hardcode_shlibpath_var_GCJ=no
18123 export_dynamic_flag_spec_GCJ='-Bexport'
18127 if test -d /usr/nec; then
18128 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18129 hardcode_shlibpath_var_GCJ=no
18130 runpath_var=LD_RUN_PATH
18131 hardcode_runpath_var=yes
18136 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
18137 no_undefined_flag_GCJ='${wl}-z,text'
18138 archive_cmds_need_lc_GCJ=no
18139 hardcode_shlibpath_var_GCJ=no
18140 runpath_var='LD_RUN_PATH'
18142 if test "$GCC" = yes; then
18143 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18144 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18146 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18147 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18151 sysv5* | sco3.2v5* | sco5v6*)
18152 # Note: We can NOT use -z defs as we might desire, because we do not
18153 # link with -lc, and that would cause any symbols used from libc to
18154 # always be unresolved, which means just about no library would
18155 # ever link correctly. If we're not using GNU ld we use -z text
18156 # though, which does catch some bad symbols but isn't as heavy-handed
18158 no_undefined_flag_GCJ='${wl}-z,text'
18159 allow_undefined_flag_GCJ='${wl}-z,nodefs'
18160 archive_cmds_need_lc_GCJ=no
18161 hardcode_shlibpath_var_GCJ=no
18162 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18163 hardcode_libdir_separator_GCJ=':'
18164 link_all_deplibs_GCJ=yes
18165 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18166 runpath_var='LD_RUN_PATH'
18168 if test "$GCC" = yes; then
18169 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18170 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18172 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18173 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18178 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18179 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18180 hardcode_shlibpath_var_GCJ=no
18189 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18190 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18191 test "$ld_shlibs_GCJ" = no && can_build_shared=no
18194 # Do we need to explicitly link libc?
18196 case "x$archive_cmds_need_lc_GCJ" in
18198 # Assume -lc should be added
18199 archive_cmds_need_lc_GCJ=yes
18201 if test "$enable_shared" = yes && test "$GCC" = yes; then
18202 case $archive_cmds_GCJ in
18204 # FIXME: we may have to deal with multi-command sequences.
18207 # Test whether the compiler implicitly links with -lc since on some
18208 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18209 # to ld, don't add -lc before -lgcc.
18210 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18211 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18213 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216 (eval $ac_compile) 2>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } 2>conftest.err; then
18222 libobjs=conftest.$ac_objext
18224 wl=$lt_prog_compiler_wl_GCJ
18225 pic_flag=$lt_prog_compiler_pic_GCJ
18231 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18232 allow_undefined_flag_GCJ=
18233 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18234 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }
18239 archive_cmds_need_lc_GCJ=no
18241 archive_cmds_need_lc_GCJ=yes
18243 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18245 cat conftest.err 1>&5
18248 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18249 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18256 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18257 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18258 library_names_spec=
18259 libname_spec='lib$name'
18263 postuninstall_cmds=
18267 shlibpath_overrides_runpath=unknown
18269 dynamic_linker="$host_os ld.so"
18270 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18271 if test "$GCC" = yes; then
18272 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18273 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18274 # if the path contains ";" then we assume it to be the separator
18275 # otherwise default to the standard path separator (i.e. ":") - it is
18276 # assumed that no part of a normal pathname contains ";" but that should
18277 # okay in the real world where ";" in dirpaths is itself problematic.
18278 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18280 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18283 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18285 need_lib_prefix=unknown
18286 hardcode_into_libs=no
18288 # when you set need_version to no, make sure it does not cause -set_version
18289 # flags to be left without arguments
18290 need_version=unknown
18295 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18296 shlibpath_var=LIBPATH
18298 # AIX 3 has no versioning support, so we append a major version to the name.
18299 soname_spec='${libname}${release}${shared_ext}$major'
18306 hardcode_into_libs=yes
18307 if test "$host_cpu" = ia64; then
18308 # AIX 5 supports IA64
18309 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18310 shlibpath_var=LD_LIBRARY_PATH
18312 # With GCC up to 2.95.x, collect2 would create an import file
18313 # for dependence libraries. The import file would start with
18314 # the line `#! .'. This would cause the generated library to
18315 # depend on `.', always an invalid library. This was fixed in
18316 # development snapshots of GCC prior to 3.0.
18318 aix4 | aix4.[01] | aix4.[01].*)
18319 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18321 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18324 can_build_shared=no
18328 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18329 # soname into executable. Probably we can add versioning support to
18330 # collect2, so additional links can be useful in future.
18331 if test "$aix_use_runtimelinking" = yes; then
18332 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18333 # instead of lib<name>.a to let people know that these are not
18334 # typical AIX shared libraries.
18335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18337 # We preserve .a as extension for shared libraries through AIX4.2
18338 # and later when we are not doing run time linking.
18339 library_names_spec='${libname}${release}.a $libname.a'
18340 soname_spec='${libname}${release}${shared_ext}$major'
18342 shlibpath_var=LIBPATH
18347 library_names_spec='$libname.ixlibrary $libname.a'
18348 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18349 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'
18353 library_names_spec='${libname}${shared_ext}'
18354 dynamic_linker="$host_os ld.so"
18355 shlibpath_var=LIBRARY_PATH
18361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18362 soname_spec='${libname}${release}${shared_ext}$major'
18363 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18364 shlibpath_var=LD_LIBRARY_PATH
18365 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18366 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18367 # the default ld.so.conf also contains /usr/contrib/lib and
18368 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18369 # libtool to hard-code these into programs
18372 cygwin* | mingw* | pw32*)
18373 version_type=windows
18378 case $GCC,$host_os in
18379 yes,cygwin* | yes,mingw* | yes,pw32*)
18380 library_names_spec='$libname.dll.a'
18381 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18382 postinstall_cmds='base_file=`basename \${file}`~
18383 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18384 dldir=$destdir/`dirname \$dlpath`~
18385 test -d \$dldir || mkdir -p \$dldir~
18386 $install_prog $dir/$dlname \$dldir/$dlname~
18387 chmod a+x \$dldir/$dlname'
18388 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18389 dlpath=$dir/\$dldll~
18391 shlibpath_overrides_runpath=yes
18395 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18396 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18397 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18400 # MinGW DLLs use traditional 'lib' prefix
18401 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18402 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18403 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18404 # It is most probably a Windows format PATH printed by
18405 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18406 # path with ; separators, and with drive letters. We can handle the
18407 # drive letters (cygwin fileutils understands them), so leave them,
18408 # especially as we might pass files found there to a mingw objdump,
18409 # which wouldn't understand a cygwinified path. Ahh.
18410 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18412 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18416 # pw32 DLLs use 'pw' prefix rather than 'lib'
18417 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18423 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18426 dynamic_linker='Win32 ld.exe'
18427 # FIXME: first we should search . and the directory the executable is in
18431 darwin* | rhapsody*)
18432 dynamic_linker="$host_os dyld"
18433 version_type=darwin
18436 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18437 soname_spec='${libname}${release}${major}$shared_ext'
18438 shlibpath_overrides_runpath=yes
18439 shlibpath_var=DYLD_LIBRARY_PATH
18440 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18441 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18442 if test "$GCC" = yes; then
18443 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18445 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18447 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18455 soname_spec='${libname}${release}${shared_ext}$major'
18456 shlibpath_var=LD_LIBRARY_PATH
18467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18468 soname_spec='${libname}${release}${shared_ext}$major'
18469 shlibpath_var=LD_LIBRARY_PATH
18470 shlibpath_overrides_runpath=no
18471 hardcode_into_libs=yes
18472 dynamic_linker='GNU ld.so'
18475 freebsd* | dragonfly*)
18476 # DragonFly does not have aout. When/if they implement a new
18477 # versioning mechanism, adjust this.
18478 if test -x /usr/bin/objformat; then
18479 objformat=`/usr/bin/objformat`
18482 freebsd[123]*) objformat=aout ;;
18483 *) objformat=elf ;;
18486 version_type=freebsd-$objformat
18487 case $version_type in
18489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18494 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18498 shlibpath_var=LD_LIBRARY_PATH
18501 shlibpath_overrides_runpath=yes
18503 freebsd3.[01]* | freebsdelf3.[01]*)
18504 shlibpath_overrides_runpath=yes
18505 hardcode_into_libs=yes
18507 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18508 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18509 shlibpath_overrides_runpath=no
18510 hardcode_into_libs=yes
18512 freebsd*) # from 4.6 on
18513 shlibpath_overrides_runpath=yes
18514 hardcode_into_libs=yes
18523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18524 soname_spec='${libname}${release}${shared_ext}$major'
18525 shlibpath_var=LD_LIBRARY_PATH
18526 hardcode_into_libs=yes
18529 hpux9* | hpux10* | hpux11*)
18530 # Give a soname corresponding to the major version so that dld.sl refuses to
18531 # link against other versions.
18538 hardcode_into_libs=yes
18539 dynamic_linker="$host_os dld.so"
18540 shlibpath_var=LD_LIBRARY_PATH
18541 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18543 soname_spec='${libname}${release}${shared_ext}$major'
18544 if test "X$HPUX_IA64_MODE" = X32; then
18545 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18547 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18549 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18553 hardcode_into_libs=yes
18554 dynamic_linker="$host_os dld.sl"
18555 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18556 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18558 soname_spec='${libname}${release}${shared_ext}$major'
18559 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18560 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18564 dynamic_linker="$host_os dld.sl"
18565 shlibpath_var=SHLIB_PATH
18566 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18568 soname_spec='${libname}${release}${shared_ext}$major'
18571 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18572 postinstall_cmds='chmod 555 $lib'
18579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18580 soname_spec='${libname}${release}${shared_ext}$major'
18581 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18582 shlibpath_var=LD_LIBRARY_PATH
18583 shlibpath_overrides_runpath=no
18584 hardcode_into_libs=yes
18587 irix5* | irix6* | nonstopux*)
18589 nonstopux*) version_type=nonstopux ;;
18591 if test "$lt_cv_prog_gnu_ld" = yes; then
18599 soname_spec='${libname}${release}${shared_ext}$major'
18600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18602 irix5* | nonstopux*)
18603 libsuff= shlibsuff=
18606 case $LD in # libtool.m4 will add one of these switches to LD
18607 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18608 libsuff= shlibsuff= libmagic=32-bit;;
18609 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18610 libsuff=32 shlibsuff=N32 libmagic=N32;;
18611 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18612 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18613 *) libsuff= shlibsuff= libmagic=never-match;;
18617 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18618 shlibpath_overrides_runpath=no
18619 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18620 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18621 hardcode_into_libs=yes
18624 # No shared lib support for Linux oldld, aout, or coff.
18625 linux*oldld* | linux*aout* | linux*coff*)
18629 # This must be Linux ELF.
18634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18635 soname_spec='${libname}${release}${shared_ext}$major'
18636 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18637 shlibpath_var=LD_LIBRARY_PATH
18638 shlibpath_overrides_runpath=no
18639 # This implies no fast_install, which is unacceptable.
18640 # Some rework will be needed to allow for fast_install
18641 # before this can be enabled.
18642 hardcode_into_libs=yes
18644 # find out which ABI we are using
18646 case "$host_cpu" in
18647 x86_64*|s390x*|powerpc64*)
18648 echo '#line 18648 "configure"' > conftest.$ac_ext
18649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18650 (eval $ac_compile) 2>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); }; then
18654 case `/usr/bin/file conftest.$ac_objext` in
18657 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18665 # Append ld.so.conf contents to the search path
18666 if test -f /etc/ld.so.conf; then
18667 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18668 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18671 # We used to test for /lib/ld.so.1 and disable shared libraries on
18672 # powerpc, because MkLinux only supported shared libraries with the
18673 # GNU dynamic linker. Since this was broken with cross compilers,
18674 # most powerpc-linux boxes support dynamic linking these days and
18675 # people can always --disable-shared, the test was removed, and we
18676 # assume the GNU/Linux dynamic linker is in use.
18677 dynamic_linker='GNU/Linux ld.so'
18684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18685 soname_spec='${libname}${release}${shared_ext}$major'
18686 shlibpath_var=LD_LIBRARY_PATH
18687 shlibpath_overrides_runpath=no
18688 hardcode_into_libs=yes
18689 dynamic_linker='GNU ld.so'
18696 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18698 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18699 dynamic_linker='NetBSD (a.out) ld.so'
18701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18702 soname_spec='${libname}${release}${shared_ext}$major'
18703 dynamic_linker='NetBSD ld.elf_so'
18705 shlibpath_var=LD_LIBRARY_PATH
18706 shlibpath_overrides_runpath=yes
18707 hardcode_into_libs=yes
18712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18713 shlibpath_var=LD_LIBRARY_PATH
18714 shlibpath_overrides_runpath=yes
18721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18722 soname_spec='${libname}${release}${shared_ext}$major'
18723 shlibpath_var=LD_LIBRARY_PATH
18724 shlibpath_overrides_runpath=yes
18729 sys_lib_dlsearch_path_spec="/usr/lib"
18731 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18733 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18734 *) need_version=no ;;
18736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18737 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18738 shlibpath_var=LD_LIBRARY_PATH
18739 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18741 openbsd2.[89] | openbsd2.[89].*)
18742 shlibpath_overrides_runpath=no
18745 shlibpath_overrides_runpath=yes
18749 shlibpath_overrides_runpath=yes
18754 libname_spec='$name'
18757 library_names_spec='$libname${shared_ext} $libname.a'
18758 dynamic_linker='OS/2 ld.exe'
18759 shlibpath_var=LIBPATH
18762 osf3* | osf4* | osf5*)
18766 soname_spec='${libname}${release}${shared_ext}$major'
18767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18768 shlibpath_var=LD_LIBRARY_PATH
18769 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18770 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18778 soname_spec='${libname}${release}${shared_ext}$major'
18779 shlibpath_var=LD_LIBRARY_PATH
18780 shlibpath_overrides_runpath=yes
18781 hardcode_into_libs=yes
18782 # ldd complains unless libraries are executable
18783 postinstall_cmds='chmod +x $lib'
18788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18789 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18790 shlibpath_var=LD_LIBRARY_PATH
18791 shlibpath_overrides_runpath=yes
18792 if test "$with_gnu_ld" = yes; then
18800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18801 soname_spec='${libname}${release}${shared_ext}$major'
18802 shlibpath_var=LD_LIBRARY_PATH
18803 case $host_vendor in
18805 shlibpath_overrides_runpath=no
18807 export_dynamic_flag_spec='${wl}-Blargedynsym'
18808 runpath_var=LD_RUN_PATH
18816 shlibpath_overrides_runpath=no
18817 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18823 if test -d /usr/nec ;then
18825 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18826 soname_spec='$libname${shared_ext}.$major'
18827 shlibpath_var=LD_LIBRARY_PATH
18831 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18832 version_type=freebsd-elf
18835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18836 soname_spec='${libname}${release}${shared_ext}$major'
18837 shlibpath_var=LD_LIBRARY_PATH
18838 hardcode_into_libs=yes
18839 if test "$with_gnu_ld" = yes; then
18840 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18841 shlibpath_overrides_runpath=no
18843 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18844 shlibpath_overrides_runpath=yes
18847 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18851 sys_lib_dlsearch_path_spec='/usr/lib'
18856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18857 soname_spec='${libname}${release}${shared_ext}$major'
18858 shlibpath_var=LD_LIBRARY_PATH
18865 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18866 echo "${ECHO_T}$dynamic_linker" >&6; }
18867 test "$dynamic_linker" = no && can_build_shared=no
18869 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18870 if test "$GCC" = yes; then
18871 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18874 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18875 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18876 hardcode_action_GCJ=
18877 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18878 test -n "$runpath_var_GCJ" || \
18879 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18881 # We can hardcode non-existant directories.
18882 if test "$hardcode_direct_GCJ" != no &&
18883 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18884 # have to relink, otherwise we might link with an installed library
18885 # when we should be linking with a yet-to-be-installed one
18886 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18887 test "$hardcode_minus_L_GCJ" != no; then
18888 # Linking always hardcodes the temporary library directory.
18889 hardcode_action_GCJ=relink
18891 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18892 hardcode_action_GCJ=immediate
18895 # We cannot hardcode anything, or else we can only hardcode existing
18897 hardcode_action_GCJ=unsupported
18899 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18900 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18902 if test "$hardcode_action_GCJ" = relink; then
18903 # Fast installation is not supported
18904 enable_fast_install=no
18905 elif test "$shlibpath_overrides_runpath" = yes ||
18906 test "$enable_shared" = no; then
18907 # Fast installation is not necessary
18908 enable_fast_install=needless
18912 # The else clause should only fire when bootstrapping the
18913 # libtool distribution, otherwise you forgot to ship ltmain.sh
18914 # with your package, and you will get complaints that there are
18915 # no rules to generate ltmain.sh.
18916 if test -f "$ltmain"; then
18917 # See if we are running on zsh, and set the options which allow our commands through
18918 # without removal of \ escapes.
18919 if test -n "${ZSH_VERSION+set}" ; then
18920 setopt NO_GLOB_SUBST
18922 # Now quote all the things that may contain metacharacters while being
18923 # careful not to overquote the AC_SUBSTed values. We take copies of the
18924 # variables and quote the copies for generation of the libtool script.
18925 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18927 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18928 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18929 deplibs_check_method reload_flag reload_cmds need_locks \
18930 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18931 lt_cv_sys_global_symbol_to_c_name_address \
18932 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18933 old_postinstall_cmds old_postuninstall_cmds \
18937 lt_prog_compiler_wl_GCJ \
18938 lt_prog_compiler_pic_GCJ \
18939 lt_prog_compiler_static_GCJ \
18940 lt_prog_compiler_no_builtin_flag_GCJ \
18941 export_dynamic_flag_spec_GCJ \
18942 thread_safe_flag_spec_GCJ \
18943 whole_archive_flag_spec_GCJ \
18944 enable_shared_with_static_runtimes_GCJ \
18945 old_archive_cmds_GCJ \
18946 old_archive_from_new_cmds_GCJ \
18947 predep_objects_GCJ \
18948 postdep_objects_GCJ \
18951 compiler_lib_search_path_GCJ \
18953 archive_expsym_cmds_GCJ \
18954 postinstall_cmds_GCJ \
18955 postuninstall_cmds_GCJ \
18956 old_archive_from_expsyms_cmds_GCJ \
18957 allow_undefined_flag_GCJ \
18958 no_undefined_flag_GCJ \
18959 export_symbols_cmds_GCJ \
18960 hardcode_libdir_flag_spec_GCJ \
18961 hardcode_libdir_flag_spec_ld_GCJ \
18962 hardcode_libdir_separator_GCJ \
18963 hardcode_automatic_GCJ \
18965 module_expsym_cmds_GCJ \
18966 lt_cv_prog_compiler_c_o_GCJ \
18967 exclude_expsyms_GCJ \
18968 include_expsyms_GCJ; do
18971 old_archive_cmds_GCJ | \
18972 old_archive_from_new_cmds_GCJ | \
18973 archive_cmds_GCJ | \
18974 archive_expsym_cmds_GCJ | \
18975 module_cmds_GCJ | \
18976 module_expsym_cmds_GCJ | \
18977 old_archive_from_expsyms_cmds_GCJ | \
18978 export_symbols_cmds_GCJ | \
18979 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18980 postinstall_cmds | postuninstall_cmds | \
18981 old_postinstall_cmds | old_postuninstall_cmds | \
18982 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18983 # Double-quote double-evaled strings.
18984 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18987 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18993 *'\$0 --fallback-echo"')
18994 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19000 cat <<__EOF__ >> "$cfgfile"
19001 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19003 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19005 # Shell to use when invoking shell scripts.
19008 # Whether or not to build shared libraries.
19009 build_libtool_libs=$enable_shared
19011 # Whether or not to build static libraries.
19012 build_old_libs=$enable_static
19014 # Whether or not to add -lc for building shared libraries.
19015 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19017 # Whether or not to disallow shared libs when runtime libs are static
19018 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19020 # Whether or not to optimize for fast installation.
19021 fast_install=$enable_fast_install
19024 host_alias=$host_alias
19028 # The build system.
19029 build_alias=$build_alias
19033 # An echo program that does not interpret backslashes.
19038 AR_FLAGS=$lt_AR_FLAGS
19043 # LTCC compiler flags.
19044 LTCFLAGS=$lt_LTCFLAGS
19046 # A language-specific compiler.
19047 CC=$lt_compiler_GCJ
19049 # Is the compiler the GNU C compiler?
19055 # The linker used to build libraries.
19058 # Whether we need hard or soft links.
19061 # A BSD-compatible nm program.
19064 # A symbol stripping program
19067 # Used to examine libraries when file_magic_cmd begins "file"
19068 MAGIC_CMD=$MAGIC_CMD
19070 # Used on cygwin: DLL creation program.
19073 # Used on cygwin: object dumper.
19076 # Used on cygwin: assembler.
19079 # The name of the directory that contains temporary libtool files.
19082 # How to create reloadable object files.
19083 reload_flag=$lt_reload_flag
19084 reload_cmds=$lt_reload_cmds
19086 # How to pass a linker flag through the compiler.
19087 wl=$lt_lt_prog_compiler_wl_GCJ
19089 # Object file suffix (normally "o").
19090 objext="$ac_objext"
19092 # Old archive suffix (normally "a").
19095 # Shared library suffix (normally ".so").
19096 shrext_cmds='$shrext_cmds'
19098 # Executable file suffix (normally "").
19101 # Additional compiler flags for building library objects.
19102 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19105 # What is the maximum length of a command?
19106 max_cmd_len=$lt_cv_sys_max_cmd_len
19108 # Does compiler simultaneously support -c and -o options?
19109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19111 # Must we lock files when doing compilation?
19112 need_locks=$lt_need_locks
19114 # Do we need the lib prefix for modules?
19115 need_lib_prefix=$need_lib_prefix
19117 # Do we need a version for libraries?
19118 need_version=$need_version
19120 # Whether dlopen is supported.
19121 dlopen_support=$enable_dlopen
19123 # Whether dlopen of programs is supported.
19124 dlopen_self=$enable_dlopen_self
19126 # Whether dlopen of statically linked programs is supported.
19127 dlopen_self_static=$enable_dlopen_self_static
19129 # Compiler flag to prevent dynamic linking.
19130 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19132 # Compiler flag to turn off builtin functions.
19133 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19135 # Compiler flag to allow reflexive dlopens.
19136 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19138 # Compiler flag to generate shared objects directly from archives.
19139 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19141 # Compiler flag to generate thread-safe objects.
19142 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19144 # Library versioning type.
19145 version_type=$version_type
19147 # Format of library name prefix.
19148 libname_spec=$lt_libname_spec
19150 # List of archive names. First name is the real one, the rest are links.
19151 # The last name is the one that the linker finds with -lNAME.
19152 library_names_spec=$lt_library_names_spec
19154 # The coded name of the library, if different from the real name.
19155 soname_spec=$lt_soname_spec
19157 # Commands used to build and install an old-style archive.
19159 old_archive_cmds=$lt_old_archive_cmds_GCJ
19160 old_postinstall_cmds=$lt_old_postinstall_cmds
19161 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19163 # Create an old-style archive from a shared archive.
19164 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19166 # Create a temporary old-style archive to link instead of a shared archive.
19167 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19169 # Commands used to build and install a shared archive.
19170 archive_cmds=$lt_archive_cmds_GCJ
19171 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19172 postinstall_cmds=$lt_postinstall_cmds
19173 postuninstall_cmds=$lt_postuninstall_cmds
19175 # Commands used to build a loadable module (assumed same as above if empty)
19176 module_cmds=$lt_module_cmds_GCJ
19177 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19179 # Commands to strip libraries.
19180 old_striplib=$lt_old_striplib
19181 striplib=$lt_striplib
19183 # Dependencies to place before the objects being linked to create a
19185 predep_objects=$lt_predep_objects_GCJ
19187 # Dependencies to place after the objects being linked to create a
19189 postdep_objects=$lt_postdep_objects_GCJ
19191 # Dependencies to place before the objects being linked to create a
19193 predeps=$lt_predeps_GCJ
19195 # Dependencies to place after the objects being linked to create a
19197 postdeps=$lt_postdeps_GCJ
19199 # The library search path used internally by the compiler when linking
19200 # a shared library.
19201 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19203 # Method to check whether dependent libraries are shared objects.
19204 deplibs_check_method=$lt_deplibs_check_method
19206 # Command to use when deplibs_check_method == file_magic.
19207 file_magic_cmd=$lt_file_magic_cmd
19209 # Flag that allows shared libraries with undefined symbols to be built.
19210 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19212 # Flag that forces no undefined symbols.
19213 no_undefined_flag=$lt_no_undefined_flag_GCJ
19215 # Commands used to finish a libtool library installation in a directory.
19216 finish_cmds=$lt_finish_cmds
19218 # Same as above, but a single script fragment to be evaled but not shown.
19219 finish_eval=$lt_finish_eval
19221 # Take the output of nm and produce a listing of raw symbols and C names.
19222 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19224 # Transform the output of nm in a proper C declaration
19225 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19227 # Transform the output of nm in a C name address pair
19228 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19230 # This is the shared library runtime path variable.
19231 runpath_var=$runpath_var
19233 # This is the shared library path variable.
19234 shlibpath_var=$shlibpath_var
19236 # Is shlibpath searched before the hard-coded library search path?
19237 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19239 # How to hardcode a shared library path into an executable.
19240 hardcode_action=$hardcode_action_GCJ
19242 # Whether we should hardcode library paths into libraries.
19243 hardcode_into_libs=$hardcode_into_libs
19245 # Flag to hardcode \$libdir into a binary during linking.
19246 # This must work even if \$libdir does not exist.
19247 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19249 # If ld is used when linking, flag to hardcode \$libdir into
19250 # a binary during linking. This must work even if \$libdir does
19252 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19254 # Whether we need a single -rpath flag with a separated argument.
19255 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19257 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19258 # resulting binary.
19259 hardcode_direct=$hardcode_direct_GCJ
19261 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19262 # resulting binary.
19263 hardcode_minus_L=$hardcode_minus_L_GCJ
19265 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19266 # the resulting binary.
19267 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19269 # Set to yes if building a shared library automatically hardcodes DIR into the library
19270 # and all subsequent libraries and executables linked against it.
19271 hardcode_automatic=$hardcode_automatic_GCJ
19273 # Variables whose values should be saved in libtool wrapper scripts and
19274 # restored at relink time.
19275 variables_saved_for_relink="$variables_saved_for_relink"
19277 # Whether libtool must link a program against all its dependency libraries.
19278 link_all_deplibs=$link_all_deplibs_GCJ
19280 # Compile-time system search path for libraries
19281 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19283 # Run-time system search path for libraries
19284 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19286 # Fix the shell variable \$srcfile for the compiler.
19287 fix_srcfile_path="$fix_srcfile_path_GCJ"
19289 # Set to yes if exported symbols are required.
19290 always_export_symbols=$always_export_symbols_GCJ
19292 # The commands to list exported symbols.
19293 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19295 # The commands to extract the exported symbol list from a shared archive.
19296 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19298 # Symbols that should not be listed in the preloaded symbols.
19299 exclude_expsyms=$lt_exclude_expsyms_GCJ
19301 # Symbols that must always be exported.
19302 include_expsyms=$lt_include_expsyms_GCJ
19304 # ### END LIBTOOL TAG CONFIG: $tagname
19310 # If there is no Makefile yet, we rely on a make rule to execute
19311 # `config.status --recheck' to rerun these tests and create the
19312 # libtool script then.
19313 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19314 if test -f "$ltmain_in"; then
19315 test -f Makefile && make "$ltmain"
19321 ac_cpp='$CPP $CPPFLAGS'
19322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19336 # Source file extension for RC test sources.
19339 # Object file extension for compiled RC test sources.
19343 # Code to be used in simple compile tests
19344 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19346 # Code to be used in simple link tests
19347 lt_simple_link_test_code="$lt_simple_compile_test_code"
19349 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19351 # If no C compiler was specified, use CC.
19354 # If no C compiler flags were specified, use CFLAGS.
19355 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19357 # Allow CC to be a program name with arguments.
19361 # save warnings/boilerplate of simple test code
19362 ac_outfile=conftest.$ac_objext
19363 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19364 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19365 _lt_compiler_boilerplate=`cat conftest.err`
19368 ac_outfile=conftest.$ac_objext
19369 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19370 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19371 _lt_linker_boilerplate=`cat conftest.err`
19375 # Allow CC to be a program name with arguments.
19380 for cc_temp in $compiler""; do
19382 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19383 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19388 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19390 lt_cv_prog_compiler_c_o_RC=yes
19392 # The else clause should only fire when bootstrapping the
19393 # libtool distribution, otherwise you forgot to ship ltmain.sh
19394 # with your package, and you will get complaints that there are
19395 # no rules to generate ltmain.sh.
19396 if test -f "$ltmain"; then
19397 # See if we are running on zsh, and set the options which allow our commands through
19398 # without removal of \ escapes.
19399 if test -n "${ZSH_VERSION+set}" ; then
19400 setopt NO_GLOB_SUBST
19402 # Now quote all the things that may contain metacharacters while being
19403 # careful not to overquote the AC_SUBSTed values. We take copies of the
19404 # variables and quote the copies for generation of the libtool script.
19405 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19407 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19408 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19409 deplibs_check_method reload_flag reload_cmds need_locks \
19410 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19411 lt_cv_sys_global_symbol_to_c_name_address \
19412 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19413 old_postinstall_cmds old_postuninstall_cmds \
19417 lt_prog_compiler_wl_RC \
19418 lt_prog_compiler_pic_RC \
19419 lt_prog_compiler_static_RC \
19420 lt_prog_compiler_no_builtin_flag_RC \
19421 export_dynamic_flag_spec_RC \
19422 thread_safe_flag_spec_RC \
19423 whole_archive_flag_spec_RC \
19424 enable_shared_with_static_runtimes_RC \
19425 old_archive_cmds_RC \
19426 old_archive_from_new_cmds_RC \
19427 predep_objects_RC \
19428 postdep_objects_RC \
19431 compiler_lib_search_path_RC \
19433 archive_expsym_cmds_RC \
19434 postinstall_cmds_RC \
19435 postuninstall_cmds_RC \
19436 old_archive_from_expsyms_cmds_RC \
19437 allow_undefined_flag_RC \
19438 no_undefined_flag_RC \
19439 export_symbols_cmds_RC \
19440 hardcode_libdir_flag_spec_RC \
19441 hardcode_libdir_flag_spec_ld_RC \
19442 hardcode_libdir_separator_RC \
19443 hardcode_automatic_RC \
19445 module_expsym_cmds_RC \
19446 lt_cv_prog_compiler_c_o_RC \
19447 exclude_expsyms_RC \
19448 include_expsyms_RC; do
19451 old_archive_cmds_RC | \
19452 old_archive_from_new_cmds_RC | \
19453 archive_cmds_RC | \
19454 archive_expsym_cmds_RC | \
19456 module_expsym_cmds_RC | \
19457 old_archive_from_expsyms_cmds_RC | \
19458 export_symbols_cmds_RC | \
19459 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19460 postinstall_cmds | postuninstall_cmds | \
19461 old_postinstall_cmds | old_postuninstall_cmds | \
19462 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19463 # Double-quote double-evaled strings.
19464 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19467 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19473 *'\$0 --fallback-echo"')
19474 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19480 cat <<__EOF__ >> "$cfgfile"
19481 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19483 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19485 # Shell to use when invoking shell scripts.
19488 # Whether or not to build shared libraries.
19489 build_libtool_libs=$enable_shared
19491 # Whether or not to build static libraries.
19492 build_old_libs=$enable_static
19494 # Whether or not to add -lc for building shared libraries.
19495 build_libtool_need_lc=$archive_cmds_need_lc_RC
19497 # Whether or not to disallow shared libs when runtime libs are static
19498 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19500 # Whether or not to optimize for fast installation.
19501 fast_install=$enable_fast_install
19504 host_alias=$host_alias
19508 # The build system.
19509 build_alias=$build_alias
19513 # An echo program that does not interpret backslashes.
19518 AR_FLAGS=$lt_AR_FLAGS
19523 # LTCC compiler flags.
19524 LTCFLAGS=$lt_LTCFLAGS
19526 # A language-specific compiler.
19529 # Is the compiler the GNU C compiler?
19535 # The linker used to build libraries.
19538 # Whether we need hard or soft links.
19541 # A BSD-compatible nm program.
19544 # A symbol stripping program
19547 # Used to examine libraries when file_magic_cmd begins "file"
19548 MAGIC_CMD=$MAGIC_CMD
19550 # Used on cygwin: DLL creation program.
19553 # Used on cygwin: object dumper.
19556 # Used on cygwin: assembler.
19559 # The name of the directory that contains temporary libtool files.
19562 # How to create reloadable object files.
19563 reload_flag=$lt_reload_flag
19564 reload_cmds=$lt_reload_cmds
19566 # How to pass a linker flag through the compiler.
19567 wl=$lt_lt_prog_compiler_wl_RC
19569 # Object file suffix (normally "o").
19570 objext="$ac_objext"
19572 # Old archive suffix (normally "a").
19575 # Shared library suffix (normally ".so").
19576 shrext_cmds='$shrext_cmds'
19578 # Executable file suffix (normally "").
19581 # Additional compiler flags for building library objects.
19582 pic_flag=$lt_lt_prog_compiler_pic_RC
19585 # What is the maximum length of a command?
19586 max_cmd_len=$lt_cv_sys_max_cmd_len
19588 # Does compiler simultaneously support -c and -o options?
19589 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19591 # Must we lock files when doing compilation?
19592 need_locks=$lt_need_locks
19594 # Do we need the lib prefix for modules?
19595 need_lib_prefix=$need_lib_prefix
19597 # Do we need a version for libraries?
19598 need_version=$need_version
19600 # Whether dlopen is supported.
19601 dlopen_support=$enable_dlopen
19603 # Whether dlopen of programs is supported.
19604 dlopen_self=$enable_dlopen_self
19606 # Whether dlopen of statically linked programs is supported.
19607 dlopen_self_static=$enable_dlopen_self_static
19609 # Compiler flag to prevent dynamic linking.
19610 link_static_flag=$lt_lt_prog_compiler_static_RC
19612 # Compiler flag to turn off builtin functions.
19613 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19615 # Compiler flag to allow reflexive dlopens.
19616 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19618 # Compiler flag to generate shared objects directly from archives.
19619 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19621 # Compiler flag to generate thread-safe objects.
19622 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19624 # Library versioning type.
19625 version_type=$version_type
19627 # Format of library name prefix.
19628 libname_spec=$lt_libname_spec
19630 # List of archive names. First name is the real one, the rest are links.
19631 # The last name is the one that the linker finds with -lNAME.
19632 library_names_spec=$lt_library_names_spec
19634 # The coded name of the library, if different from the real name.
19635 soname_spec=$lt_soname_spec
19637 # Commands used to build and install an old-style archive.
19639 old_archive_cmds=$lt_old_archive_cmds_RC
19640 old_postinstall_cmds=$lt_old_postinstall_cmds
19641 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19643 # Create an old-style archive from a shared archive.
19644 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19646 # Create a temporary old-style archive to link instead of a shared archive.
19647 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19649 # Commands used to build and install a shared archive.
19650 archive_cmds=$lt_archive_cmds_RC
19651 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19652 postinstall_cmds=$lt_postinstall_cmds
19653 postuninstall_cmds=$lt_postuninstall_cmds
19655 # Commands used to build a loadable module (assumed same as above if empty)
19656 module_cmds=$lt_module_cmds_RC
19657 module_expsym_cmds=$lt_module_expsym_cmds_RC
19659 # Commands to strip libraries.
19660 old_striplib=$lt_old_striplib
19661 striplib=$lt_striplib
19663 # Dependencies to place before the objects being linked to create a
19665 predep_objects=$lt_predep_objects_RC
19667 # Dependencies to place after the objects being linked to create a
19669 postdep_objects=$lt_postdep_objects_RC
19671 # Dependencies to place before the objects being linked to create a
19673 predeps=$lt_predeps_RC
19675 # Dependencies to place after the objects being linked to create a
19677 postdeps=$lt_postdeps_RC
19679 # The library search path used internally by the compiler when linking
19680 # a shared library.
19681 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19683 # Method to check whether dependent libraries are shared objects.
19684 deplibs_check_method=$lt_deplibs_check_method
19686 # Command to use when deplibs_check_method == file_magic.
19687 file_magic_cmd=$lt_file_magic_cmd
19689 # Flag that allows shared libraries with undefined symbols to be built.
19690 allow_undefined_flag=$lt_allow_undefined_flag_RC
19692 # Flag that forces no undefined symbols.
19693 no_undefined_flag=$lt_no_undefined_flag_RC
19695 # Commands used to finish a libtool library installation in a directory.
19696 finish_cmds=$lt_finish_cmds
19698 # Same as above, but a single script fragment to be evaled but not shown.
19699 finish_eval=$lt_finish_eval
19701 # Take the output of nm and produce a listing of raw symbols and C names.
19702 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19704 # Transform the output of nm in a proper C declaration
19705 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19707 # Transform the output of nm in a C name address pair
19708 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19710 # This is the shared library runtime path variable.
19711 runpath_var=$runpath_var
19713 # This is the shared library path variable.
19714 shlibpath_var=$shlibpath_var
19716 # Is shlibpath searched before the hard-coded library search path?
19717 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19719 # How to hardcode a shared library path into an executable.
19720 hardcode_action=$hardcode_action_RC
19722 # Whether we should hardcode library paths into libraries.
19723 hardcode_into_libs=$hardcode_into_libs
19725 # Flag to hardcode \$libdir into a binary during linking.
19726 # This must work even if \$libdir does not exist.
19727 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19729 # If ld is used when linking, flag to hardcode \$libdir into
19730 # a binary during linking. This must work even if \$libdir does
19732 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19734 # Whether we need a single -rpath flag with a separated argument.
19735 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19737 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19738 # resulting binary.
19739 hardcode_direct=$hardcode_direct_RC
19741 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19742 # resulting binary.
19743 hardcode_minus_L=$hardcode_minus_L_RC
19745 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19746 # the resulting binary.
19747 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19749 # Set to yes if building a shared library automatically hardcodes DIR into the library
19750 # and all subsequent libraries and executables linked against it.
19751 hardcode_automatic=$hardcode_automatic_RC
19753 # Variables whose values should be saved in libtool wrapper scripts and
19754 # restored at relink time.
19755 variables_saved_for_relink="$variables_saved_for_relink"
19757 # Whether libtool must link a program against all its dependency libraries.
19758 link_all_deplibs=$link_all_deplibs_RC
19760 # Compile-time system search path for libraries
19761 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19763 # Run-time system search path for libraries
19764 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19766 # Fix the shell variable \$srcfile for the compiler.
19767 fix_srcfile_path="$fix_srcfile_path_RC"
19769 # Set to yes if exported symbols are required.
19770 always_export_symbols=$always_export_symbols_RC
19772 # The commands to list exported symbols.
19773 export_symbols_cmds=$lt_export_symbols_cmds_RC
19775 # The commands to extract the exported symbol list from a shared archive.
19776 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19778 # Symbols that should not be listed in the preloaded symbols.
19779 exclude_expsyms=$lt_exclude_expsyms_RC
19781 # Symbols that must always be exported.
19782 include_expsyms=$lt_include_expsyms_RC
19784 # ### END LIBTOOL TAG CONFIG: $tagname
19790 # If there is no Makefile yet, we rely on a make rule to execute
19791 # `config.status --recheck' to rerun these tests and create the
19792 # libtool script then.
19793 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19794 if test -f "$ltmain_in"; then
19795 test -f Makefile && make "$ltmain"
19801 ac_cpp='$CPP $CPPFLAGS'
19802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19811 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19812 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19813 { (exit 1); exit 1; }; }
19817 # Append the new tag name to the list of available tags.
19818 if test -n "$tagname" ; then
19819 available_tags="$available_tags $tagname"
19825 # Now substitute the updated list of available tags.
19826 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19827 mv "${ofile}T" "$ofile"
19831 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19832 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19833 { (exit 1); exit 1; }; }
19839 # This can be used to rebuild libtool when needed
19840 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19842 # Always use our own libtool.
19843 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19845 # Prevent multiple expansion
19868 for ac_prog in gm4 m4
19870 # Extract the first word of "$ac_prog", so it can be a program name with args.
19871 set dummy $ac_prog; ac_word=$2
19872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19874 if test "${ac_cv_prog_M4+set}" = set; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 if test -n "$M4"; then
19878 ac_cv_prog_M4="$M4" # Let the user override the test.
19880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19881 for as_dir in $PATH
19884 test -z "$as_dir" && as_dir=.
19885 for ac_exec_ext in '' $ac_executable_extensions; do
19886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19887 ac_cv_prog_M4="$ac_prog"
19888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19898 if test -n "$M4"; then
19899 { echo "$as_me:$LINENO: result: $M4" >&5
19900 echo "${ECHO_T}$M4" >&6; }
19902 { echo "$as_me:$LINENO: result: no" >&5
19903 echo "${ECHO_T}no" >&6; }
19907 test -n "$M4" && break
19909 test -n "$M4" || M4="m4"
19912 if test "$M4" = "m4"; then
19913 { echo "$as_me:$LINENO: checking whether m4 is GNU m4" >&5
19914 echo $ECHO_N "checking whether m4 is GNU m4... $ECHO_C" >&6; }
19915 if $M4 --version </dev/null 2>/dev/null | grep '^GNU Mm4 ' >/dev/null ; then
19916 { echo "$as_me:$LINENO: result: yes" >&5
19917 echo "${ECHO_T}yes" >&6; }
19919 { echo "$as_me:$LINENO: result: no" >&5
19920 echo "${ECHO_T}no" >&6; }
19921 if test "$host_vendor" = "sun"; then
19922 { { echo "$as_me:$LINENO: error: SUN m4 does not work for building gtkmm.
19923 Please install GNU m4." >&5
19924 echo "$as_me: error: SUN m4 does not work for building gtkmm.
19925 Please install GNU m4." >&2;}
19926 { (exit 1); exit 1; }; }
19933 { echo "$as_me:$LINENO: checking whether make is GNU Make" >&5
19934 echo $ECHO_N "checking whether make is GNU Make... $ECHO_C" >&6; }
19935 if $ac_make --version 2>/dev/null | grep '^GNU Make ' >/dev/null ; then
19936 { echo "$as_me:$LINENO: result: yes" >&5
19937 echo "${ECHO_T}yes" >&6; }
19939 { echo "$as_me:$LINENO: result: no" >&5
19940 echo "${ECHO_T}no" >&6; }
19941 if test "$host_vendor" = "sun" ; then
19942 { { echo "$as_me:$LINENO: error: SUN make does not work for building gtkmm.
19943 Please install GNU make." >&5
19944 echo "$as_me: error: SUN make does not work for building gtkmm.
19945 Please install GNU make." >&2;}
19946 { (exit 1); exit 1; }; }
19951 # This macro is installed by glibmm
19952 # Doxygen needs the path to the installed perl.
19954 glibmm_perl_result=no
19956 for ac_prog in perl perl5
19958 # Extract the first word of "$ac_prog", so it can be a program name with args.
19959 set dummy $ac_prog; ac_word=$2
19960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19962 if test "${ac_cv_path_PERL_PATH+set}" = set; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path.
19970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19971 for as_dir in $PATH
19974 test -z "$as_dir" && as_dir=.
19975 for ac_exec_ext in '' $ac_executable_extensions; do
19976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19977 ac_cv_path_PERL_PATH="$as_dir/$ac_word$ac_exec_ext"
19978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19988 PERL_PATH=$ac_cv_path_PERL_PATH
19989 if test -n "$PERL_PATH"; then
19990 { echo "$as_me:$LINENO: result: $PERL_PATH" >&5
19991 echo "${ECHO_T}$PERL_PATH" >&6; }
19993 { echo "$as_me:$LINENO: result: no" >&5
19994 echo "${ECHO_T}no" >&6; }
19998 test -n "$PERL_PATH" && break
20000 test -n "$PERL_PATH" || PERL_PATH="not found"
20003 if test "x$PERL_PATH" != "xnot found"; then
20005 { echo "$as_me:$LINENO: checking whether Perl is new enough" >&5
20006 echo $ECHO_N "checking whether Perl is new enough... $ECHO_C" >&6; }
20007 if test "${glibmm_cv_perl_version_5_6_0+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 glibmm_cv_perl_version_5_6_0=no
20012 "$PERL_PATH" -e "require v5.6.0; exit 0;" >/dev/null 2>&1 && glibmm_cv_perl_version_5_6_0=yes
20015 { echo "$as_me:$LINENO: result: $glibmm_cv_perl_version_5_6_0" >&5
20016 echo "${ECHO_T}$glibmm_cv_perl_version_5_6_0" >&6; }
20017 test "x${glibmm_cv_perl_version_5_6_0}" = xyes && glibmm_perl_result=yes
20021 # Make sure we have something sensible, even if it doesn't work.
20026 if test "x$glibmm_perl_result" = xno && test "x$USE_MAINTAINER_MODE" = xyes; then
20028 { { echo "$as_me:$LINENO: error:
20029 *** Perl >= 5.6.0 is required for building $PACKAGE in maintainer-mode.
20031 echo "$as_me: error:
20032 *** Perl >= 5.6.0 is required for building $PACKAGE in maintainer-mode.
20034 { (exit 1); exit 1; }; }
20041 #########################################################################
20043 #########################################################################
20045 { echo "$as_me:$LINENO: checking for mkfifo" >&5
20046 echo $ECHO_N "checking for mkfifo... $ECHO_C" >&6; }
20047 if test "${ac_cv_func_mkfifo+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 cat >conftest.$ac_ext <<_ACEOF
20053 cat confdefs.h >>conftest.$ac_ext
20054 cat >>conftest.$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20056 /* Define mkfifo to an innocuous variant, in case <limits.h> declares mkfifo.
20057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20058 #define mkfifo innocuous_mkfifo
20060 /* System header to define __stub macros and hopefully few prototypes,
20061 which can conflict with char mkfifo (); below.
20062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20063 <limits.h> exists even on freestanding compilers. */
20066 # include <limits.h>
20068 # include <assert.h>
20073 /* Override any GCC internal prototype to avoid an error.
20074 Use char because int might match the return type of a GCC
20075 builtin and then its argument prototype would still apply. */
20080 /* The GNU C library defines this for functions which it implements
20081 to always fail with ENOSYS. Some functions are actually named
20082 something starting with __ and the normal name is an alias. */
20083 #if defined __stub_mkfifo || defined __stub___mkfifo
20095 rm -f conftest.$ac_objext conftest$ac_exeext
20096 if { (ac_try="$ac_link"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_link") 2>conftest.er1
20104 grep -v '^ *+' conftest.er1 >conftest.err
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest$ac_exeext &&
20112 $as_test_x conftest$ac_exeext; then
20113 ac_cv_func_mkfifo=yes
20115 echo "$as_me: failed program was:" >&5
20116 sed 's/^/| /' conftest.$ac_ext >&5
20118 ac_cv_func_mkfifo=no
20121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20122 conftest$ac_exeext conftest.$ac_ext
20124 { echo "$as_me:$LINENO: result: $ac_cv_func_mkfifo" >&5
20125 echo "${ECHO_T}$ac_cv_func_mkfifo" >&6; }
20126 if test $ac_cv_func_mkfifo = yes; then
20127 cat >>confdefs.h <<\_ACEOF
20128 #define HAVE_MKFIFO 1
20134 # functions used in demos/gtk-demo. Undefined in config.h.
20136 ac_cpp='$CXXCPP $CPPFLAGS'
20137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20141 { echo "$as_me:$LINENO: checking for flockfile" >&5
20142 echo $ECHO_N "checking for flockfile... $ECHO_C" >&6; }
20143 cat >conftest.$ac_ext <<_ACEOF
20146 cat confdefs.h >>conftest.$ac_ext
20147 cat >>conftest.$ac_ext <<_ACEOF
20148 /* end confdefs.h. */
20160 rm -f conftest.$ac_objext conftest$ac_exeext
20161 if { (ac_try="$ac_link"
20162 case "(($ac_try" in
20163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20164 *) ac_try_echo=$ac_try;;
20166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20167 (eval "$ac_link") 2>conftest.er1
20169 grep -v '^ *+' conftest.er1 >conftest.err
20171 cat conftest.err >&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } && {
20174 test -z "$ac_cxx_werror_flag" ||
20175 test ! -s conftest.err
20176 } && test -s conftest$ac_exeext &&
20177 $as_test_x conftest$ac_exeext; then
20179 { echo "$as_me:$LINENO: result: yes" >&5
20180 echo "${ECHO_T}yes" >&6; }
20182 cat >>confdefs.h <<\_ACEOF
20183 #define HAVE_FLOCKFILE 1
20187 echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.$ac_ext >&5
20191 { echo "$as_me:$LINENO: result: no" >&5
20192 echo "${ECHO_T}no" >&6; }
20193 { echo "$as_me:$LINENO: checking for flockfile with a custom prototype" >&5
20194 echo $ECHO_N "checking for flockfile with a custom prototype... $ECHO_C" >&6; }
20195 cat >conftest.$ac_ext <<_ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20204 extern "C" void flockfile (FILE *);
20214 rm -f conftest.$ac_objext conftest$ac_exeext
20215 if { (ac_try="$ac_link"
20216 case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_link") 2>conftest.er1
20223 grep -v '^ *+' conftest.er1 >conftest.err
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_cxx_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest$ac_exeext &&
20231 $as_test_x conftest$ac_exeext; then
20233 { echo "$as_me:$LINENO: result: yes" >&5
20234 echo "${ECHO_T}yes" >&6; }
20236 cat >>confdefs.h <<\_ACEOF
20237 #define HAVE_FLOCKFILE 1
20241 cat >>confdefs.h <<\_ACEOF
20242 #define NEED_FLOCKFILE_PROTO 1
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20250 { echo "$as_me:$LINENO: result: not available" >&5
20251 echo "${ECHO_T}not available" >&6; }
20254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20255 conftest$ac_exeext conftest.$ac_ext
20258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20259 conftest$ac_exeext conftest.$ac_ext
20261 { echo "$as_me:$LINENO: checking for funlockfile" >&5
20262 echo $ECHO_N "checking for funlockfile... $ECHO_C" >&6; }
20263 cat >conftest.$ac_ext <<_ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20275 funlockfile (NULL);
20280 rm -f conftest.$ac_objext conftest$ac_exeext
20281 if { (ac_try="$ac_link"
20282 case "(($ac_try" in
20283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20284 *) ac_try_echo=$ac_try;;
20286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20287 (eval "$ac_link") 2>conftest.er1
20289 grep -v '^ *+' conftest.er1 >conftest.err
20291 cat conftest.err >&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } && {
20294 test -z "$ac_cxx_werror_flag" ||
20295 test ! -s conftest.err
20296 } && test -s conftest$ac_exeext &&
20297 $as_test_x conftest$ac_exeext; then
20299 { echo "$as_me:$LINENO: result: yes" >&5
20300 echo "${ECHO_T}yes" >&6; }
20302 cat >>confdefs.h <<\_ACEOF
20303 #define HAVE_FUNLOCKFILE 1
20307 echo "$as_me: failed program was:" >&5
20308 sed 's/^/| /' conftest.$ac_ext >&5
20311 { echo "$as_me:$LINENO: result: no" >&5
20312 echo "${ECHO_T}no" >&6; }
20313 { echo "$as_me:$LINENO: checking for funlockfile with a custom prototype" >&5
20314 echo $ECHO_N "checking for funlockfile with a custom prototype... $ECHO_C" >&6; }
20315 cat >conftest.$ac_ext <<_ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20324 extern "C" void funlockfile (FILE *);
20329 funlockfile (NULL);
20334 rm -f conftest.$ac_objext conftest$ac_exeext
20335 if { (ac_try="$ac_link"
20336 case "(($ac_try" in
20337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20338 *) ac_try_echo=$ac_try;;
20340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20341 (eval "$ac_link") 2>conftest.er1
20343 grep -v '^ *+' conftest.er1 >conftest.err
20345 cat conftest.err >&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); } && {
20348 test -z "$ac_cxx_werror_flag" ||
20349 test ! -s conftest.err
20350 } && test -s conftest$ac_exeext &&
20351 $as_test_x conftest$ac_exeext; then
20353 { echo "$as_me:$LINENO: result: yes" >&5
20354 echo "${ECHO_T}yes" >&6; }
20356 cat >>confdefs.h <<\_ACEOF
20357 #define HAVE_FUNLOCKFILE 1
20361 cat >>confdefs.h <<\_ACEOF
20362 #define NEED_FUNLOCKFILE_PROTO 1
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20370 { echo "$as_me:$LINENO: result: not available" >&5
20371 echo "${ECHO_T}not available" >&6; }
20374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20375 conftest$ac_exeext conftest.$ac_ext
20378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20379 conftest$ac_exeext conftest.$ac_ext
20381 { echo "$as_me:$LINENO: checking for getc_unlocked" >&5
20382 echo $ECHO_N "checking for getc_unlocked... $ECHO_C" >&6; }
20383 cat >conftest.$ac_ext <<_ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20395 getc_unlocked (NULL);
20400 rm -f conftest.$ac_objext conftest$ac_exeext
20401 if { (ac_try="$ac_link"
20402 case "(($ac_try" in
20403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20404 *) ac_try_echo=$ac_try;;
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_link") 2>conftest.er1
20409 grep -v '^ *+' conftest.er1 >conftest.err
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && {
20414 test -z "$ac_cxx_werror_flag" ||
20415 test ! -s conftest.err
20416 } && test -s conftest$ac_exeext &&
20417 $as_test_x conftest$ac_exeext; then
20419 { echo "$as_me:$LINENO: result: yes" >&5
20420 echo "${ECHO_T}yes" >&6; }
20422 cat >>confdefs.h <<\_ACEOF
20423 #define HAVE_GETC_UNLOCKED 1
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20431 { echo "$as_me:$LINENO: result: no" >&5
20432 echo "${ECHO_T}no" >&6; }
20433 { echo "$as_me:$LINENO: checking for getc_unlocked with a custom prototype" >&5
20434 echo $ECHO_N "checking for getc_unlocked with a custom prototype... $ECHO_C" >&6; }
20435 cat >conftest.$ac_ext <<_ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20444 extern "C" int getc_unlocked (FILE *);
20449 getc_unlocked (NULL);
20454 rm -f conftest.$ac_objext conftest$ac_exeext
20455 if { (ac_try="$ac_link"
20456 case "(($ac_try" in
20457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458 *) ac_try_echo=$ac_try;;
20460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461 (eval "$ac_link") 2>conftest.er1
20463 grep -v '^ *+' conftest.er1 >conftest.err
20465 cat conftest.err >&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); } && {
20468 test -z "$ac_cxx_werror_flag" ||
20469 test ! -s conftest.err
20470 } && test -s conftest$ac_exeext &&
20471 $as_test_x conftest$ac_exeext; then
20473 { echo "$as_me:$LINENO: result: yes" >&5
20474 echo "${ECHO_T}yes" >&6; }
20476 cat >>confdefs.h <<\_ACEOF
20477 #define HAVE_GETC_UNLOCKED 1
20481 cat >>confdefs.h <<\_ACEOF
20482 #define NEED_GETC_UNLOCKED_PROTO 1
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20490 { echo "$as_me:$LINENO: result: not available" >&5
20491 echo "${ECHO_T}not available" >&6; }
20494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20495 conftest$ac_exeext conftest.$ac_ext
20498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20499 conftest$ac_exeext conftest.$ac_ext
20501 ac_cpp='$CPP $CPPFLAGS'
20502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20507 #########################################################################
20508 # Dependancy checks
20509 #########################################################################
20510 gtkmm_min_glibmm_version=2.14.1
20511 gtkmm_min_gtk_version=2.12.0
20512 gtkmm_min_cairomm_version=1.1.12
20515 GLIBMM_LIBDIR=`pkg-config --variable=libdir glibmm-2.4`
20516 GMMPROC_DIR=$GLIBMM_LIBDIR/glibmm-2.4/proc
20518 GMMPROC=$GMMPROC_DIR/gmmproc
20524 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20525 if test -n "$ac_tool_prefix"; then
20526 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20527 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20530 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20531 echo $ECHO_N "(cached) $ECHO_C" >&6
20533 case $PKG_CONFIG in
20535 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20539 for as_dir in $PATH
20542 test -z "$as_dir" && as_dir=.
20543 for ac_exec_ext in '' $ac_executable_extensions; do
20544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20545 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20556 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20557 if test -n "$PKG_CONFIG"; then
20558 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20559 echo "${ECHO_T}$PKG_CONFIG" >&6; }
20561 { echo "$as_me:$LINENO: result: no" >&5
20562 echo "${ECHO_T}no" >&6; }
20567 if test -z "$ac_cv_path_PKG_CONFIG"; then
20568 ac_pt_PKG_CONFIG=$PKG_CONFIG
20569 # Extract the first word of "pkg-config", so it can be a program name with args.
20570 set dummy pkg-config; ac_word=$2
20571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20573 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20574 echo $ECHO_N "(cached) $ECHO_C" >&6
20576 case $ac_pt_PKG_CONFIG in
20578 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20582 for as_dir in $PATH
20585 test -z "$as_dir" && as_dir=.
20586 for ac_exec_ext in '' $ac_executable_extensions; do
20587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20588 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20599 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20600 if test -n "$ac_pt_PKG_CONFIG"; then
20601 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20602 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20604 { echo "$as_me:$LINENO: result: no" >&5
20605 echo "${ECHO_T}no" >&6; }
20608 if test "x$ac_pt_PKG_CONFIG" = x; then
20611 case $cross_compiling:$ac_tool_warned in
20613 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20614 whose name does not start with the host triplet. If you think this
20615 configuration is useful to you, please write to autoconf@gnu.org." >&5
20616 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20617 whose name does not start with the host triplet. If you think this
20618 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20619 ac_tool_warned=yes ;;
20621 PKG_CONFIG=$ac_pt_PKG_CONFIG
20624 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20628 if test -n "$PKG_CONFIG"; then
20629 _pkg_min_version=0.9.0
20630 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20631 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
20632 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20633 { echo "$as_me:$LINENO: result: yes" >&5
20634 echo "${ECHO_T}yes" >&6; }
20636 { echo "$as_me:$LINENO: result: no" >&5
20637 echo "${ECHO_T}no" >&6; }
20644 { echo "$as_me:$LINENO: checking for ATKMM" >&5
20645 echo $ECHO_N "checking for ATKMM... $ECHO_C" >&6; }
20647 if test -n "$PKG_CONFIG"; then
20648 if test -n "$ATKMM_CFLAGS"; then
20649 pkg_cv_ATKMM_CFLAGS="$ATKMM_CFLAGS"
20651 if test -n "$PKG_CONFIG" && \
20652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} atk >= 1.9.0\"") >&5
20653 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0") 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; then
20657 pkg_cv_ATKMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0" 2>/dev/null`
20665 if test -n "$PKG_CONFIG"; then
20666 if test -n "$ATKMM_LIBS"; then
20667 pkg_cv_ATKMM_LIBS="$ATKMM_LIBS"
20669 if test -n "$PKG_CONFIG" && \
20670 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} atk >= 1.9.0\"") >&5
20671 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0") 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; then
20675 pkg_cv_ATKMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0" 2>/dev/null`
20686 if test $pkg_failed = yes; then
20688 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20689 _pkg_short_errors_supported=yes
20691 _pkg_short_errors_supported=no
20693 if test $_pkg_short_errors_supported = yes; then
20694 ATKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0"`
20696 ATKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0"`
20698 # Put the nasty error message in config.log where it belongs
20699 echo "$ATKMM_PKG_ERRORS" >&5
20701 { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0) were not met:
20705 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20706 installed software in a non-standard prefix.
20708 Alternatively, you may set the environment variables ATKMM_CFLAGS
20709 and ATKMM_LIBS to avoid the need to call pkg-config.
20710 See the pkg-config man page for more details.
20712 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} atk >= 1.9.0) were not met:
20716 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20717 installed software in a non-standard prefix.
20719 Alternatively, you may set the environment variables ATKMM_CFLAGS
20720 and ATKMM_LIBS to avoid the need to call pkg-config.
20721 See the pkg-config man page for more details.
20723 { (exit 1); exit 1; }; }
20724 elif test $pkg_failed = untried; then
20725 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20726 is in your PATH or set the PKG_CONFIG environment variable to the full
20727 path to pkg-config.
20729 Alternatively, you may set the environment variables ATKMM_CFLAGS
20730 and ATKMM_LIBS to avoid the need to call pkg-config.
20731 See the pkg-config man page for more details.
20733 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20734 See \`config.log' for more details." >&5
20735 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20736 is in your PATH or set the PKG_CONFIG environment variable to the full
20737 path to pkg-config.
20739 Alternatively, you may set the environment variables ATKMM_CFLAGS
20740 and ATKMM_LIBS to avoid the need to call pkg-config.
20741 See the pkg-config man page for more details.
20743 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20744 See \`config.log' for more details." >&2;}
20745 { (exit 1); exit 1; }; }
20747 ATKMM_CFLAGS=$pkg_cv_ATKMM_CFLAGS
20748 ATKMM_LIBS=$pkg_cv_ATKMM_LIBS
20749 { echo "$as_me:$LINENO: result: yes" >&5
20750 echo "${ECHO_T}yes" >&6; }
20758 { echo "$as_me:$LINENO: checking for PANGOMM" >&5
20759 echo $ECHO_N "checking for PANGOMM... $ECHO_C" >&6; }
20761 if test -n "$PKG_CONFIG"; then
20762 if test -n "$PANGOMM_CFLAGS"; then
20763 pkg_cv_PANGOMM_CFLAGS="$PANGOMM_CFLAGS"
20765 if test -n "$PKG_CONFIG" && \
20766 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} pangocairo >= 1.5.2\"") >&5
20767 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2") 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; then
20771 pkg_cv_PANGOMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2" 2>/dev/null`
20779 if test -n "$PKG_CONFIG"; then
20780 if test -n "$PANGOMM_LIBS"; then
20781 pkg_cv_PANGOMM_LIBS="$PANGOMM_LIBS"
20783 if test -n "$PKG_CONFIG" && \
20784 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} pangocairo >= 1.5.2\"") >&5
20785 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2") 2>&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); }; then
20789 pkg_cv_PANGOMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2" 2>/dev/null`
20800 if test $pkg_failed = yes; then
20802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20803 _pkg_short_errors_supported=yes
20805 _pkg_short_errors_supported=no
20807 if test $_pkg_short_errors_supported = yes; then
20808 PANGOMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2"`
20810 PANGOMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2"`
20812 # Put the nasty error message in config.log where it belongs
20813 echo "$PANGOMM_PKG_ERRORS" >&5
20815 { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2) were not met:
20817 $PANGOMM_PKG_ERRORS
20819 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20820 installed software in a non-standard prefix.
20822 Alternatively, you may set the environment variables PANGOMM_CFLAGS
20823 and PANGOMM_LIBS to avoid the need to call pkg-config.
20824 See the pkg-config man page for more details.
20826 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} pangocairo >= 1.5.2) were not met:
20828 $PANGOMM_PKG_ERRORS
20830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20831 installed software in a non-standard prefix.
20833 Alternatively, you may set the environment variables PANGOMM_CFLAGS
20834 and PANGOMM_LIBS to avoid the need to call pkg-config.
20835 See the pkg-config man page for more details.
20837 { (exit 1); exit 1; }; }
20838 elif test $pkg_failed = untried; then
20839 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20840 is in your PATH or set the PKG_CONFIG environment variable to the full
20841 path to pkg-config.
20843 Alternatively, you may set the environment variables PANGOMM_CFLAGS
20844 and PANGOMM_LIBS to avoid the need to call pkg-config.
20845 See the pkg-config man page for more details.
20847 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20848 See \`config.log' for more details." >&5
20849 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20850 is in your PATH or set the PKG_CONFIG environment variable to the full
20851 path to pkg-config.
20853 Alternatively, you may set the environment variables PANGOMM_CFLAGS
20854 and PANGOMM_LIBS to avoid the need to call pkg-config.
20855 See the pkg-config man page for more details.
20857 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20858 See \`config.log' for more details." >&2;}
20859 { (exit 1); exit 1; }; }
20861 PANGOMM_CFLAGS=$pkg_cv_PANGOMM_CFLAGS
20862 PANGOMM_LIBS=$pkg_cv_PANGOMM_LIBS
20863 { echo "$as_me:$LINENO: result: yes" >&5
20864 echo "${ECHO_T}yes" >&6; }
20870 # gdkmm really does need GTK+, because part of Gdk::DragContext is in GTK+.
20873 { echo "$as_me:$LINENO: checking for GDKMM" >&5
20874 echo $ECHO_N "checking for GDKMM... $ECHO_C" >&6; }
20876 if test -n "$PKG_CONFIG"; then
20877 if test -n "$GDKMM_CFLAGS"; then
20878 pkg_cv_GDKMM_CFLAGS="$GDKMM_CFLAGS"
20880 if test -n "$PKG_CONFIG" && \
20881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
20882 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); }; then
20886 pkg_cv_GDKMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
20894 if test -n "$PKG_CONFIG"; then
20895 if test -n "$GDKMM_LIBS"; then
20896 pkg_cv_GDKMM_LIBS="$GDKMM_LIBS"
20898 if test -n "$PKG_CONFIG" && \
20899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
20900 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); }; then
20904 pkg_cv_GDKMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
20915 if test $pkg_failed = yes; then
20917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20918 _pkg_short_errors_supported=yes
20920 _pkg_short_errors_supported=no
20922 if test $_pkg_short_errors_supported = yes; then
20923 GDKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}"`
20925 GDKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}"`
20927 # Put the nasty error message in config.log where it belongs
20928 echo "$GDKMM_PKG_ERRORS" >&5
20930 { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}) were not met:
20934 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20935 installed software in a non-standard prefix.
20937 Alternatively, you may set the environment variables GDKMM_CFLAGS
20938 and GDKMM_LIBS to avoid the need to call pkg-config.
20939 See the pkg-config man page for more details.
20941 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}) were not met:
20945 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20946 installed software in a non-standard prefix.
20948 Alternatively, you may set the environment variables GDKMM_CFLAGS
20949 and GDKMM_LIBS to avoid the need to call pkg-config.
20950 See the pkg-config man page for more details.
20952 { (exit 1); exit 1; }; }
20953 elif test $pkg_failed = untried; then
20954 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20955 is in your PATH or set the PKG_CONFIG environment variable to the full
20956 path to pkg-config.
20958 Alternatively, you may set the environment variables GDKMM_CFLAGS
20959 and GDKMM_LIBS to avoid the need to call pkg-config.
20960 See the pkg-config man page for more details.
20962 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20963 See \`config.log' for more details." >&5
20964 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20965 is in your PATH or set the PKG_CONFIG environment variable to the full
20966 path to pkg-config.
20968 Alternatively, you may set the environment variables GDKMM_CFLAGS
20969 and GDKMM_LIBS to avoid the need to call pkg-config.
20970 See the pkg-config man page for more details.
20972 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
20973 See \`config.log' for more details." >&2;}
20974 { (exit 1); exit 1; }; }
20976 GDKMM_CFLAGS=$pkg_cv_GDKMM_CFLAGS
20977 GDKMM_LIBS=$pkg_cv_GDKMM_LIBS
20978 { echo "$as_me:$LINENO: result: yes" >&5
20979 echo "${ECHO_T}yes" >&6; }
20985 # Only check for gtk+-unix-print-2.0 on non-win32 platform, as
20986 # gtk+-unix-print-2.0.pc is not always included in win32 installers.
20987 if test x"$os_win32" = xyes; then
20990 { echo "$as_me:$LINENO: checking for GTKMM" >&5
20991 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
20993 if test -n "$PKG_CONFIG"; then
20994 if test -n "$GTKMM_CFLAGS"; then
20995 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
20997 if test -n "$PKG_CONFIG" && \
20998 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
20999 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; then
21003 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
21011 if test -n "$PKG_CONFIG"; then
21012 if test -n "$GTKMM_LIBS"; then
21013 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
21015 if test -n "$PKG_CONFIG" && \
21016 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
21017 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); }; then
21021 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
21032 if test $pkg_failed = yes; then
21034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21035 _pkg_short_errors_supported=yes
21037 _pkg_short_errors_supported=no
21039 if test $_pkg_short_errors_supported = yes; then
21040 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}"`
21042 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}"`
21044 # Put the nasty error message in config.log where it belongs
21045 echo "$GTKMM_PKG_ERRORS" >&5
21047 { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}) were not met:
21051 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21052 installed software in a non-standard prefix.
21054 Alternatively, you may set the environment variables GTKMM_CFLAGS
21055 and GTKMM_LIBS to avoid the need to call pkg-config.
21056 See the pkg-config man page for more details.
21058 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version}) were not met:
21062 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21063 installed software in a non-standard prefix.
21065 Alternatively, you may set the environment variables GTKMM_CFLAGS
21066 and GTKMM_LIBS to avoid the need to call pkg-config.
21067 See the pkg-config man page for more details.
21069 { (exit 1); exit 1; }; }
21070 elif test $pkg_failed = untried; then
21071 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21072 is in your PATH or set the PKG_CONFIG environment variable to the full
21073 path to pkg-config.
21075 Alternatively, you may set the environment variables GTKMM_CFLAGS
21076 and GTKMM_LIBS to avoid the need to call pkg-config.
21077 See the pkg-config man page for more details.
21079 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21080 See \`config.log' for more details." >&5
21081 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21082 is in your PATH or set the PKG_CONFIG environment variable to the full
21083 path to pkg-config.
21085 Alternatively, you may set the environment variables GTKMM_CFLAGS
21086 and GTKMM_LIBS to avoid the need to call pkg-config.
21087 See the pkg-config man page for more details.
21089 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21090 See \`config.log' for more details." >&2;}
21091 { (exit 1); exit 1; }; }
21093 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
21094 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
21095 { echo "$as_me:$LINENO: result: yes" >&5
21096 echo "${ECHO_T}yes" >&6; }
21102 { echo "$as_me:$LINENO: checking for GTKMM" >&5
21103 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
21105 if test -n "$PKG_CONFIG"; then
21106 if test -n "$GTKMM_CFLAGS"; then
21107 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
21109 if test -n "$PKG_CONFIG" && \
21110 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
21111 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; then
21115 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
21123 if test -n "$PKG_CONFIG"; then
21124 if test -n "$GTKMM_LIBS"; then
21125 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
21127 if test -n "$PKG_CONFIG" && \
21128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= \${gtkmm_min_glibmm_version} cairomm-1.0 >= \${gtkmm_min_cairomm_version} gtk+-2.0 >= \${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= \${gtkmm_min_gtk_version}\"") >&5
21129 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}") 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; then
21133 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}" 2>/dev/null`
21144 if test $pkg_failed = yes; then
21146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21147 _pkg_short_errors_supported=yes
21149 _pkg_short_errors_supported=no
21151 if test $_pkg_short_errors_supported = yes; then
21152 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}"`
21154 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}"`
21156 # Put the nasty error message in config.log where it belongs
21157 echo "$GTKMM_PKG_ERRORS" >&5
21159 { { echo "$as_me:$LINENO: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}) were not met:
21163 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21164 installed software in a non-standard prefix.
21166 Alternatively, you may set the environment variables GTKMM_CFLAGS
21167 and GTKMM_LIBS to avoid the need to call pkg-config.
21168 See the pkg-config man page for more details.
21170 echo "$as_me: error: Package requirements (glibmm-2.4 >= ${gtkmm_min_glibmm_version} cairomm-1.0 >= ${gtkmm_min_cairomm_version} gtk+-2.0 >= ${gtkmm_min_gtk_version} gtk+-unix-print-2.0 >= ${gtkmm_min_gtk_version}) were not met:
21174 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21175 installed software in a non-standard prefix.
21177 Alternatively, you may set the environment variables GTKMM_CFLAGS
21178 and GTKMM_LIBS to avoid the need to call pkg-config.
21179 See the pkg-config man page for more details.
21181 { (exit 1); exit 1; }; }
21182 elif test $pkg_failed = untried; then
21183 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21184 is in your PATH or set the PKG_CONFIG environment variable to the full
21185 path to pkg-config.
21187 Alternatively, you may set the environment variables GTKMM_CFLAGS
21188 and GTKMM_LIBS to avoid the need to call pkg-config.
21189 See the pkg-config man page for more details.
21191 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21192 See \`config.log' for more details." >&5
21193 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21194 is in your PATH or set the PKG_CONFIG environment variable to the full
21195 path to pkg-config.
21197 Alternatively, you may set the environment variables GTKMM_CFLAGS
21198 and GTKMM_LIBS to avoid the need to call pkg-config.
21199 See the pkg-config man page for more details.
21201 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21202 See \`config.log' for more details." >&2;}
21203 { (exit 1); exit 1; }; }
21205 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
21206 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
21207 { echo "$as_me:$LINENO: result: yes" >&5
21208 echo "${ECHO_T}yes" >&6; }
21215 # gthread isn't a requirement, but we should use its CFLAGS if available.
21218 { echo "$as_me:$LINENO: checking for GTHREAD" >&5
21219 echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6; }
21221 if test -n "$PKG_CONFIG"; then
21222 if test -n "$GTHREAD_CFLAGS"; then
21223 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
21225 if test -n "$PKG_CONFIG" && \
21226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.4.0\"") >&5
21227 ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.4.0") 2>&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); }; then
21231 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= 2.4.0" 2>/dev/null`
21239 if test -n "$PKG_CONFIG"; then
21240 if test -n "$GTHREAD_LIBS"; then
21241 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
21243 if test -n "$PKG_CONFIG" && \
21244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.4.0\"") >&5
21245 ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.4.0") 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; then
21249 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= 2.4.0" 2>/dev/null`
21260 if test $pkg_failed = yes; then
21262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21263 _pkg_short_errors_supported=yes
21265 _pkg_short_errors_supported=no
21267 if test $_pkg_short_errors_supported = yes; then
21268 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0 >= 2.4.0"`
21270 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0 >= 2.4.0"`
21272 # Put the nasty error message in config.log where it belongs
21273 echo "$GTHREAD_PKG_ERRORS" >&5
21275 { echo "$as_me:$LINENO: result: no" >&5
21276 echo "${ECHO_T}no" >&6; }
21277 GTHREAD_CFLAGS=''; GTHREAD_LIBS=''
21278 elif test $pkg_failed = untried; then
21279 GTHREAD_CFLAGS=''; GTHREAD_LIBS=''
21281 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
21282 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
21283 { echo "$as_me:$LINENO: result: yes" >&5
21284 echo "${ECHO_T}yes" >&6; }
21290 #########################################################################
21292 #########################################################################
21294 ac_cpp='$CXXCPP $CPPFLAGS'
21295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21298 if test -z "$CXX"; then
21299 if test -n "$CCC"; then
21302 if test -n "$ac_tool_prefix"; then
21303 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
21305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21309 if test "${ac_cv_prog_CXX+set}" = set; then
21310 echo $ECHO_N "(cached) $ECHO_C" >&6
21312 if test -n "$CXX"; then
21313 ac_cv_prog_CXX="$CXX" # Let the user override the test.
21315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21316 for as_dir in $PATH
21319 test -z "$as_dir" && as_dir=.
21320 for ac_exec_ext in '' $ac_executable_extensions; do
21321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21322 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
21323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21332 CXX=$ac_cv_prog_CXX
21333 if test -n "$CXX"; then
21334 { echo "$as_me:$LINENO: result: $CXX" >&5
21335 echo "${ECHO_T}$CXX" >&6; }
21337 { echo "$as_me:$LINENO: result: no" >&5
21338 echo "${ECHO_T}no" >&6; }
21342 test -n "$CXX" && break
21345 if test -z "$CXX"; then
21347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
21349 # Extract the first word of "$ac_prog", so it can be a program name with args.
21350 set dummy $ac_prog; ac_word=$2
21351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21353 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
21354 echo $ECHO_N "(cached) $ECHO_C" >&6
21356 if test -n "$ac_ct_CXX"; then
21357 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
21359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21360 for as_dir in $PATH
21363 test -z "$as_dir" && as_dir=.
21364 for ac_exec_ext in '' $ac_executable_extensions; do
21365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21366 ac_cv_prog_ac_ct_CXX="$ac_prog"
21367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21376 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
21377 if test -n "$ac_ct_CXX"; then
21378 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
21379 echo "${ECHO_T}$ac_ct_CXX" >&6; }
21381 { echo "$as_me:$LINENO: result: no" >&5
21382 echo "${ECHO_T}no" >&6; }
21386 test -n "$ac_ct_CXX" && break
21389 if test "x$ac_ct_CXX" = x; then
21392 case $cross_compiling:$ac_tool_warned in
21394 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21395 whose name does not start with the host triplet. If you think this
21396 configuration is useful to you, please write to autoconf@gnu.org." >&5
21397 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21398 whose name does not start with the host triplet. If you think this
21399 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21400 ac_tool_warned=yes ;;
21408 # Provide some information about the compiler.
21409 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
21410 ac_compiler=`set X $ac_compile; echo $2`
21411 { (ac_try="$ac_compiler --version >&5"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21414 *) ac_try_echo=$ac_try;;
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compiler --version >&5") 2>&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); }
21421 { (ac_try="$ac_compiler -v >&5"
21422 case "(($ac_try" in
21423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21424 *) ac_try_echo=$ac_try;;
21426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21427 (eval "$ac_compiler -v >&5") 2>&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); }
21431 { (ac_try="$ac_compiler -V >&5"
21432 case "(($ac_try" in
21433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21434 *) ac_try_echo=$ac_try;;
21436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21437 (eval "$ac_compiler -V >&5") 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }
21442 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
21443 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
21444 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 cat >conftest.$ac_ext <<_ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21465 rm -f conftest.$ac_objext
21466 if { (ac_try="$ac_compile"
21467 case "(($ac_try" in
21468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21469 *) ac_try_echo=$ac_try;;
21471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21472 (eval "$ac_compile") 2>conftest.er1
21474 grep -v '^ *+' conftest.er1 >conftest.err
21476 cat conftest.err >&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); } && {
21479 test -z "$ac_cxx_werror_flag" ||
21480 test ! -s conftest.err
21481 } && test -s conftest.$ac_objext; then
21482 ac_compiler_gnu=yes
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
21494 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
21495 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
21496 GXX=`test $ac_compiler_gnu = yes && echo yes`
21497 ac_test_CXXFLAGS=${CXXFLAGS+set}
21498 ac_save_CXXFLAGS=$CXXFLAGS
21499 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
21500 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
21501 if test "${ac_cv_prog_cxx_g+set}" = set; then
21502 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
21505 ac_cxx_werror_flag=yes
21506 ac_cv_prog_cxx_g=no
21508 cat >conftest.$ac_ext <<_ACEOF
21511 cat confdefs.h >>conftest.$ac_ext
21512 cat >>conftest.$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21523 rm -f conftest.$ac_objext
21524 if { (ac_try="$ac_compile"
21525 case "(($ac_try" in
21526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21527 *) ac_try_echo=$ac_try;;
21529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21530 (eval "$ac_compile") 2>conftest.er1
21532 grep -v '^ *+' conftest.er1 >conftest.err
21534 cat conftest.err >&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); } && {
21537 test -z "$ac_cxx_werror_flag" ||
21538 test ! -s conftest.err
21539 } && test -s conftest.$ac_objext; then
21540 ac_cv_prog_cxx_g=yes
21542 echo "$as_me: failed program was:" >&5
21543 sed 's/^/| /' conftest.$ac_ext >&5
21546 cat >conftest.$ac_ext <<_ACEOF
21549 cat confdefs.h >>conftest.$ac_ext
21550 cat >>conftest.$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21561 rm -f conftest.$ac_objext
21562 if { (ac_try="$ac_compile"
21563 case "(($ac_try" in
21564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21565 *) ac_try_echo=$ac_try;;
21567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21568 (eval "$ac_compile") 2>conftest.er1
21570 grep -v '^ *+' conftest.er1 >conftest.err
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } && {
21575 test -z "$ac_cxx_werror_flag" ||
21576 test ! -s conftest.err
21577 } && test -s conftest.$ac_objext; then
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21583 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
21585 cat >conftest.$ac_ext <<_ACEOF
21588 cat confdefs.h >>conftest.$ac_ext
21589 cat >>conftest.$ac_ext <<_ACEOF
21590 /* end confdefs.h. */
21600 rm -f conftest.$ac_objext
21601 if { (ac_try="$ac_compile"
21602 case "(($ac_try" in
21603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21604 *) ac_try_echo=$ac_try;;
21606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21607 (eval "$ac_compile") 2>conftest.er1
21609 grep -v '^ *+' conftest.er1 >conftest.err
21611 cat conftest.err >&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); } && {
21614 test -z "$ac_cxx_werror_flag" ||
21615 test ! -s conftest.err
21616 } && test -s conftest.$ac_objext; then
21617 ac_cv_prog_cxx_g=yes
21619 echo "$as_me: failed program was:" >&5
21620 sed 's/^/| /' conftest.$ac_ext >&5
21625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
21634 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
21635 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
21636 if test "$ac_test_CXXFLAGS" = set; then
21637 CXXFLAGS=$ac_save_CXXFLAGS
21638 elif test $ac_cv_prog_cxx_g = yes; then
21639 if test "$GXX" = yes; then
21645 if test "$GXX" = yes; then
21652 ac_cpp='$CPP $CPPFLAGS'
21653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21657 depcc="$CXX" am_compiler_list=
21659 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
21660 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
21661 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
21662 echo $ECHO_N "(cached) $ECHO_C" >&6
21664 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21665 # We make a subdir and do the tests there. Otherwise we can end up
21666 # making bogus files that we don't know about and never remove. For
21667 # instance it was reported that on HP-UX the gcc test will end up
21668 # making a dummy file named `D' -- because `-MD' means `put the output
21671 # Copy depcomp to subdir because otherwise we won't find it if we're
21672 # using a relative directory.
21673 cp "$am_depcomp" conftest.dir
21675 # We will build objects and dependencies in a subdirectory because
21676 # it helps to detect inapplicable dependency modes. For instance
21677 # both Tru64's cc and ICC support -MD to output dependencies as a
21678 # side effect of compilation, but ICC will put the dependencies in
21679 # the current directory while Tru64 will put them in the object
21683 am_cv_CXX_dependencies_compiler_type=none
21684 if test "$am_compiler_list" = ""; then
21685 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21687 for depmode in $am_compiler_list; do
21688 # Setup a source with many dependencies, because some compilers
21689 # like to wrap large dependency lists on column 80 (with \), and
21690 # we should not choose a depcomp mode which is confused by this.
21692 # We need to recreate these files for each test, as the compiler may
21693 # overwrite some of them when testing with obscure command lines.
21694 # This happens at least with the AIX C compiler.
21696 for i in 1 2 3 4 5 6; do
21697 echo '#include "conftst'$i'.h"' >> sub/conftest.c
21698 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21699 # Solaris 8's {/usr,}/bin/sh.
21700 touch sub/conftst$i.h
21702 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21706 # after this tag, mechanisms are not by side-effect, so they'll
21707 # only be used when explicitly requested
21708 if test "x$enable_dependency_tracking" = xyes; then
21716 # We check with `-c' and `-o' for the sake of the "dashmstdout"
21717 # mode. It turns out that the SunPro C++ compiler does not properly
21718 # handle `-M -o', and we need to detect this.
21719 if depmode=$depmode \
21720 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
21721 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21722 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
21723 >/dev/null 2>conftest.err &&
21724 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21725 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21726 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
21727 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21728 # icc doesn't choke on unknown options, it will just issue warnings
21729 # or remarks (even with -Werror). So we grep stderr for any message
21730 # that says an option was ignored or not supported.
21731 # When given -MP, icc 7.0 and 7.1 complain thusly:
21732 # icc: Command line warning: ignoring option '-M'; no argument required
21733 # The diagnosis changed in icc 8.0:
21734 # icc: Command line remark: option '-MP' not supported
21735 if (grep 'ignoring option' conftest.err ||
21736 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21737 am_cv_CXX_dependencies_compiler_type=$depmode
21744 rm -rf conftest.dir
21746 am_cv_CXX_dependencies_compiler_type=none
21750 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
21751 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
21752 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
21755 test "x$enable_dependency_tracking" != xno \
21756 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
21757 am__fastdepCXX_TRUE=
21758 am__fastdepCXX_FALSE='#'
21760 am__fastdepCXX_TRUE='#'
21761 am__fastdepCXX_FALSE=
21766 # Check for the SUN Forte compiler, and define GLIBMM_COMPILER_SUN_FORTE in the header.
21767 #GLIBMM_PROG_CXX_SUN
21769 # Ensure MSVC-compatible struct packing convention is used when
21770 # compiling for Win32 with gcc.
21771 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
21772 # gcc2 uses "-fnative-struct".
21773 if test x"$os_win32" = xyes; then
21774 if test x"$GCC" = xyes -a x"$GXX" = xyes; then
21776 { echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5
21777 echo $ECHO_N "checking how to get MSVC-compatible struct packing... $ECHO_C" >&6; }
21778 if test -z "$ac_cv_prog_CC"; then
21781 our_gcc="$ac_cv_prog_CC"
21783 case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
21785 if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
21786 msnative_struct='-fnative-struct'
21790 if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
21791 msnative_struct='-mms-bitfields'
21795 if test x"$msnative_struct" = x ; then
21796 { echo "$as_me:$LINENO: result: no way" >&5
21797 echo "${ECHO_T}no way" >&6; }
21798 { echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
21799 echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
21801 CXXFLAGS="$CXXFLAGS $msnative_struct"
21802 { echo "$as_me:$LINENO: result: ${msnative_struct}" >&5
21803 echo "${ECHO_T}${msnative_struct}" >&6; }
21809 ac_cpp='$CXXCPP $CPPFLAGS'
21810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21816 # Create a list of input directories for Doxygen.
21818 GTKMM_DOXYGEN_INPUT=
21819 gtkmm_srcdir=`cd "$srcdir" >/dev/null && pwd`
21821 gtkmm_list="pango atk gdk gtk"
21822 for gtkmm_sublib in $gtkmm_list
21824 GTKMM_DOXYGEN_INPUT="$GTKMM_DOXYGEN_INPUT ${gtkmm_srcdir}/${gtkmm_sublib}/${gtkmm_sublib}mm/"
21830 # Evaluate the --enable-warnings=level option.
21832 # Check whether --enable-warnings was given.
21833 if test "${enable_warnings+set}" = set; then
21834 enableval=$enable_warnings; gtkmm_enable_warnings="$enableval"
21836 gtkmm_enable_warnings='minimum'
21840 { echo "$as_me:$LINENO: checking for compiler warning flags to use" >&5
21841 echo $ECHO_N "checking for compiler warning flags to use... $ECHO_C" >&6; }
21843 gtkmm_warning_flags=''
21845 case "$gtkmm_enable_warnings" in
21846 minimum|yes) gtkmm_warning_flags='-Wall';;
21847 maximum) gtkmm_warning_flags='-pedantic -W -Wall';;
21848 hardcore) gtkmm_warning_flags='-pedantic -W -Wall -Werror';;
21853 if test "x$gtkmm_warning_flags" != "x"
21855 echo 'int foo() { return 0; }' > conftest.cc
21857 for flag in $gtkmm_warning_flags
21859 # Test whether the compiler accepts the flag. GCC doesn't bail
21860 # out when given an unsupported flag but prints a warning, so
21861 # check the compiler output instead.
21862 gtkmm_cxx_out="`$CXX $flag -c conftest.cc 2>&1`"
21863 rm -f conftest.$OBJEXT
21864 test "x${gtkmm_cxx_out}" = "x" && \
21865 gtkmm_use_flags="${gtkmm_use_flags:+$gtkmm_use_flags }$flag"
21872 if test "x$gtkmm_use_flags" != "x"
21874 for flag in $gtkmm_use_flags
21876 case " $CXXFLAGS " in
21877 *" $flag "*) ;; # don't add flags twice
21878 *) CXXFLAGS="${CXXFLAGS:+$CXXFLAGS }$flag";;
21882 gtkmm_use_flags='none'
21885 { echo "$as_me:$LINENO: result: $gtkmm_use_flags" >&5
21886 echo "${ECHO_T}$gtkmm_use_flags" >&6; }
21889 # Add an --enable-use-deprecations configure option:
21890 # Check whether --enable-deprecations was given.
21891 if test "${enable_deprecations+set}" = set; then
21892 enableval=$enable_deprecations;
21894 enable_deprecations=no
21898 if test "x$enable_use_deprecations" = "xyes"; then
21899 DISABLE_DEPRECATED_CFLAGS="\
21900 -DG_DISABLE_DEPRECATED \
21901 -DGDK_DISABLE_DEPRECATED \
21902 -DGTK_DISABLE_DEPRECATED \
21903 -DGDK_PIXBUF_DISABLE_DEPRECATED \
21904 -DGNOME_DISABLE_DEPRECATED"
21908 # Add an --enable-deprecated-api option:
21909 # Check whether --enable-deprecated-api was given.
21910 if test "${enable_deprecated_api+set}" = set; then
21911 enableval=$enable_deprecated_api;
21913 enable_deprecated_api=yes
21916 if test "x$enable_deprecated_api" = "xyes"; then
21917 { echo "$as_me:$LINENO: WARNING: Deprecated API will be built, for backwards-compatibility." >&5
21918 echo "$as_me: WARNING: Deprecated API will be built, for backwards-compatibility." >&2;}
21921 cat >>confdefs.h <<\_ACEOF
21922 #define PANGOMM_DISABLE_DEPRECATED 1
21926 cat >>confdefs.h <<\_ACEOF
21927 #define ATKMM_DISABLE_DEPRECATED 1
21931 cat >>confdefs.h <<\_ACEOF
21932 #define GDKMM_DISABLE_DEPRECATED 1
21936 cat >>confdefs.h <<\_ACEOF
21937 #define GTKMM_DISABLE_DEPRECATED 1
21940 DISABLE_DEPRECATED_API_CFLAGS="-DPANGOMM_DISABLE_DEPRECATED -DATKMM_DISABLE_DEPRECATED -DGDKMM_DISABLE_DEPRECATED -DGTKMM_DISABLE_DEPRECATED"
21942 { echo "$as_me:$LINENO: WARNING: Deprecated API will not be built, breaking backwards-compatibility. Do not use this build for distribution packages." >&5
21943 echo "$as_me: WARNING: Deprecated API will not be built, breaking backwards-compatibility. Do not use this build for distribution packages." >&2;}
21947 # Check whether --enable-examples was given.
21948 if test "${enable_examples+set}" = set; then
21949 enableval=$enable_examples;
21951 enable_examples=yes
21954 if test "x$enable_examples" = "xyes"; then
21955 EXAMPLE_SUBDIR="examples"
21956 ac_config_files="$ac_config_files examples/Makefile examples/arrow/Makefile examples/base/Makefile examples/book/Makefile examples/book/alignment/Makefile examples/book/aspectframe/Makefile examples/book/box/Makefile examples/book/builder/Makefile examples/book/builder/basic/Makefile examples/book/builder/derived/Makefile examples/book/buttonbox/Makefile examples/book/buttons/Makefile examples/book/buttons/button/Makefile examples/book/buttons/checkbutton/Makefile examples/book/buttons/filechooserbutton/Makefile examples/book/buttons/radiobutton/Makefile examples/book/buttons/togglebutton/Makefile examples/book/clipboard/Makefile examples/book/clipboard/simple/Makefile examples/book/clipboard/ideal/Makefile examples/book/combobox/Makefile examples/book/combobox/text/Makefile examples/book/combobox/complex/Makefile examples/book/comboboxentry/Makefile examples/book/comboboxentry/text/Makefile examples/book/comboboxentry/complex/Makefile examples/book/custom/Makefile examples/book/custom/custom_container/Makefile examples/book/custom/custom_widget/Makefile examples/book/dialogs/Makefile examples/book/dialogs/aboutdialog/Makefile examples/book/dialogs/colorselectiondialog/Makefile examples/book/dialogs/filechooserdialog/Makefile examples/book/dialogs/fileselection/Makefile examples/book/dialogs/fontselectiondialog/Makefile examples/book/dialogs/messagedialog/Makefile examples/book/dialogs/simple/Makefile examples/book/drag_and_drop/Makefile examples/book/drawingarea/Makefile examples/book/drawingarea/simple/Makefile examples/book/drawingarea/curve/Makefile examples/book/drawingarea/arcs/Makefile examples/book/drawingarea/clock/Makefile examples/book/drawingarea/joins/Makefile examples/book/entry/Makefile examples/book/entry/completion/Makefile examples/book/entry/simple/Makefile examples/book/eventbox/Makefile examples/book/expander/Makefile examples/book/frame/Makefile examples/book/helloworld/Makefile examples/book/helloworld2/Makefile examples/book/iconview/Makefile examples/book/idle/Makefile examples/book/input/Makefile examples/book/label/Makefile examples/book/menus/Makefile examples/book/menus/main_menu/Makefile examples/book/menus/popup/Makefile examples/book/menus_and_toolbars/Makefile examples/book/notebook/Makefile examples/book/paned/Makefile examples/book/printing/Makefile examples/book/printing/advanced/Makefile examples/book/printing/simple/Makefile examples/book/progressbar/Makefile examples/book/recent_files/Makefile examples/book/range_widgets/Makefile examples/book/scrolledwindow/Makefile examples/book/signals/Makefile examples/book/signals/custom/Makefile examples/book/socket/Makefile examples/book/spinbutton/Makefile examples/book/statusicon/Makefile examples/book/table/Makefile examples/book/textview/Makefile examples/book/timeout/Makefile examples/book/toolbar/Makefile examples/book/tooltips/Makefile examples/book/treeview/Makefile examples/book/treeview/combo_renderer/Makefile examples/book/treeview/editable_cells/Makefile examples/book/treeview/list/Makefile examples/book/treeview/listviewtext/Makefile examples/book/treeview/tree/Makefile examples/book/treeview/drag_and_drop/Makefile examples/book/treeview/popup/Makefile examples/book/treeview/filter/Makefile examples/book/treeview/filter_modify/Makefile examples/book/treeview/modelsort/Makefile examples/book/update_ui/Makefile examples/calendar/Makefile examples/dnd/Makefile examples/exception/Makefile examples/gdk/Makefile examples/rulers/Makefile examples/statusbar/Makefile examples/stock/Makefile examples/tictactoe/Makefile examples/treemodelcustom/Makefile examples/window/Makefile"
21965 # Check whether --enable-demos was given.
21966 if test "${enable_demos+set}" = set; then
21967 enableval=$enable_demos;
21972 if test "x$enable_demos" = "xyes"; then
21973 DEMO_SUBDIR="demos"
21974 ac_config_files="$ac_config_files demos/Makefile demos/gtk-demo/Makefile"
21983 #Offer the ability to omit some API from the library,
21984 #to reduce the code size:
21985 #Note that there are other options in glibmm, which affect gtkmm.
21987 # Check whether --enable-api-atkmm was given.
21988 if test "${enable_api_atkmm+set}" = set; then
21989 enableval=$enable_api_atkmm; gtkmm_enable_api_atkmm="$enableval"
21991 gtkmm_enable_api_atkmm='yes'
21995 if test "x$gtkmm_enable_api_atkmm" = "xyes"; then
21998 cat >>confdefs.h <<\_ACEOF
21999 #define GTKMM_ATKMM_ENABLED 1
22006 if test "x$gtkmm_enable_api_atkmm" = "xyes"; then
22007 ac_config_files="$ac_config_files atk/Makefile atk/atkmm-1.6.pc atk/src/Makefile atk/atkmm/Makefile atk/atkmm/private/Makefile"
22009 GTKMM_PC_ATKMM_DEP="atkmm-1.6"
22011 GTKMM_PC_ATKMM_DEP=""
22015 #Allow us to test for atkmm support in Makefile.am files:
22016 if test "x$gtkmm_enable_api_atkmm" = "xyes"; then
22017 GTKMM_ATKMM_ENABLED_TRUE=
22018 GTKMM_ATKMM_ENABLED_FALSE='#'
22020 GTKMM_ATKMM_ENABLED_TRUE='#'
22021 GTKMM_ATKMM_ENABLED_FALSE=
22027 # Check whether --enable-api-maemo-extensions was given.
22028 if test "${enable_api_maemo_extensions+set}" = set; then
22029 enableval=$enable_api_maemo_extensions; gtkmm_enable_api_maemo_extensions="$enableval"
22031 gtkmm_enable_api_maemo_extensions='no'
22035 if test "x$gtkmm_enable_api_maemo_extensions" = "xyes"; then
22038 cat >>confdefs.h <<\_ACEOF
22039 #define GTKMM_MAEMO_EXTENSIONS_ENABLED 1
22047 # Check whether --enable-docs was given.
22048 if test "${enable_docs+set}" = set; then
22049 enableval=$enable_docs;
22054 if test "x$enable_docs" = "xyes"; then
22056 ac_config_files="$ac_config_files docs/Makefile docs/FAQ/Makefile docs/images/Makefile docs/tutorial/Makefile docs/tutorial/figures/Makefile docs/tutorial/icons/Makefile docs/reference/Makefile docs/reference/Doxyfile"
22063 # Dummy conditional just to make automake-1.4 happy.
22064 # We need an always-false condition in docs/Makefile.am.
22067 GTKMM_FALSE_FALSE='#'
22069 GTKMM_FALSE_TRUE='#'
22074 # HACK: Assign a dummy in order to prevent execution of autoheader by the
22075 # maintainer-mode rules. That would fail since we aren't using autoheader.
22079 ac_config_files="$ac_config_files Makefile gdk/Makefile gdk/gdkmm-2.4.pc gdk/src/Makefile gdk/gdkmm/Makefile gdk/gdkmm/private/Makefile gtk/Makefile gtk/gtkmm-2.4.pc gtk/src/Makefile gtk/gtkmm/Makefile gtk/gtkmm/private/Makefile pango/Makefile pango/pangomm-1.4.pc pango/src/Makefile pango/pangomm/Makefile pango/pangomm/private/Makefile tools/Makefile tools/m4/Makefile tools/extra_defs_gen/Makefile"
22082 ac_config_files="$ac_config_files tests/Makefile tests/child_widget/Makefile tests/child_widget2/Makefile tests/child_widget_managed/Makefile tests/refcount_dialog/Makefile tests/dialog/Makefile tests/dialog_deletethis/Makefile tests/delete_cpp_child/Makefile tests/main_with_options/Makefile tests/menu_destruction/Makefile tests/property_notification/Makefile tests/scrolledwindow/Makefile tests/wrap_existing/Makefile"
22085 ac_config_files="$ac_config_files scripts/Makefile"
22088 ac_config_files="$ac_config_files MSVC_Net2003/Makefile MSVC_Net2003/gendef/Makefile MSVC_Net2003/atkmm/Makefile MSVC_Net2003/atkmm/atkmm.rc MSVC_Net2003/pangomm/Makefile MSVC_Net2003/pangomm/pangomm.rc MSVC_Net2003/gdkmm/Makefile MSVC_Net2003/gdkmm/gdkmm.rc MSVC_Net2003/gtkmm/Makefile MSVC_Net2003/gtkmm/gtkmm.rc MSVC_Net2003/demos/Makefile MSVC_Net2003/demos/gtk-demo/Makefile MSVC_Net2003/examples/Makefile MSVC_Net2003/examples/arrow/Makefile MSVC_Net2003/examples/calendar/Makefile MSVC_Net2003/examples/cellrenderercustom_popup/Makefile MSVC_Net2003/examples/cellrenderercustom_toggle/Makefile MSVC_Net2003/examples/direction/Makefile MSVC_Net2003/examples/dnd/Makefile MSVC_Net2003/examples/exception/Makefile MSVC_Net2003/examples/gdk/Makefile MSVC_Net2003/examples/printing/Makefile MSVC_Net2003/examples/rulers/Makefile MSVC_Net2003/examples/statusbar/Makefile MSVC_Net2003/examples/stock/Makefile MSVC_Net2003/examples/tictactoe/Makefile MSVC_Net2003/examples/treemodelcustom/Makefile MSVC_Net2003/examples/window/Makefile"
22091 cat >confcache <<\_ACEOF
22092 # This file is a shell script that caches the results of configure
22093 # tests run on this system so they can be shared between configure
22094 # scripts and configure runs, see configure's option --config-cache.
22095 # It is not useful on other systems. If it contains results you don't
22096 # want to keep, you may remove or edit it.
22098 # config.status only pays attention to the cache file if you give it
22099 # the --recheck option to rerun configure.
22101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22103 # following values.
22107 # The following way of writing the cache mishandles newlines in values,
22108 # but we know of no workaround that is simple, portable, and efficient.
22109 # So, we kill variables containing newlines.
22110 # Ultrix sh set writes to stderr and can't be redirected directly,
22111 # and sets the high bit in the cache file unless we assign to the vars.
22113 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22114 eval ac_val=\$$ac_var
22118 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22122 _ | IFS | as_nl) ;; #(
22123 *) $as_unset $ac_var ;;
22129 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22130 *${as_nl}ac_space=\ *)
22131 # `set' does not quote correctly, so add quotes (double-quote
22132 # substitution turns \\\\ into \\, and sed turns \\ into \).
22135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22138 # `set' quotes correctly as required by POSIX, so do not add quotes.
22139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22150 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22152 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22153 if test -w "$cache_file"; then
22154 test "x$cache_file" != "x/dev/null" &&
22155 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22156 echo "$as_me: updating cache $cache_file" >&6;}
22157 cat confcache >$cache_file
22159 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22160 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22165 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22166 # Let make expand exec_prefix.
22167 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22169 DEFS=-DHAVE_CONFIG_H
22173 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22174 # 1. Remove the extension, and $U if already installed.
22175 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22176 ac_i=`echo "$ac_i" | sed "$ac_script"`
22177 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22178 # will be set to the directory where LIBOBJS objects are built.
22179 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22180 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22182 LIBOBJS=$ac_libobjs
22184 LTLIBOBJS=$ac_ltlibobjs
22187 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22188 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22189 Usually this means the macro was only invoked conditionally." >&5
22190 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22191 Usually this means the macro was only invoked conditionally." >&2;}
22192 { (exit 1); exit 1; }; }
22194 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22195 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22196 Usually this means the macro was only invoked conditionally." >&5
22197 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22198 Usually this means the macro was only invoked conditionally." >&2;}
22199 { (exit 1); exit 1; }; }
22201 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22202 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22203 Usually this means the macro was only invoked conditionally." >&5
22204 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22205 Usually this means the macro was only invoked conditionally." >&2;}
22206 { (exit 1); exit 1; }; }
22208 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
22209 { { echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
22210 Usually this means the macro was only invoked conditionally." >&5
22211 echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
22212 Usually this means the macro was only invoked conditionally." >&2;}
22213 { (exit 1); exit 1; }; }
22215 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
22216 { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
22217 Usually this means the macro was only invoked conditionally." >&5
22218 echo "$as_me: error: conditional \"OS_WIN32\" was never defined.
22219 Usually this means the macro was only invoked conditionally." >&2;}
22220 { (exit 1); exit 1; }; }
22222 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22223 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22224 Usually this means the macro was only invoked conditionally." >&5
22225 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22226 Usually this means the macro was only invoked conditionally." >&2;}
22227 { (exit 1); exit 1; }; }
22229 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22230 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22231 Usually this means the macro was only invoked conditionally." >&5
22232 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22233 Usually this means the macro was only invoked conditionally." >&2;}
22234 { (exit 1); exit 1; }; }
22236 if test -z "${GTKMM_ATKMM_ENABLED_TRUE}" && test -z "${GTKMM_ATKMM_ENABLED_FALSE}"; then
22237 { { echo "$as_me:$LINENO: error: conditional \"GTKMM_ATKMM_ENABLED\" was never defined.
22238 Usually this means the macro was only invoked conditionally." >&5
22239 echo "$as_me: error: conditional \"GTKMM_ATKMM_ENABLED\" was never defined.
22240 Usually this means the macro was only invoked conditionally." >&2;}
22241 { (exit 1); exit 1; }; }
22243 if test -z "${GTKMM_FALSE_TRUE}" && test -z "${GTKMM_FALSE_FALSE}"; then
22244 { { echo "$as_me:$LINENO: error: conditional \"GTKMM_FALSE\" was never defined.
22245 Usually this means the macro was only invoked conditionally." >&5
22246 echo "$as_me: error: conditional \"GTKMM_FALSE\" was never defined.
22247 Usually this means the macro was only invoked conditionally." >&2;}
22248 { (exit 1); exit 1; }; }
22251 : ${CONFIG_STATUS=./config.status}
22252 ac_clean_files_save=$ac_clean_files
22253 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22254 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22255 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22256 cat >$CONFIG_STATUS <<_ACEOF
22258 # Generated by $as_me.
22259 # Run this file to recreate the current configuration.
22260 # Compiler output produced by configure, useful for debugging
22261 # configure, is in config.log if it exists.
22264 ac_cs_recheck=false
22266 SHELL=\${CONFIG_SHELL-$SHELL}
22269 cat >>$CONFIG_STATUS <<\_ACEOF
22270 ## --------------------- ##
22271 ## M4sh Initialization. ##
22272 ## --------------------- ##
22274 # Be more Bourne compatible
22275 DUALCASE=1; export DUALCASE # for MKS sh
22276 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22279 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22280 # is contrary to our usage. Disable this feature.
22281 alias -g '${1+"$@"}'='"$@"'
22282 setopt NO_GLOB_SUBST
22284 case `(set -o) 2>/dev/null` in
22285 *posix*) set -o posix ;;
22294 # Avoid depending upon Character Ranges.
22295 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22296 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22297 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22298 as_cr_digits='0123456789'
22299 as_cr_alnum=$as_cr_Letters$as_cr_digits
22301 # The user is always right.
22302 if test "${PATH_SEPARATOR+set}" != set; then
22303 echo "#! /bin/sh" >conf$$.sh
22304 echo "exit 0" >>conf$$.sh
22306 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22314 # Support unset when possible.
22315 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22323 # We need space, tab and new line, in precisely that order. Quoting is
22324 # there to prevent editors from complaining about space-tab.
22325 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22326 # splitting by setting IFS to empty value.)
22331 # Find who we are. Look in the path if we contain no directory separator.
22333 *[\\/]* ) as_myself=$0 ;;
22334 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22335 for as_dir in $PATH
22338 test -z "$as_dir" && as_dir=.
22339 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22345 # We did not find ourselves, most probably we were run as `sh COMMAND'
22346 # in which case we are not to be found in the path.
22347 if test "x$as_myself" = x; then
22350 if test ! -f "$as_myself"; then
22351 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22352 { (exit 1); exit 1; }
22355 # Work around bugs in pre-3.0 UWIN ksh.
22356 for as_var in ENV MAIL MAILPATH
22357 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22365 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22366 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22367 LC_TELEPHONE LC_TIME
22369 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22370 eval $as_var=C; export $as_var
22372 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22376 # Required to use basename.
22377 if expr a : '\(a\)' >/dev/null 2>&1 &&
22378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22384 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22385 as_basename=basename
22391 # Name of the executable.
22392 as_me=`$as_basename -- "$0" ||
22393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22394 X"$0" : 'X\(//\)$' \| \
22395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22397 sed '/^.*\/\([^/][^/]*\)\/*$/{
22416 as_lineno_1=$LINENO
22417 as_lineno_2=$LINENO
22418 test "x$as_lineno_1" != "x$as_lineno_2" &&
22419 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22421 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22422 # uniformly replaced by the line number. The first 'sed' inserts a
22423 # line-number line after each line using $LINENO; the second 'sed'
22424 # does the real work. The second script uses 'N' to pair each
22425 # line-number line with the line containing $LINENO, and appends
22426 # trailing '-' during substitution so that $LINENO is not a special
22427 # case at line end.
22428 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22429 # scripts with optimization help from Paolo Bonzini. Blame Lee
22430 # E. McMahon (1931-1989) for sed's syntax. :-)
22442 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22445 ' >$as_me.lineno &&
22446 chmod +x "$as_me.lineno" ||
22447 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22448 { (exit 1); exit 1; }; }
22450 # Don't try to exec as it changes $[0], causing all sort of problems
22451 # (the dirname of $[0] is not the place where we might find the
22452 # original and so on. Autoconf is especially sensitive to this).
22453 . "./$as_me.lineno"
22454 # Exit status is that of the last command.
22459 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22465 ECHO_C= ECHO_N= ECHO_T=
22466 case `echo -n x` in
22468 case `echo 'x\c'` in
22469 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22476 if expr a : '\(a\)' >/dev/null 2>&1 &&
22477 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22483 rm -f conf$$ conf$$.exe conf$$.file
22484 if test -d conf$$.dir; then
22485 rm -f conf$$.dir/conf$$.file
22491 if ln -s conf$$.file conf$$ 2>/dev/null; then
22493 # ... but there are two gotchas:
22494 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22495 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22496 # In both cases, we have to default to `cp -p'.
22497 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22499 elif ln conf$$.file conf$$ 2>/dev/null; then
22504 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22505 rmdir conf$$.dir 2>/dev/null
22507 if mkdir -p . 2>/dev/null; then
22510 test -d ./-p && rmdir ./-p
22514 if test -x / >/dev/null 2>&1; then
22515 as_test_x='test -x'
22517 if ls -dL / >/dev/null 2>&1; then
22524 if test -d "$1"; then
22530 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22531 ???[sx]*):;;*)false;;esac;fi
22535 as_executable_p=$as_test_x
22537 # Sed expression to map a string onto a valid CPP name.
22538 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22540 # Sed expression to map a string onto a valid variable name.
22541 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22546 # Save the log message, to keep $[0] and so on meaningful, and to
22547 # report actual input values of CONFIG_FILES etc. instead of their
22548 # values after options handling.
22550 This file was extended by gtkmm $as_me 2.12.3, which was
22551 generated by GNU Autoconf 2.61. Invocation command line was
22553 CONFIG_FILES = $CONFIG_FILES
22554 CONFIG_HEADERS = $CONFIG_HEADERS
22555 CONFIG_LINKS = $CONFIG_LINKS
22556 CONFIG_COMMANDS = $CONFIG_COMMANDS
22559 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22564 cat >>$CONFIG_STATUS <<_ACEOF
22565 # Files that config.status was made for.
22566 config_files="$ac_config_files"
22567 config_headers="$ac_config_headers"
22568 config_commands="$ac_config_commands"
22572 cat >>$CONFIG_STATUS <<\_ACEOF
22574 \`$as_me' instantiates files from templates according to the
22575 current configuration.
22577 Usage: $0 [OPTIONS] [FILE]...
22579 -h, --help print this help, then exit
22580 -V, --version print version number and configuration settings, then exit
22581 -q, --quiet do not print progress messages
22582 -d, --debug don't remove temporary files
22583 --recheck update $as_me by reconfiguring in the same conditions
22584 --file=FILE[:TEMPLATE]
22585 instantiate the configuration file FILE
22586 --header=FILE[:TEMPLATE]
22587 instantiate the configuration header FILE
22589 Configuration files:
22592 Configuration headers:
22595 Configuration commands:
22598 Report bugs to <bug-autoconf@gnu.org>."
22601 cat >>$CONFIG_STATUS <<_ACEOF
22603 gtkmm config.status 2.12.3
22604 configured by $0, generated by GNU Autoconf 2.61,
22605 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22607 Copyright (C) 2006 Free Software Foundation, Inc.
22608 This config.status script is free software; the Free Software Foundation
22609 gives unlimited permission to copy, distribute and modify it."
22617 cat >>$CONFIG_STATUS <<\_ACEOF
22618 # If no file are specified by the user, then we need to provide default
22619 # value. By we need to know if files were specified by the user.
22625 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22626 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22637 # Handling of the options.
22638 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22640 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22641 echo "$ac_cs_version"; exit ;;
22642 --debug | --debu | --deb | --de | --d | -d )
22644 --file | --fil | --fi | --f )
22646 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22647 ac_need_defaults=false;;
22648 --header | --heade | --head | --hea )
22650 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22651 ac_need_defaults=false;;
22653 # Conflict between --help and --header
22654 { echo "$as_me: error: ambiguous option: $1
22655 Try \`$0 --help' for more information." >&2
22656 { (exit 1); exit 1; }; };;
22657 --help | --hel | -h )
22658 echo "$ac_cs_usage"; exit ;;
22659 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22660 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22663 # This is an error.
22664 -*) { echo "$as_me: error: unrecognized option: $1
22665 Try \`$0 --help' for more information." >&2
22666 { (exit 1); exit 1; }; } ;;
22668 *) ac_config_targets="$ac_config_targets $1"
22669 ac_need_defaults=false ;;
22675 ac_configure_extra_args=
22677 if $ac_cs_silent; then
22679 ac_configure_extra_args="$ac_configure_extra_args --silent"
22683 cat >>$CONFIG_STATUS <<_ACEOF
22684 if \$ac_cs_recheck; then
22685 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22686 CONFIG_SHELL=$SHELL
22687 export CONFIG_SHELL
22688 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22692 cat >>$CONFIG_STATUS <<\_ACEOF
22696 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22697 ## Running $as_me. ##
22703 cat >>$CONFIG_STATUS <<_ACEOF
22707 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22711 cat >>$CONFIG_STATUS <<\_ACEOF
22713 # Handling of arguments.
22714 for ac_config_target in $ac_config_targets
22716 case $ac_config_target in
22717 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22718 "gdk/gdkmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gdk/gdkmmconfig.h" ;;
22719 "gtk/gtkmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gtk/gtkmmconfig.h" ;;
22720 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22721 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
22722 "examples/arrow/Makefile") CONFIG_FILES="$CONFIG_FILES examples/arrow/Makefile" ;;
22723 "examples/base/Makefile") CONFIG_FILES="$CONFIG_FILES examples/base/Makefile" ;;
22724 "examples/book/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/Makefile" ;;
22725 "examples/book/alignment/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/alignment/Makefile" ;;
22726 "examples/book/aspectframe/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/aspectframe/Makefile" ;;
22727 "examples/book/box/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/box/Makefile" ;;
22728 "examples/book/builder/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/builder/Makefile" ;;
22729 "examples/book/builder/basic/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/builder/basic/Makefile" ;;
22730 "examples/book/builder/derived/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/builder/derived/Makefile" ;;
22731 "examples/book/buttonbox/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttonbox/Makefile" ;;
22732 "examples/book/buttons/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/Makefile" ;;
22733 "examples/book/buttons/button/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/button/Makefile" ;;
22734 "examples/book/buttons/checkbutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/checkbutton/Makefile" ;;
22735 "examples/book/buttons/filechooserbutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/filechooserbutton/Makefile" ;;
22736 "examples/book/buttons/radiobutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/radiobutton/Makefile" ;;
22737 "examples/book/buttons/togglebutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/buttons/togglebutton/Makefile" ;;
22738 "examples/book/clipboard/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/clipboard/Makefile" ;;
22739 "examples/book/clipboard/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/clipboard/simple/Makefile" ;;
22740 "examples/book/clipboard/ideal/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/clipboard/ideal/Makefile" ;;
22741 "examples/book/combobox/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/combobox/Makefile" ;;
22742 "examples/book/combobox/text/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/combobox/text/Makefile" ;;
22743 "examples/book/combobox/complex/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/combobox/complex/Makefile" ;;
22744 "examples/book/comboboxentry/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/comboboxentry/Makefile" ;;
22745 "examples/book/comboboxentry/text/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/comboboxentry/text/Makefile" ;;
22746 "examples/book/comboboxentry/complex/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/comboboxentry/complex/Makefile" ;;
22747 "examples/book/custom/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/custom/Makefile" ;;
22748 "examples/book/custom/custom_container/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/custom/custom_container/Makefile" ;;
22749 "examples/book/custom/custom_widget/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/custom/custom_widget/Makefile" ;;
22750 "examples/book/dialogs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/Makefile" ;;
22751 "examples/book/dialogs/aboutdialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/aboutdialog/Makefile" ;;
22752 "examples/book/dialogs/colorselectiondialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/colorselectiondialog/Makefile" ;;
22753 "examples/book/dialogs/filechooserdialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/filechooserdialog/Makefile" ;;
22754 "examples/book/dialogs/fileselection/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/fileselection/Makefile" ;;
22755 "examples/book/dialogs/fontselectiondialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/fontselectiondialog/Makefile" ;;
22756 "examples/book/dialogs/messagedialog/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/messagedialog/Makefile" ;;
22757 "examples/book/dialogs/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/dialogs/simple/Makefile" ;;
22758 "examples/book/drag_and_drop/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drag_and_drop/Makefile" ;;
22759 "examples/book/drawingarea/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/Makefile" ;;
22760 "examples/book/drawingarea/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/simple/Makefile" ;;
22761 "examples/book/drawingarea/curve/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/curve/Makefile" ;;
22762 "examples/book/drawingarea/arcs/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/arcs/Makefile" ;;
22763 "examples/book/drawingarea/clock/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/clock/Makefile" ;;
22764 "examples/book/drawingarea/joins/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/drawingarea/joins/Makefile" ;;
22765 "examples/book/entry/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/entry/Makefile" ;;
22766 "examples/book/entry/completion/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/entry/completion/Makefile" ;;
22767 "examples/book/entry/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/entry/simple/Makefile" ;;
22768 "examples/book/eventbox/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/eventbox/Makefile" ;;
22769 "examples/book/expander/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/expander/Makefile" ;;
22770 "examples/book/frame/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/frame/Makefile" ;;
22771 "examples/book/helloworld/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/helloworld/Makefile" ;;
22772 "examples/book/helloworld2/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/helloworld2/Makefile" ;;
22773 "examples/book/iconview/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/iconview/Makefile" ;;
22774 "examples/book/idle/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/idle/Makefile" ;;
22775 "examples/book/input/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/input/Makefile" ;;
22776 "examples/book/label/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/label/Makefile" ;;
22777 "examples/book/menus/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/menus/Makefile" ;;
22778 "examples/book/menus/main_menu/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/menus/main_menu/Makefile" ;;
22779 "examples/book/menus/popup/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/menus/popup/Makefile" ;;
22780 "examples/book/menus_and_toolbars/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/menus_and_toolbars/Makefile" ;;
22781 "examples/book/notebook/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/notebook/Makefile" ;;
22782 "examples/book/paned/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/paned/Makefile" ;;
22783 "examples/book/printing/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/printing/Makefile" ;;
22784 "examples/book/printing/advanced/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/printing/advanced/Makefile" ;;
22785 "examples/book/printing/simple/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/printing/simple/Makefile" ;;
22786 "examples/book/progressbar/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/progressbar/Makefile" ;;
22787 "examples/book/recent_files/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/recent_files/Makefile" ;;
22788 "examples/book/range_widgets/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/range_widgets/Makefile" ;;
22789 "examples/book/scrolledwindow/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/scrolledwindow/Makefile" ;;
22790 "examples/book/signals/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/signals/Makefile" ;;
22791 "examples/book/signals/custom/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/signals/custom/Makefile" ;;
22792 "examples/book/socket/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/socket/Makefile" ;;
22793 "examples/book/spinbutton/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/spinbutton/Makefile" ;;
22794 "examples/book/statusicon/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/statusicon/Makefile" ;;
22795 "examples/book/table/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/table/Makefile" ;;
22796 "examples/book/textview/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/textview/Makefile" ;;
22797 "examples/book/timeout/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/timeout/Makefile" ;;
22798 "examples/book/toolbar/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/toolbar/Makefile" ;;
22799 "examples/book/tooltips/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/tooltips/Makefile" ;;
22800 "examples/book/treeview/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/Makefile" ;;
22801 "examples/book/treeview/combo_renderer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/combo_renderer/Makefile" ;;
22802 "examples/book/treeview/editable_cells/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/editable_cells/Makefile" ;;
22803 "examples/book/treeview/list/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/list/Makefile" ;;
22804 "examples/book/treeview/listviewtext/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/listviewtext/Makefile" ;;
22805 "examples/book/treeview/tree/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/tree/Makefile" ;;
22806 "examples/book/treeview/drag_and_drop/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/drag_and_drop/Makefile" ;;
22807 "examples/book/treeview/popup/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/popup/Makefile" ;;
22808 "examples/book/treeview/filter/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/filter/Makefile" ;;
22809 "examples/book/treeview/filter_modify/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/filter_modify/Makefile" ;;
22810 "examples/book/treeview/modelsort/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/treeview/modelsort/Makefile" ;;
22811 "examples/book/update_ui/Makefile") CONFIG_FILES="$CONFIG_FILES examples/book/update_ui/Makefile" ;;
22812 "examples/calendar/Makefile") CONFIG_FILES="$CONFIG_FILES examples/calendar/Makefile" ;;
22813 "examples/dnd/Makefile") CONFIG_FILES="$CONFIG_FILES examples/dnd/Makefile" ;;
22814 "examples/exception/Makefile") CONFIG_FILES="$CONFIG_FILES examples/exception/Makefile" ;;
22815 "examples/gdk/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gdk/Makefile" ;;
22816 "examples/rulers/Makefile") CONFIG_FILES="$CONFIG_FILES examples/rulers/Makefile" ;;
22817 "examples/statusbar/Makefile") CONFIG_FILES="$CONFIG_FILES examples/statusbar/Makefile" ;;
22818 "examples/stock/Makefile") CONFIG_FILES="$CONFIG_FILES examples/stock/Makefile" ;;
22819 "examples/tictactoe/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tictactoe/Makefile" ;;
22820 "examples/treemodelcustom/Makefile") CONFIG_FILES="$CONFIG_FILES examples/treemodelcustom/Makefile" ;;
22821 "examples/window/Makefile") CONFIG_FILES="$CONFIG_FILES examples/window/Makefile" ;;
22822 "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
22823 "demos/gtk-demo/Makefile") CONFIG_FILES="$CONFIG_FILES demos/gtk-demo/Makefile" ;;
22824 "atk/Makefile") CONFIG_FILES="$CONFIG_FILES atk/Makefile" ;;
22825 "atk/atkmm-1.6.pc") CONFIG_FILES="$CONFIG_FILES atk/atkmm-1.6.pc" ;;
22826 "atk/src/Makefile") CONFIG_FILES="$CONFIG_FILES atk/src/Makefile" ;;
22827 "atk/atkmm/Makefile") CONFIG_FILES="$CONFIG_FILES atk/atkmm/Makefile" ;;
22828 "atk/atkmm/private/Makefile") CONFIG_FILES="$CONFIG_FILES atk/atkmm/private/Makefile" ;;
22829 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
22830 "docs/FAQ/Makefile") CONFIG_FILES="$CONFIG_FILES docs/FAQ/Makefile" ;;
22831 "docs/images/Makefile") CONFIG_FILES="$CONFIG_FILES docs/images/Makefile" ;;
22832 "docs/tutorial/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tutorial/Makefile" ;;
22833 "docs/tutorial/figures/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tutorial/figures/Makefile" ;;
22834 "docs/tutorial/icons/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tutorial/icons/Makefile" ;;
22835 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
22836 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
22837 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22838 "gdk/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/Makefile" ;;
22839 "gdk/gdkmm-2.4.pc") CONFIG_FILES="$CONFIG_FILES gdk/gdkmm-2.4.pc" ;;
22840 "gdk/src/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/src/Makefile" ;;
22841 "gdk/gdkmm/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/gdkmm/Makefile" ;;
22842 "gdk/gdkmm/private/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/gdkmm/private/Makefile" ;;
22843 "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;;
22844 "gtk/gtkmm-2.4.pc") CONFIG_FILES="$CONFIG_FILES gtk/gtkmm-2.4.pc" ;;
22845 "gtk/src/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/src/Makefile" ;;
22846 "gtk/gtkmm/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/gtkmm/Makefile" ;;
22847 "gtk/gtkmm/private/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/gtkmm/private/Makefile" ;;
22848 "pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;;
22849 "pango/pangomm-1.4.pc") CONFIG_FILES="$CONFIG_FILES pango/pangomm-1.4.pc" ;;
22850 "pango/src/Makefile") CONFIG_FILES="$CONFIG_FILES pango/src/Makefile" ;;
22851 "pango/pangomm/Makefile") CONFIG_FILES="$CONFIG_FILES pango/pangomm/Makefile" ;;
22852 "pango/pangomm/private/Makefile") CONFIG_FILES="$CONFIG_FILES pango/pangomm/private/Makefile" ;;
22853 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22854 "tools/m4/Makefile") CONFIG_FILES="$CONFIG_FILES tools/m4/Makefile" ;;
22855 "tools/extra_defs_gen/Makefile") CONFIG_FILES="$CONFIG_FILES tools/extra_defs_gen/Makefile" ;;
22856 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
22857 "tests/child_widget/Makefile") CONFIG_FILES="$CONFIG_FILES tests/child_widget/Makefile" ;;
22858 "tests/child_widget2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/child_widget2/Makefile" ;;
22859 "tests/child_widget_managed/Makefile") CONFIG_FILES="$CONFIG_FILES tests/child_widget_managed/Makefile" ;;
22860 "tests/refcount_dialog/Makefile") CONFIG_FILES="$CONFIG_FILES tests/refcount_dialog/Makefile" ;;
22861 "tests/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dialog/Makefile" ;;
22862 "tests/dialog_deletethis/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dialog_deletethis/Makefile" ;;
22863 "tests/delete_cpp_child/Makefile") CONFIG_FILES="$CONFIG_FILES tests/delete_cpp_child/Makefile" ;;
22864 "tests/main_with_options/Makefile") CONFIG_FILES="$CONFIG_FILES tests/main_with_options/Makefile" ;;
22865 "tests/menu_destruction/Makefile") CONFIG_FILES="$CONFIG_FILES tests/menu_destruction/Makefile" ;;
22866 "tests/property_notification/Makefile") CONFIG_FILES="$CONFIG_FILES tests/property_notification/Makefile" ;;
22867 "tests/scrolledwindow/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scrolledwindow/Makefile" ;;
22868 "tests/wrap_existing/Makefile") CONFIG_FILES="$CONFIG_FILES tests/wrap_existing/Makefile" ;;
22869 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
22870 "MSVC_Net2003/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/Makefile" ;;
22871 "MSVC_Net2003/gendef/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gendef/Makefile" ;;
22872 "MSVC_Net2003/atkmm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/atkmm/Makefile" ;;
22873 "MSVC_Net2003/atkmm/atkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/atkmm/atkmm.rc" ;;
22874 "MSVC_Net2003/pangomm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/pangomm/Makefile" ;;
22875 "MSVC_Net2003/pangomm/pangomm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/pangomm/pangomm.rc" ;;
22876 "MSVC_Net2003/gdkmm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gdkmm/Makefile" ;;
22877 "MSVC_Net2003/gdkmm/gdkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gdkmm/gdkmm.rc" ;;
22878 "MSVC_Net2003/gtkmm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gtkmm/Makefile" ;;
22879 "MSVC_Net2003/gtkmm/gtkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/gtkmm/gtkmm.rc" ;;
22880 "MSVC_Net2003/demos/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/demos/Makefile" ;;
22881 "MSVC_Net2003/demos/gtk-demo/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/demos/gtk-demo/Makefile" ;;
22882 "MSVC_Net2003/examples/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/Makefile" ;;
22883 "MSVC_Net2003/examples/arrow/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/arrow/Makefile" ;;
22884 "MSVC_Net2003/examples/calendar/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/calendar/Makefile" ;;
22885 "MSVC_Net2003/examples/cellrenderercustom_popup/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/cellrenderercustom_popup/Makefile" ;;
22886 "MSVC_Net2003/examples/cellrenderercustom_toggle/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/cellrenderercustom_toggle/Makefile" ;;
22887 "MSVC_Net2003/examples/direction/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/direction/Makefile" ;;
22888 "MSVC_Net2003/examples/dnd/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/dnd/Makefile" ;;
22889 "MSVC_Net2003/examples/exception/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/exception/Makefile" ;;
22890 "MSVC_Net2003/examples/gdk/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/gdk/Makefile" ;;
22891 "MSVC_Net2003/examples/printing/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/printing/Makefile" ;;
22892 "MSVC_Net2003/examples/rulers/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/rulers/Makefile" ;;
22893 "MSVC_Net2003/examples/statusbar/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/statusbar/Makefile" ;;
22894 "MSVC_Net2003/examples/stock/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/stock/Makefile" ;;
22895 "MSVC_Net2003/examples/tictactoe/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/tictactoe/Makefile" ;;
22896 "MSVC_Net2003/examples/treemodelcustom/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/treemodelcustom/Makefile" ;;
22897 "MSVC_Net2003/examples/window/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2003/examples/window/Makefile" ;;
22899 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22900 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22901 { (exit 1); exit 1; }; };;
22906 # If the user did not use the arguments to specify the items to instantiate,
22907 # then the envvar interface is used. Set only those that are not.
22908 # We use the long form for the default assignment because of an extremely
22909 # bizarre bug on SunOS 4.1.3.
22910 if $ac_need_defaults; then
22911 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22912 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22913 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22916 # Have a temporary directory for convenience. Make it in the build tree
22917 # simply because there is no reason against having it here, and in addition,
22918 # creating and moving files from /tmp can sometimes cause problems.
22919 # Hook for its removal unless debugging.
22920 # Note that there is a small window in which the directory will not be cleaned:
22921 # after its creation but before its name has been assigned to `$tmp'.
22925 trap 'exit_status=$?
22926 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22928 trap '{ (exit 1); exit 1; }' 1 2 13 15
22930 # Create a (secure) tmp directory for tmp files.
22933 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22934 test -n "$tmp" && test -d "$tmp"
22937 tmp=./conf$$-$RANDOM
22938 (umask 077 && mkdir "$tmp")
22941 echo "$me: cannot create a temporary directory in ." >&2
22942 { (exit 1); exit 1; }
22946 # Set up the sed scripts for CONFIG_FILES section.
22949 # No need to generate the scripts if there are no CONFIG_FILES.
22950 # This happens for instance when ./config.status config.h
22951 if test -n "$CONFIG_FILES"; then
22958 for ac_last_try in false false false false false :; do
22959 cat >conf$$subs.sed <<_ACEOF
22960 SHELL!$SHELL$ac_delim
22961 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22962 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22963 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22964 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22965 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22966 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22967 exec_prefix!$exec_prefix$ac_delim
22968 prefix!$prefix$ac_delim
22969 program_transform_name!$program_transform_name$ac_delim
22970 bindir!$bindir$ac_delim
22971 sbindir!$sbindir$ac_delim
22972 libexecdir!$libexecdir$ac_delim
22973 datarootdir!$datarootdir$ac_delim
22974 datadir!$datadir$ac_delim
22975 sysconfdir!$sysconfdir$ac_delim
22976 sharedstatedir!$sharedstatedir$ac_delim
22977 localstatedir!$localstatedir$ac_delim
22978 includedir!$includedir$ac_delim
22979 oldincludedir!$oldincludedir$ac_delim
22980 docdir!$docdir$ac_delim
22981 infodir!$infodir$ac_delim
22982 htmldir!$htmldir$ac_delim
22983 dvidir!$dvidir$ac_delim
22984 pdfdir!$pdfdir$ac_delim
22985 psdir!$psdir$ac_delim
22986 libdir!$libdir$ac_delim
22987 localedir!$localedir$ac_delim
22988 mandir!$mandir$ac_delim
22989 DEFS!$DEFS$ac_delim
22990 ECHO_C!$ECHO_C$ac_delim
22991 ECHO_N!$ECHO_N$ac_delim
22992 ECHO_T!$ECHO_T$ac_delim
22993 LIBS!$LIBS$ac_delim
22994 build_alias!$build_alias$ac_delim
22995 host_alias!$host_alias$ac_delim
22996 target_alias!$target_alias$ac_delim
22997 GTKMM_MAJOR_VERSION!$GTKMM_MAJOR_VERSION$ac_delim
22998 GTKMM_MINOR_VERSION!$GTKMM_MINOR_VERSION$ac_delim
22999 GTKMM_MICRO_VERSION!$GTKMM_MICRO_VERSION$ac_delim
23000 GTKMM_VERSION!$GTKMM_VERSION$ac_delim
23001 GTKMM_RELEASE!$GTKMM_RELEASE$ac_delim
23002 LIBGTKMM_SO_VERSION!$LIBGTKMM_SO_VERSION$ac_delim
23003 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23004 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23005 INSTALL_DATA!$INSTALL_DATA$ac_delim
23006 am__isrc!$am__isrc$ac_delim
23007 CYGPATH_W!$CYGPATH_W$ac_delim
23008 PACKAGE!$PACKAGE$ac_delim
23009 VERSION!$VERSION$ac_delim
23010 ACLOCAL!$ACLOCAL$ac_delim
23011 AUTOCONF!$AUTOCONF$ac_delim
23012 AUTOMAKE!$AUTOMAKE$ac_delim
23013 AUTOHEADER!$AUTOHEADER$ac_delim
23014 MAKEINFO!$MAKEINFO$ac_delim
23015 install_sh!$install_sh$ac_delim
23016 STRIP!$STRIP$ac_delim
23017 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23018 mkdir_p!$mkdir_p$ac_delim
23020 SET_MAKE!$SET_MAKE$ac_delim
23021 am__leading_dot!$am__leading_dot$ac_delim
23022 AMTAR!$AMTAR$ac_delim
23023 am__tar!$am__tar$ac_delim
23024 am__untar!$am__untar$ac_delim
23025 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23026 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23027 MAINT!$MAINT$ac_delim
23029 CFLAGS!$CFLAGS$ac_delim
23030 LDFLAGS!$LDFLAGS$ac_delim
23031 CPPFLAGS!$CPPFLAGS$ac_delim
23032 ac_ct_CC!$ac_ct_CC$ac_delim
23033 EXEEXT!$EXEEXT$ac_delim
23034 OBJEXT!$OBJEXT$ac_delim
23035 DEPDIR!$DEPDIR$ac_delim
23036 am__include!$am__include$ac_delim
23037 am__quote!$am__quote$ac_delim
23038 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23039 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23040 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23041 CCDEPMODE!$CCDEPMODE$ac_delim
23042 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23043 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23045 build!$build$ac_delim
23046 build_cpu!$build_cpu$ac_delim
23047 build_vendor!$build_vendor$ac_delim
23048 build_os!$build_os$ac_delim
23049 host!$host$ac_delim
23050 host_cpu!$host_cpu$ac_delim
23051 host_vendor!$host_vendor$ac_delim
23052 host_os!$host_os$ac_delim
23053 PLATFORM_WIN32_TRUE!$PLATFORM_WIN32_TRUE$ac_delim
23054 PLATFORM_WIN32_FALSE!$PLATFORM_WIN32_FALSE$ac_delim
23055 OS_WIN32_TRUE!$OS_WIN32_TRUE$ac_delim
23056 OS_WIN32_FALSE!$OS_WIN32_FALSE$ac_delim
23059 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23061 elif $ac_last_try; then
23062 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23063 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23064 { (exit 1); exit 1; }; }
23066 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23070 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23071 if test -n "$ac_eof"; then
23072 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23073 ac_eof=`expr $ac_eof + 1`
23076 cat >>$CONFIG_STATUS <<_ACEOF
23077 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23078 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23081 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23082 s/^/s,@/; s/!/@,|#_!!_#|/
23085 s/'"$ac_delim"'$/,g/; t
23087 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23088 ' >>$CONFIG_STATUS <conf$$subs.sed
23089 rm -f conf$$subs.sed
23090 cat >>$CONFIG_STATUS <<_ACEOF
23096 for ac_last_try in false false false false false :; do
23097 cat >conf$$subs.sed <<_ACEOF
23098 GREP!$GREP$ac_delim
23099 EGREP!$EGREP$ac_delim
23100 LN_S!$LN_S$ac_delim
23101 ECHO!$ECHO$ac_delim
23103 RANLIB!$RANLIB$ac_delim
23104 DLLTOOL!$DLLTOOL$ac_delim
23106 OBJDUMP!$OBJDUMP$ac_delim
23108 CXXFLAGS!$CXXFLAGS$ac_delim
23109 ac_ct_CXX!$ac_ct_CXX$ac_delim
23110 CXXDEPMODE!$CXXDEPMODE$ac_delim
23111 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23112 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23113 CXXCPP!$CXXCPP$ac_delim
23115 FFLAGS!$FFLAGS$ac_delim
23116 ac_ct_F77!$ac_ct_F77$ac_delim
23117 LIBTOOL!$LIBTOOL$ac_delim
23119 PERL_PATH!$PERL_PATH$ac_delim
23120 GMMPROC_DIR!$GMMPROC_DIR$ac_delim
23121 GMMPROC!$GMMPROC$ac_delim
23122 PKG_CONFIG!$PKG_CONFIG$ac_delim
23123 ATKMM_CFLAGS!$ATKMM_CFLAGS$ac_delim
23124 ATKMM_LIBS!$ATKMM_LIBS$ac_delim
23125 PANGOMM_CFLAGS!$PANGOMM_CFLAGS$ac_delim
23126 PANGOMM_LIBS!$PANGOMM_LIBS$ac_delim
23127 GDKMM_CFLAGS!$GDKMM_CFLAGS$ac_delim
23128 GDKMM_LIBS!$GDKMM_LIBS$ac_delim
23129 GTKMM_CFLAGS!$GTKMM_CFLAGS$ac_delim
23130 GTKMM_LIBS!$GTKMM_LIBS$ac_delim
23131 GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
23132 GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
23133 GTKMM_DOXYGEN_INPUT!$GTKMM_DOXYGEN_INPUT$ac_delim
23134 DISABLE_DEPRECATED_CFLAGS!$DISABLE_DEPRECATED_CFLAGS$ac_delim
23135 DISABLE_DEPRECATED_API_CFLAGS!$DISABLE_DEPRECATED_API_CFLAGS$ac_delim
23136 EXAMPLE_SUBDIR!$EXAMPLE_SUBDIR$ac_delim
23137 DEMO_SUBDIR!$DEMO_SUBDIR$ac_delim
23138 GTKMM_PC_ATKMM_DEP!$GTKMM_PC_ATKMM_DEP$ac_delim
23139 GTKMM_ATKMM_ENABLED_TRUE!$GTKMM_ATKMM_ENABLED_TRUE$ac_delim
23140 GTKMM_ATKMM_ENABLED_FALSE!$GTKMM_ATKMM_ENABLED_FALSE$ac_delim
23141 DOCS_SUBDIR!$DOCS_SUBDIR$ac_delim
23142 GTKMM_FALSE_TRUE!$GTKMM_FALSE_TRUE$ac_delim
23143 GTKMM_FALSE_FALSE!$GTKMM_FALSE_FALSE$ac_delim
23144 LIBOBJS!$LIBOBJS$ac_delim
23145 LTLIBOBJS!$LTLIBOBJS$ac_delim
23148 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then
23150 elif $ac_last_try; then
23151 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23152 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23153 { (exit 1); exit 1; }; }
23155 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23159 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23160 if test -n "$ac_eof"; then
23161 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23162 ac_eof=`expr $ac_eof + 1`
23165 cat >>$CONFIG_STATUS <<_ACEOF
23166 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23167 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23170 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23171 s/^/s,@/; s/!/@,|#_!!_#|/
23174 s/'"$ac_delim"'$/,g/; t
23176 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23177 ' >>$CONFIG_STATUS <conf$$subs.sed
23178 rm -f conf$$subs.sed
23179 cat >>$CONFIG_STATUS <<_ACEOF
23186 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23187 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23188 # trailing colons and then remove the whole line if VPATH becomes empty
23189 # (actually we leave an empty line to preserve line numbers).
23190 if test "x$srcdir" = x.; then
23191 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23192 s/:*\$(srcdir):*/:/
23193 s/:*\${srcdir}:*/:/
23195 s/^\([^=]*=[ ]*\):*/\1/
23201 cat >>$CONFIG_STATUS <<\_ACEOF
23202 fi # test -n "$CONFIG_FILES"
23205 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23208 :[FHLC]) ac_mode=$ac_tag; continue;;
23210 case $ac_mode$ac_tag in
23212 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23213 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23214 { (exit 1); exit 1; }; };;
23215 :[FH]-) ac_tag=-:-;;
23216 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23233 -) ac_f="$tmp/stdin";;
23234 *) # Look for the file first in the build tree, then in the source tree
23235 # (if the path is not absolute). The absolute path cannot be DOS-style,
23236 # because $ac_f cannot contain `:'.
23240 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23242 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23243 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23244 { (exit 1); exit 1; }; };;
23246 ac_file_inputs="$ac_file_inputs $ac_f"
23249 # Let's still pretend it is `configure' which instantiates (i.e., don't
23250 # use $as_me), people would be surprised to read:
23251 # /* config.h. Generated by config.status. */
23252 configure_input="Generated from "`IFS=:
23253 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23254 if test x"$ac_file" != x-; then
23255 configure_input="$ac_file. $configure_input"
23256 { echo "$as_me:$LINENO: creating $ac_file" >&5
23257 echo "$as_me: creating $ac_file" >&6;}
23261 *:-:* | *:-) cat >"$tmp/stdin";;
23266 ac_dir=`$as_dirname -- "$ac_file" ||
23267 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23268 X"$ac_file" : 'X\(//\)[^/]' \| \
23269 X"$ac_file" : 'X\(//\)$' \| \
23270 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23276 /^X\(\/\/\)[^/].*/{
23291 -*) as_dir=./$as_dir;;
23293 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23297 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23298 *) as_qdir=$as_dir;;
23300 as_dirs="'$as_qdir' $as_dirs"
23301 as_dir=`$as_dirname -- "$as_dir" ||
23302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23303 X"$as_dir" : 'X\(//\)[^/]' \| \
23304 X"$as_dir" : 'X\(//\)$' \| \
23305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23311 /^X\(\/\/\)[^/].*/{
23324 test -d "$as_dir" && break
23326 test -z "$as_dirs" || eval "mkdir $as_dirs"
23327 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23328 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23329 { (exit 1); exit 1; }; }; }
23333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23335 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23336 # A ".." for each directory in $ac_dir_suffix.
23337 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23338 case $ac_top_builddir_sub in
23339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23343 ac_abs_top_builddir=$ac_pwd
23344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23345 # for backward compatibility:
23346 ac_top_builddir=$ac_top_build_prefix
23349 .) # We are building in place.
23351 ac_top_srcdir=$ac_top_builddir_sub
23352 ac_abs_top_srcdir=$ac_pwd ;;
23353 [\\/]* | ?:[\\/]* ) # Absolute name.
23354 ac_srcdir=$srcdir$ac_dir_suffix;
23355 ac_top_srcdir=$srcdir
23356 ac_abs_top_srcdir=$srcdir ;;
23357 *) # Relative name.
23358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23359 ac_top_srcdir=$ac_top_build_prefix$srcdir
23360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23372 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23373 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23375 ac_MKDIR_P=$MKDIR_P
23377 [\\/$]* | ?:[\\/]* ) ;;
23378 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23382 cat >>$CONFIG_STATUS <<\_ACEOF
23383 # If the template does not know about datarootdir, expand it.
23384 # FIXME: This hack should be removed a few years after 2.60.
23385 ac_datarootdir_hack=; ac_datarootdir_seen=
23387 case `sed -n '/datarootdir/ {
23396 ' $ac_file_inputs` in
23397 *datarootdir*) ac_datarootdir_seen=yes;;
23398 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23399 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23400 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23402 cat >>$CONFIG_STATUS <<_ACEOF
23403 ac_datarootdir_hack='
23404 s&@datadir@&$datadir&g
23405 s&@docdir@&$docdir&g
23406 s&@infodir@&$infodir&g
23407 s&@localedir@&$localedir&g
23408 s&@mandir@&$mandir&g
23409 s&\\\${datarootdir}&$datarootdir&g' ;;
23413 # Neutralize VPATH when `$srcdir' = `.'.
23414 # Shell code in configure.ac might set extrasub.
23415 # FIXME: do we really want to maintain this feature?
23416 cat >>$CONFIG_STATUS <<_ACEOF
23420 cat >>$CONFIG_STATUS <<\_ACEOF
23422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23423 s&@configure_input@&$configure_input&;t t
23424 s&@top_builddir@&$ac_top_builddir_sub&;t t
23425 s&@srcdir@&$ac_srcdir&;t t
23426 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23427 s&@top_srcdir@&$ac_top_srcdir&;t t
23428 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23429 s&@builddir@&$ac_builddir&;t t
23430 s&@abs_builddir@&$ac_abs_builddir&;t t
23431 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23432 s&@INSTALL@&$ac_INSTALL&;t t
23433 s&@MKDIR_P@&$ac_MKDIR_P&;t t
23434 $ac_datarootdir_hack
23435 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23437 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23438 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23439 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23440 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23441 which seems to be undefined. Please make sure it is defined." >&5
23442 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23443 which seems to be undefined. Please make sure it is defined." >&2;}
23447 -) cat "$tmp/out"; rm -f "$tmp/out";;
23448 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23457 # Transform confdefs.h into a sed script `conftest.defines', that
23458 # substitutes the proper values into config.h.in to produce config.h.
23459 rm -f conftest.defines conftest.tail
23460 # First, append a space to every undef/define line, to ease matching.
23461 echo 's/$/ /' >conftest.defines
23462 # Then, protect against being on the right side of a sed subst, or in
23463 # an unquoted here document, in config.status. If some macros were
23464 # called several times there might be several #defines for the same
23465 # symbol, which is useless. But do not sort them, since the last
23466 # AC_DEFINE must be honored.
23467 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23468 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23469 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23470 # PARAMS is the parameter list in the macro definition--in most cases, it's
23471 # just an empty string.
23472 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23473 ac_dB='\\)[ (].*,\\1define\\2'
23481 s/^[ ]*#[ ]*define[ ][ ]*//
23486 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23487 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23488 ' >>conftest.defines
23490 # Remove the space that was appended to ease matching.
23491 # Then replace #undef with comments. This is necessary, for
23492 # example, in the case of _POSIX_SOURCE, which is predefined and required
23493 # on some systems where configure will not decide to define it.
23494 # (The regexp can be short, since the line contains either #define or #undef.)
23496 s,^[ #]*u.*,/* & */,' >>conftest.defines
23498 # Break up conftest.defines:
23499 ac_max_sed_lines=50
23501 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23502 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23503 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23505 ac_in='$ac_file_inputs'
23506 ac_out='"$tmp/out1"'
23507 ac_nxt='"$tmp/out2"'
23511 # Write a here document:
23512 cat >>$CONFIG_STATUS <<_ACEOF
23513 # First, check the format of the line:
23514 cat >"\$tmp/defines.sed" <<\\CEOF
23515 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23516 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23520 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23522 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23523 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23524 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23525 grep . conftest.tail >/dev/null || break
23526 rm -f conftest.defines
23527 mv conftest.tail conftest.defines
23529 rm -f conftest.defines conftest.tail
23531 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23532 cat >>$CONFIG_STATUS <<\_ACEOF
23533 if test x"$ac_file" != x-; then
23534 echo "/* $configure_input */" >"$tmp/config.h"
23535 cat "$ac_result" >>"$tmp/config.h"
23536 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23537 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23538 echo "$as_me: $ac_file is unchanged" >&6;}
23541 mv "$tmp/config.h" $ac_file
23544 echo "/* $configure_input */"
23548 # Compute $ac_file's index in $config_headers.
23550 for _am_header in $config_headers :; do
23551 case $_am_header in
23552 $ac_file | $ac_file:* )
23555 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23558 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23559 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23560 X$ac_file : 'X\(//\)[^/]' \| \
23561 X$ac_file : 'X\(//\)$' \| \
23562 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23568 /^X\(\/\/\)[^/].*/{
23580 s/.*/./; q'`/stamp-h$_am_stamp_count
23583 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23584 echo "$as_me: executing $ac_file commands" >&6;}
23589 case $ac_file$ac_mode in
23590 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23591 # Strip MF so we end up with the name of the file.
23592 mf=`echo "$mf" | sed -e 's/:.*$//'`
23593 # Check whether this is an Automake generated Makefile or not.
23594 # We used to match only the files named `Makefile.in', but
23595 # some people rename them; so instead we look at the file content.
23596 # Grep'ing the first line is not enough: some people post-process
23597 # each Makefile.in and add a new line on top of each file to say so.
23598 # Grep'ing the whole file is not good either: AIX grep has a line
23599 # limit of 2048, but all sed's we know have understand at least 4000.
23600 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
23601 dirpart=`$as_dirname -- "$mf" ||
23602 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23603 X"$mf" : 'X\(//\)[^/]' \| \
23604 X"$mf" : 'X\(//\)$' \| \
23605 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23611 /^X\(\/\/\)[^/].*/{
23627 # Extract the definition of DEPDIR, am__include, and am__quote
23628 # from the Makefile without running `make'.
23629 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23630 test -z "$DEPDIR" && continue
23631 am__include=`sed -n 's/^am__include = //p' < "$mf"`
23632 test -z "am__include" && continue
23633 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23634 # When using ansi2knr, U may be empty or an underscore; expand it
23635 U=`sed -n 's/^U = //p' < "$mf"`
23636 # Find all dependency output files, they are included files with
23637 # $(DEPDIR) in their names. We invoke sed twice because it is the
23638 # simplest approach to changing $(DEPDIR) to its actual value in the
23640 for file in `sed -n "
23641 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23642 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23643 # Make sure the directory exists.
23644 test -f "$dirpart/$file" && continue
23645 fdir=`$as_dirname -- "$file" ||
23646 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23647 X"$file" : 'X\(//\)[^/]' \| \
23648 X"$file" : 'X\(//\)$' \| \
23649 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23655 /^X\(\/\/\)[^/].*/{
23668 { as_dir=$dirpart/$fdir
23670 -*) as_dir=./$as_dir;;
23672 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23676 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23677 *) as_qdir=$as_dir;;
23679 as_dirs="'$as_qdir' $as_dirs"
23680 as_dir=`$as_dirname -- "$as_dir" ||
23681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23682 X"$as_dir" : 'X\(//\)[^/]' \| \
23683 X"$as_dir" : 'X\(//\)$' \| \
23684 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23690 /^X\(\/\/\)[^/].*/{
23703 test -d "$as_dir" && break
23705 test -z "$as_dirs" || eval "mkdir $as_dirs"
23706 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23707 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23708 { (exit 1); exit 1; }; }; }
23709 # echo "creating $dirpart/$file"
23710 echo '# dummy' > "$dirpart/$file"
23719 { (exit 0); exit 0; }
23721 chmod +x $CONFIG_STATUS
23722 ac_clean_files=$ac_clean_files_save
23725 # configure is writing to config.log, and then calls config.status.
23726 # config.status does its own redirection, appending to config.log.
23727 # Unfortunately, on DOS this fails, as config.log is still kept open
23728 # by configure, so config.status won't be able to write to it; its
23729 # output is simply discarded. So we exec the FD to /dev/null,
23730 # effectively closing config.log, so it can be properly (re)opened and
23731 # appended to by config.status. When coming back to configure, we
23732 # need to make the FD available again.
23733 if test "$no_create" != yes; then
23735 ac_config_status_args=
23736 test "$silent" = yes &&
23737 ac_config_status_args="$ac_config_status_args --quiet"
23739 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23741 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23742 # would make configure fail if this is the last instruction.
23743 $ac_cs_success || { (exit 1); exit 1; }