2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Salome2 Project :sat:{PYCMP} module 6.3.0.
5 # Report bugs to <webmaster.salome@opencascade.com>.
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/bash" >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/bash}
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/bash}
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/bash}} "$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/bash}
728 # Identity of this package.
729 PACKAGE_NAME='Salome2 Project :sat:{PYCMP} module'
730 PACKAGE_TARNAME='Salome:sat:{PYCMP}'
731 PACKAGE_VERSION='6.3.0'
732 PACKAGE_STRING='Salome2 Project :sat:{PYCMP} module 6.3.0'
733 PACKAGE_BUGREPORT='webmaster.salome@opencascade.com'
735 # Factoring default headers for most tests.
736 ac_includes_default="\
738 #ifdef HAVE_SYS_TYPES_H
739 # include <sys/types.h>
741 #ifdef HAVE_SYS_STAT_H
742 # include <sys/stat.h>
748 # ifdef HAVE_STDLIB_H
753 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
758 #ifdef HAVE_STRINGS_H
759 # include <strings.h>
761 #ifdef HAVE_INTTYPES_H
762 # include <inttypes.h>
780 program_transform_name
834 INSTALL_STRIP_PROGRAM
911 OMNIORB_PACOIDLCXXFLAGS
945 QT_ASSISTANT_INCLUDES
957 DOXYGEN_PYTHON_EXTENSION
979 ac_subst_files='CORBA'
980 ac_precious_vars='build_alias
997 # Initialize some variables set by options.
999 ac_init_version=false
1000 # The variables have the same names as the options, with
1001 # dashes changed to underlines.
1002 cache_file=/dev/null
1009 program_transform_name=s,x,x,
1017 # Installation directory options.
1018 # These are left unexpanded so users can "make install exec_prefix=/foo"
1019 # and all the variables that are supposed to be based on exec_prefix
1020 # by default will actually change.
1021 # Use braces instead of parens because sh, perl, etc. also accept them.
1022 # (The list follows the same order as the GNU Coding Standards.)
1023 bindir='${exec_prefix}/bin'
1024 sbindir='${exec_prefix}/sbin'
1025 libexecdir='${exec_prefix}/libexec'
1026 datarootdir='${prefix}/share'
1027 datadir='${datarootdir}'
1028 sysconfdir='${prefix}/etc'
1029 sharedstatedir='${prefix}/com'
1030 localstatedir='${prefix}/var'
1031 includedir='${prefix}/include'
1032 oldincludedir='/usr/include'
1033 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1034 infodir='${datarootdir}/info'
1039 libdir='${exec_prefix}/lib'
1040 localedir='${datarootdir}/locale'
1041 mandir='${datarootdir}/man'
1047 # If the previous option needs an argument, assign it.
1048 if test -n "$ac_prev"; then
1049 eval $ac_prev=\$ac_option
1055 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1059 # Accept the important Cygnus configure options, so we can diagnose typos.
1061 case $ac_dashdash$ac_option in
1065 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1067 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1068 bindir=$ac_optarg ;;
1070 -build | --build | --buil | --bui | --bu)
1071 ac_prev=build_alias ;;
1072 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1073 build_alias=$ac_optarg ;;
1075 -cache-file | --cache-file | --cache-fil | --cache-fi \
1076 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1077 ac_prev=cache_file ;;
1078 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1079 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1080 cache_file=$ac_optarg ;;
1082 --config-cache | -C)
1083 cache_file=config.cache ;;
1085 -datadir | --datadir | --datadi | --datad)
1087 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1088 datadir=$ac_optarg ;;
1090 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1091 | --dataroo | --dataro | --datar)
1092 ac_prev=datarootdir ;;
1093 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1094 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1095 datarootdir=$ac_optarg ;;
1097 -disable-* | --disable-*)
1098 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1101 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1104 eval enable_$ac_feature=no ;;
1106 -docdir | --docdir | --docdi | --doc | --do)
1108 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1109 docdir=$ac_optarg ;;
1111 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1113 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1114 dvidir=$ac_optarg ;;
1116 -enable-* | --enable-*)
1117 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1123 eval enable_$ac_feature=\$ac_optarg ;;
1125 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1126 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1127 | --exec | --exe | --ex)
1128 ac_prev=exec_prefix ;;
1129 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1130 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1131 | --exec=* | --exe=* | --ex=*)
1132 exec_prefix=$ac_optarg ;;
1134 -gas | --gas | --ga | --g)
1135 # Obsolete; use --with-gas.
1138 -help | --help | --hel | --he | -h)
1139 ac_init_help=long ;;
1140 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1141 ac_init_help=recursive ;;
1142 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1143 ac_init_help=short ;;
1145 -host | --host | --hos | --ho)
1146 ac_prev=host_alias ;;
1147 -host=* | --host=* | --hos=* | --ho=*)
1148 host_alias=$ac_optarg ;;
1150 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1152 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1154 htmldir=$ac_optarg ;;
1156 -includedir | --includedir | --includedi | --included | --include \
1157 | --includ | --inclu | --incl | --inc)
1158 ac_prev=includedir ;;
1159 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1160 | --includ=* | --inclu=* | --incl=* | --inc=*)
1161 includedir=$ac_optarg ;;
1163 -infodir | --infodir | --infodi | --infod | --info | --inf)
1165 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1166 infodir=$ac_optarg ;;
1168 -libdir | --libdir | --libdi | --libd)
1170 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1171 libdir=$ac_optarg ;;
1173 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1174 | --libexe | --libex | --libe)
1175 ac_prev=libexecdir ;;
1176 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1177 | --libexe=* | --libex=* | --libe=*)
1178 libexecdir=$ac_optarg ;;
1180 -localedir | --localedir | --localedi | --localed | --locale)
1181 ac_prev=localedir ;;
1182 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1183 localedir=$ac_optarg ;;
1185 -localstatedir | --localstatedir | --localstatedi | --localstated \
1186 | --localstate | --localstat | --localsta | --localst | --locals)
1187 ac_prev=localstatedir ;;
1188 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1189 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1190 localstatedir=$ac_optarg ;;
1192 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1194 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1195 mandir=$ac_optarg ;;
1197 -nfp | --nfp | --nf)
1198 # Obsolete; use --without-fp.
1201 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1202 | --no-cr | --no-c | -n)
1205 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1206 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1209 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1210 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1211 | --oldin | --oldi | --old | --ol | --o)
1212 ac_prev=oldincludedir ;;
1213 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1214 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1215 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1216 oldincludedir=$ac_optarg ;;
1218 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1220 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1221 prefix=$ac_optarg ;;
1223 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1224 | --program-pre | --program-pr | --program-p)
1225 ac_prev=program_prefix ;;
1226 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1227 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1228 program_prefix=$ac_optarg ;;
1230 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1231 | --program-suf | --program-su | --program-s)
1232 ac_prev=program_suffix ;;
1233 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1234 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1235 program_suffix=$ac_optarg ;;
1237 -program-transform-name | --program-transform-name \
1238 | --program-transform-nam | --program-transform-na \
1239 | --program-transform-n | --program-transform- \
1240 | --program-transform | --program-transfor \
1241 | --program-transfo | --program-transf \
1242 | --program-trans | --program-tran \
1243 | --progr-tra | --program-tr | --program-t)
1244 ac_prev=program_transform_name ;;
1245 -program-transform-name=* | --program-transform-name=* \
1246 | --program-transform-nam=* | --program-transform-na=* \
1247 | --program-transform-n=* | --program-transform-=* \
1248 | --program-transform=* | --program-transfor=* \
1249 | --program-transfo=* | --program-transf=* \
1250 | --program-trans=* | --program-tran=* \
1251 | --progr-tra=* | --program-tr=* | --program-t=*)
1252 program_transform_name=$ac_optarg ;;
1254 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1256 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1257 pdfdir=$ac_optarg ;;
1259 -psdir | --psdir | --psdi | --psd | --ps)
1261 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1265 | -silent | --silent | --silen | --sile | --sil)
1268 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1270 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1272 sbindir=$ac_optarg ;;
1274 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1275 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1276 | --sharedst | --shareds | --shared | --share | --shar \
1278 ac_prev=sharedstatedir ;;
1279 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1280 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1281 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1283 sharedstatedir=$ac_optarg ;;
1285 -site | --site | --sit)
1287 -site=* | --site=* | --sit=*)
1290 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1292 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1293 srcdir=$ac_optarg ;;
1295 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1296 | --syscon | --sysco | --sysc | --sys | --sy)
1297 ac_prev=sysconfdir ;;
1298 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1299 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1300 sysconfdir=$ac_optarg ;;
1302 -target | --target | --targe | --targ | --tar | --ta | --t)
1303 ac_prev=target_alias ;;
1304 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1305 target_alias=$ac_optarg ;;
1307 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1310 -version | --version | --versio | --versi | --vers | -V)
1311 ac_init_version=: ;;
1314 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1317 { echo "$as_me: error: invalid package name: $ac_package" >&2
1318 { (exit 1); exit 1; }; }
1319 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1320 eval with_$ac_package=\$ac_optarg ;;
1322 -without-* | --without-*)
1323 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1326 { echo "$as_me: error: invalid package name: $ac_package" >&2
1327 { (exit 1); exit 1; }; }
1328 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1329 eval with_$ac_package=no ;;
1332 # Obsolete; use --with-x.
1335 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1336 | --x-incl | --x-inc | --x-in | --x-i)
1337 ac_prev=x_includes ;;
1338 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1339 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1340 x_includes=$ac_optarg ;;
1342 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1343 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1344 ac_prev=x_libraries ;;
1345 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1346 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1347 x_libraries=$ac_optarg ;;
1349 -*) { echo "$as_me: error: unrecognized option: $ac_option
1350 Try \`$0 --help' for more information." >&2
1351 { (exit 1); exit 1; }; }
1355 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1356 # Reject names that are not valid shell variable names.
1357 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1358 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1359 { (exit 1); exit 1; }; }
1360 eval $ac_envvar=\$ac_optarg
1361 export $ac_envvar ;;
1364 # FIXME: should be removed in autoconf 3.0.
1365 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1366 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1367 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1368 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1374 if test -n "$ac_prev"; then
1375 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1376 { echo "$as_me: error: missing argument to $ac_option" >&2
1377 { (exit 1); exit 1; }; }
1380 # Be sure to have absolute directory names.
1381 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1382 datadir sysconfdir sharedstatedir localstatedir includedir \
1383 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1384 libdir localedir mandir
1386 eval ac_val=\$$ac_var
1388 [\\/$]* | ?:[\\/]* ) continue;;
1389 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1391 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1392 { (exit 1); exit 1; }; }
1395 # There might be people who depend on the old broken behavior: `$host'
1396 # used to hold the argument of --host etc.
1397 # FIXME: To remove some day.
1400 target=$target_alias
1402 # FIXME: To remove some day.
1403 if test "x$host_alias" != x; then
1404 if test "x$build_alias" = x; then
1405 cross_compiling=maybe
1406 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1407 If a cross compiler is detected then cross compile mode will be used." >&2
1408 elif test "x$build_alias" != "x$host_alias"; then
1414 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1416 test "$silent" = yes && exec 6>/dev/null
1419 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1420 ac_ls_di=`ls -di .` &&
1421 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1422 { echo "$as_me: error: Working directory cannot be determined" >&2
1423 { (exit 1); exit 1; }; }
1424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1425 { echo "$as_me: error: pwd does not report name of working directory" >&2
1426 { (exit 1); exit 1; }; }
1429 # Find the source files, if location was not specified.
1430 if test -z "$srcdir"; then
1431 ac_srcdir_defaulted=yes
1432 # Try the directory containing this script, then the parent directory.
1433 ac_confdir=`$as_dirname -- "$0" ||
1434 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1435 X"$0" : 'X\(//\)[^/]' \| \
1436 X"$0" : 'X\(//\)$' \| \
1437 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1457 if test ! -r "$srcdir/$ac_unique_file"; then
1461 ac_srcdir_defaulted=no
1463 if test ! -r "$srcdir/$ac_unique_file"; then
1464 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1465 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1466 { (exit 1); exit 1; }; }
1468 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1470 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1471 { (exit 1); exit 1; }; }
1473 # When building in place, set srcdir=.
1474 if test "$ac_abs_confdir" = "$ac_pwd"; then
1477 # Remove unnecessary trailing slashes from srcdir.
1478 # Double slashes in file names in object file debugging info
1479 # mess up M-x gdb in Emacs.
1481 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1483 for ac_var in $ac_precious_vars; do
1484 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1485 eval ac_env_${ac_var}_value=\$${ac_var}
1486 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1487 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1491 # Report the --help message.
1493 if test "$ac_init_help" = "long"; then
1494 # Omit some internal or obsolete options to make the list less imposing.
1495 # This message is too long to be a string in the A/UX 3.1 sh.
1497 \`configure' configures Salome2 Project :sat:{PYCMP} module 6.3.0 to adapt to many kinds of systems.
1499 Usage: $0 [OPTION]... [VAR=VALUE]...
1501 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1502 VAR=VALUE. See below for descriptions of some of the useful variables.
1504 Defaults for the options are specified in brackets.
1507 -h, --help display this help and exit
1508 --help=short display options specific to this package
1509 --help=recursive display the short help of all the included packages
1510 -V, --version display version information and exit
1511 -q, --quiet, --silent do not print \`checking...' messages
1512 --cache-file=FILE cache test results in FILE [disabled]
1513 -C, --config-cache alias for \`--cache-file=config.cache'
1514 -n, --no-create do not create output files
1515 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1517 Installation directories:
1518 --prefix=PREFIX install architecture-independent files in PREFIX
1519 [$ac_default_prefix]
1520 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1523 By default, \`make install' will install all the files in
1524 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1525 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1526 for instance \`--prefix=\$HOME'.
1528 For better control, use the options below.
1530 Fine tuning of the installation directories:
1531 --bindir=DIR user executables [EPREFIX/bin]
1532 --sbindir=DIR system admin executables [EPREFIX/sbin]
1533 --libexecdir=DIR program executables [EPREFIX/libexec]
1534 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1535 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1536 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1537 --libdir=DIR object code libraries [EPREFIX/lib]
1538 --includedir=DIR C header files [PREFIX/include]
1539 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1540 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1541 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1542 --infodir=DIR info documentation [DATAROOTDIR/info]
1543 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1544 --mandir=DIR man documentation [DATAROOTDIR/man]
1545 --docdir=DIR documentation root [DATAROOTDIR/doc/Salome:sat:{PYCMP}]
1546 --htmldir=DIR html documentation [DOCDIR]
1547 --dvidir=DIR dvi documentation [DOCDIR]
1548 --pdfdir=DIR pdf documentation [DOCDIR]
1549 --psdir=DIR ps documentation [DOCDIR]
1555 --program-prefix=PREFIX prepend PREFIX to installed program names
1556 --program-suffix=SUFFIX append SUFFIX to installed program names
1557 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1560 --build=BUILD configure for building on BUILD [guessed]
1561 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1562 --target=TARGET configure for building compilers for TARGET [HOST]
1566 if test -n "$ac_init_help"; then
1567 case $ac_init_help in
1568 short | recursive ) echo "Configuration of Salome2 Project :sat:{PYCMP} module 6.3.0:";;
1573 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1574 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1575 --enable-debug build with debug and trace information [default=yes]
1576 --enable-production compile in optimized mode [default=no]
1577 --enable-static[=PKGS] build static libraries [default=no]
1578 --enable-shared[=PKGS] build shared libraries [default=yes]
1579 --enable-fast-install[=PKGS]
1580 optimize for fast installation [default=yes]
1581 --disable-dependency-tracking speeds up one-time build
1582 --enable-dependency-tracking do not reject slow dependency extractors
1583 --disable-libtool-lock avoid locking (might break parallel builds)
1586 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1587 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1588 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1589 --with-pic try to use only PIC/non-PIC objects [default=use
1591 --with-tags[=TAGS] include additional configurations [automatic]
1592 --with-python=DIR root directory path of python installation
1593 --with-python-site=DIR Use DIR for installing platform independent Python
1595 --with-python-site-exec=DIR
1596 Use DIR for installing platform dependent Python
1598 --with-opengl=DIR root directory path of OpenGL installation
1599 --with-qt Possible usage: "Qt_Install_Path" - prefix to path
1600 where Qt was installd; "" or "yes" or "auto" - means
1601 seaching installed Qt product in the system
1602 (checking $QTDIR and then - standard system paths );
1603 "no" - not use Qt product (is not supported) By
1604 default "" option is used)
1605 --with-kernel=DIR root directory path of KERNEL build or installation
1606 --with-gui=DIR root directory path of SALOME GUI installation
1608 Some influential environment variables:
1609 CC C compiler command
1610 CFLAGS C compiler flags
1611 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1612 nonstandard directory <lib dir>
1613 LIBS libraries to pass to the linker, e.g. -l<library>
1614 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1615 you have headers in a nonstandard directory <include dir>
1617 CXX C++ compiler command
1618 CXXFLAGS C++ compiler flags
1619 CXXCPP C++ preprocessor
1620 F77 Fortran 77 compiler command
1621 FFLAGS Fortran 77 compiler flags
1623 Use these variables to override the choices made by `configure' or to help
1624 it to find libraries and programs with nonstandard names/locations.
1626 Report bugs to <webmaster.salome@opencascade.com>.
1631 if test "$ac_init_help" = "recursive"; then
1632 # If there are subdirs, report their specific --help.
1633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1634 test -d "$ac_dir" || continue
1638 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1640 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1641 # A ".." for each directory in $ac_dir_suffix.
1642 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1643 case $ac_top_builddir_sub in
1644 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1645 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1648 ac_abs_top_builddir=$ac_pwd
1649 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1650 # for backward compatibility:
1651 ac_top_builddir=$ac_top_build_prefix
1654 .) # We are building in place.
1656 ac_top_srcdir=$ac_top_builddir_sub
1657 ac_abs_top_srcdir=$ac_pwd ;;
1658 [\\/]* | ?:[\\/]* ) # Absolute name.
1659 ac_srcdir=$srcdir$ac_dir_suffix;
1660 ac_top_srcdir=$srcdir
1661 ac_abs_top_srcdir=$srcdir ;;
1663 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1664 ac_top_srcdir=$ac_top_build_prefix$srcdir
1665 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1667 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1669 cd "$ac_dir" || { ac_status=$?; continue; }
1670 # Check for guested configure.
1671 if test -f "$ac_srcdir/configure.gnu"; then
1673 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1674 elif test -f "$ac_srcdir/configure"; then
1676 $SHELL "$ac_srcdir/configure" --help=recursive
1678 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1680 cd "$ac_pwd" || { ac_status=$?; break; }
1684 test -n "$ac_init_help" && exit $ac_status
1685 if $ac_init_version; then
1687 Salome2 Project :sat:{PYCMP} module configure 6.3.0
1688 generated by GNU Autoconf 2.61
1690 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1691 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1692 This configure script is free software; the Free Software Foundation
1693 gives unlimited permission to copy, distribute and modify it.
1697 cat >config.log <<_ACEOF
1698 This file contains any messages produced by compilers while
1699 running configure, to aid debugging if configure makes a mistake.
1701 It was created by Salome2 Project :sat:{PYCMP} module $as_me 6.3.0, which was
1702 generated by GNU Autoconf 2.61. Invocation command line was
1714 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1715 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1716 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1717 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1718 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1720 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1721 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1723 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1724 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1725 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1726 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1727 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1728 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1729 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir=.
1738 echo "PATH: $as_dir"
1754 # Keep a trace of the command line.
1755 # Strip out --no-create and --no-recursion so they do not pile up.
1756 # Strip out --silent because we don't want to record it for future runs.
1757 # Also quote any args containing shell meta-characters.
1758 # Make two passes to allow for proper duplicate-argument suppression.
1762 ac_must_keep_next=false
1768 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1769 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1770 | -silent | --silent | --silen | --sile | --sil)
1773 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1778 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1779 if test $ac_must_keep_next = true; then
1780 ac_must_keep_next=false # Got value, back to normal.
1783 *=* | --config-cache | -C | -disable-* | --disable-* \
1784 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1785 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1786 | -with-* | --with-* | -without-* | --without-* | --x)
1787 case "$ac_configure_args0 " in
1788 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1791 -* ) ac_must_keep_next=true ;;
1794 ac_configure_args="$ac_configure_args '$ac_arg'"
1799 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1800 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1802 # When interrupted or exit'd, cleanup temporary files, and complete
1803 # config.log. We remove comments because anyway the quotes in there
1804 # would cause problems or look ugly.
1805 # WARNING: Use '\'' to represent an apostrophe within the trap.
1806 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1807 trap 'exit_status=$?
1808 # Save into config.log some information that might help in debugging.
1813 ## ---------------- ##
1814 ## Cache variables. ##
1815 ## ---------------- ##
1818 # The following way of writing the cache mishandles newlines in values,
1820 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1821 eval ac_val=\$$ac_var
1825 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1826 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1829 _ | IFS | as_nl) ;; #(
1830 *) $as_unset $ac_var ;;
1835 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1836 *${as_nl}ac_space=\ *)
1838 "s/'\''/'\''\\\\'\'''\''/g;
1839 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1842 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1850 ## ----------------- ##
1851 ## Output variables. ##
1852 ## ----------------- ##
1855 for ac_var in $ac_subst_vars
1857 eval ac_val=\$$ac_var
1859 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1861 echo "$ac_var='\''$ac_val'\''"
1865 if test -n "$ac_subst_files"; then
1867 ## ------------------- ##
1868 ## File substitutions. ##
1869 ## ------------------- ##
1872 for ac_var in $ac_subst_files
1874 eval ac_val=\$$ac_var
1876 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1878 echo "$ac_var='\''$ac_val'\''"
1883 if test -s confdefs.h; then
1893 test "$ac_signal" != 0 &&
1894 echo "$as_me: caught signal $ac_signal"
1895 echo "$as_me: exit $exit_status"
1897 rm -f core *.core core.conftest.* &&
1898 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1901 for ac_signal in 1 2 13 15; do
1902 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1906 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1907 rm -f -r conftest* confdefs.h
1909 # Predefined preprocessor variables.
1911 cat >>confdefs.h <<_ACEOF
1912 #define PACKAGE_NAME "$PACKAGE_NAME"
1916 cat >>confdefs.h <<_ACEOF
1917 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1921 cat >>confdefs.h <<_ACEOF
1922 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1926 cat >>confdefs.h <<_ACEOF
1927 #define PACKAGE_STRING "$PACKAGE_STRING"
1931 cat >>confdefs.h <<_ACEOF
1932 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1936 # Let the site file select an alternate cache file if it wants to.
1937 # Prefer explicitly selected file to automatically selected ones.
1938 if test -n "$CONFIG_SITE"; then
1939 set x "$CONFIG_SITE"
1940 elif test "x$prefix" != xNONE; then
1941 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1943 set x "$ac_default_prefix/share/config.site" \
1944 "$ac_default_prefix/etc/config.site"
1949 if test -r "$ac_site_file"; then
1950 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1951 echo "$as_me: loading site script $ac_site_file" >&6;}
1952 sed 's/^/| /' "$ac_site_file" >&5
1957 if test -r "$cache_file"; then
1958 # Some versions of bash will fail to source /dev/null (special
1959 # files actually), so we avoid doing that.
1960 if test -f "$cache_file"; then
1961 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1962 echo "$as_me: loading cache $cache_file" >&6;}
1964 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1965 *) . "./$cache_file";;
1969 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1970 echo "$as_me: creating cache $cache_file" >&6;}
1974 # Check that the precious variables saved in the cache have kept the same
1976 ac_cache_corrupted=false
1977 for ac_var in $ac_precious_vars; do
1978 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1979 eval ac_new_set=\$ac_env_${ac_var}_set
1980 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1981 eval ac_new_val=\$ac_env_${ac_var}_value
1982 case $ac_old_set,$ac_new_set in
1984 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1985 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1986 ac_cache_corrupted=: ;;
1988 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1989 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1990 ac_cache_corrupted=: ;;
1993 if test "x$ac_old_val" != "x$ac_new_val"; then
1994 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1995 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1996 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1997 echo "$as_me: former value: $ac_old_val" >&2;}
1998 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1999 echo "$as_me: current value: $ac_new_val" >&2;}
2000 ac_cache_corrupted=:
2003 # Pass precious variables to config.status.
2004 if test "$ac_new_set" = set; then
2006 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2007 *) ac_arg=$ac_var=$ac_new_val ;;
2009 case " $ac_configure_args " in
2010 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2011 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2015 if $ac_cache_corrupted; then
2016 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2017 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2018 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2019 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2020 { (exit 1); exit 1; }; }
2048 ac_cpp='$CPP $CPPFLAGS'
2049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2055 for ac_dir in adm_local/unix/config_files "$srcdir"/adm_local/unix/config_files; do
2056 if test -f "$ac_dir/install-sh"; then
2058 ac_install_sh="$ac_aux_dir/install-sh -c"
2060 elif test -f "$ac_dir/install.sh"; then
2062 ac_install_sh="$ac_aux_dir/install.sh -c"
2064 elif test -f "$ac_dir/shtool"; then
2066 ac_install_sh="$ac_aux_dir/shtool install -c"
2070 if test -z "$ac_aux_dir"; then
2071 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in adm_local/unix/config_files \"$srcdir\"/adm_local/unix/config_files" >&5
2072 echo "$as_me: error: cannot find install-sh or install.sh in adm_local/unix/config_files \"$srcdir\"/adm_local/unix/config_files" >&2;}
2073 { (exit 1); exit 1; }; }
2076 # These three variables are undocumented and unsupported,
2077 # and are intended to be withdrawn in a future Autoconf release.
2078 # They can cause serious problems if a builder's source tree is in a directory
2079 # whose full name contains unusual characters.
2080 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2081 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2082 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2085 # Make sure we can run config.sub.
2086 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2087 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2088 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2089 { (exit 1); exit 1; }; }
2091 { echo "$as_me:$LINENO: checking build system type" >&5
2092 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2093 if test "${ac_cv_build+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 ac_build_alias=$build_alias
2097 test "x$ac_build_alias" = x &&
2098 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2099 test "x$ac_build_alias" = x &&
2100 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2101 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2102 { (exit 1); exit 1; }; }
2103 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2104 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2105 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2106 { (exit 1); exit 1; }; }
2109 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2110 echo "${ECHO_T}$ac_cv_build" >&6; }
2111 case $ac_cv_build in
2113 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2114 echo "$as_me: error: invalid value of canonical build" >&2;}
2115 { (exit 1); exit 1; }; };;
2118 ac_save_IFS=$IFS; IFS='-'
2124 # Remember, the first character of IFS is used to create $*,
2125 # except with old shells:
2128 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2131 { echo "$as_me:$LINENO: checking host system type" >&5
2132 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2133 if test "${ac_cv_host+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test "x$host_alias" = x; then
2137 ac_cv_host=$ac_cv_build
2139 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2140 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2141 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2142 { (exit 1); exit 1; }; }
2146 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2147 echo "${ECHO_T}$ac_cv_host" >&6; }
2150 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2151 echo "$as_me: error: invalid value of canonical host" >&2;}
2152 { (exit 1); exit 1; }; };;
2155 ac_save_IFS=$IFS; IFS='-'
2161 # Remember, the first character of IFS is used to create $*,
2162 # except with old shells:
2165 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2168 { echo "$as_me:$LINENO: checking target system type" >&5
2169 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2170 if test "${ac_cv_target+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test "x$target_alias" = x; then
2174 ac_cv_target=$ac_cv_host
2176 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2177 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2178 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2179 { (exit 1); exit 1; }; }
2183 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2184 echo "${ECHO_T}$ac_cv_target" >&6; }
2185 case $ac_cv_target in
2187 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2188 echo "$as_me: error: invalid value of canonical target" >&2;}
2189 { (exit 1); exit 1; }; };;
2191 target=$ac_cv_target
2192 ac_save_IFS=$IFS; IFS='-'
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2202 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2205 # The aliases save the names the user supplied, while $host etc.
2206 # will get canonicalized.
2207 test -n "$target_alias" &&
2208 test "$program_prefix$program_suffix$program_transform_name" = \
2210 program_prefix=${target_alias}-
2211 am__api_version='1.10'
2213 # Find a good install program. We prefer a C program (faster),
2214 # so one script is as good as another. But avoid the broken or
2215 # incompatible versions:
2216 # SysV /etc/install, /usr/sbin/install
2217 # SunOS /usr/etc/install
2218 # IRIX /sbin/install
2220 # AmigaOS /C/install, which installs bootblocks on floppy discs
2221 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2222 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2223 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2224 # OS/2's system install, which has a completely different semantic
2225 # ./install, which can be erroneously created by make from ./install.sh.
2226 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2227 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2228 if test -z "$INSTALL"; then
2229 if test "${ac_cv_path_install+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 test -z "$as_dir" && as_dir=.
2237 # Account for people who put trailing slashes in PATH elements.
2239 ./ | .// | /cC/* | \
2240 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2241 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2244 # OSF1 and SCO ODT 3.0 have their own names for install.
2245 # Don't use installbsd from OSF since it installs stuff as root
2247 for ac_prog in ginstall scoinst install; do
2248 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2250 if test $ac_prog = install &&
2251 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2252 # AIX install. It has an incompatible calling convention.
2254 elif test $ac_prog = install &&
2255 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2256 # program-specific install script used by HP pwplus--don't use.
2259 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2272 if test "${ac_cv_path_install+set}" = set; then
2273 INSTALL=$ac_cv_path_install
2275 # As a last resort, use the slow shell script. Don't cache a
2276 # value for INSTALL within a source directory, because that will
2277 # break other packages using the cache if that directory is
2278 # removed, or if the value is a relative name.
2279 INSTALL=$ac_install_sh
2282 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2283 echo "${ECHO_T}$INSTALL" >&6; }
2285 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2286 # It thinks the first close brace ends the variable substitution.
2287 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2289 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2291 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2293 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2294 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2297 echo timestamp > conftest.file
2298 # Do `set' in a subshell so we don't clobber the current shell's
2299 # arguments. Must try -L first in case configure is actually a
2300 # symlink; some systems play weird games with the mod time of symlinks
2301 # (eg FreeBSD returns the mod time of the symlink's containing
2304 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2305 if test "$*" = "X"; then
2307 set X `ls -t $srcdir/configure conftest.file`
2310 if test "$*" != "X $srcdir/configure conftest.file" \
2311 && test "$*" != "X conftest.file $srcdir/configure"; then
2313 # If neither matched, then we have a broken ls. This can happen
2314 # if, for instance, CONFIG_SHELL is bash and it inherits a
2315 # broken ls alias from the environment. This has actually
2316 # happened. Such a system could not be considered "sane".
2317 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2318 alias in your environment" >&5
2319 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2320 alias in your environment" >&2;}
2321 { (exit 1); exit 1; }; }
2324 test "$2" = conftest.file
2330 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2331 Check your system clock" >&5
2332 echo "$as_me: error: newly created file is older than distributed files!
2333 Check your system clock" >&2;}
2334 { (exit 1); exit 1; }; }
2336 { echo "$as_me:$LINENO: result: yes" >&5
2337 echo "${ECHO_T}yes" >&6; }
2338 test "$program_prefix" != NONE &&
2339 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2340 # Use a double $ so make ignores it.
2341 test "$program_suffix" != NONE &&
2342 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2343 # Double any \ or $. echo might interpret backslashes.
2344 # By default was `s,x,x', remove it if useless.
2345 cat <<\_ACEOF >conftest.sed
2346 s/[\\$]/&&/g;s/;s,x,x,$//
2348 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2351 # expand $ac_aux_dir to an absolute path
2352 am_aux_dir=`cd $ac_aux_dir && pwd`
2354 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2355 # Use eval to expand $SHELL
2356 if eval "$MISSING --run true"; then
2357 am_missing_run="$MISSING --run "
2360 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2361 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2364 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2365 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2366 if test -z "$MKDIR_P"; then
2367 if test "${ac_cv_path_mkdir+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2374 test -z "$as_dir" && as_dir=.
2375 for ac_prog in mkdir gmkdir; do
2376 for ac_exec_ext in '' $ac_executable_extensions; do
2377 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2378 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2379 'mkdir (GNU coreutils) '* | \
2380 'mkdir (coreutils) '* | \
2381 'mkdir (fileutils) '4.1*)
2382 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2392 if test "${ac_cv_path_mkdir+set}" = set; then
2393 MKDIR_P="$ac_cv_path_mkdir -p"
2395 # As a last resort, use the slow shell script. Don't cache a
2396 # value for MKDIR_P within a source directory, because that will
2397 # break other packages using the cache if that directory is
2398 # removed, or if the value is a relative name.
2399 test -d ./--version && rmdir ./--version
2400 MKDIR_P="$ac_install_sh -d"
2403 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2404 echo "${ECHO_T}$MKDIR_P" >&6; }
2408 [\\/$]* | ?:[\\/]*) ;;
2409 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2412 for ac_prog in gawk mawk nawk awk
2414 # Extract the first word of "$ac_prog", so it can be a program name with args.
2415 set dummy $ac_prog; ac_word=$2
2416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2418 if test "${ac_cv_prog_AWK+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 if test -n "$AWK"; then
2422 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir=.
2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2431 ac_cv_prog_AWK="$ac_prog"
2432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 if test -n "$AWK"; then
2443 { echo "$as_me:$LINENO: result: $AWK" >&5
2444 echo "${ECHO_T}$AWK" >&6; }
2446 { echo "$as_me:$LINENO: result: no" >&5
2447 echo "${ECHO_T}no" >&6; }
2451 test -n "$AWK" && break
2454 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2455 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2456 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2457 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 cat >conftest.make <<\_ACEOF
2463 @echo '@@@%%%=$(MAKE)=@@@%%%'
2465 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2466 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2468 eval ac_cv_prog_make_${ac_make}_set=yes;;
2470 eval ac_cv_prog_make_${ac_make}_set=no;;
2474 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2475 { echo "$as_me:$LINENO: result: yes" >&5
2476 echo "${ECHO_T}yes" >&6; }
2479 { echo "$as_me:$LINENO: result: no" >&5
2480 echo "${ECHO_T}no" >&6; }
2481 SET_MAKE="MAKE=${MAKE-make}"
2484 rm -rf .tst 2>/dev/null
2485 mkdir .tst 2>/dev/null
2486 if test -d .tst; then
2491 rmdir .tst 2>/dev/null
2493 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2494 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2495 # is not polluted with repeated "-I."
2496 am__isrc=' -I$(srcdir)'
2497 # test to see if srcdir already configured
2498 if test -f $srcdir/config.status; then
2499 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2500 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2501 { (exit 1); exit 1; }; }
2505 # test whether we have cygpath
2506 if test -z "$CYGPATH_W"; then
2507 if (cygpath --version) >/dev/null 2>/dev/null; then
2508 CYGPATH_W='cygpath -w'
2515 # Define the identity of the package.
2516 PACKAGE='Salome:sat:{PYCMP}'
2520 cat >>confdefs.h <<_ACEOF
2521 #define PACKAGE "$PACKAGE"
2525 cat >>confdefs.h <<_ACEOF
2526 #define VERSION "$VERSION"
2529 # Some tools Automake needs.
2531 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2534 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2537 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2540 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2543 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2545 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2547 # Installed binaries are usually stripped using `strip' when the user
2548 # run `make install-strip'. However `strip' might not be the right
2549 # tool to use in cross-compilation environments, therefore Automake
2550 # will honor the `STRIP' environment variable to overrule this program.
2551 if test "$cross_compiling" != no; then
2552 if test -n "$ac_tool_prefix"; then
2553 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2554 set dummy ${ac_tool_prefix}strip; ac_word=$2
2555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2557 if test "${ac_cv_prog_STRIP+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 if test -n "$STRIP"; then
2561 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir=.
2568 for ac_exec_ext in '' $ac_executable_extensions; do
2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 STRIP=$ac_cv_prog_STRIP
2581 if test -n "$STRIP"; then
2582 { echo "$as_me:$LINENO: result: $STRIP" >&5
2583 echo "${ECHO_T}$STRIP" >&6; }
2585 { echo "$as_me:$LINENO: result: no" >&5
2586 echo "${ECHO_T}no" >&6; }
2591 if test -z "$ac_cv_prog_STRIP"; then
2593 # Extract the first word of "strip", so it can be a program name with args.
2594 set dummy strip; ac_word=$2
2595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2597 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2598 echo $ECHO_N "(cached) $ECHO_C" >&6
2600 if test -n "$ac_ct_STRIP"; then
2601 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 test -z "$as_dir" && as_dir=.
2608 for ac_exec_ext in '' $ac_executable_extensions; do
2609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2610 ac_cv_prog_ac_ct_STRIP="strip"
2611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2621 if test -n "$ac_ct_STRIP"; then
2622 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2623 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2625 { echo "$as_me:$LINENO: result: no" >&5
2626 echo "${ECHO_T}no" >&6; }
2629 if test "x$ac_ct_STRIP" = x; then
2632 case $cross_compiling:$ac_tool_warned in
2634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2635 whose name does not start with the host triplet. If you think this
2636 configuration is useful to you, please write to autoconf@gnu.org." >&5
2637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2638 whose name does not start with the host triplet. If you think this
2639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2640 ac_tool_warned=yes ;;
2645 STRIP="$ac_cv_prog_STRIP"
2649 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2651 # We need awk for the "check" target. The system "awk" is bad on
2653 # Always define AMTAR for backward compatibility.
2655 AMTAR=${AMTAR-"${am_missing_run}tar"}
2657 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2664 XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
2667 # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
2668 MODULE_NAME=:sat:{PYCMP}
2673 ROOT_SRCDIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
2682 echo Source root directory : $ROOT_SRCDIR
2683 echo Build root directory : $ROOT_BUILDDIR
2687 # Extract the first word of "sh", so it can be a program name with args.
2688 set dummy sh; ac_word=$2
2689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2691 if test "${ac_cv_prog_SHELL+set}" = set; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 if test -n "$SHELL"; then
2695 ac_cv_prog_SHELL="$SHELL" # Let the user override the test.
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir=.
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 SHELL=$ac_cv_prog_SHELL
2715 if test -n "$SHELL"; then
2716 { echo "$as_me:$LINENO: result: $SHELL" >&5
2717 echo "${ECHO_T}$SHELL" >&6; }
2719 { echo "$as_me:$LINENO: result: no" >&5
2720 echo "${ECHO_T}no" >&6; }
2726 if test -z "$AR"; then
2727 for ac_prog in ar xar
2729 # Extract the first word of "$ac_prog", so it can be a program name with args.
2730 set dummy $ac_prog; ac_word=$2
2731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2733 if test "${ac_cv_prog_AR+set}" = set; then
2734 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 if test -n "$AR"; then
2737 ac_cv_prog_AR="$AR" # Let the user override the test.
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 test -z "$as_dir" && as_dir=.
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 ac_cv_prog_AR="$ac_prog"
2747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 if test -n "$AR"; then
2758 { echo "$as_me:$LINENO: result: $AR" >&5
2759 echo "${ECHO_T}$AR" >&6; }
2761 { echo "$as_me:$LINENO: result: no" >&5
2762 echo "${ECHO_T}no" >&6; }
2766 test -n "$AR" && break
2768 test -n "$AR" || AR=":"
2776 echo ---------------------------------------------
2778 echo ---------------------------------------------
2781 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2782 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2783 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2784 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 cat >conftest.make <<\_ACEOF
2790 @echo '@@@%%%=$(MAKE)=@@@%%%'
2792 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2793 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2795 eval ac_cv_prog_make_${ac_make}_set=yes;;
2797 eval ac_cv_prog_make_${ac_make}_set=no;;
2801 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2802 { echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6; }
2806 { echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6; }
2808 SET_MAKE="MAKE=${MAKE-make}"
2811 # Find a good install program. We prefer a C program (faster),
2812 # so one script is as good as another. But avoid the broken or
2813 # incompatible versions:
2814 # SysV /etc/install, /usr/sbin/install
2815 # SunOS /usr/etc/install
2816 # IRIX /sbin/install
2818 # AmigaOS /C/install, which installs bootblocks on floppy discs
2819 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2820 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2821 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2822 # OS/2's system install, which has a completely different semantic
2823 # ./install, which can be erroneously created by make from ./install.sh.
2824 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2825 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2826 if test -z "$INSTALL"; then
2827 if test "${ac_cv_path_install+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir=.
2835 # Account for people who put trailing slashes in PATH elements.
2837 ./ | .// | /cC/* | \
2838 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2839 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2842 # OSF1 and SCO ODT 3.0 have their own names for install.
2843 # Don't use installbsd from OSF since it installs stuff as root
2845 for ac_prog in ginstall scoinst install; do
2846 for ac_exec_ext in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2848 if test $ac_prog = install &&
2849 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2850 # AIX install. It has an incompatible calling convention.
2852 elif test $ac_prog = install &&
2853 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2854 # program-specific install script used by HP pwplus--don't use.
2857 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2870 if test "${ac_cv_path_install+set}" = set; then
2871 INSTALL=$ac_cv_path_install
2873 # As a last resort, use the slow shell script. Don't cache a
2874 # value for INSTALL within a source directory, because that will
2875 # break other packages using the cache if that directory is
2876 # removed, or if the value is a relative name.
2877 INSTALL=$ac_install_sh
2880 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2881 echo "${ECHO_T}$INSTALL" >&6; }
2883 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2884 # It thinks the first close brace ends the variable substitution.
2885 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2887 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2889 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2892 GLOBAL_INSTALL=$INSTALL
2894 INSTALL=${absdir}/local-install.sh
2895 cat > ${INSTALL} << EOF
2900 if test \$nb_args -gt 1 ; then
2901 nb=\$(expr \$nb_args - 2)
2904 if test -f \$target ; then
2906 if test -f \$orig ; then
2907 diff \$orig \$target > /dev/null 2>&1
2908 if test \$? = 0 ; then
2909 echo \$orig and \$target are identical
2915 ${GLOBAL_INSTALL} \$args
2922 # Check whether --enable-debug was given.
2923 if test "${enable_debug+set}" = set; then
2924 enableval=$enable_debug;
2925 enable_debug=$enableval
2932 if test "X$enable_debug" = "Xyes"; then
2933 CFLAGS="$CFLAGS -g -D_DEBUG_ "
2934 CXXFLAGS="$CXXFLAGS -g -D_DEBUG_ "
2937 # Check whether --enable-production was given.
2938 if test "${enable_production+set}" = set; then
2939 enableval=$enable_production;
2940 enable_production=$enableval
2943 enable_production=no
2948 { echo "$as_me:$LINENO: checking wether $CXX accepts -Wparentheses" >&5
2949 echo $ECHO_N "checking wether $CXX accepts -Wparentheses... $ECHO_C" >&6; }
2950 cat > conftest.cxx <<EOF
2951 int main() { return 0; }
2953 $CXX -Wparentheses conftest.cxx > conftest.log 2>&1
2954 var=`echo -Wparentheses | sed -e "s, .*$,," | sed -e "s,^-,,"`
2955 #CCRT if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
2956 if grep -e $var conftest.log > /dev/null 2>&1 ; then
2957 { echo "$as_me:$LINENO: result: no" >&5
2958 echo "${ECHO_T}no" >&6; }
2961 { echo "$as_me:$LINENO: result: yes" >&5
2962 echo "${ECHO_T}yes" >&6; }
2963 CXXFLAGS="${CXXFLAGS} -Wparentheses"
2968 { echo "$as_me:$LINENO: checking wether $CXX accepts -Wreturn-type" >&5
2969 echo $ECHO_N "checking wether $CXX accepts -Wreturn-type... $ECHO_C" >&6; }
2970 cat > conftest.cxx <<EOF
2971 int main() { return 0; }
2973 $CXX -Wreturn-type conftest.cxx > conftest.log 2>&1
2974 var=`echo -Wreturn-type | sed -e "s, .*$,," | sed -e "s,^-,,"`
2975 #CCRT if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
2976 if grep -e $var conftest.log > /dev/null 2>&1 ; then
2977 { echo "$as_me:$LINENO: result: no" >&5
2978 echo "${ECHO_T}no" >&6; }
2981 { echo "$as_me:$LINENO: result: yes" >&5
2982 echo "${ECHO_T}yes" >&6; }
2983 CXXFLAGS="${CXXFLAGS} -Wreturn-type"
2988 { echo "$as_me:$LINENO: checking wether $CXX accepts -fmessage-length=0" >&5
2989 echo $ECHO_N "checking wether $CXX accepts -fmessage-length=0... $ECHO_C" >&6; }
2990 cat > conftest.cxx <<EOF
2991 int main() { return 0; }
2993 $CXX -fmessage-length=0 conftest.cxx > conftest.log 2>&1
2994 var=`echo -fmessage-length=0 | sed -e "s, .*$,," | sed -e "s,^-,,"`
2995 #CCRT if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
2996 if grep -e $var conftest.log > /dev/null 2>&1 ; then
2997 { echo "$as_me:$LINENO: result: no" >&5
2998 echo "${ECHO_T}no" >&6; }
3001 { echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6; }
3003 CXXFLAGS="${CXXFLAGS} -fmessage-length=0"
3008 { echo "$as_me:$LINENO: checking wether $CXX accepts -Wunused" >&5
3009 echo $ECHO_N "checking wether $CXX accepts -Wunused... $ECHO_C" >&6; }
3010 cat > conftest.cxx <<EOF
3011 int main() { return 0; }
3013 $CXX -Wunused conftest.cxx > conftest.log 2>&1
3014 var=`echo -Wunused | sed -e "s, .*$,," | sed -e "s,^-,,"`
3015 #CCRT if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
3016 if grep -e $var conftest.log > /dev/null 2>&1 ; then
3017 { echo "$as_me:$LINENO: result: no" >&5
3018 echo "${ECHO_T}no" >&6; }
3021 { echo "$as_me:$LINENO: result: yes" >&5
3022 echo "${ECHO_T}yes" >&6; }
3023 CXXFLAGS="${CXXFLAGS} -Wunused"
3028 { echo "$as_me:$LINENO: checking wether $CXX accepts -pipe" >&5
3029 echo $ECHO_N "checking wether $CXX accepts -pipe... $ECHO_C" >&6; }
3030 cat > conftest.cxx <<EOF
3031 int main() { return 0; }
3033 $CXX -pipe conftest.cxx > conftest.log 2>&1
3034 var=`echo -pipe | sed -e "s, .*$,," | sed -e "s,^-,,"`
3035 #CCRT if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
3036 if grep -e $var conftest.log > /dev/null 2>&1 ; then
3037 { echo "$as_me:$LINENO: result: no" >&5
3038 echo "${ECHO_T}no" >&6; }
3041 { echo "$as_me:$LINENO: result: yes" >&5
3042 echo "${ECHO_T}yes" >&6; }
3043 CXXFLAGS="${CXXFLAGS} -pipe"
3048 if test "X$enable_production" = "Xyes"; then
3051 { echo "$as_me:$LINENO: checking wether $CXX accepts -Wuninitialized" >&5
3052 echo $ECHO_N "checking wether $CXX accepts -Wuninitialized... $ECHO_C" >&6; }
3053 cat > conftest.cxx <<EOF
3054 int main() { return 0; }
3056 $CXX -Wuninitialized conftest.cxx > conftest.log 2>&1
3057 var=`echo -Wuninitialized | sed -e "s, .*$,," | sed -e "s,^-,,"`
3058 #CCRT if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
3059 if grep -e $var conftest.log > /dev/null 2>&1 ; then
3060 { echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6; }
3064 { echo "$as_me:$LINENO: result: yes" >&5
3065 echo "${ECHO_T}yes" >&6; }
3066 CXXFLAGS="${CXXFLAGS} -Wuninitialized"
3070 CXXFLAGS="$CXXFLAGS -O "
3073 CXXFLAGS="$CXXFLAGS -g"
3077 echo ---------------------------------------------
3078 echo testing libtool
3079 echo ---------------------------------------------
3081 # Check whether --enable-static was given.
3082 if test "${enable_static+set}" = set; then
3083 enableval=$enable_static; p=${PACKAGE-default}
3085 yes) enable_static=yes ;;
3086 no) enable_static=no ;;
3089 # Look at the argument we got. We use all the common list separators.
3090 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3091 for pkg in $enableval; do
3093 if test "X$pkg" = "X$p"; then
3108 # Check whether --enable-shared was given.
3109 if test "${enable_shared+set}" = set; then
3110 enableval=$enable_shared; p=${PACKAGE-default}
3112 yes) enable_shared=yes ;;
3113 no) enable_shared=no ;;
3116 # Look at the argument we got. We use all the common list separators.
3117 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3118 for pkg in $enableval; do
3120 if test "X$pkg" = "X$p"; then
3132 # Check whether --enable-fast-install was given.
3133 if test "${enable_fast_install+set}" = set; then
3134 enableval=$enable_fast_install; p=${PACKAGE-default}
3136 yes) enable_fast_install=yes ;;
3137 no) enable_fast_install=no ;;
3139 enable_fast_install=no
3140 # Look at the argument we got. We use all the common list separators.
3141 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3142 for pkg in $enableval; do
3144 if test "X$pkg" = "X$p"; then
3145 enable_fast_install=yes
3152 enable_fast_install=yes
3156 DEPDIR="${am__leading_dot}deps"
3158 ac_config_commands="$ac_config_commands depfiles"
3161 am_make=${MAKE-make}
3162 cat > confinc << 'END'
3167 # If we don't find an include directive, just comment out the code.
3168 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3169 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3173 # First try GNU make style include.
3174 echo "include confinc" > confmf
3175 # We grep out `Entering directory' and `Leaving directory'
3176 # messages which can occur if `w' ends up in MAKEFLAGS.
3177 # In particular we don't look at `^make:' because GNU make might
3178 # be invoked under some other name (usually "gmake"), in which
3179 # case it prints its new name instead of `make'.
3180 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3185 # Now try BSD make style include.
3186 if test "$am__include" = "#"; then
3187 echo '.include "confinc"' > confmf
3188 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3189 am__include=.include
3196 { echo "$as_me:$LINENO: result: $_am_result" >&5
3197 echo "${ECHO_T}$_am_result" >&6; }
3198 rm -f confinc confmf
3200 # Check whether --enable-dependency-tracking was given.
3201 if test "${enable_dependency_tracking+set}" = set; then
3202 enableval=$enable_dependency_tracking;
3205 if test "x$enable_dependency_tracking" != xno; then
3206 am_depcomp="$ac_aux_dir/depcomp"
3209 if test "x$enable_dependency_tracking" != xno; then
3219 ac_cpp='$CPP $CPPFLAGS'
3220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223 if test -n "$ac_tool_prefix"; then
3224 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3225 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3228 if test "${ac_cv_prog_CC+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 if test -n "$CC"; then
3232 ac_cv_prog_CC="$CC" # Let the user override the test.
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir=.
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3252 if test -n "$CC"; then
3253 { echo "$as_me:$LINENO: result: $CC" >&5
3254 echo "${ECHO_T}$CC" >&6; }
3256 { echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6; }
3262 if test -z "$ac_cv_prog_CC"; then
3264 # Extract the first word of "gcc", so it can be a program name with args.
3265 set dummy gcc; ac_word=$2
3266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3269 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 if test -n "$ac_ct_CC"; then
3272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir=.
3279 for ac_exec_ext in '' $ac_executable_extensions; do
3280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281 ac_cv_prog_ac_ct_CC="gcc"
3282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3292 if test -n "$ac_ct_CC"; then
3293 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3294 echo "${ECHO_T}$ac_ct_CC" >&6; }
3296 { echo "$as_me:$LINENO: result: no" >&5
3297 echo "${ECHO_T}no" >&6; }
3300 if test "x$ac_ct_CC" = x; then
3303 case $cross_compiling:$ac_tool_warned in
3305 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3306 whose name does not start with the host triplet. If you think this
3307 configuration is useful to you, please write to autoconf@gnu.org." >&5
3308 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3309 whose name does not start with the host triplet. If you think this
3310 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3311 ac_tool_warned=yes ;;
3319 if test -z "$CC"; then
3320 if test -n "$ac_tool_prefix"; then
3321 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3322 set dummy ${ac_tool_prefix}cc; ac_word=$2
3323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3325 if test "${ac_cv_prog_CC+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 if test -n "$CC"; then
3329 ac_cv_prog_CC="$CC" # Let the user override the test.
3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 test -z "$as_dir" && as_dir=.
3336 for ac_exec_ext in '' $ac_executable_extensions; do
3337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3338 ac_cv_prog_CC="${ac_tool_prefix}cc"
3339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3349 if test -n "$CC"; then
3350 { echo "$as_me:$LINENO: result: $CC" >&5
3351 echo "${ECHO_T}$CC" >&6; }
3353 { echo "$as_me:$LINENO: result: no" >&5
3354 echo "${ECHO_T}no" >&6; }
3360 if test -z "$CC"; then
3361 # Extract the first word of "cc", so it can be a program name with args.
3362 set dummy cc; ac_word=$2
3363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3365 if test "${ac_cv_prog_CC+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 if test -n "$CC"; then
3369 ac_cv_prog_CC="$CC" # Let the user override the test.
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3380 ac_prog_rejected=yes
3384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 if test $ac_prog_rejected = yes; then
3392 # We found a bogon in the path, so make sure we never use it.
3393 set dummy $ac_cv_prog_CC
3395 if test $# != 0; then
3396 # We chose a different compiler from the bogus one.
3397 # However, it has the same basename, so the bogon will be chosen
3398 # first if we set CC to just the basename; use the full file name.
3400 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3406 if test -n "$CC"; then
3407 { echo "$as_me:$LINENO: result: $CC" >&5
3408 echo "${ECHO_T}$CC" >&6; }
3410 { echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6; }
3416 if test -z "$CC"; then
3417 if test -n "$ac_tool_prefix"; then
3418 for ac_prog in cl.exe
3420 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3421 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3424 if test "${ac_cv_prog_CC+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if test -n "$CC"; then
3428 ac_cv_prog_CC="$CC" # Let the user override the test.
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir=.
3435 for ac_exec_ext in '' $ac_executable_extensions; do
3436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3437 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3448 if test -n "$CC"; then
3449 { echo "$as_me:$LINENO: result: $CC" >&5
3450 echo "${ECHO_T}$CC" >&6; }
3452 { echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6; }
3457 test -n "$CC" && break
3460 if test -z "$CC"; then
3462 for ac_prog in cl.exe
3464 # Extract the first word of "$ac_prog", so it can be a program name with args.
3465 set dummy $ac_prog; ac_word=$2
3466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3468 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 if test -n "$ac_ct_CC"; then
3472 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3478 test -z "$as_dir" && as_dir=.
3479 for ac_exec_ext in '' $ac_executable_extensions; do
3480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3481 ac_cv_prog_ac_ct_CC="$ac_prog"
3482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3491 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3492 if test -n "$ac_ct_CC"; then
3493 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3494 echo "${ECHO_T}$ac_ct_CC" >&6; }
3496 { echo "$as_me:$LINENO: result: no" >&5
3497 echo "${ECHO_T}no" >&6; }
3501 test -n "$ac_ct_CC" && break
3504 if test "x$ac_ct_CC" = x; then
3507 case $cross_compiling:$ac_tool_warned in
3509 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3510 whose name does not start with the host triplet. If you think this
3511 configuration is useful to you, please write to autoconf@gnu.org." >&5
3512 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3513 whose name does not start with the host triplet. If you think this
3514 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3515 ac_tool_warned=yes ;;
3524 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3525 See \`config.log' for more details." >&5
3526 echo "$as_me: error: no acceptable C compiler found in \$PATH
3527 See \`config.log' for more details." >&2;}
3528 { (exit 1); exit 1; }; }
3530 # Provide some information about the compiler.
3531 echo "$as_me:$LINENO: checking for C compiler version" >&5
3532 ac_compiler=`set X $ac_compile; echo $2`
3533 { (ac_try="$ac_compiler --version >&5"
3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3536 *) ac_try_echo=$ac_try;;
3538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3539 (eval "$ac_compiler --version >&5") 2>&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }
3543 { (ac_try="$ac_compiler -v >&5"
3545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3546 *) ac_try_echo=$ac_try;;
3548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3549 (eval "$ac_compiler -v >&5") 2>&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }
3553 { (ac_try="$ac_compiler -V >&5"
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3559 (eval "$ac_compiler -V >&5") 2>&5
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); }
3564 cat >conftest.$ac_ext <<_ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3579 ac_clean_files_save=$ac_clean_files
3580 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3581 # Try to create an executable without -o first, disregard a.out.
3582 # It will help us diagnose broken compilers, and finding out an intuition
3584 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3585 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3586 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3588 # List of possible output files, starting from the most likely.
3589 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3590 # only as a last resort. b.out is created by i960 compilers.
3591 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3593 # The IRIX 6 linker writes into existing files which may not be
3594 # executable, retaining their permissions. Remove them first so a
3595 # subsequent execution test works.
3597 for ac_file in $ac_files
3600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3601 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3606 if { (ac_try="$ac_link_default"
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3612 (eval "$ac_link_default") 2>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; then
3616 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3617 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3618 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3619 # so that the user can short-circuit this test for compilers unknown to
3621 for ac_file in $ac_files ''
3623 test -f "$ac_file" || continue
3625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3628 # We found the default executable, but exeext='' is most
3632 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3634 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3636 # We set ac_cv_exeext here because the later test for it is not
3637 # safe: cross compilers may not add the suffix if given an `-o'
3638 # argument, so we may need to know it at that point already.
3639 # Even if this section looks crufty: it has the advantage of
3646 test "$ac_cv_exeext" = no && ac_cv_exeext=
3652 { echo "$as_me:$LINENO: result: $ac_file" >&5
3653 echo "${ECHO_T}$ac_file" >&6; }
3654 if test -z "$ac_file"; then
3655 echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3659 See \`config.log' for more details." >&5
3660 echo "$as_me: error: C compiler cannot create executables
3661 See \`config.log' for more details." >&2;}
3662 { (exit 77); exit 77; }; }
3665 ac_exeext=$ac_cv_exeext
3667 # Check that the compiler produces executables we can run. If not, either
3668 # the compiler is broken, or we cross compile.
3669 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3670 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3671 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3672 # If not cross compiling, check that we can run a simple program.
3673 if test "$cross_compiling" != yes; then
3674 if { ac_try='./$ac_file'
3675 { (case "(($ac_try" in
3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3680 (eval "$ac_try") 2>&5
3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); }; }; then
3686 if test "$cross_compiling" = maybe; then
3689 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3690 If you meant to cross compile, use \`--host'.
3691 See \`config.log' for more details." >&5
3692 echo "$as_me: error: cannot run C compiled programs.
3693 If you meant to cross compile, use \`--host'.
3694 See \`config.log' for more details." >&2;}
3695 { (exit 1); exit 1; }; }
3699 { echo "$as_me:$LINENO: result: yes" >&5
3700 echo "${ECHO_T}yes" >&6; }
3702 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3703 ac_clean_files=$ac_clean_files_save
3704 # Check that the compiler produces executables we can run. If not, either
3705 # the compiler is broken, or we cross compile.
3706 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3707 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3708 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3709 echo "${ECHO_T}$cross_compiling" >&6; }
3711 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3712 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3713 if { (ac_try="$ac_link"
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3719 (eval "$ac_link") 2>&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); }; then
3723 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3724 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3725 # work properly (i.e., refer to `conftest.exe'), while it won't with
3727 for ac_file in conftest.exe conftest conftest.*; do
3728 test -f "$ac_file" || continue
3730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3731 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3737 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3738 See \`config.log' for more details." >&5
3739 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3740 See \`config.log' for more details." >&2;}
3741 { (exit 1); exit 1; }; }
3744 rm -f conftest$ac_cv_exeext
3745 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3746 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3748 rm -f conftest.$ac_ext
3749 EXEEXT=$ac_cv_exeext
3751 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3752 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3753 if test "${ac_cv_objext+set}" = set; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 cat >conftest.$ac_ext <<_ACEOF
3759 cat confdefs.h >>conftest.$ac_ext
3760 cat >>conftest.$ac_ext <<_ACEOF
3761 /* end confdefs.h. */
3771 rm -f conftest.o conftest.obj
3772 if { (ac_try="$ac_compile"
3774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3775 *) ac_try_echo=$ac_try;;
3777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3778 (eval "$ac_compile") 2>&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; then
3782 for ac_file in conftest.o conftest.obj conftest.*; do
3783 test -f "$ac_file" || continue;
3785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3786 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.$ac_ext >&5
3794 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3795 See \`config.log' for more details." >&5
3796 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3797 See \`config.log' for more details." >&2;}
3798 { (exit 1); exit 1; }; }
3801 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3803 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3804 echo "${ECHO_T}$ac_cv_objext" >&6; }
3805 OBJEXT=$ac_cv_objext
3807 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3808 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3809 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 cat >conftest.$ac_ext <<_ACEOF
3815 cat confdefs.h >>conftest.$ac_ext
3816 cat >>conftest.$ac_ext <<_ACEOF
3817 /* end confdefs.h. */
3830 rm -f conftest.$ac_objext
3831 if { (ac_try="$ac_compile"
3833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3837 (eval "$ac_compile") 2>conftest.er1
3839 grep -v '^ *+' conftest.er1 >conftest.err
3841 cat conftest.err >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); } && {
3844 test -z "$ac_c_werror_flag" ||
3845 test ! -s conftest.err
3846 } && test -s conftest.$ac_objext; then
3849 echo "$as_me: failed program was:" >&5
3850 sed 's/^/| /' conftest.$ac_ext >&5
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3859 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3860 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3861 GCC=`test $ac_compiler_gnu = yes && echo yes`
3862 ac_test_CFLAGS=${CFLAGS+set}
3863 ac_save_CFLAGS=$CFLAGS
3864 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3865 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3866 if test "${ac_cv_prog_cc_g+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 ac_save_c_werror_flag=$ac_c_werror_flag
3870 ac_c_werror_flag=yes
3873 cat >conftest.$ac_ext <<_ACEOF
3876 cat confdefs.h >>conftest.$ac_ext
3877 cat >>conftest.$ac_ext <<_ACEOF
3878 /* end confdefs.h. */
3888 rm -f conftest.$ac_objext
3889 if { (ac_try="$ac_compile"
3891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892 *) ac_try_echo=$ac_try;;
3894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3895 (eval "$ac_compile") 2>conftest.er1
3897 grep -v '^ *+' conftest.er1 >conftest.err
3899 cat conftest.err >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); } && {
3902 test -z "$ac_c_werror_flag" ||
3903 test ! -s conftest.err
3904 } && test -s conftest.$ac_objext; then
3907 echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3911 cat >conftest.$ac_ext <<_ACEOF
3914 cat confdefs.h >>conftest.$ac_ext
3915 cat >>conftest.$ac_ext <<_ACEOF
3916 /* end confdefs.h. */
3926 rm -f conftest.$ac_objext
3927 if { (ac_try="$ac_compile"
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3933 (eval "$ac_compile") 2>conftest.er1
3935 grep -v '^ *+' conftest.er1 >conftest.err
3937 cat conftest.err >&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); } && {
3940 test -z "$ac_c_werror_flag" ||
3941 test ! -s conftest.err
3942 } && test -s conftest.$ac_objext; then
3945 echo "$as_me: failed program was:" >&5
3946 sed 's/^/| /' conftest.$ac_ext >&5
3948 ac_c_werror_flag=$ac_save_c_werror_flag
3950 cat >conftest.$ac_ext <<_ACEOF
3953 cat confdefs.h >>conftest.$ac_ext
3954 cat >>conftest.$ac_ext <<_ACEOF
3955 /* end confdefs.h. */
3965 rm -f conftest.$ac_objext
3966 if { (ac_try="$ac_compile"
3968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3969 *) ac_try_echo=$ac_try;;
3971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3972 (eval "$ac_compile") 2>conftest.er1
3974 grep -v '^ *+' conftest.er1 >conftest.err
3976 cat conftest.err >&5
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); } && {
3979 test -z "$ac_c_werror_flag" ||
3980 test ! -s conftest.err
3981 } && test -s conftest.$ac_objext; then
3984 echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.$ac_ext >&5
3990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3997 ac_c_werror_flag=$ac_save_c_werror_flag
3999 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4000 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4001 if test "$ac_test_CFLAGS" = set; then
4002 CFLAGS=$ac_save_CFLAGS
4003 elif test $ac_cv_prog_cc_g = yes; then
4004 if test "$GCC" = yes; then
4010 if test "$GCC" = yes; then
4016 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4017 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4018 if test "${ac_cv_prog_cc_c89+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 ac_cv_prog_cc_c89=no
4023 cat >conftest.$ac_ext <<_ACEOF
4026 cat confdefs.h >>conftest.$ac_ext
4027 cat >>conftest.$ac_ext <<_ACEOF
4028 /* end confdefs.h. */
4031 #include <sys/types.h>
4032 #include <sys/stat.h>
4033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4034 struct buf { int x; };
4035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4036 static char *e (p, i)
4042 static char *f (char * (*g) (char **, int), char **p, ...)
4047 s = g (p, va_arg (v,int));
4052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4053 function prototypes and stuff, but not '\xHH' hex character constants.
4054 These don't provoke an error unfortunately, instead are silently treated
4055 as 'x'. The following induces an error, until -std is added to get
4056 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4057 array size at least. It's necessary to write '\x00'==0 to get something
4058 that's true only with -std. */
4059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4061 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4062 inside strings and character constants. */
4064 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4066 int test (int i, double x);
4067 struct s1 {int (*f) (int a);};
4068 struct s2 {int (*f) (double a);};
4069 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4075 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4080 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4081 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4083 CC="$ac_save_CC $ac_arg"
4084 rm -f conftest.$ac_objext
4085 if { (ac_try="$ac_compile"
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4091 (eval "$ac_compile") 2>conftest.er1
4093 grep -v '^ *+' conftest.er1 >conftest.err
4095 cat conftest.err >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } && {
4098 test -z "$ac_c_werror_flag" ||
4099 test ! -s conftest.err
4100 } && test -s conftest.$ac_objext; then
4101 ac_cv_prog_cc_c89=$ac_arg
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4109 rm -f core conftest.err conftest.$ac_objext
4110 test "x$ac_cv_prog_cc_c89" != "xno" && break
4112 rm -f conftest.$ac_ext
4117 case "x$ac_cv_prog_cc_c89" in
4119 { echo "$as_me:$LINENO: result: none needed" >&5
4120 echo "${ECHO_T}none needed" >&6; } ;;
4122 { echo "$as_me:$LINENO: result: unsupported" >&5
4123 echo "${ECHO_T}unsupported" >&6; } ;;
4125 CC="$CC $ac_cv_prog_cc_c89"
4126 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4127 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4132 ac_cpp='$CPP $CPPFLAGS'
4133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137 depcc="$CC" am_compiler_list=
4139 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4140 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4141 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4144 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4145 # We make a subdir and do the tests there. Otherwise we can end up
4146 # making bogus files that we don't know about and never remove. For
4147 # instance it was reported that on HP-UX the gcc test will end up
4148 # making a dummy file named `D' -- because `-MD' means `put the output
4151 # Copy depcomp to subdir because otherwise we won't find it if we're
4152 # using a relative directory.
4153 cp "$am_depcomp" conftest.dir
4155 # We will build objects and dependencies in a subdirectory because
4156 # it helps to detect inapplicable dependency modes. For instance
4157 # both Tru64's cc and ICC support -MD to output dependencies as a
4158 # side effect of compilation, but ICC will put the dependencies in
4159 # the current directory while Tru64 will put them in the object
4163 am_cv_CC_dependencies_compiler_type=none
4164 if test "$am_compiler_list" = ""; then
4165 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4167 for depmode in $am_compiler_list; do
4168 # Setup a source with many dependencies, because some compilers
4169 # like to wrap large dependency lists on column 80 (with \), and
4170 # we should not choose a depcomp mode which is confused by this.
4172 # We need to recreate these files for each test, as the compiler may
4173 # overwrite some of them when testing with obscure command lines.
4174 # This happens at least with the AIX C compiler.
4176 for i in 1 2 3 4 5 6; do
4177 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4178 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4179 # Solaris 8's {/usr,}/bin/bash.
4180 touch sub/conftst$i.h
4182 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4186 # after this tag, mechanisms are not by side-effect, so they'll
4187 # only be used when explicitly requested
4188 if test "x$enable_dependency_tracking" = xyes; then
4196 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4197 # mode. It turns out that the SunPro C++ compiler does not properly
4198 # handle `-M -o', and we need to detect this.
4199 if depmode=$depmode \
4200 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4201 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4202 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4203 >/dev/null 2>conftest.err &&
4204 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4205 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4206 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4207 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4208 # icc doesn't choke on unknown options, it will just issue warnings
4209 # or remarks (even with -Werror). So we grep stderr for any message
4210 # that says an option was ignored or not supported.
4211 # When given -MP, icc 7.0 and 7.1 complain thusly:
4212 # icc: Command line warning: ignoring option '-M'; no argument required
4213 # The diagnosis changed in icc 8.0:
4214 # icc: Command line remark: option '-MP' not supported
4215 if (grep 'ignoring option' conftest.err ||
4216 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4217 am_cv_CC_dependencies_compiler_type=$depmode
4226 am_cv_CC_dependencies_compiler_type=none
4230 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4231 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4232 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4235 test "x$enable_dependency_tracking" != xno \
4236 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4238 am__fastdepCC_FALSE='#'
4240 am__fastdepCC_TRUE='#'
4241 am__fastdepCC_FALSE=
4245 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4246 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4247 if test "${lt_cv_path_SED+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 # Loop through the user's path and test for sed and gsed.
4251 # Then use that list of sed's as ones to test for truncation.
4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir=.
4257 for lt_ac_prog in sed gsed; do
4258 for ac_exec_ext in '' $ac_executable_extensions; do
4259 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4260 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4267 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4268 # along with /bin/sed that truncates output.
4269 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4270 test ! -f $lt_ac_sed && continue
4271 cat /dev/null > conftest.in
4273 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4274 # Check for GNU sed and select it if it is found.
4275 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4276 lt_cv_path_SED=$lt_ac_sed
4280 cat conftest.in conftest.in >conftest.tmp
4281 mv conftest.tmp conftest.in
4282 cp conftest.in conftest.nl
4284 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4285 cmp -s conftest.out conftest.nl || break
4286 # 10000 chars as input seems more than enough
4287 test $lt_ac_count -gt 10 && break
4288 lt_ac_count=`expr $lt_ac_count + 1`
4289 if test $lt_ac_count -gt $lt_ac_max; then
4290 lt_ac_max=$lt_ac_count
4291 lt_cv_path_SED=$lt_ac_sed
4299 { echo "$as_me:$LINENO: result: $SED" >&5
4300 echo "${ECHO_T}$SED" >&6; }
4302 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4303 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4304 if test "${ac_cv_path_GREP+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 # Extract the first word of "grep ggrep" to use in msg output
4308 if test -z "$GREP"; then
4309 set dummy grep ggrep; ac_prog_name=$2
4310 if test "${ac_cv_path_GREP+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4313 ac_path_GREP_found=false
4314 # Loop through the user's path and test for each of PROGNAME-LIST
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4319 test -z "$as_dir" && as_dir=.
4320 for ac_prog in grep ggrep; do
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4323 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4324 # Check for GNU ac_path_GREP and select it if it is found.
4325 # Check for GNU $ac_path_GREP
4326 case `"$ac_path_GREP" --version 2>&1` in
4328 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4331 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4334 cat "conftest.in" "conftest.in" >"conftest.tmp"
4335 mv "conftest.tmp" "conftest.in"
4336 cp "conftest.in" "conftest.nl"
4337 echo 'GREP' >> "conftest.nl"
4338 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4340 ac_count=`expr $ac_count + 1`
4341 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4342 # Best one so far, save it but keep looking for a better one
4343 ac_cv_path_GREP="$ac_path_GREP"
4344 ac_path_GREP_max=$ac_count
4346 # 10*(2^10) chars as input seems more than enough
4347 test $ac_count -gt 10 && break
4349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4353 $ac_path_GREP_found && break 3
4363 GREP="$ac_cv_path_GREP"
4364 if test -z "$GREP"; then
4365 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4366 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4367 { (exit 1); exit 1; }; }
4371 ac_cv_path_GREP=$GREP
4376 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4377 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4378 GREP="$ac_cv_path_GREP"
4381 { echo "$as_me:$LINENO: checking for egrep" >&5
4382 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4383 if test "${ac_cv_path_EGREP+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4386 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4387 then ac_cv_path_EGREP="$GREP -E"
4389 # Extract the first word of "egrep" to use in msg output
4390 if test -z "$EGREP"; then
4391 set dummy egrep; ac_prog_name=$2
4392 if test "${ac_cv_path_EGREP+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 ac_path_EGREP_found=false
4396 # Loop through the user's path and test for each of PROGNAME-LIST
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4401 test -z "$as_dir" && as_dir=.
4402 for ac_prog in egrep; do
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4405 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4406 # Check for GNU ac_path_EGREP and select it if it is found.
4407 # Check for GNU $ac_path_EGREP
4408 case `"$ac_path_EGREP" --version 2>&1` in
4410 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4413 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4416 cat "conftest.in" "conftest.in" >"conftest.tmp"
4417 mv "conftest.tmp" "conftest.in"
4418 cp "conftest.in" "conftest.nl"
4419 echo 'EGREP' >> "conftest.nl"
4420 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4422 ac_count=`expr $ac_count + 1`
4423 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4424 # Best one so far, save it but keep looking for a better one
4425 ac_cv_path_EGREP="$ac_path_EGREP"
4426 ac_path_EGREP_max=$ac_count
4428 # 10*(2^10) chars as input seems more than enough
4429 test $ac_count -gt 10 && break
4431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4435 $ac_path_EGREP_found && break 3
4445 EGREP="$ac_cv_path_EGREP"
4446 if test -z "$EGREP"; then
4447 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4448 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4449 { (exit 1); exit 1; }; }
4453 ac_cv_path_EGREP=$EGREP
4459 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4460 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4461 EGREP="$ac_cv_path_EGREP"
4465 # Check whether --with-gnu-ld was given.
4466 if test "${with_gnu_ld+set}" = set; then
4467 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4473 if test "$GCC" = yes; then
4474 # Check if gcc -print-prog-name=ld gives a path.
4475 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4476 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4479 # gcc leaves a trailing carriage return which upsets mingw
4480 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4482 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4485 # Accept absolute paths.
4487 re_direlt='/[^/][^/]*/\.\./'
4488 # Canonicalize the pathname of ld
4489 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4490 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4491 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4493 test -z "$LD" && LD="$ac_prog"
4496 # If it fails, then pretend we aren't using GCC.
4500 # If it is relative, then search for the first ld in PATH.
4504 elif test "$with_gnu_ld" = yes; then
4505 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4506 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4508 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4509 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4511 if test "${lt_cv_path_LD+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 if test -z "$LD"; then
4515 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4516 for ac_dir in $PATH; do
4518 test -z "$ac_dir" && ac_dir=.
4519 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4520 lt_cv_path_LD="$ac_dir/$ac_prog"
4521 # Check to see if the program is GNU ld. I'd rather use --version,
4522 # but apparently some variants of GNU ld only accept -v.
4523 # Break only if it was the GNU/non-GNU ld that we prefer.
4524 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4525 *GNU* | *'with BFD'*)
4526 test "$with_gnu_ld" != no && break
4529 test "$with_gnu_ld" != yes && break
4536 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4541 if test -n "$LD"; then
4542 { echo "$as_me:$LINENO: result: $LD" >&5
4543 echo "${ECHO_T}$LD" >&6; }
4545 { echo "$as_me:$LINENO: result: no" >&5
4546 echo "${ECHO_T}no" >&6; }
4548 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4549 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4550 { (exit 1); exit 1; }; }
4551 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4552 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4553 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4557 case `$LD -v 2>&1 </dev/null` in
4558 *GNU* | *'with BFD'*)
4559 lt_cv_prog_gnu_ld=yes
4562 lt_cv_prog_gnu_ld=no
4566 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4567 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4568 with_gnu_ld=$lt_cv_prog_gnu_ld
4571 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4572 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4573 if test "${lt_cv_ld_reload_flag+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 lt_cv_ld_reload_flag='-r'
4578 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4579 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4580 reload_flag=$lt_cv_ld_reload_flag
4581 case $reload_flag in
4583 *) reload_flag=" $reload_flag" ;;
4585 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4588 if test "$GCC" = yes; then
4589 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4591 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4596 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4597 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4598 if test "${lt_cv_path_NM+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 if test -n "$NM"; then
4602 # Let the user override the test.
4605 lt_nm_to_check="${ac_tool_prefix}nm"
4606 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4607 lt_nm_to_check="$lt_nm_to_check nm"
4609 for lt_tmp_nm in $lt_nm_to_check; do
4610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4611 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4613 test -z "$ac_dir" && ac_dir=.
4614 tmp_nm="$ac_dir/$lt_tmp_nm"
4615 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4616 # Check to see if the nm accepts a BSD-compat flag.
4617 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4618 # nm: unknown option "B" ignored
4619 # Tru64's nm complains that /dev/null is an invalid object file
4620 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4621 */dev/null* | *'Invalid file or object type'*)
4622 lt_cv_path_NM="$tmp_nm -B"
4626 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4628 lt_cv_path_NM="$tmp_nm -p"
4632 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4633 continue # so that we can try to find one that supports BSD flags
4642 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4645 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4646 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4649 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4650 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4652 if test "$LN_S" = "ln -s"; then
4653 { echo "$as_me:$LINENO: result: yes" >&5
4654 echo "${ECHO_T}yes" >&6; }
4656 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4657 echo "${ECHO_T}no, using $LN_S" >&6; }
4660 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4661 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4662 if test "${lt_cv_deplibs_check_method+set}" = set; then
4663 echo $ECHO_N "(cached) $ECHO_C" >&6
4665 lt_cv_file_magic_cmd='$MAGIC_CMD'
4666 lt_cv_file_magic_test_file=
4667 lt_cv_deplibs_check_method='unknown'
4668 # Need to set the preceding variable on all platforms that support
4669 # interlibrary dependencies.
4670 # 'none' -- dependencies not supported.
4671 # `unknown' -- same as none, but documents that we really don't know.
4672 # 'pass_all' -- all dependencies passed with no checks.
4673 # 'test_compile' -- check by making test program.
4674 # 'file_magic [[regex]]' -- check by looking for files in library path
4675 # which responds to the $file_magic_cmd with a given extended regex.
4676 # If you have `file' or equivalent on your system and you're not sure
4677 # whether `pass_all' will *always* work, you probably want this one.
4681 lt_cv_deplibs_check_method=pass_all
4685 lt_cv_deplibs_check_method=pass_all
4689 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4690 lt_cv_file_magic_cmd='/usr/bin/file -L'
4691 lt_cv_file_magic_test_file=/shlib/libc.so
4695 # func_win32_libid is a shell function defined in ltmain.sh
4696 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4697 lt_cv_file_magic_cmd='func_win32_libid'
4701 # Base MSYS/MinGW do not provide the 'file' command needed by
4702 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4703 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4704 lt_cv_file_magic_cmd='$OBJDUMP -f'
4707 darwin* | rhapsody*)
4708 lt_cv_deplibs_check_method=pass_all
4711 freebsd* | kfreebsd*-gnu | dragonfly*)
4712 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4715 # Not sure whether the presence of OpenBSD here was a mistake.
4716 # Let's accept both of them until this is cleared up.
4717 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4718 lt_cv_file_magic_cmd=/usr/bin/file
4719 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4723 lt_cv_deplibs_check_method=pass_all
4728 lt_cv_deplibs_check_method=pass_all
4731 hpux10.20* | hpux11*)
4732 lt_cv_file_magic_cmd=/usr/bin/file
4735 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4736 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4739 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]'
4740 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4743 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4744 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4750 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4751 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4754 irix5* | irix6* | nonstopux*)
4756 *-32|*"-32 ") libmagic=32-bit;;
4757 *-n32|*"-n32 ") libmagic=N32;;
4758 *-64|*"-64 ") libmagic=64-bit;;
4759 *) libmagic=never-match;;
4761 lt_cv_deplibs_check_method=pass_all
4764 # This must be Linux ELF.
4766 lt_cv_deplibs_check_method=pass_all
4770 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4771 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4778 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4779 lt_cv_file_magic_cmd=/usr/bin/file
4780 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4784 lt_cv_deplibs_check_method=unknown
4788 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4789 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4791 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4795 osf3* | osf4* | osf5*)
4796 lt_cv_deplibs_check_method=pass_all
4800 lt_cv_deplibs_check_method=pass_all
4804 case $host_vendor in
4806 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]'
4807 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4810 lt_cv_deplibs_check_method=pass_all
4813 lt_cv_file_magic_cmd='/bin/file'
4814 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4817 lt_cv_file_magic_cmd='/bin/file'
4818 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4819 lt_cv_file_magic_test_file=/lib/libc.so
4822 lt_cv_deplibs_check_method=pass_all
4825 lt_cv_deplibs_check_method=pass_all
4830 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4831 lt_cv_deplibs_check_method=pass_all
4836 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4837 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4838 file_magic_cmd=$lt_cv_file_magic_cmd
4839 deplibs_check_method=$lt_cv_deplibs_check_method
4840 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4845 # If no C compiler was specified, use CC.
4848 # If no C compiler flags were specified, use CFLAGS.
4849 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4851 # Allow CC to be a program name with arguments.
4855 # Check whether --enable-libtool-lock was given.
4856 if test "${enable_libtool_lock+set}" = set; then
4857 enableval=$enable_libtool_lock;
4860 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4862 # Some flags need to be propagated to the compiler or linker for good
4866 # Find out which ABI we are using.
4867 echo 'int i;' > conftest.$ac_ext
4868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4869 (eval $ac_compile) 2>&5
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); }; then
4873 case `/usr/bin/file conftest.$ac_objext` in
4885 # Find out which ABI we are using.
4886 echo '#line 4886 "configure"' > conftest.$ac_ext
4887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4888 (eval $ac_compile) 2>&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; then
4892 if test "$lt_cv_prog_gnu_ld" = yes; then
4893 case `/usr/bin/file conftest.$ac_objext` in
4895 LD="${LD-ld} -melf32bsmip"
4898 LD="${LD-ld} -melf32bmipn32"
4901 LD="${LD-ld} -melf64bmip"
4905 case `/usr/bin/file conftest.$ac_objext` in
4921 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4922 # Find out which ABI we are using.
4923 echo 'int i;' > conftest.$ac_ext
4924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4925 (eval $ac_compile) 2>&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); }; then
4929 case `/usr/bin/file conftest.o` in
4933 LD="${LD-ld} -m elf_i386"
4935 ppc64-*linux*|powerpc64-*linux*)
4936 LD="${LD-ld} -m elf32ppclinux"
4939 LD="${LD-ld} -m elf_s390"
4942 LD="${LD-ld} -m elf32_sparc"
4949 LD="${LD-ld} -m elf_x86_64"
4951 ppc*-*linux*|powerpc*-*linux*)
4952 LD="${LD-ld} -m elf64ppc"
4955 LD="${LD-ld} -m elf64_s390"
4958 LD="${LD-ld} -m elf64_sparc"
4968 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4969 SAVE_CFLAGS="$CFLAGS"
4970 CFLAGS="$CFLAGS -belf"
4971 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4972 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4973 if test "${lt_cv_cc_needs_belf+set}" = set; then
4974 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 ac_cpp='$CPP $CPPFLAGS'
4978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4982 cat >conftest.$ac_ext <<_ACEOF
4985 cat confdefs.h >>conftest.$ac_ext
4986 cat >>conftest.$ac_ext <<_ACEOF
4987 /* end confdefs.h. */
4997 rm -f conftest.$ac_objext conftest$ac_exeext
4998 if { (ac_try="$ac_link"
5000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001 *) ac_try_echo=$ac_try;;
5003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5004 (eval "$ac_link") 2>conftest.er1
5006 grep -v '^ *+' conftest.er1 >conftest.err
5008 cat conftest.err >&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } && {
5011 test -z "$ac_c_werror_flag" ||
5012 test ! -s conftest.err
5013 } && test -s conftest$ac_exeext &&
5014 $as_test_x conftest$ac_exeext; then
5015 lt_cv_cc_needs_belf=yes
5017 echo "$as_me: failed program was:" >&5
5018 sed 's/^/| /' conftest.$ac_ext >&5
5020 lt_cv_cc_needs_belf=no
5023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5024 conftest$ac_exeext conftest.$ac_ext
5026 ac_cpp='$CPP $CPPFLAGS'
5027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5032 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5033 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5034 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5035 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5036 CFLAGS="$SAVE_CFLAGS"
5040 # Find out which ABI we are using.
5041 echo 'int i;' > conftest.$ac_ext
5042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5043 (eval $ac_compile) 2>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; then
5047 case `/usr/bin/file conftest.o` in
5049 case $lt_cv_prog_gnu_ld in
5050 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5051 *) LD="${LD-ld} -64" ;;
5062 need_locks="$enable_libtool_lock"
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5070 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5071 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5072 # On Suns, sometimes $CPP names a directory.
5073 if test -n "$CPP" && test -d "$CPP"; then
5076 if test -z "$CPP"; then
5077 if test "${ac_cv_prog_CPP+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 # Double quotes because CPP needs to be expanded
5081 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5084 for ac_c_preproc_warn_flag in '' yes
5086 # Use a header file that comes with gcc, so configuring glibc
5087 # with a fresh cross-compiler works.
5088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5089 # <limits.h> exists even on freestanding compilers.
5090 # On the NeXT, cc -E runs the code through the compiler's parser,
5091 # not just through cpp. "Syntax error" is here to catch this case.
5092 cat >conftest.$ac_ext <<_ACEOF
5095 cat confdefs.h >>conftest.$ac_ext
5096 cat >>conftest.$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5099 # include <limits.h>
5101 # include <assert.h>
5105 if { (ac_try="$ac_cpp conftest.$ac_ext"
5107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5108 *) ac_try_echo=$ac_try;;
5110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5113 grep -v '^ *+' conftest.er1 >conftest.err
5115 cat conftest.err >&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); } >/dev/null && {
5118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5119 test ! -s conftest.err
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5126 # Broken: fails on valid input.
5130 rm -f conftest.err conftest.$ac_ext
5132 # OK, works on sane cases. Now check whether nonexistent headers
5133 # can be detected and how.
5134 cat >conftest.$ac_ext <<_ACEOF
5137 cat confdefs.h >>conftest.$ac_ext
5138 cat >>conftest.$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5140 #include <ac_nonexistent.h>
5142 if { (ac_try="$ac_cpp conftest.$ac_ext"
5144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5145 *) ac_try_echo=$ac_try;;
5147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5150 grep -v '^ *+' conftest.er1 >conftest.err
5152 cat conftest.err >&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); } >/dev/null && {
5155 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5156 test ! -s conftest.err
5158 # Broken: success on invalid input.
5161 echo "$as_me: failed program was:" >&5
5162 sed 's/^/| /' conftest.$ac_ext >&5
5164 # Passes both tests.
5169 rm -f conftest.err conftest.$ac_ext
5172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5173 rm -f conftest.err conftest.$ac_ext
5174 if $ac_preproc_ok; then
5186 { echo "$as_me:$LINENO: result: $CPP" >&5
5187 echo "${ECHO_T}$CPP" >&6; }
5189 for ac_c_preproc_warn_flag in '' yes
5191 # Use a header file that comes with gcc, so configuring glibc
5192 # with a fresh cross-compiler works.
5193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5194 # <limits.h> exists even on freestanding compilers.
5195 # On the NeXT, cc -E runs the code through the compiler's parser,
5196 # not just through cpp. "Syntax error" is here to catch this case.
5197 cat >conftest.$ac_ext <<_ACEOF
5200 cat confdefs.h >>conftest.$ac_ext
5201 cat >>conftest.$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5204 # include <limits.h>
5206 # include <assert.h>
5210 if { (ac_try="$ac_cpp conftest.$ac_ext"
5212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5213 *) ac_try_echo=$ac_try;;
5215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5218 grep -v '^ *+' conftest.er1 >conftest.err
5220 cat conftest.err >&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); } >/dev/null && {
5223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5224 test ! -s conftest.err
5228 echo "$as_me: failed program was:" >&5
5229 sed 's/^/| /' conftest.$ac_ext >&5
5231 # Broken: fails on valid input.
5235 rm -f conftest.err conftest.$ac_ext
5237 # OK, works on sane cases. Now check whether nonexistent headers
5238 # can be detected and how.
5239 cat >conftest.$ac_ext <<_ACEOF
5242 cat confdefs.h >>conftest.$ac_ext
5243 cat >>conftest.$ac_ext <<_ACEOF
5244 /* end confdefs.h. */
5245 #include <ac_nonexistent.h>
5247 if { (ac_try="$ac_cpp conftest.$ac_ext"
5249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5250 *) ac_try_echo=$ac_try;;
5252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5255 grep -v '^ *+' conftest.er1 >conftest.err
5257 cat conftest.err >&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); } >/dev/null && {
5260 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5261 test ! -s conftest.err
5263 # Broken: success on invalid input.
5266 echo "$as_me: failed program was:" >&5
5267 sed 's/^/| /' conftest.$ac_ext >&5
5269 # Passes both tests.
5274 rm -f conftest.err conftest.$ac_ext
5277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5278 rm -f conftest.err conftest.$ac_ext
5279 if $ac_preproc_ok; then
5282 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5283 See \`config.log' for more details." >&5
5284 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5285 See \`config.log' for more details." >&2;}
5286 { (exit 1); exit 1; }; }
5290 ac_cpp='$CPP $CPPFLAGS'
5291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5296 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5297 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5298 if test "${ac_cv_header_stdc+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 cat >conftest.$ac_ext <<_ACEOF
5304 cat confdefs.h >>conftest.$ac_ext
5305 cat >>conftest.$ac_ext <<_ACEOF
5306 /* end confdefs.h. */
5320 rm -f conftest.$ac_objext
5321 if { (ac_try="$ac_compile"
5323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5324 *) ac_try_echo=$ac_try;;
5326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5327 (eval "$ac_compile") 2>conftest.er1
5329 grep -v '^ *+' conftest.er1 >conftest.err
5331 cat conftest.err >&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); } && {
5334 test -z "$ac_c_werror_flag" ||
5335 test ! -s conftest.err
5336 } && test -s conftest.$ac_objext; then
5337 ac_cv_header_stdc=yes
5339 echo "$as_me: failed program was:" >&5
5340 sed 's/^/| /' conftest.$ac_ext >&5
5342 ac_cv_header_stdc=no
5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5347 if test $ac_cv_header_stdc = yes; then
5348 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5349 cat >conftest.$ac_ext <<_ACEOF
5352 cat confdefs.h >>conftest.$ac_ext
5353 cat >>conftest.$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5359 $EGREP "memchr" >/dev/null 2>&1; then
5362 ac_cv_header_stdc=no
5368 if test $ac_cv_header_stdc = yes; then
5369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5370 cat >conftest.$ac_ext <<_ACEOF
5373 cat confdefs.h >>conftest.$ac_ext
5374 cat >>conftest.$ac_ext <<_ACEOF
5375 /* end confdefs.h. */
5379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5380 $EGREP "free" >/dev/null 2>&1; then
5383 ac_cv_header_stdc=no
5389 if test $ac_cv_header_stdc = yes; then
5390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5391 if test "$cross_compiling" = yes; then
5394 cat >conftest.$ac_ext <<_ACEOF
5397 cat confdefs.h >>conftest.$ac_ext
5398 cat >>conftest.$ac_ext <<_ACEOF
5399 /* end confdefs.h. */
5402 #if ((' ' & 0x0FF) == 0x020)
5403 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5404 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5406 # define ISLOWER(c) \
5407 (('a' <= (c) && (c) <= 'i') \
5408 || ('j' <= (c) && (c) <= 'r') \
5409 || ('s' <= (c) && (c) <= 'z'))
5410 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5413 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5418 for (i = 0; i < 256; i++)
5419 if (XOR (islower (i), ISLOWER (i))
5420 || toupper (i) != TOUPPER (i))
5425 rm -f conftest$ac_exeext
5426 if { (ac_try="$ac_link"
5428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5429 *) ac_try_echo=$ac_try;;
5431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5432 (eval "$ac_link") 2>&5
5434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5436 { (case "(($ac_try" in
5437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5438 *) ac_try_echo=$ac_try;;
5440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5441 (eval "$ac_try") 2>&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; }; then
5447 echo "$as_me: program exited with status $ac_status" >&5
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.$ac_ext >&5
5452 ac_cv_header_stdc=no
5454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5460 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5461 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5462 if test $ac_cv_header_stdc = yes; then
5464 cat >>confdefs.h <<\_ACEOF
5465 #define STDC_HEADERS 1
5470 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5480 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5481 inttypes.h stdint.h unistd.h
5483 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5484 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 cat >conftest.$ac_ext <<_ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5495 $ac_includes_default
5497 #include <$ac_header>
5499 rm -f conftest.$ac_objext
5500 if { (ac_try="$ac_compile"
5502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5503 *) ac_try_echo=$ac_try;;
5505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5506 (eval "$ac_compile") 2>conftest.er1
5508 grep -v '^ *+' conftest.er1 >conftest.err
5510 cat conftest.err >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); } && {
5513 test -z "$ac_c_werror_flag" ||
5514 test ! -s conftest.err
5515 } && test -s conftest.$ac_objext; then
5516 eval "$as_ac_Header=yes"
5518 echo "$as_me: failed program was:" >&5
5519 sed 's/^/| /' conftest.$ac_ext >&5
5521 eval "$as_ac_Header=no"
5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5526 ac_res=`eval echo '${'$as_ac_Header'}'`
5527 { echo "$as_me:$LINENO: result: $ac_res" >&5
5528 echo "${ECHO_T}$ac_res" >&6; }
5529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5530 cat >>confdefs.h <<_ACEOF
5531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5540 for ac_header in dlfcn.h
5542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5543 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5544 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5547 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 ac_res=`eval echo '${'$as_ac_Header'}'`
5550 { echo "$as_me:$LINENO: result: $ac_res" >&5
5551 echo "${ECHO_T}$ac_res" >&6; }
5553 # Is the header compilable?
5554 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5555 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5556 cat >conftest.$ac_ext <<_ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5562 $ac_includes_default
5563 #include <$ac_header>
5565 rm -f conftest.$ac_objext
5566 if { (ac_try="$ac_compile"
5568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5569 *) ac_try_echo=$ac_try;;
5571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5572 (eval "$ac_compile") 2>conftest.er1
5574 grep -v '^ *+' conftest.er1 >conftest.err
5576 cat conftest.err >&5
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); } && {
5579 test -z "$ac_c_werror_flag" ||
5580 test ! -s conftest.err
5581 } && test -s conftest.$ac_objext; then
5582 ac_header_compiler=yes
5584 echo "$as_me: failed program was:" >&5
5585 sed 's/^/| /' conftest.$ac_ext >&5
5587 ac_header_compiler=no
5590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5591 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5592 echo "${ECHO_T}$ac_header_compiler" >&6; }
5594 # Is the header present?
5595 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5597 cat >conftest.$ac_ext <<_ACEOF
5600 cat confdefs.h >>conftest.$ac_ext
5601 cat >>conftest.$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5603 #include <$ac_header>
5605 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
5618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5619 test ! -s conftest.err
5621 ac_header_preproc=yes
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.$ac_ext >&5
5626 ac_header_preproc=no
5629 rm -f conftest.err conftest.$ac_ext
5630 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5631 echo "${ECHO_T}$ac_header_preproc" >&6; }
5633 # So? What about this header?
5634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5636 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5637 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5639 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5640 ac_header_preproc=yes
5643 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5645 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5646 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5647 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5648 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5649 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5650 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5653 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5654 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5656 ## ----------------------------------------------- ##
5657 ## Report this to webmaster.salome@opencascade.com ##
5658 ## ----------------------------------------------- ##
5660 ) | sed "s/^/$as_me: WARNING: /" >&2
5663 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5665 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 eval "$as_ac_Header=\$ac_header_preproc"
5670 ac_res=`eval echo '${'$as_ac_Header'}'`
5671 { echo "$as_me:$LINENO: result: $ac_res" >&5
5672 echo "${ECHO_T}$ac_res" >&6; }
5675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5676 cat >>confdefs.h <<_ACEOF
5677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5685 ac_cpp='$CXXCPP $CPPFLAGS'
5686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5689 if test -z "$CXX"; then
5690 if test -n "$CCC"; then
5693 if test -n "$ac_tool_prefix"; then
5694 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5696 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5700 if test "${ac_cv_prog_CXX+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 if test -n "$CXX"; then
5704 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5713 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 if test -n "$CXX"; then
5725 { echo "$as_me:$LINENO: result: $CXX" >&5
5726 echo "${ECHO_T}$CXX" >&6; }
5728 { echo "$as_me:$LINENO: result: no" >&5
5729 echo "${ECHO_T}no" >&6; }
5733 test -n "$CXX" && break
5736 if test -z "$CXX"; then
5738 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5740 # Extract the first word of "$ac_prog", so it can be a program name with args.
5741 set dummy $ac_prog; ac_word=$2
5742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5744 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5745 echo $ECHO_N "(cached) $ECHO_C" >&6
5747 if test -n "$ac_ct_CXX"; then
5748 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5757 ac_cv_prog_ac_ct_CXX="$ac_prog"
5758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5767 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5768 if test -n "$ac_ct_CXX"; then
5769 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5770 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5772 { echo "$as_me:$LINENO: result: no" >&5
5773 echo "${ECHO_T}no" >&6; }
5777 test -n "$ac_ct_CXX" && break
5780 if test "x$ac_ct_CXX" = x; then
5783 case $cross_compiling:$ac_tool_warned in
5785 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5786 whose name does not start with the host triplet. If you think this
5787 configuration is useful to you, please write to autoconf@gnu.org." >&5
5788 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5789 whose name does not start with the host triplet. If you think this
5790 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5791 ac_tool_warned=yes ;;
5799 # Provide some information about the compiler.
5800 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5801 ac_compiler=`set X $ac_compile; echo $2`
5802 { (ac_try="$ac_compiler --version >&5"
5804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5805 *) ac_try_echo=$ac_try;;
5807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5808 (eval "$ac_compiler --version >&5") 2>&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); }
5812 { (ac_try="$ac_compiler -v >&5"
5814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5815 *) ac_try_echo=$ac_try;;
5817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5818 (eval "$ac_compiler -v >&5") 2>&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); }
5822 { (ac_try="$ac_compiler -V >&5"
5824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5828 (eval "$ac_compiler -V >&5") 2>&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }
5833 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5834 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5835 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 cat >conftest.$ac_ext <<_ACEOF
5841 cat confdefs.h >>conftest.$ac_ext
5842 cat >>conftest.$ac_ext <<_ACEOF
5843 /* end confdefs.h. */
5856 rm -f conftest.$ac_objext
5857 if { (ac_try="$ac_compile"
5859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5860 *) ac_try_echo=$ac_try;;
5862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5863 (eval "$ac_compile") 2>conftest.er1
5865 grep -v '^ *+' conftest.er1 >conftest.err
5867 cat conftest.err >&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } && {
5870 test -z "$ac_cxx_werror_flag" ||
5871 test ! -s conftest.err
5872 } && test -s conftest.$ac_objext; then
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5882 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5885 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5886 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5887 GXX=`test $ac_compiler_gnu = yes && echo yes`
5888 ac_test_CXXFLAGS=${CXXFLAGS+set}
5889 ac_save_CXXFLAGS=$CXXFLAGS
5890 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5891 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5892 if test "${ac_cv_prog_cxx_g+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5896 ac_cxx_werror_flag=yes
5899 cat >conftest.$ac_ext <<_ACEOF
5902 cat confdefs.h >>conftest.$ac_ext
5903 cat >>conftest.$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5914 rm -f conftest.$ac_objext
5915 if { (ac_try="$ac_compile"
5917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5918 *) ac_try_echo=$ac_try;;
5920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5921 (eval "$ac_compile") 2>conftest.er1
5923 grep -v '^ *+' conftest.er1 >conftest.err
5925 cat conftest.err >&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } && {
5928 test -z "$ac_cxx_werror_flag" ||
5929 test ! -s conftest.err
5930 } && test -s conftest.$ac_objext; then
5931 ac_cv_prog_cxx_g=yes
5933 echo "$as_me: failed program was:" >&5
5934 sed 's/^/| /' conftest.$ac_ext >&5
5937 cat >conftest.$ac_ext <<_ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5952 rm -f conftest.$ac_objext
5953 if { (ac_try="$ac_compile"
5955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5956 *) ac_try_echo=$ac_try;;
5958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5959 (eval "$ac_compile") 2>conftest.er1
5961 grep -v '^ *+' conftest.er1 >conftest.err
5963 cat conftest.err >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } && {
5966 test -z "$ac_cxx_werror_flag" ||
5967 test ! -s conftest.err
5968 } && test -s conftest.$ac_objext; then
5971 echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.$ac_ext >&5
5974 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
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
6008 ac_cv_prog_cxx_g=yes
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6023 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6025 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6026 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6027 if test "$ac_test_CXXFLAGS" = set; then
6028 CXXFLAGS=$ac_save_CXXFLAGS
6029 elif test $ac_cv_prog_cxx_g = yes; then
6030 if test "$GXX" = yes; then
6036 if test "$GXX" = yes; then
6043 ac_cpp='$CXXCPP $CPPFLAGS'
6044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6048 depcc="$CXX" am_compiler_list=
6050 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6051 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6052 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6056 # We make a subdir and do the tests there. Otherwise we can end up
6057 # making bogus files that we don't know about and never remove. For
6058 # instance it was reported that on HP-UX the gcc test will end up
6059 # making a dummy file named `D' -- because `-MD' means `put the output
6062 # Copy depcomp to subdir because otherwise we won't find it if we're
6063 # using a relative directory.
6064 cp "$am_depcomp" conftest.dir
6066 # We will build objects and dependencies in a subdirectory because
6067 # it helps to detect inapplicable dependency modes. For instance
6068 # both Tru64's cc and ICC support -MD to output dependencies as a
6069 # side effect of compilation, but ICC will put the dependencies in
6070 # the current directory while Tru64 will put them in the object
6074 am_cv_CXX_dependencies_compiler_type=none
6075 if test "$am_compiler_list" = ""; then
6076 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6078 for depmode in $am_compiler_list; do
6079 # Setup a source with many dependencies, because some compilers
6080 # like to wrap large dependency lists on column 80 (with \), and
6081 # we should not choose a depcomp mode which is confused by this.
6083 # We need to recreate these files for each test, as the compiler may
6084 # overwrite some of them when testing with obscure command lines.
6085 # This happens at least with the AIX C compiler.
6087 for i in 1 2 3 4 5 6; do
6088 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6089 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6090 # Solaris 8's {/usr,}/bin/bash.
6091 touch sub/conftst$i.h
6093 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6097 # after this tag, mechanisms are not by side-effect, so they'll
6098 # only be used when explicitly requested
6099 if test "x$enable_dependency_tracking" = xyes; then
6107 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6108 # mode. It turns out that the SunPro C++ compiler does not properly
6109 # handle `-M -o', and we need to detect this.
6110 if depmode=$depmode \
6111 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6112 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6113 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6114 >/dev/null 2>conftest.err &&
6115 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6116 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6117 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6118 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6119 # icc doesn't choke on unknown options, it will just issue warnings
6120 # or remarks (even with -Werror). So we grep stderr for any message
6121 # that says an option was ignored or not supported.
6122 # When given -MP, icc 7.0 and 7.1 complain thusly:
6123 # icc: Command line warning: ignoring option '-M'; no argument required
6124 # The diagnosis changed in icc 8.0:
6125 # icc: Command line remark: option '-MP' not supported
6126 if (grep 'ignoring option' conftest.err ||
6127 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6128 am_cv_CXX_dependencies_compiler_type=$depmode
6137 am_cv_CXX_dependencies_compiler_type=none
6141 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6142 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6143 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6146 test "x$enable_dependency_tracking" != xno \
6147 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6148 am__fastdepCXX_TRUE=
6149 am__fastdepCXX_FALSE='#'
6151 am__fastdepCXX_TRUE='#'
6152 am__fastdepCXX_FALSE=
6158 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6159 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6160 (test "X$CXX" != "Xg++"))) ; then
6162 ac_cpp='$CXXCPP $CPPFLAGS'
6163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6166 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6167 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6168 if test -z "$CXXCPP"; then
6169 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 # Double quotes because CXXCPP needs to be expanded
6173 for CXXCPP in "$CXX -E" "/lib/cpp"
6176 for ac_cxx_preproc_warn_flag in '' yes
6178 # Use a header file that comes with gcc, so configuring glibc
6179 # with a fresh cross-compiler works.
6180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6181 # <limits.h> exists even on freestanding compilers.
6182 # On the NeXT, cc -E runs the code through the compiler's parser,
6183 # not just through cpp. "Syntax error" is here to catch this case.
6184 cat >conftest.$ac_ext <<_ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6191 # include <limits.h>
6193 # include <assert.h>
6197 if { (ac_try="$ac_cpp conftest.$ac_ext"
6199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6200 *) ac_try_echo=$ac_try;;
6202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6203 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6205 grep -v '^ *+' conftest.er1 >conftest.err
6207 cat conftest.err >&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } >/dev/null && {
6210 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6211 test ! -s conftest.err
6215 echo "$as_me: failed program was:" >&5
6216 sed 's/^/| /' conftest.$ac_ext >&5
6218 # Broken: fails on valid input.
6222 rm -f conftest.err conftest.$ac_ext
6224 # OK, works on sane cases. Now check whether nonexistent headers
6225 # can be detected and how.
6226 cat >conftest.$ac_ext <<_ACEOF
6229 cat confdefs.h >>conftest.$ac_ext
6230 cat >>conftest.$ac_ext <<_ACEOF
6231 /* end confdefs.h. */
6232 #include <ac_nonexistent.h>
6234 if { (ac_try="$ac_cpp conftest.$ac_ext"
6236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6237 *) ac_try_echo=$ac_try;;
6239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6242 grep -v '^ *+' conftest.er1 >conftest.err
6244 cat conftest.err >&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); } >/dev/null && {
6247 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6248 test ! -s conftest.err
6250 # Broken: success on invalid input.
6253 echo "$as_me: failed program was:" >&5
6254 sed 's/^/| /' conftest.$ac_ext >&5
6256 # Passes both tests.
6261 rm -f conftest.err conftest.$ac_ext
6264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6265 rm -f conftest.err conftest.$ac_ext
6266 if $ac_preproc_ok; then
6271 ac_cv_prog_CXXCPP=$CXXCPP
6274 CXXCPP=$ac_cv_prog_CXXCPP
6276 ac_cv_prog_CXXCPP=$CXXCPP
6278 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6279 echo "${ECHO_T}$CXXCPP" >&6; }
6281 for ac_cxx_preproc_warn_flag in '' yes
6283 # Use a header file that comes with gcc, so configuring glibc
6284 # with a fresh cross-compiler works.
6285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6286 # <limits.h> exists even on freestanding compilers.
6287 # On the NeXT, cc -E runs the code through the compiler's parser,
6288 # not just through cpp. "Syntax error" is here to catch this case.
6289 cat >conftest.$ac_ext <<_ACEOF
6292 cat confdefs.h >>conftest.$ac_ext
6293 cat >>conftest.$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6296 # include <limits.h>
6298 # include <assert.h>
6302 if { (ac_try="$ac_cpp conftest.$ac_ext"
6304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6305 *) ac_try_echo=$ac_try;;
6307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6308 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6310 grep -v '^ *+' conftest.er1 >conftest.err
6312 cat conftest.err >&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } >/dev/null && {
6315 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6316 test ! -s conftest.err
6320 echo "$as_me: failed program was:" >&5
6321 sed 's/^/| /' conftest.$ac_ext >&5
6323 # Broken: fails on valid input.
6327 rm -f conftest.err conftest.$ac_ext
6329 # OK, works on sane cases. Now check whether nonexistent headers
6330 # can be detected and how.
6331 cat >conftest.$ac_ext <<_ACEOF
6334 cat confdefs.h >>conftest.$ac_ext
6335 cat >>conftest.$ac_ext <<_ACEOF
6336 /* end confdefs.h. */
6337 #include <ac_nonexistent.h>
6339 if { (ac_try="$ac_cpp conftest.$ac_ext"
6341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6342 *) ac_try_echo=$ac_try;;
6344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6347 grep -v '^ *+' conftest.er1 >conftest.err
6349 cat conftest.err >&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } >/dev/null && {
6352 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6353 test ! -s conftest.err
6355 # Broken: success on invalid input.
6358 echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.$ac_ext >&5
6361 # Passes both tests.
6366 rm -f conftest.err conftest.$ac_ext
6369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6370 rm -f conftest.err conftest.$ac_ext
6371 if $ac_preproc_ok; then
6374 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6375 See \`config.log' for more details." >&5
6376 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6377 See \`config.log' for more details." >&2;}
6378 { (exit 1); exit 1; }; }
6382 ac_cpp='$CXXCPP $CPPFLAGS'
6383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6391 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6392 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6393 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6394 if test -n "$ac_tool_prefix"; then
6395 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
6397 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6401 if test "${ac_cv_prog_F77+set}" = set; then
6402 echo $ECHO_N "(cached) $ECHO_C" >&6
6404 if test -n "$F77"; then
6405 ac_cv_prog_F77="$F77" # Let the user override the test.
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir=.
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6414 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 if test -n "$F77"; then
6426 { echo "$as_me:$LINENO: result: $F77" >&5
6427 echo "${ECHO_T}$F77" >&6; }
6429 { echo "$as_me:$LINENO: result: no" >&5
6430 echo "${ECHO_T}no" >&6; }
6434 test -n "$F77" && break
6437 if test -z "$F77"; then
6439 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
6441 # Extract the first word of "$ac_prog", so it can be a program name with args.
6442 set dummy $ac_prog; ac_word=$2
6443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6445 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 if test -n "$ac_ct_F77"; then
6449 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6458 ac_cv_prog_ac_ct_F77="$ac_prog"
6459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 ac_ct_F77=$ac_cv_prog_ac_ct_F77
6469 if test -n "$ac_ct_F77"; then
6470 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6471 echo "${ECHO_T}$ac_ct_F77" >&6; }
6473 { echo "$as_me:$LINENO: result: no" >&5
6474 echo "${ECHO_T}no" >&6; }
6478 test -n "$ac_ct_F77" && break
6481 if test "x$ac_ct_F77" = x; then
6484 case $cross_compiling:$ac_tool_warned in
6486 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6487 whose name does not start with the host triplet. If you think this
6488 configuration is useful to you, please write to autoconf@gnu.org." >&5
6489 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6490 whose name does not start with the host triplet. If you think this
6491 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6492 ac_tool_warned=yes ;;
6499 # Provide some information about the compiler.
6500 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6501 ac_compiler=`set X $ac_compile; echo $2`
6502 { (ac_try="$ac_compiler --version >&5"
6504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6505 *) ac_try_echo=$ac_try;;
6507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6508 (eval "$ac_compiler --version >&5") 2>&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); }
6512 { (ac_try="$ac_compiler -v >&5"
6514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6515 *) ac_try_echo=$ac_try;;
6517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6518 (eval "$ac_compiler -v >&5") 2>&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }
6522 { (ac_try="$ac_compiler -V >&5"
6524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6525 *) ac_try_echo=$ac_try;;
6527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528 (eval "$ac_compiler -V >&5") 2>&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }
6534 # If we don't use `.F' as extension, the preprocessor is not run on the
6535 # input file. (Note that this only needs to work for GNU compilers.)
6538 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6539 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6540 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 cat >conftest.$ac_ext <<_ACEOF
6551 rm -f conftest.$ac_objext
6552 if { (ac_try="$ac_compile"
6554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6555 *) ac_try_echo=$ac_try;;
6557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6558 (eval "$ac_compile") 2>conftest.er1
6560 grep -v '^ *+' conftest.er1 >conftest.err
6562 cat conftest.err >&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } && {
6565 test -z "$ac_f77_werror_flag" ||
6566 test ! -s conftest.err
6567 } && test -s conftest.$ac_objext; then
6570 echo "$as_me: failed program was:" >&5
6571 sed 's/^/| /' conftest.$ac_ext >&5
6576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6577 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6580 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6581 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6583 ac_test_FFLAGS=${FFLAGS+set}
6584 ac_save_FFLAGS=$FFLAGS
6586 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6587 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6588 if test "${ac_cv_prog_f77_g+set}" = set; then
6589 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 cat >conftest.$ac_ext <<_ACEOF
6597 rm -f conftest.$ac_objext
6598 if { (ac_try="$ac_compile"
6600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6601 *) ac_try_echo=$ac_try;;
6603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6604 (eval "$ac_compile") 2>conftest.er1
6606 grep -v '^ *+' conftest.er1 >conftest.err
6608 cat conftest.err >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } && {
6611 test -z "$ac_f77_werror_flag" ||
6612 test ! -s conftest.err
6613 } && test -s conftest.$ac_objext; then
6614 ac_cv_prog_f77_g=yes
6616 echo "$as_me: failed program was:" >&5
6617 sed 's/^/| /' conftest.$ac_ext >&5
6622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6625 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6626 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6627 if test "$ac_test_FFLAGS" = set; then
6628 FFLAGS=$ac_save_FFLAGS
6629 elif test $ac_cv_prog_f77_g = yes; then
6630 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6636 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6643 G77=`test $ac_compiler_gnu = yes && echo yes`
6645 ac_cpp='$CPP $CPPFLAGS'
6646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6652 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6654 # find the maximum length of command line arguments
6655 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6656 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6657 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6658 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 # On DJGPP, this test can blow up pretty badly due to problems in libc
6666 # (any single argument exceeding 2000 bytes causes a buffer overrun
6667 # during glob expansion). Even if it were fixed, the result of this
6668 # check would be larger than it should be.
6669 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6673 # Under GNU Hurd, this test is not required because there is
6674 # no limit to the length of command line arguments.
6675 # Libtool will interpret -1 as no limit whatsoever
6676 lt_cv_sys_max_cmd_len=-1;
6680 # On Win9x/ME, this test blows up -- it succeeds, but takes
6681 # about 5 minutes as the teststring grows exponentially.
6682 # Worse, since 9x/ME are not pre-emptively multitasking,
6683 # you end up with a "frozen" computer, even though with patience
6684 # the test eventually succeeds (with a max line length of 256k).
6685 # Instead, let's just punt: use the minimum linelength reported by
6686 # all of the supported platforms: 8192 (on NT/2K/XP).
6687 lt_cv_sys_max_cmd_len=8192;
6691 # On AmigaOS with pdksh, this test takes hours, literally.
6692 # So we just punt and use a minimum line length of 8192.
6693 lt_cv_sys_max_cmd_len=8192;
6696 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6697 # This has been around since 386BSD, at least. Likely further.
6698 if test -x /sbin/sysctl; then
6699 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6700 elif test -x /usr/sbin/sysctl; then
6701 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6703 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6705 # And add a safety zone
6706 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6707 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6711 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6712 lt_cv_sys_max_cmd_len=196608
6716 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6717 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6718 # nice to cause kernel panics so lets avoid the loop below.
6719 # First set a reasonable default.
6720 lt_cv_sys_max_cmd_len=16384
6722 if test -x /sbin/sysconfig; then
6723 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6724 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6729 lt_cv_sys_max_cmd_len=102400
6731 sysv5* | sco5v6* | sysv4.2uw2*)
6732 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6733 if test -n "$kargmax"; then
6734 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6736 lt_cv_sys_max_cmd_len=32768
6740 # If test is not a shell built-in, we'll probably end up computing a
6741 # maximum length that is only half of the actual maximum length, but
6743 SHELL=${SHELL-${CONFIG_SHELL-/bin/bash}}
6744 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6745 = "XX$teststring") >/dev/null 2>&1 &&
6746 new_result=`expr "X$teststring" : ".*" 2>&1` &&
6747 lt_cv_sys_max_cmd_len=$new_result &&
6748 test $i != 17 # 1/2 MB should be enough
6751 teststring=$teststring$teststring
6754 # Add a significant safety factor because C++ compilers can tack on massive
6755 # amounts of additional arguments before passing them to the linker.
6756 # It appears as though 1/2 is a usable value.
6757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6763 if test -n $lt_cv_sys_max_cmd_len ; then
6764 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6765 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6767 { echo "$as_me:$LINENO: result: none" >&5
6768 echo "${ECHO_T}none" >&6; }
6774 # Check for command to grab the raw symbol name followed by C symbol from nm.
6775 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6776 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6777 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6781 # These are sane defaults that work on at least a few old systems.
6782 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6784 # Character class describing NM global symbol codes.
6785 symcode='[BCDEGRST]'
6787 # Regexp to match symbols that can be accessed directly from C.
6788 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6790 # Transform an extracted symbol line into a proper C declaration
6791 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6793 # Transform an extracted symbol line into symbol name and symbol address
6794 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'"
6796 # Define system-specific variables.
6801 cygwin* | mingw* | pw32*)
6802 symcode='[ABCDGISTW]'
6804 hpux*) # Its linker distinguishes data from code symbols
6805 if test "$host_cpu" = ia64; then
6806 symcode='[ABCDEGRST]'
6808 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6809 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'"
6812 if test "$host_cpu" = ia64; then
6813 symcode='[ABCDGIRSTW]'
6814 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6815 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'"
6819 symcode='[BCDEGRST]'
6822 symcode='[BCDEGQRST]'
6833 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6841 # Handle CRLF in mingw tool chain
6845 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6849 # If we're using GNU nm, then use its standard symbol codes.
6850 case `$NM -V 2>&1` in
6851 *GNU* | *'with BFD'*)
6852 symcode='[ABCDGIRSTW]' ;;
6855 # Try without a prefix undercore, then with it.
6856 for ac_symprfx in "" "_"; do
6858 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6859 symxfrm="\\1 $ac_symprfx\\2 \\2"
6861 # Write the raw and C identifiers.
6862 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6864 # Check to see that the pipe works correctly.
6868 cat > conftest.$ac_ext <<EOF
6873 void nm_test_func(){}
6877 int main(){nm_test_var='a';nm_test_func();return(0);}
6880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6881 (eval $ac_compile) 2>&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); }; then
6885 # Now try to grab the symbols.
6887 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6888 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); } && test -s "$nlist"; then
6892 # Try sorting and uniquifying the output.
6893 if sort "$nlist" | uniq > "$nlist"T; then
6894 mv -f "$nlist"T "$nlist"
6899 # Make sure that we snagged all the symbols we need.
6900 if grep ' nm_test_var$' "$nlist" >/dev/null; then
6901 if grep ' nm_test_func$' "$nlist" >/dev/null; then
6902 cat <<EOF > conftest.$ac_ext
6908 # Now generate the symbol file.
6909 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6911 cat <<EOF >> conftest.$ac_ext
6912 #if defined (__STDC__) && __STDC__
6913 # define lt_ptr_t void *
6915 # define lt_ptr_t char *
6919 /* The mapping between symbol names and symbols. */
6924 lt_preloaded_symbols[] =
6927 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6928 cat <<\EOF >> conftest.$ac_ext
6936 # Now try linking the two files.
6937 mv conftest.$ac_objext conftstm.$ac_objext
6938 lt_save_LIBS="$LIBS"
6939 lt_save_CFLAGS="$CFLAGS"
6940 LIBS="conftstm.$ac_objext"
6941 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6943 (eval $ac_link) 2>&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6949 LIBS="$lt_save_LIBS"
6950 CFLAGS="$lt_save_CFLAGS"
6952 echo "cannot find nm_test_func in $nlist" >&5
6955 echo "cannot find nm_test_var in $nlist" >&5
6958 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6961 echo "$progname: failed program was:" >&5
6962 cat conftest.$ac_ext >&5
6964 rm -f conftest* conftst*
6966 # Do not use the global_symbol_pipe unless it works.
6967 if test "$pipe_works" = yes; then
6970 lt_cv_sys_global_symbol_pipe=
6976 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6977 lt_cv_sys_global_symbol_to_cdecl=
6979 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6980 { echo "$as_me:$LINENO: result: failed" >&5
6981 echo "${ECHO_T}failed" >&6; }
6983 { echo "$as_me:$LINENO: result: ok" >&5
6984 echo "${ECHO_T}ok" >&6; }
6987 { echo "$as_me:$LINENO: checking for objdir" >&5
6988 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6989 if test "${lt_cv_objdir+set}" = set; then
6990 echo $ECHO_N "(cached) $ECHO_C" >&6
6992 rm -f .libs 2>/dev/null
6993 mkdir .libs 2>/dev/null
6994 if test -d .libs; then
6997 # MS-DOS does not allow filenames that begin with a dot.
7000 rmdir .libs 2>/dev/null
7002 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7003 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7004 objdir=$lt_cv_objdir
7012 # AIX sometimes has problems with the GCC collect2 program. For some
7013 # reason, if we set the COLLECT_NAMES environment variable, the problems
7014 # vanish in a puff of smoke.
7015 if test "X${COLLECT_NAMES+set}" != Xset; then
7017 export COLLECT_NAMES
7022 # Sed substitution that helps us do robust quoting. It backslashifies
7023 # metacharacters that are still active within double-quoted strings.
7024 Xsed='sed -e 1s/^X//'
7025 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7027 # Same as above, but do not quote variable references.
7028 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7030 # Sed substitution to delay expansion of an escaped shell variable in a
7031 # double_quote_subst'ed string.
7032 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7034 # Sed substitution to avoid accidental globbing in evaled expressions
7035 no_glob_subst='s/\*/\\\*/g'
7041 default_ofile=libtool
7042 can_build_shared=yes
7044 # All known linkers require a `.a' archive for static linking (except MSVC,
7045 # which needs '.lib').
7047 ltmain="$ac_aux_dir/ltmain.sh"
7048 ofile="$default_ofile"
7049 with_gnu_ld="$lt_cv_prog_gnu_ld"
7051 if test -n "$ac_tool_prefix"; then
7052 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7053 set dummy ${ac_tool_prefix}ar; ac_word=$2
7054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7056 if test "${ac_cv_prog_AR+set}" = set; then
7057 echo $ECHO_N "(cached) $ECHO_C" >&6
7059 if test -n "$AR"; then
7060 ac_cv_prog_AR="$AR" # Let the user override the test.
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 test -z "$as_dir" && as_dir=.
7067 for ac_exec_ext in '' $ac_executable_extensions; do
7068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7069 ac_cv_prog_AR="${ac_tool_prefix}ar"
7070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7080 if test -n "$AR"; then
7081 { echo "$as_me:$LINENO: result: $AR" >&5
7082 echo "${ECHO_T}$AR" >&6; }
7084 { echo "$as_me:$LINENO: result: no" >&5
7085 echo "${ECHO_T}no" >&6; }
7090 if test -z "$ac_cv_prog_AR"; then
7092 # Extract the first word of "ar", so it can be a program name with args.
7093 set dummy ar; ac_word=$2
7094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7096 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7097 echo $ECHO_N "(cached) $ECHO_C" >&6
7099 if test -n "$ac_ct_AR"; then
7100 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106 test -z "$as_dir" && as_dir=.
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7109 ac_cv_prog_ac_ct_AR="ar"
7110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7120 if test -n "$ac_ct_AR"; then
7121 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7122 echo "${ECHO_T}$ac_ct_AR" >&6; }
7124 { echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6; }
7128 if test "x$ac_ct_AR" = x; then
7131 case $cross_compiling:$ac_tool_warned in
7133 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7134 whose name does not start with the host triplet. If you think this
7135 configuration is useful to you, please write to autoconf@gnu.org." >&5
7136 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7137 whose name does not start with the host triplet. If you think this
7138 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7139 ac_tool_warned=yes ;;
7147 if test -n "$ac_tool_prefix"; then
7148 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7149 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7152 if test "${ac_cv_prog_RANLIB+set}" = set; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 if test -n "$RANLIB"; then
7156 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7175 RANLIB=$ac_cv_prog_RANLIB
7176 if test -n "$RANLIB"; then
7177 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7178 echo "${ECHO_T}$RANLIB" >&6; }
7180 { echo "$as_me:$LINENO: result: no" >&5
7181 echo "${ECHO_T}no" >&6; }
7186 if test -z "$ac_cv_prog_RANLIB"; then
7187 ac_ct_RANLIB=$RANLIB
7188 # Extract the first word of "ranlib", so it can be a program name with args.
7189 set dummy ranlib; ac_word=$2
7190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7192 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 if test -n "$ac_ct_RANLIB"; then
7196 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_ac_ct_RANLIB="ranlib"
7206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7216 if test -n "$ac_ct_RANLIB"; then
7217 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7218 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7220 { echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6; }
7224 if test "x$ac_ct_RANLIB" = x; then
7227 case $cross_compiling:$ac_tool_warned in
7229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7230 whose name does not start with the host triplet. If you think this
7231 configuration is useful to you, please write to autoconf@gnu.org." >&5
7232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7233 whose name does not start with the host triplet. If you think this
7234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7235 ac_tool_warned=yes ;;
7237 RANLIB=$ac_ct_RANLIB
7240 RANLIB="$ac_cv_prog_RANLIB"
7243 if test -n "$ac_tool_prefix"; then
7244 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7245 set dummy ${ac_tool_prefix}strip; ac_word=$2
7246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7248 if test "${ac_cv_prog_STRIP+set}" = set; then
7249 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 if test -n "$STRIP"; then
7252 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7261 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7271 STRIP=$ac_cv_prog_STRIP
7272 if test -n "$STRIP"; then
7273 { echo "$as_me:$LINENO: result: $STRIP" >&5
7274 echo "${ECHO_T}$STRIP" >&6; }
7276 { echo "$as_me:$LINENO: result: no" >&5
7277 echo "${ECHO_T}no" >&6; }
7282 if test -z "$ac_cv_prog_STRIP"; then
7284 # Extract the first word of "strip", so it can be a program name with args.
7285 set dummy strip; ac_word=$2
7286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7288 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7291 if test -n "$ac_ct_STRIP"; then
7292 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7301 ac_cv_prog_ac_ct_STRIP="strip"
7302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7311 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7312 if test -n "$ac_ct_STRIP"; then
7313 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7314 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7316 { echo "$as_me:$LINENO: result: no" >&5
7317 echo "${ECHO_T}no" >&6; }
7320 if test "x$ac_ct_STRIP" = x; then
7323 case $cross_compiling:$ac_tool_warned in
7325 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7326 whose name does not start with the host triplet. If you think this
7327 configuration is useful to you, please write to autoconf@gnu.org." >&5
7328 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7329 whose name does not start with the host triplet. If you think this
7330 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7331 ac_tool_warned=yes ;;
7336 STRIP="$ac_cv_prog_STRIP"
7341 old_CFLAGS="$CFLAGS"
7343 # Set sane defaults for various variables
7344 test -z "$AR" && AR=ar
7345 test -z "$AR_FLAGS" && AR_FLAGS=cru
7346 test -z "$AS" && AS=as
7347 test -z "$CC" && CC=cc
7348 test -z "$LTCC" && LTCC=$CC
7349 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7350 test -z "$DLLTOOL" && DLLTOOL=dlltool
7351 test -z "$LD" && LD=ld
7352 test -z "$LN_S" && LN_S="ln -s"
7353 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7354 test -z "$NM" && NM=nm
7355 test -z "$SED" && SED=sed
7356 test -z "$OBJDUMP" && OBJDUMP=objdump
7357 test -z "$RANLIB" && RANLIB=:
7358 test -z "$STRIP" && STRIP=:
7359 test -z "$ac_objext" && ac_objext=o
7361 # Determine commands to create old-style static archives.
7362 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7363 old_postinstall_cmds='chmod 644 $oldlib'
7364 old_postuninstall_cmds=
7366 if test -n "$RANLIB"; then
7369 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7372 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7375 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7378 for cc_temp in $compiler""; do
7380 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7381 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7386 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7389 # Only perform the check for file, if the check method requires it
7390 case $deplibs_check_method in
7392 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7393 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7394 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7395 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7396 echo $ECHO_N "(cached) $ECHO_C" >&6
7400 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7403 lt_save_MAGIC_CMD="$MAGIC_CMD"
7404 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7405 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7406 for ac_dir in $ac_dummy; do
7408 test -z "$ac_dir" && ac_dir=.
7409 if test -f $ac_dir/${ac_tool_prefix}file; then
7410 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7411 if test -n "$file_magic_test_file"; then
7412 case $deplibs_check_method in
7414 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7415 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7416 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7417 $EGREP "$file_magic_regex" > /dev/null; then
7422 *** Warning: the command libtool uses to detect shared libraries,
7423 *** $file_magic_cmd, produces output that libtool cannot recognize.
7424 *** The result is that libtool may fail to recognize shared libraries
7425 *** as such. This will affect the creation of libtool libraries that
7426 *** depend on shared libraries, but programs linked with such libtool
7427 *** libraries will work regardless of this problem. Nevertheless, you
7428 *** may want to report the problem to your system manager and/or to
7429 *** bug-libtool@gnu.org
7439 MAGIC_CMD="$lt_save_MAGIC_CMD"
7444 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7445 if test -n "$MAGIC_CMD"; then
7446 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7447 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7449 { echo "$as_me:$LINENO: result: no" >&5
7450 echo "${ECHO_T}no" >&6; }
7453 if test -z "$lt_cv_path_MAGIC_CMD"; then
7454 if test -n "$ac_tool_prefix"; then
7455 { echo "$as_me:$LINENO: checking for file" >&5
7456 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7457 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7458 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7465 lt_save_MAGIC_CMD="$MAGIC_CMD"
7466 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7467 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7468 for ac_dir in $ac_dummy; do
7470 test -z "$ac_dir" && ac_dir=.
7471 if test -f $ac_dir/file; then
7472 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7473 if test -n "$file_magic_test_file"; then
7474 case $deplibs_check_method in
7476 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7477 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7478 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7479 $EGREP "$file_magic_regex" > /dev/null; then
7484 *** Warning: the command libtool uses to detect shared libraries,
7485 *** $file_magic_cmd, produces output that libtool cannot recognize.
7486 *** The result is that libtool may fail to recognize shared libraries
7487 *** as such. This will affect the creation of libtool libraries that
7488 *** depend on shared libraries, but programs linked with such libtool
7489 *** libraries will work regardless of this problem. Nevertheless, you
7490 *** may want to report the problem to your system manager and/or to
7491 *** bug-libtool@gnu.org
7501 MAGIC_CMD="$lt_save_MAGIC_CMD"
7506 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7507 if test -n "$MAGIC_CMD"; then
7508 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7509 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7511 { echo "$as_me:$LINENO: result: no" >&5
7512 echo "${ECHO_T}no" >&6; }
7527 # Check whether --enable-libtool-lock was given.
7528 if test "${enable_libtool_lock+set}" = set; then
7529 enableval=$enable_libtool_lock;
7532 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7535 # Check whether --with-pic was given.
7536 if test "${with_pic+set}" = set; then
7537 withval=$with_pic; pic_mode="$withval"
7542 test -z "$pic_mode" && pic_mode=default
7544 # Use C for the default configuration in the libtool script
7548 ac_cpp='$CPP $CPPFLAGS'
7549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7554 # Source file extension for C test sources.
7557 # Object file extension for compiled C test sources.
7561 # Code to be used in simple compile tests
7562 lt_simple_compile_test_code="int some_variable = 0;\n"
7564 # Code to be used in simple link tests
7565 lt_simple_link_test_code='int main(){return(0);}\n'
7568 # If no C compiler was specified, use CC.
7571 # If no C compiler flags were specified, use CFLAGS.
7572 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7574 # Allow CC to be a program name with arguments.
7578 # save warnings/boilerplate of simple test code
7579 ac_outfile=conftest.$ac_objext
7580 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7581 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7582 _lt_compiler_boilerplate=`cat conftest.err`
7585 ac_outfile=conftest.$ac_objext
7586 printf "$lt_simple_link_test_code" >conftest.$ac_ext
7587 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7588 _lt_linker_boilerplate=`cat conftest.err`
7593 lt_prog_compiler_no_builtin_flag=
7595 if test "$GCC" = yes; then
7596 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7599 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7600 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7601 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7602 echo $ECHO_N "(cached) $ECHO_C" >&6
7604 lt_cv_prog_compiler_rtti_exceptions=no
7605 ac_outfile=conftest.$ac_objext
7606 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7607 lt_compiler_flag="-fno-rtti -fno-exceptions"
7608 # Insert the option either (1) after the last *FLAGS variable, or
7609 # (2) before a word containing "conftest.", or (3) at the end.
7610 # Note that $ac_compile itself does not contain backslashes and begins
7611 # with a dollar sign (not a hyphen), so the echo should work correctly.
7612 # The option is referenced via a variable to avoid confusing sed.
7613 lt_compile=`echo "$ac_compile" | $SED \
7614 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7615 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7616 -e 's:$: $lt_compiler_flag:'`
7617 (eval echo "\"\$as_me:7617: $lt_compile\"" >&5)
7618 (eval "$lt_compile" 2>conftest.err)
7620 cat conftest.err >&5
7621 echo "$as_me:7621: \$? = $ac_status" >&5
7622 if (exit $ac_status) && test -s "$ac_outfile"; then
7623 # The compiler can only warn and ignore the option if not recognized
7624 # So say no if there are warnings other than the usual output.
7625 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7626 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7627 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7628 lt_cv_prog_compiler_rtti_exceptions=yes
7634 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7635 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7637 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7638 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7645 lt_prog_compiler_wl=
7646 lt_prog_compiler_pic=
7647 lt_prog_compiler_static=
7649 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7650 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7652 if test "$GCC" = yes; then
7653 lt_prog_compiler_wl='-Wl,'
7654 lt_prog_compiler_static='-static'
7658 # All AIX code is PIC.
7659 if test "$host_cpu" = ia64; then
7660 # AIX 5 now supports IA64 processor
7661 lt_prog_compiler_static='-Bstatic'
7666 # FIXME: we need at least 68020 code to build shared libraries, but
7667 # adding the `-m68020' flag to GCC prevents building anything better,
7669 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7672 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7673 # PIC is the default for these OSes.
7676 mingw* | pw32* | os2*)
7677 # This hack is so that the source file can tell whether it is being
7678 # built for inclusion in a dll (and should export symbols for example).
7679 lt_prog_compiler_pic='-DDLL_EXPORT'
7682 darwin* | rhapsody*)
7683 # PIC is the default on this platform
7684 # Common symbols not allowed in MH_DYLIB files
7685 lt_prog_compiler_pic='-fno-common'
7689 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7690 # Instead, we relocate shared libraries at runtime.
7694 # Just because we use GCC doesn't mean we suddenly get shared libraries
7695 # on systems that don't support them.
7696 lt_prog_compiler_can_build_shared=no
7701 if test -d /usr/nec; then
7702 lt_prog_compiler_pic=-Kconform_pic
7707 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7714 lt_prog_compiler_pic='-fPIC'
7720 lt_prog_compiler_pic='-fPIC'
7724 # PORTME Check for flag to pass linker flags through the system compiler.
7727 lt_prog_compiler_wl='-Wl,'
7728 if test "$host_cpu" = ia64; then
7729 # AIX 5 now supports IA64 processor
7730 lt_prog_compiler_static='-Bstatic'
7732 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7736 # PIC is the default on this platform
7737 # Common symbols not allowed in MH_DYLIB files
7738 case $cc_basename in
7740 lt_prog_compiler_pic='-qnocommon'
7741 lt_prog_compiler_wl='-Wl,'
7746 mingw* | pw32* | os2*)
7747 # This hack is so that the source file can tell whether it is being
7748 # built for inclusion in a dll (and should export symbols for example).
7749 lt_prog_compiler_pic='-DDLL_EXPORT'
7752 hpux9* | hpux10* | hpux11*)
7753 lt_prog_compiler_wl='-Wl,'
7754 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7761 lt_prog_compiler_pic='+Z'
7764 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7765 lt_prog_compiler_static='${wl}-a ${wl}archive'
7768 irix5* | irix6* | nonstopux*)
7769 lt_prog_compiler_wl='-Wl,'
7770 # PIC (with -KPIC) is the default.
7771 lt_prog_compiler_static='-non_shared'
7775 lt_prog_compiler_pic='-KPIC'
7776 lt_prog_compiler_static='-Bstatic'
7780 case $cc_basename in
7782 lt_prog_compiler_wl='-Wl,'
7783 lt_prog_compiler_pic='-KPIC'
7784 lt_prog_compiler_static='-static'
7786 pgcc* | pgf77* | pgf90* | pgf95*)
7787 # Portland Group compilers (*not* the Pentium gcc compiler,
7788 # which looks to be a dead project)
7789 lt_prog_compiler_wl='-Wl,'
7790 lt_prog_compiler_pic='-fpic'
7791 lt_prog_compiler_static='-Bstatic'
7794 lt_prog_compiler_wl='-Wl,'
7795 # All Alpha code is PIC.
7796 lt_prog_compiler_static='-non_shared'
7801 osf3* | osf4* | osf5*)
7802 lt_prog_compiler_wl='-Wl,'
7803 # All OSF/1 code is PIC.
7804 lt_prog_compiler_static='-non_shared'
7808 lt_prog_compiler_pic='-KPIC'
7809 lt_prog_compiler_static='-Bstatic'
7810 case $cc_basename in
7812 lt_prog_compiler_wl='-Qoption ld ';;
7814 lt_prog_compiler_wl='-Wl,';;
7819 lt_prog_compiler_wl='-Qoption ld '
7820 lt_prog_compiler_pic='-PIC'
7821 lt_prog_compiler_static='-Bstatic'
7824 sysv4 | sysv4.2uw2* | sysv4.3*)
7825 lt_prog_compiler_wl='-Wl,'
7826 lt_prog_compiler_pic='-KPIC'
7827 lt_prog_compiler_static='-Bstatic'
7831 if test -d /usr/nec ;then
7832 lt_prog_compiler_pic='-Kconform_pic'
7833 lt_prog_compiler_static='-Bstatic'
7837 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7838 lt_prog_compiler_wl='-Wl,'
7839 lt_prog_compiler_pic='-KPIC'
7840 lt_prog_compiler_static='-Bstatic'
7844 lt_prog_compiler_wl='-Wl,'
7845 lt_prog_compiler_can_build_shared=no
7849 lt_prog_compiler_pic='-pic'
7850 lt_prog_compiler_static='-Bstatic'
7854 lt_prog_compiler_can_build_shared=no
7859 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7860 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7863 # Check to make sure the PIC flag actually works.
7865 if test -n "$lt_prog_compiler_pic"; then
7867 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7868 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7869 if test "${lt_prog_compiler_pic_works+set}" = set; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7872 lt_prog_compiler_pic_works=no
7873 ac_outfile=conftest.$ac_objext
7874 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7875 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7876 # Insert the option either (1) after the last *FLAGS variable, or
7877 # (2) before a word containing "conftest.", or (3) at the end.
7878 # Note that $ac_compile itself does not contain backslashes and begins
7879 # with a dollar sign (not a hyphen), so the echo should work correctly.
7880 # The option is referenced via a variable to avoid confusing sed.
7881 lt_compile=`echo "$ac_compile" | $SED \
7882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7884 -e 's:$: $lt_compiler_flag:'`
7885 (eval echo "\"\$as_me:7885: $lt_compile\"" >&5)
7886 (eval "$lt_compile" 2>conftest.err)
7888 cat conftest.err >&5
7889 echo "$as_me:7889: \$? = $ac_status" >&5
7890 if (exit $ac_status) && test -s "$ac_outfile"; then
7891 # The compiler can only warn and ignore the option if not recognized
7892 # So say no if there are warnings other than the usual output.
7893 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7894 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7895 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7896 lt_prog_compiler_pic_works=yes
7902 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7903 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7905 if test x"$lt_prog_compiler_pic_works" = xyes; then
7906 case $lt_prog_compiler_pic in
7908 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7911 lt_prog_compiler_pic=
7912 lt_prog_compiler_can_build_shared=no
7917 # For platforms which do not support PIC, -DPIC is meaningless:
7919 lt_prog_compiler_pic=
7922 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7927 # Check to make sure the static flag actually works.
7929 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7930 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7931 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7932 if test "${lt_prog_compiler_static_works+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 lt_prog_compiler_static_works=no
7936 save_LDFLAGS="$LDFLAGS"
7937 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7938 printf "$lt_simple_link_test_code" > conftest.$ac_ext
7939 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7940 # The linker can only warn and ignore the option if not recognized
7941 # So say no if there are warnings
7942 if test -s conftest.err; then
7943 # Append any errors to the config.log.
7944 cat conftest.err 1>&5
7945 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7946 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7947 if diff conftest.exp conftest.er2 >/dev/null; then
7948 lt_prog_compiler_static_works=yes
7951 lt_prog_compiler_static_works=yes
7955 LDFLAGS="$save_LDFLAGS"
7958 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7959 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7961 if test x"$lt_prog_compiler_static_works" = xyes; then
7964 lt_prog_compiler_static=
7968 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7969 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7970 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7973 lt_cv_prog_compiler_c_o=no
7974 $rm -r conftest 2>/dev/null
7978 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7980 lt_compiler_flag="-o out/conftest2.$ac_objext"
7981 # Insert the option either (1) after the last *FLAGS variable, or
7982 # (2) before a word containing "conftest.", or (3) at the end.
7983 # Note that $ac_compile itself does not contain backslashes and begins
7984 # with a dollar sign (not a hyphen), so the echo should work correctly.
7985 lt_compile=`echo "$ac_compile" | $SED \
7986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7988 -e 's:$: $lt_compiler_flag:'`
7989 (eval echo "\"\$as_me:7989: $lt_compile\"" >&5)
7990 (eval "$lt_compile" 2>out/conftest.err)
7992 cat out/conftest.err >&5
7993 echo "$as_me:7993: \$? = $ac_status" >&5
7994 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7996 # The compiler can only warn and ignore the option if not recognized
7997 # So say no if there are warnings
7998 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7999 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8000 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8001 lt_cv_prog_compiler_c_o=yes
8006 # SGI C++ compiler will create directory out/ii_files/ for
8007 # template instantiation
8008 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8009 $rm out/* && rmdir out
8015 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8016 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8019 hard_links="nottested"
8020 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8021 # do not overwrite the value of need_locks provided by the user
8022 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8023 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8026 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8028 ln conftest.a conftest.b 2>&5 || hard_links=no
8029 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8030 { echo "$as_me:$LINENO: result: $hard_links" >&5
8031 echo "${ECHO_T}$hard_links" >&6; }
8032 if test "$hard_links" = no; then
8033 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8034 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8041 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8042 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8045 allow_undefined_flag=
8046 enable_shared_with_static_runtimes=no
8048 archive_expsym_cmds=
8049 old_archive_From_new_cmds=
8050 old_archive_from_expsyms_cmds=
8051 export_dynamic_flag_spec=
8052 whole_archive_flag_spec=
8053 thread_safe_flag_spec=
8054 hardcode_libdir_flag_spec=
8055 hardcode_libdir_flag_spec_ld=
8056 hardcode_libdir_separator=
8059 hardcode_shlibpath_var=unsupported
8060 link_all_deplibs=unknown
8061 hardcode_automatic=no
8064 always_export_symbols=no
8065 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8066 # include_expsyms should be a list of space-separated symbols to be *always*
8067 # included in the symbol list
8069 # exclude_expsyms can be an extended regexp of symbols to exclude
8070 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8071 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8072 # as well as any symbol that contains `d'.
8073 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8074 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8075 # platforms (ab)use it in PIC code, but their linkers get confused if
8076 # the symbol is explicitly referenced. Since portable code cannot
8077 # rely on this symbol name, it's probably fine to never include it in
8078 # preloaded symbol tables.
8079 extract_expsyms_cmds=
8080 # Just being paranoid about ensuring that cc_basename is set.
8081 for cc_temp in $compiler""; do
8083 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8084 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8089 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8092 cygwin* | mingw* | pw32*)
8093 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8094 # When not using gcc, we currently assume that we are using
8095 # Microsoft Visual C++.
8096 if test "$GCC" != yes; then
8101 # we just hope/assume this is gcc and not c89 (= MSVC++)
8110 if test "$with_gnu_ld" = yes; then
8111 # If archive_cmds runs LD, not CC, wlarc should be empty
8114 # Set some defaults for GNU ld with shared library support. These
8115 # are reset later if shared libraries are not supported. Putting them
8116 # here allows them to be overridden if necessary.
8117 runpath_var=LD_RUN_PATH
8118 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8119 export_dynamic_flag_spec='${wl}--export-dynamic'
8120 # ancient GNU ld didn't support --whole-archive et. al.
8121 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8122 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8124 whole_archive_flag_spec=
8126 supports_anon_versioning=no
8127 case `$LD -v 2>/dev/null` in
8128 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8129 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8130 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8131 *\ 2.11.*) ;; # other 2.11 versions
8132 *) supports_anon_versioning=yes ;;
8135 # See if GNU ld supports shared libraries.
8137 aix3* | aix4* | aix5*)
8138 # On AIX/PPC, the GNU linker is very broken
8139 if test "$host_cpu" != ia64; then
8143 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8144 *** to be unable to reliably create shared libraries on AIX.
8145 *** Therefore, libtool is disabling shared libraries support. If you
8146 *** really care for shared libraries, you may want to modify your PATH
8147 *** so that a non-GNU linker is found, and then restart.
8154 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)'
8155 hardcode_libdir_flag_spec='-L$libdir'
8156 hardcode_minus_L=yes
8158 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8159 # that the semantics of dynamic libraries on AmigaOS, at least up
8160 # to version 4, is to share data among multiple programs linked
8161 # with the same dynamic library. Since this doesn't match the
8162 # behavior of shared libraries on other platforms, we can't use
8168 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8169 allow_undefined_flag=unsupported
8170 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8171 # support --undefined. This deserves some investigation. FIXME
8172 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8178 cygwin* | mingw* | pw32*)
8179 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8180 # as there is no search path for DLLs.
8181 hardcode_libdir_flag_spec='-L$libdir'
8182 allow_undefined_flag=unsupported
8183 always_export_symbols=no
8184 enable_shared_with_static_runtimes=yes
8185 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8187 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8188 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8189 # If the export-symbols file already is a .def file (1st line
8190 # is EXPORTS), use it as is; otherwise, prepend...
8191 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8192 cp $export_symbols $output_objdir/$soname.def;
8194 echo EXPORTS > $output_objdir/$soname.def;
8195 cat $export_symbols >> $output_objdir/$soname.def;
8197 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8205 hardcode_shlibpath_var=no
8206 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8207 export_dynamic_flag_spec='${wl}-E'
8208 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8209 # Instead, shared libraries are loaded at an image base (0x10000000 by
8210 # default) and relocated if they conflict, which is a slow very memory
8211 # consuming and fragmenting process. To avoid this, we pick a random,
8212 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8213 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8214 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8215 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'
8219 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8221 case $cc_basename,$host_cpu in
8222 pgcc*) # Portland Group C compiler
8223 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'
8224 tmp_addflag=' $pic_flag'
8226 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8227 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'
8228 tmp_addflag=' $pic_flag -Mnomain' ;;
8229 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8230 tmp_addflag=' -i_dynamic' ;;
8231 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8232 tmp_addflag=' -i_dynamic -nofor_main' ;;
8233 ifc* | ifort*) # Intel Fortran compiler
8234 tmp_addflag=' -nofor_main' ;;
8236 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8238 if test $supports_anon_versioning = yes; then
8239 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8240 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8241 $echo "local: *; };" >> $output_objdir/$libname.ver~
8242 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8250 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8251 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8254 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8255 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8260 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8264 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8265 *** create shared libraries on Solaris systems. Therefore, libtool
8266 *** is disabling shared libraries support. We urge you to upgrade GNU
8267 *** binutils to release 2.9.1 or newer. Another option is to modify
8268 *** your PATH or compiler configuration so that the native linker is
8269 *** used, and then restart.
8272 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8273 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8274 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8280 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8281 case `$LD -v 2>&1` in
8282 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8286 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8287 *** reliably create shared libraries on SCO systems. Therefore, libtool
8288 *** is disabling shared libraries support. We urge you to upgrade GNU
8289 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8290 *** your PATH or compiler configuration so that the native linker is
8291 *** used, and then restart.
8296 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8297 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8298 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8299 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8308 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8311 hardcode_shlibpath_var=no
8315 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8316 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8317 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8324 if test "$ld_shlibs" = no; then
8326 hardcode_libdir_flag_spec=
8327 export_dynamic_flag_spec=
8328 whole_archive_flag_spec=
8331 # PORTME fill in a description of your system's linker (not GNU ld)
8334 allow_undefined_flag=unsupported
8335 always_export_symbols=yes
8336 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'
8337 # Note: this linker hardcodes the directories in LIBPATH if there
8338 # are no directories specified by -L.
8339 hardcode_minus_L=yes
8340 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8341 # Neither direct hardcoding nor static linking is supported with a
8343 hardcode_direct=unsupported
8348 if test "$host_cpu" = ia64; then
8349 # On IA64, the linker does run time linking by default, so we don't
8350 # have to do anything special.
8351 aix_use_runtimelinking=no
8352 exp_sym_flag='-Bexport'
8355 # If we're using GNU nm, then we don't want the "-C" option.
8356 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8357 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8358 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'
8360 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'
8362 aix_use_runtimelinking=no
8364 # Test if we are trying to use run time linking or normal
8365 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8366 # need to do runtime linking.
8367 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8368 for ld_flag in $LDFLAGS; do
8369 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8370 aix_use_runtimelinking=yes
8377 exp_sym_flag='-bexport'
8378 no_entry_flag='-bnoentry'
8381 # When large executables or shared objects are built, AIX ld can
8382 # have problems creating the table of contents. If linking a library
8383 # or program results in "error TOC overflow" add -mminimal-toc to
8384 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8385 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8389 hardcode_libdir_separator=':'
8390 link_all_deplibs=yes
8392 if test "$GCC" = yes; then
8393 case $host_os in aix4.[012]|aix4.[012].*)
8394 # We only want to do this on AIX 4.2 and lower, the check
8395 # below for broken collect2 doesn't work under 4.3+
8396 collect2name=`${CC} -print-prog-name=collect2`
8397 if test -f "$collect2name" && \
8398 strings "$collect2name" | grep resolve_lib_name >/dev/null
8400 # We have reworked collect2
8403 # We have old collect2
8404 hardcode_direct=unsupported
8405 # It fails to find uninstalled libraries when the uninstalled
8406 # path is not listed in the libpath. Setting hardcode_minus_L
8407 # to unsupported forces relinking
8408 hardcode_minus_L=yes
8409 hardcode_libdir_flag_spec='-L$libdir'
8410 hardcode_libdir_separator=
8414 shared_flag='-shared'
8415 if test "$aix_use_runtimelinking" = yes; then
8416 shared_flag="$shared_flag "'${wl}-G'
8420 if test "$host_cpu" = ia64; then
8421 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8422 # chokes on -Wl,-G. The following line is correct:
8425 if test "$aix_use_runtimelinking" = yes; then
8426 shared_flag='${wl}-G'
8428 shared_flag='${wl}-bM:SRE'
8433 # It seems that -bexpall does not export symbols beginning with
8434 # underscore (_), so it is better to generate a list of symbols to export.
8435 always_export_symbols=yes
8436 if test "$aix_use_runtimelinking" = yes; then
8437 # Warning - without using the other runtime loading flags (-brtl),
8438 # -berok will link without error, but may produce a broken library.
8439 allow_undefined_flag='-berok'
8440 # Determine the default libpath from the value encoded in an empty executable.
8441 cat >conftest.$ac_ext <<_ACEOF
8444 cat confdefs.h >>conftest.$ac_ext
8445 cat >>conftest.$ac_ext <<_ACEOF
8446 /* end confdefs.h. */
8456 rm -f conftest.$ac_objext conftest$ac_exeext
8457 if { (ac_try="$ac_link"
8459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8460 *) ac_try_echo=$ac_try;;
8462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8463 (eval "$ac_link") 2>conftest.er1
8465 grep -v '^ *+' conftest.er1 >conftest.err
8467 cat conftest.err >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); } && {
8470 test -z "$ac_c_werror_flag" ||
8471 test ! -s conftest.err
8472 } && test -s conftest$ac_exeext &&
8473 $as_test_x conftest$ac_exeext; then
8475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8477 # Check for a 64-bit object if we didn't find anything.
8478 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; }
8481 echo "$as_me: failed program was:" >&5
8482 sed 's/^/| /' conftest.$ac_ext >&5
8487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8488 conftest$ac_exeext conftest.$ac_ext
8489 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8491 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8492 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"
8494 if test "$host_cpu" = ia64; then
8495 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8496 allow_undefined_flag="-z nodefs"
8497 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"
8499 # Determine the default libpath from the value encoded in an empty executable.
8500 cat >conftest.$ac_ext <<_ACEOF
8503 cat confdefs.h >>conftest.$ac_ext
8504 cat >>conftest.$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8515 rm -f conftest.$ac_objext conftest$ac_exeext
8516 if { (ac_try="$ac_link"
8518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8519 *) ac_try_echo=$ac_try;;
8521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8522 (eval "$ac_link") 2>conftest.er1
8524 grep -v '^ *+' conftest.er1 >conftest.err
8526 cat conftest.err >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); } && {
8529 test -z "$ac_c_werror_flag" ||
8530 test ! -s conftest.err
8531 } && test -s conftest$ac_exeext &&
8532 $as_test_x conftest$ac_exeext; then
8534 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8536 # Check for a 64-bit object if we didn't find anything.
8537 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; }
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.$ac_ext >&5
8546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8547 conftest$ac_exeext conftest.$ac_ext
8548 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8550 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8551 # Warning - without using the other run time loading flags,
8552 # -berok will link without error, but may produce a broken library.
8553 no_undefined_flag=' ${wl}-bernotok'
8554 allow_undefined_flag=' ${wl}-berok'
8555 # Exported symbols can be pulled into shared objects from archives
8556 whole_archive_flag_spec='$convenience'
8557 archive_cmds_need_lc=yes
8558 # This is similar to how AIX traditionally builds its shared libraries.
8559 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'
8565 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)'
8566 hardcode_libdir_flag_spec='-L$libdir'
8567 hardcode_minus_L=yes
8568 # see comment about different semantics on the GNU ld section
8573 export_dynamic_flag_spec=-rdynamic
8576 cygwin* | mingw* | pw32*)
8577 # When not using gcc, we currently assume that we are using
8578 # Microsoft Visual C++.
8579 # hardcode_libdir_flag_spec is actually meaningless, as there is
8580 # no search path for DLLs.
8581 hardcode_libdir_flag_spec=' '
8582 allow_undefined_flag=unsupported
8583 # Tell ltmain to make .lib files, not .a files.
8585 # Tell ltmain to make .dll files, not .so files.
8587 # FIXME: Setting linknames here is a bad hack.
8588 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8589 # The linker will automatically build a .lib file if we build a DLL.
8590 old_archive_From_new_cmds='true'
8591 # FIXME: Should let the user specify the lib program.
8592 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
8593 fix_srcfile_path='`cygpath -w "$srcfile"`'
8594 enable_shared_with_static_runtimes=yes
8597 darwin* | rhapsody*)
8599 rhapsody* | darwin1.[012])
8600 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8603 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8604 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8606 case ${MACOSX_DEPLOYMENT_TARGET} in
8608 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8611 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8617 archive_cmds_need_lc=no
8619 hardcode_automatic=yes
8620 hardcode_shlibpath_var=unsupported
8621 whole_archive_flag_spec=''
8622 link_all_deplibs=yes
8623 if test "$GCC" = yes ; then
8624 output_verbose_link_cmd='echo'
8625 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8626 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8627 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8628 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}'
8629 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}'
8631 case $cc_basename in
8633 output_verbose_link_cmd='echo'
8634 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8635 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8636 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8637 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}'
8638 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}'
8648 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8649 hardcode_libdir_flag_spec='-L$libdir'
8650 hardcode_shlibpath_var=no
8657 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8658 # support. Future versions do this automatically, but an explicit c++rt0.o
8659 # does not break anything, and helps significantly (at the cost of a little
8662 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8663 hardcode_libdir_flag_spec='-R$libdir'
8665 hardcode_shlibpath_var=no
8668 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8670 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8672 hardcode_minus_L=yes
8673 hardcode_shlibpath_var=no
8676 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8677 freebsd* | kfreebsd*-gnu | dragonfly*)
8678 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8679 hardcode_libdir_flag_spec='-R$libdir'
8681 hardcode_shlibpath_var=no
8685 if test "$GCC" = yes; then
8686 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'
8688 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'
8690 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8691 hardcode_libdir_separator=:
8694 # hardcode_minus_L: Not really in the search PATH,
8695 # but as the default location of the library.
8696 hardcode_minus_L=yes
8697 export_dynamic_flag_spec='${wl}-E'
8701 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8702 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8704 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8706 if test "$with_gnu_ld" = no; then
8707 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8708 hardcode_libdir_separator=:
8711 export_dynamic_flag_spec='${wl}-E'
8713 # hardcode_minus_L: Not really in the search PATH,
8714 # but as the default location of the library.
8715 hardcode_minus_L=yes
8720 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8723 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8726 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8729 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8735 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8738 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8741 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8745 if test "$with_gnu_ld" = no; then
8746 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8747 hardcode_libdir_separator=:
8751 hardcode_libdir_flag_spec_ld='+b $libdir'
8753 hardcode_shlibpath_var=no
8757 export_dynamic_flag_spec='${wl}-E'
8759 # hardcode_minus_L: Not really in the search PATH,
8760 # but as the default location of the library.
8761 hardcode_minus_L=yes
8767 irix5* | irix6* | nonstopux*)
8768 if test "$GCC" = yes; then
8769 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'
8771 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'
8772 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8774 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8775 hardcode_libdir_separator=:
8776 link_all_deplibs=yes
8780 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8781 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8783 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8785 hardcode_libdir_flag_spec='-R$libdir'
8787 hardcode_shlibpath_var=no
8791 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8793 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8794 hardcode_libdir_separator=:
8795 hardcode_shlibpath_var=no
8800 hardcode_shlibpath_var=no
8801 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8802 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8803 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8804 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8805 export_dynamic_flag_spec='${wl}-E'
8808 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8809 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8810 hardcode_libdir_flag_spec='-R$libdir'
8813 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8814 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8821 hardcode_libdir_flag_spec='-L$libdir'
8822 hardcode_minus_L=yes
8823 allow_undefined_flag=unsupported
8824 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'
8825 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8829 if test "$GCC" = yes; then
8830 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8831 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'
8833 allow_undefined_flag=' -expect_unresolved \*'
8834 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'
8836 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8837 hardcode_libdir_separator=:
8840 osf4* | osf5*) # as osf3* with the addition of -msym flag
8841 if test "$GCC" = yes; then
8842 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8843 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'
8844 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8846 allow_undefined_flag=' -expect_unresolved \*'
8847 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'
8848 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8849 $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'
8851 # Both c and cxx compiler support -rpath directly
8852 hardcode_libdir_flag_spec='-rpath $libdir'
8854 hardcode_libdir_separator=:
8858 no_undefined_flag=' -z text'
8859 if test "$GCC" = yes; then
8861 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8862 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8863 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8866 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8867 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8868 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8870 hardcode_libdir_flag_spec='-R$libdir'
8871 hardcode_shlibpath_var=no
8873 solaris2.[0-5] | solaris2.[0-5].*) ;;
8875 # The compiler driver will combine linker options so we
8876 # cannot just pass the convience library names through
8877 # without $wl, iff we do not link with $LD.
8878 # Luckily, gcc supports the same syntax we need for Sun Studio.
8879 # Supported since Solaris 2.6 (maybe 2.5.1?)
8882 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8884 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' ;;
8887 link_all_deplibs=yes
8891 if test "x$host_vendor" = xsequent; then
8892 # Use $CC to link under sequent, because it throws in some extra .o
8893 # files that make .init and .fini sections work.
8894 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8896 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8898 hardcode_libdir_flag_spec='-L$libdir'
8900 hardcode_minus_L=yes
8901 hardcode_shlibpath_var=no
8905 case $host_vendor in
8907 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8908 hardcode_direct=yes # is this really true???
8911 ## LD is ld it makes a PLAMLIB
8912 ## CC just makes a GrossModule.
8913 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8914 reload_cmds='$CC -r -o $output$reload_objs'
8918 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8919 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8922 runpath_var='LD_RUN_PATH'
8923 hardcode_shlibpath_var=no
8927 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8928 hardcode_shlibpath_var=no
8929 export_dynamic_flag_spec='-Bexport'
8933 if test -d /usr/nec; then
8934 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8935 hardcode_shlibpath_var=no
8936 runpath_var=LD_RUN_PATH
8937 hardcode_runpath_var=yes
8942 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
8943 no_undefined_flag='${wl}-z,text'
8944 archive_cmds_need_lc=no
8945 hardcode_shlibpath_var=no
8946 runpath_var='LD_RUN_PATH'
8948 if test "$GCC" = yes; then
8949 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8950 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8952 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8953 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8957 sysv5* | sco3.2v5* | sco5v6*)
8958 # Note: We can NOT use -z defs as we might desire, because we do not
8959 # link with -lc, and that would cause any symbols used from libc to
8960 # always be unresolved, which means just about no library would
8961 # ever link correctly. If we're not using GNU ld we use -z text
8962 # though, which does catch some bad symbols but isn't as heavy-handed
8964 no_undefined_flag='${wl}-z,text'
8965 allow_undefined_flag='${wl}-z,nodefs'
8966 archive_cmds_need_lc=no
8967 hardcode_shlibpath_var=no
8968 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8969 hardcode_libdir_separator=':'
8970 link_all_deplibs=yes
8971 export_dynamic_flag_spec='${wl}-Bexport'
8972 runpath_var='LD_RUN_PATH'
8974 if test "$GCC" = yes; then
8975 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8976 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8978 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8979 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8984 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8985 hardcode_libdir_flag_spec='-L$libdir'
8986 hardcode_shlibpath_var=no
8995 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8996 echo "${ECHO_T}$ld_shlibs" >&6; }
8997 test "$ld_shlibs" = no && can_build_shared=no
9000 # Do we need to explicitly link libc?
9002 case "x$archive_cmds_need_lc" in
9004 # Assume -lc should be added
9005 archive_cmds_need_lc=yes
9007 if test "$enable_shared" = yes && test "$GCC" = yes; then
9008 case $archive_cmds in
9010 # FIXME: we may have to deal with multi-command sequences.
9013 # Test whether the compiler implicitly links with -lc since on some
9014 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9015 # to ld, don't add -lc before -lgcc.
9016 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9017 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9019 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9022 (eval $ac_compile) 2>&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); } 2>conftest.err; then
9028 libobjs=conftest.$ac_objext
9030 wl=$lt_prog_compiler_wl
9031 pic_flag=$lt_prog_compiler_pic
9037 lt_save_allow_undefined_flag=$allow_undefined_flag
9038 allow_undefined_flag=
9039 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9040 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); }
9045 archive_cmds_need_lc=no
9047 archive_cmds_need_lc=yes
9049 allow_undefined_flag=$lt_save_allow_undefined_flag
9051 cat conftest.err 1>&5
9054 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9055 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9062 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9063 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9065 libname_spec='lib$name'
9073 shlibpath_overrides_runpath=unknown
9075 dynamic_linker="$host_os ld.so"
9076 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9077 if test "$GCC" = yes; then
9078 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9079 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9080 # if the path contains ";" then we assume it to be the separator
9081 # otherwise default to the standard path separator (i.e. ":") - it is
9082 # assumed that no part of a normal pathname contains ";" but that should
9083 # okay in the real world where ";" in dirpaths is itself problematic.
9084 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9086 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9089 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9091 need_lib_prefix=unknown
9092 hardcode_into_libs=no
9094 # when you set need_version to no, make sure it does not cause -set_version
9095 # flags to be left without arguments
9096 need_version=unknown
9101 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9102 shlibpath_var=LIBPATH
9104 # AIX 3 has no versioning support, so we append a major version to the name.
9105 soname_spec='${libname}${release}${shared_ext}$major'
9112 hardcode_into_libs=yes
9113 if test "$host_cpu" = ia64; then
9114 # AIX 5 supports IA64
9115 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9116 shlibpath_var=LD_LIBRARY_PATH
9118 # With GCC up to 2.95.x, collect2 would create an import file
9119 # for dependence libraries. The import file would start with
9120 # the line `#! .'. This would cause the generated library to
9121 # depend on `.', always an invalid library. This was fixed in
9122 # development snapshots of GCC prior to 3.0.
9124 aix4 | aix4.[01] | aix4.[01].*)
9125 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9127 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9134 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9135 # soname into executable. Probably we can add versioning support to
9136 # collect2, so additional links can be useful in future.
9137 if test "$aix_use_runtimelinking" = yes; then
9138 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9139 # instead of lib<name>.a to let people know that these are not
9140 # typical AIX shared libraries.
9141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9143 # We preserve .a as extension for shared libraries through AIX4.2
9144 # and later when we are not doing run time linking.
9145 library_names_spec='${libname}${release}.a $libname.a'
9146 soname_spec='${libname}${release}${shared_ext}$major'
9148 shlibpath_var=LIBPATH
9153 library_names_spec='$libname.ixlibrary $libname.a'
9154 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9155 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'
9159 library_names_spec='${libname}${shared_ext}'
9160 dynamic_linker="$host_os ld.so"
9161 shlibpath_var=LIBRARY_PATH
9167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9168 soname_spec='${libname}${release}${shared_ext}$major'
9169 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9170 shlibpath_var=LD_LIBRARY_PATH
9171 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9172 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9173 # the default ld.so.conf also contains /usr/contrib/lib and
9174 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9175 # libtool to hard-code these into programs
9178 cygwin* | mingw* | pw32*)
9179 version_type=windows
9184 case $GCC,$host_os in
9185 yes,cygwin* | yes,mingw* | yes,pw32*)
9186 library_names_spec='$libname.dll.a'
9187 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9188 postinstall_cmds='base_file=`basename \${file}`~
9189 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9190 dldir=$destdir/`dirname \$dlpath`~
9191 test -d \$dldir || mkdir -p \$dldir~
9192 $install_prog $dir/$dlname \$dldir/$dlname~
9193 chmod a+x \$dldir/$dlname'
9194 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9195 dlpath=$dir/\$dldll~
9197 shlibpath_overrides_runpath=yes
9201 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9202 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9203 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9206 # MinGW DLLs use traditional 'lib' prefix
9207 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9208 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9209 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9210 # It is most probably a Windows format PATH printed by
9211 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9212 # path with ; separators, and with drive letters. We can handle the
9213 # drive letters (cygwin fileutils understands them), so leave them,
9214 # especially as we might pass files found there to a mingw objdump,
9215 # which wouldn't understand a cygwinified path. Ahh.
9216 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9218 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9222 # pw32 DLLs use 'pw' prefix rather than 'lib'
9223 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9229 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9232 dynamic_linker='Win32 ld.exe'
9233 # FIXME: first we should search . and the directory the executable is in
9237 darwin* | rhapsody*)
9238 dynamic_linker="$host_os dyld"
9242 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9243 soname_spec='${libname}${release}${major}$shared_ext'
9244 shlibpath_overrides_runpath=yes
9245 shlibpath_var=DYLD_LIBRARY_PATH
9246 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9247 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9248 if test "$GCC" = yes; then
9249 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"`
9251 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9253 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9261 soname_spec='${libname}${release}${shared_ext}$major'
9262 shlibpath_var=LD_LIBRARY_PATH
9273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9274 soname_spec='${libname}${release}${shared_ext}$major'
9275 shlibpath_var=LD_LIBRARY_PATH
9276 shlibpath_overrides_runpath=no
9277 hardcode_into_libs=yes
9278 dynamic_linker='GNU ld.so'
9281 freebsd* | dragonfly*)
9282 # DragonFly does not have aout. When/if they implement a new
9283 # versioning mechanism, adjust this.
9284 if test -x /usr/bin/objformat; then
9285 objformat=`/usr/bin/objformat`
9288 freebsd[123]*) objformat=aout ;;
9292 version_type=freebsd-$objformat
9293 case $version_type in
9295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9304 shlibpath_var=LD_LIBRARY_PATH
9307 shlibpath_overrides_runpath=yes
9309 freebsd3.[01]* | freebsdelf3.[01]*)
9310 shlibpath_overrides_runpath=yes
9311 hardcode_into_libs=yes
9313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9315 shlibpath_overrides_runpath=no
9316 hardcode_into_libs=yes
9318 freebsd*) # from 4.6 on
9319 shlibpath_overrides_runpath=yes
9320 hardcode_into_libs=yes
9329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9330 soname_spec='${libname}${release}${shared_ext}$major'
9331 shlibpath_var=LD_LIBRARY_PATH
9332 hardcode_into_libs=yes
9335 hpux9* | hpux10* | hpux11*)
9336 # Give a soname corresponding to the major version so that dld.sl refuses to
9337 # link against other versions.
9344 hardcode_into_libs=yes
9345 dynamic_linker="$host_os dld.so"
9346 shlibpath_var=LD_LIBRARY_PATH
9347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 soname_spec='${libname}${release}${shared_ext}$major'
9350 if test "X$HPUX_IA64_MODE" = X32; then
9351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9359 hardcode_into_libs=yes
9360 dynamic_linker="$host_os dld.sl"
9361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9364 soname_spec='${libname}${release}${shared_ext}$major'
9365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9370 dynamic_linker="$host_os dld.sl"
9371 shlibpath_var=SHLIB_PATH
9372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec='${libname}${release}${shared_ext}$major'
9377 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9378 postinstall_cmds='chmod 555 $lib'
9385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9386 soname_spec='${libname}${release}${shared_ext}$major'
9387 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9388 shlibpath_var=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath=no
9390 hardcode_into_libs=yes
9393 irix5* | irix6* | nonstopux*)
9395 nonstopux*) version_type=nonstopux ;;
9397 if test "$lt_cv_prog_gnu_ld" = yes; then
9405 soname_spec='${libname}${release}${shared_ext}$major'
9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9408 irix5* | nonstopux*)
9412 case $LD in # libtool.m4 will add one of these switches to LD
9413 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9414 libsuff= shlibsuff= libmagic=32-bit;;
9415 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9416 libsuff=32 shlibsuff=N32 libmagic=N32;;
9417 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9418 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9419 *) libsuff= shlibsuff= libmagic=never-match;;
9423 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9424 shlibpath_overrides_runpath=no
9425 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9426 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9427 hardcode_into_libs=yes
9430 # No shared lib support for Linux oldld, aout, or coff.
9431 linux*oldld* | linux*aout* | linux*coff*)
9435 # This must be Linux ELF.
9440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9441 soname_spec='${libname}${release}${shared_ext}$major'
9442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9443 shlibpath_var=LD_LIBRARY_PATH
9444 shlibpath_overrides_runpath=no
9445 # This implies no fast_install, which is unacceptable.
9446 # Some rework will be needed to allow for fast_install
9447 # before this can be enabled.
9448 hardcode_into_libs=yes
9450 # find out which ABI we are using
9453 x86_64*|s390x*|powerpc64*)
9454 echo '#line 9454 "configure"' > conftest.$ac_ext
9455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9456 (eval $ac_compile) 2>&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); }; then
9460 case `/usr/bin/file conftest.$ac_objext` in
9463 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9471 # Append ld.so.conf contents to the search path
9472 if test -f /etc/ld.so.conf; then
9473 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' ' '`
9474 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9477 # We used to test for /lib/ld.so.1 and disable shared libraries on
9478 # powerpc, because MkLinux only supported shared libraries with the
9479 # GNU dynamic linker. Since this was broken with cross compilers,
9480 # most powerpc-linux boxes support dynamic linking these days and
9481 # people can always --disable-shared, the test was removed, and we
9482 # assume the GNU/Linux dynamic linker is in use.
9483 dynamic_linker='GNU/Linux ld.so'
9490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9491 soname_spec='${libname}${release}${shared_ext}$major'
9492 shlibpath_var=LD_LIBRARY_PATH
9493 shlibpath_overrides_runpath=no
9494 hardcode_into_libs=yes
9495 dynamic_linker='GNU ld.so'
9502 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9504 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9505 dynamic_linker='NetBSD (a.out) ld.so'
9507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9508 soname_spec='${libname}${release}${shared_ext}$major'
9509 dynamic_linker='NetBSD ld.elf_so'
9511 shlibpath_var=LD_LIBRARY_PATH
9512 shlibpath_overrides_runpath=yes
9513 hardcode_into_libs=yes
9518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9519 shlibpath_var=LD_LIBRARY_PATH
9520 shlibpath_overrides_runpath=yes
9527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9528 soname_spec='${libname}${release}${shared_ext}$major'
9529 shlibpath_var=LD_LIBRARY_PATH
9530 shlibpath_overrides_runpath=yes
9535 sys_lib_dlsearch_path_spec="/usr/lib"
9537 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9539 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9540 *) need_version=no ;;
9542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9543 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9544 shlibpath_var=LD_LIBRARY_PATH
9545 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9547 openbsd2.[89] | openbsd2.[89].*)
9548 shlibpath_overrides_runpath=no
9551 shlibpath_overrides_runpath=yes
9555 shlibpath_overrides_runpath=yes
9560 libname_spec='$name'
9563 library_names_spec='$libname${shared_ext} $libname.a'
9564 dynamic_linker='OS/2 ld.exe'
9565 shlibpath_var=LIBPATH
9568 osf3* | osf4* | osf5*)
9572 soname_spec='${libname}${release}${shared_ext}$major'
9573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9574 shlibpath_var=LD_LIBRARY_PATH
9575 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9576 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9584 soname_spec='${libname}${release}${shared_ext}$major'
9585 shlibpath_var=LD_LIBRARY_PATH
9586 shlibpath_overrides_runpath=yes
9587 hardcode_into_libs=yes
9588 # ldd complains unless libraries are executable
9589 postinstall_cmds='chmod +x $lib'
9594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9595 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9596 shlibpath_var=LD_LIBRARY_PATH
9597 shlibpath_overrides_runpath=yes
9598 if test "$with_gnu_ld" = yes; then
9606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9607 soname_spec='${libname}${release}${shared_ext}$major'
9608 shlibpath_var=LD_LIBRARY_PATH
9609 case $host_vendor in
9611 shlibpath_overrides_runpath=no
9613 export_dynamic_flag_spec='${wl}-Blargedynsym'
9614 runpath_var=LD_RUN_PATH
9622 shlibpath_overrides_runpath=no
9623 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9629 if test -d /usr/nec ;then
9631 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9632 soname_spec='$libname${shared_ext}.$major'
9633 shlibpath_var=LD_LIBRARY_PATH
9637 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9638 version_type=freebsd-elf
9641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9642 soname_spec='${libname}${release}${shared_ext}$major'
9643 shlibpath_var=LD_LIBRARY_PATH
9644 hardcode_into_libs=yes
9645 if test "$with_gnu_ld" = yes; then
9646 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9647 shlibpath_overrides_runpath=no
9649 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9650 shlibpath_overrides_runpath=yes
9653 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9657 sys_lib_dlsearch_path_spec='/usr/lib'
9662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9663 soname_spec='${libname}${release}${shared_ext}$major'
9664 shlibpath_var=LD_LIBRARY_PATH
9671 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9672 echo "${ECHO_T}$dynamic_linker" >&6; }
9673 test "$dynamic_linker" = no && can_build_shared=no
9675 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9676 if test "$GCC" = yes; then
9677 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9680 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9681 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9683 if test -n "$hardcode_libdir_flag_spec" || \
9684 test -n "$runpath_var" || \
9685 test "X$hardcode_automatic" = "Xyes" ; then
9687 # We can hardcode non-existant directories.
9688 if test "$hardcode_direct" != no &&
9689 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9690 # have to relink, otherwise we might link with an installed library
9691 # when we should be linking with a yet-to-be-installed one
9692 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9693 test "$hardcode_minus_L" != no; then
9694 # Linking always hardcodes the temporary library directory.
9695 hardcode_action=relink
9697 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9698 hardcode_action=immediate
9701 # We cannot hardcode anything, or else we can only hardcode existing
9703 hardcode_action=unsupported
9705 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9706 echo "${ECHO_T}$hardcode_action" >&6; }
9708 if test "$hardcode_action" = relink; then
9709 # Fast installation is not supported
9710 enable_fast_install=no
9711 elif test "$shlibpath_overrides_runpath" = yes ||
9712 test "$enable_shared" = no; then
9713 # Fast installation is not necessary
9714 enable_fast_install=needless
9719 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9720 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9721 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9722 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9723 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9724 { echo "$as_me:$LINENO: result: yes" >&5
9725 echo "${ECHO_T}yes" >&6; }
9727 # FIXME - insert some real tests, host_os isn't really good enough
9730 if test -n "$STRIP" ; then
9731 striplib="$STRIP -x"
9732 { echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6; }
9735 { echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6; }
9740 { echo "$as_me:$LINENO: result: no" >&5
9741 echo "${ECHO_T}no" >&6; }
9746 if test "x$enable_dlopen" != xyes; then
9747 enable_dlopen=unknown
9748 enable_dlopen_self=unknown
9749 enable_dlopen_self_static=unknown
9756 lt_cv_dlopen="load_add_on"
9758 lt_cv_dlopen_self=yes
9762 lt_cv_dlopen="LoadLibrary"
9767 lt_cv_dlopen="dlopen"
9772 # if libdl is installed we need to link against it
9773 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9774 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9775 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9776 echo $ECHO_N "(cached) $ECHO_C" >&6
9778 ac_check_lib_save_LIBS=$LIBS
9780 cat >conftest.$ac_ext <<_ACEOF
9783 cat confdefs.h >>conftest.$ac_ext
9784 cat >>conftest.$ac_ext <<_ACEOF
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9802 rm -f conftest.$ac_objext conftest$ac_exeext
9803 if { (ac_try="$ac_link"
9805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9806 *) ac_try_echo=$ac_try;;
9808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9809 (eval "$ac_link") 2>conftest.er1
9811 grep -v '^ *+' conftest.er1 >conftest.err
9813 cat conftest.err >&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); } && {
9816 test -z "$ac_c_werror_flag" ||
9817 test ! -s conftest.err
9818 } && test -s conftest$ac_exeext &&
9819 $as_test_x conftest$ac_exeext; then
9820 ac_cv_lib_dl_dlopen=yes
9822 echo "$as_me: failed program was:" >&5
9823 sed 's/^/| /' conftest.$ac_ext >&5
9825 ac_cv_lib_dl_dlopen=no
9828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_lib_save_LIBS
9832 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9833 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9834 if test $ac_cv_lib_dl_dlopen = yes; then
9835 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9840 lt_cv_dlopen_self=yes
9847 { echo "$as_me:$LINENO: checking for shl_load" >&5
9848 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9849 if test "${ac_cv_func_shl_load+set}" = set; then
9850 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 cat >conftest.$ac_ext <<_ACEOF
9855 cat confdefs.h >>conftest.$ac_ext
9856 cat >>conftest.$ac_ext <<_ACEOF
9857 /* end confdefs.h. */
9858 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9860 #define shl_load innocuous_shl_load
9862 /* System header to define __stub macros and hopefully few prototypes,
9863 which can conflict with char shl_load (); below.
9864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9865 <limits.h> exists even on freestanding compilers. */
9868 # include <limits.h>
9870 # include <assert.h>
9875 /* Override any GCC internal prototype to avoid an error.
9876 Use char because int might match the return type of a GCC
9877 builtin and then its argument prototype would still apply. */
9882 /* The GNU C library defines this for functions which it implements
9883 to always fail with ENOSYS. Some functions are actually named
9884 something starting with __ and the normal name is an alias. */
9885 #if defined __stub_shl_load || defined __stub___shl_load
9897 rm -f conftest.$ac_objext conftest$ac_exeext
9898 if { (ac_try="$ac_link"
9900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9901 *) ac_try_echo=$ac_try;;
9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9904 (eval "$ac_link") 2>conftest.er1
9906 grep -v '^ *+' conftest.er1 >conftest.err
9908 cat conftest.err >&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); } && {
9911 test -z "$ac_c_werror_flag" ||
9912 test ! -s conftest.err
9913 } && test -s conftest$ac_exeext &&
9914 $as_test_x conftest$ac_exeext; then
9915 ac_cv_func_shl_load=yes
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9920 ac_cv_func_shl_load=no
9923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9924 conftest$ac_exeext conftest.$ac_ext
9926 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9927 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9928 if test $ac_cv_func_shl_load = yes; then
9929 lt_cv_dlopen="shl_load"
9931 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9932 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9933 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 ac_check_lib_save_LIBS=$LIBS
9938 cat >conftest.$ac_ext <<_ACEOF
9941 cat confdefs.h >>conftest.$ac_ext
9942 cat >>conftest.$ac_ext <<_ACEOF
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9960 rm -f conftest.$ac_objext conftest$ac_exeext
9961 if { (ac_try="$ac_link"
9963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9964 *) ac_try_echo=$ac_try;;
9966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9967 (eval "$ac_link") 2>conftest.er1
9969 grep -v '^ *+' conftest.er1 >conftest.err
9971 cat conftest.err >&5
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); } && {
9974 test -z "$ac_c_werror_flag" ||
9975 test ! -s conftest.err
9976 } && test -s conftest$ac_exeext &&
9977 $as_test_x conftest$ac_exeext; then
9978 ac_cv_lib_dld_shl_load=yes
9980 echo "$as_me: failed program was:" >&5
9981 sed 's/^/| /' conftest.$ac_ext >&5
9983 ac_cv_lib_dld_shl_load=no
9986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9987 conftest$ac_exeext conftest.$ac_ext
9988 LIBS=$ac_check_lib_save_LIBS
9990 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9991 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9992 if test $ac_cv_lib_dld_shl_load = yes; then
9993 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9995 { echo "$as_me:$LINENO: checking for dlopen" >&5
9996 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9997 if test "${ac_cv_func_dlopen+set}" = set; then
9998 echo $ECHO_N "(cached) $ECHO_C" >&6
10000 cat >conftest.$ac_ext <<_ACEOF
10003 cat confdefs.h >>conftest.$ac_ext
10004 cat >>conftest.$ac_ext <<_ACEOF
10005 /* end confdefs.h. */
10006 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10008 #define dlopen innocuous_dlopen
10010 /* System header to define __stub macros and hopefully few prototypes,
10011 which can conflict with char dlopen (); below.
10012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10013 <limits.h> exists even on freestanding compilers. */
10016 # include <limits.h>
10018 # include <assert.h>
10023 /* Override any GCC internal prototype to avoid an error.
10024 Use char because int might match the return type of a GCC
10025 builtin and then its argument prototype would still apply. */
10030 /* The GNU C library defines this for functions which it implements
10031 to always fail with ENOSYS. Some functions are actually named
10032 something starting with __ and the normal name is an alias. */
10033 #if defined __stub_dlopen || defined __stub___dlopen
10045 rm -f conftest.$ac_objext conftest$ac_exeext
10046 if { (ac_try="$ac_link"
10047 case "(($ac_try" in
10048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10049 *) ac_try_echo=$ac_try;;
10051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10052 (eval "$ac_link") 2>conftest.er1
10054 grep -v '^ *+' conftest.er1 >conftest.err
10056 cat conftest.err >&5
10057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10058 (exit $ac_status); } && {
10059 test -z "$ac_c_werror_flag" ||
10060 test ! -s conftest.err
10061 } && test -s conftest$ac_exeext &&
10062 $as_test_x conftest$ac_exeext; then
10063 ac_cv_func_dlopen=yes
10065 echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.$ac_ext >&5
10068 ac_cv_func_dlopen=no
10071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10072 conftest$ac_exeext conftest.$ac_ext
10074 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10075 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10076 if test $ac_cv_func_dlopen = yes; then
10077 lt_cv_dlopen="dlopen"
10079 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10080 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10081 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10082 echo $ECHO_N "(cached) $ECHO_C" >&6
10084 ac_check_lib_save_LIBS=$LIBS
10086 cat >conftest.$ac_ext <<_ACEOF
10089 cat confdefs.h >>conftest.$ac_ext
10090 cat >>conftest.$ac_ext <<_ACEOF
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10108 rm -f conftest.$ac_objext conftest$ac_exeext
10109 if { (ac_try="$ac_link"
10110 case "(($ac_try" in
10111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10112 *) ac_try_echo=$ac_try;;
10114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10115 (eval "$ac_link") 2>conftest.er1
10117 grep -v '^ *+' conftest.er1 >conftest.err
10119 cat conftest.err >&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } && {
10122 test -z "$ac_c_werror_flag" ||
10123 test ! -s conftest.err
10124 } && test -s conftest$ac_exeext &&
10125 $as_test_x conftest$ac_exeext; then
10126 ac_cv_lib_dl_dlopen=yes
10128 echo "$as_me: failed program was:" >&5
10129 sed 's/^/| /' conftest.$ac_ext >&5
10131 ac_cv_lib_dl_dlopen=no
10134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10135 conftest$ac_exeext conftest.$ac_ext
10136 LIBS=$ac_check_lib_save_LIBS
10138 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10139 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10140 if test $ac_cv_lib_dl_dlopen = yes; then
10141 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10143 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10144 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10145 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10146 echo $ECHO_N "(cached) $ECHO_C" >&6
10148 ac_check_lib_save_LIBS=$LIBS
10149 LIBS="-lsvld $LIBS"
10150 cat >conftest.$ac_ext <<_ACEOF
10153 cat confdefs.h >>conftest.$ac_ext
10154 cat >>conftest.$ac_ext <<_ACEOF
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10172 rm -f conftest.$ac_objext conftest$ac_exeext
10173 if { (ac_try="$ac_link"
10174 case "(($ac_try" in
10175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10176 *) ac_try_echo=$ac_try;;
10178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10179 (eval "$ac_link") 2>conftest.er1
10181 grep -v '^ *+' conftest.er1 >conftest.err
10183 cat conftest.err >&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); } && {
10186 test -z "$ac_c_werror_flag" ||
10187 test ! -s conftest.err
10188 } && test -s conftest$ac_exeext &&
10189 $as_test_x conftest$ac_exeext; then
10190 ac_cv_lib_svld_dlopen=yes
10192 echo "$as_me: failed program was:" >&5
10193 sed 's/^/| /' conftest.$ac_ext >&5
10195 ac_cv_lib_svld_dlopen=no
10198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LIBS=$ac_check_lib_save_LIBS
10202 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10203 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10204 if test $ac_cv_lib_svld_dlopen = yes; then
10205 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10207 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10208 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10209 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10210 echo $ECHO_N "(cached) $ECHO_C" >&6
10212 ac_check_lib_save_LIBS=$LIBS
10214 cat >conftest.$ac_ext <<_ACEOF
10217 cat confdefs.h >>conftest.$ac_ext
10218 cat >>conftest.$ac_ext <<_ACEOF
10219 /* end confdefs.h. */
10221 /* Override any GCC internal prototype to avoid an error.
10222 Use char because int might match the return type of a GCC
10223 builtin and then its argument prototype would still apply. */
10231 return dld_link ();
10236 rm -f conftest.$ac_objext conftest$ac_exeext
10237 if { (ac_try="$ac_link"
10238 case "(($ac_try" in
10239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10240 *) ac_try_echo=$ac_try;;
10242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10243 (eval "$ac_link") 2>conftest.er1
10245 grep -v '^ *+' conftest.er1 >conftest.err
10247 cat conftest.err >&5
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 (exit $ac_status); } && {
10250 test -z "$ac_c_werror_flag" ||
10251 test ! -s conftest.err
10252 } && test -s conftest$ac_exeext &&
10253 $as_test_x conftest$ac_exeext; then
10254 ac_cv_lib_dld_dld_link=yes
10256 echo "$as_me: failed program was:" >&5
10257 sed 's/^/| /' conftest.$ac_ext >&5
10259 ac_cv_lib_dld_dld_link=no
10262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10263 conftest$ac_exeext conftest.$ac_ext
10264 LIBS=$ac_check_lib_save_LIBS
10266 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10267 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10268 if test $ac_cv_lib_dld_dld_link = yes; then
10269 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10290 if test "x$lt_cv_dlopen" != xno; then
10296 case $lt_cv_dlopen in
10298 save_CPPFLAGS="$CPPFLAGS"
10299 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10301 save_LDFLAGS="$LDFLAGS"
10302 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10305 LIBS="$lt_cv_dlopen_libs $LIBS"
10307 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10308 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10309 if test "${lt_cv_dlopen_self+set}" = set; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 if test "$cross_compiling" = yes; then :
10313 lt_cv_dlopen_self=cross
10315 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10316 lt_status=$lt_dlunknown
10317 cat > conftest.$ac_ext <<EOF
10318 #line 10318 "configure"
10319 #include "confdefs.h"
10328 # define LT_DLGLOBAL RTLD_GLOBAL
10331 # define LT_DLGLOBAL DL_GLOBAL
10333 # define LT_DLGLOBAL 0
10337 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10338 find out it does not work in some platform. */
10339 #ifndef LT_DLLAZY_OR_NOW
10341 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10344 # define LT_DLLAZY_OR_NOW DL_LAZY
10347 # define LT_DLLAZY_OR_NOW RTLD_NOW
10350 # define LT_DLLAZY_OR_NOW DL_NOW
10352 # define LT_DLLAZY_OR_NOW 0
10360 extern "C" void exit (int);
10363 void fnord() { int i=42;}
10366 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10367 int status = $lt_dlunknown;
10371 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10372 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10373 /* dlclose (self); */
10381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10382 (eval $ac_link) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10386 (./conftest; exit; ) >&5 2>/dev/null
10388 case x$lt_status in
10389 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10390 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10391 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10394 # compilation failed
10395 lt_cv_dlopen_self=no
10402 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10403 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10405 if test "x$lt_cv_dlopen_self" = xyes; then
10406 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10407 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10408 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10409 if test "${lt_cv_dlopen_self_static+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 if test "$cross_compiling" = yes; then :
10413 lt_cv_dlopen_self_static=cross
10415 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10416 lt_status=$lt_dlunknown
10417 cat > conftest.$ac_ext <<EOF
10418 #line 10418 "configure"
10419 #include "confdefs.h"
10428 # define LT_DLGLOBAL RTLD_GLOBAL
10431 # define LT_DLGLOBAL DL_GLOBAL
10433 # define LT_DLGLOBAL 0
10437 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10438 find out it does not work in some platform. */
10439 #ifndef LT_DLLAZY_OR_NOW
10441 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10444 # define LT_DLLAZY_OR_NOW DL_LAZY
10447 # define LT_DLLAZY_OR_NOW RTLD_NOW
10450 # define LT_DLLAZY_OR_NOW DL_NOW
10452 # define LT_DLLAZY_OR_NOW 0
10460 extern "C" void exit (int);
10463 void fnord() { int i=42;}
10466 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10467 int status = $lt_dlunknown;
10471 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10472 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10473 /* dlclose (self); */
10481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10482 (eval $ac_link) 2>&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10486 (./conftest; exit; ) >&5 2>/dev/null
10488 case x$lt_status in
10489 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10490 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10491 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10494 # compilation failed
10495 lt_cv_dlopen_self_static=no
10502 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10503 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10506 CPPFLAGS="$save_CPPFLAGS"
10507 LDFLAGS="$save_LDFLAGS"
10512 case $lt_cv_dlopen_self in
10513 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10514 *) enable_dlopen_self=unknown ;;
10517 case $lt_cv_dlopen_self_static in
10518 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10519 *) enable_dlopen_self_static=unknown ;;
10524 # Report which library types will actually be built
10525 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10526 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10527 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10528 echo "${ECHO_T}$can_build_shared" >&6; }
10530 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10531 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10532 test "$can_build_shared" = "no" && enable_shared=no
10534 # On AIX, shared libraries and static libraries use the same namespace, and
10535 # are all built from PIC.
10538 test "$enable_shared" = yes && enable_static=no
10539 if test -n "$RANLIB"; then
10540 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10541 postinstall_cmds='$RANLIB $lib'
10546 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10547 test "$enable_shared" = yes && enable_static=no
10551 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10552 echo "${ECHO_T}$enable_shared" >&6; }
10554 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10555 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10556 # Make sure either enable_shared or enable_static is yes.
10557 test "$enable_shared" = yes || enable_static=yes
10558 { echo "$as_me:$LINENO: result: $enable_static" >&5
10559 echo "${ECHO_T}$enable_static" >&6; }
10561 # The else clause should only fire when bootstrapping the
10562 # libtool distribution, otherwise you forgot to ship ltmain.sh
10563 # with your package, and you will get complaints that there are
10564 # no rules to generate ltmain.sh.
10565 if test -f "$ltmain"; then
10566 # See if we are running on zsh, and set the options which allow our commands through
10567 # without removal of \ escapes.
10568 if test -n "${ZSH_VERSION+set}" ; then
10569 setopt NO_GLOB_SUBST
10571 # Now quote all the things that may contain metacharacters while being
10572 # careful not to overquote the AC_SUBSTed values. We take copies of the
10573 # variables and quote the copies for generation of the libtool script.
10574 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10576 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10577 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10578 deplibs_check_method reload_flag reload_cmds need_locks \
10579 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10580 lt_cv_sys_global_symbol_to_c_name_address \
10581 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10582 old_postinstall_cmds old_postuninstall_cmds \
10586 lt_prog_compiler_wl \
10587 lt_prog_compiler_pic \
10588 lt_prog_compiler_static \
10589 lt_prog_compiler_no_builtin_flag \
10590 export_dynamic_flag_spec \
10591 thread_safe_flag_spec \
10592 whole_archive_flag_spec \
10593 enable_shared_with_static_runtimes \
10595 old_archive_from_new_cmds \
10600 compiler_lib_search_path \
10602 archive_expsym_cmds \
10604 postuninstall_cmds \
10605 old_archive_from_expsyms_cmds \
10606 allow_undefined_flag \
10607 no_undefined_flag \
10608 export_symbols_cmds \
10609 hardcode_libdir_flag_spec \
10610 hardcode_libdir_flag_spec_ld \
10611 hardcode_libdir_separator \
10612 hardcode_automatic \
10614 module_expsym_cmds \
10615 lt_cv_prog_compiler_c_o \
10617 include_expsyms; do
10620 old_archive_cmds | \
10621 old_archive_from_new_cmds | \
10623 archive_expsym_cmds | \
10625 module_expsym_cmds | \
10626 old_archive_from_expsyms_cmds | \
10627 export_symbols_cmds | \
10628 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10629 postinstall_cmds | postuninstall_cmds | \
10630 old_postinstall_cmds | old_postuninstall_cmds | \
10631 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10632 # Double-quote double-evaled strings.
10633 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10636 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10642 *'\$0 --fallback-echo"')
10643 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10647 cfgfile="${ofile}T"
10648 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10650 { echo "$as_me:$LINENO: creating $ofile" >&5
10651 echo "$as_me: creating $ofile" >&6;}
10653 cat <<__EOF__ >> "$cfgfile"
10656 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10657 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10658 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10660 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10661 # Free Software Foundation, Inc.
10663 # This file is part of GNU Libtool:
10664 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10666 # This program is free software; you can redistribute it and/or modify
10667 # it under the terms of the GNU General Public License as published by
10668 # the Free Software Foundation; either version 2 of the License, or
10669 # (at your option) any later version.
10671 # This program is distributed in the hope that it will be useful, but
10672 # WITHOUT ANY WARRANTY; without even the implied warranty of
10673 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10674 # General Public License for more details.
10676 # You should have received a copy of the GNU General Public License
10677 # along with this program; if not, write to the Free Software
10678 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10680 # As a special exception to the GNU General Public License, if you
10681 # distribute this file as part of a program that contains a
10682 # configuration script generated by Autoconf, you may include it under
10683 # the same distribution terms that you use for the rest of that program.
10685 # A sed program that does not truncate output.
10688 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10689 Xsed="$SED -e 1s/^X//"
10691 # The HP-UX ksh and POSIX shell print the target directory to stdout
10692 # if CDPATH is set.
10693 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10695 # The names of the tagged configurations supported by this script.
10698 # ### BEGIN LIBTOOL CONFIG
10700 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10702 # Shell to use when invoking shell scripts.
10705 # Whether or not to build shared libraries.
10706 build_libtool_libs=$enable_shared
10708 # Whether or not to build static libraries.
10709 build_old_libs=$enable_static
10711 # Whether or not to add -lc for building shared libraries.
10712 build_libtool_need_lc=$archive_cmds_need_lc
10714 # Whether or not to disallow shared libs when runtime libs are static
10715 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10717 # Whether or not to optimize for fast installation.
10718 fast_install=$enable_fast_install
10721 host_alias=$host_alias
10725 # The build system.
10726 build_alias=$build_alias
10730 # An echo program that does not interpret backslashes.
10735 AR_FLAGS=$lt_AR_FLAGS
10740 # LTCC compiler flags.
10741 LTCFLAGS=$lt_LTCFLAGS
10743 # A language-specific compiler.
10746 # Is the compiler the GNU C compiler?
10749 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
10750 gcc_ver=\`gcc -dumpversion\`
10755 # The linker used to build libraries.
10758 # Whether we need hard or soft links.
10761 # A BSD-compatible nm program.
10764 # A symbol stripping program
10767 # Used to examine libraries when file_magic_cmd begins "file"
10768 MAGIC_CMD=$MAGIC_CMD
10770 # Used on cygwin: DLL creation program.
10773 # Used on cygwin: object dumper.
10776 # Used on cygwin: assembler.
10779 # The name of the directory that contains temporary libtool files.
10782 # How to create reloadable object files.
10783 reload_flag=$lt_reload_flag
10784 reload_cmds=$lt_reload_cmds
10786 # How to pass a linker flag through the compiler.
10787 wl=$lt_lt_prog_compiler_wl
10789 # Object file suffix (normally "o").
10790 objext="$ac_objext"
10792 # Old archive suffix (normally "a").
10795 # Shared library suffix (normally ".so").
10796 shrext_cmds='$shrext_cmds'
10798 # Executable file suffix (normally "").
10801 # Additional compiler flags for building library objects.
10802 pic_flag=$lt_lt_prog_compiler_pic
10805 # What is the maximum length of a command?
10806 max_cmd_len=$lt_cv_sys_max_cmd_len
10808 # Does compiler simultaneously support -c and -o options?
10809 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10811 # Must we lock files when doing compilation?
10812 need_locks=$lt_need_locks
10814 # Do we need the lib prefix for modules?
10815 need_lib_prefix=$need_lib_prefix
10817 # Do we need a version for libraries?
10818 need_version=$need_version
10820 # Whether dlopen is supported.
10821 dlopen_support=$enable_dlopen
10823 # Whether dlopen of programs is supported.
10824 dlopen_self=$enable_dlopen_self
10826 # Whether dlopen of statically linked programs is supported.
10827 dlopen_self_static=$enable_dlopen_self_static
10829 # Compiler flag to prevent dynamic linking.
10830 link_static_flag=$lt_lt_prog_compiler_static
10832 # Compiler flag to turn off builtin functions.
10833 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10835 # Compiler flag to allow reflexive dlopens.
10836 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10838 # Compiler flag to generate shared objects directly from archives.
10839 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10841 # Compiler flag to generate thread-safe objects.
10842 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10844 # Library versioning type.
10845 version_type=$version_type
10847 # Format of library name prefix.
10848 libname_spec=$lt_libname_spec
10850 # List of archive names. First name is the real one, the rest are links.
10851 # The last name is the one that the linker finds with -lNAME.
10852 library_names_spec=$lt_library_names_spec
10854 # The coded name of the library, if different from the real name.
10855 soname_spec=$lt_soname_spec
10857 # Commands used to build and install an old-style archive.
10859 old_archive_cmds=$lt_old_archive_cmds
10860 old_postinstall_cmds=$lt_old_postinstall_cmds
10861 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10863 # Create an old-style archive from a shared archive.
10864 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10866 # Create a temporary old-style archive to link instead of a shared archive.
10867 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10869 # Commands used to build and install a shared archive.
10870 archive_cmds=$lt_archive_cmds
10871 archive_expsym_cmds=$lt_archive_expsym_cmds
10872 postinstall_cmds=$lt_postinstall_cmds
10873 postuninstall_cmds=$lt_postuninstall_cmds
10875 # Commands used to build a loadable module (assumed same as above if empty)
10876 module_cmds=$lt_module_cmds
10877 module_expsym_cmds=$lt_module_expsym_cmds
10879 # Commands to strip libraries.
10880 old_striplib=$lt_old_striplib
10881 striplib=$lt_striplib
10883 # Dependencies to place before the objects being linked to create a
10885 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10887 # Dependencies to place after the objects being linked to create a
10889 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10891 # Dependencies to place before the objects being linked to create a
10893 predeps=$lt_predeps
10895 # Dependencies to place after the objects being linked to create a
10897 postdeps=$lt_postdeps
10899 # The library search path used internally by the compiler when linking
10900 # a shared library.
10901 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10903 # Method to check whether dependent libraries are shared objects.
10904 deplibs_check_method=$lt_deplibs_check_method
10906 # Command to use when deplibs_check_method == file_magic.
10907 file_magic_cmd=$lt_file_magic_cmd
10909 # Flag that allows shared libraries with undefined symbols to be built.
10910 allow_undefined_flag=$lt_allow_undefined_flag
10912 # Flag that forces no undefined symbols.
10913 no_undefined_flag=$lt_no_undefined_flag
10915 # Commands used to finish a libtool library installation in a directory.
10916 finish_cmds=$lt_finish_cmds
10918 # Same as above, but a single script fragment to be evaled but not shown.
10919 finish_eval=$lt_finish_eval
10921 # Take the output of nm and produce a listing of raw symbols and C names.
10922 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10924 # Transform the output of nm in a proper C declaration
10925 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10927 # Transform the output of nm in a C name address pair
10928 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10930 # This is the shared library runtime path variable.
10931 runpath_var=$runpath_var
10933 # This is the shared library path variable.
10934 shlibpath_var=$shlibpath_var
10936 # Is shlibpath searched before the hard-coded library search path?
10937 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10939 # How to hardcode a shared library path into an executable.
10940 hardcode_action=$hardcode_action
10942 # Whether we should hardcode library paths into libraries.
10943 hardcode_into_libs=$hardcode_into_libs
10945 # Flag to hardcode \$libdir into a binary during linking.
10946 # This must work even if \$libdir does not exist.
10947 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10949 # If ld is used when linking, flag to hardcode \$libdir into
10950 # a binary during linking. This must work even if \$libdir does
10952 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10954 # Whether we need a single -rpath flag with a separated argument.
10955 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10957 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10958 # resulting binary.
10959 hardcode_direct=$hardcode_direct
10961 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10962 # resulting binary.
10963 hardcode_minus_L=$hardcode_minus_L
10965 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10966 # the resulting binary.
10967 hardcode_shlibpath_var=$hardcode_shlibpath_var
10969 # Set to yes if building a shared library automatically hardcodes DIR into the library
10970 # and all subsequent libraries and executables linked against it.
10971 hardcode_automatic=$hardcode_automatic
10973 # Variables whose values should be saved in libtool wrapper scripts and
10974 # restored at relink time.
10975 variables_saved_for_relink="$variables_saved_for_relink"
10977 # Whether libtool must link a program against all its dependency libraries.
10978 link_all_deplibs=$link_all_deplibs
10980 # Compile-time system search path for libraries
10981 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10983 # Run-time system search path for libraries
10984 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10986 # Fix the shell variable \$srcfile for the compiler.
10987 fix_srcfile_path="$fix_srcfile_path"
10989 # Set to yes if exported symbols are required.
10990 always_export_symbols=$always_export_symbols
10992 # The commands to list exported symbols.
10993 export_symbols_cmds=$lt_export_symbols_cmds
10995 # The commands to extract the exported symbol list from a shared archive.
10996 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10998 # Symbols that should not be listed in the preloaded symbols.
10999 exclude_expsyms=$lt_exclude_expsyms
11001 # Symbols that must always be exported.
11002 include_expsyms=$lt_include_expsyms
11004 # ### END LIBTOOL CONFIG
11011 cat <<\EOF >> "$cfgfile"
11013 # AIX sometimes has problems with the GCC collect2 program. For some
11014 # reason, if we set the COLLECT_NAMES environment variable, the problems
11015 # vanish in a puff of smoke.
11016 if test "X${COLLECT_NAMES+set}" != Xset; then
11018 export COLLECT_NAMES
11024 # We use sed instead of cat because bash on DJGPP gets confused if
11025 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11026 # text mode, it properly converts lines to CR/LF. This bash problem
11027 # is reportedly fixed, but why not run on old versions too?
11028 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11030 mv -f "$cfgfile" "$ofile" || \
11031 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11035 # If there is no Makefile yet, we rely on a make rule to execute
11036 # `config.status --recheck' to rerun these tests and create the
11037 # libtool script then.
11038 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11039 if test -f "$ltmain_in"; then
11040 test -f Makefile && make "$ltmain"
11046 ac_cpp='$CPP $CPPFLAGS'
11047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11054 # Check whether --with-tags was given.
11055 if test "${with_tags+set}" = set; then
11056 withval=$with_tags; tagnames="$withval"
11060 if test -f "$ltmain" && test -n "$tagnames"; then
11061 if test ! -f "${ofile}"; then
11062 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11063 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11066 if test -z "$LTCC"; then
11067 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11068 if test -z "$LTCC"; then
11069 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11070 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11072 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11073 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11076 if test -z "$LTCFLAGS"; then
11077 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11080 # Extract list of available tagged configurations in $ofile.
11081 # Note that this assumes the entire list is on one line.
11082 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11084 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11085 for tagname in $tagnames; do
11087 # Check whether tagname contains only valid characters
11088 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11090 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11091 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11092 { (exit 1); exit 1; }; }
11096 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11098 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11099 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11100 { (exit 1); exit 1; }; }
11103 # Update the list of available tags.
11104 if test -n "$tagname"; then
11105 echo appending configuration tag \"$tagname\" to $ofile
11109 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11110 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11111 (test "X$CXX" != "Xg++"))) ; then
11113 ac_cpp='$CXXCPP $CPPFLAGS'
11114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11121 archive_cmds_need_lc_CXX=no
11122 allow_undefined_flag_CXX=
11123 always_export_symbols_CXX=no
11124 archive_expsym_cmds_CXX=
11125 export_dynamic_flag_spec_CXX=
11126 hardcode_direct_CXX=no
11127 hardcode_libdir_flag_spec_CXX=
11128 hardcode_libdir_flag_spec_ld_CXX=
11129 hardcode_libdir_separator_CXX=
11130 hardcode_minus_L_CXX=no
11131 hardcode_shlibpath_var_CXX=unsupported
11132 hardcode_automatic_CXX=no
11134 module_expsym_cmds_CXX=
11135 link_all_deplibs_CXX=unknown
11136 old_archive_cmds_CXX=$old_archive_cmds
11137 no_undefined_flag_CXX=
11138 whole_archive_flag_spec_CXX=
11139 enable_shared_with_static_runtimes_CXX=no
11141 # Dependencies to place before and after the object being linked:
11142 predep_objects_CXX=
11143 postdep_objects_CXX=
11146 compiler_lib_search_path_CXX=
11148 # Source file extension for C++ test sources.
11151 # Object file extension for compiled C++ test sources.
11155 # Code to be used in simple compile tests
11156 lt_simple_compile_test_code="int some_variable = 0;\n"
11158 # Code to be used in simple link tests
11159 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11161 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11163 # If no C compiler was specified, use CC.
11166 # If no C compiler flags were specified, use CFLAGS.
11167 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11169 # Allow CC to be a program name with arguments.
11173 # save warnings/boilerplate of simple test code
11174 ac_outfile=conftest.$ac_objext
11175 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11176 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11177 _lt_compiler_boilerplate=`cat conftest.err`
11180 ac_outfile=conftest.$ac_objext
11181 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11182 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11183 _lt_linker_boilerplate=`cat conftest.err`
11187 # Allow CC to be a program name with arguments.
11192 lt_save_with_gnu_ld=$with_gnu_ld
11193 lt_save_path_LD=$lt_cv_path_LD
11194 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11195 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11197 $as_unset lt_cv_prog_gnu_ld
11199 if test -n "${lt_cv_path_LDCXX+set}"; then
11200 lt_cv_path_LD=$lt_cv_path_LDCXX
11202 $as_unset lt_cv_path_LD
11204 test -z "${LDCXX+set}" || LD=$LDCXX
11208 for cc_temp in $compiler""; do
11210 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11211 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11216 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11219 # We don't want -fno-exception wen compiling C++ code, so set the
11220 # no_builtin_flag separately
11221 if test "$GXX" = yes; then
11222 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11224 lt_prog_compiler_no_builtin_flag_CXX=
11227 if test "$GXX" = yes; then
11228 # Set up default GNU C++ configuration
11231 # Check whether --with-gnu-ld was given.
11232 if test "${with_gnu_ld+set}" = set; then
11233 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11239 if test "$GCC" = yes; then
11240 # Check if gcc -print-prog-name=ld gives a path.
11241 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11242 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11245 # gcc leaves a trailing carriage return which upsets mingw
11246 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11248 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11251 # Accept absolute paths.
11253 re_direlt='/[^/][^/]*/\.\./'
11254 # Canonicalize the pathname of ld
11255 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11256 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11257 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11259 test -z "$LD" && LD="$ac_prog"
11262 # If it fails, then pretend we aren't using GCC.
11266 # If it is relative, then search for the first ld in PATH.
11267 with_gnu_ld=unknown
11270 elif test "$with_gnu_ld" = yes; then
11271 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11272 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11274 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11275 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11277 if test "${lt_cv_path_LD+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 if test -z "$LD"; then
11281 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11282 for ac_dir in $PATH; do
11284 test -z "$ac_dir" && ac_dir=.
11285 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11286 lt_cv_path_LD="$ac_dir/$ac_prog"
11287 # Check to see if the program is GNU ld. I'd rather use --version,
11288 # but apparently some variants of GNU ld only accept -v.
11289 # Break only if it was the GNU/non-GNU ld that we prefer.
11290 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11291 *GNU* | *'with BFD'*)
11292 test "$with_gnu_ld" != no && break
11295 test "$with_gnu_ld" != yes && break
11302 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11306 LD="$lt_cv_path_LD"
11307 if test -n "$LD"; then
11308 { echo "$as_me:$LINENO: result: $LD" >&5
11309 echo "${ECHO_T}$LD" >&6; }
11311 { echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6; }
11314 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11315 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11316 { (exit 1); exit 1; }; }
11317 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11318 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11319 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11322 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11323 case `$LD -v 2>&1 </dev/null` in
11324 *GNU* | *'with BFD'*)
11325 lt_cv_prog_gnu_ld=yes
11328 lt_cv_prog_gnu_ld=no
11332 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11333 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11334 with_gnu_ld=$lt_cv_prog_gnu_ld
11338 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11339 # archiving commands below assume that GNU ld is being used.
11340 if test "$with_gnu_ld" = yes; then
11341 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11342 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'
11344 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11345 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11347 # If archive_cmds runs LD, not CC, wlarc should be empty
11348 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11349 # investigate it a little bit more. (MM)
11352 # ancient GNU ld didn't support --whole-archive et. al.
11353 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11354 grep 'no-whole-archive' > /dev/null; then
11355 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11357 whole_archive_flag_spec_CXX=
11363 # A generic and very simple default shared library creation
11364 # command for GNU C++ for the case where it uses the native
11365 # linker, instead of GNU ld. If possible, this setting should
11366 # overridden to take advantage of the native linker features on
11367 # the platform it is being used on.
11368 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11371 # Commands to make compiler produce verbose output that lists
11372 # what "hidden" libraries, object files and flags are used when
11373 # linking a shared library.
11374 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11382 # PORTME: fill in a description of your system's C++ link characteristics
11383 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11384 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11388 # FIXME: insert proper C++ library support
11392 if test "$host_cpu" = ia64; then
11393 # On IA64, the linker does run time linking by default, so we don't
11394 # have to do anything special.
11395 aix_use_runtimelinking=no
11396 exp_sym_flag='-Bexport'
11399 aix_use_runtimelinking=no
11401 # Test if we are trying to use run time linking or normal
11402 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11403 # need to do runtime linking.
11404 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11405 for ld_flag in $LDFLAGS; do
11408 aix_use_runtimelinking=yes
11416 exp_sym_flag='-bexport'
11417 no_entry_flag='-bnoentry'
11420 # When large executables or shared objects are built, AIX ld can
11421 # have problems creating the table of contents. If linking a library
11422 # or program results in "error TOC overflow" add -mminimal-toc to
11423 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11424 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11426 archive_cmds_CXX=''
11427 hardcode_direct_CXX=yes
11428 hardcode_libdir_separator_CXX=':'
11429 link_all_deplibs_CXX=yes
11431 if test "$GXX" = yes; then
11432 case $host_os in aix4.[012]|aix4.[012].*)
11433 # We only want to do this on AIX 4.2 and lower, the check
11434 # below for broken collect2 doesn't work under 4.3+
11435 collect2name=`${CC} -print-prog-name=collect2`
11436 if test -f "$collect2name" && \
11437 strings "$collect2name" | grep resolve_lib_name >/dev/null
11439 # We have reworked collect2
11440 hardcode_direct_CXX=yes
11442 # We have old collect2
11443 hardcode_direct_CXX=unsupported
11444 # It fails to find uninstalled libraries when the uninstalled
11445 # path is not listed in the libpath. Setting hardcode_minus_L
11446 # to unsupported forces relinking
11447 hardcode_minus_L_CXX=yes
11448 hardcode_libdir_flag_spec_CXX='-L$libdir'
11449 hardcode_libdir_separator_CXX=
11453 shared_flag='-shared'
11454 if test "$aix_use_runtimelinking" = yes; then
11455 shared_flag="$shared_flag "'${wl}-G'
11459 if test "$host_cpu" = ia64; then
11460 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11461 # chokes on -Wl,-G. The following line is correct:
11464 if test "$aix_use_runtimelinking" = yes; then
11465 shared_flag='${wl}-G'
11467 shared_flag='${wl}-bM:SRE'
11472 # It seems that -bexpall does not export symbols beginning with
11473 # underscore (_), so it is better to generate a list of symbols to export.
11474 always_export_symbols_CXX=yes
11475 if test "$aix_use_runtimelinking" = yes; then
11476 # Warning - without using the other runtime loading flags (-brtl),
11477 # -berok will link without error, but may produce a broken library.
11478 allow_undefined_flag_CXX='-berok'
11479 # Determine the default libpath from the value encoded in an empty executable.
11480 cat >conftest.$ac_ext <<_ACEOF
11483 cat confdefs.h >>conftest.$ac_ext
11484 cat >>conftest.$ac_ext <<_ACEOF
11485 /* end confdefs.h. */
11495 rm -f conftest.$ac_objext conftest$ac_exeext
11496 if { (ac_try="$ac_link"
11497 case "(($ac_try" in
11498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11499 *) ac_try_echo=$ac_try;;
11501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11502 (eval "$ac_link") 2>conftest.er1
11504 grep -v '^ *+' conftest.er1 >conftest.err
11506 cat conftest.err >&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } && {
11509 test -z "$ac_cxx_werror_flag" ||
11510 test ! -s conftest.err
11511 } && test -s conftest$ac_exeext &&
11512 $as_test_x conftest$ac_exeext; then
11514 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11516 # Check for a 64-bit object if we didn't find anything.
11517 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; }
11520 echo "$as_me: failed program was:" >&5
11521 sed 's/^/| /' conftest.$ac_ext >&5
11526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11527 conftest$ac_exeext conftest.$ac_ext
11528 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11530 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11532 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"
11534 if test "$host_cpu" = ia64; then
11535 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11536 allow_undefined_flag_CXX="-z nodefs"
11537 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"
11539 # Determine the default libpath from the value encoded in an empty executable.
11540 cat >conftest.$ac_ext <<_ACEOF
11543 cat confdefs.h >>conftest.$ac_ext
11544 cat >>conftest.$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11555 rm -f conftest.$ac_objext conftest$ac_exeext
11556 if { (ac_try="$ac_link"
11557 case "(($ac_try" in
11558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11559 *) ac_try_echo=$ac_try;;
11561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11562 (eval "$ac_link") 2>conftest.er1
11564 grep -v '^ *+' conftest.er1 >conftest.err
11566 cat conftest.err >&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } && {
11569 test -z "$ac_cxx_werror_flag" ||
11570 test ! -s conftest.err
11571 } && test -s conftest$ac_exeext &&
11572 $as_test_x conftest$ac_exeext; then
11574 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11576 # Check for a 64-bit object if we didn't find anything.
11577 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; }
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.$ac_ext >&5
11586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11587 conftest$ac_exeext conftest.$ac_ext
11588 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11590 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11591 # Warning - without using the other run time loading flags,
11592 # -berok will link without error, but may produce a broken library.
11593 no_undefined_flag_CXX=' ${wl}-bernotok'
11594 allow_undefined_flag_CXX=' ${wl}-berok'
11595 # Exported symbols can be pulled into shared objects from archives
11596 whole_archive_flag_spec_CXX='$convenience'
11597 archive_cmds_need_lc_CXX=yes
11598 # This is similar to how AIX traditionally builds its shared libraries.
11599 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'
11605 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11606 allow_undefined_flag_CXX=unsupported
11607 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11608 # support --undefined. This deserves some investigation. FIXME
11609 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11616 case $cc_basename in
11618 # FIXME: insert proper C++ library support
11624 cygwin* | mingw* | pw32*)
11625 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11626 # as there is no search path for DLLs.
11627 hardcode_libdir_flag_spec_CXX='-L$libdir'
11628 allow_undefined_flag_CXX=unsupported
11629 always_export_symbols_CXX=no
11630 enable_shared_with_static_runtimes_CXX=yes
11632 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11633 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'
11634 # If the export-symbols file already is a .def file (1st line
11635 # is EXPORTS), use it as is; otherwise, prepend...
11636 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11637 cp $export_symbols $output_objdir/$soname.def;
11639 echo EXPORTS > $output_objdir/$soname.def;
11640 cat $export_symbols >> $output_objdir/$soname.def;
11642 $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'
11647 darwin* | rhapsody*)
11649 rhapsody* | darwin1.[012])
11650 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11653 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11654 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11656 case ${MACOSX_DEPLOYMENT_TARGET} in
11658 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11661 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11667 archive_cmds_need_lc_CXX=no
11668 hardcode_direct_CXX=no
11669 hardcode_automatic_CXX=yes
11670 hardcode_shlibpath_var_CXX=unsupported
11671 whole_archive_flag_spec_CXX=''
11672 link_all_deplibs_CXX=yes
11674 if test "$GXX" = yes ; then
11675 lt_int_apple_cc_single_mod=no
11676 output_verbose_link_cmd='echo'
11677 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11678 lt_int_apple_cc_single_mod=yes
11680 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11681 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11683 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'
11685 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11686 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11687 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11688 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}'
11690 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}'
11692 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}'
11694 case $cc_basename in
11696 output_verbose_link_cmd='echo'
11697 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'
11698 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11699 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11700 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}'
11701 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}'
11711 case $cc_basename in
11713 # FIXME: insert proper C++ library support
11717 # Green Hills C++ Compiler
11718 # FIXME: insert proper C++ library support
11722 # FIXME: insert proper C++ library support
11728 # C++ shared libraries reported to be fairly broken before switch to ELF
11732 archive_cmds_need_lc_CXX=no
11734 freebsd* | kfreebsd*-gnu | dragonfly*)
11735 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11742 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11743 hardcode_libdir_separator_CXX=:
11744 export_dynamic_flag_spec_CXX='${wl}-E'
11745 hardcode_direct_CXX=yes
11746 hardcode_minus_L_CXX=yes # Not in the search PATH,
11747 # but as the default
11748 # location of the library.
11750 case $cc_basename in
11752 # FIXME: insert proper C++ library support
11756 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'
11757 # Commands to make compiler produce verbose output that lists
11758 # what "hidden" libraries, object files and flags are used when
11759 # linking a shared library.
11761 # There doesn't appear to be a way to prevent this compiler from
11762 # explicitly linking system object files so we need to strip them
11763 # from the output so that they don't get included in the library
11765 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'
11768 if test "$GXX" = yes; then
11769 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'
11771 # FIXME: insert proper C++ library support
11778 if test $with_gnu_ld = no; then
11779 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11780 hardcode_libdir_separator_CXX=:
11784 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11787 export_dynamic_flag_spec_CXX='${wl}-E'
11793 hardcode_direct_CXX=no
11794 hardcode_shlibpath_var_CXX=no
11797 hardcode_direct_CXX=yes
11798 hardcode_minus_L_CXX=yes # Not in the search PATH,
11799 # but as the default
11800 # location of the library.
11804 case $cc_basename in
11806 # FIXME: insert proper C++ library support
11812 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11815 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11818 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11821 # Commands to make compiler produce verbose output that lists
11822 # what "hidden" libraries, object files and flags are used when
11823 # linking a shared library.
11825 # There doesn't appear to be a way to prevent this compiler from
11826 # explicitly linking system object files so we need to strip them
11827 # from the output so that they don't get included in the library
11829 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'
11832 if test "$GXX" = yes; then
11833 if test $with_gnu_ld = no; then
11836 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11839 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11842 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'
11847 # FIXME: insert proper C++ library support
11854 hardcode_direct_CXX=no
11855 hardcode_shlibpath_var_CXX=no
11856 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11857 export_dynamic_flag_spec_CXX='${wl}-E'
11858 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11859 # Instead, shared libraries are loaded at an image base (0x10000000 by
11860 # default) and relocated if they conflict, which is a slow very memory
11861 # consuming and fragmenting process. To avoid this, we pick a random,
11862 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11863 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11864 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'
11865 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'
11868 case $cc_basename in
11871 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'
11873 # Archives containing C++ object files must be created using
11874 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11875 # necessary to make sure instantiated templates are included
11877 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11880 if test "$GXX" = yes; then
11881 if test "$with_gnu_ld" = no; then
11882 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'
11884 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'
11887 link_all_deplibs_CXX=yes
11890 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11891 hardcode_libdir_separator_CXX=:
11894 case $cc_basename in
11896 # Kuck and Associates, Inc. (KAI) C++ Compiler
11898 # KCC will only create a shared library if the output file
11899 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11900 # to its proper name (with version) after linking.
11901 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'
11902 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'
11903 # Commands to make compiler produce verbose output that lists
11904 # what "hidden" libraries, object files and flags are used when
11905 # linking a shared library.
11907 # There doesn't appear to be a way to prevent this compiler from
11908 # explicitly linking system object files so we need to strip them
11909 # from the output so that they don't get included in the library
11911 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'
11913 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11914 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11916 # Archives containing C++ object files must be created using
11917 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11918 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11923 # version 8.0 and above of icpc choke on multiply defined symbols
11924 # if we add $predep_objects and $postdep_objects, however 7.1 and
11925 # earlier do not add the objects themselves.
11926 case `$CC -V 2>&1` in
11928 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11929 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'
11931 *) # Version 8.0 or newer
11934 ia64*) tmp_idyn=' -i_dynamic';;
11936 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11937 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'
11940 archive_cmds_need_lc_CXX=no
11941 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11942 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11943 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11946 # Portland Group C++ compiler
11947 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11948 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'
11950 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11951 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11952 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'
11956 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11957 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'
11959 runpath_var=LD_RUN_PATH
11960 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11961 hardcode_libdir_separator_CXX=:
11963 # Commands to make compiler produce verbose output that lists
11964 # what "hidden" libraries, object files and flags are used when
11965 # linking a shared library.
11967 # There doesn't appear to be a way to prevent this compiler from
11968 # explicitly linking system object files so we need to strip them
11969 # from the output so that they don't get included in the library
11971 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'
11976 # FIXME: insert proper C++ library support
11980 # FIXME: insert proper C++ library support
11984 case $cc_basename in
11986 # FIXME: insert proper C++ library support
11990 # FIXME: insert proper C++ library support
11996 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11997 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11999 hardcode_libdir_flag_spec_CXX='-R$libdir'
12000 hardcode_direct_CXX=yes
12001 hardcode_shlibpath_var_CXX=no
12003 # Workaround some broken pre-1.5 toolchains
12004 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12007 # C++ shared libraries are fairly broken
12011 hardcode_direct_CXX=yes
12012 hardcode_shlibpath_var_CXX=no
12013 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12014 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12015 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12016 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12017 export_dynamic_flag_spec_CXX='${wl}-E'
12018 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12020 output_verbose_link_cmd='echo'
12023 case $cc_basename in
12025 # Kuck and Associates, Inc. (KAI) C++ Compiler
12027 # KCC will only create a shared library if the output file
12028 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12029 # to its proper name (with version) after linking.
12030 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'
12032 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12033 hardcode_libdir_separator_CXX=:
12035 # Archives containing C++ object files must be created using
12036 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12037 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12041 # Rational C++ 2.4.1
12042 # FIXME: insert proper C++ library support
12046 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12047 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'
12049 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12050 hardcode_libdir_separator_CXX=:
12052 # Commands to make compiler produce verbose output that lists
12053 # what "hidden" libraries, object files and flags are used when
12054 # linking a shared library.
12056 # There doesn't appear to be a way to prevent this compiler from
12057 # explicitly linking system object files so we need to strip them
12058 # from the output so that they don't get included in the library
12060 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'
12063 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12064 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12065 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'
12067 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12068 hardcode_libdir_separator_CXX=:
12070 # Commands to make compiler produce verbose output that lists
12071 # what "hidden" libraries, object files and flags are used when
12072 # linking a shared library.
12073 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12076 # FIXME: insert proper C++ library support
12083 case $cc_basename in
12085 # Kuck and Associates, Inc. (KAI) C++ Compiler
12087 # KCC will only create a shared library if the output file
12088 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12089 # to its proper name (with version) after linking.
12090 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'
12092 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12093 hardcode_libdir_separator_CXX=:
12095 # Archives containing C++ object files must be created using
12096 # the KAI C++ compiler.
12097 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12100 # Rational C++ 2.4.1
12101 # FIXME: insert proper C++ library support
12105 allow_undefined_flag_CXX=' -expect_unresolved \*'
12106 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'
12107 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12108 echo "-hidden">> $lib.exp~
12109 $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~
12112 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12113 hardcode_libdir_separator_CXX=:
12115 # Commands to make compiler produce verbose output that lists
12116 # what "hidden" libraries, object files and flags are used when
12117 # linking a shared library.
12119 # There doesn't appear to be a way to prevent this compiler from
12120 # explicitly linking system object files so we need to strip them
12121 # from the output so that they don't get included in the library
12123 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'
12126 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12127 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12128 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'
12130 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12131 hardcode_libdir_separator_CXX=:
12133 # Commands to make compiler produce verbose output that lists
12134 # what "hidden" libraries, object files and flags are used when
12135 # linking a shared library.
12136 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12139 # FIXME: insert proper C++ library support
12146 # FIXME: insert proper C++ library support
12150 case $cc_basename in
12153 # FIXME: insert proper C++ library support
12158 # FIXME: insert proper C++ library support
12162 # FIXME: insert proper C++ library support
12168 case $cc_basename in
12170 # Sun C++ 4.2, 5.x and Centerline C++
12171 archive_cmds_need_lc_CXX=yes
12172 no_undefined_flag_CXX=' -zdefs'
12173 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12174 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12175 $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'
12177 hardcode_libdir_flag_spec_CXX='-R$libdir'
12178 hardcode_shlibpath_var_CXX=no
12180 solaris2.[0-5] | solaris2.[0-5].*) ;;
12182 # The C++ compiler is used as linker so we must use $wl
12183 # flag to pass the commands to the underlying system
12184 # linker. We must also pass each convience library through
12185 # to the system linker between allextract/defaultextract.
12186 # The C++ compiler will combine linker options so we
12187 # cannot just pass the convience library names through
12189 # Supported since Solaris 2.6 (maybe 2.5.1?)
12190 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'
12193 link_all_deplibs_CXX=yes
12195 output_verbose_link_cmd='echo'
12197 # Archives containing C++ object files must be created using
12198 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12199 # necessary to make sure instantiated templates are included
12201 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12204 # Green Hills C++ Compiler
12205 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12207 # The C++ compiler must be used to create the archive.
12208 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12211 # GNU C++ compiler with Solaris linker
12212 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12213 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12214 if $CC --version | grep -v '^2\.7' > /dev/null; then
12215 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12216 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12217 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12219 # Commands to make compiler produce verbose output that lists
12220 # what "hidden" libraries, object files and flags are used when
12221 # linking a shared library.
12222 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12224 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12226 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12227 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12228 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12230 # Commands to make compiler produce verbose output that lists
12231 # what "hidden" libraries, object files and flags are used when
12232 # linking a shared library.
12233 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12236 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12241 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12242 no_undefined_flag_CXX='${wl}-z,text'
12243 archive_cmds_need_lc_CXX=no
12244 hardcode_shlibpath_var_CXX=no
12245 runpath_var='LD_RUN_PATH'
12247 case $cc_basename in
12249 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12250 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12253 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12254 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12258 sysv5* | sco3.2v5* | sco5v6*)
12259 # Note: We can NOT use -z defs as we might desire, because we do not
12260 # link with -lc, and that would cause any symbols used from libc to
12261 # always be unresolved, which means just about no library would
12262 # ever link correctly. If we're not using GNU ld we use -z text
12263 # though, which does catch some bad symbols but isn't as heavy-handed
12265 # For security reasons, it is highly recommended that you always
12266 # use absolute paths for naming shared libraries, and exclude the
12267 # DT_RUNPATH tag from executables and libraries. But doing so
12268 # requires that you compile everything twice, which is a pain.
12269 # So that behaviour is only enabled if SCOABSPATH is set to a
12270 # non-empty value in the environment. Most likely only useful for
12271 # creating official distributions of packages.
12272 # This is a hack until libtool officially supports absolute path
12273 # names for shared libraries.
12274 no_undefined_flag_CXX='${wl}-z,text'
12275 allow_undefined_flag_CXX='${wl}-z,nodefs'
12276 archive_cmds_need_lc_CXX=no
12277 hardcode_shlibpath_var_CXX=no
12278 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12279 hardcode_libdir_separator_CXX=':'
12280 link_all_deplibs_CXX=yes
12281 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12282 runpath_var='LD_RUN_PATH'
12284 case $cc_basename in
12286 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12287 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12290 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12291 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12296 case $cc_basename in
12298 # NonStop-UX NCC 3.20
12299 # FIXME: insert proper C++ library support
12303 # FIXME: insert proper C++ library support
12309 # FIXME: insert proper C++ library support
12313 # FIXME: insert proper C++ library support
12317 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12318 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12319 test "$ld_shlibs_CXX" = no && can_build_shared=no
12325 cat > conftest.$ac_ext <<EOF
12329 Foo (void) { a = 0; }
12335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12336 (eval $ac_compile) 2>&5
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; then
12340 # Parse the compiler output and extract the necessary
12341 # objects, libraries and library flags.
12343 # Sentinel used to keep track of whether or not we are before
12344 # the conftest object file.
12345 pre_test_object_deps_done=no
12347 # The `*' in the case matches for architectures that use `case' in
12348 # $output_verbose_cmd can trigger glob expansion during the loop
12349 # eval without this substitution.
12350 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12352 for p in `eval $output_verbose_link_cmd`; do
12356 # Some compilers place space between "-{L,R}" and the path.
12357 # Remove the space.
12358 if test $p = "-L" \
12359 || test $p = "-R"; then
12366 if test "$pre_test_object_deps_done" = no; then
12369 # Internal compiler library paths should come after those
12370 # provided the user. The postdeps already come after the
12371 # user supplied libs so there is no need to process them.
12372 if test -z "$compiler_lib_search_path_CXX"; then
12373 compiler_lib_search_path_CXX="${prev}${p}"
12375 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12378 # The "-l" case would never come before the object being
12379 # linked, so don't bother handling this case.
12382 if test -z "$postdeps_CXX"; then
12383 postdeps_CXX="${prev}${p}"
12385 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12391 # This assumes that the test object file only shows up
12392 # once in the compiler output.
12393 if test "$p" = "conftest.$objext"; then
12394 pre_test_object_deps_done=yes
12398 if test "$pre_test_object_deps_done" = no; then
12399 if test -z "$predep_objects_CXX"; then
12400 predep_objects_CXX="$p"
12402 predep_objects_CXX="$predep_objects_CXX $p"
12405 if test -z "$postdep_objects_CXX"; then
12406 postdep_objects_CXX="$p"
12408 postdep_objects_CXX="$postdep_objects_CXX $p"
12413 *) ;; # Ignore the rest.
12421 echo "libtool.m4: error: problem compiling CXX test program"
12424 $rm -f confest.$objext
12426 # PORTME: override above test on systems where it is broken
12429 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12430 # hack all around it, let's just trust "g++" to DTRT.
12431 predep_objects_CXX=
12432 postdep_objects_CXX=
12437 case $cc_basename in
12439 # Adding this requires a known-good setup of shared libraries for
12440 # Sun compiler versions before 5.6, else PIC objects from an old
12441 # archive will be linked into the output, leading to subtle bugs.
12442 postdeps_CXX='-lCstd -lCrun'
12449 case " $postdeps_CXX " in
12450 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12453 lt_prog_compiler_wl_CXX=
12454 lt_prog_compiler_pic_CXX=
12455 lt_prog_compiler_static_CXX=
12457 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12458 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12460 # C++ specific cases for pic, static, wl, etc.
12461 if test "$GXX" = yes; then
12462 lt_prog_compiler_wl_CXX='-Wl,'
12463 lt_prog_compiler_static_CXX='-static'
12467 # All AIX code is PIC.
12468 if test "$host_cpu" = ia64; then
12469 # AIX 5 now supports IA64 processor
12470 lt_prog_compiler_static_CXX='-Bstatic'
12474 # FIXME: we need at least 68020 code to build shared libraries, but
12475 # adding the `-m68020' flag to GCC prevents building anything better,
12477 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12479 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12480 # PIC is the default for these OSes.
12482 mingw* | os2* | pw32*)
12483 # This hack is so that the source file can tell whether it is being
12484 # built for inclusion in a dll (and should export symbols for example).
12485 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12487 darwin* | rhapsody*)
12488 # PIC is the default on this platform
12489 # Common symbols not allowed in MH_DYLIB files
12490 lt_prog_compiler_pic_CXX='-fno-common'
12493 # DJGPP does not support shared libraries at all
12494 lt_prog_compiler_pic_CXX=
12497 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12498 # Instead, we relocate shared libraries at runtime.
12501 if test -d /usr/nec; then
12502 lt_prog_compiler_pic_CXX=-Kconform_pic
12506 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12507 # not for PA HP-UX.
12512 lt_prog_compiler_pic_CXX='-fPIC'
12517 lt_prog_compiler_pic_CXX='-fPIC'
12523 # All AIX code is PIC.
12524 if test "$host_cpu" = ia64; then
12525 # AIX 5 now supports IA64 processor
12526 lt_prog_compiler_static_CXX='-Bstatic'
12528 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12532 case $cc_basename in
12534 # Green Hills C++ Compiler
12535 # _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"
12540 # PIC is the default on this platform
12541 # Common symbols not allowed in MH_DYLIB files
12542 case $cc_basename in
12544 lt_prog_compiler_pic_CXX='-qnocommon'
12545 lt_prog_compiler_wl_CXX='-Wl,'
12550 case $cc_basename in
12552 lt_prog_compiler_pic_CXX='-KPIC'
12555 # Green Hills C++ Compiler
12556 lt_prog_compiler_pic_CXX='-pic'
12562 freebsd* | kfreebsd*-gnu | dragonfly*)
12563 # FreeBSD uses GNU C++
12565 hpux9* | hpux10* | hpux11*)
12566 case $cc_basename in
12568 lt_prog_compiler_wl_CXX='-Wl,'
12569 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12570 if test "$host_cpu" != ia64; then
12571 lt_prog_compiler_pic_CXX='+Z'
12575 lt_prog_compiler_wl_CXX='-Wl,'
12576 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12582 lt_prog_compiler_pic_CXX='+Z'
12591 # This is c89, which is MS Visual C++ (no shared libs)
12592 # Anyone wants to do a port?
12594 irix5* | irix6* | nonstopux*)
12595 case $cc_basename in
12597 lt_prog_compiler_wl_CXX='-Wl,'
12598 lt_prog_compiler_static_CXX='-non_shared'
12599 # CC pic flag -KPIC is the default.
12606 case $cc_basename in
12609 lt_prog_compiler_wl_CXX='--backend -Wl,'
12610 lt_prog_compiler_pic_CXX='-fPIC'
12614 lt_prog_compiler_wl_CXX='-Wl,'
12615 lt_prog_compiler_pic_CXX='-KPIC'
12616 lt_prog_compiler_static_CXX='-static'
12619 # Portland Group C++ compiler.
12620 lt_prog_compiler_wl_CXX='-Wl,'
12621 lt_prog_compiler_pic_CXX='-fpic'
12622 lt_prog_compiler_static_CXX='-Bstatic'
12626 # Make sure the PIC flag is empty. It appears that all Alpha
12627 # Linux and Compaq Tru64 Unix objects are PIC.
12628 lt_prog_compiler_pic_CXX=
12629 lt_prog_compiler_static_CXX='-non_shared'
12640 case $cc_basename in
12642 lt_prog_compiler_pic_CXX='-W c,exportall'
12650 osf3* | osf4* | osf5*)
12651 case $cc_basename in
12653 lt_prog_compiler_wl_CXX='--backend -Wl,'
12656 # Rational C++ 2.4.1
12657 lt_prog_compiler_pic_CXX='-pic'
12660 # Digital/Compaq C++
12661 lt_prog_compiler_wl_CXX='-Wl,'
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'
12674 case $cc_basename in
12676 # Sun C++ 4.2, 5.x and Centerline C++
12677 lt_prog_compiler_pic_CXX='-KPIC'
12678 lt_prog_compiler_static_CXX='-Bstatic'
12679 lt_prog_compiler_wl_CXX='-Qoption ld '
12682 # Green Hills C++ Compiler
12683 lt_prog_compiler_pic_CXX='-PIC'
12690 case $cc_basename in
12693 lt_prog_compiler_pic_CXX='-pic'
12694 lt_prog_compiler_static_CXX='-Bstatic'
12698 lt_prog_compiler_pic_CXX='-pic'
12705 case $cc_basename in
12707 # NonStop-UX NCC 3.20
12708 lt_prog_compiler_pic_CXX='-KPIC'
12714 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12715 case $cc_basename in
12717 lt_prog_compiler_wl_CXX='-Wl,'
12718 lt_prog_compiler_pic_CXX='-KPIC'
12719 lt_prog_compiler_static_CXX='-Bstatic'
12726 lt_prog_compiler_can_build_shared_CXX=no
12731 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12732 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12735 # Check to make sure the PIC flag actually works.
12737 if test -n "$lt_prog_compiler_pic_CXX"; then
12739 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12740 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12741 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12742 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 lt_prog_compiler_pic_works_CXX=no
12745 ac_outfile=conftest.$ac_objext
12746 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12747 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12748 # Insert the option either (1) after the last *FLAGS variable, or
12749 # (2) before a word containing "conftest.", or (3) at the end.
12750 # Note that $ac_compile itself does not contain backslashes and begins
12751 # with a dollar sign (not a hyphen), so the echo should work correctly.
12752 # The option is referenced via a variable to avoid confusing sed.
12753 lt_compile=`echo "$ac_compile" | $SED \
12754 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12755 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12756 -e 's:$: $lt_compiler_flag:'`
12757 (eval echo "\"\$as_me:12757: $lt_compile\"" >&5)
12758 (eval "$lt_compile" 2>conftest.err)
12760 cat conftest.err >&5
12761 echo "$as_me:12761: \$? = $ac_status" >&5
12762 if (exit $ac_status) && test -s "$ac_outfile"; then
12763 # The compiler can only warn and ignore the option if not recognized
12764 # So say no if there are warnings other than the usual output.
12765 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12766 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12767 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12768 lt_prog_compiler_pic_works_CXX=yes
12774 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12775 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12777 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12778 case $lt_prog_compiler_pic_CXX in
12780 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12783 lt_prog_compiler_pic_CXX=
12784 lt_prog_compiler_can_build_shared_CXX=no
12789 # For platforms which do not support PIC, -DPIC is meaningless:
12791 lt_prog_compiler_pic_CXX=
12794 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12799 # Check to make sure the static flag actually works.
12801 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12802 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12803 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12804 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 lt_prog_compiler_static_works_CXX=no
12808 save_LDFLAGS="$LDFLAGS"
12809 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12810 printf "$lt_simple_link_test_code" > conftest.$ac_ext
12811 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12812 # The linker can only warn and ignore the option if not recognized
12813 # So say no if there are warnings
12814 if test -s conftest.err; then
12815 # Append any errors to the config.log.
12816 cat conftest.err 1>&5
12817 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12818 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12819 if diff conftest.exp conftest.er2 >/dev/null; then
12820 lt_prog_compiler_static_works_CXX=yes
12823 lt_prog_compiler_static_works_CXX=yes
12827 LDFLAGS="$save_LDFLAGS"
12830 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12831 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12833 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12836 lt_prog_compiler_static_CXX=
12840 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12841 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12842 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 lt_cv_prog_compiler_c_o_CXX=no
12846 $rm -r conftest 2>/dev/null
12850 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12852 lt_compiler_flag="-o out/conftest2.$ac_objext"
12853 # Insert the option either (1) after the last *FLAGS variable, or
12854 # (2) before a word containing "conftest.", or (3) at the end.
12855 # Note that $ac_compile itself does not contain backslashes and begins
12856 # with a dollar sign (not a hyphen), so the echo should work correctly.
12857 lt_compile=`echo "$ac_compile" | $SED \
12858 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12860 -e 's:$: $lt_compiler_flag:'`
12861 (eval echo "\"\$as_me:12861: $lt_compile\"" >&5)
12862 (eval "$lt_compile" 2>out/conftest.err)
12864 cat out/conftest.err >&5
12865 echo "$as_me:12865: \$? = $ac_status" >&5
12866 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12868 # The compiler can only warn and ignore the option if not recognized
12869 # So say no if there are warnings
12870 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12871 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12872 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12873 lt_cv_prog_compiler_c_o_CXX=yes
12878 # SGI C++ compiler will create directory out/ii_files/ for
12879 # template instantiation
12880 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12881 $rm out/* && rmdir out
12887 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12888 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12891 hard_links="nottested"
12892 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12893 # do not overwrite the value of need_locks provided by the user
12894 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12895 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12898 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12900 ln conftest.a conftest.b 2>&5 || hard_links=no
12901 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12902 { echo "$as_me:$LINENO: result: $hard_links" >&5
12903 echo "${ECHO_T}$hard_links" >&6; }
12904 if test "$hard_links" = no; then
12905 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12906 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12913 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12914 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12916 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12919 # If we're using GNU nm, then we don't want the "-C" option.
12920 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12921 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12922 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'
12924 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'
12928 export_symbols_cmds_CXX="$ltdll_cmds"
12931 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'
12934 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12938 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12939 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12940 test "$ld_shlibs_CXX" = no && can_build_shared=no
12943 # Do we need to explicitly link libc?
12945 case "x$archive_cmds_need_lc_CXX" in
12947 # Assume -lc should be added
12948 archive_cmds_need_lc_CXX=yes
12950 if test "$enable_shared" = yes && test "$GCC" = yes; then
12951 case $archive_cmds_CXX in
12953 # FIXME: we may have to deal with multi-command sequences.
12956 # Test whether the compiler implicitly links with -lc since on some
12957 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12958 # to ld, don't add -lc before -lgcc.
12959 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12960 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12962 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12965 (eval $ac_compile) 2>&5
12967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); } 2>conftest.err; then
12971 libobjs=conftest.$ac_objext
12973 wl=$lt_prog_compiler_wl_CXX
12974 pic_flag=$lt_prog_compiler_pic_CXX
12980 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12981 allow_undefined_flag_CXX=
12982 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12983 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }
12988 archive_cmds_need_lc_CXX=no
12990 archive_cmds_need_lc_CXX=yes
12992 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12994 cat conftest.err 1>&5
12997 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12998 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13005 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13006 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13007 library_names_spec=
13008 libname_spec='lib$name'
13012 postuninstall_cmds=
13016 shlibpath_overrides_runpath=unknown
13018 dynamic_linker="$host_os ld.so"
13019 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13020 if test "$GCC" = yes; then
13021 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13022 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13023 # if the path contains ";" then we assume it to be the separator
13024 # otherwise default to the standard path separator (i.e. ":") - it is
13025 # assumed that no part of a normal pathname contains ";" but that should
13026 # okay in the real world where ";" in dirpaths is itself problematic.
13027 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13029 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13032 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13034 need_lib_prefix=unknown
13035 hardcode_into_libs=no
13037 # when you set need_version to no, make sure it does not cause -set_version
13038 # flags to be left without arguments
13039 need_version=unknown
13044 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13045 shlibpath_var=LIBPATH
13047 # AIX 3 has no versioning support, so we append a major version to the name.
13048 soname_spec='${libname}${release}${shared_ext}$major'
13055 hardcode_into_libs=yes
13056 if test "$host_cpu" = ia64; then
13057 # AIX 5 supports IA64
13058 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13059 shlibpath_var=LD_LIBRARY_PATH
13061 # With GCC up to 2.95.x, collect2 would create an import file
13062 # for dependence libraries. The import file would start with
13063 # the line `#! .'. This would cause the generated library to
13064 # depend on `.', always an invalid library. This was fixed in
13065 # development snapshots of GCC prior to 3.0.
13067 aix4 | aix4.[01] | aix4.[01].*)
13068 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13070 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13073 can_build_shared=no
13077 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13078 # soname into executable. Probably we can add versioning support to
13079 # collect2, so additional links can be useful in future.
13080 if test "$aix_use_runtimelinking" = yes; then
13081 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13082 # instead of lib<name>.a to let people know that these are not
13083 # typical AIX shared libraries.
13084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13086 # We preserve .a as extension for shared libraries through AIX4.2
13087 # and later when we are not doing run time linking.
13088 library_names_spec='${libname}${release}.a $libname.a'
13089 soname_spec='${libname}${release}${shared_ext}$major'
13091 shlibpath_var=LIBPATH
13096 library_names_spec='$libname.ixlibrary $libname.a'
13097 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13098 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'
13102 library_names_spec='${libname}${shared_ext}'
13103 dynamic_linker="$host_os ld.so"
13104 shlibpath_var=LIBRARY_PATH
13110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13111 soname_spec='${libname}${release}${shared_ext}$major'
13112 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13113 shlibpath_var=LD_LIBRARY_PATH
13114 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13115 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13116 # the default ld.so.conf also contains /usr/contrib/lib and
13117 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13118 # libtool to hard-code these into programs
13121 cygwin* | mingw* | pw32*)
13122 version_type=windows
13127 case $GCC,$host_os in
13128 yes,cygwin* | yes,mingw* | yes,pw32*)
13129 library_names_spec='$libname.dll.a'
13130 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13131 postinstall_cmds='base_file=`basename \${file}`~
13132 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13133 dldir=$destdir/`dirname \$dlpath`~
13134 test -d \$dldir || mkdir -p \$dldir~
13135 $install_prog $dir/$dlname \$dldir/$dlname~
13136 chmod a+x \$dldir/$dlname'
13137 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13138 dlpath=$dir/\$dldll~
13140 shlibpath_overrides_runpath=yes
13144 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13145 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13146 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13149 # MinGW DLLs use traditional 'lib' prefix
13150 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13151 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13152 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13153 # It is most probably a Windows format PATH printed by
13154 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13155 # path with ; separators, and with drive letters. We can handle the
13156 # drive letters (cygwin fileutils understands them), so leave them,
13157 # especially as we might pass files found there to a mingw objdump,
13158 # which wouldn't understand a cygwinified path. Ahh.
13159 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13161 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13165 # pw32 DLLs use 'pw' prefix rather than 'lib'
13166 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13172 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13175 dynamic_linker='Win32 ld.exe'
13176 # FIXME: first we should search . and the directory the executable is in
13180 darwin* | rhapsody*)
13181 dynamic_linker="$host_os dyld"
13182 version_type=darwin
13185 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13186 soname_spec='${libname}${release}${major}$shared_ext'
13187 shlibpath_overrides_runpath=yes
13188 shlibpath_var=DYLD_LIBRARY_PATH
13189 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13190 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13191 if test "$GCC" = yes; then
13192 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"`
13194 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13196 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13204 soname_spec='${libname}${release}${shared_ext}$major'
13205 shlibpath_var=LD_LIBRARY_PATH
13216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13217 soname_spec='${libname}${release}${shared_ext}$major'
13218 shlibpath_var=LD_LIBRARY_PATH
13219 shlibpath_overrides_runpath=no
13220 hardcode_into_libs=yes
13221 dynamic_linker='GNU ld.so'
13224 freebsd* | dragonfly*)
13225 # DragonFly does not have aout. When/if they implement a new
13226 # versioning mechanism, adjust this.
13227 if test -x /usr/bin/objformat; then
13228 objformat=`/usr/bin/objformat`
13231 freebsd[123]*) objformat=aout ;;
13232 *) objformat=elf ;;
13235 version_type=freebsd-$objformat
13236 case $version_type in
13238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13243 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13247 shlibpath_var=LD_LIBRARY_PATH
13250 shlibpath_overrides_runpath=yes
13252 freebsd3.[01]* | freebsdelf3.[01]*)
13253 shlibpath_overrides_runpath=yes
13254 hardcode_into_libs=yes
13256 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13257 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13258 shlibpath_overrides_runpath=no
13259 hardcode_into_libs=yes
13261 freebsd*) # from 4.6 on
13262 shlibpath_overrides_runpath=yes
13263 hardcode_into_libs=yes
13272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13273 soname_spec='${libname}${release}${shared_ext}$major'
13274 shlibpath_var=LD_LIBRARY_PATH
13275 hardcode_into_libs=yes
13278 hpux9* | hpux10* | hpux11*)
13279 # Give a soname corresponding to the major version so that dld.sl refuses to
13280 # link against other versions.
13287 hardcode_into_libs=yes
13288 dynamic_linker="$host_os dld.so"
13289 shlibpath_var=LD_LIBRARY_PATH
13290 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13292 soname_spec='${libname}${release}${shared_ext}$major'
13293 if test "X$HPUX_IA64_MODE" = X32; then
13294 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13296 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13298 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13302 hardcode_into_libs=yes
13303 dynamic_linker="$host_os dld.sl"
13304 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13305 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13307 soname_spec='${libname}${release}${shared_ext}$major'
13308 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13309 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13313 dynamic_linker="$host_os dld.sl"
13314 shlibpath_var=SHLIB_PATH
13315 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13317 soname_spec='${libname}${release}${shared_ext}$major'
13320 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13321 postinstall_cmds='chmod 555 $lib'
13328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13329 soname_spec='${libname}${release}${shared_ext}$major'
13330 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13331 shlibpath_var=LD_LIBRARY_PATH
13332 shlibpath_overrides_runpath=no
13333 hardcode_into_libs=yes
13336 irix5* | irix6* | nonstopux*)
13338 nonstopux*) version_type=nonstopux ;;
13340 if test "$lt_cv_prog_gnu_ld" = yes; then
13348 soname_spec='${libname}${release}${shared_ext}$major'
13349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13351 irix5* | nonstopux*)
13352 libsuff= shlibsuff=
13355 case $LD in # libtool.m4 will add one of these switches to LD
13356 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13357 libsuff= shlibsuff= libmagic=32-bit;;
13358 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13359 libsuff=32 shlibsuff=N32 libmagic=N32;;
13360 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13361 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13362 *) libsuff= shlibsuff= libmagic=never-match;;
13366 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13367 shlibpath_overrides_runpath=no
13368 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13369 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13370 hardcode_into_libs=yes
13373 # No shared lib support for Linux oldld, aout, or coff.
13374 linux*oldld* | linux*aout* | linux*coff*)
13378 # This must be Linux ELF.
13383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13384 soname_spec='${libname}${release}${shared_ext}$major'
13385 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13386 shlibpath_var=LD_LIBRARY_PATH
13387 shlibpath_overrides_runpath=no
13388 # This implies no fast_install, which is unacceptable.
13389 # Some rework will be needed to allow for fast_install
13390 # before this can be enabled.
13391 hardcode_into_libs=yes
13393 # find out which ABI we are using
13395 case "$host_cpu" in
13396 x86_64*|s390x*|powerpc64*)
13397 echo '#line 13397 "configure"' > conftest.$ac_ext
13398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13399 (eval $ac_compile) 2>&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); }; then
13403 case `/usr/bin/file conftest.$ac_objext` in
13406 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13414 # Append ld.so.conf contents to the search path
13415 if test -f /etc/ld.so.conf; then
13416 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' ' '`
13417 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13420 # We used to test for /lib/ld.so.1 and disable shared libraries on
13421 # powerpc, because MkLinux only supported shared libraries with the
13422 # GNU dynamic linker. Since this was broken with cross compilers,
13423 # most powerpc-linux boxes support dynamic linking these days and
13424 # people can always --disable-shared, the test was removed, and we
13425 # assume the GNU/Linux dynamic linker is in use.
13426 dynamic_linker='GNU/Linux ld.so'
13433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13434 soname_spec='${libname}${release}${shared_ext}$major'
13435 shlibpath_var=LD_LIBRARY_PATH
13436 shlibpath_overrides_runpath=no
13437 hardcode_into_libs=yes
13438 dynamic_linker='GNU ld.so'
13445 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13447 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13448 dynamic_linker='NetBSD (a.out) ld.so'
13450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13451 soname_spec='${libname}${release}${shared_ext}$major'
13452 dynamic_linker='NetBSD ld.elf_so'
13454 shlibpath_var=LD_LIBRARY_PATH
13455 shlibpath_overrides_runpath=yes
13456 hardcode_into_libs=yes
13461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13462 shlibpath_var=LD_LIBRARY_PATH
13463 shlibpath_overrides_runpath=yes
13470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13471 soname_spec='${libname}${release}${shared_ext}$major'
13472 shlibpath_var=LD_LIBRARY_PATH
13473 shlibpath_overrides_runpath=yes
13478 sys_lib_dlsearch_path_spec="/usr/lib"
13480 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13482 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13483 *) need_version=no ;;
13485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13486 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13487 shlibpath_var=LD_LIBRARY_PATH
13488 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13490 openbsd2.[89] | openbsd2.[89].*)
13491 shlibpath_overrides_runpath=no
13494 shlibpath_overrides_runpath=yes
13498 shlibpath_overrides_runpath=yes
13503 libname_spec='$name'
13506 library_names_spec='$libname${shared_ext} $libname.a'
13507 dynamic_linker='OS/2 ld.exe'
13508 shlibpath_var=LIBPATH
13511 osf3* | osf4* | osf5*)
13515 soname_spec='${libname}${release}${shared_ext}$major'
13516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13517 shlibpath_var=LD_LIBRARY_PATH
13518 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13519 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13527 soname_spec='${libname}${release}${shared_ext}$major'
13528 shlibpath_var=LD_LIBRARY_PATH
13529 shlibpath_overrides_runpath=yes
13530 hardcode_into_libs=yes
13531 # ldd complains unless libraries are executable
13532 postinstall_cmds='chmod +x $lib'
13537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13538 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13539 shlibpath_var=LD_LIBRARY_PATH
13540 shlibpath_overrides_runpath=yes
13541 if test "$with_gnu_ld" = yes; then
13549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13550 soname_spec='${libname}${release}${shared_ext}$major'
13551 shlibpath_var=LD_LIBRARY_PATH
13552 case $host_vendor in
13554 shlibpath_overrides_runpath=no
13556 export_dynamic_flag_spec='${wl}-Blargedynsym'
13557 runpath_var=LD_RUN_PATH
13565 shlibpath_overrides_runpath=no
13566 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13572 if test -d /usr/nec ;then
13574 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13575 soname_spec='$libname${shared_ext}.$major'
13576 shlibpath_var=LD_LIBRARY_PATH
13580 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13581 version_type=freebsd-elf
13584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13585 soname_spec='${libname}${release}${shared_ext}$major'
13586 shlibpath_var=LD_LIBRARY_PATH
13587 hardcode_into_libs=yes
13588 if test "$with_gnu_ld" = yes; then
13589 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13590 shlibpath_overrides_runpath=no
13592 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13593 shlibpath_overrides_runpath=yes
13596 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13600 sys_lib_dlsearch_path_spec='/usr/lib'
13605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13606 soname_spec='${libname}${release}${shared_ext}$major'
13607 shlibpath_var=LD_LIBRARY_PATH
13614 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13615 echo "${ECHO_T}$dynamic_linker" >&6; }
13616 test "$dynamic_linker" = no && can_build_shared=no
13618 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13619 if test "$GCC" = yes; then
13620 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13623 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13624 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13625 hardcode_action_CXX=
13626 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13627 test -n "$runpath_var_CXX" || \
13628 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13630 # We can hardcode non-existant directories.
13631 if test "$hardcode_direct_CXX" != no &&
13632 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13633 # have to relink, otherwise we might link with an installed library
13634 # when we should be linking with a yet-to-be-installed one
13635 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13636 test "$hardcode_minus_L_CXX" != no; then
13637 # Linking always hardcodes the temporary library directory.
13638 hardcode_action_CXX=relink
13640 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13641 hardcode_action_CXX=immediate
13644 # We cannot hardcode anything, or else we can only hardcode existing
13646 hardcode_action_CXX=unsupported
13648 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13649 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13651 if test "$hardcode_action_CXX" = relink; then
13652 # Fast installation is not supported
13653 enable_fast_install=no
13654 elif test "$shlibpath_overrides_runpath" = yes ||
13655 test "$enable_shared" = no; then
13656 # Fast installation is not necessary
13657 enable_fast_install=needless
13661 # The else clause should only fire when bootstrapping the
13662 # libtool distribution, otherwise you forgot to ship ltmain.sh
13663 # with your package, and you will get complaints that there are
13664 # no rules to generate ltmain.sh.
13665 if test -f "$ltmain"; then
13666 # See if we are running on zsh, and set the options which allow our commands through
13667 # without removal of \ escapes.
13668 if test -n "${ZSH_VERSION+set}" ; then
13669 setopt NO_GLOB_SUBST
13671 # Now quote all the things that may contain metacharacters while being
13672 # careful not to overquote the AC_SUBSTed values. We take copies of the
13673 # variables and quote the copies for generation of the libtool script.
13674 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13676 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13677 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13678 deplibs_check_method reload_flag reload_cmds need_locks \
13679 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13680 lt_cv_sys_global_symbol_to_c_name_address \
13681 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13682 old_postinstall_cmds old_postuninstall_cmds \
13686 lt_prog_compiler_wl_CXX \
13687 lt_prog_compiler_pic_CXX \
13688 lt_prog_compiler_static_CXX \
13689 lt_prog_compiler_no_builtin_flag_CXX \
13690 export_dynamic_flag_spec_CXX \
13691 thread_safe_flag_spec_CXX \
13692 whole_archive_flag_spec_CXX \
13693 enable_shared_with_static_runtimes_CXX \
13694 old_archive_cmds_CXX \
13695 old_archive_from_new_cmds_CXX \
13696 predep_objects_CXX \
13697 postdep_objects_CXX \
13700 compiler_lib_search_path_CXX \
13702 archive_expsym_cmds_CXX \
13703 postinstall_cmds_CXX \
13704 postuninstall_cmds_CXX \
13705 old_archive_from_expsyms_cmds_CXX \
13706 allow_undefined_flag_CXX \
13707 no_undefined_flag_CXX \
13708 export_symbols_cmds_CXX \
13709 hardcode_libdir_flag_spec_CXX \
13710 hardcode_libdir_flag_spec_ld_CXX \
13711 hardcode_libdir_separator_CXX \
13712 hardcode_automatic_CXX \
13714 module_expsym_cmds_CXX \
13715 lt_cv_prog_compiler_c_o_CXX \
13716 exclude_expsyms_CXX \
13717 include_expsyms_CXX; do
13720 old_archive_cmds_CXX | \
13721 old_archive_from_new_cmds_CXX | \
13722 archive_cmds_CXX | \
13723 archive_expsym_cmds_CXX | \
13724 module_cmds_CXX | \
13725 module_expsym_cmds_CXX | \
13726 old_archive_from_expsyms_cmds_CXX | \
13727 export_symbols_cmds_CXX | \
13728 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13729 postinstall_cmds | postuninstall_cmds | \
13730 old_postinstall_cmds | old_postuninstall_cmds | \
13731 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13732 # Double-quote double-evaled strings.
13733 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13736 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13742 *'\$0 --fallback-echo"')
13743 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13749 cat <<__EOF__ >> "$cfgfile"
13750 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13752 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13754 # Shell to use when invoking shell scripts.
13757 # Whether or not to build shared libraries.
13758 build_libtool_libs=$enable_shared
13760 # Whether or not to build static libraries.
13761 build_old_libs=$enable_static
13763 # Whether or not to add -lc for building shared libraries.
13764 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13766 # Whether or not to disallow shared libs when runtime libs are static
13767 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13769 # Whether or not to optimize for fast installation.
13770 fast_install=$enable_fast_install
13773 host_alias=$host_alias
13777 # The build system.
13778 build_alias=$build_alias
13782 # An echo program that does not interpret backslashes.
13787 AR_FLAGS=$lt_AR_FLAGS
13792 # LTCC compiler flags.
13793 LTCFLAGS=$lt_LTCFLAGS
13795 # A language-specific compiler.
13796 CC=$lt_compiler_CXX
13798 # Is the compiler the GNU C compiler?
13801 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
13802 gcc_ver=\`gcc -dumpversion\`
13807 # The linker used to build libraries.
13810 # Whether we need hard or soft links.
13813 # A BSD-compatible nm program.
13816 # A symbol stripping program
13819 # Used to examine libraries when file_magic_cmd begins "file"
13820 MAGIC_CMD=$MAGIC_CMD
13822 # Used on cygwin: DLL creation program.
13825 # Used on cygwin: object dumper.
13828 # Used on cygwin: assembler.
13831 # The name of the directory that contains temporary libtool files.
13834 # How to create reloadable object files.
13835 reload_flag=$lt_reload_flag
13836 reload_cmds=$lt_reload_cmds
13838 # How to pass a linker flag through the compiler.
13839 wl=$lt_lt_prog_compiler_wl_CXX
13841 # Object file suffix (normally "o").
13842 objext="$ac_objext"
13844 # Old archive suffix (normally "a").
13847 # Shared library suffix (normally ".so").
13848 shrext_cmds='$shrext_cmds'
13850 # Executable file suffix (normally "").
13853 # Additional compiler flags for building library objects.
13854 pic_flag=$lt_lt_prog_compiler_pic_CXX
13857 # What is the maximum length of a command?
13858 max_cmd_len=$lt_cv_sys_max_cmd_len
13860 # Does compiler simultaneously support -c and -o options?
13861 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13863 # Must we lock files when doing compilation?
13864 need_locks=$lt_need_locks
13866 # Do we need the lib prefix for modules?
13867 need_lib_prefix=$need_lib_prefix
13869 # Do we need a version for libraries?
13870 need_version=$need_version
13872 # Whether dlopen is supported.
13873 dlopen_support=$enable_dlopen
13875 # Whether dlopen of programs is supported.
13876 dlopen_self=$enable_dlopen_self
13878 # Whether dlopen of statically linked programs is supported.
13879 dlopen_self_static=$enable_dlopen_self_static
13881 # Compiler flag to prevent dynamic linking.
13882 link_static_flag=$lt_lt_prog_compiler_static_CXX
13884 # Compiler flag to turn off builtin functions.
13885 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13887 # Compiler flag to allow reflexive dlopens.
13888 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13890 # Compiler flag to generate shared objects directly from archives.
13891 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13893 # Compiler flag to generate thread-safe objects.
13894 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13896 # Library versioning type.
13897 version_type=$version_type
13899 # Format of library name prefix.
13900 libname_spec=$lt_libname_spec
13902 # List of archive names. First name is the real one, the rest are links.
13903 # The last name is the one that the linker finds with -lNAME.
13904 library_names_spec=$lt_library_names_spec
13906 # The coded name of the library, if different from the real name.
13907 soname_spec=$lt_soname_spec
13909 # Commands used to build and install an old-style archive.
13911 old_archive_cmds=$lt_old_archive_cmds_CXX
13912 old_postinstall_cmds=$lt_old_postinstall_cmds
13913 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13915 # Create an old-style archive from a shared archive.
13916 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13918 # Create a temporary old-style archive to link instead of a shared archive.
13919 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13921 # Commands used to build and install a shared archive.
13922 archive_cmds=$lt_archive_cmds_CXX
13923 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13924 postinstall_cmds=$lt_postinstall_cmds
13925 postuninstall_cmds=$lt_postuninstall_cmds
13927 # Commands used to build a loadable module (assumed same as above if empty)
13928 module_cmds=$lt_module_cmds_CXX
13929 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13931 # Commands to strip libraries.
13932 old_striplib=$lt_old_striplib
13933 striplib=$lt_striplib
13935 # Dependencies to place before the objects being linked to create a
13937 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13939 # Dependencies to place after the objects being linked to create a
13941 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13943 # Dependencies to place before the objects being linked to create a
13945 predeps=$lt_predeps_CXX
13947 # Dependencies to place after the objects being linked to create a
13949 postdeps=$lt_postdeps_CXX
13951 # The library search path used internally by the compiler when linking
13952 # a shared library.
13953 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13955 # Method to check whether dependent libraries are shared objects.
13956 deplibs_check_method=$lt_deplibs_check_method
13958 # Command to use when deplibs_check_method == file_magic.
13959 file_magic_cmd=$lt_file_magic_cmd
13961 # Flag that allows shared libraries with undefined symbols to be built.
13962 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13964 # Flag that forces no undefined symbols.
13965 no_undefined_flag=$lt_no_undefined_flag_CXX
13967 # Commands used to finish a libtool library installation in a directory.
13968 finish_cmds=$lt_finish_cmds
13970 # Same as above, but a single script fragment to be evaled but not shown.
13971 finish_eval=$lt_finish_eval
13973 # Take the output of nm and produce a listing of raw symbols and C names.
13974 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13976 # Transform the output of nm in a proper C declaration
13977 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13979 # Transform the output of nm in a C name address pair
13980 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13982 # This is the shared library runtime path variable.
13983 runpath_var=$runpath_var
13985 # This is the shared library path variable.
13986 shlibpath_var=$shlibpath_var
13988 # Is shlibpath searched before the hard-coded library search path?
13989 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13991 # How to hardcode a shared library path into an executable.
13992 hardcode_action=$hardcode_action_CXX
13994 # Whether we should hardcode library paths into libraries.
13995 hardcode_into_libs=$hardcode_into_libs
13997 # Flag to hardcode \$libdir into a binary during linking.
13998 # This must work even if \$libdir does not exist.
13999 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14001 # If ld is used when linking, flag to hardcode \$libdir into
14002 # a binary during linking. This must work even if \$libdir does
14004 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14006 # Whether we need a single -rpath flag with a separated argument.
14007 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14009 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14010 # resulting binary.
14011 hardcode_direct=$hardcode_direct_CXX
14013 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14014 # resulting binary.
14015 hardcode_minus_L=$hardcode_minus_L_CXX
14017 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14018 # the resulting binary.
14019 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14021 # Set to yes if building a shared library automatically hardcodes DIR into the library
14022 # and all subsequent libraries and executables linked against it.
14023 hardcode_automatic=$hardcode_automatic_CXX
14025 # Variables whose values should be saved in libtool wrapper scripts and
14026 # restored at relink time.
14027 variables_saved_for_relink="$variables_saved_for_relink"
14029 # Whether libtool must link a program against all its dependency libraries.
14030 link_all_deplibs=$link_all_deplibs_CXX
14032 # Compile-time system search path for libraries
14033 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
14035 # Run-time system search path for libraries
14036 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14038 # Fix the shell variable \$srcfile for the compiler.
14039 fix_srcfile_path="$fix_srcfile_path_CXX"
14041 # Set to yes if exported symbols are required.
14042 always_export_symbols=$always_export_symbols_CXX
14044 # The commands to list exported symbols.
14045 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14047 # The commands to extract the exported symbol list from a shared archive.
14048 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14050 # Symbols that should not be listed in the preloaded symbols.
14051 exclude_expsyms=$lt_exclude_expsyms_CXX
14053 # Symbols that must always be exported.
14054 include_expsyms=$lt_include_expsyms_CXX
14056 # ### END LIBTOOL TAG CONFIG: $tagname
14062 # If there is no Makefile yet, we rely on a make rule to execute
14063 # `config.status --recheck' to rerun these tests and create the
14064 # libtool script then.
14065 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14066 if test -f "$ltmain_in"; then
14067 test -f Makefile && make "$ltmain"
14073 ac_cpp='$CPP $CPPFLAGS'
14074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14082 with_gnu_ldcxx=$with_gnu_ld
14083 with_gnu_ld=$lt_save_with_gnu_ld
14084 lt_cv_path_LDCXX=$lt_cv_path_LD
14085 lt_cv_path_LD=$lt_save_path_LD
14086 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14087 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14095 if test -n "$F77" && test "X$F77" != "Xno"; then
14098 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14099 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14100 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14103 archive_cmds_need_lc_F77=no
14104 allow_undefined_flag_F77=
14105 always_export_symbols_F77=no
14106 archive_expsym_cmds_F77=
14107 export_dynamic_flag_spec_F77=
14108 hardcode_direct_F77=no
14109 hardcode_libdir_flag_spec_F77=
14110 hardcode_libdir_flag_spec_ld_F77=
14111 hardcode_libdir_separator_F77=
14112 hardcode_minus_L_F77=no
14113 hardcode_automatic_F77=no
14115 module_expsym_cmds_F77=
14116 link_all_deplibs_F77=unknown
14117 old_archive_cmds_F77=$old_archive_cmds
14118 no_undefined_flag_F77=
14119 whole_archive_flag_spec_F77=
14120 enable_shared_with_static_runtimes_F77=no
14122 # Source file extension for f77 test sources.
14125 # Object file extension for compiled f77 test sources.
14129 # Code to be used in simple compile tests
14130 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
14132 # Code to be used in simple link tests
14133 lt_simple_link_test_code=" program t\n end\n"
14135 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14137 # If no C compiler was specified, use CC.
14140 # If no C compiler flags were specified, use CFLAGS.
14141 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14143 # Allow CC to be a program name with arguments.
14147 # save warnings/boilerplate of simple test code
14148 ac_outfile=conftest.$ac_objext
14149 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14150 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14151 _lt_compiler_boilerplate=`cat conftest.err`
14154 ac_outfile=conftest.$ac_objext
14155 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14156 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14157 _lt_linker_boilerplate=`cat conftest.err`
14161 # Allow CC to be a program name with arguments.
14166 for cc_temp in $compiler""; do
14168 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14169 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14174 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14177 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14178 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14179 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14180 echo "${ECHO_T}$can_build_shared" >&6; }
14182 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14183 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14184 test "$can_build_shared" = "no" && enable_shared=no
14186 # On AIX, shared libraries and static libraries use the same namespace, and
14187 # are all built from PIC.
14190 test "$enable_shared" = yes && enable_static=no
14191 if test -n "$RANLIB"; then
14192 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14193 postinstall_cmds='$RANLIB $lib'
14197 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14198 test "$enable_shared" = yes && enable_static=no
14202 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14203 echo "${ECHO_T}$enable_shared" >&6; }
14205 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14206 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14207 # Make sure either enable_shared or enable_static is yes.
14208 test "$enable_shared" = yes || enable_static=yes
14209 { echo "$as_me:$LINENO: result: $enable_static" >&5
14210 echo "${ECHO_T}$enable_static" >&6; }
14215 lt_prog_compiler_wl_F77=
14216 lt_prog_compiler_pic_F77=
14217 lt_prog_compiler_static_F77=
14219 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14220 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14222 if test "$GCC" = yes; then
14223 lt_prog_compiler_wl_F77='-Wl,'
14224 lt_prog_compiler_static_F77='-static'
14228 # All AIX code is PIC.
14229 if test "$host_cpu" = ia64; then
14230 # AIX 5 now supports IA64 processor
14231 lt_prog_compiler_static_F77='-Bstatic'
14236 # FIXME: we need at least 68020 code to build shared libraries, but
14237 # adding the `-m68020' flag to GCC prevents building anything better,
14239 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14242 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14243 # PIC is the default for these OSes.
14246 mingw* | pw32* | os2*)
14247 # This hack is so that the source file can tell whether it is being
14248 # built for inclusion in a dll (and should export symbols for example).
14249 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14252 darwin* | rhapsody*)
14253 # PIC is the default on this platform
14254 # Common symbols not allowed in MH_DYLIB files
14255 lt_prog_compiler_pic_F77='-fno-common'
14259 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14260 # Instead, we relocate shared libraries at runtime.
14264 # Just because we use GCC doesn't mean we suddenly get shared libraries
14265 # on systems that don't support them.
14266 lt_prog_compiler_can_build_shared_F77=no
14271 if test -d /usr/nec; then
14272 lt_prog_compiler_pic_F77=-Kconform_pic
14277 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14278 # not for PA HP-UX.
14284 lt_prog_compiler_pic_F77='-fPIC'
14290 lt_prog_compiler_pic_F77='-fPIC'
14294 # PORTME Check for flag to pass linker flags through the system compiler.
14297 lt_prog_compiler_wl_F77='-Wl,'
14298 if test "$host_cpu" = ia64; then
14299 # AIX 5 now supports IA64 processor
14300 lt_prog_compiler_static_F77='-Bstatic'
14302 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14306 # PIC is the default on this platform
14307 # Common symbols not allowed in MH_DYLIB files
14308 case $cc_basename in
14310 lt_prog_compiler_pic_F77='-qnocommon'
14311 lt_prog_compiler_wl_F77='-Wl,'
14316 mingw* | pw32* | os2*)
14317 # This hack is so that the source file can tell whether it is being
14318 # built for inclusion in a dll (and should export symbols for example).
14319 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14322 hpux9* | hpux10* | hpux11*)
14323 lt_prog_compiler_wl_F77='-Wl,'
14324 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14325 # not for PA HP-UX.
14331 lt_prog_compiler_pic_F77='+Z'
14334 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14335 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14338 irix5* | irix6* | nonstopux*)
14339 lt_prog_compiler_wl_F77='-Wl,'
14340 # PIC (with -KPIC) is the default.
14341 lt_prog_compiler_static_F77='-non_shared'
14345 lt_prog_compiler_pic_F77='-KPIC'
14346 lt_prog_compiler_static_F77='-Bstatic'
14350 case $cc_basename in
14352 lt_prog_compiler_wl_F77='-Wl,'
14353 lt_prog_compiler_pic_F77='-KPIC'
14354 lt_prog_compiler_static_F77='-static'
14356 pgcc* | pgf77* | pgf90* | pgf95*)
14357 # Portland Group compilers (*not* the Pentium gcc compiler,
14358 # which looks to be a dead project)
14359 lt_prog_compiler_wl_F77='-Wl,'
14360 lt_prog_compiler_pic_F77='-fpic'
14361 lt_prog_compiler_static_F77='-Bstatic'
14364 lt_prog_compiler_wl_F77='-Wl,'
14365 # All Alpha code is PIC.
14366 lt_prog_compiler_static_F77='-non_shared'
14371 osf3* | osf4* | osf5*)
14372 lt_prog_compiler_wl_F77='-Wl,'
14373 # All OSF/1 code is PIC.
14374 lt_prog_compiler_static_F77='-non_shared'
14378 lt_prog_compiler_pic_F77='-KPIC'
14379 lt_prog_compiler_static_F77='-Bstatic'
14380 case $cc_basename in
14381 f77* | f90* | f95*)
14382 lt_prog_compiler_wl_F77='-Qoption ld ';;
14384 lt_prog_compiler_wl_F77='-Wl,';;
14389 lt_prog_compiler_wl_F77='-Qoption ld '
14390 lt_prog_compiler_pic_F77='-PIC'
14391 lt_prog_compiler_static_F77='-Bstatic'
14394 sysv4 | sysv4.2uw2* | sysv4.3*)
14395 lt_prog_compiler_wl_F77='-Wl,'
14396 lt_prog_compiler_pic_F77='-KPIC'
14397 lt_prog_compiler_static_F77='-Bstatic'
14401 if test -d /usr/nec ;then
14402 lt_prog_compiler_pic_F77='-Kconform_pic'
14403 lt_prog_compiler_static_F77='-Bstatic'
14407 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14408 lt_prog_compiler_wl_F77='-Wl,'
14409 lt_prog_compiler_pic_F77='-KPIC'
14410 lt_prog_compiler_static_F77='-Bstatic'
14414 lt_prog_compiler_wl_F77='-Wl,'
14415 lt_prog_compiler_can_build_shared_F77=no
14419 lt_prog_compiler_pic_F77='-pic'
14420 lt_prog_compiler_static_F77='-Bstatic'
14424 lt_prog_compiler_can_build_shared_F77=no
14429 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14430 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14433 # Check to make sure the PIC flag actually works.
14435 if test -n "$lt_prog_compiler_pic_F77"; then
14437 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14438 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14439 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 lt_prog_compiler_pic_works_F77=no
14443 ac_outfile=conftest.$ac_objext
14444 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14445 lt_compiler_flag="$lt_prog_compiler_pic_F77"
14446 # Insert the option either (1) after the last *FLAGS variable, or
14447 # (2) before a word containing "conftest.", or (3) at the end.
14448 # Note that $ac_compile itself does not contain backslashes and begins
14449 # with a dollar sign (not a hyphen), so the echo should work correctly.
14450 # The option is referenced via a variable to avoid confusing sed.
14451 lt_compile=`echo "$ac_compile" | $SED \
14452 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14454 -e 's:$: $lt_compiler_flag:'`
14455 (eval echo "\"\$as_me:14455: $lt_compile\"" >&5)
14456 (eval "$lt_compile" 2>conftest.err)
14458 cat conftest.err >&5
14459 echo "$as_me:14459: \$? = $ac_status" >&5
14460 if (exit $ac_status) && test -s "$ac_outfile"; then
14461 # The compiler can only warn and ignore the option if not recognized
14462 # So say no if there are warnings other than the usual output.
14463 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14464 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14465 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14466 lt_prog_compiler_pic_works_F77=yes
14472 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14473 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14475 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14476 case $lt_prog_compiler_pic_F77 in
14478 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14481 lt_prog_compiler_pic_F77=
14482 lt_prog_compiler_can_build_shared_F77=no
14487 # For platforms which do not support PIC, -DPIC is meaningless:
14489 lt_prog_compiler_pic_F77=
14492 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14497 # Check to make sure the static flag actually works.
14499 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14500 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14501 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14502 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14503 echo $ECHO_N "(cached) $ECHO_C" >&6
14505 lt_prog_compiler_static_works_F77=no
14506 save_LDFLAGS="$LDFLAGS"
14507 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14508 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14509 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14510 # The linker can only warn and ignore the option if not recognized
14511 # So say no if there are warnings
14512 if test -s conftest.err; then
14513 # Append any errors to the config.log.
14514 cat conftest.err 1>&5
14515 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14516 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14517 if diff conftest.exp conftest.er2 >/dev/null; then
14518 lt_prog_compiler_static_works_F77=yes
14521 lt_prog_compiler_static_works_F77=yes
14525 LDFLAGS="$save_LDFLAGS"
14528 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14529 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14531 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14534 lt_prog_compiler_static_F77=
14538 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14539 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14540 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14541 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 lt_cv_prog_compiler_c_o_F77=no
14544 $rm -r conftest 2>/dev/null
14548 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14550 lt_compiler_flag="-o out/conftest2.$ac_objext"
14551 # Insert the option either (1) after the last *FLAGS variable, or
14552 # (2) before a word containing "conftest.", or (3) at the end.
14553 # Note that $ac_compile itself does not contain backslashes and begins
14554 # with a dollar sign (not a hyphen), so the echo should work correctly.
14555 lt_compile=`echo "$ac_compile" | $SED \
14556 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14558 -e 's:$: $lt_compiler_flag:'`
14559 (eval echo "\"\$as_me:14559: $lt_compile\"" >&5)
14560 (eval "$lt_compile" 2>out/conftest.err)
14562 cat out/conftest.err >&5
14563 echo "$as_me:14563: \$? = $ac_status" >&5
14564 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14566 # The compiler can only warn and ignore the option if not recognized
14567 # So say no if there are warnings
14568 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14569 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14570 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14571 lt_cv_prog_compiler_c_o_F77=yes
14576 # SGI C++ compiler will create directory out/ii_files/ for
14577 # template instantiation
14578 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14579 $rm out/* && rmdir out
14585 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14586 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14589 hard_links="nottested"
14590 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14591 # do not overwrite the value of need_locks provided by the user
14592 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14593 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14596 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14598 ln conftest.a conftest.b 2>&5 || hard_links=no
14599 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14600 { echo "$as_me:$LINENO: result: $hard_links" >&5
14601 echo "${ECHO_T}$hard_links" >&6; }
14602 if test "$hard_links" = no; then
14603 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14604 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14611 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14612 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14615 allow_undefined_flag_F77=
14616 enable_shared_with_static_runtimes_F77=no
14618 archive_expsym_cmds_F77=
14619 old_archive_From_new_cmds_F77=
14620 old_archive_from_expsyms_cmds_F77=
14621 export_dynamic_flag_spec_F77=
14622 whole_archive_flag_spec_F77=
14623 thread_safe_flag_spec_F77=
14624 hardcode_libdir_flag_spec_F77=
14625 hardcode_libdir_flag_spec_ld_F77=
14626 hardcode_libdir_separator_F77=
14627 hardcode_direct_F77=no
14628 hardcode_minus_L_F77=no
14629 hardcode_shlibpath_var_F77=unsupported
14630 link_all_deplibs_F77=unknown
14631 hardcode_automatic_F77=no
14633 module_expsym_cmds_F77=
14634 always_export_symbols_F77=no
14635 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14636 # include_expsyms should be a list of space-separated symbols to be *always*
14637 # included in the symbol list
14638 include_expsyms_F77=
14639 # exclude_expsyms can be an extended regexp of symbols to exclude
14640 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14641 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14642 # as well as any symbol that contains `d'.
14643 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14644 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14645 # platforms (ab)use it in PIC code, but their linkers get confused if
14646 # the symbol is explicitly referenced. Since portable code cannot
14647 # rely on this symbol name, it's probably fine to never include it in
14648 # preloaded symbol tables.
14649 extract_expsyms_cmds=
14650 # Just being paranoid about ensuring that cc_basename is set.
14651 for cc_temp in $compiler""; do
14653 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14654 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14659 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14662 cygwin* | mingw* | pw32*)
14663 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14664 # When not using gcc, we currently assume that we are using
14665 # Microsoft Visual C++.
14666 if test "$GCC" != yes; then
14671 # we just hope/assume this is gcc and not c89 (= MSVC++)
14680 if test "$with_gnu_ld" = yes; then
14681 # If archive_cmds runs LD, not CC, wlarc should be empty
14684 # Set some defaults for GNU ld with shared library support. These
14685 # are reset later if shared libraries are not supported. Putting them
14686 # here allows them to be overridden if necessary.
14687 runpath_var=LD_RUN_PATH
14688 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14689 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14690 # ancient GNU ld didn't support --whole-archive et. al.
14691 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14692 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14694 whole_archive_flag_spec_F77=
14696 supports_anon_versioning=no
14697 case `$LD -v 2>/dev/null` in
14698 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14699 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14700 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14701 *\ 2.11.*) ;; # other 2.11 versions
14702 *) supports_anon_versioning=yes ;;
14705 # See if GNU ld supports shared libraries.
14707 aix3* | aix4* | aix5*)
14708 # On AIX/PPC, the GNU linker is very broken
14709 if test "$host_cpu" != ia64; then
14713 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14714 *** to be unable to reliably create shared libraries on AIX.
14715 *** Therefore, libtool is disabling shared libraries support. If you
14716 *** really care for shared libraries, you may want to modify your PATH
14717 *** so that a non-GNU linker is found, and then restart.
14724 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)'
14725 hardcode_libdir_flag_spec_F77='-L$libdir'
14726 hardcode_minus_L_F77=yes
14728 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14729 # that the semantics of dynamic libraries on AmigaOS, at least up
14730 # to version 4, is to share data among multiple programs linked
14731 # with the same dynamic library. Since this doesn't match the
14732 # behavior of shared libraries on other platforms, we can't use
14738 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14739 allow_undefined_flag_F77=unsupported
14740 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14741 # support --undefined. This deserves some investigation. FIXME
14742 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14748 cygwin* | mingw* | pw32*)
14749 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14750 # as there is no search path for DLLs.
14751 hardcode_libdir_flag_spec_F77='-L$libdir'
14752 allow_undefined_flag_F77=unsupported
14753 always_export_symbols_F77=no
14754 enable_shared_with_static_runtimes_F77=yes
14755 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14757 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14758 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14759 # If the export-symbols file already is a .def file (1st line
14760 # is EXPORTS), use it as is; otherwise, prepend...
14761 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14762 cp $export_symbols $output_objdir/$soname.def;
14764 echo EXPORTS > $output_objdir/$soname.def;
14765 cat $export_symbols >> $output_objdir/$soname.def;
14767 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14774 hardcode_direct_F77=no
14775 hardcode_shlibpath_var_F77=no
14776 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14777 export_dynamic_flag_spec_F77='${wl}-E'
14778 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14779 # Instead, shared libraries are loaded at an image base (0x10000000 by
14780 # default) and relocated if they conflict, which is a slow very memory
14781 # consuming and fragmenting process. To avoid this, we pick a random,
14782 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14783 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14784 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'
14785 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'
14789 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14791 case $cc_basename,$host_cpu in
14792 pgcc*) # Portland Group C compiler
14793 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'
14794 tmp_addflag=' $pic_flag'
14796 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14797 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'
14798 tmp_addflag=' $pic_flag -Mnomain' ;;
14799 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14800 tmp_addflag=' -i_dynamic' ;;
14801 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14802 tmp_addflag=' -i_dynamic -nofor_main' ;;
14803 ifc* | ifort*) # Intel Fortran compiler
14804 tmp_addflag=' -nofor_main' ;;
14806 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14808 if test $supports_anon_versioning = yes; then
14809 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14810 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14811 $echo "local: *; };" >> $output_objdir/$libname.ver~
14812 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14820 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14821 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14824 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14825 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14830 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14834 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14835 *** create shared libraries on Solaris systems. Therefore, libtool
14836 *** is disabling shared libraries support. We urge you to upgrade GNU
14837 *** binutils to release 2.9.1 or newer. Another option is to modify
14838 *** your PATH or compiler configuration so that the native linker is
14839 *** used, and then restart.
14842 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14843 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14844 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14850 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14851 case `$LD -v 2>&1` in
14852 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14856 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14857 *** reliably create shared libraries on SCO systems. Therefore, libtool
14858 *** is disabling shared libraries support. We urge you to upgrade GNU
14859 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14860 *** your PATH or compiler configuration so that the native linker is
14861 *** used, and then restart.
14866 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14867 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14868 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14869 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14878 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14880 hardcode_direct_F77=yes
14881 hardcode_shlibpath_var_F77=no
14885 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14886 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14887 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14894 if test "$ld_shlibs_F77" = no; then
14896 hardcode_libdir_flag_spec_F77=
14897 export_dynamic_flag_spec_F77=
14898 whole_archive_flag_spec_F77=
14901 # PORTME fill in a description of your system's linker (not GNU ld)
14904 allow_undefined_flag_F77=unsupported
14905 always_export_symbols_F77=yes
14906 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'
14907 # Note: this linker hardcodes the directories in LIBPATH if there
14908 # are no directories specified by -L.
14909 hardcode_minus_L_F77=yes
14910 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14911 # Neither direct hardcoding nor static linking is supported with a
14913 hardcode_direct_F77=unsupported
14918 if test "$host_cpu" = ia64; then
14919 # On IA64, the linker does run time linking by default, so we don't
14920 # have to do anything special.
14921 aix_use_runtimelinking=no
14922 exp_sym_flag='-Bexport'
14925 # If we're using GNU nm, then we don't want the "-C" option.
14926 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14927 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14928 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'
14930 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'
14932 aix_use_runtimelinking=no
14934 # Test if we are trying to use run time linking or normal
14935 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14936 # need to do runtime linking.
14937 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14938 for ld_flag in $LDFLAGS; do
14939 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14940 aix_use_runtimelinking=yes
14947 exp_sym_flag='-bexport'
14948 no_entry_flag='-bnoentry'
14951 # When large executables or shared objects are built, AIX ld can
14952 # have problems creating the table of contents. If linking a library
14953 # or program results in "error TOC overflow" add -mminimal-toc to
14954 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14955 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14957 archive_cmds_F77=''
14958 hardcode_direct_F77=yes
14959 hardcode_libdir_separator_F77=':'
14960 link_all_deplibs_F77=yes
14962 if test "$GCC" = yes; then
14963 case $host_os in aix4.[012]|aix4.[012].*)
14964 # We only want to do this on AIX 4.2 and lower, the check
14965 # below for broken collect2 doesn't work under 4.3+
14966 collect2name=`${CC} -print-prog-name=collect2`
14967 if test -f "$collect2name" && \
14968 strings "$collect2name" | grep resolve_lib_name >/dev/null
14970 # We have reworked collect2
14971 hardcode_direct_F77=yes
14973 # We have old collect2
14974 hardcode_direct_F77=unsupported
14975 # It fails to find uninstalled libraries when the uninstalled
14976 # path is not listed in the libpath. Setting hardcode_minus_L
14977 # to unsupported forces relinking
14978 hardcode_minus_L_F77=yes
14979 hardcode_libdir_flag_spec_F77='-L$libdir'
14980 hardcode_libdir_separator_F77=
14984 shared_flag='-shared'
14985 if test "$aix_use_runtimelinking" = yes; then
14986 shared_flag="$shared_flag "'${wl}-G'
14990 if test "$host_cpu" = ia64; then
14991 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14992 # chokes on -Wl,-G. The following line is correct:
14995 if test "$aix_use_runtimelinking" = yes; then
14996 shared_flag='${wl}-G'
14998 shared_flag='${wl}-bM:SRE'
15003 # It seems that -bexpall does not export symbols beginning with
15004 # underscore (_), so it is better to generate a list of symbols to export.
15005 always_export_symbols_F77=yes
15006 if test "$aix_use_runtimelinking" = yes; then
15007 # Warning - without using the other runtime loading flags (-brtl),
15008 # -berok will link without error, but may produce a broken library.
15009 allow_undefined_flag_F77='-berok'
15010 # Determine the default libpath from the value encoded in an empty executable.
15011 cat >conftest.$ac_ext <<_ACEOF
15016 rm -f conftest.$ac_objext conftest$ac_exeext
15017 if { (ac_try="$ac_link"
15018 case "(($ac_try" in
15019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023 (eval "$ac_link") 2>conftest.er1
15025 grep -v '^ *+' conftest.er1 >conftest.err
15027 cat conftest.err >&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); } && {
15030 test -z "$ac_f77_werror_flag" ||
15031 test ! -s conftest.err
15032 } && test -s conftest$ac_exeext &&
15033 $as_test_x conftest$ac_exeext; then
15035 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15037 # Check for a 64-bit object if we didn't find anything.
15038 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; }
15041 echo "$as_me: failed program was:" >&5
15042 sed 's/^/| /' conftest.$ac_ext >&5
15047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15048 conftest$ac_exeext conftest.$ac_ext
15049 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15051 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15052 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"
15054 if test "$host_cpu" = ia64; then
15055 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15056 allow_undefined_flag_F77="-z nodefs"
15057 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"
15059 # Determine the default libpath from the value encoded in an empty executable.
15060 cat >conftest.$ac_ext <<_ACEOF
15065 rm -f conftest.$ac_objext conftest$ac_exeext
15066 if { (ac_try="$ac_link"
15067 case "(($ac_try" in
15068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15069 *) ac_try_echo=$ac_try;;
15071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15072 (eval "$ac_link") 2>conftest.er1
15074 grep -v '^ *+' conftest.er1 >conftest.err
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } && {
15079 test -z "$ac_f77_werror_flag" ||
15080 test ! -s conftest.err
15081 } && test -s conftest$ac_exeext &&
15082 $as_test_x conftest$ac_exeext; then
15084 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15086 # Check for a 64-bit object if we didn't find anything.
15087 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; }
15090 echo "$as_me: failed program was:" >&5
15091 sed 's/^/| /' conftest.$ac_ext >&5
15096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15097 conftest$ac_exeext conftest.$ac_ext
15098 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15100 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15101 # Warning - without using the other run time loading flags,
15102 # -berok will link without error, but may produce a broken library.
15103 no_undefined_flag_F77=' ${wl}-bernotok'
15104 allow_undefined_flag_F77=' ${wl}-berok'
15105 # Exported symbols can be pulled into shared objects from archives
15106 whole_archive_flag_spec_F77='$convenience'
15107 archive_cmds_need_lc_F77=yes
15108 # This is similar to how AIX traditionally builds its shared libraries.
15109 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'
15115 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)'
15116 hardcode_libdir_flag_spec_F77='-L$libdir'
15117 hardcode_minus_L_F77=yes
15118 # see comment about different semantics on the GNU ld section
15123 export_dynamic_flag_spec_F77=-rdynamic
15126 cygwin* | mingw* | pw32*)
15127 # When not using gcc, we currently assume that we are using
15128 # Microsoft Visual C++.
15129 # hardcode_libdir_flag_spec is actually meaningless, as there is
15130 # no search path for DLLs.
15131 hardcode_libdir_flag_spec_F77=' '
15132 allow_undefined_flag_F77=unsupported
15133 # Tell ltmain to make .lib files, not .a files.
15135 # Tell ltmain to make .dll files, not .so files.
15137 # FIXME: Setting linknames here is a bad hack.
15138 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15139 # The linker will automatically build a .lib file if we build a DLL.
15140 old_archive_From_new_cmds_F77='true'
15141 # FIXME: Should let the user specify the lib program.
15142 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
15143 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15144 enable_shared_with_static_runtimes_F77=yes
15147 darwin* | rhapsody*)
15149 rhapsody* | darwin1.[012])
15150 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15153 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15154 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15156 case ${MACOSX_DEPLOYMENT_TARGET} in
15158 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15161 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15167 archive_cmds_need_lc_F77=no
15168 hardcode_direct_F77=no
15169 hardcode_automatic_F77=yes
15170 hardcode_shlibpath_var_F77=unsupported
15171 whole_archive_flag_spec_F77=''
15172 link_all_deplibs_F77=yes
15173 if test "$GCC" = yes ; then
15174 output_verbose_link_cmd='echo'
15175 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15176 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15177 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15178 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}'
15179 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}'
15181 case $cc_basename in
15183 output_verbose_link_cmd='echo'
15184 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15185 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15186 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15187 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}'
15188 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}'
15198 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15199 hardcode_libdir_flag_spec_F77='-L$libdir'
15200 hardcode_shlibpath_var_F77=no
15207 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15208 # support. Future versions do this automatically, but an explicit c++rt0.o
15209 # does not break anything, and helps significantly (at the cost of a little
15212 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15213 hardcode_libdir_flag_spec_F77='-R$libdir'
15214 hardcode_direct_F77=yes
15215 hardcode_shlibpath_var_F77=no
15218 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15220 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15221 hardcode_direct_F77=yes
15222 hardcode_minus_L_F77=yes
15223 hardcode_shlibpath_var_F77=no
15226 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15227 freebsd* | kfreebsd*-gnu | dragonfly*)
15228 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15229 hardcode_libdir_flag_spec_F77='-R$libdir'
15230 hardcode_direct_F77=yes
15231 hardcode_shlibpath_var_F77=no
15235 if test "$GCC" = yes; then
15236 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'
15238 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'
15240 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15241 hardcode_libdir_separator_F77=:
15242 hardcode_direct_F77=yes
15244 # hardcode_minus_L: Not really in the search PATH,
15245 # but as the default location of the library.
15246 hardcode_minus_L_F77=yes
15247 export_dynamic_flag_spec_F77='${wl}-E'
15251 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15252 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15254 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15256 if test "$with_gnu_ld" = no; then
15257 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15258 hardcode_libdir_separator_F77=:
15260 hardcode_direct_F77=yes
15261 export_dynamic_flag_spec_F77='${wl}-E'
15263 # hardcode_minus_L: Not really in the search PATH,
15264 # but as the default location of the library.
15265 hardcode_minus_L_F77=yes
15270 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15273 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15276 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15279 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15285 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15288 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15291 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15295 if test "$with_gnu_ld" = no; then
15296 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15297 hardcode_libdir_separator_F77=:
15301 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15302 hardcode_direct_F77=no
15303 hardcode_shlibpath_var_F77=no
15306 hardcode_direct_F77=yes
15307 export_dynamic_flag_spec_F77='${wl}-E'
15309 # hardcode_minus_L: Not really in the search PATH,
15310 # but as the default location of the library.
15311 hardcode_minus_L_F77=yes
15317 irix5* | irix6* | nonstopux*)
15318 if test "$GCC" = yes; then
15319 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'
15321 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'
15322 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15324 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15325 hardcode_libdir_separator_F77=:
15326 link_all_deplibs_F77=yes
15330 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15331 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15333 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15335 hardcode_libdir_flag_spec_F77='-R$libdir'
15336 hardcode_direct_F77=yes
15337 hardcode_shlibpath_var_F77=no
15341 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15342 hardcode_direct_F77=yes
15343 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15344 hardcode_libdir_separator_F77=:
15345 hardcode_shlibpath_var_F77=no
15349 hardcode_direct_F77=yes
15350 hardcode_shlibpath_var_F77=no
15351 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15352 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15353 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15354 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15355 export_dynamic_flag_spec_F77='${wl}-E'
15358 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15359 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15360 hardcode_libdir_flag_spec_F77='-R$libdir'
15363 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15364 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15371 hardcode_libdir_flag_spec_F77='-L$libdir'
15372 hardcode_minus_L_F77=yes
15373 allow_undefined_flag_F77=unsupported
15374 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'
15375 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15379 if test "$GCC" = yes; then
15380 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15381 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'
15383 allow_undefined_flag_F77=' -expect_unresolved \*'
15384 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'
15386 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15387 hardcode_libdir_separator_F77=:
15390 osf4* | osf5*) # as osf3* with the addition of -msym flag
15391 if test "$GCC" = yes; then
15392 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15393 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'
15394 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15396 allow_undefined_flag_F77=' -expect_unresolved \*'
15397 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'
15398 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~
15399 $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'
15401 # Both c and cxx compiler support -rpath directly
15402 hardcode_libdir_flag_spec_F77='-rpath $libdir'
15404 hardcode_libdir_separator_F77=:
15408 no_undefined_flag_F77=' -z text'
15409 if test "$GCC" = yes; then
15411 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15412 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15413 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15416 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15417 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15418 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15420 hardcode_libdir_flag_spec_F77='-R$libdir'
15421 hardcode_shlibpath_var_F77=no
15423 solaris2.[0-5] | solaris2.[0-5].*) ;;
15425 # The compiler driver will combine linker options so we
15426 # cannot just pass the convience library names through
15427 # without $wl, iff we do not link with $LD.
15428 # Luckily, gcc supports the same syntax we need for Sun Studio.
15429 # Supported since Solaris 2.6 (maybe 2.5.1?)
15432 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15434 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' ;;
15437 link_all_deplibs_F77=yes
15441 if test "x$host_vendor" = xsequent; then
15442 # Use $CC to link under sequent, because it throws in some extra .o
15443 # files that make .init and .fini sections work.
15444 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15446 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15448 hardcode_libdir_flag_spec_F77='-L$libdir'
15449 hardcode_direct_F77=yes
15450 hardcode_minus_L_F77=yes
15451 hardcode_shlibpath_var_F77=no
15455 case $host_vendor in
15457 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15458 hardcode_direct_F77=yes # is this really true???
15461 ## LD is ld it makes a PLAMLIB
15462 ## CC just makes a GrossModule.
15463 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15464 reload_cmds_F77='$CC -r -o $output$reload_objs'
15465 hardcode_direct_F77=no
15468 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15469 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15472 runpath_var='LD_RUN_PATH'
15473 hardcode_shlibpath_var_F77=no
15477 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15478 hardcode_shlibpath_var_F77=no
15479 export_dynamic_flag_spec_F77='-Bexport'
15483 if test -d /usr/nec; then
15484 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15485 hardcode_shlibpath_var_F77=no
15486 runpath_var=LD_RUN_PATH
15487 hardcode_runpath_var=yes
15492 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15493 no_undefined_flag_F77='${wl}-z,text'
15494 archive_cmds_need_lc_F77=no
15495 hardcode_shlibpath_var_F77=no
15496 runpath_var='LD_RUN_PATH'
15498 if test "$GCC" = yes; then
15499 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15500 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15502 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15503 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15507 sysv5* | sco3.2v5* | sco5v6*)
15508 # Note: We can NOT use -z defs as we might desire, because we do not
15509 # link with -lc, and that would cause any symbols used from libc to
15510 # always be unresolved, which means just about no library would
15511 # ever link correctly. If we're not using GNU ld we use -z text
15512 # though, which does catch some bad symbols but isn't as heavy-handed
15514 no_undefined_flag_F77='${wl}-z,text'
15515 allow_undefined_flag_F77='${wl}-z,nodefs'
15516 archive_cmds_need_lc_F77=no
15517 hardcode_shlibpath_var_F77=no
15518 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15519 hardcode_libdir_separator_F77=':'
15520 link_all_deplibs_F77=yes
15521 export_dynamic_flag_spec_F77='${wl}-Bexport'
15522 runpath_var='LD_RUN_PATH'
15524 if test "$GCC" = yes; then
15525 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15526 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15528 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15529 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15534 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15535 hardcode_libdir_flag_spec_F77='-L$libdir'
15536 hardcode_shlibpath_var_F77=no
15545 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15546 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15547 test "$ld_shlibs_F77" = no && can_build_shared=no
15550 # Do we need to explicitly link libc?
15552 case "x$archive_cmds_need_lc_F77" in
15554 # Assume -lc should be added
15555 archive_cmds_need_lc_F77=yes
15557 if test "$enable_shared" = yes && test "$GCC" = yes; then
15558 case $archive_cmds_F77 in
15560 # FIXME: we may have to deal with multi-command sequences.
15563 # Test whether the compiler implicitly links with -lc since on some
15564 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15565 # to ld, don't add -lc before -lgcc.
15566 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15567 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15569 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15572 (eval $ac_compile) 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); } 2>conftest.err; then
15578 libobjs=conftest.$ac_objext
15580 wl=$lt_prog_compiler_wl_F77
15581 pic_flag=$lt_prog_compiler_pic_F77
15587 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15588 allow_undefined_flag_F77=
15589 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15590 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }
15595 archive_cmds_need_lc_F77=no
15597 archive_cmds_need_lc_F77=yes
15599 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15601 cat conftest.err 1>&5
15604 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15605 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15612 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15613 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15614 library_names_spec=
15615 libname_spec='lib$name'
15619 postuninstall_cmds=
15623 shlibpath_overrides_runpath=unknown
15625 dynamic_linker="$host_os ld.so"
15626 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15627 if test "$GCC" = yes; then
15628 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15629 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15630 # if the path contains ";" then we assume it to be the separator
15631 # otherwise default to the standard path separator (i.e. ":") - it is
15632 # assumed that no part of a normal pathname contains ";" but that should
15633 # okay in the real world where ";" in dirpaths is itself problematic.
15634 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15636 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15639 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15641 need_lib_prefix=unknown
15642 hardcode_into_libs=no
15644 # when you set need_version to no, make sure it does not cause -set_version
15645 # flags to be left without arguments
15646 need_version=unknown
15651 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15652 shlibpath_var=LIBPATH
15654 # AIX 3 has no versioning support, so we append a major version to the name.
15655 soname_spec='${libname}${release}${shared_ext}$major'
15662 hardcode_into_libs=yes
15663 if test "$host_cpu" = ia64; then
15664 # AIX 5 supports IA64
15665 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15666 shlibpath_var=LD_LIBRARY_PATH
15668 # With GCC up to 2.95.x, collect2 would create an import file
15669 # for dependence libraries. The import file would start with
15670 # the line `#! .'. This would cause the generated library to
15671 # depend on `.', always an invalid library. This was fixed in
15672 # development snapshots of GCC prior to 3.0.
15674 aix4 | aix4.[01] | aix4.[01].*)
15675 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15677 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15680 can_build_shared=no
15684 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15685 # soname into executable. Probably we can add versioning support to
15686 # collect2, so additional links can be useful in future.
15687 if test "$aix_use_runtimelinking" = yes; then
15688 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15689 # instead of lib<name>.a to let people know that these are not
15690 # typical AIX shared libraries.
15691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15693 # We preserve .a as extension for shared libraries through AIX4.2
15694 # and later when we are not doing run time linking.
15695 library_names_spec='${libname}${release}.a $libname.a'
15696 soname_spec='${libname}${release}${shared_ext}$major'
15698 shlibpath_var=LIBPATH
15703 library_names_spec='$libname.ixlibrary $libname.a'
15704 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15705 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'
15709 library_names_spec='${libname}${shared_ext}'
15710 dynamic_linker="$host_os ld.so"
15711 shlibpath_var=LIBRARY_PATH
15717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15718 soname_spec='${libname}${release}${shared_ext}$major'
15719 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15720 shlibpath_var=LD_LIBRARY_PATH
15721 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15722 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15723 # the default ld.so.conf also contains /usr/contrib/lib and
15724 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15725 # libtool to hard-code these into programs
15728 cygwin* | mingw* | pw32*)
15729 version_type=windows
15734 case $GCC,$host_os in
15735 yes,cygwin* | yes,mingw* | yes,pw32*)
15736 library_names_spec='$libname.dll.a'
15737 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15738 postinstall_cmds='base_file=`basename \${file}`~
15739 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15740 dldir=$destdir/`dirname \$dlpath`~
15741 test -d \$dldir || mkdir -p \$dldir~
15742 $install_prog $dir/$dlname \$dldir/$dlname~
15743 chmod a+x \$dldir/$dlname'
15744 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15745 dlpath=$dir/\$dldll~
15747 shlibpath_overrides_runpath=yes
15751 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15752 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15753 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15756 # MinGW DLLs use traditional 'lib' prefix
15757 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15758 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15759 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15760 # It is most probably a Windows format PATH printed by
15761 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15762 # path with ; separators, and with drive letters. We can handle the
15763 # drive letters (cygwin fileutils understands them), so leave them,
15764 # especially as we might pass files found there to a mingw objdump,
15765 # which wouldn't understand a cygwinified path. Ahh.
15766 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15768 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15772 # pw32 DLLs use 'pw' prefix rather than 'lib'
15773 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15779 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15782 dynamic_linker='Win32 ld.exe'
15783 # FIXME: first we should search . and the directory the executable is in
15787 darwin* | rhapsody*)
15788 dynamic_linker="$host_os dyld"
15789 version_type=darwin
15792 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15793 soname_spec='${libname}${release}${major}$shared_ext'
15794 shlibpath_overrides_runpath=yes
15795 shlibpath_var=DYLD_LIBRARY_PATH
15796 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15797 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15798 if test "$GCC" = yes; then
15799 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"`
15801 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15803 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15811 soname_spec='${libname}${release}${shared_ext}$major'
15812 shlibpath_var=LD_LIBRARY_PATH
15823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15824 soname_spec='${libname}${release}${shared_ext}$major'
15825 shlibpath_var=LD_LIBRARY_PATH
15826 shlibpath_overrides_runpath=no
15827 hardcode_into_libs=yes
15828 dynamic_linker='GNU ld.so'
15831 freebsd* | dragonfly*)
15832 # DragonFly does not have aout. When/if they implement a new
15833 # versioning mechanism, adjust this.
15834 if test -x /usr/bin/objformat; then
15835 objformat=`/usr/bin/objformat`
15838 freebsd[123]*) objformat=aout ;;
15839 *) objformat=elf ;;
15842 version_type=freebsd-$objformat
15843 case $version_type in
15845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15850 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15854 shlibpath_var=LD_LIBRARY_PATH
15857 shlibpath_overrides_runpath=yes
15859 freebsd3.[01]* | freebsdelf3.[01]*)
15860 shlibpath_overrides_runpath=yes
15861 hardcode_into_libs=yes
15863 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15864 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15865 shlibpath_overrides_runpath=no
15866 hardcode_into_libs=yes
15868 freebsd*) # from 4.6 on
15869 shlibpath_overrides_runpath=yes
15870 hardcode_into_libs=yes
15879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15880 soname_spec='${libname}${release}${shared_ext}$major'
15881 shlibpath_var=LD_LIBRARY_PATH
15882 hardcode_into_libs=yes
15885 hpux9* | hpux10* | hpux11*)
15886 # Give a soname corresponding to the major version so that dld.sl refuses to
15887 # link against other versions.
15894 hardcode_into_libs=yes
15895 dynamic_linker="$host_os dld.so"
15896 shlibpath_var=LD_LIBRARY_PATH
15897 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15899 soname_spec='${libname}${release}${shared_ext}$major'
15900 if test "X$HPUX_IA64_MODE" = X32; then
15901 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15903 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15905 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15909 hardcode_into_libs=yes
15910 dynamic_linker="$host_os dld.sl"
15911 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15912 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15914 soname_spec='${libname}${release}${shared_ext}$major'
15915 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15916 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15920 dynamic_linker="$host_os dld.sl"
15921 shlibpath_var=SHLIB_PATH
15922 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15924 soname_spec='${libname}${release}${shared_ext}$major'
15927 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15928 postinstall_cmds='chmod 555 $lib'
15935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15936 soname_spec='${libname}${release}${shared_ext}$major'
15937 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15938 shlibpath_var=LD_LIBRARY_PATH
15939 shlibpath_overrides_runpath=no
15940 hardcode_into_libs=yes
15943 irix5* | irix6* | nonstopux*)
15945 nonstopux*) version_type=nonstopux ;;
15947 if test "$lt_cv_prog_gnu_ld" = yes; then
15955 soname_spec='${libname}${release}${shared_ext}$major'
15956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15958 irix5* | nonstopux*)
15959 libsuff= shlibsuff=
15962 case $LD in # libtool.m4 will add one of these switches to LD
15963 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15964 libsuff= shlibsuff= libmagic=32-bit;;
15965 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15966 libsuff=32 shlibsuff=N32 libmagic=N32;;
15967 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15968 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15969 *) libsuff= shlibsuff= libmagic=never-match;;
15973 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15974 shlibpath_overrides_runpath=no
15975 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15976 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15977 hardcode_into_libs=yes
15980 # No shared lib support for Linux oldld, aout, or coff.
15981 linux*oldld* | linux*aout* | linux*coff*)
15985 # This must be Linux ELF.
15990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15991 soname_spec='${libname}${release}${shared_ext}$major'
15992 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15993 shlibpath_var=LD_LIBRARY_PATH
15994 shlibpath_overrides_runpath=no
15995 # This implies no fast_install, which is unacceptable.
15996 # Some rework will be needed to allow for fast_install
15997 # before this can be enabled.
15998 hardcode_into_libs=yes
16000 # find out which ABI we are using
16002 case "$host_cpu" in
16003 x86_64*|s390x*|powerpc64*)
16004 echo '#line 16004 "configure"' > conftest.$ac_ext
16005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16006 (eval $ac_compile) 2>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; then
16010 case `/usr/bin/file conftest.$ac_objext` in
16013 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16021 # Append ld.so.conf contents to the search path
16022 if test -f /etc/ld.so.conf; then
16023 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' ' '`
16024 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16027 # We used to test for /lib/ld.so.1 and disable shared libraries on
16028 # powerpc, because MkLinux only supported shared libraries with the
16029 # GNU dynamic linker. Since this was broken with cross compilers,
16030 # most powerpc-linux boxes support dynamic linking these days and
16031 # people can always --disable-shared, the test was removed, and we
16032 # assume the GNU/Linux dynamic linker is in use.
16033 dynamic_linker='GNU/Linux ld.so'
16040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16041 soname_spec='${libname}${release}${shared_ext}$major'
16042 shlibpath_var=LD_LIBRARY_PATH
16043 shlibpath_overrides_runpath=no
16044 hardcode_into_libs=yes
16045 dynamic_linker='GNU ld.so'
16052 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16054 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16055 dynamic_linker='NetBSD (a.out) ld.so'
16057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16058 soname_spec='${libname}${release}${shared_ext}$major'
16059 dynamic_linker='NetBSD ld.elf_so'
16061 shlibpath_var=LD_LIBRARY_PATH
16062 shlibpath_overrides_runpath=yes
16063 hardcode_into_libs=yes
16068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16069 shlibpath_var=LD_LIBRARY_PATH
16070 shlibpath_overrides_runpath=yes
16077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16078 soname_spec='${libname}${release}${shared_ext}$major'
16079 shlibpath_var=LD_LIBRARY_PATH
16080 shlibpath_overrides_runpath=yes
16085 sys_lib_dlsearch_path_spec="/usr/lib"
16087 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16089 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16090 *) need_version=no ;;
16092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16093 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16094 shlibpath_var=LD_LIBRARY_PATH
16095 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16097 openbsd2.[89] | openbsd2.[89].*)
16098 shlibpath_overrides_runpath=no
16101 shlibpath_overrides_runpath=yes
16105 shlibpath_overrides_runpath=yes
16110 libname_spec='$name'
16113 library_names_spec='$libname${shared_ext} $libname.a'
16114 dynamic_linker='OS/2 ld.exe'
16115 shlibpath_var=LIBPATH
16118 osf3* | osf4* | osf5*)
16122 soname_spec='${libname}${release}${shared_ext}$major'
16123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16124 shlibpath_var=LD_LIBRARY_PATH
16125 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16126 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16134 soname_spec='${libname}${release}${shared_ext}$major'
16135 shlibpath_var=LD_LIBRARY_PATH
16136 shlibpath_overrides_runpath=yes
16137 hardcode_into_libs=yes
16138 # ldd complains unless libraries are executable
16139 postinstall_cmds='chmod +x $lib'
16144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16145 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16146 shlibpath_var=LD_LIBRARY_PATH
16147 shlibpath_overrides_runpath=yes
16148 if test "$with_gnu_ld" = yes; then
16156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16157 soname_spec='${libname}${release}${shared_ext}$major'
16158 shlibpath_var=LD_LIBRARY_PATH
16159 case $host_vendor in
16161 shlibpath_overrides_runpath=no
16163 export_dynamic_flag_spec='${wl}-Blargedynsym'
16164 runpath_var=LD_RUN_PATH
16172 shlibpath_overrides_runpath=no
16173 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16179 if test -d /usr/nec ;then
16181 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16182 soname_spec='$libname${shared_ext}.$major'
16183 shlibpath_var=LD_LIBRARY_PATH
16187 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16188 version_type=freebsd-elf
16191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16192 soname_spec='${libname}${release}${shared_ext}$major'
16193 shlibpath_var=LD_LIBRARY_PATH
16194 hardcode_into_libs=yes
16195 if test "$with_gnu_ld" = yes; then
16196 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16197 shlibpath_overrides_runpath=no
16199 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16200 shlibpath_overrides_runpath=yes
16203 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16207 sys_lib_dlsearch_path_spec='/usr/lib'
16212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16213 soname_spec='${libname}${release}${shared_ext}$major'
16214 shlibpath_var=LD_LIBRARY_PATH
16221 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16222 echo "${ECHO_T}$dynamic_linker" >&6; }
16223 test "$dynamic_linker" = no && can_build_shared=no
16225 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16226 if test "$GCC" = yes; then
16227 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16230 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16231 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16232 hardcode_action_F77=
16233 if test -n "$hardcode_libdir_flag_spec_F77" || \
16234 test -n "$runpath_var_F77" || \
16235 test "X$hardcode_automatic_F77" = "Xyes" ; then
16237 # We can hardcode non-existant directories.
16238 if test "$hardcode_direct_F77" != no &&
16239 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16240 # have to relink, otherwise we might link with an installed library
16241 # when we should be linking with a yet-to-be-installed one
16242 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16243 test "$hardcode_minus_L_F77" != no; then
16244 # Linking always hardcodes the temporary library directory.
16245 hardcode_action_F77=relink
16247 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16248 hardcode_action_F77=immediate
16251 # We cannot hardcode anything, or else we can only hardcode existing
16253 hardcode_action_F77=unsupported
16255 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16256 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16258 if test "$hardcode_action_F77" = relink; then
16259 # Fast installation is not supported
16260 enable_fast_install=no
16261 elif test "$shlibpath_overrides_runpath" = yes ||
16262 test "$enable_shared" = no; then
16263 # Fast installation is not necessary
16264 enable_fast_install=needless
16268 # The else clause should only fire when bootstrapping the
16269 # libtool distribution, otherwise you forgot to ship ltmain.sh
16270 # with your package, and you will get complaints that there are
16271 # no rules to generate ltmain.sh.
16272 if test -f "$ltmain"; then
16273 # See if we are running on zsh, and set the options which allow our commands through
16274 # without removal of \ escapes.
16275 if test -n "${ZSH_VERSION+set}" ; then
16276 setopt NO_GLOB_SUBST
16278 # Now quote all the things that may contain metacharacters while being
16279 # careful not to overquote the AC_SUBSTed values. We take copies of the
16280 # variables and quote the copies for generation of the libtool script.
16281 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16283 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16284 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16285 deplibs_check_method reload_flag reload_cmds need_locks \
16286 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16287 lt_cv_sys_global_symbol_to_c_name_address \
16288 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16289 old_postinstall_cmds old_postuninstall_cmds \
16293 lt_prog_compiler_wl_F77 \
16294 lt_prog_compiler_pic_F77 \
16295 lt_prog_compiler_static_F77 \
16296 lt_prog_compiler_no_builtin_flag_F77 \
16297 export_dynamic_flag_spec_F77 \
16298 thread_safe_flag_spec_F77 \
16299 whole_archive_flag_spec_F77 \
16300 enable_shared_with_static_runtimes_F77 \
16301 old_archive_cmds_F77 \
16302 old_archive_from_new_cmds_F77 \
16303 predep_objects_F77 \
16304 postdep_objects_F77 \
16307 compiler_lib_search_path_F77 \
16309 archive_expsym_cmds_F77 \
16310 postinstall_cmds_F77 \
16311 postuninstall_cmds_F77 \
16312 old_archive_from_expsyms_cmds_F77 \
16313 allow_undefined_flag_F77 \
16314 no_undefined_flag_F77 \
16315 export_symbols_cmds_F77 \
16316 hardcode_libdir_flag_spec_F77 \
16317 hardcode_libdir_flag_spec_ld_F77 \
16318 hardcode_libdir_separator_F77 \
16319 hardcode_automatic_F77 \
16321 module_expsym_cmds_F77 \
16322 lt_cv_prog_compiler_c_o_F77 \
16323 exclude_expsyms_F77 \
16324 include_expsyms_F77; do
16327 old_archive_cmds_F77 | \
16328 old_archive_from_new_cmds_F77 | \
16329 archive_cmds_F77 | \
16330 archive_expsym_cmds_F77 | \
16331 module_cmds_F77 | \
16332 module_expsym_cmds_F77 | \
16333 old_archive_from_expsyms_cmds_F77 | \
16334 export_symbols_cmds_F77 | \
16335 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16336 postinstall_cmds | postuninstall_cmds | \
16337 old_postinstall_cmds | old_postuninstall_cmds | \
16338 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16339 # Double-quote double-evaled strings.
16340 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16343 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16349 *'\$0 --fallback-echo"')
16350 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16356 cat <<__EOF__ >> "$cfgfile"
16357 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16359 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16361 # Shell to use when invoking shell scripts.
16364 # Whether or not to build shared libraries.
16365 build_libtool_libs=$enable_shared
16367 # Whether or not to build static libraries.
16368 build_old_libs=$enable_static
16370 # Whether or not to add -lc for building shared libraries.
16371 build_libtool_need_lc=$archive_cmds_need_lc_F77
16373 # Whether or not to disallow shared libs when runtime libs are static
16374 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16376 # Whether or not to optimize for fast installation.
16377 fast_install=$enable_fast_install
16380 host_alias=$host_alias
16384 # The build system.
16385 build_alias=$build_alias
16389 # An echo program that does not interpret backslashes.
16394 AR_FLAGS=$lt_AR_FLAGS
16399 # LTCC compiler flags.
16400 LTCFLAGS=$lt_LTCFLAGS
16402 # A language-specific compiler.
16403 CC=$lt_compiler_F77
16405 # Is the compiler the GNU C compiler?
16408 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
16409 gcc_ver=\`gcc -dumpversion\`
16414 # The linker used to build libraries.
16417 # Whether we need hard or soft links.
16420 # A BSD-compatible nm program.
16423 # A symbol stripping program
16426 # Used to examine libraries when file_magic_cmd begins "file"
16427 MAGIC_CMD=$MAGIC_CMD
16429 # Used on cygwin: DLL creation program.
16432 # Used on cygwin: object dumper.
16435 # Used on cygwin: assembler.
16438 # The name of the directory that contains temporary libtool files.
16441 # How to create reloadable object files.
16442 reload_flag=$lt_reload_flag
16443 reload_cmds=$lt_reload_cmds
16445 # How to pass a linker flag through the compiler.
16446 wl=$lt_lt_prog_compiler_wl_F77
16448 # Object file suffix (normally "o").
16449 objext="$ac_objext"
16451 # Old archive suffix (normally "a").
16454 # Shared library suffix (normally ".so").
16455 shrext_cmds='$shrext_cmds'
16457 # Executable file suffix (normally "").
16460 # Additional compiler flags for building library objects.
16461 pic_flag=$lt_lt_prog_compiler_pic_F77
16464 # What is the maximum length of a command?
16465 max_cmd_len=$lt_cv_sys_max_cmd_len
16467 # Does compiler simultaneously support -c and -o options?
16468 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16470 # Must we lock files when doing compilation?
16471 need_locks=$lt_need_locks
16473 # Do we need the lib prefix for modules?
16474 need_lib_prefix=$need_lib_prefix
16476 # Do we need a version for libraries?
16477 need_version=$need_version
16479 # Whether dlopen is supported.
16480 dlopen_support=$enable_dlopen
16482 # Whether dlopen of programs is supported.
16483 dlopen_self=$enable_dlopen_self
16485 # Whether dlopen of statically linked programs is supported.
16486 dlopen_self_static=$enable_dlopen_self_static
16488 # Compiler flag to prevent dynamic linking.
16489 link_static_flag=$lt_lt_prog_compiler_static_F77
16491 # Compiler flag to turn off builtin functions.
16492 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16494 # Compiler flag to allow reflexive dlopens.
16495 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16497 # Compiler flag to generate shared objects directly from archives.
16498 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16500 # Compiler flag to generate thread-safe objects.
16501 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16503 # Library versioning type.
16504 version_type=$version_type
16506 # Format of library name prefix.
16507 libname_spec=$lt_libname_spec
16509 # List of archive names. First name is the real one, the rest are links.
16510 # The last name is the one that the linker finds with -lNAME.
16511 library_names_spec=$lt_library_names_spec
16513 # The coded name of the library, if different from the real name.
16514 soname_spec=$lt_soname_spec
16516 # Commands used to build and install an old-style archive.
16518 old_archive_cmds=$lt_old_archive_cmds_F77
16519 old_postinstall_cmds=$lt_old_postinstall_cmds
16520 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16522 # Create an old-style archive from a shared archive.
16523 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16525 # Create a temporary old-style archive to link instead of a shared archive.
16526 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16528 # Commands used to build and install a shared archive.
16529 archive_cmds=$lt_archive_cmds_F77
16530 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16531 postinstall_cmds=$lt_postinstall_cmds
16532 postuninstall_cmds=$lt_postuninstall_cmds
16534 # Commands used to build a loadable module (assumed same as above if empty)
16535 module_cmds=$lt_module_cmds_F77
16536 module_expsym_cmds=$lt_module_expsym_cmds_F77
16538 # Commands to strip libraries.
16539 old_striplib=$lt_old_striplib
16540 striplib=$lt_striplib
16542 # Dependencies to place before the objects being linked to create a
16544 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16546 # Dependencies to place after the objects being linked to create a
16548 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16550 # Dependencies to place before the objects being linked to create a
16552 predeps=$lt_predeps_F77
16554 # Dependencies to place after the objects being linked to create a
16556 postdeps=$lt_postdeps_F77
16558 # The library search path used internally by the compiler when linking
16559 # a shared library.
16560 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16562 # Method to check whether dependent libraries are shared objects.
16563 deplibs_check_method=$lt_deplibs_check_method
16565 # Command to use when deplibs_check_method == file_magic.
16566 file_magic_cmd=$lt_file_magic_cmd
16568 # Flag that allows shared libraries with undefined symbols to be built.
16569 allow_undefined_flag=$lt_allow_undefined_flag_F77
16571 # Flag that forces no undefined symbols.
16572 no_undefined_flag=$lt_no_undefined_flag_F77
16574 # Commands used to finish a libtool library installation in a directory.
16575 finish_cmds=$lt_finish_cmds
16577 # Same as above, but a single script fragment to be evaled but not shown.
16578 finish_eval=$lt_finish_eval
16580 # Take the output of nm and produce a listing of raw symbols and C names.
16581 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16583 # Transform the output of nm in a proper C declaration
16584 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16586 # Transform the output of nm in a C name address pair
16587 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16589 # This is the shared library runtime path variable.
16590 runpath_var=$runpath_var
16592 # This is the shared library path variable.
16593 shlibpath_var=$shlibpath_var
16595 # Is shlibpath searched before the hard-coded library search path?
16596 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16598 # How to hardcode a shared library path into an executable.
16599 hardcode_action=$hardcode_action_F77
16601 # Whether we should hardcode library paths into libraries.
16602 hardcode_into_libs=$hardcode_into_libs
16604 # Flag to hardcode \$libdir into a binary during linking.
16605 # This must work even if \$libdir does not exist.
16606 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16608 # If ld is used when linking, flag to hardcode \$libdir into
16609 # a binary during linking. This must work even if \$libdir does
16611 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16613 # Whether we need a single -rpath flag with a separated argument.
16614 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16616 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16617 # resulting binary.
16618 hardcode_direct=$hardcode_direct_F77
16620 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16621 # resulting binary.
16622 hardcode_minus_L=$hardcode_minus_L_F77
16624 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16625 # the resulting binary.
16626 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16628 # Set to yes if building a shared library automatically hardcodes DIR into the library
16629 # and all subsequent libraries and executables linked against it.
16630 hardcode_automatic=$hardcode_automatic_F77
16632 # Variables whose values should be saved in libtool wrapper scripts and
16633 # restored at relink time.
16634 variables_saved_for_relink="$variables_saved_for_relink"
16636 # Whether libtool must link a program against all its dependency libraries.
16637 link_all_deplibs=$link_all_deplibs_F77
16639 # Compile-time system search path for libraries
16640 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16642 # Run-time system search path for libraries
16643 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16645 # Fix the shell variable \$srcfile for the compiler.
16646 fix_srcfile_path="$fix_srcfile_path_F77"
16648 # Set to yes if exported symbols are required.
16649 always_export_symbols=$always_export_symbols_F77
16651 # The commands to list exported symbols.
16652 export_symbols_cmds=$lt_export_symbols_cmds_F77
16654 # The commands to extract the exported symbol list from a shared archive.
16655 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16657 # Symbols that should not be listed in the preloaded symbols.
16658 exclude_expsyms=$lt_exclude_expsyms_F77
16660 # Symbols that must always be exported.
16661 include_expsyms=$lt_include_expsyms_F77
16663 # ### END LIBTOOL TAG CONFIG: $tagname
16669 # If there is no Makefile yet, we rely on a make rule to execute
16670 # `config.status --recheck' to rerun these tests and create the
16671 # libtool script then.
16672 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16673 if test -f "$ltmain_in"; then
16674 test -f Makefile && make "$ltmain"
16680 ac_cpp='$CPP $CPPFLAGS'
16681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16693 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16696 # Source file extension for Java test sources.
16699 # Object file extension for compiled Java test sources.
16703 # Code to be used in simple compile tests
16704 lt_simple_compile_test_code="class foo {}\n"
16706 # Code to be used in simple link tests
16707 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16709 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16711 # If no C compiler was specified, use CC.
16714 # If no C compiler flags were specified, use CFLAGS.
16715 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16717 # Allow CC to be a program name with arguments.
16721 # save warnings/boilerplate of simple test code
16722 ac_outfile=conftest.$ac_objext
16723 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16724 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16725 _lt_compiler_boilerplate=`cat conftest.err`
16728 ac_outfile=conftest.$ac_objext
16729 printf "$lt_simple_link_test_code" >conftest.$ac_ext
16730 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16731 _lt_linker_boilerplate=`cat conftest.err`
16735 # Allow CC to be a program name with arguments.
16740 for cc_temp in $compiler""; do
16742 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16743 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16748 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16752 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16753 archive_cmds_need_lc_GCJ=no
16755 old_archive_cmds_GCJ=$old_archive_cmds
16758 lt_prog_compiler_no_builtin_flag_GCJ=
16760 if test "$GCC" = yes; then
16761 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16764 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16765 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16766 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16767 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 lt_cv_prog_compiler_rtti_exceptions=no
16770 ac_outfile=conftest.$ac_objext
16771 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16772 lt_compiler_flag="-fno-rtti -fno-exceptions"
16773 # Insert the option either (1) after the last *FLAGS variable, or
16774 # (2) before a word containing "conftest.", or (3) at the end.
16775 # Note that $ac_compile itself does not contain backslashes and begins
16776 # with a dollar sign (not a hyphen), so the echo should work correctly.
16777 # The option is referenced via a variable to avoid confusing sed.
16778 lt_compile=`echo "$ac_compile" | $SED \
16779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16781 -e 's:$: $lt_compiler_flag:'`
16782 (eval echo "\"\$as_me:16782: $lt_compile\"" >&5)
16783 (eval "$lt_compile" 2>conftest.err)
16785 cat conftest.err >&5
16786 echo "$as_me:16786: \$? = $ac_status" >&5
16787 if (exit $ac_status) && test -s "$ac_outfile"; then
16788 # The compiler can only warn and ignore the option if not recognized
16789 # So say no if there are warnings other than the usual output.
16790 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16791 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16792 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16793 lt_cv_prog_compiler_rtti_exceptions=yes
16799 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16800 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16802 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16803 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16810 lt_prog_compiler_wl_GCJ=
16811 lt_prog_compiler_pic_GCJ=
16812 lt_prog_compiler_static_GCJ=
16814 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16815 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16817 if test "$GCC" = yes; then
16818 lt_prog_compiler_wl_GCJ='-Wl,'
16819 lt_prog_compiler_static_GCJ='-static'
16823 # All AIX code is PIC.
16824 if test "$host_cpu" = ia64; then
16825 # AIX 5 now supports IA64 processor
16826 lt_prog_compiler_static_GCJ='-Bstatic'
16831 # FIXME: we need at least 68020 code to build shared libraries, but
16832 # adding the `-m68020' flag to GCC prevents building anything better,
16834 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16837 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16838 # PIC is the default for these OSes.
16841 mingw* | pw32* | os2*)
16842 # This hack is so that the source file can tell whether it is being
16843 # built for inclusion in a dll (and should export symbols for example).
16844 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16847 darwin* | rhapsody*)
16848 # PIC is the default on this platform
16849 # Common symbols not allowed in MH_DYLIB files
16850 lt_prog_compiler_pic_GCJ='-fno-common'
16854 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16855 # Instead, we relocate shared libraries at runtime.
16859 # Just because we use GCC doesn't mean we suddenly get shared libraries
16860 # on systems that don't support them.
16861 lt_prog_compiler_can_build_shared_GCJ=no
16866 if test -d /usr/nec; then
16867 lt_prog_compiler_pic_GCJ=-Kconform_pic
16872 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16873 # not for PA HP-UX.
16879 lt_prog_compiler_pic_GCJ='-fPIC'
16885 lt_prog_compiler_pic_GCJ='-fPIC'
16889 # PORTME Check for flag to pass linker flags through the system compiler.
16892 lt_prog_compiler_wl_GCJ='-Wl,'
16893 if test "$host_cpu" = ia64; then
16894 # AIX 5 now supports IA64 processor
16895 lt_prog_compiler_static_GCJ='-Bstatic'
16897 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16901 # PIC is the default on this platform
16902 # Common symbols not allowed in MH_DYLIB files
16903 case $cc_basename in
16905 lt_prog_compiler_pic_GCJ='-qnocommon'
16906 lt_prog_compiler_wl_GCJ='-Wl,'
16911 mingw* | pw32* | os2*)
16912 # This hack is so that the source file can tell whether it is being
16913 # built for inclusion in a dll (and should export symbols for example).
16914 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16917 hpux9* | hpux10* | hpux11*)
16918 lt_prog_compiler_wl_GCJ='-Wl,'
16919 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16920 # not for PA HP-UX.
16926 lt_prog_compiler_pic_GCJ='+Z'
16929 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16930 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16933 irix5* | irix6* | nonstopux*)
16934 lt_prog_compiler_wl_GCJ='-Wl,'
16935 # PIC (with -KPIC) is the default.
16936 lt_prog_compiler_static_GCJ='-non_shared'
16940 lt_prog_compiler_pic_GCJ='-KPIC'
16941 lt_prog_compiler_static_GCJ='-Bstatic'
16945 case $cc_basename in
16947 lt_prog_compiler_wl_GCJ='-Wl,'
16948 lt_prog_compiler_pic_GCJ='-KPIC'
16949 lt_prog_compiler_static_GCJ='-static'
16951 pgcc* | pgf77* | pgf90* | pgf95*)
16952 # Portland Group compilers (*not* the Pentium gcc compiler,
16953 # which looks to be a dead project)
16954 lt_prog_compiler_wl_GCJ='-Wl,'
16955 lt_prog_compiler_pic_GCJ='-fpic'
16956 lt_prog_compiler_static_GCJ='-Bstatic'
16959 lt_prog_compiler_wl_GCJ='-Wl,'
16960 # All Alpha code is PIC.
16961 lt_prog_compiler_static_GCJ='-non_shared'
16966 osf3* | osf4* | osf5*)
16967 lt_prog_compiler_wl_GCJ='-Wl,'
16968 # All OSF/1 code is PIC.
16969 lt_prog_compiler_static_GCJ='-non_shared'
16973 lt_prog_compiler_pic_GCJ='-KPIC'
16974 lt_prog_compiler_static_GCJ='-Bstatic'
16975 case $cc_basename in
16976 f77* | f90* | f95*)
16977 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16979 lt_prog_compiler_wl_GCJ='-Wl,';;
16984 lt_prog_compiler_wl_GCJ='-Qoption ld '
16985 lt_prog_compiler_pic_GCJ='-PIC'
16986 lt_prog_compiler_static_GCJ='-Bstatic'
16989 sysv4 | sysv4.2uw2* | sysv4.3*)
16990 lt_prog_compiler_wl_GCJ='-Wl,'
16991 lt_prog_compiler_pic_GCJ='-KPIC'
16992 lt_prog_compiler_static_GCJ='-Bstatic'
16996 if test -d /usr/nec ;then
16997 lt_prog_compiler_pic_GCJ='-Kconform_pic'
16998 lt_prog_compiler_static_GCJ='-Bstatic'
17002 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17003 lt_prog_compiler_wl_GCJ='-Wl,'
17004 lt_prog_compiler_pic_GCJ='-KPIC'
17005 lt_prog_compiler_static_GCJ='-Bstatic'
17009 lt_prog_compiler_wl_GCJ='-Wl,'
17010 lt_prog_compiler_can_build_shared_GCJ=no
17014 lt_prog_compiler_pic_GCJ='-pic'
17015 lt_prog_compiler_static_GCJ='-Bstatic'
17019 lt_prog_compiler_can_build_shared_GCJ=no
17024 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17025 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17028 # Check to make sure the PIC flag actually works.
17030 if test -n "$lt_prog_compiler_pic_GCJ"; then
17032 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17033 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17034 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17037 lt_prog_compiler_pic_works_GCJ=no
17038 ac_outfile=conftest.$ac_objext
17039 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17040 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17041 # Insert the option either (1) after the last *FLAGS variable, or
17042 # (2) before a word containing "conftest.", or (3) at the end.
17043 # Note that $ac_compile itself does not contain backslashes and begins
17044 # with a dollar sign (not a hyphen), so the echo should work correctly.
17045 # The option is referenced via a variable to avoid confusing sed.
17046 lt_compile=`echo "$ac_compile" | $SED \
17047 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17048 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17049 -e 's:$: $lt_compiler_flag:'`
17050 (eval echo "\"\$as_me:17050: $lt_compile\"" >&5)
17051 (eval "$lt_compile" 2>conftest.err)
17053 cat conftest.err >&5
17054 echo "$as_me:17054: \$? = $ac_status" >&5
17055 if (exit $ac_status) && test -s "$ac_outfile"; then
17056 # The compiler can only warn and ignore the option if not recognized
17057 # So say no if there are warnings other than the usual output.
17058 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17059 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17060 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17061 lt_prog_compiler_pic_works_GCJ=yes
17067 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17068 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17070 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17071 case $lt_prog_compiler_pic_GCJ in
17073 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17076 lt_prog_compiler_pic_GCJ=
17077 lt_prog_compiler_can_build_shared_GCJ=no
17082 # For platforms which do not support PIC, -DPIC is meaningless:
17084 lt_prog_compiler_pic_GCJ=
17087 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17092 # Check to make sure the static flag actually works.
17094 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17095 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17096 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17097 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 lt_prog_compiler_static_works_GCJ=no
17101 save_LDFLAGS="$LDFLAGS"
17102 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17103 printf "$lt_simple_link_test_code" > conftest.$ac_ext
17104 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17105 # The linker can only warn and ignore the option if not recognized
17106 # So say no if there are warnings
17107 if test -s conftest.err; then
17108 # Append any errors to the config.log.
17109 cat conftest.err 1>&5
17110 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17111 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17112 if diff conftest.exp conftest.er2 >/dev/null; then
17113 lt_prog_compiler_static_works_GCJ=yes
17116 lt_prog_compiler_static_works_GCJ=yes
17120 LDFLAGS="$save_LDFLAGS"
17123 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17124 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17126 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17129 lt_prog_compiler_static_GCJ=
17133 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17134 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17135 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17136 echo $ECHO_N "(cached) $ECHO_C" >&6
17138 lt_cv_prog_compiler_c_o_GCJ=no
17139 $rm -r conftest 2>/dev/null
17143 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17145 lt_compiler_flag="-o out/conftest2.$ac_objext"
17146 # Insert the option either (1) after the last *FLAGS variable, or
17147 # (2) before a word containing "conftest.", or (3) at the end.
17148 # Note that $ac_compile itself does not contain backslashes and begins
17149 # with a dollar sign (not a hyphen), so the echo should work correctly.
17150 lt_compile=`echo "$ac_compile" | $SED \
17151 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17152 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17153 -e 's:$: $lt_compiler_flag:'`
17154 (eval echo "\"\$as_me:17154: $lt_compile\"" >&5)
17155 (eval "$lt_compile" 2>out/conftest.err)
17157 cat out/conftest.err >&5
17158 echo "$as_me:17158: \$? = $ac_status" >&5
17159 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17161 # The compiler can only warn and ignore the option if not recognized
17162 # So say no if there are warnings
17163 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17164 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17165 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17166 lt_cv_prog_compiler_c_o_GCJ=yes
17171 # SGI C++ compiler will create directory out/ii_files/ for
17172 # template instantiation
17173 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17174 $rm out/* && rmdir out
17180 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17181 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17184 hard_links="nottested"
17185 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17186 # do not overwrite the value of need_locks provided by the user
17187 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17188 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17191 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17193 ln conftest.a conftest.b 2>&5 || hard_links=no
17194 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17195 { echo "$as_me:$LINENO: result: $hard_links" >&5
17196 echo "${ECHO_T}$hard_links" >&6; }
17197 if test "$hard_links" = no; then
17198 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17199 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17206 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17207 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17210 allow_undefined_flag_GCJ=
17211 enable_shared_with_static_runtimes_GCJ=no
17213 archive_expsym_cmds_GCJ=
17214 old_archive_From_new_cmds_GCJ=
17215 old_archive_from_expsyms_cmds_GCJ=
17216 export_dynamic_flag_spec_GCJ=
17217 whole_archive_flag_spec_GCJ=
17218 thread_safe_flag_spec_GCJ=
17219 hardcode_libdir_flag_spec_GCJ=
17220 hardcode_libdir_flag_spec_ld_GCJ=
17221 hardcode_libdir_separator_GCJ=
17222 hardcode_direct_GCJ=no
17223 hardcode_minus_L_GCJ=no
17224 hardcode_shlibpath_var_GCJ=unsupported
17225 link_all_deplibs_GCJ=unknown
17226 hardcode_automatic_GCJ=no
17228 module_expsym_cmds_GCJ=
17229 always_export_symbols_GCJ=no
17230 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17231 # include_expsyms should be a list of space-separated symbols to be *always*
17232 # included in the symbol list
17233 include_expsyms_GCJ=
17234 # exclude_expsyms can be an extended regexp of symbols to exclude
17235 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17236 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17237 # as well as any symbol that contains `d'.
17238 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17239 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17240 # platforms (ab)use it in PIC code, but their linkers get confused if
17241 # the symbol is explicitly referenced. Since portable code cannot
17242 # rely on this symbol name, it's probably fine to never include it in
17243 # preloaded symbol tables.
17244 extract_expsyms_cmds=
17245 # Just being paranoid about ensuring that cc_basename is set.
17246 for cc_temp in $compiler""; do
17248 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17249 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17254 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17257 cygwin* | mingw* | pw32*)
17258 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17259 # When not using gcc, we currently assume that we are using
17260 # Microsoft Visual C++.
17261 if test "$GCC" != yes; then
17266 # we just hope/assume this is gcc and not c89 (= MSVC++)
17275 if test "$with_gnu_ld" = yes; then
17276 # If archive_cmds runs LD, not CC, wlarc should be empty
17279 # Set some defaults for GNU ld with shared library support. These
17280 # are reset later if shared libraries are not supported. Putting them
17281 # here allows them to be overridden if necessary.
17282 runpath_var=LD_RUN_PATH
17283 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17284 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17285 # ancient GNU ld didn't support --whole-archive et. al.
17286 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17287 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17289 whole_archive_flag_spec_GCJ=
17291 supports_anon_versioning=no
17292 case `$LD -v 2>/dev/null` in
17293 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17294 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17295 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17296 *\ 2.11.*) ;; # other 2.11 versions
17297 *) supports_anon_versioning=yes ;;
17300 # See if GNU ld supports shared libraries.
17302 aix3* | aix4* | aix5*)
17303 # On AIX/PPC, the GNU linker is very broken
17304 if test "$host_cpu" != ia64; then
17308 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17309 *** to be unable to reliably create shared libraries on AIX.
17310 *** Therefore, libtool is disabling shared libraries support. If you
17311 *** really care for shared libraries, you may want to modify your PATH
17312 *** so that a non-GNU linker is found, and then restart.
17319 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)'
17320 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17321 hardcode_minus_L_GCJ=yes
17323 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17324 # that the semantics of dynamic libraries on AmigaOS, at least up
17325 # to version 4, is to share data among multiple programs linked
17326 # with the same dynamic library. Since this doesn't match the
17327 # behavior of shared libraries on other platforms, we can't use
17333 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17334 allow_undefined_flag_GCJ=unsupported
17335 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17336 # support --undefined. This deserves some investigation. FIXME
17337 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17343 cygwin* | mingw* | pw32*)
17344 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17345 # as there is no search path for DLLs.
17346 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17347 allow_undefined_flag_GCJ=unsupported
17348 always_export_symbols_GCJ=no
17349 enable_shared_with_static_runtimes_GCJ=yes
17350 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17352 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17353 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17354 # If the export-symbols file already is a .def file (1st line
17355 # is EXPORTS), use it as is; otherwise, prepend...
17356 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17357 cp $export_symbols $output_objdir/$soname.def;
17359 echo EXPORTS > $output_objdir/$soname.def;
17360 cat $export_symbols >> $output_objdir/$soname.def;
17362 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17369 hardcode_direct_GCJ=no
17370 hardcode_shlibpath_var_GCJ=no
17371 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17372 export_dynamic_flag_spec_GCJ='${wl}-E'
17373 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17374 # Instead, shared libraries are loaded at an image base (0x10000000 by
17375 # default) and relocated if they conflict, which is a slow very memory
17376 # consuming and fragmenting process. To avoid this, we pick a random,
17377 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17378 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17379 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'
17380 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'
17384 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17386 case $cc_basename,$host_cpu in
17387 pgcc*) # Portland Group C compiler
17388 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'
17389 tmp_addflag=' $pic_flag'
17391 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17392 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'
17393 tmp_addflag=' $pic_flag -Mnomain' ;;
17394 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17395 tmp_addflag=' -i_dynamic' ;;
17396 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17397 tmp_addflag=' -i_dynamic -nofor_main' ;;
17398 ifc* | ifort*) # Intel Fortran compiler
17399 tmp_addflag=' -nofor_main' ;;
17401 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17403 if test $supports_anon_versioning = yes; then
17404 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17405 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17406 $echo "local: *; };" >> $output_objdir/$libname.ver~
17407 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17415 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17416 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17419 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17420 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17425 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17429 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17430 *** create shared libraries on Solaris systems. Therefore, libtool
17431 *** is disabling shared libraries support. We urge you to upgrade GNU
17432 *** binutils to release 2.9.1 or newer. Another option is to modify
17433 *** your PATH or compiler configuration so that the native linker is
17434 *** used, and then restart.
17437 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17438 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17439 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17445 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17446 case `$LD -v 2>&1` in
17447 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17451 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17452 *** reliably create shared libraries on SCO systems. Therefore, libtool
17453 *** is disabling shared libraries support. We urge you to upgrade GNU
17454 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17455 *** your PATH or compiler configuration so that the native linker is
17456 *** used, and then restart.
17461 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17462 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17463 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17464 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17473 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17475 hardcode_direct_GCJ=yes
17476 hardcode_shlibpath_var_GCJ=no
17480 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17481 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17482 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17489 if test "$ld_shlibs_GCJ" = no; then
17491 hardcode_libdir_flag_spec_GCJ=
17492 export_dynamic_flag_spec_GCJ=
17493 whole_archive_flag_spec_GCJ=
17496 # PORTME fill in a description of your system's linker (not GNU ld)
17499 allow_undefined_flag_GCJ=unsupported
17500 always_export_symbols_GCJ=yes
17501 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'
17502 # Note: this linker hardcodes the directories in LIBPATH if there
17503 # are no directories specified by -L.
17504 hardcode_minus_L_GCJ=yes
17505 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17506 # Neither direct hardcoding nor static linking is supported with a
17508 hardcode_direct_GCJ=unsupported
17513 if test "$host_cpu" = ia64; then
17514 # On IA64, the linker does run time linking by default, so we don't
17515 # have to do anything special.
17516 aix_use_runtimelinking=no
17517 exp_sym_flag='-Bexport'
17520 # If we're using GNU nm, then we don't want the "-C" option.
17521 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17522 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17523 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'
17525 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'
17527 aix_use_runtimelinking=no
17529 # Test if we are trying to use run time linking or normal
17530 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17531 # need to do runtime linking.
17532 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17533 for ld_flag in $LDFLAGS; do
17534 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17535 aix_use_runtimelinking=yes
17542 exp_sym_flag='-bexport'
17543 no_entry_flag='-bnoentry'
17546 # When large executables or shared objects are built, AIX ld can
17547 # have problems creating the table of contents. If linking a library
17548 # or program results in "error TOC overflow" add -mminimal-toc to
17549 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17550 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17552 archive_cmds_GCJ=''
17553 hardcode_direct_GCJ=yes
17554 hardcode_libdir_separator_GCJ=':'
17555 link_all_deplibs_GCJ=yes
17557 if test "$GCC" = yes; then
17558 case $host_os in aix4.[012]|aix4.[012].*)
17559 # We only want to do this on AIX 4.2 and lower, the check
17560 # below for broken collect2 doesn't work under 4.3+
17561 collect2name=`${CC} -print-prog-name=collect2`
17562 if test -f "$collect2name" && \
17563 strings "$collect2name" | grep resolve_lib_name >/dev/null
17565 # We have reworked collect2
17566 hardcode_direct_GCJ=yes
17568 # We have old collect2
17569 hardcode_direct_GCJ=unsupported
17570 # It fails to find uninstalled libraries when the uninstalled
17571 # path is not listed in the libpath. Setting hardcode_minus_L
17572 # to unsupported forces relinking
17573 hardcode_minus_L_GCJ=yes
17574 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17575 hardcode_libdir_separator_GCJ=
17579 shared_flag='-shared'
17580 if test "$aix_use_runtimelinking" = yes; then
17581 shared_flag="$shared_flag "'${wl}-G'
17585 if test "$host_cpu" = ia64; then
17586 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17587 # chokes on -Wl,-G. The following line is correct:
17590 if test "$aix_use_runtimelinking" = yes; then
17591 shared_flag='${wl}-G'
17593 shared_flag='${wl}-bM:SRE'
17598 # It seems that -bexpall does not export symbols beginning with
17599 # underscore (_), so it is better to generate a list of symbols to export.
17600 always_export_symbols_GCJ=yes
17601 if test "$aix_use_runtimelinking" = yes; then
17602 # Warning - without using the other runtime loading flags (-brtl),
17603 # -berok will link without error, but may produce a broken library.
17604 allow_undefined_flag_GCJ='-berok'
17605 # Determine the default libpath from the value encoded in an empty executable.
17606 cat >conftest.$ac_ext <<_ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17621 rm -f conftest.$ac_objext conftest$ac_exeext
17622 if { (ac_try="$ac_link"
17623 case "(($ac_try" in
17624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17625 *) ac_try_echo=$ac_try;;
17627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17628 (eval "$ac_link") 2>conftest.er1
17630 grep -v '^ *+' conftest.er1 >conftest.err
17632 cat conftest.err >&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); } && {
17635 test -z "$ac_c_werror_flag" ||
17636 test ! -s conftest.err
17637 } && test -s conftest$ac_exeext &&
17638 $as_test_x conftest$ac_exeext; then
17640 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17642 # Check for a 64-bit object if we didn't find anything.
17643 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; }
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17653 conftest$ac_exeext conftest.$ac_ext
17654 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17656 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17657 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"
17659 if test "$host_cpu" = ia64; then
17660 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17661 allow_undefined_flag_GCJ="-z nodefs"
17662 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"
17664 # Determine the default libpath from the value encoded in an empty executable.
17665 cat >conftest.$ac_ext <<_ACEOF
17668 cat confdefs.h >>conftest.$ac_ext
17669 cat >>conftest.$ac_ext <<_ACEOF
17670 /* end confdefs.h. */
17680 rm -f conftest.$ac_objext conftest$ac_exeext
17681 if { (ac_try="$ac_link"
17682 case "(($ac_try" in
17683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17684 *) ac_try_echo=$ac_try;;
17686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17687 (eval "$ac_link") 2>conftest.er1
17689 grep -v '^ *+' conftest.er1 >conftest.err
17691 cat conftest.err >&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } && {
17694 test -z "$ac_c_werror_flag" ||
17695 test ! -s conftest.err
17696 } && test -s conftest$ac_exeext &&
17697 $as_test_x conftest$ac_exeext; then
17699 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17701 # Check for a 64-bit object if we didn't find anything.
17702 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; }
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.$ac_ext >&5
17711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17712 conftest$ac_exeext conftest.$ac_ext
17713 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17715 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17716 # Warning - without using the other run time loading flags,
17717 # -berok will link without error, but may produce a broken library.
17718 no_undefined_flag_GCJ=' ${wl}-bernotok'
17719 allow_undefined_flag_GCJ=' ${wl}-berok'
17720 # Exported symbols can be pulled into shared objects from archives
17721 whole_archive_flag_spec_GCJ='$convenience'
17722 archive_cmds_need_lc_GCJ=yes
17723 # This is similar to how AIX traditionally builds its shared libraries.
17724 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'
17730 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)'
17731 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17732 hardcode_minus_L_GCJ=yes
17733 # see comment about different semantics on the GNU ld section
17738 export_dynamic_flag_spec_GCJ=-rdynamic
17741 cygwin* | mingw* | pw32*)
17742 # When not using gcc, we currently assume that we are using
17743 # Microsoft Visual C++.
17744 # hardcode_libdir_flag_spec is actually meaningless, as there is
17745 # no search path for DLLs.
17746 hardcode_libdir_flag_spec_GCJ=' '
17747 allow_undefined_flag_GCJ=unsupported
17748 # Tell ltmain to make .lib files, not .a files.
17750 # Tell ltmain to make .dll files, not .so files.
17752 # FIXME: Setting linknames here is a bad hack.
17753 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17754 # The linker will automatically build a .lib file if we build a DLL.
17755 old_archive_From_new_cmds_GCJ='true'
17756 # FIXME: Should let the user specify the lib program.
17757 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17758 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17759 enable_shared_with_static_runtimes_GCJ=yes
17762 darwin* | rhapsody*)
17764 rhapsody* | darwin1.[012])
17765 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17768 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17769 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17771 case ${MACOSX_DEPLOYMENT_TARGET} in
17773 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17776 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17782 archive_cmds_need_lc_GCJ=no
17783 hardcode_direct_GCJ=no
17784 hardcode_automatic_GCJ=yes
17785 hardcode_shlibpath_var_GCJ=unsupported
17786 whole_archive_flag_spec_GCJ=''
17787 link_all_deplibs_GCJ=yes
17788 if test "$GCC" = yes ; then
17789 output_verbose_link_cmd='echo'
17790 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17791 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17792 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17793 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}'
17794 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}'
17796 case $cc_basename in
17798 output_verbose_link_cmd='echo'
17799 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17800 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17801 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17802 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}'
17803 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}'
17813 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17814 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17815 hardcode_shlibpath_var_GCJ=no
17822 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17823 # support. Future versions do this automatically, but an explicit c++rt0.o
17824 # does not break anything, and helps significantly (at the cost of a little
17827 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17828 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17829 hardcode_direct_GCJ=yes
17830 hardcode_shlibpath_var_GCJ=no
17833 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17835 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17836 hardcode_direct_GCJ=yes
17837 hardcode_minus_L_GCJ=yes
17838 hardcode_shlibpath_var_GCJ=no
17841 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17842 freebsd* | kfreebsd*-gnu | dragonfly*)
17843 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17844 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17845 hardcode_direct_GCJ=yes
17846 hardcode_shlibpath_var_GCJ=no
17850 if test "$GCC" = yes; then
17851 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'
17853 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'
17855 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17856 hardcode_libdir_separator_GCJ=:
17857 hardcode_direct_GCJ=yes
17859 # hardcode_minus_L: Not really in the search PATH,
17860 # but as the default location of the library.
17861 hardcode_minus_L_GCJ=yes
17862 export_dynamic_flag_spec_GCJ='${wl}-E'
17866 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17867 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17869 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17871 if test "$with_gnu_ld" = no; then
17872 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17873 hardcode_libdir_separator_GCJ=:
17875 hardcode_direct_GCJ=yes
17876 export_dynamic_flag_spec_GCJ='${wl}-E'
17878 # hardcode_minus_L: Not really in the search PATH,
17879 # but as the default location of the library.
17880 hardcode_minus_L_GCJ=yes
17885 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17888 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17891 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17894 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17900 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17903 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17906 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17910 if test "$with_gnu_ld" = no; then
17911 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17912 hardcode_libdir_separator_GCJ=:
17916 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17917 hardcode_direct_GCJ=no
17918 hardcode_shlibpath_var_GCJ=no
17921 hardcode_direct_GCJ=yes
17922 export_dynamic_flag_spec_GCJ='${wl}-E'
17924 # hardcode_minus_L: Not really in the search PATH,
17925 # but as the default location of the library.
17926 hardcode_minus_L_GCJ=yes
17932 irix5* | irix6* | nonstopux*)
17933 if test "$GCC" = yes; then
17934 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'
17936 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'
17937 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17939 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17940 hardcode_libdir_separator_GCJ=:
17941 link_all_deplibs_GCJ=yes
17945 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17946 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17948 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17950 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17951 hardcode_direct_GCJ=yes
17952 hardcode_shlibpath_var_GCJ=no
17956 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17957 hardcode_direct_GCJ=yes
17958 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17959 hardcode_libdir_separator_GCJ=:
17960 hardcode_shlibpath_var_GCJ=no
17964 hardcode_direct_GCJ=yes
17965 hardcode_shlibpath_var_GCJ=no
17966 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17967 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17968 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17969 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17970 export_dynamic_flag_spec_GCJ='${wl}-E'
17973 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17974 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17975 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17978 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17979 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17986 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17987 hardcode_minus_L_GCJ=yes
17988 allow_undefined_flag_GCJ=unsupported
17989 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'
17990 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17994 if test "$GCC" = yes; then
17995 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17996 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'
17998 allow_undefined_flag_GCJ=' -expect_unresolved \*'
17999 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'
18001 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18002 hardcode_libdir_separator_GCJ=:
18005 osf4* | osf5*) # as osf3* with the addition of -msym flag
18006 if test "$GCC" = yes; then
18007 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18008 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'
18009 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18011 allow_undefined_flag_GCJ=' -expect_unresolved \*'
18012 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'
18013 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~
18014 $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'
18016 # Both c and cxx compiler support -rpath directly
18017 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18019 hardcode_libdir_separator_GCJ=:
18023 no_undefined_flag_GCJ=' -z text'
18024 if test "$GCC" = yes; then
18026 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18027 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18028 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18031 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18032 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18033 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18035 hardcode_libdir_flag_spec_GCJ='-R$libdir'
18036 hardcode_shlibpath_var_GCJ=no
18038 solaris2.[0-5] | solaris2.[0-5].*) ;;
18040 # The compiler driver will combine linker options so we
18041 # cannot just pass the convience library names through
18042 # without $wl, iff we do not link with $LD.
18043 # Luckily, gcc supports the same syntax we need for Sun Studio.
18044 # Supported since Solaris 2.6 (maybe 2.5.1?)
18047 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18049 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' ;;
18052 link_all_deplibs_GCJ=yes
18056 if test "x$host_vendor" = xsequent; then
18057 # Use $CC to link under sequent, because it throws in some extra .o
18058 # files that make .init and .fini sections work.
18059 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18061 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18063 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18064 hardcode_direct_GCJ=yes
18065 hardcode_minus_L_GCJ=yes
18066 hardcode_shlibpath_var_GCJ=no
18070 case $host_vendor in
18072 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18073 hardcode_direct_GCJ=yes # is this really true???
18076 ## LD is ld it makes a PLAMLIB
18077 ## CC just makes a GrossModule.
18078 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18079 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18080 hardcode_direct_GCJ=no
18083 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18084 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18087 runpath_var='LD_RUN_PATH'
18088 hardcode_shlibpath_var_GCJ=no
18092 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18093 hardcode_shlibpath_var_GCJ=no
18094 export_dynamic_flag_spec_GCJ='-Bexport'
18098 if test -d /usr/nec; then
18099 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18100 hardcode_shlibpath_var_GCJ=no
18101 runpath_var=LD_RUN_PATH
18102 hardcode_runpath_var=yes
18107 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
18108 no_undefined_flag_GCJ='${wl}-z,text'
18109 archive_cmds_need_lc_GCJ=no
18110 hardcode_shlibpath_var_GCJ=no
18111 runpath_var='LD_RUN_PATH'
18113 if test "$GCC" = yes; then
18114 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18115 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18117 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18118 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18122 sysv5* | sco3.2v5* | sco5v6*)
18123 # Note: We can NOT use -z defs as we might desire, because we do not
18124 # link with -lc, and that would cause any symbols used from libc to
18125 # always be unresolved, which means just about no library would
18126 # ever link correctly. If we're not using GNU ld we use -z text
18127 # though, which does catch some bad symbols but isn't as heavy-handed
18129 no_undefined_flag_GCJ='${wl}-z,text'
18130 allow_undefined_flag_GCJ='${wl}-z,nodefs'
18131 archive_cmds_need_lc_GCJ=no
18132 hardcode_shlibpath_var_GCJ=no
18133 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18134 hardcode_libdir_separator_GCJ=':'
18135 link_all_deplibs_GCJ=yes
18136 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18137 runpath_var='LD_RUN_PATH'
18139 if test "$GCC" = yes; then
18140 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18141 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18143 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18144 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18149 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18150 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18151 hardcode_shlibpath_var_GCJ=no
18160 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18161 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18162 test "$ld_shlibs_GCJ" = no && can_build_shared=no
18165 # Do we need to explicitly link libc?
18167 case "x$archive_cmds_need_lc_GCJ" in
18169 # Assume -lc should be added
18170 archive_cmds_need_lc_GCJ=yes
18172 if test "$enable_shared" = yes && test "$GCC" = yes; then
18173 case $archive_cmds_GCJ in
18175 # FIXME: we may have to deal with multi-command sequences.
18178 # Test whether the compiler implicitly links with -lc since on some
18179 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18180 # to ld, don't add -lc before -lgcc.
18181 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18182 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18184 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187 (eval $ac_compile) 2>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); } 2>conftest.err; then
18193 libobjs=conftest.$ac_objext
18195 wl=$lt_prog_compiler_wl_GCJ
18196 pic_flag=$lt_prog_compiler_pic_GCJ
18202 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18203 allow_undefined_flag_GCJ=
18204 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18205 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }
18210 archive_cmds_need_lc_GCJ=no
18212 archive_cmds_need_lc_GCJ=yes
18214 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18216 cat conftest.err 1>&5
18219 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18220 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18227 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18228 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18229 library_names_spec=
18230 libname_spec='lib$name'
18234 postuninstall_cmds=
18238 shlibpath_overrides_runpath=unknown
18240 dynamic_linker="$host_os ld.so"
18241 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18242 if test "$GCC" = yes; then
18243 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18244 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18245 # if the path contains ";" then we assume it to be the separator
18246 # otherwise default to the standard path separator (i.e. ":") - it is
18247 # assumed that no part of a normal pathname contains ";" but that should
18248 # okay in the real world where ";" in dirpaths is itself problematic.
18249 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18251 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18254 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18256 need_lib_prefix=unknown
18257 hardcode_into_libs=no
18259 # when you set need_version to no, make sure it does not cause -set_version
18260 # flags to be left without arguments
18261 need_version=unknown
18266 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18267 shlibpath_var=LIBPATH
18269 # AIX 3 has no versioning support, so we append a major version to the name.
18270 soname_spec='${libname}${release}${shared_ext}$major'
18277 hardcode_into_libs=yes
18278 if test "$host_cpu" = ia64; then
18279 # AIX 5 supports IA64
18280 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18281 shlibpath_var=LD_LIBRARY_PATH
18283 # With GCC up to 2.95.x, collect2 would create an import file
18284 # for dependence libraries. The import file would start with
18285 # the line `#! .'. This would cause the generated library to
18286 # depend on `.', always an invalid library. This was fixed in
18287 # development snapshots of GCC prior to 3.0.
18289 aix4 | aix4.[01] | aix4.[01].*)
18290 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18292 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18295 can_build_shared=no
18299 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18300 # soname into executable. Probably we can add versioning support to
18301 # collect2, so additional links can be useful in future.
18302 if test "$aix_use_runtimelinking" = yes; then
18303 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18304 # instead of lib<name>.a to let people know that these are not
18305 # typical AIX shared libraries.
18306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18308 # We preserve .a as extension for shared libraries through AIX4.2
18309 # and later when we are not doing run time linking.
18310 library_names_spec='${libname}${release}.a $libname.a'
18311 soname_spec='${libname}${release}${shared_ext}$major'
18313 shlibpath_var=LIBPATH
18318 library_names_spec='$libname.ixlibrary $libname.a'
18319 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18320 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'
18324 library_names_spec='${libname}${shared_ext}'
18325 dynamic_linker="$host_os ld.so"
18326 shlibpath_var=LIBRARY_PATH
18332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18333 soname_spec='${libname}${release}${shared_ext}$major'
18334 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18335 shlibpath_var=LD_LIBRARY_PATH
18336 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18337 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18338 # the default ld.so.conf also contains /usr/contrib/lib and
18339 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18340 # libtool to hard-code these into programs
18343 cygwin* | mingw* | pw32*)
18344 version_type=windows
18349 case $GCC,$host_os in
18350 yes,cygwin* | yes,mingw* | yes,pw32*)
18351 library_names_spec='$libname.dll.a'
18352 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18353 postinstall_cmds='base_file=`basename \${file}`~
18354 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18355 dldir=$destdir/`dirname \$dlpath`~
18356 test -d \$dldir || mkdir -p \$dldir~
18357 $install_prog $dir/$dlname \$dldir/$dlname~
18358 chmod a+x \$dldir/$dlname'
18359 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18360 dlpath=$dir/\$dldll~
18362 shlibpath_overrides_runpath=yes
18366 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18367 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18368 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18371 # MinGW DLLs use traditional 'lib' prefix
18372 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18373 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18374 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18375 # It is most probably a Windows format PATH printed by
18376 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18377 # path with ; separators, and with drive letters. We can handle the
18378 # drive letters (cygwin fileutils understands them), so leave them,
18379 # especially as we might pass files found there to a mingw objdump,
18380 # which wouldn't understand a cygwinified path. Ahh.
18381 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18383 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18387 # pw32 DLLs use 'pw' prefix rather than 'lib'
18388 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18394 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18397 dynamic_linker='Win32 ld.exe'
18398 # FIXME: first we should search . and the directory the executable is in
18402 darwin* | rhapsody*)
18403 dynamic_linker="$host_os dyld"
18404 version_type=darwin
18407 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18408 soname_spec='${libname}${release}${major}$shared_ext'
18409 shlibpath_overrides_runpath=yes
18410 shlibpath_var=DYLD_LIBRARY_PATH
18411 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18412 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18413 if test "$GCC" = yes; then
18414 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"`
18416 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18418 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18426 soname_spec='${libname}${release}${shared_ext}$major'
18427 shlibpath_var=LD_LIBRARY_PATH
18438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18439 soname_spec='${libname}${release}${shared_ext}$major'
18440 shlibpath_var=LD_LIBRARY_PATH
18441 shlibpath_overrides_runpath=no
18442 hardcode_into_libs=yes
18443 dynamic_linker='GNU ld.so'
18446 freebsd* | dragonfly*)
18447 # DragonFly does not have aout. When/if they implement a new
18448 # versioning mechanism, adjust this.
18449 if test -x /usr/bin/objformat; then
18450 objformat=`/usr/bin/objformat`
18453 freebsd[123]*) objformat=aout ;;
18454 *) objformat=elf ;;
18457 version_type=freebsd-$objformat
18458 case $version_type in
18460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18465 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18469 shlibpath_var=LD_LIBRARY_PATH
18472 shlibpath_overrides_runpath=yes
18474 freebsd3.[01]* | freebsdelf3.[01]*)
18475 shlibpath_overrides_runpath=yes
18476 hardcode_into_libs=yes
18478 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18479 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18480 shlibpath_overrides_runpath=no
18481 hardcode_into_libs=yes
18483 freebsd*) # from 4.6 on
18484 shlibpath_overrides_runpath=yes
18485 hardcode_into_libs=yes
18494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18495 soname_spec='${libname}${release}${shared_ext}$major'
18496 shlibpath_var=LD_LIBRARY_PATH
18497 hardcode_into_libs=yes
18500 hpux9* | hpux10* | hpux11*)
18501 # Give a soname corresponding to the major version so that dld.sl refuses to
18502 # link against other versions.
18509 hardcode_into_libs=yes
18510 dynamic_linker="$host_os dld.so"
18511 shlibpath_var=LD_LIBRARY_PATH
18512 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18514 soname_spec='${libname}${release}${shared_ext}$major'
18515 if test "X$HPUX_IA64_MODE" = X32; then
18516 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18518 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18520 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18524 hardcode_into_libs=yes
18525 dynamic_linker="$host_os dld.sl"
18526 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18527 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18529 soname_spec='${libname}${release}${shared_ext}$major'
18530 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18531 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18535 dynamic_linker="$host_os dld.sl"
18536 shlibpath_var=SHLIB_PATH
18537 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18539 soname_spec='${libname}${release}${shared_ext}$major'
18542 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18543 postinstall_cmds='chmod 555 $lib'
18550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18551 soname_spec='${libname}${release}${shared_ext}$major'
18552 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18553 shlibpath_var=LD_LIBRARY_PATH
18554 shlibpath_overrides_runpath=no
18555 hardcode_into_libs=yes
18558 irix5* | irix6* | nonstopux*)
18560 nonstopux*) version_type=nonstopux ;;
18562 if test "$lt_cv_prog_gnu_ld" = yes; then
18570 soname_spec='${libname}${release}${shared_ext}$major'
18571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18573 irix5* | nonstopux*)
18574 libsuff= shlibsuff=
18577 case $LD in # libtool.m4 will add one of these switches to LD
18578 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18579 libsuff= shlibsuff= libmagic=32-bit;;
18580 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18581 libsuff=32 shlibsuff=N32 libmagic=N32;;
18582 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18583 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18584 *) libsuff= shlibsuff= libmagic=never-match;;
18588 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18589 shlibpath_overrides_runpath=no
18590 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18591 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18592 hardcode_into_libs=yes
18595 # No shared lib support for Linux oldld, aout, or coff.
18596 linux*oldld* | linux*aout* | linux*coff*)
18600 # This must be Linux ELF.
18605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18606 soname_spec='${libname}${release}${shared_ext}$major'
18607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18608 shlibpath_var=LD_LIBRARY_PATH
18609 shlibpath_overrides_runpath=no
18610 # This implies no fast_install, which is unacceptable.
18611 # Some rework will be needed to allow for fast_install
18612 # before this can be enabled.
18613 hardcode_into_libs=yes
18615 # find out which ABI we are using
18617 case "$host_cpu" in
18618 x86_64*|s390x*|powerpc64*)
18619 echo '#line 18619 "configure"' > conftest.$ac_ext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; then
18625 case `/usr/bin/file conftest.$ac_objext` in
18628 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18636 # Append ld.so.conf contents to the search path
18637 if test -f /etc/ld.so.conf; then
18638 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' ' '`
18639 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18642 # We used to test for /lib/ld.so.1 and disable shared libraries on
18643 # powerpc, because MkLinux only supported shared libraries with the
18644 # GNU dynamic linker. Since this was broken with cross compilers,
18645 # most powerpc-linux boxes support dynamic linking these days and
18646 # people can always --disable-shared, the test was removed, and we
18647 # assume the GNU/Linux dynamic linker is in use.
18648 dynamic_linker='GNU/Linux ld.so'
18655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18656 soname_spec='${libname}${release}${shared_ext}$major'
18657 shlibpath_var=LD_LIBRARY_PATH
18658 shlibpath_overrides_runpath=no
18659 hardcode_into_libs=yes
18660 dynamic_linker='GNU ld.so'
18667 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18669 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18670 dynamic_linker='NetBSD (a.out) ld.so'
18672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18673 soname_spec='${libname}${release}${shared_ext}$major'
18674 dynamic_linker='NetBSD ld.elf_so'
18676 shlibpath_var=LD_LIBRARY_PATH
18677 shlibpath_overrides_runpath=yes
18678 hardcode_into_libs=yes
18683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18684 shlibpath_var=LD_LIBRARY_PATH
18685 shlibpath_overrides_runpath=yes
18692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18693 soname_spec='${libname}${release}${shared_ext}$major'
18694 shlibpath_var=LD_LIBRARY_PATH
18695 shlibpath_overrides_runpath=yes
18700 sys_lib_dlsearch_path_spec="/usr/lib"
18702 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18704 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18705 *) need_version=no ;;
18707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18709 shlibpath_var=LD_LIBRARY_PATH
18710 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18712 openbsd2.[89] | openbsd2.[89].*)
18713 shlibpath_overrides_runpath=no
18716 shlibpath_overrides_runpath=yes
18720 shlibpath_overrides_runpath=yes
18725 libname_spec='$name'
18728 library_names_spec='$libname${shared_ext} $libname.a'
18729 dynamic_linker='OS/2 ld.exe'
18730 shlibpath_var=LIBPATH
18733 osf3* | osf4* | osf5*)
18737 soname_spec='${libname}${release}${shared_ext}$major'
18738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18739 shlibpath_var=LD_LIBRARY_PATH
18740 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18741 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18749 soname_spec='${libname}${release}${shared_ext}$major'
18750 shlibpath_var=LD_LIBRARY_PATH
18751 shlibpath_overrides_runpath=yes
18752 hardcode_into_libs=yes
18753 # ldd complains unless libraries are executable
18754 postinstall_cmds='chmod +x $lib'
18759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18760 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18761 shlibpath_var=LD_LIBRARY_PATH
18762 shlibpath_overrides_runpath=yes
18763 if test "$with_gnu_ld" = yes; then
18771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18772 soname_spec='${libname}${release}${shared_ext}$major'
18773 shlibpath_var=LD_LIBRARY_PATH
18774 case $host_vendor in
18776 shlibpath_overrides_runpath=no
18778 export_dynamic_flag_spec='${wl}-Blargedynsym'
18779 runpath_var=LD_RUN_PATH
18787 shlibpath_overrides_runpath=no
18788 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18794 if test -d /usr/nec ;then
18796 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18797 soname_spec='$libname${shared_ext}.$major'
18798 shlibpath_var=LD_LIBRARY_PATH
18802 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18803 version_type=freebsd-elf
18806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18807 soname_spec='${libname}${release}${shared_ext}$major'
18808 shlibpath_var=LD_LIBRARY_PATH
18809 hardcode_into_libs=yes
18810 if test "$with_gnu_ld" = yes; then
18811 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18812 shlibpath_overrides_runpath=no
18814 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18815 shlibpath_overrides_runpath=yes
18818 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18822 sys_lib_dlsearch_path_spec='/usr/lib'
18827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18828 soname_spec='${libname}${release}${shared_ext}$major'
18829 shlibpath_var=LD_LIBRARY_PATH
18836 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18837 echo "${ECHO_T}$dynamic_linker" >&6; }
18838 test "$dynamic_linker" = no && can_build_shared=no
18840 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18841 if test "$GCC" = yes; then
18842 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18845 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18846 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18847 hardcode_action_GCJ=
18848 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18849 test -n "$runpath_var_GCJ" || \
18850 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18852 # We can hardcode non-existant directories.
18853 if test "$hardcode_direct_GCJ" != no &&
18854 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18855 # have to relink, otherwise we might link with an installed library
18856 # when we should be linking with a yet-to-be-installed one
18857 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18858 test "$hardcode_minus_L_GCJ" != no; then
18859 # Linking always hardcodes the temporary library directory.
18860 hardcode_action_GCJ=relink
18862 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18863 hardcode_action_GCJ=immediate
18866 # We cannot hardcode anything, or else we can only hardcode existing
18868 hardcode_action_GCJ=unsupported
18870 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18871 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18873 if test "$hardcode_action_GCJ" = relink; then
18874 # Fast installation is not supported
18875 enable_fast_install=no
18876 elif test "$shlibpath_overrides_runpath" = yes ||
18877 test "$enable_shared" = no; then
18878 # Fast installation is not necessary
18879 enable_fast_install=needless
18883 # The else clause should only fire when bootstrapping the
18884 # libtool distribution, otherwise you forgot to ship ltmain.sh
18885 # with your package, and you will get complaints that there are
18886 # no rules to generate ltmain.sh.
18887 if test -f "$ltmain"; then
18888 # See if we are running on zsh, and set the options which allow our commands through
18889 # without removal of \ escapes.
18890 if test -n "${ZSH_VERSION+set}" ; then
18891 setopt NO_GLOB_SUBST
18893 # Now quote all the things that may contain metacharacters while being
18894 # careful not to overquote the AC_SUBSTed values. We take copies of the
18895 # variables and quote the copies for generation of the libtool script.
18896 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18898 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18899 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18900 deplibs_check_method reload_flag reload_cmds need_locks \
18901 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18902 lt_cv_sys_global_symbol_to_c_name_address \
18903 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18904 old_postinstall_cmds old_postuninstall_cmds \
18908 lt_prog_compiler_wl_GCJ \
18909 lt_prog_compiler_pic_GCJ \
18910 lt_prog_compiler_static_GCJ \
18911 lt_prog_compiler_no_builtin_flag_GCJ \
18912 export_dynamic_flag_spec_GCJ \
18913 thread_safe_flag_spec_GCJ \
18914 whole_archive_flag_spec_GCJ \
18915 enable_shared_with_static_runtimes_GCJ \
18916 old_archive_cmds_GCJ \
18917 old_archive_from_new_cmds_GCJ \
18918 predep_objects_GCJ \
18919 postdep_objects_GCJ \
18922 compiler_lib_search_path_GCJ \
18924 archive_expsym_cmds_GCJ \
18925 postinstall_cmds_GCJ \
18926 postuninstall_cmds_GCJ \
18927 old_archive_from_expsyms_cmds_GCJ \
18928 allow_undefined_flag_GCJ \
18929 no_undefined_flag_GCJ \
18930 export_symbols_cmds_GCJ \
18931 hardcode_libdir_flag_spec_GCJ \
18932 hardcode_libdir_flag_spec_ld_GCJ \
18933 hardcode_libdir_separator_GCJ \
18934 hardcode_automatic_GCJ \
18936 module_expsym_cmds_GCJ \
18937 lt_cv_prog_compiler_c_o_GCJ \
18938 exclude_expsyms_GCJ \
18939 include_expsyms_GCJ; do
18942 old_archive_cmds_GCJ | \
18943 old_archive_from_new_cmds_GCJ | \
18944 archive_cmds_GCJ | \
18945 archive_expsym_cmds_GCJ | \
18946 module_cmds_GCJ | \
18947 module_expsym_cmds_GCJ | \
18948 old_archive_from_expsyms_cmds_GCJ | \
18949 export_symbols_cmds_GCJ | \
18950 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18951 postinstall_cmds | postuninstall_cmds | \
18952 old_postinstall_cmds | old_postuninstall_cmds | \
18953 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18954 # Double-quote double-evaled strings.
18955 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18958 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18964 *'\$0 --fallback-echo"')
18965 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18971 cat <<__EOF__ >> "$cfgfile"
18972 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18974 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18976 # Shell to use when invoking shell scripts.
18979 # Whether or not to build shared libraries.
18980 build_libtool_libs=$enable_shared
18982 # Whether or not to build static libraries.
18983 build_old_libs=$enable_static
18985 # Whether or not to add -lc for building shared libraries.
18986 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18988 # Whether or not to disallow shared libs when runtime libs are static
18989 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18991 # Whether or not to optimize for fast installation.
18992 fast_install=$enable_fast_install
18995 host_alias=$host_alias
18999 # The build system.
19000 build_alias=$build_alias
19004 # An echo program that does not interpret backslashes.
19009 AR_FLAGS=$lt_AR_FLAGS
19014 # LTCC compiler flags.
19015 LTCFLAGS=$lt_LTCFLAGS
19017 # A language-specific compiler.
19018 CC=$lt_compiler_GCJ
19020 # Is the compiler the GNU C compiler?
19023 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
19024 gcc_ver=\`gcc -dumpversion\`
19029 # The linker used to build libraries.
19032 # Whether we need hard or soft links.
19035 # A BSD-compatible nm program.
19038 # A symbol stripping program
19041 # Used to examine libraries when file_magic_cmd begins "file"
19042 MAGIC_CMD=$MAGIC_CMD
19044 # Used on cygwin: DLL creation program.
19047 # Used on cygwin: object dumper.
19050 # Used on cygwin: assembler.
19053 # The name of the directory that contains temporary libtool files.
19056 # How to create reloadable object files.
19057 reload_flag=$lt_reload_flag
19058 reload_cmds=$lt_reload_cmds
19060 # How to pass a linker flag through the compiler.
19061 wl=$lt_lt_prog_compiler_wl_GCJ
19063 # Object file suffix (normally "o").
19064 objext="$ac_objext"
19066 # Old archive suffix (normally "a").
19069 # Shared library suffix (normally ".so").
19070 shrext_cmds='$shrext_cmds'
19072 # Executable file suffix (normally "").
19075 # Additional compiler flags for building library objects.
19076 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19079 # What is the maximum length of a command?
19080 max_cmd_len=$lt_cv_sys_max_cmd_len
19082 # Does compiler simultaneously support -c and -o options?
19083 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19085 # Must we lock files when doing compilation?
19086 need_locks=$lt_need_locks
19088 # Do we need the lib prefix for modules?
19089 need_lib_prefix=$need_lib_prefix
19091 # Do we need a version for libraries?
19092 need_version=$need_version
19094 # Whether dlopen is supported.
19095 dlopen_support=$enable_dlopen
19097 # Whether dlopen of programs is supported.
19098 dlopen_self=$enable_dlopen_self
19100 # Whether dlopen of statically linked programs is supported.
19101 dlopen_self_static=$enable_dlopen_self_static
19103 # Compiler flag to prevent dynamic linking.
19104 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19106 # Compiler flag to turn off builtin functions.
19107 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19109 # Compiler flag to allow reflexive dlopens.
19110 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19112 # Compiler flag to generate shared objects directly from archives.
19113 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19115 # Compiler flag to generate thread-safe objects.
19116 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19118 # Library versioning type.
19119 version_type=$version_type
19121 # Format of library name prefix.
19122 libname_spec=$lt_libname_spec
19124 # List of archive names. First name is the real one, the rest are links.
19125 # The last name is the one that the linker finds with -lNAME.
19126 library_names_spec=$lt_library_names_spec
19128 # The coded name of the library, if different from the real name.
19129 soname_spec=$lt_soname_spec
19131 # Commands used to build and install an old-style archive.
19133 old_archive_cmds=$lt_old_archive_cmds_GCJ
19134 old_postinstall_cmds=$lt_old_postinstall_cmds
19135 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19137 # Create an old-style archive from a shared archive.
19138 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19140 # Create a temporary old-style archive to link instead of a shared archive.
19141 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19143 # Commands used to build and install a shared archive.
19144 archive_cmds=$lt_archive_cmds_GCJ
19145 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19146 postinstall_cmds=$lt_postinstall_cmds
19147 postuninstall_cmds=$lt_postuninstall_cmds
19149 # Commands used to build a loadable module (assumed same as above if empty)
19150 module_cmds=$lt_module_cmds_GCJ
19151 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19153 # Commands to strip libraries.
19154 old_striplib=$lt_old_striplib
19155 striplib=$lt_striplib
19157 # Dependencies to place before the objects being linked to create a
19159 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19161 # Dependencies to place after the objects being linked to create a
19163 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19165 # Dependencies to place before the objects being linked to create a
19167 predeps=$lt_predeps_GCJ
19169 # Dependencies to place after the objects being linked to create a
19171 postdeps=$lt_postdeps_GCJ
19173 # The library search path used internally by the compiler when linking
19174 # a shared library.
19175 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19177 # Method to check whether dependent libraries are shared objects.
19178 deplibs_check_method=$lt_deplibs_check_method
19180 # Command to use when deplibs_check_method == file_magic.
19181 file_magic_cmd=$lt_file_magic_cmd
19183 # Flag that allows shared libraries with undefined symbols to be built.
19184 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19186 # Flag that forces no undefined symbols.
19187 no_undefined_flag=$lt_no_undefined_flag_GCJ
19189 # Commands used to finish a libtool library installation in a directory.
19190 finish_cmds=$lt_finish_cmds
19192 # Same as above, but a single script fragment to be evaled but not shown.
19193 finish_eval=$lt_finish_eval
19195 # Take the output of nm and produce a listing of raw symbols and C names.
19196 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19198 # Transform the output of nm in a proper C declaration
19199 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19201 # Transform the output of nm in a C name address pair
19202 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19204 # This is the shared library runtime path variable.
19205 runpath_var=$runpath_var
19207 # This is the shared library path variable.
19208 shlibpath_var=$shlibpath_var
19210 # Is shlibpath searched before the hard-coded library search path?
19211 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19213 # How to hardcode a shared library path into an executable.
19214 hardcode_action=$hardcode_action_GCJ
19216 # Whether we should hardcode library paths into libraries.
19217 hardcode_into_libs=$hardcode_into_libs
19219 # Flag to hardcode \$libdir into a binary during linking.
19220 # This must work even if \$libdir does not exist.
19221 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19223 # If ld is used when linking, flag to hardcode \$libdir into
19224 # a binary during linking. This must work even if \$libdir does
19226 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19228 # Whether we need a single -rpath flag with a separated argument.
19229 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19231 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19232 # resulting binary.
19233 hardcode_direct=$hardcode_direct_GCJ
19235 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19236 # resulting binary.
19237 hardcode_minus_L=$hardcode_minus_L_GCJ
19239 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19240 # the resulting binary.
19241 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19243 # Set to yes if building a shared library automatically hardcodes DIR into the library
19244 # and all subsequent libraries and executables linked against it.
19245 hardcode_automatic=$hardcode_automatic_GCJ
19247 # Variables whose values should be saved in libtool wrapper scripts and
19248 # restored at relink time.
19249 variables_saved_for_relink="$variables_saved_for_relink"
19251 # Whether libtool must link a program against all its dependency libraries.
19252 link_all_deplibs=$link_all_deplibs_GCJ
19254 # Compile-time system search path for libraries
19255 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19257 # Run-time system search path for libraries
19258 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19260 # Fix the shell variable \$srcfile for the compiler.
19261 fix_srcfile_path="$fix_srcfile_path_GCJ"
19263 # Set to yes if exported symbols are required.
19264 always_export_symbols=$always_export_symbols_GCJ
19266 # The commands to list exported symbols.
19267 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19269 # The commands to extract the exported symbol list from a shared archive.
19270 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19272 # Symbols that should not be listed in the preloaded symbols.
19273 exclude_expsyms=$lt_exclude_expsyms_GCJ
19275 # Symbols that must always be exported.
19276 include_expsyms=$lt_include_expsyms_GCJ
19278 # ### END LIBTOOL TAG CONFIG: $tagname
19284 # If there is no Makefile yet, we rely on a make rule to execute
19285 # `config.status --recheck' to rerun these tests and create the
19286 # libtool script then.
19287 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19288 if test -f "$ltmain_in"; then
19289 test -f Makefile && make "$ltmain"
19295 ac_cpp='$CPP $CPPFLAGS'
19296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19310 # Source file extension for RC test sources.
19313 # Object file extension for compiled RC test sources.
19317 # Code to be used in simple compile tests
19318 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19320 # Code to be used in simple link tests
19321 lt_simple_link_test_code="$lt_simple_compile_test_code"
19323 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19325 # If no C compiler was specified, use CC.
19328 # If no C compiler flags were specified, use CFLAGS.
19329 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19331 # Allow CC to be a program name with arguments.
19335 # save warnings/boilerplate of simple test code
19336 ac_outfile=conftest.$ac_objext
19337 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19338 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19339 _lt_compiler_boilerplate=`cat conftest.err`
19342 ac_outfile=conftest.$ac_objext
19343 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19344 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19345 _lt_linker_boilerplate=`cat conftest.err`
19349 # Allow CC to be a program name with arguments.
19354 for cc_temp in $compiler""; do
19356 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19357 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19362 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19364 lt_cv_prog_compiler_c_o_RC=yes
19366 # The else clause should only fire when bootstrapping the
19367 # libtool distribution, otherwise you forgot to ship ltmain.sh
19368 # with your package, and you will get complaints that there are
19369 # no rules to generate ltmain.sh.
19370 if test -f "$ltmain"; then
19371 # See if we are running on zsh, and set the options which allow our commands through
19372 # without removal of \ escapes.
19373 if test -n "${ZSH_VERSION+set}" ; then
19374 setopt NO_GLOB_SUBST
19376 # Now quote all the things that may contain metacharacters while being
19377 # careful not to overquote the AC_SUBSTed values. We take copies of the
19378 # variables and quote the copies for generation of the libtool script.
19379 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19381 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19382 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19383 deplibs_check_method reload_flag reload_cmds need_locks \
19384 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19385 lt_cv_sys_global_symbol_to_c_name_address \
19386 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19387 old_postinstall_cmds old_postuninstall_cmds \
19391 lt_prog_compiler_wl_RC \
19392 lt_prog_compiler_pic_RC \
19393 lt_prog_compiler_static_RC \
19394 lt_prog_compiler_no_builtin_flag_RC \
19395 export_dynamic_flag_spec_RC \
19396 thread_safe_flag_spec_RC \
19397 whole_archive_flag_spec_RC \
19398 enable_shared_with_static_runtimes_RC \
19399 old_archive_cmds_RC \
19400 old_archive_from_new_cmds_RC \
19401 predep_objects_RC \
19402 postdep_objects_RC \
19405 compiler_lib_search_path_RC \
19407 archive_expsym_cmds_RC \
19408 postinstall_cmds_RC \
19409 postuninstall_cmds_RC \
19410 old_archive_from_expsyms_cmds_RC \
19411 allow_undefined_flag_RC \
19412 no_undefined_flag_RC \
19413 export_symbols_cmds_RC \
19414 hardcode_libdir_flag_spec_RC \
19415 hardcode_libdir_flag_spec_ld_RC \
19416 hardcode_libdir_separator_RC \
19417 hardcode_automatic_RC \
19419 module_expsym_cmds_RC \
19420 lt_cv_prog_compiler_c_o_RC \
19421 exclude_expsyms_RC \
19422 include_expsyms_RC; do
19425 old_archive_cmds_RC | \
19426 old_archive_from_new_cmds_RC | \
19427 archive_cmds_RC | \
19428 archive_expsym_cmds_RC | \
19430 module_expsym_cmds_RC | \
19431 old_archive_from_expsyms_cmds_RC | \
19432 export_symbols_cmds_RC | \
19433 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19434 postinstall_cmds | postuninstall_cmds | \
19435 old_postinstall_cmds | old_postuninstall_cmds | \
19436 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19437 # Double-quote double-evaled strings.
19438 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19441 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19447 *'\$0 --fallback-echo"')
19448 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19454 cat <<__EOF__ >> "$cfgfile"
19455 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19457 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19459 # Shell to use when invoking shell scripts.
19462 # Whether or not to build shared libraries.
19463 build_libtool_libs=$enable_shared
19465 # Whether or not to build static libraries.
19466 build_old_libs=$enable_static
19468 # Whether or not to add -lc for building shared libraries.
19469 build_libtool_need_lc=$archive_cmds_need_lc_RC
19471 # Whether or not to disallow shared libs when runtime libs are static
19472 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19474 # Whether or not to optimize for fast installation.
19475 fast_install=$enable_fast_install
19478 host_alias=$host_alias
19482 # The build system.
19483 build_alias=$build_alias
19487 # An echo program that does not interpret backslashes.
19492 AR_FLAGS=$lt_AR_FLAGS
19497 # LTCC compiler flags.
19498 LTCFLAGS=$lt_LTCFLAGS
19500 # A language-specific compiler.
19503 # Is the compiler the GNU C compiler?
19506 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
19507 gcc_ver=\`gcc -dumpversion\`
19512 # The linker used to build libraries.
19515 # Whether we need hard or soft links.
19518 # A BSD-compatible nm program.
19521 # A symbol stripping program
19524 # Used to examine libraries when file_magic_cmd begins "file"
19525 MAGIC_CMD=$MAGIC_CMD
19527 # Used on cygwin: DLL creation program.
19530 # Used on cygwin: object dumper.
19533 # Used on cygwin: assembler.
19536 # The name of the directory that contains temporary libtool files.
19539 # How to create reloadable object files.
19540 reload_flag=$lt_reload_flag
19541 reload_cmds=$lt_reload_cmds
19543 # How to pass a linker flag through the compiler.
19544 wl=$lt_lt_prog_compiler_wl_RC
19546 # Object file suffix (normally "o").
19547 objext="$ac_objext"
19549 # Old archive suffix (normally "a").
19552 # Shared library suffix (normally ".so").
19553 shrext_cmds='$shrext_cmds'
19555 # Executable file suffix (normally "").
19558 # Additional compiler flags for building library objects.
19559 pic_flag=$lt_lt_prog_compiler_pic_RC
19562 # What is the maximum length of a command?
19563 max_cmd_len=$lt_cv_sys_max_cmd_len
19565 # Does compiler simultaneously support -c and -o options?
19566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19568 # Must we lock files when doing compilation?
19569 need_locks=$lt_need_locks
19571 # Do we need the lib prefix for modules?
19572 need_lib_prefix=$need_lib_prefix
19574 # Do we need a version for libraries?
19575 need_version=$need_version
19577 # Whether dlopen is supported.
19578 dlopen_support=$enable_dlopen
19580 # Whether dlopen of programs is supported.
19581 dlopen_self=$enable_dlopen_self
19583 # Whether dlopen of statically linked programs is supported.
19584 dlopen_self_static=$enable_dlopen_self_static
19586 # Compiler flag to prevent dynamic linking.
19587 link_static_flag=$lt_lt_prog_compiler_static_RC
19589 # Compiler flag to turn off builtin functions.
19590 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19592 # Compiler flag to allow reflexive dlopens.
19593 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19595 # Compiler flag to generate shared objects directly from archives.
19596 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19598 # Compiler flag to generate thread-safe objects.
19599 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19601 # Library versioning type.
19602 version_type=$version_type
19604 # Format of library name prefix.
19605 libname_spec=$lt_libname_spec
19607 # List of archive names. First name is the real one, the rest are links.
19608 # The last name is the one that the linker finds with -lNAME.
19609 library_names_spec=$lt_library_names_spec
19611 # The coded name of the library, if different from the real name.
19612 soname_spec=$lt_soname_spec
19614 # Commands used to build and install an old-style archive.
19616 old_archive_cmds=$lt_old_archive_cmds_RC
19617 old_postinstall_cmds=$lt_old_postinstall_cmds
19618 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19620 # Create an old-style archive from a shared archive.
19621 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19623 # Create a temporary old-style archive to link instead of a shared archive.
19624 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19626 # Commands used to build and install a shared archive.
19627 archive_cmds=$lt_archive_cmds_RC
19628 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19629 postinstall_cmds=$lt_postinstall_cmds
19630 postuninstall_cmds=$lt_postuninstall_cmds
19632 # Commands used to build a loadable module (assumed same as above if empty)
19633 module_cmds=$lt_module_cmds_RC
19634 module_expsym_cmds=$lt_module_expsym_cmds_RC
19636 # Commands to strip libraries.
19637 old_striplib=$lt_old_striplib
19638 striplib=$lt_striplib
19640 # Dependencies to place before the objects being linked to create a
19642 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19644 # Dependencies to place after the objects being linked to create a
19646 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19648 # Dependencies to place before the objects being linked to create a
19650 predeps=$lt_predeps_RC
19652 # Dependencies to place after the objects being linked to create a
19654 postdeps=$lt_postdeps_RC
19656 # The library search path used internally by the compiler when linking
19657 # a shared library.
19658 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19660 # Method to check whether dependent libraries are shared objects.
19661 deplibs_check_method=$lt_deplibs_check_method
19663 # Command to use when deplibs_check_method == file_magic.
19664 file_magic_cmd=$lt_file_magic_cmd
19666 # Flag that allows shared libraries with undefined symbols to be built.
19667 allow_undefined_flag=$lt_allow_undefined_flag_RC
19669 # Flag that forces no undefined symbols.
19670 no_undefined_flag=$lt_no_undefined_flag_RC
19672 # Commands used to finish a libtool library installation in a directory.
19673 finish_cmds=$lt_finish_cmds
19675 # Same as above, but a single script fragment to be evaled but not shown.
19676 finish_eval=$lt_finish_eval
19678 # Take the output of nm and produce a listing of raw symbols and C names.
19679 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19681 # Transform the output of nm in a proper C declaration
19682 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19684 # Transform the output of nm in a C name address pair
19685 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19687 # This is the shared library runtime path variable.
19688 runpath_var=$runpath_var
19690 # This is the shared library path variable.
19691 shlibpath_var=$shlibpath_var
19693 # Is shlibpath searched before the hard-coded library search path?
19694 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19696 # How to hardcode a shared library path into an executable.
19697 hardcode_action=$hardcode_action_RC
19699 # Whether we should hardcode library paths into libraries.
19700 hardcode_into_libs=$hardcode_into_libs
19702 # Flag to hardcode \$libdir into a binary during linking.
19703 # This must work even if \$libdir does not exist.
19704 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19706 # If ld is used when linking, flag to hardcode \$libdir into
19707 # a binary during linking. This must work even if \$libdir does
19709 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19711 # Whether we need a single -rpath flag with a separated argument.
19712 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19714 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19715 # resulting binary.
19716 hardcode_direct=$hardcode_direct_RC
19718 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19719 # resulting binary.
19720 hardcode_minus_L=$hardcode_minus_L_RC
19722 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19723 # the resulting binary.
19724 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19726 # Set to yes if building a shared library automatically hardcodes DIR into the library
19727 # and all subsequent libraries and executables linked against it.
19728 hardcode_automatic=$hardcode_automatic_RC
19730 # Variables whose values should be saved in libtool wrapper scripts and
19731 # restored at relink time.
19732 variables_saved_for_relink="$variables_saved_for_relink"
19734 # Whether libtool must link a program against all its dependency libraries.
19735 link_all_deplibs=$link_all_deplibs_RC
19737 # Compile-time system search path for libraries
19738 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19740 # Run-time system search path for libraries
19741 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19743 # Fix the shell variable \$srcfile for the compiler.
19744 fix_srcfile_path="$fix_srcfile_path_RC"
19746 # Set to yes if exported symbols are required.
19747 always_export_symbols=$always_export_symbols_RC
19749 # The commands to list exported symbols.
19750 export_symbols_cmds=$lt_export_symbols_cmds_RC
19752 # The commands to extract the exported symbol list from a shared archive.
19753 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19755 # Symbols that should not be listed in the preloaded symbols.
19756 exclude_expsyms=$lt_exclude_expsyms_RC
19758 # Symbols that must always be exported.
19759 include_expsyms=$lt_include_expsyms_RC
19761 # ### END LIBTOOL TAG CONFIG: $tagname
19767 # If there is no Makefile yet, we rely on a make rule to execute
19768 # `config.status --recheck' to rerun these tests and create the
19769 # libtool script then.
19770 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19771 if test -f "$ltmain_in"; then
19772 test -f Makefile && make "$ltmain"
19778 ac_cpp='$CPP $CPPFLAGS'
19779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19788 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19789 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19790 { (exit 1); exit 1; }; }
19794 # Append the new tag name to the list of available tags.
19795 if test -n "$tagname" ; then
19796 available_tags="$available_tags $tagname"
19802 # Now substitute the updated list of available tags.
19803 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19804 mv "${ofile}T" "$ofile"
19808 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19809 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19810 { (exit 1); exit 1; }; }
19816 # This can be used to rebuild libtool when needed
19817 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19819 # Always use our own libtool.
19820 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19822 # Prevent multiple expansion
19846 INSTALL='\${KERNEL_ROOT_DIR}'/adm_local/unix/config_files/install-sh
19851 echo ---------------------------------------------
19852 echo testing python
19853 echo ---------------------------------------------
19858 { echo "$as_me:$LINENO: checking for LIB_LOCATION_SUFFIX..." >&5
19859 echo "$as_me: checking for LIB_LOCATION_SUFFIX..." >&6;}
19860 LIB_LOCATION_SUFFIX=""
19862 { echo "$as_me:$LINENO: result: LIB_LOCATION_SUFFIX is $LIB_LOCATION_SUFFIX" >&5
19863 echo "${ECHO_T}LIB_LOCATION_SUFFIX is $LIB_LOCATION_SUFFIX" >&6; }
19865 for opt in "-Xlinker -export-dynamic" -transitive_link; do
19867 { echo "$as_me:$LINENO: checking wether $CXX accepts $opt" >&5
19868 echo $ECHO_N "checking wether $CXX accepts $opt... $ECHO_C" >&6; }
19869 cat > conftest.cxx <<EOF
19870 int main() { return 0; }
19872 $CXX $opt conftest.cxx > conftest.log 2>&1
19873 var=`echo $opt | sed -e "s, .*$,," | sed -e "s,^-,,"`
19874 #CCRT if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
19875 if grep -e $var conftest.log > /dev/null 2>&1 ; then
19876 { echo "$as_me:$LINENO: result: no" >&5
19877 echo "${ECHO_T}no" >&6; }
19880 { echo "$as_me:$LINENO: result: yes" >&5
19881 echo "${ECHO_T}yes" >&6; }
19882 LDEXPDYNFLAGS="${LDEXPDYNFLAGS} $opt"
19886 if test "$flag" = "yes"; then
19892 for opt in "-Xlinker -enable-new-dtags" ; do
19894 { echo "$as_me:$LINENO: checking wether $CXX accepts $opt" >&5
19895 echo $ECHO_N "checking wether $CXX accepts $opt... $ECHO_C" >&6; }
19896 cat > conftest.cxx <<EOF
19897 int main() { return 0; }
19899 $CXX $opt conftest.cxx > conftest.log 2>&1
19900 var=`echo $opt | sed -e "s, .*$,," | sed -e "s,^-,,"`
19901 #CCRT if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
19902 if grep -e $var conftest.log > /dev/null 2>&1 ; then
19903 { echo "$as_me:$LINENO: result: no" >&5
19904 echo "${ECHO_T}no" >&6; }
19907 { echo "$as_me:$LINENO: result: yes" >&5
19908 echo "${ECHO_T}yes" >&6; }
19909 LDFLAGS="${LDFLAGS} $opt"
19930 # Check whether --with-python was given.
19931 if test "${with_python+set}" = set; then
19932 withval=$with_python; PYTHON="$withval/bin/python"
19933 { echo "$as_me:$LINENO: result: \"select python distribution in $withval\"" >&5
19934 echo "${ECHO_T}\"select python distribution in $withval\"" >&6; }
19938 # Extract the first word of "python", so it can be a program name with args.
19939 set dummy python; ac_word=$2
19940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19942 if test "${ac_cv_path_PYTHON+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
19950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19951 for as_dir in $PATH
19954 test -z "$as_dir" && as_dir=.
19955 for ac_exec_ext in '' $ac_executable_extensions; do
19956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19957 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19968 PYTHON=$ac_cv_path_PYTHON
19969 if test -n "$PYTHON"; then
19970 { echo "$as_me:$LINENO: result: $PYTHON" >&5
19971 echo "${ECHO_T}$PYTHON" >&6; }
19973 { echo "$as_me:$LINENO: result: no" >&5
19974 echo "${ECHO_T}no" >&6; }
19982 { echo "$as_me:$LINENO: checking local Python configuration..." >&5
19983 echo "$as_me: checking local Python configuration..." >&6;}
19986 PYTHON_PREFIX=`echo $PYTHON | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
19987 PYTHON_PREFIX=`echo $PYTHON_PREFIX | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
19988 PYTHONHOME=$PYTHON_PREFIX
19993 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
19996 PY_MAKEFILE=${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python$PYTHON_VERSION/config/Makefile
19997 if test ! -f "$PY_MAKEFILE"; then
19998 if test "${build_cpu::6}" = "x86_64" ; then
19999 PY_MAKEFILE=${PYTHON_PREFIX}/lib64/python$PYTHON_VERSION/config/Makefile
20002 if test ! -f "$PY_MAKEFILE"; then
20003 { echo "$as_me:$LINENO: WARNING: *** Couldn't find ${PY_MAKEFILE}. Maybe you are
20004 *** missing the development portion of the python installation" >&5
20005 echo "$as_me: WARNING: *** Couldn't find ${PY_MAKEFILE}. Maybe you are
20006 *** missing the development portion of the python installation" >&2;}
20013 PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python$PYTHON_VERSION
20014 PYTHON_LIBS="-L${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
20015 PYTHON_LIB=$PYTHON_LIBS
20016 PYTHON_LIBA=${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python$PYTHON_VERSION/config/libpython$PYTHON_VERSION.a
20017 if test "${build_cpu::6}" = "x86_64" ; then
20018 if test "$PY_MAKEFILE" = "${PYTHON_PREFIX}/lib64/python$PYTHON_VERSION/config/Makefile" ; then
20019 PYTHON_LIBS="-L${PYTHON_PREFIX}/lib64/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
20020 PYTHON_LIB=$PYTHON_LIBS
20021 PYTHON_LIBA=${PYTHON_PREFIX}/lib64/python$PYTHON_VERSION/config/libpython$PYTHON_VERSION.a
20027 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
20031 # Check whether --with-python-site was given.
20032 if test "${with_python_site+set}" = set; then
20033 withval=$with_python_site;
20035 PYTHON_SITE="$withval"
20036 python_site_given=yes
20038 PYTHON_SITE=${prefix}"/lib${LIB_LOCATION_SUFFIX}/python"${PYTHON_VERSION}/site-packages
20039 python_site_given=no
20044 PYTHON_SITE_PACKAGE=$PYTHON_SITE/$PACKAGE
20050 # Check whether --with-python-site-exec was given.
20051 if test "${with_python_site_exec+set}" = set; then
20052 withval=$with_python_site_exec; PYTHON_SITE_EXEC="$withval"
20054 if test "$python_site_given" = yes; then
20055 PYTHON_SITE_EXEC=$PYTHON_SITE
20057 PYTHON_SITE_EXEC=${PYTHON_EXEC_PREFIX}"/lib${LIB_LOCATION_SUFFIX}/python"${PYTHON_VERSION}/site-packages
20062 PYTHON_SITE_INSTALL=$PYTHON_SITE_PACKAGE
20066 pythondir=${PYTHON_PREFIX}"/lib${LIB_LOCATION_SUFFIX}/python"${PYTHON_VERSION}/
20069 { echo "$as_me:$LINENO: checking if we need libdb" >&5
20070 echo $ECHO_N "checking if we need libdb... $ECHO_C" >&6; }
20071 PY_NEEDOPENDB=`nm $PYTHON_LIBA | grep dbopen | grep U`
20072 if test "x$PY_NEEDOPENDB" != "x"; then
20073 { echo "$as_me:$LINENO: result: yes" >&5
20074 echo "${ECHO_T}yes" >&6; }
20075 { echo "$as_me:$LINENO: checking for dbopen in -ldb" >&5
20076 echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6; }
20077 if test "${ac_cv_lib_db_dbopen+set}" = set; then
20078 echo $ECHO_N "(cached) $ECHO_C" >&6
20080 ac_check_lib_save_LIBS=$LIBS
20082 cat >conftest.$ac_ext <<_ACEOF
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20089 /* Override any GCC internal prototype to avoid an error.
20090 Use char because int might match the return type of a GCC
20091 builtin and then its argument prototype would still apply. */
20104 rm -f conftest.$ac_objext conftest$ac_exeext
20105 if { (ac_try="$ac_link"
20106 case "(($ac_try" in
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108 *) ac_try_echo=$ac_try;;
20110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20111 (eval "$ac_link") 2>conftest.er1
20113 grep -v '^ *+' conftest.er1 >conftest.err
20115 cat conftest.err >&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } && {
20118 test -z "$ac_c_werror_flag" ||
20119 test ! -s conftest.err
20120 } && test -s conftest$ac_exeext &&
20121 $as_test_x conftest$ac_exeext; then
20122 ac_cv_lib_db_dbopen=yes
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.$ac_ext >&5
20127 ac_cv_lib_db_dbopen=no
20130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20131 conftest$ac_exeext conftest.$ac_ext
20132 LIBS=$ac_check_lib_save_LIBS
20134 { echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbopen" >&5
20135 echo "${ECHO_T}$ac_cv_lib_db_dbopen" >&6; }
20136 if test $ac_cv_lib_db_dbopen = yes; then
20137 PYTHON_LIBS="$PYTHON_LIBS -ldb"
20143 { echo "$as_me:$LINENO: result: no" >&5
20144 echo "${ECHO_T}no" >&6; }
20147 { echo "$as_me:$LINENO: checking if we need libdl" >&5
20148 echo $ECHO_N "checking if we need libdl... $ECHO_C" >&6; }
20149 PY_NEEDOPENDL=`nm $PYTHON_LIBA | grep dlopen | grep U`
20150 if test "x$PY_NEEDOPENDL" != "x"; then
20151 { echo "$as_me:$LINENO: result: yes" >&5
20152 echo "${ECHO_T}yes" >&6; }
20153 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20154 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20155 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20156 echo $ECHO_N "(cached) $ECHO_C" >&6
20158 ac_check_lib_save_LIBS=$LIBS
20160 cat >conftest.$ac_ext <<_ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20167 /* Override any GCC internal prototype to avoid an error.
20168 Use char because int might match the return type of a GCC
20169 builtin and then its argument prototype would still apply. */
20182 rm -f conftest.$ac_objext conftest$ac_exeext
20183 if { (ac_try="$ac_link"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_link") 2>conftest.er1
20191 grep -v '^ *+' conftest.er1 >conftest.err
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_c_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest$ac_exeext &&
20199 $as_test_x conftest$ac_exeext; then
20200 ac_cv_lib_dl_dlopen=yes
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.$ac_ext >&5
20205 ac_cv_lib_dl_dlopen=no
20208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20209 conftest$ac_exeext conftest.$ac_ext
20210 LIBS=$ac_check_lib_save_LIBS
20212 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20213 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20214 if test $ac_cv_lib_dl_dlopen = yes; then
20215 PYTHON_LIBS="$PYTHON_LIBS -ldl"
20221 { echo "$as_me:$LINENO: result: no" >&5
20222 echo "${ECHO_T}no" >&6; }
20225 { echo "$as_me:$LINENO: checking if we need libutil" >&5
20226 echo $ECHO_N "checking if we need libutil... $ECHO_C" >&6; }
20227 PY_NEEDOPENPTY=`nm $PYTHON_LIBA | grep openpty | grep U`
20228 if test "x$PY_NEEDOPENPTY" != "x"; then
20229 { echo "$as_me:$LINENO: result: yes" >&5
20230 echo "${ECHO_T}yes" >&6; }
20231 { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
20232 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
20233 if test "${ac_cv_lib_util_openpty+set}" = set; then
20234 echo $ECHO_N "(cached) $ECHO_C" >&6
20236 ac_check_lib_save_LIBS=$LIBS
20237 LIBS="-lutil $LIBS"
20238 cat >conftest.$ac_ext <<_ACEOF
20241 cat confdefs.h >>conftest.$ac_ext
20242 cat >>conftest.$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20245 /* Override any GCC internal prototype to avoid an error.
20246 Use char because int might match the return type of a GCC
20247 builtin and then its argument prototype would still apply. */
20260 rm -f conftest.$ac_objext conftest$ac_exeext
20261 if { (ac_try="$ac_link"
20262 case "(($ac_try" in
20263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20264 *) ac_try_echo=$ac_try;;
20266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20267 (eval "$ac_link") 2>conftest.er1
20269 grep -v '^ *+' conftest.er1 >conftest.err
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && {
20274 test -z "$ac_c_werror_flag" ||
20275 test ! -s conftest.err
20276 } && test -s conftest$ac_exeext &&
20277 $as_test_x conftest$ac_exeext; then
20278 ac_cv_lib_util_openpty=yes
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20283 ac_cv_lib_util_openpty=no
20286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20287 conftest$ac_exeext conftest.$ac_ext
20288 LIBS=$ac_check_lib_save_LIBS
20290 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
20291 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
20292 if test $ac_cv_lib_util_openpty = yes; then
20293 PYTHON_LIBS="$PYTHON_LIBS -lutil"
20299 { echo "$as_me:$LINENO: result: no" >&5
20300 echo "${ECHO_T}no" >&6; }
20303 { echo "$as_me:$LINENO: checking if we need tcltk" >&5
20304 echo $ECHO_N "checking if we need tcltk... $ECHO_C" >&6; }
20305 PY_NEEDTCLTK=`nm $PYTHON_LIBA | grep Tcl_Init | grep U`
20306 if test "x$PY_NEEDTCLTK" != "x"; then
20307 { echo "$as_me:$LINENO: result: yes" >&5
20308 echo "${ECHO_T}yes" >&6; }
20309 { echo "$as_me:$LINENO: checking for Tcl_Init in -ltcl" >&5
20310 echo $ECHO_N "checking for Tcl_Init in -ltcl... $ECHO_C" >&6; }
20311 if test "${ac_cv_lib_tcl_Tcl_Init+set}" = set; then
20312 echo $ECHO_N "(cached) $ECHO_C" >&6
20314 ac_check_lib_save_LIBS=$LIBS
20316 cat >conftest.$ac_ext <<_ACEOF
20319 cat confdefs.h >>conftest.$ac_ext
20320 cat >>conftest.$ac_ext <<_ACEOF
20321 /* end confdefs.h. */
20323 /* Override any GCC internal prototype to avoid an error.
20324 Use char because int might match the return type of a GCC
20325 builtin and then its argument prototype would still apply. */
20333 return Tcl_Init ();
20338 rm -f conftest.$ac_objext conftest$ac_exeext
20339 if { (ac_try="$ac_link"
20340 case "(($ac_try" in
20341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20342 *) ac_try_echo=$ac_try;;
20344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20345 (eval "$ac_link") 2>conftest.er1
20347 grep -v '^ *+' conftest.er1 >conftest.err
20349 cat conftest.err >&5
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); } && {
20352 test -z "$ac_c_werror_flag" ||
20353 test ! -s conftest.err
20354 } && test -s conftest$ac_exeext &&
20355 $as_test_x conftest$ac_exeext; then
20356 ac_cv_lib_tcl_Tcl_Init=yes
20358 echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.$ac_ext >&5
20361 ac_cv_lib_tcl_Tcl_Init=no
20364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20365 conftest$ac_exeext conftest.$ac_ext
20366 LIBS=$ac_check_lib_save_LIBS
20368 { echo "$as_me:$LINENO: result: $ac_cv_lib_tcl_Tcl_Init" >&5
20369 echo "${ECHO_T}$ac_cv_lib_tcl_Tcl_Init" >&6; }
20370 if test $ac_cv_lib_tcl_Tcl_Init = yes; then
20371 PYTHON_LIBS="$PYTHON_LIBS -ltcl -ltk"
20377 { echo "$as_me:$LINENO: result: no" >&5
20378 echo "${ECHO_T}no" >&6; }
20381 if test "$python_ok" == "yes"; then
20382 { echo "$as_me:$LINENO: result: looks good" >&5
20383 echo "${ECHO_T}looks good" >&6; }
20391 if test -n "$PYTHON"; then
20392 # If the user set $PYTHON, use it and don't search something else.
20393 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
20394 echo $ECHO_N "checking whether $PYTHON version >= 2.3... $ECHO_C" >&6; }
20395 prog="import sys, string
20396 # split strings by '.' and convert to numeric. Append some zeros
20397 # because we need at least 4 digits for the hex conversion.
20398 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
20400 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
20401 sys.exit(sys.hexversion < minverhex)"
20402 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
20403 ($PYTHON -c "$prog") >&5 2>&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); }; then
20407 { echo "$as_me:$LINENO: result: yes" >&5
20408 echo "${ECHO_T}yes" >&6; }
20410 { { echo "$as_me:$LINENO: error: too old" >&5
20411 echo "$as_me: error: too old" >&2;}
20412 { (exit 1); exit 1; }; }
20415 am_display_PYTHON=$PYTHON
20417 # Otherwise, try each interpreter until we find one that satisfies
20419 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5
20420 echo $ECHO_N "checking for a Python interpreter with version >= 2.3... $ECHO_C" >&6; }
20421 if test "${am_cv_pathless_PYTHON+set}" = set; then
20422 echo $ECHO_N "(cached) $ECHO_C" >&6
20425 for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
20426 test "$am_cv_pathless_PYTHON" = none && break
20427 prog="import sys, string
20428 # split strings by '.' and convert to numeric. Append some zeros
20429 # because we need at least 4 digits for the hex conversion.
20430 minver = map(int, string.split('2.3', '.')) + [0, 0, 0]
20432 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
20433 sys.exit(sys.hexversion < minverhex)"
20434 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
20435 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; then
20444 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
20445 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
20446 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
20447 if test "$am_cv_pathless_PYTHON" = none; then
20450 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
20451 set dummy $am_cv_pathless_PYTHON; ac_word=$2
20452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20454 if test "${ac_cv_path_PYTHON+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20459 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
20462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20463 for as_dir in $PATH
20466 test -z "$as_dir" && as_dir=.
20467 for ac_exec_ext in '' $ac_executable_extensions; do
20468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20469 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
20470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20480 PYTHON=$ac_cv_path_PYTHON
20481 if test -n "$PYTHON"; then
20482 { echo "$as_me:$LINENO: result: $PYTHON" >&5
20483 echo "${ECHO_T}$PYTHON" >&6; }
20485 { echo "$as_me:$LINENO: result: no" >&5
20486 echo "${ECHO_T}no" >&6; }
20491 am_display_PYTHON=$am_cv_pathless_PYTHON
20495 if test "$PYTHON" = :; then
20496 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
20497 echo "$as_me: error: no suitable Python interpreter found" >&2;}
20498 { (exit 1); exit 1; }; }
20502 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
20503 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
20504 if test "${am_cv_python_version+set}" = set; then
20505 echo $ECHO_N "(cached) $ECHO_C" >&6
20507 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
20509 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
20510 echo "${ECHO_T}$am_cv_python_version" >&6; }
20511 PYTHON_VERSION=$am_cv_python_version
20515 PYTHON_PREFIX='${prefix}'
20517 PYTHON_EXEC_PREFIX='${exec_prefix}'
20521 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
20522 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
20523 if test "${am_cv_python_platform+set}" = set; then
20524 echo $ECHO_N "(cached) $ECHO_C" >&6
20526 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
20528 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
20529 echo "${ECHO_T}$am_cv_python_platform" >&6; }
20530 PYTHON_PLATFORM=$am_cv_python_platform
20535 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
20536 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
20537 if test "${am_cv_python_pythondir+set}" = set; then
20538 echo $ECHO_N "(cached) $ECHO_C" >&6
20540 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
20541 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
20543 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
20544 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
20545 pythondir=$am_cv_python_pythondir
20549 pkgpythondir=\${pythondir}/$PACKAGE
20552 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
20553 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
20554 if test "${am_cv_python_pyexecdir+set}" = set; then
20555 echo $ECHO_N "(cached) $ECHO_C" >&6
20557 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
20558 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
20560 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
20561 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
20562 pyexecdir=$am_cv_python_pyexecdir
20566 pkgpyexecdir=\${pyexecdir}/$PACKAGE
20575 echo ---------------------------------------------
20576 echo testing omniORB
20577 echo ---------------------------------------------
20584 ac_cpp='$CPP $CPPFLAGS'
20585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20591 # We used to check for pthread.h first, but this fails if pthread.h
20592 # requires special compiler flags (e.g. on True64 or Sequent).
20593 # It gets checked for in the link test anyway.
20595 # First of all, check if the user has set any of the PTHREAD_LIBS,
20596 # etcetera environment variables, and if threads linking works using
20598 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
20599 save_CFLAGS="$CFLAGS"
20600 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
20602 LIBS="$PTHREAD_LIBS $LIBS"
20603 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
20604 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
20605 cat >conftest.$ac_ext <<_ACEOF
20608 cat confdefs.h >>conftest.$ac_ext
20609 cat >>conftest.$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20612 /* Override any GCC internal prototype to avoid an error.
20613 Use char because int might match the return type of a GCC
20614 builtin and then its argument prototype would still apply. */
20618 char pthread_join ();
20622 return pthread_join ();
20627 rm -f conftest.$ac_objext conftest$ac_exeext
20628 if { (ac_try="$ac_link"
20629 case "(($ac_try" in
20630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20631 *) ac_try_echo=$ac_try;;
20633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20634 (eval "$ac_link") 2>conftest.er1
20636 grep -v '^ *+' conftest.er1 >conftest.err
20638 cat conftest.err >&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); } && {
20641 test -z "$ac_c_werror_flag" ||
20642 test ! -s conftest.err
20643 } && test -s conftest$ac_exeext &&
20644 $as_test_x conftest$ac_exeext; then
20647 echo "$as_me: failed program was:" >&5
20648 sed 's/^/| /' conftest.$ac_ext >&5
20653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20654 conftest$ac_exeext conftest.$ac_ext
20655 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
20656 echo "${ECHO_T}$acx_pthread_ok" >&6; }
20657 if test x"$acx_pthread_ok" = xno; then
20662 CFLAGS="$save_CFLAGS"
20665 # We must check for the threads library under a number of different
20666 # names; the ordering is very important because some systems
20667 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
20668 # libraries is broken (non-POSIX).
20670 # Create a list of thread flags to try. Items starting with a "-" are
20671 # C compiler flags, and other items are library names, except for "none"
20672 # which indicates that we try without any flags at all, and "pthread-config"
20673 # which is a program returning the flags for the Pth emulation library.
20675 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
20677 # The ordering *is* (sometimes) important. Some notes on the
20678 # individual items follow:
20680 # pthreads: AIX (must check this before -lpthread)
20681 # none: in case threads are in libc; should be tried before -Kthread and
20682 # other compiler flags to prevent continual compiler warnings
20683 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
20684 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
20685 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
20686 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
20687 # -pthreads: Solaris/gcc
20688 # -mthreads: Mingw32/gcc, Lynx/gcc
20689 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
20690 # doesn't hurt to check since this sometimes defines pthreads too;
20691 # also defines -D_REENTRANT)
20692 # pthread: Linux, etcetera
20693 # --thread-safe: KAI C++
20694 # pthread-config: use pthread-config program (for GNU Pth library)
20696 case "${host_cpu}-${host_os}" in
20699 # On linux "none" works, but boost requires -pthread, so, try first "-pthread"
20700 acx_pthread_flags="-pthread pthreads none -Kthread -kthread lthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
20705 # On Solaris (at least, for some versions), libc contains stubbed
20706 # (non-functional) versions of the pthreads routines, so link-based
20707 # tests will erroneously succeed. (We need to link with -pthread or
20708 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
20709 # a function called by this macro, so we could check for that, but
20710 # who knows whether they'll stub that too in a future libc.) So,
20711 # we'll just look for -pthreads and -lpthread first:
20713 acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
20717 if test x"$acx_pthread_ok" = xno; then
20718 for flag in $acx_pthread_flags; do
20722 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
20723 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
20727 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
20728 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
20729 PTHREAD_CFLAGS="$flag"
20733 # Extract the first word of "pthread-config", so it can be a program name with args.
20734 set dummy pthread-config; ac_word=$2
20735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20737 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20740 if test -n "$acx_pthread_config"; then
20741 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
20743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20744 for as_dir in $PATH
20747 test -z "$as_dir" && as_dir=.
20748 for ac_exec_ext in '' $ac_executable_extensions; do
20749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20750 ac_cv_prog_acx_pthread_config="yes"
20751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20758 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
20761 acx_pthread_config=$ac_cv_prog_acx_pthread_config
20762 if test -n "$acx_pthread_config"; then
20763 { echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
20764 echo "${ECHO_T}$acx_pthread_config" >&6; }
20766 { echo "$as_me:$LINENO: result: no" >&5
20767 echo "${ECHO_T}no" >&6; }
20771 if test x"$acx_pthread_config" = xno; then continue; fi
20772 PTHREAD_CFLAGS="`pthread-config --cflags`"
20773 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
20777 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
20778 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
20779 PTHREAD_LIBS="-l$flag"
20784 save_CFLAGS="$CFLAGS"
20785 LIBS="$PTHREAD_LIBS $LIBS"
20786 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
20788 # Check for various functions. We must include pthread.h,
20789 # since some functions may be macros. (On the Sequent, we
20790 # need a special flag -Kthread to make this header compile.)
20791 # We check for pthread_join because it is in -lpthread on IRIX
20792 # while pthread_create is in libc. We check for pthread_attr_init
20793 # due to DEC craziness with -lpthreads. We check for
20794 # pthread_cleanup_push because it is one of the few pthread
20795 # functions on Solaris that doesn't have a non-functional libc stub.
20796 # We try pthread_create on general principles.
20797 cat >conftest.$ac_ext <<_ACEOF
20800 cat confdefs.h >>conftest.$ac_ext
20801 cat >>conftest.$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 #include <pthread.h>
20807 pthread_t th; pthread_join(th, 0);
20808 pthread_attr_init(0); pthread_cleanup_push(0, 0);
20809 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
20814 rm -f conftest.$ac_objext conftest$ac_exeext
20815 if { (ac_try="$ac_link"
20816 case "(($ac_try" in
20817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_link") 2>conftest.er1
20823 grep -v '^ *+' conftest.er1 >conftest.err
20825 cat conftest.err >&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } && {
20828 test -z "$ac_c_werror_flag" ||
20829 test ! -s conftest.err
20830 } && test -s conftest$ac_exeext &&
20831 $as_test_x conftest$ac_exeext; then
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20841 conftest$ac_exeext conftest.$ac_ext
20844 CFLAGS="$save_CFLAGS"
20846 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
20847 echo "${ECHO_T}$acx_pthread_ok" >&6; }
20848 if test "x$acx_pthread_ok" = xyes; then
20857 # Various other checks:
20858 if test "x$acx_pthread_ok" = xyes; then
20860 LIBS="$PTHREAD_LIBS $LIBS"
20861 save_CFLAGS="$CFLAGS"
20862 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
20864 # Detect AIX lossage: threads are created detached by default
20865 # and the JOINABLE attribute has a nonstandard name (UNDETACHED).
20866 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
20867 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
20868 cat >conftest.$ac_ext <<_ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 #include <pthread.h>
20878 int attr=PTHREAD_CREATE_JOINABLE;
20883 rm -f conftest.$ac_objext conftest$ac_exeext
20884 if { (ac_try="$ac_link"
20885 case "(($ac_try" in
20886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20887 *) ac_try_echo=$ac_try;;
20889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20890 (eval "$ac_link") 2>conftest.er1
20892 grep -v '^ *+' conftest.er1 >conftest.err
20894 cat conftest.err >&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); } && {
20897 test -z "$ac_c_werror_flag" ||
20898 test ! -s conftest.err
20899 } && test -s conftest$ac_exeext &&
20900 $as_test_x conftest$ac_exeext; then
20901 ok=PTHREAD_CREATE_JOINABLE
20903 echo "$as_me: failed program was:" >&5
20904 sed 's/^/| /' conftest.$ac_ext >&5
20909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20910 conftest$ac_exeext conftest.$ac_ext
20911 if test x"$ok" = xunknown; then
20912 cat >conftest.$ac_ext <<_ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 #include <pthread.h>
20922 int attr=PTHREAD_CREATE_UNDETACHED;
20927 rm -f conftest.$ac_objext conftest$ac_exeext
20928 if { (ac_try="$ac_link"
20929 case "(($ac_try" in
20930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20931 *) ac_try_echo=$ac_try;;
20933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20934 (eval "$ac_link") 2>conftest.er1
20936 grep -v '^ *+' conftest.er1 >conftest.err
20938 cat conftest.err >&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); } && {
20941 test -z "$ac_c_werror_flag" ||
20942 test ! -s conftest.err
20943 } && test -s conftest$ac_exeext &&
20944 $as_test_x conftest$ac_exeext; then
20945 ok=PTHREAD_CREATE_UNDETACHED
20947 echo "$as_me: failed program was:" >&5
20948 sed 's/^/| /' conftest.$ac_ext >&5
20953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20954 conftest$ac_exeext conftest.$ac_ext
20956 if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
20958 cat >>confdefs.h <<\_ACEOF
20959 #define PTHREAD_CREATE_JOINABLE $ok
20963 { echo "$as_me:$LINENO: result: ${ok}" >&5
20964 echo "${ECHO_T}${ok}" >&6; }
20965 if test x"$ok" = xunknown; then
20966 { echo "$as_me:$LINENO: WARNING: we do not know how to create joinable pthreads" >&5
20967 echo "$as_me: WARNING: we do not know how to create joinable pthreads" >&2;}
20970 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
20971 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
20973 case "${host_cpu}-${host_os}" in
20974 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
20975 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
20977 { echo "$as_me:$LINENO: result: ${flag}" >&5
20978 echo "${ECHO_T}${flag}" >&6; }
20979 if test "x$flag" != xno; then
20980 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
20984 CFLAGS="$save_CFLAGS"
20986 # More AIX lossage: must compile with cc_r
20987 # Extract the first word of "cc_r", so it can be a program name with args.
20988 set dummy cc_r; ac_word=$2
20989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20991 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
20992 echo $ECHO_N "(cached) $ECHO_C" >&6
20994 if test -n "$PTHREAD_CC"; then
20995 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
20997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20998 for as_dir in $PATH
21001 test -z "$as_dir" && as_dir=.
21002 for ac_exec_ext in '' $ac_executable_extensions; do
21003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21004 ac_cv_prog_PTHREAD_CC="cc_r"
21005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21012 test -z "$ac_cv_prog_PTHREAD_CC" && ac_cv_prog_PTHREAD_CC="${CC}"
21015 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
21016 if test -n "$PTHREAD_CC"; then
21017 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
21018 echo "${ECHO_T}$PTHREAD_CC" >&6; }
21020 { echo "$as_me:$LINENO: result: no" >&5
21021 echo "${ECHO_T}no" >&6; }
21033 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
21034 if test x"$acx_pthread_ok" = xyes; then
21036 cat >>confdefs.h <<\_ACEOF
21037 #define HAVE_PTHREAD 1
21046 ac_cpp='$CXXCPP $CPPFLAGS'
21047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21055 { echo "$as_me:$LINENO: checking for omniORB..." >&5
21056 echo "$as_me: checking for omniORB..." >&6;}
21059 if test "x$PYTHON" = "x"
21065 # Check whether --with-python was given.
21066 if test "${with_python+set}" = set; then
21067 withval=$with_python; PYTHON="$withval/bin/python"
21068 { echo "$as_me:$LINENO: result: \"select python distribution in $withval\"" >&5
21069 echo "${ECHO_T}\"select python distribution in $withval\"" >&6; }
21073 # Extract the first word of "python", so it can be a program name with args.
21074 set dummy python; ac_word=$2
21075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21077 if test "${ac_cv_path_PYTHON+set}" = set; then
21078 echo $ECHO_N "(cached) $ECHO_C" >&6
21082 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21086 for as_dir in $PATH
21089 test -z "$as_dir" && as_dir=.
21090 for ac_exec_ext in '' $ac_executable_extensions; do
21091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21092 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21103 PYTHON=$ac_cv_path_PYTHON
21104 if test -n "$PYTHON"; then
21105 { echo "$as_me:$LINENO: result: $PYTHON" >&5
21106 echo "${ECHO_T}$PYTHON" >&6; }
21108 { echo "$as_me:$LINENO: result: no" >&5
21109 echo "${ECHO_T}no" >&6; }
21117 { echo "$as_me:$LINENO: checking local Python configuration..." >&5
21118 echo "$as_me: checking local Python configuration..." >&6;}
21121 PYTHON_PREFIX=`echo $PYTHON | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
21122 PYTHON_PREFIX=`echo $PYTHON_PREFIX | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
21123 PYTHONHOME=$PYTHON_PREFIX
21128 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
21131 PY_MAKEFILE=${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python$PYTHON_VERSION/config/Makefile
21132 if test ! -f "$PY_MAKEFILE"; then
21133 if test "${build_cpu::6}" = "x86_64" ; then
21134 PY_MAKEFILE=${PYTHON_PREFIX}/lib64/python$PYTHON_VERSION/config/Makefile
21137 if test ! -f "$PY_MAKEFILE"; then
21138 { echo "$as_me:$LINENO: WARNING: *** Couldn't find ${PY_MAKEFILE}. Maybe you are
21139 *** missing the development portion of the python installation" >&5
21140 echo "$as_me: WARNING: *** Couldn't find ${PY_MAKEFILE}. Maybe you are
21141 *** missing the development portion of the python installation" >&2;}
21148 PYTHON_INCLUDES=-I$PYTHON_PREFIX/include/python$PYTHON_VERSION
21149 PYTHON_LIBS="-L${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
21150 PYTHON_LIB=$PYTHON_LIBS
21151 PYTHON_LIBA=${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python$PYTHON_VERSION/config/libpython$PYTHON_VERSION.a
21152 if test "${build_cpu::6}" = "x86_64" ; then
21153 if test "$PY_MAKEFILE" = "${PYTHON_PREFIX}/lib64/python$PYTHON_VERSION/config/Makefile" ; then
21154 PYTHON_LIBS="-L${PYTHON_PREFIX}/lib64/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
21155 PYTHON_LIB=$PYTHON_LIBS
21156 PYTHON_LIBA=${PYTHON_PREFIX}/lib64/python$PYTHON_VERSION/config/libpython$PYTHON_VERSION.a
21162 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
21166 # Check whether --with-python-site was given.
21167 if test "${with_python_site+set}" = set; then
21168 withval=$with_python_site;
21170 PYTHON_SITE="$withval"
21171 python_site_given=yes
21173 PYTHON_SITE=${prefix}"/lib${LIB_LOCATION_SUFFIX}/python"${PYTHON_VERSION}/site-packages
21174 python_site_given=no
21179 PYTHON_SITE_PACKAGE=$PYTHON_SITE/$PACKAGE
21185 # Check whether --with-python-site-exec was given.
21186 if test "${with_python_site_exec+set}" = set; then
21187 withval=$with_python_site_exec; PYTHON_SITE_EXEC="$withval"
21189 if test "$python_site_given" = yes; then
21190 PYTHON_SITE_EXEC=$PYTHON_SITE
21192 PYTHON_SITE_EXEC=${PYTHON_EXEC_PREFIX}"/lib${LIB_LOCATION_SUFFIX}/python"${PYTHON_VERSION}/site-packages
21197 PYTHON_SITE_INSTALL=$PYTHON_SITE_PACKAGE
21201 pythondir=${PYTHON_PREFIX}"/lib${LIB_LOCATION_SUFFIX}/python"${PYTHON_VERSION}/
21204 { echo "$as_me:$LINENO: checking if we need libdb" >&5
21205 echo $ECHO_N "checking if we need libdb... $ECHO_C" >&6; }
21206 PY_NEEDOPENDB=`nm $PYTHON_LIBA | grep dbopen | grep U`
21207 if test "x$PY_NEEDOPENDB" != "x"; then
21208 { echo "$as_me:$LINENO: result: yes" >&5
21209 echo "${ECHO_T}yes" >&6; }
21210 { echo "$as_me:$LINENO: checking for dbopen in -ldb" >&5
21211 echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6; }
21212 if test "${ac_cv_lib_db_dbopen+set}" = set; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 ac_check_lib_save_LIBS=$LIBS
21217 cat >conftest.$ac_ext <<_ACEOF
21220 cat confdefs.h >>conftest.$ac_ext
21221 cat >>conftest.$ac_ext <<_ACEOF
21222 /* end confdefs.h. */
21224 /* Override any GCC internal prototype to avoid an error.
21225 Use char because int might match the return type of a GCC
21226 builtin and then its argument prototype would still apply. */
21239 rm -f conftest.$ac_objext conftest$ac_exeext
21240 if { (ac_try="$ac_link"
21241 case "(($ac_try" in
21242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21243 *) ac_try_echo=$ac_try;;
21245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21246 (eval "$ac_link") 2>conftest.er1
21248 grep -v '^ *+' conftest.er1 >conftest.err
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } && {
21253 test -z "$ac_c_werror_flag" ||
21254 test ! -s conftest.err
21255 } && test -s conftest$ac_exeext &&
21256 $as_test_x conftest$ac_exeext; then
21257 ac_cv_lib_db_dbopen=yes
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.$ac_ext >&5
21262 ac_cv_lib_db_dbopen=no
21265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21266 conftest$ac_exeext conftest.$ac_ext
21267 LIBS=$ac_check_lib_save_LIBS
21269 { echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbopen" >&5
21270 echo "${ECHO_T}$ac_cv_lib_db_dbopen" >&6; }
21271 if test $ac_cv_lib_db_dbopen = yes; then
21272 PYTHON_LIBS="$PYTHON_LIBS -ldb"
21278 { echo "$as_me:$LINENO: result: no" >&5
21279 echo "${ECHO_T}no" >&6; }
21282 { echo "$as_me:$LINENO: checking if we need libdl" >&5
21283 echo $ECHO_N "checking if we need libdl... $ECHO_C" >&6; }
21284 PY_NEEDOPENDL=`nm $PYTHON_LIBA | grep dlopen | grep U`
21285 if test "x$PY_NEEDOPENDL" != "x"; then
21286 { echo "$as_me:$LINENO: result: yes" >&5
21287 echo "${ECHO_T}yes" >&6; }
21288 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21289 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
21290 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 ac_check_lib_save_LIBS=$LIBS
21295 cat >conftest.$ac_ext <<_ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21302 /* Override any GCC internal prototype to avoid an error.
21303 Use char because int might match the return type of a GCC
21304 builtin and then its argument prototype would still apply. */
21317 rm -f conftest.$ac_objext conftest$ac_exeext
21318 if { (ac_try="$ac_link"
21319 case "(($ac_try" in
21320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21321 *) ac_try_echo=$ac_try;;
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_link") 2>conftest.er1
21326 grep -v '^ *+' conftest.er1 >conftest.err
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest$ac_exeext &&
21334 $as_test_x conftest$ac_exeext; then
21335 ac_cv_lib_dl_dlopen=yes
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.$ac_ext >&5
21340 ac_cv_lib_dl_dlopen=no
21343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21344 conftest$ac_exeext conftest.$ac_ext
21345 LIBS=$ac_check_lib_save_LIBS
21347 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21348 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21349 if test $ac_cv_lib_dl_dlopen = yes; then
21350 PYTHON_LIBS="$PYTHON_LIBS -ldl"
21356 { echo "$as_me:$LINENO: result: no" >&5
21357 echo "${ECHO_T}no" >&6; }
21360 { echo "$as_me:$LINENO: checking if we need libutil" >&5
21361 echo $ECHO_N "checking if we need libutil... $ECHO_C" >&6; }
21362 PY_NEEDOPENPTY=`nm $PYTHON_LIBA | grep openpty | grep U`
21363 if test "x$PY_NEEDOPENPTY" != "x"; then
21364 { echo "$as_me:$LINENO: result: yes" >&5
21365 echo "${ECHO_T}yes" >&6; }
21366 { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
21367 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
21368 if test "${ac_cv_lib_util_openpty+set}" = set; then
21369 echo $ECHO_N "(cached) $ECHO_C" >&6
21371 ac_check_lib_save_LIBS=$LIBS
21372 LIBS="-lutil $LIBS"
21373 cat >conftest.$ac_ext <<_ACEOF
21376 cat confdefs.h >>conftest.$ac_ext
21377 cat >>conftest.$ac_ext <<_ACEOF
21378 /* end confdefs.h. */
21380 /* Override any GCC internal prototype to avoid an error.
21381 Use char because int might match the return type of a GCC
21382 builtin and then its argument prototype would still apply. */
21395 rm -f conftest.$ac_objext conftest$ac_exeext
21396 if { (ac_try="$ac_link"
21397 case "(($ac_try" in
21398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21399 *) ac_try_echo=$ac_try;;
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21402 (eval "$ac_link") 2>conftest.er1
21404 grep -v '^ *+' conftest.er1 >conftest.err
21406 cat conftest.err >&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } && {
21409 test -z "$ac_c_werror_flag" ||
21410 test ! -s conftest.err
21411 } && test -s conftest$ac_exeext &&
21412 $as_test_x conftest$ac_exeext; then
21413 ac_cv_lib_util_openpty=yes
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.$ac_ext >&5
21418 ac_cv_lib_util_openpty=no
21421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21422 conftest$ac_exeext conftest.$ac_ext
21423 LIBS=$ac_check_lib_save_LIBS
21425 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
21426 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
21427 if test $ac_cv_lib_util_openpty = yes; then
21428 PYTHON_LIBS="$PYTHON_LIBS -lutil"
21434 { echo "$as_me:$LINENO: result: no" >&5
21435 echo "${ECHO_T}no" >&6; }
21438 { echo "$as_me:$LINENO: checking if we need tcltk" >&5
21439 echo $ECHO_N "checking if we need tcltk... $ECHO_C" >&6; }
21440 PY_NEEDTCLTK=`nm $PYTHON_LIBA | grep Tcl_Init | grep U`
21441 if test "x$PY_NEEDTCLTK" != "x"; then
21442 { echo "$as_me:$LINENO: result: yes" >&5
21443 echo "${ECHO_T}yes" >&6; }
21444 { echo "$as_me:$LINENO: checking for Tcl_Init in -ltcl" >&5
21445 echo $ECHO_N "checking for Tcl_Init in -ltcl... $ECHO_C" >&6; }
21446 if test "${ac_cv_lib_tcl_Tcl_Init+set}" = set; then
21447 echo $ECHO_N "(cached) $ECHO_C" >&6
21449 ac_check_lib_save_LIBS=$LIBS
21451 cat >conftest.$ac_ext <<_ACEOF
21454 cat confdefs.h >>conftest.$ac_ext
21455 cat >>conftest.$ac_ext <<_ACEOF
21456 /* end confdefs.h. */
21458 /* Override any GCC internal prototype to avoid an error.
21459 Use char because int might match the return type of a GCC
21460 builtin and then its argument prototype would still apply. */
21468 return Tcl_Init ();
21473 rm -f conftest.$ac_objext conftest$ac_exeext
21474 if { (ac_try="$ac_link"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_link") 2>conftest.er1
21482 grep -v '^ *+' conftest.er1 >conftest.err
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest$ac_exeext &&
21490 $as_test_x conftest$ac_exeext; then
21491 ac_cv_lib_tcl_Tcl_Init=yes
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21496 ac_cv_lib_tcl_Tcl_Init=no
21499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21500 conftest$ac_exeext conftest.$ac_ext
21501 LIBS=$ac_check_lib_save_LIBS
21503 { echo "$as_me:$LINENO: result: $ac_cv_lib_tcl_Tcl_Init" >&5
21504 echo "${ECHO_T}$ac_cv_lib_tcl_Tcl_Init" >&6; }
21505 if test $ac_cv_lib_tcl_Tcl_Init = yes; then
21506 PYTHON_LIBS="$PYTHON_LIBS -ltcl -ltk"
21512 { echo "$as_me:$LINENO: result: no" >&5
21513 echo "${ECHO_T}no" >&6; }
21516 if test "$python_ok" == "yes"; then
21517 { echo "$as_me:$LINENO: result: looks good" >&5
21518 echo "${ECHO_T}looks good" >&6; }
21525 ac_cpp='$CXXCPP $CPPFLAGS'
21526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21531 # Extract the first word of "omniidl", so it can be a program name with args.
21532 set dummy omniidl; ac_word=$2
21533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21535 if test "${ac_cv_path_OMNIORB_IDL+set}" = set; then
21536 echo $ECHO_N "(cached) $ECHO_C" >&6
21538 case $OMNIORB_IDL in
21540 ac_cv_path_OMNIORB_IDL="$OMNIORB_IDL" # Let the user override the test with a path.
21543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21544 for as_dir in $PATH
21547 test -z "$as_dir" && as_dir=.
21548 for ac_exec_ext in '' $ac_executable_extensions; do
21549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21550 ac_cv_path_OMNIORB_IDL="$as_dir/$ac_word$ac_exec_ext"
21551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21561 OMNIORB_IDL=$ac_cv_path_OMNIORB_IDL
21562 if test -n "$OMNIORB_IDL"; then
21563 { echo "$as_me:$LINENO: result: $OMNIORB_IDL" >&5
21564 echo "${ECHO_T}$OMNIORB_IDL" >&6; }
21566 { echo "$as_me:$LINENO: result: no" >&5
21567 echo "${ECHO_T}no" >&6; }
21571 if test "x$OMNIORB_IDL" = "x"
21574 { echo "$as_me:$LINENO: result: omniORB binaries not in PATH variable" >&5
21575 echo "${ECHO_T}omniORB binaries not in PATH variable" >&6; }
21580 if test "x$omniORB_ok" = "xyes"
21584 OMNIORB_BIN=`echo ${OMNIORB_IDL} | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
21585 OMNIORB_ROOT=${OMNIORB_BIN}
21587 OMNIORB_ROOT=`echo ${OMNIORB_ROOT} | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
21590 if test -d $OMNIORB_ROOT/include ; then
21591 # if $OMNIORB_ROOT/include exists, there are a lot of chance that
21592 # this is omniORB4.x installed via configure && make && make install
21593 OMNIORB_LIB=`echo ${OMNIORB_BIN} | sed -e "s,bin\$,lib,"`
21596 # omniORB has been installed old way
21597 OMNIORB_LIB=`echo ${OMNIORB_BIN} | sed -e "s,bin/,lib/,"`
21598 # one-level up again
21599 OMNIORB_ROOT=`echo ${OMNIORB_ROOT} | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
21600 if test -d $OMNIORB_ROOT/include/omniORB4 ; then
21608 OMNIORB_INCLUDES="-I$OMNIORB_ROOT/include -I$OMNIORB_ROOT/include/omniORB${OMNIORB_VERSION} -I$OMNIORB_ROOT/include/COS"
21614 if test x"$enable_pthreads_done" != xyes; then
21615 if test x"$acx_pthread_ok" = xyes; then
21616 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
21617 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
21618 LIBS="$LIBS $PTHREAD_LIBS"
21623 enable_pthreads_done=yes
21627 OMNIORB_CXXFLAGS="-DOMNIORB_VERSION=$OMNIORB_VERSION"
21630 # AC_DEFINE(__sparc__)
21631 OMNIORB_CXXFLAGS="$OMNIORB_CXXFLAGS -D__sparc__"
21634 # AC_DEFINE(__x86__)
21635 OMNIORB_CXXFLAGS="$OMNIORB_CXXFLAGS -D__x86__"
21640 # AC_DEFINE(__osf1__)
21643 cat >>confdefs.h <<\_ACEOF
21644 #define __OSVERSION__ 5
21647 OMNIORB_CXXFLAGS="$OMNIORB_CXXFLAGS -D__osf1__"
21650 # AC_DEFINE(__sunos__)
21653 cat >>confdefs.h <<\_ACEOF
21654 #define __OSVERSION__ 5
21657 OMNIORB_CXXFLAGS="$OMNIORB_CXXFLAGS -D__sunos__"
21660 # AC_DEFINE(__linux__)
21663 cat >>confdefs.h <<\_ACEOF
21664 #define __OSVERSION__ 2
21667 OMNIORB_CXXFLAGS="$OMNIORB_CXXFLAGS -D__linux__"
21672 CPPFLAGS_old=$CPPFLAGS
21673 CPPFLAGS="$CPPFLAGS $OMNIORB_CXXFLAGS $OMNIORB_INCLUDES"
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21681 if test "${ac_cv_header_CORBA_h+set}" = set; then
21682 { echo "$as_me:$LINENO: checking for CORBA.h" >&5
21683 echo $ECHO_N "checking for CORBA.h... $ECHO_C" >&6; }
21684 if test "${ac_cv_header_CORBA_h+set}" = set; then
21685 echo $ECHO_N "(cached) $ECHO_C" >&6
21687 { echo "$as_me:$LINENO: result: $ac_cv_header_CORBA_h" >&5
21688 echo "${ECHO_T}$ac_cv_header_CORBA_h" >&6; }
21690 # Is the header compilable?
21691 { echo "$as_me:$LINENO: checking CORBA.h usability" >&5
21692 echo $ECHO_N "checking CORBA.h usability... $ECHO_C" >&6; }
21693 cat >conftest.$ac_ext <<_ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 $ac_includes_default
21702 rm -f conftest.$ac_objext
21703 if { (ac_try="$ac_compile"
21704 case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_compile") 2>conftest.er1
21711 grep -v '^ *+' conftest.er1 >conftest.err
21713 cat conftest.err >&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } && {
21716 test -z "$ac_cxx_werror_flag" ||
21717 test ! -s conftest.err
21718 } && test -s conftest.$ac_objext; then
21719 ac_header_compiler=yes
21721 echo "$as_me: failed program was:" >&5
21722 sed 's/^/| /' conftest.$ac_ext >&5
21724 ac_header_compiler=no
21727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21728 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21729 echo "${ECHO_T}$ac_header_compiler" >&6; }
21731 # Is the header present?
21732 { echo "$as_me:$LINENO: checking CORBA.h presence" >&5
21733 echo $ECHO_N "checking CORBA.h presence... $ECHO_C" >&6; }
21734 cat >conftest.$ac_ext <<_ACEOF
21737 cat confdefs.h >>conftest.$ac_ext
21738 cat >>conftest.$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21742 if { (ac_try="$ac_cpp conftest.$ac_ext"
21743 case "(($ac_try" in
21744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21745 *) ac_try_echo=$ac_try;;
21747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21750 grep -v '^ *+' conftest.er1 >conftest.err
21752 cat conftest.err >&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); } >/dev/null && {
21755 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
21756 test ! -s conftest.err
21758 ac_header_preproc=yes
21760 echo "$as_me: failed program was:" >&5
21761 sed 's/^/| /' conftest.$ac_ext >&5
21763 ac_header_preproc=no
21766 rm -f conftest.err conftest.$ac_ext
21767 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21768 echo "${ECHO_T}$ac_header_preproc" >&6; }
21770 # So? What about this header?
21771 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21773 { echo "$as_me:$LINENO: WARNING: CORBA.h: accepted by the compiler, rejected by the preprocessor!" >&5
21774 echo "$as_me: WARNING: CORBA.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21775 { echo "$as_me:$LINENO: WARNING: CORBA.h: proceeding with the compiler's result" >&5
21776 echo "$as_me: WARNING: CORBA.h: proceeding with the compiler's result" >&2;}
21777 ac_header_preproc=yes
21780 { echo "$as_me:$LINENO: WARNING: CORBA.h: present but cannot be compiled" >&5
21781 echo "$as_me: WARNING: CORBA.h: present but cannot be compiled" >&2;}
21782 { echo "$as_me:$LINENO: WARNING: CORBA.h: check for missing prerequisite headers?" >&5
21783 echo "$as_me: WARNING: CORBA.h: check for missing prerequisite headers?" >&2;}
21784 { echo "$as_me:$LINENO: WARNING: CORBA.h: see the Autoconf documentation" >&5
21785 echo "$as_me: WARNING: CORBA.h: see the Autoconf documentation" >&2;}
21786 { echo "$as_me:$LINENO: WARNING: CORBA.h: section \"Present But Cannot Be Compiled\"" >&5
21787 echo "$as_me: WARNING: CORBA.h: section \"Present But Cannot Be Compiled\"" >&2;}
21788 { echo "$as_me:$LINENO: WARNING: CORBA.h: proceeding with the preprocessor's result" >&5
21789 echo "$as_me: WARNING: CORBA.h: proceeding with the preprocessor's result" >&2;}
21790 { echo "$as_me:$LINENO: WARNING: CORBA.h: in the future, the compiler will take precedence" >&5
21791 echo "$as_me: WARNING: CORBA.h: in the future, the compiler will take precedence" >&2;}
21793 ## ----------------------------------------------- ##
21794 ## Report this to webmaster.salome@opencascade.com ##
21795 ## ----------------------------------------------- ##
21797 ) | sed "s/^/$as_me: WARNING: /" >&2
21800 { echo "$as_me:$LINENO: checking for CORBA.h" >&5
21801 echo $ECHO_N "checking for CORBA.h... $ECHO_C" >&6; }
21802 if test "${ac_cv_header_CORBA_h+set}" = set; then
21803 echo $ECHO_N "(cached) $ECHO_C" >&6
21805 ac_cv_header_CORBA_h=$ac_header_preproc
21807 { echo "$as_me:$LINENO: result: $ac_cv_header_CORBA_h" >&5
21808 echo "${ECHO_T}$ac_cv_header_CORBA_h" >&6; }
21811 if test $ac_cv_header_CORBA_h = yes; then
21819 CPPFLAGS=$CPPFLAGS_old
21823 if test "x$omniORB_ok" = "xyes"
21825 if test "x$OMNIORB_LIB" = "x/usr/lib"
21830 OMNIORB_LDFLAGS="-L$OMNIORB_LIB"
21831 OMNIORB_RFLAGS="-Wl,-R$OMNIORB_LIB"
21835 LIBS="$LIBS $OMNIORB_LDFLAGS -lomnithread"
21837 CXXFLAGS_old=$CXXFLAGS
21838 CXXFLAGS="$CXXFLAGS $OMNIORB_CXXFLAGS $OMNIORB_INCLUDES"
21840 { echo "$as_me:$LINENO: checking whether we can link with omnithreads" >&5
21841 echo $ECHO_N "checking whether we can link with omnithreads... $ECHO_C" >&6; }
21842 if test "${salome_cv_lib_omnithreads+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21846 cat >conftest.$ac_ext <<_ACEOF
21849 cat confdefs.h >>conftest.$ac_ext
21850 cat >>conftest.$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21852 #include <omnithread.h>
21857 omni_mutex my_mutex
21862 rm -f conftest.$ac_objext conftest$ac_exeext
21863 if { (ac_try="$ac_link"
21864 case "(($ac_try" in
21865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21866 *) ac_try_echo=$ac_try;;
21868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21869 (eval "$ac_link") 2>conftest.er1
21871 grep -v '^ *+' conftest.er1 >conftest.err
21873 cat conftest.err >&5
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); } && {
21876 test -z "$ac_cxx_werror_flag" ||
21877 test ! -s conftest.err
21878 } && test -s conftest$ac_exeext &&
21879 $as_test_x conftest$ac_exeext; then
21880 eval "salome_cv_lib_omnithreads=yes"
21882 echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.$ac_ext >&5
21885 eval "salome_cv_lib_omnithreads=no"
21888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21889 conftest$ac_exeext conftest.$ac_ext
21894 omniORB_ok="$salome_cv_lib_omnithreads"
21895 if test "x$omniORB_ok" = "xno"
21897 { echo "$as_me:$LINENO: result: omnithreads not found" >&5
21898 echo "${ECHO_T}omnithreads not found" >&6; }
21900 { echo "$as_me:$LINENO: result: yes" >&5
21901 echo "${ECHO_T}yes" >&6; }
21905 CXXFLAGS=$CXXFLAGS_old
21909 if test "x$omniORB_ok" = "xyes"
21912 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
21913 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
21914 if test "${ac_cv_lib_socket_socket+set}" = set; then
21915 echo $ECHO_N "(cached) $ECHO_C" >&6
21917 ac_check_lib_save_LIBS=$LIBS
21918 LIBS="-lsocket $LIBS"
21919 cat >conftest.$ac_ext <<_ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21926 /* Override any GCC internal prototype to avoid an error.
21927 Use char because int might match the return type of a GCC
21928 builtin and then its argument prototype would still apply. */
21941 rm -f conftest.$ac_objext conftest$ac_exeext
21942 if { (ac_try="$ac_link"
21943 case "(($ac_try" in
21944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21945 *) ac_try_echo=$ac_try;;
21947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21948 (eval "$ac_link") 2>conftest.er1
21950 grep -v '^ *+' conftest.er1 >conftest.err
21952 cat conftest.err >&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } && {
21955 test -z "$ac_cxx_werror_flag" ||
21956 test ! -s conftest.err
21957 } && test -s conftest$ac_exeext &&
21958 $as_test_x conftest$ac_exeext; then
21959 ac_cv_lib_socket_socket=yes
21961 echo "$as_me: failed program was:" >&5
21962 sed 's/^/| /' conftest.$ac_ext >&5
21964 ac_cv_lib_socket_socket=no
21967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21968 conftest$ac_exeext conftest.$ac_ext
21969 LIBS=$ac_check_lib_save_LIBS
21971 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
21972 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
21973 if test $ac_cv_lib_socket_socket = yes; then
21974 LIBS="-lsocket $LIBS"
21977 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21978 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
21979 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21980 echo $ECHO_N "(cached) $ECHO_C" >&6
21982 ac_check_lib_save_LIBS=$LIBS
21984 cat >conftest.$ac_ext <<_ACEOF
21987 cat confdefs.h >>conftest.$ac_ext
21988 cat >>conftest.$ac_ext <<_ACEOF
21989 /* end confdefs.h. */
21991 /* Override any GCC internal prototype to avoid an error.
21992 Use char because int might match the return type of a GCC
21993 builtin and then its argument prototype would still apply. */
21997 char gethostbyname ();
22001 return gethostbyname ();
22006 rm -f conftest.$ac_objext conftest$ac_exeext
22007 if { (ac_try="$ac_link"
22008 case "(($ac_try" in
22009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22010 *) ac_try_echo=$ac_try;;
22012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22013 (eval "$ac_link") 2>conftest.er1
22015 grep -v '^ *+' conftest.er1 >conftest.err
22017 cat conftest.err >&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); } && {
22020 test -z "$ac_cxx_werror_flag" ||
22021 test ! -s conftest.err
22022 } && test -s conftest$ac_exeext &&
22023 $as_test_x conftest$ac_exeext; then
22024 ac_cv_lib_nsl_gethostbyname=yes
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22029 ac_cv_lib_nsl_gethostbyname=no
22032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22033 conftest$ac_exeext conftest.$ac_ext
22034 LIBS=$ac_check_lib_save_LIBS
22036 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22037 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
22038 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22044 OMNIORB_LIBS="$OMNIORB_LDFLAGS"
22045 OMNIORB_LIBS="$OMNIORB_LIBS -lomniORB${OMNIORB_VERSION}"
22046 OMNIORB_LIBS="$OMNIORB_LIBS -lomniDynamic${OMNIORB_VERSION}"
22047 OMNIORB_LIBS="$OMNIORB_LIBS -lCOS${OMNIORB_VERSION}"
22048 OMNIORB_LIBS="$OMNIORB_LIBS -lCOSDynamic${OMNIORB_VERSION}"
22049 OMNIORB_LIBS="$OMNIORB_LIBS -lomnithread"
22050 OMNIORB_LIBS="$OMNIORB_LIBS ${OMNIORB_RFLAGS}"
22051 if test $OMNIORB_VERSION = 3 ; then
22052 OMNIORB_LIBS="$OMNIORB_LIBS -ltcpwrapGK"
22056 LIBS="$OMNIORB_LIBS $LIBS"
22057 CXXFLAGS_old=$CXXFLAGS
22058 CXXFLAGS="$CXXFLAGS $OMNIORB_CXXFLAGS $OMNIORB_INCLUDES"
22060 { echo "$as_me:$LINENO: checking whether we can link with omniORB" >&5
22061 echo $ECHO_N "checking whether we can link with omniORB... $ECHO_C" >&6; }
22062 if test "${salome_cv_lib_omniorb+set}" = set; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22066 cat >conftest.$ac_ext <<_ACEOF
22069 cat confdefs.h >>conftest.$ac_ext
22070 cat >>conftest.$ac_ext <<_ACEOF
22071 /* end confdefs.h. */
22082 rm -f conftest.$ac_objext conftest$ac_exeext
22083 if { (ac_try="$ac_link"
22084 case "(($ac_try" in
22085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22086 *) ac_try_echo=$ac_try;;
22088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22089 (eval "$ac_link") 2>conftest.er1
22091 grep -v '^ *+' conftest.er1 >conftest.err
22093 cat conftest.err >&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); } && {
22096 test -z "$ac_cxx_werror_flag" ||
22097 test ! -s conftest.err
22098 } && test -s conftest$ac_exeext &&
22099 $as_test_x conftest$ac_exeext; then
22100 eval "salome_cv_lib_omniorb3=yes"
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.$ac_ext >&5
22105 eval "salome_cv_lib_omniorb3=no"
22108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22109 conftest$ac_exeext conftest.$ac_ext
22113 omniORB_ok="$salome_cv_lib_omniorb3"
22116 if test "x$omniORB_ok" = "xno"
22118 { echo "$as_me:$LINENO: result: omniORB library linking failed" >&5
22119 echo "${ECHO_T}omniORB library linking failed" >&6; }
22122 { echo "$as_me:$LINENO: result: yes" >&5
22123 echo "${ECHO_T}yes" >&6; }
22126 CXXFLAGS=$CXXFLAGS_old
22130 if test "x$omniORB_ok" = "xyes"
22133 OMNIORB_IDLCXXFLAGS="-Wba -nf -I${OMNIORB_ROOT}/idl"
22134 OMNIORB_PACOIDLCXXFLAGS="-nf -I${OMNIORB_ROOT}/idl"
22135 OMNIORB_IDLPYFLAGS_1='-bpython -nf '
22136 OMNIORB_IDLPYFLAGS_2=" -I${OMNIORB_ROOT}/idl"
22137 OMNIORB_IDLPYFLAGS=${OMNIORB_IDLPYFLAGS_1}${OMNIORB_IDLPYFLAGS_2}
22143 OMNIORB_IDL_CLN_H=.hh
22144 OMNIORB_IDL_CLN_CXX=SK.cc
22145 OMNIORB_IDL_CLN_OBJ=SK.o
22150 OMNIORB_IDL_SRV_H=.hh
22151 OMNIORB_IDL_SRV_CXX=SK.cc
22152 OMNIORB_IDL_SRV_OBJ=SK.o
22158 OMNIORB_IDL_TIE_CXX=
22163 cat >>confdefs.h <<\_ACEOF
22170 cat >>confdefs.h <<\_ACEOF
22171 #define CORBA_HAVE_POA
22175 CORBA_ORB_INIT_HAVE_3_ARGS=1
22177 cat >>confdefs.h <<\_ACEOF
22178 #define CORBA_ORB_INIT_HAVE_3_ARGS
22181 CORBA_ORB_INIT_THIRD_ARG='"omniORB"'
22183 cat >>confdefs.h <<\_ACEOF
22184 #define CORBA_ORB_INIT_THIRD_ARG
22191 if test "x$omniORB_ok" = "xyes"
22193 { echo "$as_me:$LINENO: checking omniORBpy" >&5
22194 echo $ECHO_N "checking omniORBpy... $ECHO_C" >&6; }
22195 $PYTHON -c "import omniORB" &> /dev/null
22196 if test $? = 0 ; then
22197 { echo "$as_me:$LINENO: result: yes" >&5
22198 echo "${ECHO_T}yes" >&6; }
22201 { echo "$as_me:$LINENO: result: no" >&5
22202 echo "${ECHO_T}no" >&6; }
22208 { echo "$as_me:$LINENO: result: for omniORBpy: $omniORBpy_ok" >&5
22209 echo "${ECHO_T}for omniORBpy: $omniORBpy_ok" >&6; }
22210 { echo "$as_me:$LINENO: result: for omniORB: $omniORB_ok" >&5
22211 echo "${ECHO_T}for omniORB: $omniORB_ok" >&6; }
22214 cat >confcache <<\_ACEOF
22215 # This file is a shell script that caches the results of configure
22216 # tests run on this system so they can be shared between configure
22217 # scripts and configure runs, see configure's option --config-cache.
22218 # It is not useful on other systems. If it contains results you don't
22219 # want to keep, you may remove or edit it.
22221 # config.status only pays attention to the cache file if you give it
22222 # the --recheck option to rerun configure.
22224 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22225 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22226 # following values.
22230 # The following way of writing the cache mishandles newlines in values,
22231 # but we know of no workaround that is simple, portable, and efficient.
22232 # So, we kill variables containing newlines.
22233 # Ultrix sh set writes to stderr and can't be redirected directly,
22234 # and sets the high bit in the cache file unless we assign to the vars.
22236 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22237 eval ac_val=\$$ac_var
22241 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22242 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22245 _ | IFS | as_nl) ;; #(
22246 *) $as_unset $ac_var ;;
22252 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22253 *${as_nl}ac_space=\ *)
22254 # `set' does not quote correctly, so add quotes (double-quote
22255 # substitution turns \\\\ into \\, and sed turns \\ into \).
22258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22261 # `set' quotes correctly as required by POSIX, so do not add quotes.
22262 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22271 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22273 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22275 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22276 if test -w "$cache_file"; then
22277 test "x$cache_file" != "x/dev/null" &&
22278 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22279 echo "$as_me: updating cache $cache_file" >&6;}
22280 cat confcache >$cache_file
22282 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22283 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22289 CXXFLAGS_old=$CXXFLAGS
22290 CXXFLAGS="$CXXFLAGS $OMNIORB_CXXFLAGS $OMNIORB_INCLUDES"
22292 LIBS="$LIBS $OMNIORB_LDFLAGS $OMNIORB_LIBS"
22293 { echo "$as_me:$LINENO: checking whether we have double and CORBA::Double compatibility" >&5
22294 echo $ECHO_N "checking whether we have double and CORBA::Double compatibility... $ECHO_C" >&6; }
22295 if test "$cross_compiling" = yes; then
22296 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22297 See \`config.log' for more details." >&5
22298 echo "$as_me: error: cannot run test program while cross compiling
22299 See \`config.log' for more details." >&2;}
22300 { (exit 1); exit 1; }; }
22302 cat >conftest.$ac_ext <<_ACEOF
22305 cat confdefs.h >>conftest.$ac_ext
22306 cat >>conftest.$ac_ext <<_ACEOF
22307 /* end confdefs.h. */
22308 #include <stdlib.h>
22312 CORBA::Double *a=new CORBA::Double(2.5);
22317 if( (c==*b) && (sizeof(double)==sizeof(CORBA::Double)) ){
22328 rm -f conftest$ac_exeext
22329 if { (ac_try="$ac_link"
22330 case "(($ac_try" in
22331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22332 *) ac_try_echo=$ac_try;;
22334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22335 (eval "$ac_link") 2>&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22339 { (case "(($ac_try" in
22340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22341 *) ac_try_echo=$ac_try;;
22343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22344 (eval "$ac_try") 2>&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; }; then
22350 echo "$as_me: program exited with status $ac_status" >&5
22351 echo "$as_me: failed program was:" >&5
22352 sed 's/^/| /' conftest.$ac_ext >&5
22354 ( exit $ac_status )
22357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22361 if test "$DOUBLECOMP" = yes; then
22362 OMNIORB_CXXFLAGS="$OMNIORB_CXXFLAGS -DCOMP_CORBA_DOUBLE"
22363 { echo "$as_me:$LINENO: result: yes" >&5
22364 echo "${ECHO_T}yes" >&6; }
22366 { echo "$as_me:$LINENO: result: no" >&5
22367 echo "${ECHO_T}no" >&6; }
22369 { echo "$as_me:$LINENO: checking whether we have int and CORBA::Long compatibility" >&5
22370 echo $ECHO_N "checking whether we have int and CORBA::Long compatibility... $ECHO_C" >&6; }
22371 if test "$cross_compiling" = yes; then
22372 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22373 See \`config.log' for more details." >&5
22374 echo "$as_me: error: cannot run test program while cross compiling
22375 See \`config.log' for more details." >&2;}
22376 { (exit 1); exit 1; }; }
22378 cat >conftest.$ac_ext <<_ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 #include <stdlib.h>
22388 CORBA::Long *a=new CORBA::Long(2);
22393 if( (c==*b) && (sizeof(int)==sizeof(CORBA::Long)) )
22400 rm -f conftest$ac_exeext
22401 if { (ac_try="$ac_link"
22402 case "(($ac_try" in
22403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22404 *) ac_try_echo=$ac_try;;
22406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22407 (eval "$ac_link") 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22411 { (case "(($ac_try" in
22412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_try") 2>&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; }; then
22422 echo "$as_me: program exited with status $ac_status" >&5
22423 echo "$as_me: failed program was:" >&5
22424 sed 's/^/| /' conftest.$ac_ext >&5
22426 ( exit $ac_status )
22429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22433 if test "$LONGCOMP" = yes; then
22434 OMNIORB_CXXFLAGS="$OMNIORB_CXXFLAGS -DCOMP_CORBA_LONG"
22435 { echo "$as_me:$LINENO: result: yes" >&5
22436 echo "${ECHO_T}yes" >&6; }
22438 { echo "$as_me:$LINENO: result: no" >&5
22439 echo "${ECHO_T}no" >&6; }
22441 CXXFLAGS=$CXXFLAGS_old
22445 ac_cpp='$CPP $CPPFLAGS'
22446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22456 echo ---------------------------------------------
22457 echo default ORB : omniORB
22458 echo ---------------------------------------------
22461 DEFAULT_ORB=omniORB
22464 if test x"$DEFAULT_ORB" = x"omniORB"
22467 # Contient le nom de l'ORB
22470 { echo "$as_me:$LINENO: result: default orb : omniORB" >&5
22471 echo "${ECHO_T}default orb : omniORB" >&6; }
22475 CORBA_ROOT=$OMNIORB_ROOT
22476 CORBA_INCLUDES=$OMNIORB_INCLUDES
22477 CORBA_CXXFLAGS=$OMNIORB_CXXFLAGS
22478 CORBA_LIBS=$OMNIORB_LIBS
22479 IDLCXXFLAGS=$OMNIORB_IDLCXXFLAGS
22480 PACOIDLCXXFLAGS=$OMNIORB_PACOIDLCXXFLAGS
22481 IDLPYFLAGS=$OMNIORB_IDLPYFLAGS
22491 IDL_CLN_H=$OMNIORB_IDL_CLN_H
22492 IDL_CLN_CXX=$OMNIORB_IDL_CLN_CXX
22493 IDL_CLN_OBJ=$OMNIORB_IDL_CLN_OBJ
22499 IDL_SRV_H=$OMNIORB_IDL_SRV_H
22500 IDL_SRV_CXX=$OMNIORB_IDL_SRV_CXX
22501 IDL_SRV_OBJ=$OMNIORB_IDL_SRV_OBJ
22508 { echo "$as_me:$LINENO: result: $DEFAULT_ORB unknown orb" >&5
22509 echo "${ECHO_T}$DEFAULT_ORB unknown orb" >&6; }
22517 CORBA=adm_local/unix/$corba
22520 echo ---------------------------------------------
22522 echo ---------------------------------------------
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536 # Check whether --with-opengl was given.
22537 if test "${with_opengl+set}" = set; then
22538 withval=$with_opengl; opengl_dir="$withval"
22540 dirs="/usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib /opt/graphics/OpenGL/lib64 /opt/graphics/OpenGL/lib /usr/openwin/lib64 /usr/openwin/lib /usr/X11R6/lib64 /usr/X11R6/lib"
22543 { echo "$as_me:$LINENO: checking for OpenGL..." >&5
22544 echo "$as_me: checking for OpenGL..." >&6;}
22545 { echo "$as_me:$LINENO: checking for OpenGL headers..." >&5
22546 echo "$as_me: checking for OpenGL headers..." >&6;}
22556 OpenGL_headers_ok=no
22559 if test "x${opengl_dir}" != "x" ; then
22560 { echo "$as_me:$LINENO: result: for opengl_dir: $opengl_dir" >&5
22561 echo "${ECHO_T}for opengl_dir: $opengl_dir" >&6; }
22562 as_ac_Header=`echo "ac_cv_header_${opengl_dir}/include/GL/gl.h" | $as_tr_sh`
22563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22564 { echo "$as_me:$LINENO: checking for ${opengl_dir}/include/GL/gl.h" >&5
22565 echo $ECHO_N "checking for ${opengl_dir}/include/GL/gl.h... $ECHO_C" >&6; }
22566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22569 ac_res=`eval echo '${'$as_ac_Header'}'`
22570 { echo "$as_me:$LINENO: result: $ac_res" >&5
22571 echo "${ECHO_T}$ac_res" >&6; }
22573 # Is the header compilable?
22574 { echo "$as_me:$LINENO: checking ${opengl_dir}/include/GL/gl.h usability" >&5
22575 echo $ECHO_N "checking ${opengl_dir}/include/GL/gl.h usability... $ECHO_C" >&6; }
22576 cat >conftest.$ac_ext <<_ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 $ac_includes_default
22583 #include <${opengl_dir}/include/GL/gl.h>
22585 rm -f conftest.$ac_objext
22586 if { (ac_try="$ac_compile"
22587 case "(($ac_try" in
22588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22589 *) ac_try_echo=$ac_try;;
22591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22592 (eval "$ac_compile") 2>conftest.er1
22594 grep -v '^ *+' conftest.er1 >conftest.err
22596 cat conftest.err >&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); } && {
22599 test -z "$ac_cxx_werror_flag" ||
22600 test ! -s conftest.err
22601 } && test -s conftest.$ac_objext; then
22602 ac_header_compiler=yes
22604 echo "$as_me: failed program was:" >&5
22605 sed 's/^/| /' conftest.$ac_ext >&5
22607 ac_header_compiler=no
22610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22611 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22612 echo "${ECHO_T}$ac_header_compiler" >&6; }
22614 # Is the header present?
22615 { echo "$as_me:$LINENO: checking ${opengl_dir}/include/GL/gl.h presence" >&5
22616 echo $ECHO_N "checking ${opengl_dir}/include/GL/gl.h presence... $ECHO_C" >&6; }
22617 cat >conftest.$ac_ext <<_ACEOF
22620 cat confdefs.h >>conftest.$ac_ext
22621 cat >>conftest.$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22623 #include <${opengl_dir}/include/GL/gl.h>
22625 if { (ac_try="$ac_cpp conftest.$ac_ext"
22626 case "(($ac_try" in
22627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22628 *) ac_try_echo=$ac_try;;
22630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22633 grep -v '^ *+' conftest.er1 >conftest.err
22635 cat conftest.err >&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } >/dev/null && {
22638 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
22639 test ! -s conftest.err
22641 ac_header_preproc=yes
22643 echo "$as_me: failed program was:" >&5
22644 sed 's/^/| /' conftest.$ac_ext >&5
22646 ac_header_preproc=no
22649 rm -f conftest.err conftest.$ac_ext
22650 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22651 echo "${ECHO_T}$ac_header_preproc" >&6; }
22653 # So? What about this header?
22654 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22656 { echo "$as_me:$LINENO: WARNING: ${opengl_dir}/include/GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
22657 echo "$as_me: WARNING: ${opengl_dir}/include/GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22658 { echo "$as_me:$LINENO: WARNING: ${opengl_dir}/include/GL/gl.h: proceeding with the compiler's result" >&5
22659 echo "$as_me: WARNING: ${opengl_dir}/include/GL/gl.h: proceeding with the compiler's result" >&2;}
22660 ac_header_preproc=yes
22663 { echo "$as_me:$LINENO: WARNING: ${opengl_dir}/include/GL/gl.h: present but cannot be compiled" >&5
22664 echo "$as_me: WARNING: ${opengl_dir}/include/GL/gl.h: present but cannot be compiled" >&2;}
22665 { echo "$as_me:$LINENO: WARNING: ${opengl_dir}/include/GL/gl.h: check for missing prerequisite headers?" >&5
22666 echo "$as_me: WARNING: ${opengl_dir}/include/GL/gl.h: check for missing prerequisite headers?" >&2;}
22667 { echo "$as_me:$LINENO: WARNING: ${opengl_dir}/include/GL/gl.h: see the Autoconf documentation" >&5
22668 echo "$as_me: WARNING: ${opengl_dir}/include/GL/gl.h: see the Autoconf documentation" >&2;}
22669 { echo "$as_me:$LINENO: WARNING: ${opengl_dir}/include/GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
22670 echo "$as_me: WARNING: ${opengl_dir}/include/GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
22671 { echo "$as_me:$LINENO: WARNING: ${opengl_dir}/include/GL/gl.h: proceeding with the preprocessor's result" >&5
22672 echo "$as_me: WARNING: ${opengl_dir}/include/GL/gl.h: proceeding with the preprocessor's result" >&2;}
22673 { echo "$as_me:$LINENO: WARNING: ${opengl_dir}/include/GL/gl.h: in the future, the compiler will take precedence" >&5
22674 echo "$as_me: WARNING: ${opengl_dir}/include/GL/gl.h: in the future, the compiler will take precedence" >&2;}
22676 ## ----------------------------------------------- ##
22677 ## Report this to webmaster.salome@opencascade.com ##
22678 ## ----------------------------------------------- ##
22680 ) | sed "s/^/$as_me: WARNING: /" >&2
22683 { echo "$as_me:$LINENO: checking for ${opengl_dir}/include/GL/gl.h" >&5
22684 echo $ECHO_N "checking for ${opengl_dir}/include/GL/gl.h... $ECHO_C" >&6; }
22685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22686 echo $ECHO_N "(cached) $ECHO_C" >&6
22688 eval "$as_ac_Header=\$ac_header_preproc"
22690 ac_res=`eval echo '${'$as_ac_Header'}'`
22691 { echo "$as_me:$LINENO: result: $ac_res" >&5
22692 echo "${ECHO_T}$ac_res" >&6; }
22695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22696 OpenGL_headers_ok=yes; OGL_INCLUDES="-I${opengl_dir}/include"
22698 OpenGL_headers_ok=no
22702 if test "x${OpenGL_headers_ok}" = "xyes" ; then
22703 { echo "$as_me:$LINENO: checking for default OpenGL library..." >&5
22704 echo "$as_me: checking for default OpenGL library..." >&6;}
22705 if test "x${opengl_dir}" = "x/usr" ; then
22708 OGL_LIBS="-L${opengl_dir}/lib"
22710 LDFLAGS_old="$LDFLAGS"
22711 LDFLAGS="$LDFLAGS $OGL_LIBS"
22712 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
22713 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
22714 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
22715 echo $ECHO_N "(cached) $ECHO_C" >&6
22717 ac_check_lib_save_LIBS=$LIBS
22719 cat >conftest.$ac_ext <<_ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22726 /* Override any GCC internal prototype to avoid an error.
22727 Use char because int might match the return type of a GCC
22728 builtin and then its argument prototype would still apply. */
22741 rm -f conftest.$ac_objext conftest$ac_exeext
22742 if { (ac_try="$ac_link"
22743 case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_link") 2>conftest.er1
22750 grep -v '^ *+' conftest.er1 >conftest.err
22752 cat conftest.err >&5
22753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754 (exit $ac_status); } && {
22755 test -z "$ac_cxx_werror_flag" ||
22756 test ! -s conftest.err
22757 } && test -s conftest$ac_exeext &&
22758 $as_test_x conftest$ac_exeext; then
22759 ac_cv_lib_GL_glBegin=yes
22761 echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22764 ac_cv_lib_GL_glBegin=no
22767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22768 conftest$ac_exeext conftest.$ac_ext
22769 LIBS=$ac_check_lib_save_LIBS
22771 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
22772 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
22773 if test $ac_cv_lib_GL_glBegin = yes; then
22779 if test "x${OpenGL_libs_ok}" = "xyes" ; then
22780 cat >conftest.$ac_ext <<_ACEOF
22783 cat confdefs.h >>conftest.$ac_ext
22784 cat >>conftest.$ac_ext <<_ACEOF
22785 /* end confdefs.h. */
22795 rm -f conftest.$ac_objext conftest$ac_exeext
22796 if { (ac_try="$ac_link"
22797 case "(($ac_try" in
22798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22799 *) ac_try_echo=$ac_try;;
22801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22802 (eval "$ac_link") 2>conftest.er1
22804 grep -v '^ *+' conftest.er1 >conftest.err
22806 cat conftest.err >&5
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); } && {
22809 test -z "$ac_cxx_werror_flag" ||
22810 test ! -s conftest.err
22811 } && test -s conftest$ac_exeext &&
22812 $as_test_x conftest$ac_exeext; then
22813 OpenGL_libs_ok=yes ; OpenGL_ok=yes; OGL_LIBS="$OGL_LIBS -lGL"
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22822 conftest$ac_exeext conftest.$ac_ext
22824 LDFLAGS="$LDFLAGS_old"
22828 if test "x${OpenGL_headers_ok}" = "xno" ; then
22829 if test "${ac_cv_header_GL_gl_h+set}" = set; then
22830 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
22831 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
22832 if test "${ac_cv_header_GL_gl_h+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
22836 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
22838 # Is the header compilable?
22839 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
22840 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
22841 cat >conftest.$ac_ext <<_ACEOF
22844 cat confdefs.h >>conftest.$ac_ext
22845 cat >>conftest.$ac_ext <<_ACEOF
22846 /* end confdefs.h. */
22847 $ac_includes_default
22850 rm -f conftest.$ac_objext
22851 if { (ac_try="$ac_compile"
22852 case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_compile") 2>conftest.er1
22859 grep -v '^ *+' conftest.er1 >conftest.err
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } && {
22864 test -z "$ac_cxx_werror_flag" ||
22865 test ! -s conftest.err
22866 } && test -s conftest.$ac_objext; then
22867 ac_header_compiler=yes
22869 echo "$as_me: failed program was:" >&5
22870 sed 's/^/| /' conftest.$ac_ext >&5
22872 ac_header_compiler=no
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22876 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22877 echo "${ECHO_T}$ac_header_compiler" >&6; }
22879 # Is the header present?
22880 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
22881 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
22882 cat >conftest.$ac_ext <<_ACEOF
22885 cat confdefs.h >>conftest.$ac_ext
22886 cat >>conftest.$ac_ext <<_ACEOF
22887 /* end confdefs.h. */
22890 if { (ac_try="$ac_cpp conftest.$ac_ext"
22891 case "(($ac_try" in
22892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22893 *) ac_try_echo=$ac_try;;
22895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22896 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22898 grep -v '^ *+' conftest.er1 >conftest.err
22900 cat conftest.err >&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); } >/dev/null && {
22903 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
22904 test ! -s conftest.err
22906 ac_header_preproc=yes
22908 echo "$as_me: failed program was:" >&5
22909 sed 's/^/| /' conftest.$ac_ext >&5
22911 ac_header_preproc=no
22914 rm -f conftest.err conftest.$ac_ext
22915 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22916 echo "${ECHO_T}$ac_header_preproc" >&6; }
22918 # So? What about this header?
22919 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22921 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
22922 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22923 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
22924 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
22925 ac_header_preproc=yes
22928 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
22929 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
22930 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
22931 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
22932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
22933 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
22934 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
22935 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
22936 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
22937 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
22938 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
22939 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
22941 ## ----------------------------------------------- ##
22942 ## Report this to webmaster.salome@opencascade.com ##
22943 ## ----------------------------------------------- ##
22945 ) | sed "s/^/$as_me: WARNING: /" >&2
22948 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
22949 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
22950 if test "${ac_cv_header_GL_gl_h+set}" = set; then
22951 echo $ECHO_N "(cached) $ECHO_C" >&6
22953 ac_cv_header_GL_gl_h=$ac_header_preproc
22955 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
22956 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
22959 if test $ac_cv_header_GL_gl_h = yes; then
22960 OpenGL_headers_ok=yes
22962 OpenGL_headers_ok=no
22969 if test "x${OpenGL_headers_ok}" = "xno" ; then
22971 for ac_header in /usr/openwin/share/include/GL/glxmd.h
22973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22978 echo $ECHO_N "(cached) $ECHO_C" >&6
22980 ac_res=`eval echo '${'$as_ac_Header'}'`
22981 { echo "$as_me:$LINENO: result: $ac_res" >&5
22982 echo "${ECHO_T}$ac_res" >&6; }
22984 # Is the header compilable?
22985 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22987 cat >conftest.$ac_ext <<_ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 $ac_includes_default
22994 #include <$ac_header>
22996 rm -f conftest.$ac_objext
22997 if { (ac_try="$ac_compile"
22998 case "(($ac_try" in
22999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23000 *) ac_try_echo=$ac_try;;
23002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23003 (eval "$ac_compile") 2>conftest.er1
23005 grep -v '^ *+' conftest.er1 >conftest.err
23007 cat conftest.err >&5
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } && {
23010 test -z "$ac_cxx_werror_flag" ||
23011 test ! -s conftest.err
23012 } && test -s conftest.$ac_objext; then
23013 ac_header_compiler=yes
23015 echo "$as_me: failed program was:" >&5
23016 sed 's/^/| /' conftest.$ac_ext >&5
23018 ac_header_compiler=no
23021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23022 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23023 echo "${ECHO_T}$ac_header_compiler" >&6; }
23025 # Is the header present?
23026 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23027 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23028 cat >conftest.$ac_ext <<_ACEOF
23031 cat confdefs.h >>conftest.$ac_ext
23032 cat >>conftest.$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23034 #include <$ac_header>
23036 if { (ac_try="$ac_cpp conftest.$ac_ext"
23037 case "(($ac_try" in
23038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23039 *) ac_try_echo=$ac_try;;
23041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23044 grep -v '^ *+' conftest.er1 >conftest.err
23046 cat conftest.err >&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); } >/dev/null && {
23049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23050 test ! -s conftest.err
23052 ac_header_preproc=yes
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.$ac_ext >&5
23057 ac_header_preproc=no
23060 rm -f conftest.err conftest.$ac_ext
23061 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23062 echo "${ECHO_T}$ac_header_preproc" >&6; }
23064 # So? What about this header?
23065 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23071 ac_header_preproc=yes
23074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23087 ## ----------------------------------------------- ##
23088 ## Report this to webmaster.salome@opencascade.com ##
23089 ## ----------------------------------------------- ##
23091 ) | sed "s/^/$as_me: WARNING: /" >&2
23094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23097 echo $ECHO_N "(cached) $ECHO_C" >&6
23099 eval "$as_ac_Header=\$ac_header_preproc"
23101 ac_res=`eval echo '${'$as_ac_Header'}'`
23102 { echo "$as_me:$LINENO: result: $ac_res" >&5
23103 echo "${ECHO_T}$ac_res" >&6; }
23106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23107 cat >>confdefs.h <<_ACEOF
23108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23110 OpenGL_headers_ok=yes; OGL_INCLUDES="-I/usr/openwin/share/include/"
23112 OpenGL_headers_ok=no
23120 if test "x${OpenGL_headers_ok}" = "xno" ; then
23122 for ac_header in /opt/graphics/OpenGL/include/GL/glxmd.h
23124 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23125 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23129 echo $ECHO_N "(cached) $ECHO_C" >&6
23131 ac_res=`eval echo '${'$as_ac_Header'}'`
23132 { echo "$as_me:$LINENO: result: $ac_res" >&5
23133 echo "${ECHO_T}$ac_res" >&6; }
23135 # Is the header compilable?
23136 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23138 cat >conftest.$ac_ext <<_ACEOF
23141 cat confdefs.h >>conftest.$ac_ext
23142 cat >>conftest.$ac_ext <<_ACEOF
23143 /* end confdefs.h. */
23144 $ac_includes_default
23145 #include <$ac_header>
23147 rm -f conftest.$ac_objext
23148 if { (ac_try="$ac_compile"
23149 case "(($ac_try" in
23150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23151 *) ac_try_echo=$ac_try;;
23153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23154 (eval "$ac_compile") 2>conftest.er1
23156 grep -v '^ *+' conftest.er1 >conftest.err
23158 cat conftest.err >&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); } && {
23161 test -z "$ac_cxx_werror_flag" ||
23162 test ! -s conftest.err
23163 } && test -s conftest.$ac_objext; then
23164 ac_header_compiler=yes
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23169 ac_header_compiler=no
23172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23173 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23174 echo "${ECHO_T}$ac_header_compiler" >&6; }
23176 # Is the header present?
23177 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23179 cat >conftest.$ac_ext <<_ACEOF
23182 cat confdefs.h >>conftest.$ac_ext
23183 cat >>conftest.$ac_ext <<_ACEOF
23184 /* end confdefs.h. */
23185 #include <$ac_header>
23187 if { (ac_try="$ac_cpp conftest.$ac_ext"
23188 case "(($ac_try" in
23189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23190 *) ac_try_echo=$ac_try;;
23192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23193 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23195 grep -v '^ *+' conftest.er1 >conftest.err
23197 cat conftest.err >&5
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); } >/dev/null && {
23200 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23201 test ! -s conftest.err
23203 ac_header_preproc=yes
23205 echo "$as_me: failed program was:" >&5
23206 sed 's/^/| /' conftest.$ac_ext >&5
23208 ac_header_preproc=no
23211 rm -f conftest.err conftest.$ac_ext
23212 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23213 echo "${ECHO_T}$ac_header_preproc" >&6; }
23215 # So? What about this header?
23216 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23222 ac_header_preproc=yes
23225 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23227 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23228 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23229 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23231 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23232 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23235 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23238 ## ----------------------------------------------- ##
23239 ## Report this to webmaster.salome@opencascade.com ##
23240 ## ----------------------------------------------- ##
23242 ) | sed "s/^/$as_me: WARNING: /" >&2
23245 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23247 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23248 echo $ECHO_N "(cached) $ECHO_C" >&6
23250 eval "$as_ac_Header=\$ac_header_preproc"
23252 ac_res=`eval echo '${'$as_ac_Header'}'`
23253 { echo "$as_me:$LINENO: result: $ac_res" >&5
23254 echo "${ECHO_T}$ac_res" >&6; }
23257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23258 cat >>confdefs.h <<_ACEOF
23259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23261 OpenGL_headers_ok=yes; OGL_INCLUDES="-I/opt/graphics/OpenGL/include"
23263 OpenGL_headers_ok=no
23270 # some linux OpenGL servers hide the includes in /usr/X11R6/include/GL
23271 if test "x${OpenGL_headers_ok}" = "xno" ; then
23273 for ac_header in /usr/X11R6/include/GL/gl.h
23275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23276 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23277 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23280 echo $ECHO_N "(cached) $ECHO_C" >&6
23282 ac_res=`eval echo '${'$as_ac_Header'}'`
23283 { echo "$as_me:$LINENO: result: $ac_res" >&5
23284 echo "${ECHO_T}$ac_res" >&6; }
23286 # Is the header compilable?
23287 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23288 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23289 cat >conftest.$ac_ext <<_ACEOF
23292 cat confdefs.h >>conftest.$ac_ext
23293 cat >>conftest.$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23295 $ac_includes_default
23296 #include <$ac_header>
23298 rm -f conftest.$ac_objext
23299 if { (ac_try="$ac_compile"
23300 case "(($ac_try" in
23301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23302 *) ac_try_echo=$ac_try;;
23304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305 (eval "$ac_compile") 2>conftest.er1
23307 grep -v '^ *+' conftest.er1 >conftest.err
23309 cat conftest.err >&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } && {
23312 test -z "$ac_cxx_werror_flag" ||
23313 test ! -s conftest.err
23314 } && test -s conftest.$ac_objext; then
23315 ac_header_compiler=yes
23317 echo "$as_me: failed program was:" >&5
23318 sed 's/^/| /' conftest.$ac_ext >&5
23320 ac_header_compiler=no
23323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23324 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23325 echo "${ECHO_T}$ac_header_compiler" >&6; }
23327 # Is the header present?
23328 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23330 cat >conftest.$ac_ext <<_ACEOF
23333 cat confdefs.h >>conftest.$ac_ext
23334 cat >>conftest.$ac_ext <<_ACEOF
23335 /* end confdefs.h. */
23336 #include <$ac_header>
23338 if { (ac_try="$ac_cpp conftest.$ac_ext"
23339 case "(($ac_try" in
23340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23341 *) ac_try_echo=$ac_try;;
23343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23346 grep -v '^ *+' conftest.er1 >conftest.err
23348 cat conftest.err >&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } >/dev/null && {
23351 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23352 test ! -s conftest.err
23354 ac_header_preproc=yes
23356 echo "$as_me: failed program was:" >&5
23357 sed 's/^/| /' conftest.$ac_ext >&5
23359 ac_header_preproc=no
23362 rm -f conftest.err conftest.$ac_ext
23363 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23364 echo "${ECHO_T}$ac_header_preproc" >&6; }
23366 # So? What about this header?
23367 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23369 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23370 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23372 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23373 ac_header_preproc=yes
23376 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23377 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23378 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23379 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23380 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23381 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23382 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23383 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23386 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23387 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23389 ## ----------------------------------------------- ##
23390 ## Report this to webmaster.salome@opencascade.com ##
23391 ## ----------------------------------------------- ##
23393 ) | sed "s/^/$as_me: WARNING: /" >&2
23396 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23399 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 eval "$as_ac_Header=\$ac_header_preproc"
23403 ac_res=`eval echo '${'$as_ac_Header'}'`
23404 { echo "$as_me:$LINENO: result: $ac_res" >&5
23405 echo "${ECHO_T}$ac_res" >&6; }
23408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23409 cat >>confdefs.h <<_ACEOF
23410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23412 OpenGL_headers_ok=yes; OGL_INCLUDES="-I/usr/X11R6/include"
23414 OpenGL_headers_ok=no
23421 if test "x${OpenGL_headers_ok}" = "xyes" ; then
23422 { echo "$as_me:$LINENO: checking for OpenGL library..." >&5
23423 echo "$as_me: checking for OpenGL library..." >&6;}
23424 for idir in $dirs; do
23425 if test -r "${idir}/libGL.so"; then
23426 { echo "$as_me:$LINENO: result: in ${idir}" >&5
23427 echo "${ECHO_T}in ${idir}" >&6; }
23428 if test "x${idir}" = "x/usr/lib64" -o "x${idir}" = "x/usr/lib" ; then
23431 GL_LIB_PATH="-L${idir}"
23436 if test -r "${idir}/libGL.sl"; then
23437 { echo "$as_me:$LINENO: result: in ${idir}" >&5
23438 echo "${ECHO_T}in ${idir}" >&6; }
23439 if test "x${idir}" = "x/usr/lib64" -o "x${idir}" = "x/usr/lib" ; then
23442 GL_LIB_PATH="-L${idir}"
23447 LDFLAGS_old="${LDFLAGS}"
23448 LDFLAGS="${LDFLAGS} ${GL_LIB_PATH}"
23449 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
23450 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
23451 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
23452 echo $ECHO_N "(cached) $ECHO_C" >&6
23454 ac_check_lib_save_LIBS=$LIBS
23456 cat >conftest.$ac_ext <<_ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23463 /* Override any GCC internal prototype to avoid an error.
23464 Use char because int might match the return type of a GCC
23465 builtin and then its argument prototype would still apply. */
23478 rm -f conftest.$ac_objext conftest$ac_exeext
23479 if { (ac_try="$ac_link"
23480 case "(($ac_try" in
23481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23482 *) ac_try_echo=$ac_try;;
23484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23485 (eval "$ac_link") 2>conftest.er1
23487 grep -v '^ *+' conftest.er1 >conftest.err
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } && {
23492 test -z "$ac_cxx_werror_flag" ||
23493 test ! -s conftest.err
23494 } && test -s conftest$ac_exeext &&
23495 $as_test_x conftest$ac_exeext; then
23496 ac_cv_lib_GL_glBegin=yes
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23501 ac_cv_lib_GL_glBegin=no
23504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23505 conftest$ac_exeext conftest.$ac_ext
23506 LIBS=$ac_check_lib_save_LIBS
23508 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
23509 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
23510 if test $ac_cv_lib_GL_glBegin = yes; then
23516 if test "x${OpenGL_libs_ok}" = "xyes" ; then
23517 cat >conftest.$ac_ext <<_ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23532 rm -f conftest.$ac_objext conftest$ac_exeext
23533 if { (ac_try="$ac_link"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536 *) ac_try_echo=$ac_try;;
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_link") 2>conftest.er1
23541 grep -v '^ *+' conftest.er1 >conftest.err
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_cxx_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest$ac_exeext &&
23549 $as_test_x conftest$ac_exeext; then
23550 OpenGL_libs_ok=yes ; OGL_LIBS="${OGL_LIBS} ${GL_LIB_PATH} -lGL"
23552 echo "$as_me: failed program was:" >&5
23553 sed 's/^/| /' conftest.$ac_ext >&5
23558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23559 conftest$ac_exeext conftest.$ac_ext
23561 LDFLAGS="$LDFLAGS_old"
23564 if test "x${OpenGL_libs_ok}" = "xyes" ; then
23565 for idir in $dirs; do
23566 if test -r "${idir}/libGLU.so"; then
23567 { echo "$as_me:$LINENO: result: in ${idir}" >&5
23568 echo "${ECHO_T}in ${idir}" >&6; }
23569 if test "x${idir}" = "x/usr/lib64" -o "x${idir}" = "x/usr/lib" ; then
23572 GLU_LIB_PATH="-L${idir}"
23577 if test -r "${idir}/libGLU.sl"; then
23578 { echo "$as_me:$LINENO: result: in ${idir}" >&5
23579 echo "${ECHO_T}in ${idir}" >&6; }
23580 if test "x${idir}" = "x/usr/lib64" -o "x${idir}" = "x/usr/lib" ; then
23583 GLU_LIB_PATH="-L${idir}"
23589 # workaround a problem with libGL library location
23590 for idir in $dirs; do
23591 if test -r "${idir}/libGLU.la"; then
23592 GLU_LA_PATH="${idir}/libGLU.la"
23593 GL_LA_PATH_TO_CHECK=`cat ${GLU_LA_PATH} | awk '{ for(i=1;i<NF;i++){ if(gsub("libGL.la","&",$i)>0) print $i } }'`
23594 if test -z ${GL_LA_PATH_TO_CHECK} || test -r ${GL_LA_PATH_TO_CHECK}; then
23598 for jdir in $dirs; do
23599 if test -r "${jdir}/libGL.la"; then
23600 GL_LA_PATH="${jdir}/libGL.la"
23601 # copy the libGLU.la file and set correct libGL.la path in it
23602 NEW_GLU_LA_PATH=${ROOT_BUILDDIR}
23603 NEW_GLU_LA_FILE="${NEW_GLU_LA_PATH}/libGLU.la"
23604 sed -e "s%${GL_LA_PATH_TO_CHECK}%${GL_LA_PATH}%" ${GLU_LA_PATH} > "${NEW_GLU_LA_FILE}"
23605 chmod -f --reference=${GLU_LA_PATH} "${NEW_GLU_LA_FILE}"
23606 # set a new libGLU.la path
23607 GLU_LIB_PATH="-L${NEW_GLU_LA_PATH}"
23608 # create a simbolic link to libGLU.so
23609 for kdir in $dirs; do
23610 if test -r "${kdir}/libGLU.so"; then
23611 cp -fs "${kdir}/libGLU.so" "${NEW_GLU_LA_PATH}/libGLU.so"
23622 LDFLAGS_old="${LDFLAGS}"
23623 LDFLAGS="${LDFLAGS} ${OGL_LIBS} ${GLU_LIB_PATH}"
23624 { echo "$as_me:$LINENO: checking for gluBeginSurface in -lGLU" >&5
23625 echo $ECHO_N "checking for gluBeginSurface in -lGLU... $ECHO_C" >&6; }
23626 if test "${ac_cv_lib_GLU_gluBeginSurface+set}" = set; then
23627 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 ac_check_lib_save_LIBS=$LIBS
23631 cat >conftest.$ac_ext <<_ACEOF
23634 cat confdefs.h >>conftest.$ac_ext
23635 cat >>conftest.$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23638 /* Override any GCC internal prototype to avoid an error.
23639 Use char because int might match the return type of a GCC
23640 builtin and then its argument prototype would still apply. */
23644 char gluBeginSurface ();
23648 return gluBeginSurface ();
23653 rm -f conftest.$ac_objext conftest$ac_exeext
23654 if { (ac_try="$ac_link"
23655 case "(($ac_try" in
23656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23657 *) ac_try_echo=$ac_try;;
23659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23660 (eval "$ac_link") 2>conftest.er1
23662 grep -v '^ *+' conftest.er1 >conftest.err
23664 cat conftest.err >&5
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); } && {
23667 test -z "$ac_cxx_werror_flag" ||
23668 test ! -s conftest.err
23669 } && test -s conftest$ac_exeext &&
23670 $as_test_x conftest$ac_exeext; then
23671 ac_cv_lib_GLU_gluBeginSurface=yes
23673 echo "$as_me: failed program was:" >&5
23674 sed 's/^/| /' conftest.$ac_ext >&5
23676 ac_cv_lib_GLU_gluBeginSurface=no
23679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23680 conftest$ac_exeext conftest.$ac_ext
23681 LIBS=$ac_check_lib_save_LIBS
23683 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginSurface" >&5
23684 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginSurface" >&6; }
23685 if test $ac_cv_lib_GLU_gluBeginSurface = yes; then
23691 if test "x${OpenGL_libs_ok}" = "xyes" ; then
23692 cat >conftest.$ac_ext <<_ACEOF
23695 cat confdefs.h >>conftest.$ac_ext
23696 cat >>conftest.$ac_ext <<_ACEOF
23697 /* end confdefs.h. */
23707 rm -f conftest.$ac_objext conftest$ac_exeext
23708 if { (ac_try="$ac_link"
23709 case "(($ac_try" in
23710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23711 *) ac_try_echo=$ac_try;;
23713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23714 (eval "$ac_link") 2>conftest.er1
23716 grep -v '^ *+' conftest.er1 >conftest.err
23718 cat conftest.err >&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } && {
23721 test -z "$ac_cxx_werror_flag" ||
23722 test ! -s conftest.err
23723 } && test -s conftest$ac_exeext &&
23724 $as_test_x conftest$ac_exeext; then
23725 OpenGL_libs_ok=yes ; OGL_LIBS="${OGL_LIBS} ${GLU_LIB_PATH} -lGLU"
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23734 conftest$ac_exeext conftest.$ac_ext
23736 LDFLAGS="$LDFLAGS_old"
23739 if test "x${OpenGL_headers_ok}" = "xyes" ; then
23740 if test "x${OpenGL_libs_ok}" = "xyes" ; then
23745 { echo "$as_me:$LINENO: result: for OpenGL_headers_ok: $OpenGL_headers_ok" >&5
23746 echo "${ECHO_T}for OpenGL_headers_ok: $OpenGL_headers_ok" >&6; }
23747 { echo "$as_me:$LINENO: result: for OpenGL_libs_ok: $OpenGL_libs_ok" >&5
23748 echo "${ECHO_T}for OpenGL_libs_ok: $OpenGL_libs_ok" >&6; }
23749 { echo "$as_me:$LINENO: result: for OpenGL_ok: $OpenGL_ok" >&5
23750 echo "${ECHO_T}for OpenGL_ok: $OpenGL_ok" >&6; }
23756 ac_cpp='$CPP $CPPFLAGS'
23757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23765 # Check whether --with-qt was given.
23766 if test "${with_qt+set}" = set; then
23767 withval=$with_qt; with_qt=$withval
23776 { echo "$as_me:$LINENO: checking for Qt..." >&5
23777 echo "$as_me: checking for Qt..." >&6;}
23779 if test "x$OpenGL_ok" != "xyes" ; then
23780 { echo "$as_me:$LINENO: WARNING: Qt needs OpenGL correct configuration" >&5
23781 echo "$as_me: WARNING: Qt needs OpenGL correct configuration" >&2;}
23786 QTDIR=$(echo $QTDIR | sed 's%/\+$%%')
23790 ac_cpp='$CXXCPP $CPPFLAGS'
23791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796 if test -z $with_qt ; then
23799 if test "x$with_qt" = "xyes" ; then
23802 if test "x$with_qt" = "xauto" ; then
23805 if test "x$with_qt" = "xno" ; then
23807 { echo "$as_me:$LINENO: WARNING: Value no" >&5
23808 echo "$as_me: WARNING: Value no" >&2;}
23811 if test "x$with_qt" != "x" ; then
23813 elif test "$QTDIR" = "/usr/lib/qt3" ; then
23814 { echo "$as_me:$LINENO: result: current QTDIR is $QTDIR" >&5
23815 echo "${ECHO_T}current QTDIR is $QTDIR" >&6; }
23816 if test -d /usr/lib/qt4 ; then
23817 { echo "$as_me:$LINENO: result: it is strange for a qt4 installation !" >&5
23818 echo "${ECHO_T}it is strange for a qt4 installation !" >&6; }
23819 { echo "$as_me:$LINENO: result: /usr/lib/qt4 is present" >&5
23820 echo "${ECHO_T}/usr/lib/qt4 is present" >&6; }
23821 { echo "$as_me:$LINENO: result: replacing QTDIR by /usr/lib/qt4" >&5
23822 echo "${ECHO_T}replacing QTDIR by /usr/lib/qt4" >&6; }
23825 elif test -z $QTDIR ; then
23826 { echo "$as_me:$LINENO: WARNING: undefined QTDIR variable which specify where Qt product was installed" >&5
23827 echo "$as_me: WARNING: undefined QTDIR variable which specify where Qt product was installed" >&2;}
23828 for d in /usr/local/lib/qt4 /usr/lib/qt4 /usr ; do
23829 if test -f ${d}/lib/libQtCore.so ; then
23830 { echo "$as_me:$LINENO: result: trying ${d}" >&5
23831 echo "${ECHO_T}trying ${d}" >&6; }
23834 elif test -f ${d}/lib64/libQtCore.so ; then
23835 { echo "$as_me:$LINENO: result: trying ${d}" >&5
23836 echo "${ECHO_T}trying ${d}" >&6; }
23839 elif test -f ${d}/libQtCore.so ; then
23840 { echo "$as_me:$LINENO: result: trying ${d}" >&5
23841 echo "${ECHO_T}trying ${d}" >&6; }
23849 # check QTDIR environment variable
23851 if test "x$QTDIR" = "x"
23853 { echo "$as_me:$LINENO: result: Please define correct path in \"--with-qt\" option or use correct $QTDIR variable" >&5
23854 echo "${ECHO_T}Please define correct path in \"--with-qt\" option or use correct $QTDIR variable" >&6; }
23861 if test "x$qt_ok" = "xyes"
23865 as_ac_File=`echo "ac_cv_file_${QTDIR}/include/qt4/QtCore/qglobal.h" | $as_tr_sh`
23866 { echo "$as_me:$LINENO: checking for ${QTDIR}/include/qt4/QtCore/qglobal.h" >&5
23867 echo $ECHO_N "checking for ${QTDIR}/include/qt4/QtCore/qglobal.h... $ECHO_C" >&6; }
23868 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
23869 echo $ECHO_N "(cached) $ECHO_C" >&6
23871 test "$cross_compiling" = yes &&
23872 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
23873 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
23874 { (exit 1); exit 1; }; }
23875 if test -r "${QTDIR}/include/qt4/QtCore/qglobal.h"; then
23876 eval "$as_ac_File=yes"
23878 eval "$as_ac_File=no"
23881 ac_res=`eval echo '${'$as_ac_File'}'`
23882 { echo "$as_me:$LINENO: result: $ac_res" >&5
23883 echo "${ECHO_T}$ac_res" >&6; }
23884 if test `eval echo '${'$as_ac_File'}'` = yes; then
23890 if test "x$QTINC" = "x"
23892 as_ac_File=`echo "ac_cv_file_${QTDIR}/include${QTINC}/QtCore/qglobal.h" | $as_tr_sh`
23893 { echo "$as_me:$LINENO: checking for ${QTDIR}/include${QTINC}/QtCore/qglobal.h" >&5
23894 echo $ECHO_N "checking for ${QTDIR}/include${QTINC}/QtCore/qglobal.h... $ECHO_C" >&6; }
23895 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
23896 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 test "$cross_compiling" = yes &&
23899 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
23900 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
23901 { (exit 1); exit 1; }; }
23902 if test -r "${QTDIR}/include${QTINC}/QtCore/qglobal.h"; then
23903 eval "$as_ac_File=yes"
23905 eval "$as_ac_File=no"
23908 ac_res=`eval echo '${'$as_ac_File'}'`
23909 { echo "$as_me:$LINENO: result: $ac_res" >&5
23910 echo "${ECHO_T}$ac_res" >&6; }
23911 if test `eval echo '${'$as_ac_File'}'` = yes; then
23920 if test "x$qt_inc_ok" = "xyes"
23922 { echo "$as_me:$LINENO: checking whether Qt version >= 4.0" >&5
23923 echo $ECHO_N "checking whether Qt version >= 4.0... $ECHO_C" >&6; }
23924 QT_VERSION=`grep "QT_VERSION_STR" ${QTDIR}/include${QTINC}/QtCore/qglobal.h | sed -e 's%^#define QT_VERSION_STR[[:space:]]*\"\([[:digit:]\.]*\)\"%\1%g'`
23925 QT_VERSION_ID=`echo $QT_VERSION | awk -F. '{v=$1*10000+$2*100+$3;print v}'`
23926 if test $QT_VERSION_ID -ge 40000
23928 { echo "$as_me:$LINENO: result: yes" >&5
23929 echo "${ECHO_T}yes" >&6; }
23931 { echo "$as_me:$LINENO: result: no" >&5
23932 echo "${ECHO_T}no" >&6; }
23935 { echo "$as_me:$LINENO: checking Qt version" >&5
23936 echo $ECHO_N "checking Qt version... $ECHO_C" >&6; }
23937 { echo "$as_me:$LINENO: result: $QT_VERSION" >&5
23938 echo "${ECHO_T}$QT_VERSION" >&6; }
23945 # check moc presence (meta-object compiler)
23949 if test "x$qt_ok" = "xyes"
23951 if test -f ${QTDIR}/bin/moc
23953 MOC=${QTDIR}/bin/moc
23955 # Extract the first word of "moc", so it can be a program name with args.
23956 set dummy moc; ac_word=$2
23957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
23958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23959 if test "${ac_cv_path_MOC+set}" = set; then
23960 echo $ECHO_N "(cached) $ECHO_C" >&6
23964 ac_cv_path_MOC="$MOC" # Let the user override the test with a path.
23967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23968 for as_dir in $PATH
23971 test -z "$as_dir" && as_dir=.
23972 for ac_exec_ext in '' $ac_executable_extensions; do
23973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23974 ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
23975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23985 MOC=$ac_cv_path_MOC
23986 if test -n "$MOC"; then
23987 { echo "$as_me:$LINENO: result: $MOC" >&5
23988 echo "${ECHO_T}$MOC" >&6; }
23990 { echo "$as_me:$LINENO: result: no" >&5
23991 echo "${ECHO_T}no" >&6; }
23996 if test "x$MOC" = "x"
23999 { echo "$as_me:$LINENO: result: moc (Qt meta-object compiler) is not in the PATH variable" >&5
24000 echo "${ECHO_T}moc (Qt meta-object compiler) is not in the PATH variable" >&6; }
24003 { echo "$as_me:$LINENO: result: moc (Qt meta-object compiler) is found" >&5
24004 echo "${ECHO_T}moc (Qt meta-object compiler) is found" >&6; }
24007 if test "x$qt_ok" = "xyes"
24009 { echo "$as_me:$LINENO: checking equality Qt and moc tool version" >&5
24010 echo $ECHO_N "checking equality Qt and moc tool version... $ECHO_C" >&6; }
24011 MOC_VERSION=`$MOC -v 2>&1 | awk 'BEGIN{FS="[ ()]"};{print $(NF-1)}'`
24012 if test "x$QT_VERSION" = "x$MOC_VERSION"
24014 { echo "$as_me:$LINENO: result: yes" >&5
24015 echo "${ECHO_T}yes" >&6; }
24018 { echo "$as_me:$LINENO: result: moc tool and Qt product are incompatible $MOC_VERSION" >&5
24019 echo "${ECHO_T}moc tool and Qt product are incompatible $MOC_VERSION" >&6; }
24020 QT_VERSION_MAJ=`echo $QT_VERSION | awk -F. '{v=$1;print v}'`
24021 { echo "$as_me:$LINENO: checking for moc-qt$QT_VERSION_MAJ compatible version" >&5
24022 echo $ECHO_N "checking for moc-qt$QT_VERSION_MAJ compatible version... $ECHO_C" >&6; }
24023 if test -f ${QTDIR}/bin/moc-qt$QT_VERSION_MAJ
24025 MOC=${QTDIR}/bin/moc-qt$QT_VERSION_MAJ
24027 qt_add=$QT_VERSION_MAJ
24028 { echo "$as_me:$LINENO: result: yes" >&5
24029 echo "${ECHO_T}yes" >&6; }
24031 { echo "$as_me:$LINENO: result: no" >&5
24032 echo "${ECHO_T}no" >&6; }
24038 { echo "$as_me:$LINENO: checking moc tool and Qt product done" >&5
24039 echo $ECHO_N "checking moc tool and Qt product done... $ECHO_C" >&6; }
24040 { echo "$as_me:$LINENO: result: yes" >&5
24041 echo "${ECHO_T}yes" >&6; }
24044 # check uic presence (user interface compiler)
24046 if test "x$qt_ok" = "xyes"
24048 if test "x$qt_add" = "xno"
24050 { echo "$as_me:$LINENO: checking uic" >&5
24051 echo $ECHO_N "checking uic... $ECHO_C" >&6; }
24052 if test -f ${QTDIR}/bin/uic
24054 UIC=${QTDIR}/bin/uic
24056 # Extract the first word of "uic", so it can be a program name with args.
24057 set dummy uic; ac_word=$2
24058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24060 if test "${ac_cv_path_UIC+set}" = set; then
24061 echo $ECHO_N "(cached) $ECHO_C" >&6
24065 ac_cv_path_UIC="$UIC" # Let the user override the test with a path.
24068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24069 for as_dir in $PATH
24072 test -z "$as_dir" && as_dir=.
24073 for ac_exec_ext in '' $ac_executable_extensions; do
24074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24075 ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext"
24076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24086 UIC=$ac_cv_path_UIC
24087 if test -n "$UIC"; then
24088 { echo "$as_me:$LINENO: result: $UIC" >&5
24089 echo "${ECHO_T}$UIC" >&6; }
24091 { echo "$as_me:$LINENO: result: no" >&5
24092 echo "${ECHO_T}no" >&6; }
24097 { echo "$as_me:$LINENO: result: yes" >&5
24098 echo "${ECHO_T}yes" >&6; }
24100 { echo "$as_me:$LINENO: checking uic-qt$qt_add" >&5
24101 echo $ECHO_N "checking uic-qt$qt_add... $ECHO_C" >&6; }
24102 if test -f ${QTDIR}/bin/uic-qt$qt_add
24104 UIC=${QTDIR}/bin/uic-qt$qt_add
24106 # Extract the first word of "uic", so it can be a program name with args.
24107 set dummy uic; ac_word=$2
24108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24110 if test "${ac_cv_path_UIC+set}" = set; then
24111 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 ac_cv_path_UIC="$UIC" # Let the user override the test with a path.
24118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24119 for as_dir in $PATH
24122 test -z "$as_dir" && as_dir=.
24123 for ac_exec_ext in '' $ac_executable_extensions; do
24124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24125 ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext"
24126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24136 UIC=$ac_cv_path_UIC
24137 if test -n "$UIC"; then
24138 { echo "$as_me:$LINENO: result: $UIC" >&5
24139 echo "${ECHO_T}$UIC" >&6; }
24141 { echo "$as_me:$LINENO: result: no" >&5
24142 echo "${ECHO_T}no" >&6; }
24147 { echo "$as_me:$LINENO: result: yes" >&5
24148 echo "${ECHO_T}yes" >&6; }
24151 if test "x$UIC" = "x"
24154 { echo "$as_me:$LINENO: result: uic (Qt user interface compiler) is not in the PATH variable" >&5
24155 echo "${ECHO_T}uic (Qt user interface compiler) is not in the PATH variable" >&6; }
24158 { echo "$as_me:$LINENO: result: uic (Qt user interface compiler) is found" >&5
24159 echo "${ECHO_T}uic (Qt user interface compiler) is found" >&6; }
24162 if test "x$qt_ok" = "xyes"
24164 { echo "$as_me:$LINENO: checking cheching equality Qt and uic tool version" >&5
24165 echo $ECHO_N "checking cheching equality Qt and uic tool version... $ECHO_C" >&6; }
24166 UIC_VERSION=`$UIC -version 2>&1 | awk '{print $NF}'`
24167 if test "x$QT_VERSION" = "x$UIC_VERSION"
24169 { echo "$as_me:$LINENO: result: yes" >&5
24170 echo "${ECHO_T}yes" >&6; }
24173 { echo "$as_me:$LINENO: result: uic tool and Qt product are incompatible" >&5
24174 echo "${ECHO_T}uic tool and Qt product are incompatible" >&6; }
24181 # check rcc presence (resources compiler)
24183 if test "x$qt_ok" = "xyes"
24185 if test "x$qt_add" = "xno"
24187 if test -f ${QTDIR}/bin/rcc
24189 QRCC=${QTDIR}/bin/rcc
24191 # Extract the first word of "rcc", so it can be a program name with args.
24192 set dummy rcc; ac_word=$2
24193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24195 if test "${ac_cv_path_QRCC+set}" = set; then
24196 echo $ECHO_N "(cached) $ECHO_C" >&6
24200 ac_cv_path_QRCC="$QRCC" # Let the user override the test with a path.
24203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24204 for as_dir in $PATH
24207 test -z "$as_dir" && as_dir=.
24208 for ac_exec_ext in '' $ac_executable_extensions; do
24209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24210 ac_cv_path_QRCC="$as_dir/$ac_word$ac_exec_ext"
24211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24221 QRCC=$ac_cv_path_QRCC
24222 if test -n "$QRCC"; then
24223 { echo "$as_me:$LINENO: result: $QRCC" >&5
24224 echo "${ECHO_T}$QRCC" >&6; }
24226 { echo "$as_me:$LINENO: result: no" >&5
24227 echo "${ECHO_T}no" >&6; }
24233 if test -f ${QTDIR}/bin/rcc-qt$qt_add
24235 QRCC=${QTDIR}/bin/rcc-qt$qt_add
24237 # Extract the first word of "rcc", so it can be a program name with args.
24238 set dummy rcc; ac_word=$2
24239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24241 if test "${ac_cv_path_QRCC+set}" = set; then
24242 echo $ECHO_N "(cached) $ECHO_C" >&6
24246 ac_cv_path_QRCC="$QRCC" # Let the user override the test with a path.
24249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24250 for as_dir in $PATH
24253 test -z "$as_dir" && as_dir=.
24254 for ac_exec_ext in '' $ac_executable_extensions; do
24255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24256 ac_cv_path_QRCC="$as_dir/$ac_word$ac_exec_ext"
24257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24267 QRCC=$ac_cv_path_QRCC
24268 if test -n "$QRCC"; then
24269 { echo "$as_me:$LINENO: result: $QRCC" >&5
24270 echo "${ECHO_T}$QRCC" >&6; }
24272 { echo "$as_me:$LINENO: result: no" >&5
24273 echo "${ECHO_T}no" >&6; }
24279 if test "x$QRCC" = "x"
24282 { echo "$as_me:$LINENO: result: rcc (Qt resources compiler) is not in the PATH variable" >&5
24283 echo "${ECHO_T}rcc (Qt resources compiler) is not in the PATH variable" >&6; }
24286 { echo "$as_me:$LINENO: result: rcc (Qt resources compiler) is found" >&5
24287 echo "${ECHO_T}rcc (Qt resources compiler) is found" >&6; }
24290 if test "x$qt_ok" = "xyes"
24292 { echo "$as_me:$LINENO: checking cheching equality Qt and rcc tool version" >&5
24293 echo $ECHO_N "checking cheching equality Qt and rcc tool version... $ECHO_C" >&6; }
24294 QRCC_VERSION=`$QRCC -v 2>&1 | awk '{print $NF}'`
24295 if test "x$QT_VERSION" = "x$QRCC_VERSION"
24297 { echo "$as_me:$LINENO: result: yes" >&5
24298 echo "${ECHO_T}yes" >&6; }
24301 { echo "$as_me:$LINENO: result: rcc tool and Qt product are incompatible" >&5
24302 echo "${ECHO_T}rcc tool and Qt product are incompatible" >&6; }
24309 # check lrelease presence (translation files compiler)
24311 if test "x$qt_ok" = "xyes"
24313 if test "x$qt_add" = "xno"
24315 if test -f ${QTDIR}/bin/lrelease
24317 LRELEASE=${QTDIR}/bin/lrelease
24319 # Extract the first word of "lrelease", so it can be a program name with args.
24320 set dummy lrelease; ac_word=$2
24321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24323 if test "${ac_cv_path_LRELEASE+set}" = set; then
24324 echo $ECHO_N "(cached) $ECHO_C" >&6
24328 ac_cv_path_LRELEASE="$LRELEASE" # Let the user override the test with a path.
24331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24332 for as_dir in $PATH
24335 test -z "$as_dir" && as_dir=.
24336 for ac_exec_ext in '' $ac_executable_extensions; do
24337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24338 ac_cv_path_LRELEASE="$as_dir/$ac_word$ac_exec_ext"
24339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24349 LRELEASE=$ac_cv_path_LRELEASE
24350 if test -n "$LRELEASE"; then
24351 { echo "$as_me:$LINENO: result: $LRELEASE" >&5
24352 echo "${ECHO_T}$LRELEASE" >&6; }
24354 { echo "$as_me:$LINENO: result: no" >&5
24355 echo "${ECHO_T}no" >&6; }
24361 if test -f ${QTDIR}/bin/lrelease-qt$qt_add
24363 LRELEASE=${QTDIR}/bin/lrelease-qt$qt_add
24365 # Extract the first word of "lrelease", so it can be a program name with args.
24366 set dummy lrelease; ac_word=$2
24367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24369 if test "${ac_cv_path_LRELEASE+set}" = set; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24374 ac_cv_path_LRELEASE="$LRELEASE" # Let the user override the test with a path.
24377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24378 for as_dir in $PATH
24381 test -z "$as_dir" && as_dir=.
24382 for ac_exec_ext in '' $ac_executable_extensions; do
24383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24384 ac_cv_path_LRELEASE="$as_dir/$ac_word$ac_exec_ext"
24385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24395 LRELEASE=$ac_cv_path_LRELEASE
24396 if test -n "$LRELEASE"; then
24397 { echo "$as_me:$LINENO: result: $LRELEASE" >&5
24398 echo "${ECHO_T}$LRELEASE" >&6; }
24400 { echo "$as_me:$LINENO: result: no" >&5
24401 echo "${ECHO_T}no" >&6; }
24407 if test "x$LRELEASE" = "x"
24410 { echo "$as_me:$LINENO: result: lrelease (Qt translation files compiler) is not in the PATH variable" >&5
24411 echo "${ECHO_T}lrelease (Qt translation files compiler) is not in the PATH variable" >&6; }
24414 { echo "$as_me:$LINENO: result: lrelease (Qt translation files compiler) is found" >&5
24415 echo "${ECHO_T}lrelease (Qt translation files compiler) is found" >&6; }
24418 if test "x$qt_ok" = "xyes"
24420 { echo "$as_me:$LINENO: checking equality of Qt and lrelease tool version" >&5
24421 echo $ECHO_N "checking equality of Qt and lrelease tool version... $ECHO_C" >&6; }
24422 LRELEASE_VERSION=`$LRELEASE -version 2>&1 | awk '{print $NF}'`
24423 if test "x$QT_VERSION" = "x$LRELEASE_VERSION"
24425 { echo "$as_me:$LINENO: result: yes" >&5
24426 echo "${ECHO_T}yes" >&6; }
24429 { echo "$as_me:$LINENO: result: lrelease tool and Qt product are incompatible" >&5
24430 echo "${ECHO_T}lrelease tool and Qt product are incompatible" >&6; }
24439 # check Qt header files
24441 if test "x$qt_ok" = "xyes"
24443 { echo "$as_me:$LINENO: checking include Qt header files..." >&5
24444 echo "$as_me: checking include Qt header files..." >&6;}
24446 CPPFLAGS_old=$CPPFLAGS
24447 CPPFLAGS="$CPPFLAGS -I${QTDIR}/include${QTINC} -I${QTDIR}/include${QTINC}/QtCore"
24448 if test "${ac_cv_header_QObject+set}" = set; then
24449 { echo "$as_me:$LINENO: checking for QObject" >&5
24450 echo $ECHO_N "checking for QObject... $ECHO_C" >&6; }
24451 if test "${ac_cv_header_QObject+set}" = set; then
24452 echo $ECHO_N "(cached) $ECHO_C" >&6
24454 { echo "$as_me:$LINENO: result: $ac_cv_header_QObject" >&5
24455 echo "${ECHO_T}$ac_cv_header_QObject" >&6; }
24457 # Is the header compilable?
24458 { echo "$as_me:$LINENO: checking QObject usability" >&5
24459 echo $ECHO_N "checking QObject usability... $ECHO_C" >&6; }
24460 cat >conftest.$ac_ext <<_ACEOF
24463 cat confdefs.h >>conftest.$ac_ext
24464 cat >>conftest.$ac_ext <<_ACEOF
24465 /* end confdefs.h. */
24466 $ac_includes_default
24469 rm -f conftest.$ac_objext
24470 if { (ac_try="$ac_compile"
24471 case "(($ac_try" in
24472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24473 *) ac_try_echo=$ac_try;;
24475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24476 (eval "$ac_compile") 2>conftest.er1
24478 grep -v '^ *+' conftest.er1 >conftest.err
24480 cat conftest.err >&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); } && {
24483 test -z "$ac_cxx_werror_flag" ||
24484 test ! -s conftest.err
24485 } && test -s conftest.$ac_objext; then
24486 ac_header_compiler=yes
24488 echo "$as_me: failed program was:" >&5
24489 sed 's/^/| /' conftest.$ac_ext >&5
24491 ac_header_compiler=no
24494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24495 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24496 echo "${ECHO_T}$ac_header_compiler" >&6; }
24498 # Is the header present?
24499 { echo "$as_me:$LINENO: checking QObject presence" >&5
24500 echo $ECHO_N "checking QObject presence... $ECHO_C" >&6; }
24501 cat >conftest.$ac_ext <<_ACEOF
24504 cat confdefs.h >>conftest.$ac_ext
24505 cat >>conftest.$ac_ext <<_ACEOF
24506 /* end confdefs.h. */
24509 if { (ac_try="$ac_cpp conftest.$ac_ext"
24510 case "(($ac_try" in
24511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24512 *) ac_try_echo=$ac_try;;
24514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24517 grep -v '^ *+' conftest.er1 >conftest.err
24519 cat conftest.err >&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); } >/dev/null && {
24522 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24523 test ! -s conftest.err
24525 ac_header_preproc=yes
24527 echo "$as_me: failed program was:" >&5
24528 sed 's/^/| /' conftest.$ac_ext >&5
24530 ac_header_preproc=no
24533 rm -f conftest.err conftest.$ac_ext
24534 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24535 echo "${ECHO_T}$ac_header_preproc" >&6; }
24537 # So? What about this header?
24538 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24540 { echo "$as_me:$LINENO: WARNING: QObject: accepted by the compiler, rejected by the preprocessor!" >&5
24541 echo "$as_me: WARNING: QObject: accepted by the compiler, rejected by the preprocessor!" >&2;}
24542 { echo "$as_me:$LINENO: WARNING: QObject: proceeding with the compiler's result" >&5
24543 echo "$as_me: WARNING: QObject: proceeding with the compiler's result" >&2;}
24544 ac_header_preproc=yes
24547 { echo "$as_me:$LINENO: WARNING: QObject: present but cannot be compiled" >&5
24548 echo "$as_me: WARNING: QObject: present but cannot be compiled" >&2;}
24549 { echo "$as_me:$LINENO: WARNING: QObject: check for missing prerequisite headers?" >&5
24550 echo "$as_me: WARNING: QObject: check for missing prerequisite headers?" >&2;}
24551 { echo "$as_me:$LINENO: WARNING: QObject: see the Autoconf documentation" >&5
24552 echo "$as_me: WARNING: QObject: see the Autoconf documentation" >&2;}
24553 { echo "$as_me:$LINENO: WARNING: QObject: section \"Present But Cannot Be Compiled\"" >&5
24554 echo "$as_me: WARNING: QObject: section \"Present But Cannot Be Compiled\"" >&2;}
24555 { echo "$as_me:$LINENO: WARNING: QObject: proceeding with the preprocessor's result" >&5
24556 echo "$as_me: WARNING: QObject: proceeding with the preprocessor's result" >&2;}
24557 { echo "$as_me:$LINENO: WARNING: QObject: in the future, the compiler will take precedence" >&5
24558 echo "$as_me: WARNING: QObject: in the future, the compiler will take precedence" >&2;}
24560 ## ----------------------------------------------- ##
24561 ## Report this to webmaster.salome@opencascade.com ##
24562 ## ----------------------------------------------- ##
24564 ) | sed "s/^/$as_me: WARNING: /" >&2
24567 { echo "$as_me:$LINENO: checking for QObject" >&5
24568 echo $ECHO_N "checking for QObject... $ECHO_C" >&6; }
24569 if test "${ac_cv_header_QObject+set}" = set; then
24570 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 ac_cv_header_QObject=$ac_header_preproc
24574 { echo "$as_me:$LINENO: result: $ac_cv_header_QObject" >&5
24575 echo "${ECHO_T}$ac_cv_header_QObject" >&6; }
24578 if test $ac_cv_header_QObject = yes; then
24585 CPPFLAGS=$CPPFLAGS_old
24587 if test "x$qt_ok" = "xno"
24589 { echo "$as_me:$LINENO: result: qt header files are not found in $QTDIR/include${QTINC}/QtCore" >&5
24590 echo "${ECHO_T}qt header files are not found in $QTDIR/include${QTINC}/QtCore" >&6; }
24591 { echo "$as_me:$LINENO: result: QTDIR environment variable may be wrong (probably too old Qt version)" >&5
24592 echo "${ECHO_T}QTDIR environment variable may be wrong (probably too old Qt version)" >&6; }
24594 { echo "$as_me:$LINENO: result: qt header files seem to be OK" >&5
24595 echo "${ECHO_T}qt header files seem to be OK" >&6; }
24596 QT_INCLUDES="-I${QTDIR}/include${QTINC}"
24597 # user header files
24598 QT_INCLUDES="${QT_INCLUDES} -I${QTDIR}/include${QTINC}/QtCore"
24599 QT_INCLUDES="${QT_INCLUDES} -I${QTDIR}/include${QTINC}/QtGui"
24600 QT_INCLUDES="${QT_INCLUDES} -I${QTDIR}/include${QTINC}/QtOpenGL"
24601 QT_INCLUDES="${QT_INCLUDES} -I${QTDIR}/include${QTINC}/QtXml"
24602 # not used currently header files (uncomment if required)
24603 #QT_INCLUDES="${QT_INCLUDES} -I$(QTDIR)/include${QTINC}/QtAssistant"
24604 #QT_INCLUDES="${QT_INCLUDES} -I$(QTDIR)/include${QTINC}/QtDBus"
24605 #QT_INCLUDES="${QT_INCLUDES} -I$(QTDIR)/include${QTINC}/QtDesigner"
24606 #QT_INCLUDES="${QT_INCLUDES} -I$(QTDIR)/include${QTINC}/QtNetwork"
24607 #QT_INCLUDES="${QT_INCLUDES} -I$(QTDIR)/include${QTINC}/QtSql"
24608 #QT_INCLUDES="${QT_INCLUDES} -I$(QTDIR)/include${QTINC}/QtSvg"
24609 #QT_INCLUDES="${QT_INCLUDES} -I$(QTDIR)/include${QTINC}/QtTest"
24610 #QT_INCLUDES="${QT_INCLUDES} -I$(QTDIR)/include${QTINC}/QtUiTools"
24612 QT_ASSISTANT_INCLUDES="${QT_ASSISTANT_INCLUDES} -I${QTDIR}/include${QTINC}/QtAssistant"
24613 QT_ASSISTANT_INCLUDES="${QT_ASSISTANT_INCLUDES} -I${QTDIR}/include${QTINC}/QtNetwork"
24615 # this flag is obsolete with Qt 4
24616 QT_MT_INCLUDES="$QT_INCLUDES"
24621 # test Qt libraries
24623 if test "x$qt_ok" = "xyes"
24625 { echo "$as_me:$LINENO: checking linking against Qt library" >&5
24626 echo $ECHO_N "checking linking against Qt library... $ECHO_C" >&6; }
24628 CXXFLAGS_old=$CXXFLAGS
24629 CXXFLAGS="$CXXFLAGS $QT_INCLUDES"
24632 if test "x$QTDIR" = "x/usr" ; then
24634 elif test -d ${QTDIR}/lib; then
24635 QT_LIB_DIR="-L$QTDIR/lib"
24636 elif test -d ${QTDIR}/lib64; then
24637 QT_LIB_DIR="-L$QTDIR/lib64"
24638 elif test "x$QTDIR" = "x/usr/lib/qt4" ; then
24641 { { echo "$as_me:$LINENO: error: Can't detect of Qt library directory " >&5
24642 echo "$as_me: error: Can't detect of Qt library directory " >&2;}
24643 { (exit 1); exit 1; }; }
24646 LIBS="$LIBS $QT_LIB_DIR -lQtCore"
24648 if test "${salome_cv_lib_qt+set}" = set; then
24649 echo $ECHO_N "(cached) $ECHO_C" >&6
24652 cat >conftest.$ac_ext <<_ACEOF
24655 cat confdefs.h >>conftest.$ac_ext
24656 cat >>conftest.$ac_ext <<_ACEOF
24657 /* end confdefs.h. */
24658 #include <QCoreApplication>
24665 QCoreApplication a(n, s);
24671 rm -f conftest.$ac_objext conftest$ac_exeext
24672 if { (ac_try="$ac_link"
24673 case "(($ac_try" in
24674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24675 *) ac_try_echo=$ac_try;;
24677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24678 (eval "$ac_link") 2>conftest.er1
24680 grep -v '^ *+' conftest.er1 >conftest.err
24682 cat conftest.err >&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); } && {
24685 test -z "$ac_cxx_werror_flag" ||
24686 test ! -s conftest.err
24687 } && test -s conftest$ac_exeext &&
24688 $as_test_x conftest$ac_exeext; then
24689 eval "salome_cv_lib_qt=yes"
24691 echo "$as_me: failed program was:" >&5
24692 sed 's/^/| /' conftest.$ac_ext >&5
24694 eval "salome_cv_lib_qt=no"
24697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24698 conftest$ac_exeext conftest.$ac_ext
24702 qt_ok="$salome_cv_lib_qt"
24704 # BEGIN: for CCRT (installation of qt have only a "lib" directory)
24705 if test "x$qt_ok" = "xno"
24707 QT_LIB_DIR="-L$QTDIR/lib"
24708 LIBS="$LIBS_old $QT_LIB_DIR -lQtCore"
24710 if test "${salome_cv_lib_qt+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 cat >conftest.$ac_ext <<_ACEOF
24717 cat confdefs.h >>conftest.$ac_ext
24718 cat >>conftest.$ac_ext <<_ACEOF
24719 /* end confdefs.h. */
24720 #include <QCoreApplication>
24727 QCoreApplication a(n, s);
24733 rm -f conftest.$ac_objext conftest$ac_exeext
24734 if { (ac_try="$ac_link"
24735 case "(($ac_try" in
24736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24737 *) ac_try_echo=$ac_try;;
24739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24740 (eval "$ac_link") 2>conftest.er1
24742 grep -v '^ *+' conftest.er1 >conftest.err
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } && {
24747 test -z "$ac_cxx_werror_flag" ||
24748 test ! -s conftest.err
24749 } && test -s conftest$ac_exeext &&
24750 $as_test_x conftest$ac_exeext; then
24751 eval "salome_cv_lib_qt=yes"
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24756 eval "salome_cv_lib_qt=no"
24759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24760 conftest$ac_exeext conftest.$ac_ext
24764 qt_ok="$salome_cv_lib_qt"
24768 if test "x$qt_ok" = "xno"
24770 { echo "$as_me:$LINENO: result: no" >&5
24771 echo "${ECHO_T}no" >&6; }
24772 { echo "$as_me:$LINENO: result: unable to link with qt library" >&5
24773 echo "${ECHO_T}unable to link with qt library" >&6; }
24774 { echo "$as_me:$LINENO: result: QTDIR environment variable may be wrong (probably too old Qt version)" >&5
24775 echo "${ECHO_T}QTDIR environment variable may be wrong (probably too old Qt version)" >&6; }
24777 { echo "$as_me:$LINENO: result: yes" >&5
24778 echo "${ECHO_T}yes" >&6; }
24780 QT_CORE_LIBS="$QT_LIB_DIR -lQtCore -lQtXml"
24782 QT_GUI_LIBS="$QT_LIB_DIR -lQtGui -lQtOpenGL"
24783 # other libs (currently not used)
24784 QT_OTHER_LIBS="$QT_LIB_DIR"
24785 # other libs (can be used if necessary)
24786 #QT_OTHER_LIBS="$QT_LIB_DIR -lQt3Support -lQtAssistantClient -lQtDesigner -lQtNetwork -lQtSql -lQtSvg -lQtTest -ltQtUiTools"
24787 QT_ASSISTANT_LIBS="$QT_LIB_DIR -lQtAssistantClient -lQtNetwork"
24789 QT_LIBS="$QT_CORE_LIBS $QT_GUI_LIBS $QT_OTHER_LIBS"
24790 # this flag is obsolete with Qt 4
24791 QT_MT_LIBS="$QT_LIBS"
24794 CXXFLAGS=$CXXFLAGS_old
24818 ac_cpp='$CPP $CPPFLAGS'
24819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24824 { echo "$as_me:$LINENO: result: for Qt: $qt_ok" >&5
24825 echo "${ECHO_T}for Qt: $qt_ok" >&6; }
24828 cat >confcache <<\_ACEOF
24829 # This file is a shell script that caches the results of configure
24830 # tests run on this system so they can be shared between configure
24831 # scripts and configure runs, see configure's option --config-cache.
24832 # It is not useful on other systems. If it contains results you don't
24833 # want to keep, you may remove or edit it.
24835 # config.status only pays attention to the cache file if you give it
24836 # the --recheck option to rerun configure.
24838 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24839 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24840 # following values.
24844 # The following way of writing the cache mishandles newlines in values,
24845 # but we know of no workaround that is simple, portable, and efficient.
24846 # So, we kill variables containing newlines.
24847 # Ultrix sh set writes to stderr and can't be redirected directly,
24848 # and sets the high bit in the cache file unless we assign to the vars.
24850 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24851 eval ac_val=\$$ac_var
24855 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24856 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24859 _ | IFS | as_nl) ;; #(
24860 *) $as_unset $ac_var ;;
24866 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24867 *${as_nl}ac_space=\ *)
24868 # `set' does not quote correctly, so add quotes (double-quote
24869 # substitution turns \\\\ into \\, and sed turns \\ into \).
24872 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24875 # `set' quotes correctly as required by POSIX, so do not add quotes.
24876 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24885 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24887 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24889 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24890 if test -w "$cache_file"; then
24891 test "x$cache_file" != "x/dev/null" &&
24892 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24893 echo "$as_me: updating cache $cache_file" >&6;}
24894 cat confcache >$cache_file
24896 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24897 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24905 echo ---------------------------------------------
24906 echo Testing html generators
24907 echo ---------------------------------------------
24912 #AC_CHECKING(for html generators)
24915 # Extract the first word of "doxygen", so it can be a program name with args.
24916 set dummy doxygen; ac_word=$2
24917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24919 if test "${ac_cv_path_DOXYGEN+set}" = set; then
24920 echo $ECHO_N "(cached) $ECHO_C" >&6
24924 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
24927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24928 for as_dir in $PATH
24931 test -z "$as_dir" && as_dir=.
24932 for ac_exec_ext in '' $ac_executable_extensions; do
24933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24934 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
24935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24945 DOXYGEN=$ac_cv_path_DOXYGEN
24946 if test -n "$DOXYGEN"; then
24947 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
24948 echo "${ECHO_T}$DOXYGEN" >&6; }
24950 { echo "$as_me:$LINENO: result: no" >&5
24951 echo "${ECHO_T}no" >&6; }
24955 if test "x$DOXYGEN" = "x"
24957 { echo "$as_me:$LINENO: WARNING: doxygen not found" >&5
24958 echo "$as_me: WARNING: doxygen not found" >&2;}
24961 if test "x$doxygen_ok" = "xyes"
24963 version=`$DOXYGEN --version`
24964 { echo "$as_me:$LINENO: result: doxygen version $version" >&5
24965 echo "${ECHO_T}doxygen version $version" >&6; }
24968 DOXYGEN_WITH_PYTHON=yes
24969 DOXYGEN_WITH_STL=no
24972 DOXYGEN_WITH_PYTHON=yes
24973 DOXYGEN_WITH_STL=yes
24976 DOXYGEN_WITH_PYTHON=yes
24977 DOXYGEN_WITH_STL=yes
24980 DOXYGEN_WITH_PYTHON=yes
24981 DOXYGEN_WITH_STL=yes
24984 DOXYGEN_WITH_PYTHON=yes
24985 DOXYGEN_WITH_STL=yes
24988 DOXYGEN_WITH_PYTHON=yes
24989 DOXYGEN_WITH_STL=yes
24992 DOXYGEN_WITH_PYTHON=yes
24993 DOXYGEN_WITH_STL=yes
24996 DOXYGEN_WITH_PYTHON=no
24997 DOXYGEN_WITH_STL=no
25000 { echo "$as_me:$LINENO: result: doxygen with support STL - $DOXYGEN_WITH_STL" >&5
25001 echo "${ECHO_T}doxygen with support STL - $DOXYGEN_WITH_STL" >&6; }
25002 { echo "$as_me:$LINENO: result: doxygen with support PYTHON - $DOXYGEN_WITH_PYTHON" >&5
25003 echo "${ECHO_T}doxygen with support PYTHON - $DOXYGEN_WITH_PYTHON" >&6; }
25004 if test "$DOXYGEN_WITH_PYTHON" == "yes" ; then
25005 DOXYGEN_PYTHON_EXTENSION="*.py"
25007 DOXYGEN_PYTHON_EXTENSION=""
25009 if test "$DOXYGEN_WITH_STL" == "yes" ; then
25010 DOXYGEN_SUPPORT_STL="YES"
25012 DOXYGEN_SUPPORT_STL="NO"
25021 # Extract the first word of "dot", so it can be a program name with args.
25022 set dummy dot; ac_word=$2
25023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25025 if test "${ac_cv_path_DOT+set}" = set; then
25026 echo $ECHO_N "(cached) $ECHO_C" >&6
25030 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
25033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25034 for as_dir in $PATH
25037 test -z "$as_dir" && as_dir=.
25038 for ac_exec_ext in '' $ac_executable_extensions; do
25039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25040 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
25041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25051 DOT=$ac_cv_path_DOT
25052 if test -n "$DOT"; then
25053 { echo "$as_me:$LINENO: result: $DOT" >&5
25054 echo "${ECHO_T}$DOT" >&6; }
25056 { echo "$as_me:$LINENO: result: no" >&5
25057 echo "${ECHO_T}no" >&6; }
25061 if test "x$DOT" = "x" ; then
25062 { echo "$as_me:$LINENO: WARNING: graphviz not found" >&5
25063 echo "$as_me: WARNING: graphviz not found" >&2;}
25067 # Extract the first word of "latex", so it can be a program name with args.
25068 set dummy latex; ac_word=$2
25069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25071 if test "${ac_cv_path_LATEX+set}" = set; then
25072 echo $ECHO_N "(cached) $ECHO_C" >&6
25076 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
25079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25080 for as_dir in $PATH
25083 test -z "$as_dir" && as_dir=.
25084 for ac_exec_ext in '' $ac_executable_extensions; do
25085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25086 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
25087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25097 LATEX=$ac_cv_path_LATEX
25098 if test -n "$LATEX"; then
25099 { echo "$as_me:$LINENO: result: $LATEX" >&5
25100 echo "${ECHO_T}$LATEX" >&6; }
25102 { echo "$as_me:$LINENO: result: no" >&5
25103 echo "${ECHO_T}no" >&6; }
25107 if test "x$LATEX" = "x" ; then
25108 { echo "$as_me:$LINENO: WARNING: latex not found" >&5
25109 echo "$as_me: WARNING: latex not found" >&2;}
25113 # Extract the first word of "dvips", so it can be a program name with args.
25114 set dummy dvips; ac_word=$2
25115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25117 if test "${ac_cv_path_DVIPS+set}" = set; then
25118 echo $ECHO_N "(cached) $ECHO_C" >&6
25122 ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.
25125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25126 for as_dir in $PATH
25129 test -z "$as_dir" && as_dir=.
25130 for ac_exec_ext in '' $ac_executable_extensions; do
25131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25132 ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
25133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25143 DVIPS=$ac_cv_path_DVIPS
25144 if test -n "$DVIPS"; then
25145 { echo "$as_me:$LINENO: result: $DVIPS" >&5
25146 echo "${ECHO_T}$DVIPS" >&6; }
25148 { echo "$as_me:$LINENO: result: no" >&5
25149 echo "${ECHO_T}no" >&6; }
25153 if test "x$DVIPS" = "x" ; then
25154 { echo "$as_me:$LINENO: WARNING: dvips not found" >&5
25155 echo "$as_me: WARNING: dvips not found" >&2;}
25159 # Extract the first word of "pdflatex", so it can be a program name with args.
25160 set dummy pdflatex; ac_word=$2
25161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25163 if test "${ac_cv_path_PDFLATEX+set}" = set; then
25164 echo $ECHO_N "(cached) $ECHO_C" >&6
25168 ac_cv_path_PDFLATEX="$PDFLATEX" # Let the user override the test with a path.
25171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25172 for as_dir in $PATH
25175 test -z "$as_dir" && as_dir=.
25176 for ac_exec_ext in '' $ac_executable_extensions; do
25177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25178 ac_cv_path_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
25179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25189 PDFLATEX=$ac_cv_path_PDFLATEX
25190 if test -n "$PDFLATEX"; then
25191 { echo "$as_me:$LINENO: result: $PDFLATEX" >&5
25192 echo "${ECHO_T}$PDFLATEX" >&6; }
25194 { echo "$as_me:$LINENO: result: no" >&5
25195 echo "${ECHO_T}no" >&6; }
25199 if test "x$PDFLATEX" = "x" ; then
25200 { echo "$as_me:$LINENO: WARNING: pdflatex not found" >&5
25201 echo "$as_me: WARNING: pdflatex not found" >&2;}
25206 # Extract the first word of "rst2html", so it can be a program name with args.
25207 set dummy rst2html; ac_word=$2
25208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25210 if test "${ac_cv_path_RST2HTML+set}" = set; then
25211 echo $ECHO_N "(cached) $ECHO_C" >&6
25215 ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
25218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25219 for as_dir in $PATH
25222 test -z "$as_dir" && as_dir=.
25223 for ac_exec_ext in '' $ac_executable_extensions; do
25224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25225 ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
25226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25236 RST2HTML=$ac_cv_path_RST2HTML
25237 if test -n "$RST2HTML"; then
25238 { echo "$as_me:$LINENO: result: $RST2HTML" >&5
25239 echo "${ECHO_T}$RST2HTML" >&6; }
25241 { echo "$as_me:$LINENO: result: no" >&5
25242 echo "${ECHO_T}no" >&6; }
25246 if test "x$RST2HTML" = "x"; then
25247 # Extract the first word of "rst2html.py", so it can be a program name with args.
25248 set dummy rst2html.py; ac_word=$2
25249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25251 if test "${ac_cv_path_RST2HTML+set}" = set; then
25252 echo $ECHO_N "(cached) $ECHO_C" >&6
25256 ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
25259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25260 for as_dir in $PATH
25263 test -z "$as_dir" && as_dir=.
25264 for ac_exec_ext in '' $ac_executable_extensions; do
25265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25266 ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
25267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25277 RST2HTML=$ac_cv_path_RST2HTML
25278 if test -n "$RST2HTML"; then
25279 { echo "$as_me:$LINENO: result: $RST2HTML" >&5
25280 echo "${ECHO_T}$RST2HTML" >&6; }
25282 { echo "$as_me:$LINENO: result: no" >&5
25283 echo "${ECHO_T}no" >&6; }
25289 if test "x$RST2HTML" = "x"; then
25290 { echo "$as_me:$LINENO: WARNING: rst2html not found" >&5
25291 echo "$as_me: WARNING: rst2html not found" >&2;}
25296 if test x"$rst2html_ok" = xyes; then
25297 RST2HTML_IS_OK_TRUE=
25298 RST2HTML_IS_OK_FALSE='#'
25300 RST2HTML_IS_OK_TRUE='#'
25301 RST2HTML_IS_OK_FALSE=
25308 echo ---------------------------------------------
25309 echo Testing Kernel
25310 echo ---------------------------------------------
25315 { echo "$as_me:$LINENO: checking for Kernel..." >&5
25316 echo "$as_me: checking for Kernel..." >&6;}
25324 # Check whether --with-kernel was given.
25325 if test "${with_kernel+set}" = set; then
25326 withval=$with_kernel; KERNEL_DIR="$withval"
25332 if test "x${KERNEL_DIR}" = "x" ; then
25333 { echo "$as_me:$LINENO: result: for \${KERNEL_ROOT_DIR}: ${KERNEL_ROOT_DIR}" >&5
25334 echo "${ECHO_T}for \${KERNEL_ROOT_DIR}: ${KERNEL_ROOT_DIR}" >&6; }
25335 # no --with-kernel-dir option used
25336 if test "x${KERNEL_ROOT_DIR}" != "x" ; then
25337 # KERNEL_ROOT_DIR environment variable defined
25338 KERNEL_DIR=${KERNEL_ROOT_DIR}
25340 # search Kernel binaries in PATH variable
25341 # Extract the first word of "runSalome", so it can be a program name with args.
25342 set dummy runSalome; ac_word=$2
25343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25345 if test "${ac_cv_path_TEMP+set}" = set; then
25346 echo $ECHO_N "(cached) $ECHO_C" >&6
25350 ac_cv_path_TEMP="$TEMP" # Let the user override the test with a path.
25353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25354 for as_dir in $PATH
25357 test -z "$as_dir" && as_dir=.
25358 for ac_exec_ext in '' $ac_executable_extensions; do
25359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25360 ac_cv_path_TEMP="$as_dir/$ac_word$ac_exec_ext"
25361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25371 TEMP=$ac_cv_path_TEMP
25372 if test -n "$TEMP"; then
25373 { echo "$as_me:$LINENO: result: $TEMP" >&5
25374 echo "${ECHO_T}$TEMP" >&6; }
25376 { echo "$as_me:$LINENO: result: no" >&5
25377 echo "${ECHO_T}no" >&6; }
25381 if test "x${TEMP}" != "x" ; then
25382 { echo "$as_me:$LINENO: result: runSalome was found at : ${TEMP}" >&5
25383 echo "${ECHO_T}runSalome was found at : ${TEMP}" >&6; }
25384 KERNEL_BIN_DIR=`dirname ${TEMP}`
25385 KERNEL_DIR=`cd ${KERNEL_BIN_DIR}/../..; pwd`
25390 if test -f ${KERNEL_DIR}/bin/salome/runSalome ; then
25391 { echo "$as_me:$LINENO: result: Using Kernel module distribution in ${KERNEL_DIR}" >&5
25392 echo "${ECHO_T}Using Kernel module distribution in ${KERNEL_DIR}" >&6; }
25395 if test "x${KERNEL_ROOT_DIR}" = "x" ; then
25396 KERNEL_ROOT_DIR=${KERNEL_DIR}
25399 if test "x${KERNEL_SITE_DIR}" = "x" ; then
25400 KERNEL_SITE_DIR=${KERNEL_ROOT_DIR}
25406 KERNEL_LDFLAGS=-L${KERNEL_DIR}/lib${LIB_LOCATION_SUFFIX}/salome
25407 KERNEL_CXXFLAGS=-I${KERNEL_DIR}/include/salome
25412 { echo "$as_me:$LINENO: WARNING: \"Cannot find compiled Kernel module distribution\"" >&5
25413 echo "$as_me: WARNING: \"Cannot find compiled Kernel module distribution\"" >&2;}
25416 { echo "$as_me:$LINENO: result: for Kernel: $Kernel_ok" >&5
25417 echo "${ECHO_T}for Kernel: $Kernel_ok" >&6; }
25422 echo ---------------------------------------------
25424 echo ---------------------------------------------
25439 # Check whether --with-gui was given.
25440 if test "${with_gui+set}" = set; then
25447 if test "${with_gui}" = "no"; then
25450 # define SALOME_GUI_DIR
25451 if test "${with_gui}" = "yes" -o "${with_gui}" = "auto"; then
25452 SalomeGUI_need="$with_gui"
25453 { echo "$as_me:$LINENO: result: try \${GUI_ROOT_DIR}: ${GUI_ROOT_DIR}" >&5
25454 echo "${ECHO_T}try \${GUI_ROOT_DIR}: ${GUI_ROOT_DIR}" >&6; }
25455 if test "x${GUI_ROOT_DIR}" != "x" ; then
25456 # GUI_ROOT_DIR environment variable defined
25457 SALOME_GUI_DIR=${GUI_ROOT_DIR}
25459 # search Salome binaries in PATH variable
25460 # Extract the first word of "SUITApp", so it can be a program name with args.
25461 set dummy SUITApp; ac_word=$2
25462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25464 if test "${ac_cv_path_TEMP+set}" = set; then
25465 echo $ECHO_N "(cached) $ECHO_C" >&6
25469 ac_cv_path_TEMP="$TEMP" # Let the user override the test with a path.
25472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25473 for as_dir in $PATH
25476 test -z "$as_dir" && as_dir=.
25477 for ac_exec_ext in '' $ac_executable_extensions; do
25478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25479 ac_cv_path_TEMP="$as_dir/$ac_word$ac_exec_ext"
25480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25490 TEMP=$ac_cv_path_TEMP
25491 if test -n "$TEMP"; then
25492 { echo "$as_me:$LINENO: result: $TEMP" >&5
25493 echo "${ECHO_T}$TEMP" >&6; }
25495 { echo "$as_me:$LINENO: result: no" >&5
25496 echo "${ECHO_T}no" >&6; }
25500 if test "x${TEMP}" != "x" ; then
25501 { echo "$as_me:$LINENO: result: SUITApp was found at : ${TEMP}" >&5
25502 echo "${ECHO_T}SUITApp was found at : ${TEMP}" >&6; }
25503 SALOME_BIN_DIR=`dirname ${TEMP}`
25504 SALOME_GUI_DIR=`cd ${SALOME_BIN_DIR}/../..; pwd`
25508 # GUI directory defined by user
25510 SALOME_GUI_DIR="$with_gui"
25513 # check GUI installation
25514 { echo "$as_me:$LINENO: checking for light GUI..." >&5
25515 echo "$as_me: checking for light GUI..." >&6;}
25516 if test -f ${SALOME_GUI_DIR}/bin/salome/SUITApp ; then
25518 { echo "$as_me:$LINENO: result: Using SALOME GUI distribution in ${SALOME_GUI_DIR}" >&5
25519 echo "${ECHO_T}Using SALOME GUI distribution in ${SALOME_GUI_DIR}" >&6; }
25521 GUI_ROOT_DIR=${SALOME_GUI_DIR}
25523 GUI_LDFLAGS=-L${SALOME_GUI_DIR}/lib${LIB_LOCATION_SUFFIX}/salome
25524 GUI_CXXFLAGS=-I${SALOME_GUI_DIR}/include/salome
25526 { echo "$as_me:$LINENO: checking for full GUI..." >&5
25527 echo "$as_me: checking for full GUI..." >&6;}
25528 if test -f ${SALOME_GUI_DIR}/bin/salome/SALOME_Session_Server ; then
25532 { echo "$as_me:$LINENO: WARNING: \"Cannot find compiled SALOME GUI distribution\"" >&5
25533 echo "$as_me: WARNING: \"Cannot find compiled SALOME GUI distribution\"" >&2;}
25535 { echo "$as_me:$LINENO: result: for light GUI: ${LightGUI_ok}" >&5
25536 echo "${ECHO_T}for light GUI: ${LightGUI_ok}" >&6; }
25537 { echo "$as_me:$LINENO: result: for full GUI: ${FullGUI_ok}" >&5
25538 echo "${ECHO_T}for full GUI: ${FullGUI_ok}" >&6; }
25546 SalomeGUI_ok=${LightGUI_ok}
25550 echo ---------------------------------------------
25551 echo Testing full GUI
25552 echo ---------------------------------------------
25567 # Check whether --with-gui was given.
25568 if test "${with_gui+set}" = set; then
25575 if test "${with_gui}" = "no"; then
25578 # define SALOME_GUI_DIR
25579 if test "${with_gui}" = "yes" -o "${with_gui}" = "auto"; then
25580 SalomeGUI_need="$with_gui"
25581 { echo "$as_me:$LINENO: result: try \${GUI_ROOT_DIR}: ${GUI_ROOT_DIR}" >&5
25582 echo "${ECHO_T}try \${GUI_ROOT_DIR}: ${GUI_ROOT_DIR}" >&6; }
25583 if test "x${GUI_ROOT_DIR}" != "x" ; then
25584 # GUI_ROOT_DIR environment variable defined
25585 SALOME_GUI_DIR=${GUI_ROOT_DIR}
25587 # search Salome binaries in PATH variable
25588 # Extract the first word of "SUITApp", so it can be a program name with args.
25589 set dummy SUITApp; ac_word=$2
25590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25592 if test "${ac_cv_path_TEMP+set}" = set; then
25593 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 ac_cv_path_TEMP="$TEMP" # Let the user override the test with a path.
25600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25601 for as_dir in $PATH
25604 test -z "$as_dir" && as_dir=.
25605 for ac_exec_ext in '' $ac_executable_extensions; do
25606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25607 ac_cv_path_TEMP="$as_dir/$ac_word$ac_exec_ext"
25608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25618 TEMP=$ac_cv_path_TEMP
25619 if test -n "$TEMP"; then
25620 { echo "$as_me:$LINENO: result: $TEMP" >&5
25621 echo "${ECHO_T}$TEMP" >&6; }
25623 { echo "$as_me:$LINENO: result: no" >&5
25624 echo "${ECHO_T}no" >&6; }
25628 if test "x${TEMP}" != "x" ; then
25629 { echo "$as_me:$LINENO: result: SUITApp was found at : ${TEMP}" >&5
25630 echo "${ECHO_T}SUITApp was found at : ${TEMP}" >&6; }
25631 SALOME_BIN_DIR=`dirname ${TEMP}`
25632 SALOME_GUI_DIR=`cd ${SALOME_BIN_DIR}/../..; pwd`
25636 # GUI directory defined by user
25638 SALOME_GUI_DIR="$with_gui"
25641 # check GUI installation
25642 { echo "$as_me:$LINENO: checking for light GUI..." >&5
25643 echo "$as_me: checking for light GUI..." >&6;}
25644 if test -f ${SALOME_GUI_DIR}/bin/salome/SUITApp ; then
25646 { echo "$as_me:$LINENO: result: Using SALOME GUI distribution in ${SALOME_GUI_DIR}" >&5
25647 echo "${ECHO_T}Using SALOME GUI distribution in ${SALOME_GUI_DIR}" >&6; }
25649 GUI_ROOT_DIR=${SALOME_GUI_DIR}
25651 GUI_LDFLAGS=-L${SALOME_GUI_DIR}/lib${LIB_LOCATION_SUFFIX}/salome
25652 GUI_CXXFLAGS=-I${SALOME_GUI_DIR}/include/salome
25654 { echo "$as_me:$LINENO: checking for full GUI..." >&5
25655 echo "$as_me: checking for full GUI..." >&6;}
25656 if test -f ${SALOME_GUI_DIR}/bin/salome/SALOME_Session_Server ; then
25660 { echo "$as_me:$LINENO: WARNING: \"Cannot find compiled SALOME GUI distribution\"" >&5
25661 echo "$as_me: WARNING: \"Cannot find compiled SALOME GUI distribution\"" >&2;}
25663 { echo "$as_me:$LINENO: result: for light GUI: ${LightGUI_ok}" >&5
25664 echo "${ECHO_T}for light GUI: ${LightGUI_ok}" >&6; }
25665 { echo "$as_me:$LINENO: result: for full GUI: ${FullGUI_ok}" >&5
25666 echo "${ECHO_T}for full GUI: ${FullGUI_ok}" >&6; }
25674 CORBA_IN_GUI=${FullGUI_ok}
25678 if test "x${CORBA_IN_GUI}" != "xyes"; then
25679 echo "failed : For configure :sat:{PYCMP} module necessary full GUI !"
25684 echo ---------------------------------------------
25686 echo ---------------------------------------------
25690 variables="python_ok omniORB_ok qt_ok doxygen_ok Kernel_ok"
25692 for var in $variables
25694 printf " %10s : " `echo \$var | sed -e "s,_ok,,"`
25699 echo "Default ORB : $DEFAULT_ORB"
25702 if test "X$GMAKE" = "Xyes"; then
25708 echo ---------------------------------------------
25709 echo generating Makefiles and configure files
25710 echo ---------------------------------------------
25713 ac_config_commands="$ac_config_commands default-1"
25717 cat > hack_libtool <<EOF
25726 -L* ) where=\$(echo \${param} | cut -b3-) ; if test "\${where}" != "" && test -d \${where} ; then where=\$(cd \${where}; pwd) ; if test "\${where}" = "/usr/lib" || test "\${where}" = "/usr/lib64" ; then cmd_end="\${cmd_end} \${param}" ; else cmd="\${cmd} \${param}" ; fi ; fi ;;
25727 * ) cmd="\${cmd} \${param}" ;;
25730 cmd="\${cmd} \${cmd_end}"
25733 chmod a+x hack_libtool
25735 ac_config_commands="$ac_config_commands hack_libtool"
25738 # This list is initiated using autoscan and must be updated manually
25739 # when adding a new file <filename>.in to manage. When you execute
25740 # autoscan, the Makefile list is generated in the output file configure.scan.
25741 # This could be helpfull to update de configuration.
25742 ac_config_files="$ac_config_files adm_local/Makefile adm_local/unix/Makefile adm_local/unix/config_files/Makefile bin/VERSION bin/runAppli bin/Makefile doc/Makefile doc/doxyfile doc/static/header.html src/Makefile src/:sat:{PYCMP}/Makefile src/:sat:{PYCMP}GUI/Makefile resources/Makefile resources/:sat:{PYCMP}Catalog.xml idl/Makefile Makefile"
25744 cat >confcache <<\_ACEOF
25745 # This file is a shell script that caches the results of configure
25746 # tests run on this system so they can be shared between configure
25747 # scripts and configure runs, see configure's option --config-cache.
25748 # It is not useful on other systems. If it contains results you don't
25749 # want to keep, you may remove or edit it.
25751 # config.status only pays attention to the cache file if you give it
25752 # the --recheck option to rerun configure.
25754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25756 # following values.
25760 # The following way of writing the cache mishandles newlines in values,
25761 # but we know of no workaround that is simple, portable, and efficient.
25762 # So, we kill variables containing newlines.
25763 # Ultrix sh set writes to stderr and can't be redirected directly,
25764 # and sets the high bit in the cache file unless we assign to the vars.
25766 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25767 eval ac_val=\$$ac_var
25771 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25772 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25775 _ | IFS | as_nl) ;; #(
25776 *) $as_unset $ac_var ;;
25782 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25783 *${as_nl}ac_space=\ *)
25784 # `set' does not quote correctly, so add quotes (double-quote
25785 # substitution turns \\\\ into \\, and sed turns \\ into \).
25788 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25791 # `set' quotes correctly as required by POSIX, so do not add quotes.
25792 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25801 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25803 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25805 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25806 if test -w "$cache_file"; then
25807 test "x$cache_file" != "x/dev/null" &&
25808 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25809 echo "$as_me: updating cache $cache_file" >&6;}
25810 cat confcache >$cache_file
25812 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25813 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25818 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25819 # Let make expand exec_prefix.
25820 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25822 # Transform confdefs.h into DEFS.
25823 # Protect against shell expansion while executing Makefile rules.
25824 # Protect against Makefile macro expansion.
25826 # If the first sed substitution is executed (which looks for macros that
25827 # take arguments), then branch to the quote section. Otherwise,
25828 # look for a macro that doesn't take arguments.
25832 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
25834 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
25838 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
25851 DEFS=`sed -n "$ac_script" confdefs.h`
25856 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25857 # 1. Remove the extension, and $U if already installed.
25858 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25859 ac_i=`echo "$ac_i" | sed "$ac_script"`
25860 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25861 # will be set to the directory where LIBOBJS objects are built.
25862 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25863 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25865 LIBOBJS=$ac_libobjs
25867 LTLIBOBJS=$ac_ltlibobjs
25870 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25871 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25872 Usually this means the macro was only invoked conditionally." >&5
25873 echo "$as_me: error: conditional \"AMDEP\" was never defined.
25874 Usually this means the macro was only invoked conditionally." >&2;}
25875 { (exit 1); exit 1; }; }
25877 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25878 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25879 Usually this means the macro was only invoked conditionally." >&5
25880 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25881 Usually this means the macro was only invoked conditionally." >&2;}
25882 { (exit 1); exit 1; }; }
25884 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25885 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25886 Usually this means the macro was only invoked conditionally." >&5
25887 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25888 Usually this means the macro was only invoked conditionally." >&2;}
25889 { (exit 1); exit 1; }; }
25891 if test -z "${RST2HTML_IS_OK_TRUE}" && test -z "${RST2HTML_IS_OK_FALSE}"; then
25892 { { echo "$as_me:$LINENO: error: conditional \"RST2HTML_IS_OK\" was never defined.
25893 Usually this means the macro was only invoked conditionally." >&5
25894 echo "$as_me: error: conditional \"RST2HTML_IS_OK\" was never defined.
25895 Usually this means the macro was only invoked conditionally." >&2;}
25896 { (exit 1); exit 1; }; }
25899 : ${CONFIG_STATUS=./config.status}
25900 ac_clean_files_save=$ac_clean_files
25901 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25902 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25903 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25904 cat >$CONFIG_STATUS <<_ACEOF
25906 # Generated by $as_me.
25907 # Run this file to recreate the current configuration.
25908 # Compiler output produced by configure, useful for debugging
25909 # configure, is in config.log if it exists.
25912 ac_cs_recheck=false
25914 SHELL=\${CONFIG_SHELL-$SHELL}
25917 cat >>$CONFIG_STATUS <<\_ACEOF
25918 ## --------------------- ##
25919 ## M4sh Initialization. ##
25920 ## --------------------- ##
25922 # Be more Bourne compatible
25923 DUALCASE=1; export DUALCASE # for MKS sh
25924 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25927 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25928 # is contrary to our usage. Disable this feature.
25929 alias -g '${1+"$@"}'='"$@"'
25930 setopt NO_GLOB_SUBST
25932 case `(set -o) 2>/dev/null` in
25933 *posix*) set -o posix ;;
25942 # Avoid depending upon Character Ranges.
25943 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25944 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25945 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25946 as_cr_digits='0123456789'
25947 as_cr_alnum=$as_cr_Letters$as_cr_digits
25949 # The user is always right.
25950 if test "${PATH_SEPARATOR+set}" != set; then
25951 echo "#! /bin/bash" >conf$$.sh
25952 echo "exit 0" >>conf$$.sh
25954 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25962 # Support unset when possible.
25963 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25971 # We need space, tab and new line, in precisely that order. Quoting is
25972 # there to prevent editors from complaining about space-tab.
25973 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25974 # splitting by setting IFS to empty value.)
25979 # Find who we are. Look in the path if we contain no directory separator.
25981 *[\\/]* ) as_myself=$0 ;;
25982 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25983 for as_dir in $PATH
25986 test -z "$as_dir" && as_dir=.
25987 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25993 # We did not find ourselves, most probably we were run as `sh COMMAND'
25994 # in which case we are not to be found in the path.
25995 if test "x$as_myself" = x; then
25998 if test ! -f "$as_myself"; then
25999 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26000 { (exit 1); exit 1; }
26003 # Work around bugs in pre-3.0 UWIN ksh.
26004 for as_var in ENV MAIL MAILPATH
26005 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26013 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26014 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26015 LC_TELEPHONE LC_TIME
26017 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26018 eval $as_var=C; export $as_var
26020 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26024 # Required to use basename.
26025 if expr a : '\(a\)' >/dev/null 2>&1 &&
26026 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26032 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26033 as_basename=basename
26039 # Name of the executable.
26040 as_me=`$as_basename -- "$0" ||
26041 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26042 X"$0" : 'X\(//\)$' \| \
26043 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26045 sed '/^.*\/\([^/][^/]*\)\/*$/{
26064 as_lineno_1=$LINENO
26065 as_lineno_2=$LINENO
26066 test "x$as_lineno_1" != "x$as_lineno_2" &&
26067 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26069 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26070 # uniformly replaced by the line number. The first 'sed' inserts a
26071 # line-number line after each line using $LINENO; the second 'sed'
26072 # does the real work. The second script uses 'N' to pair each
26073 # line-number line with the line containing $LINENO, and appends
26074 # trailing '-' during substitution so that $LINENO is not a special
26075 # case at line end.
26076 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26077 # scripts with optimization help from Paolo Bonzini. Blame Lee
26078 # E. McMahon (1931-1989) for sed's syntax. :-)
26090 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26093 ' >$as_me.lineno &&
26094 chmod +x "$as_me.lineno" ||
26095 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26096 { (exit 1); exit 1; }; }
26098 # Don't try to exec as it changes $[0], causing all sort of problems
26099 # (the dirname of $[0] is not the place where we might find the
26100 # original and so on. Autoconf is especially sensitive to this).
26101 . "./$as_me.lineno"
26102 # Exit status is that of the last command.
26107 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26113 ECHO_C= ECHO_N= ECHO_T=
26114 case `echo -n x` in
26116 case `echo 'x\c'` in
26117 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26124 if expr a : '\(a\)' >/dev/null 2>&1 &&
26125 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26131 rm -f conf$$ conf$$.exe conf$$.file
26132 if test -d conf$$.dir; then
26133 rm -f conf$$.dir/conf$$.file
26139 if ln -s conf$$.file conf$$ 2>/dev/null; then
26141 # ... but there are two gotchas:
26142 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26143 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26144 # In both cases, we have to default to `cp -p'.
26145 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26147 elif ln conf$$.file conf$$ 2>/dev/null; then
26152 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26153 rmdir conf$$.dir 2>/dev/null
26155 if mkdir -p . 2>/dev/null; then
26158 test -d ./-p && rmdir ./-p
26162 if test -x / >/dev/null 2>&1; then
26163 as_test_x='test -x'
26165 if ls -dL / >/dev/null 2>&1; then
26172 if test -d "$1"; then
26178 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26179 ???[sx]*):;;*)false;;esac;fi
26183 as_executable_p=$as_test_x
26185 # Sed expression to map a string onto a valid CPP name.
26186 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26188 # Sed expression to map a string onto a valid variable name.
26189 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26194 # Save the log message, to keep $[0] and so on meaningful, and to
26195 # report actual input values of CONFIG_FILES etc. instead of their
26196 # values after options handling.
26198 This file was extended by Salome2 Project :sat:{PYCMP} module $as_me 6.3.0, which was
26199 generated by GNU Autoconf 2.61. Invocation command line was
26201 CONFIG_FILES = $CONFIG_FILES
26202 CONFIG_HEADERS = $CONFIG_HEADERS
26203 CONFIG_LINKS = $CONFIG_LINKS
26204 CONFIG_COMMANDS = $CONFIG_COMMANDS
26207 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26212 cat >>$CONFIG_STATUS <<_ACEOF
26213 # Files that config.status was made for.
26214 config_files="$ac_config_files"
26215 config_commands="$ac_config_commands"
26219 cat >>$CONFIG_STATUS <<\_ACEOF
26221 \`$as_me' instantiates files from templates according to the
26222 current configuration.
26224 Usage: $0 [OPTIONS] [FILE]...
26226 -h, --help print this help, then exit
26227 -V, --version print version number and configuration settings, then exit
26228 -q, --quiet do not print progress messages
26229 -d, --debug don't remove temporary files
26230 --recheck update $as_me by reconfiguring in the same conditions
26231 --file=FILE[:TEMPLATE]
26232 instantiate the configuration file FILE
26234 Configuration files:
26237 Configuration commands:
26240 Report bugs to <bug-autoconf@gnu.org>."
26243 cat >>$CONFIG_STATUS <<_ACEOF
26245 Salome2 Project :sat:{PYCMP} module config.status 6.3.0
26246 configured by $0, generated by GNU Autoconf 2.61,
26247 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26249 Copyright (C) 2006 Free Software Foundation, Inc.
26250 This config.status script is free software; the Free Software Foundation
26251 gives unlimited permission to copy, distribute and modify it."
26259 cat >>$CONFIG_STATUS <<\_ACEOF
26260 # If no file are specified by the user, then we need to provide default
26261 # value. By we need to know if files were specified by the user.
26267 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26268 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26279 # Handling of the options.
26280 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26282 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26283 echo "$ac_cs_version"; exit ;;
26284 --debug | --debu | --deb | --de | --d | -d )
26286 --file | --fil | --fi | --f )
26288 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
26289 ac_need_defaults=false;;
26290 --he | --h | --help | --hel | -h )
26291 echo "$ac_cs_usage"; exit ;;
26292 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26293 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26296 # This is an error.
26297 -*) { echo "$as_me: error: unrecognized option: $1
26298 Try \`$0 --help' for more information." >&2
26299 { (exit 1); exit 1; }; } ;;
26301 *) ac_config_targets="$ac_config_targets $1"
26302 ac_need_defaults=false ;;
26308 ac_configure_extra_args=
26310 if $ac_cs_silent; then
26312 ac_configure_extra_args="$ac_configure_extra_args --silent"
26316 cat >>$CONFIG_STATUS <<_ACEOF
26317 if \$ac_cs_recheck; then
26318 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26319 CONFIG_SHELL=$SHELL
26320 export CONFIG_SHELL
26321 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26325 cat >>$CONFIG_STATUS <<\_ACEOF
26329 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26330 ## Running $as_me. ##
26336 cat >>$CONFIG_STATUS <<_ACEOF
26340 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26345 cat >>$CONFIG_STATUS <<\_ACEOF
26347 # Handling of arguments.
26348 for ac_config_target in $ac_config_targets
26350 case $ac_config_target in
26351 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26352 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26353 "hack_libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS hack_libtool" ;;
26354 "adm_local/Makefile") CONFIG_FILES="$CONFIG_FILES adm_local/Makefile" ;;
26355 "adm_local/unix/Makefile") CONFIG_FILES="$CONFIG_FILES adm_local/unix/Makefile" ;;
26356 "adm_local/unix/config_files/Makefile") CONFIG_FILES="$CONFIG_FILES adm_local/unix/config_files/Makefile" ;;
26357 "bin/VERSION") CONFIG_FILES="$CONFIG_FILES bin/VERSION" ;;
26358 "bin/runAppli") CONFIG_FILES="$CONFIG_FILES bin/runAppli" ;;
26359 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
26360 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
26361 "doc/doxyfile") CONFIG_FILES="$CONFIG_FILES doc/doxyfile" ;;
26362 "doc/static/header.html") CONFIG_FILES="$CONFIG_FILES doc/static/header.html" ;;
26363 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26364 "src/:sat:{PYCMP}/Makefile") CONFIG_FILES="$CONFIG_FILES src/:sat:{PYCMP}/Makefile" ;;
26365 "src/:sat:{PYCMP}GUI/Makefile") CONFIG_FILES="$CONFIG_FILES src/:sat:{PYCMP}GUI/Makefile" ;;
26366 "resources/Makefile") CONFIG_FILES="$CONFIG_FILES resources/Makefile" ;;
26367 "resources/:sat:{PYCMP}Catalog.xml") CONFIG_FILES="$CONFIG_FILES resources/:sat:{PYCMP}Catalog.xml" ;;
26368 "idl/Makefile") CONFIG_FILES="$CONFIG_FILES idl/Makefile" ;;
26369 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26371 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26372 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26373 { (exit 1); exit 1; }; };;
26378 # If the user did not use the arguments to specify the items to instantiate,
26379 # then the envvar interface is used. Set only those that are not.
26380 # We use the long form for the default assignment because of an extremely
26381 # bizarre bug on SunOS 4.1.3.
26382 if $ac_need_defaults; then
26383 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26384 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26387 # Have a temporary directory for convenience. Make it in the build tree
26388 # simply because there is no reason against having it here, and in addition,
26389 # creating and moving files from /tmp can sometimes cause problems.
26390 # Hook for its removal unless debugging.
26391 # Note that there is a small window in which the directory will not be cleaned:
26392 # after its creation but before its name has been assigned to `$tmp'.
26396 trap 'exit_status=$?
26397 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26399 trap '{ (exit 1); exit 1; }' 1 2 13 15
26401 # Create a (secure) tmp directory for tmp files.
26404 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26405 test -n "$tmp" && test -d "$tmp"
26408 tmp=./conf$$-$RANDOM
26409 (umask 077 && mkdir "$tmp")
26412 echo "$me: cannot create a temporary directory in ." >&2
26413 { (exit 1); exit 1; }
26417 # Set up the sed scripts for CONFIG_FILES section.
26420 # No need to generate the scripts if there are no CONFIG_FILES.
26421 # This happens for instance when ./config.status config.h
26422 if test -n "$CONFIG_FILES"; then
26426 # Create sed commands to just substitute file output variables.
26428 # Remaining file output variables are in a fragment that also has non-file
26434 for ac_last_try in false false false false false :; do
26435 cat >conf$$subs.sed <<_ACEOF
26436 SHELL!$SHELL$ac_delim
26437 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26438 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26439 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26440 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26441 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26442 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26443 exec_prefix!$exec_prefix$ac_delim
26444 prefix!$prefix$ac_delim
26445 program_transform_name!$program_transform_name$ac_delim
26446 bindir!$bindir$ac_delim
26447 sbindir!$sbindir$ac_delim
26448 libexecdir!$libexecdir$ac_delim
26449 datarootdir!$datarootdir$ac_delim
26450 datadir!$datadir$ac_delim
26451 sysconfdir!$sysconfdir$ac_delim
26452 sharedstatedir!$sharedstatedir$ac_delim
26453 localstatedir!$localstatedir$ac_delim
26454 includedir!$includedir$ac_delim
26455 oldincludedir!$oldincludedir$ac_delim
26456 docdir!$docdir$ac_delim
26457 infodir!$infodir$ac_delim
26458 htmldir!$htmldir$ac_delim
26459 dvidir!$dvidir$ac_delim
26460 pdfdir!$pdfdir$ac_delim
26461 psdir!$psdir$ac_delim
26462 libdir!$libdir$ac_delim
26463 localedir!$localedir$ac_delim
26464 mandir!$mandir$ac_delim
26465 DEFS!$DEFS$ac_delim
26466 ECHO_C!$ECHO_C$ac_delim
26467 ECHO_N!$ECHO_N$ac_delim
26468 ECHO_T!$ECHO_T$ac_delim
26469 LIBS!$LIBS$ac_delim
26470 build_alias!$build_alias$ac_delim
26471 host_alias!$host_alias$ac_delim
26472 target_alias!$target_alias$ac_delim
26473 build!$build$ac_delim
26474 build_cpu!$build_cpu$ac_delim
26475 build_vendor!$build_vendor$ac_delim
26476 build_os!$build_os$ac_delim
26477 host!$host$ac_delim
26478 host_cpu!$host_cpu$ac_delim
26479 host_vendor!$host_vendor$ac_delim
26480 host_os!$host_os$ac_delim
26481 target!$target$ac_delim
26482 target_cpu!$target_cpu$ac_delim
26483 target_vendor!$target_vendor$ac_delim
26484 target_os!$target_os$ac_delim
26485 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26486 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26487 INSTALL_DATA!$INSTALL_DATA$ac_delim
26488 am__isrc!$am__isrc$ac_delim
26489 CYGPATH_W!$CYGPATH_W$ac_delim
26490 PACKAGE!$PACKAGE$ac_delim
26491 VERSION!$VERSION$ac_delim
26492 ACLOCAL!$ACLOCAL$ac_delim
26493 AUTOCONF!$AUTOCONF$ac_delim
26494 AUTOMAKE!$AUTOMAKE$ac_delim
26495 AUTOHEADER!$AUTOHEADER$ac_delim
26496 MAKEINFO!$MAKEINFO$ac_delim
26497 install_sh!$install_sh$ac_delim
26498 STRIP!$STRIP$ac_delim
26499 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26500 mkdir_p!$mkdir_p$ac_delim
26502 SET_MAKE!$SET_MAKE$ac_delim
26503 am__leading_dot!$am__leading_dot$ac_delim
26504 AMTAR!$AMTAR$ac_delim
26505 am__tar!$am__tar$ac_delim
26506 am__untar!$am__untar$ac_delim
26507 XVERSION!$XVERSION$ac_delim
26508 MODULE_NAME!$MODULE_NAME$ac_delim
26509 ROOT_SRCDIR!$ROOT_SRCDIR$ac_delim
26510 ROOT_BUILDDIR!$ROOT_BUILDDIR$ac_delim
26512 INSTALL!$INSTALL$ac_delim
26513 GLOBAL_INSTALL!$GLOBAL_INSTALL$ac_delim
26515 CFLAGS!$CFLAGS$ac_delim
26516 LDFLAGS!$LDFLAGS$ac_delim
26517 CPPFLAGS!$CPPFLAGS$ac_delim
26518 ac_ct_CC!$ac_ct_CC$ac_delim
26519 EXEEXT!$EXEEXT$ac_delim
26520 OBJEXT!$OBJEXT$ac_delim
26521 DEPDIR!$DEPDIR$ac_delim
26522 am__include!$am__include$ac_delim
26523 am__quote!$am__quote$ac_delim
26524 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26525 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26526 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26527 CCDEPMODE!$CCDEPMODE$ac_delim
26528 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26529 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26532 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
26534 elif $ac_last_try; then
26535 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26536 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26537 { (exit 1); exit 1; }; }
26539 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26543 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26544 if test -n "$ac_eof"; then
26545 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26546 ac_eof=`expr $ac_eof + 1`
26549 cat >>$CONFIG_STATUS <<_ACEOF
26550 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26551 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26552 /^[ ]*@CORBA@[ ]*$/{
26558 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26559 s/^/s,@/; s/!/@,|#_!!_#|/
26562 s/'"$ac_delim"'$/,g/; t
26564 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26565 ' >>$CONFIG_STATUS <conf$$subs.sed
26566 rm -f conf$$subs.sed
26567 cat >>$CONFIG_STATUS <<_ACEOF
26573 for ac_last_try in false false false false false :; do
26574 cat >conf$$subs.sed <<_ACEOF
26575 GREP!$GREP$ac_delim
26576 EGREP!$EGREP$ac_delim
26577 LN_S!$LN_S$ac_delim
26578 ECHO!$ECHO$ac_delim
26579 RANLIB!$RANLIB$ac_delim
26582 CXXFLAGS!$CXXFLAGS$ac_delim
26583 ac_ct_CXX!$ac_ct_CXX$ac_delim
26584 CXXDEPMODE!$CXXDEPMODE$ac_delim
26585 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26586 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26587 CXXCPP!$CXXCPP$ac_delim
26589 FFLAGS!$FFLAGS$ac_delim
26590 ac_ct_F77!$ac_ct_F77$ac_delim
26591 LIBTOOL!$LIBTOOL$ac_delim
26592 PYTHON!$PYTHON$ac_delim
26593 LIB_LOCATION_SUFFIX!$LIB_LOCATION_SUFFIX$ac_delim
26594 LDEXPDYNFLAGS!$LDEXPDYNFLAGS$ac_delim
26595 STDLIB!$STDLIB$ac_delim
26596 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
26597 PYTHONHOME!$PYTHONHOME$ac_delim
26598 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
26599 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
26600 PYTHON_LIBS!$PYTHON_LIBS$ac_delim
26601 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
26602 PYTHON_SITE!$PYTHON_SITE$ac_delim
26603 PYTHON_SITE_PACKAGE!$PYTHON_SITE_PACKAGE$ac_delim
26604 PYTHON_SITE_EXEC!$PYTHON_SITE_EXEC$ac_delim
26605 PYTHON_SITE_INSTALL!$PYTHON_SITE_INSTALL$ac_delim
26606 pythondir!$pythondir$ac_delim
26607 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
26608 pkgpythondir!$pkgpythondir$ac_delim
26609 pyexecdir!$pyexecdir$ac_delim
26610 pkgpyexecdir!$pkgpyexecdir$ac_delim
26611 OMNIORB_IDL!$OMNIORB_IDL$ac_delim
26612 OMNIORB_ROOT!$OMNIORB_ROOT$ac_delim
26613 OMNIORB_INCLUDES!$OMNIORB_INCLUDES$ac_delim
26614 acx_pthread_config!$acx_pthread_config$ac_delim
26615 PTHREAD_CC!$PTHREAD_CC$ac_delim
26616 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
26617 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
26618 OMNIORB_CXXFLAGS!$OMNIORB_CXXFLAGS$ac_delim
26619 OMNIORB_LIBS!$OMNIORB_LIBS$ac_delim
26620 OMNIORB_IDLCXXFLAGS!$OMNIORB_IDLCXXFLAGS$ac_delim
26621 OMNIORB_PACOIDLCXXFLAGS!$OMNIORB_PACOIDLCXXFLAGS$ac_delim
26622 OMNIORB_IDLPYFLAGS!$OMNIORB_IDLPYFLAGS$ac_delim
26623 OMNIORB_IDL_CLN_H!$OMNIORB_IDL_CLN_H$ac_delim
26624 OMNIORB_IDL_CLN_CXX!$OMNIORB_IDL_CLN_CXX$ac_delim
26625 OMNIORB_IDL_CLN_OBJ!$OMNIORB_IDL_CLN_OBJ$ac_delim
26626 OMNIORB_IDL_SRV_H!$OMNIORB_IDL_SRV_H$ac_delim
26627 OMNIORB_IDL_SRV_CXX!$OMNIORB_IDL_SRV_CXX$ac_delim
26628 OMNIORB_IDL_SRV_OBJ!$OMNIORB_IDL_SRV_OBJ$ac_delim
26629 OMNIORB_IDL_TIE_H!$OMNIORB_IDL_TIE_H$ac_delim
26630 OMNIORB_IDL_TIE_CXX!$OMNIORB_IDL_TIE_CXX$ac_delim
26632 CORBA_ROOT!$CORBA_ROOT$ac_delim
26633 CORBA_INCLUDES!$CORBA_INCLUDES$ac_delim
26634 CORBA_CXXFLAGS!$CORBA_CXXFLAGS$ac_delim
26635 CORBA_LIBS!$CORBA_LIBS$ac_delim
26636 IDLCXXFLAGS!$IDLCXXFLAGS$ac_delim
26637 PACOIDLCXXFLAGS!$PACOIDLCXXFLAGS$ac_delim
26638 IDLPYFLAGS!$IDLPYFLAGS$ac_delim
26639 IDL_CLN_H!$IDL_CLN_H$ac_delim
26640 IDL_CLN_CXX!$IDL_CLN_CXX$ac_delim
26641 IDL_CLN_OBJ!$IDL_CLN_OBJ$ac_delim
26642 IDL_SRV_H!$IDL_SRV_H$ac_delim
26643 IDL_SRV_CXX!$IDL_SRV_CXX$ac_delim
26644 IDL_SRV_OBJ!$IDL_SRV_OBJ$ac_delim
26645 OGL_INCLUDES!$OGL_INCLUDES$ac_delim
26646 OGL_LIBS!$OGL_LIBS$ac_delim
26649 QRCC!$QRCC$ac_delim
26650 LRELEASE!$LRELEASE$ac_delim
26651 QTDIR!$QTDIR$ac_delim
26652 QT_ROOT!$QT_ROOT$ac_delim
26653 QT_INCLUDES!$QT_INCLUDES$ac_delim
26654 QT_MT_INCLUDES!$QT_MT_INCLUDES$ac_delim
26655 QT_ASSISTANT_INCLUDES!$QT_ASSISTANT_INCLUDES$ac_delim
26656 QT_LIB_DIR!$QT_LIB_DIR$ac_delim
26657 QT_CORE_LIBS!$QT_CORE_LIBS$ac_delim
26658 QT_GUI_LIBS!$QT_GUI_LIBS$ac_delim
26659 QT_OTHER_LIBS!$QT_OTHER_LIBS$ac_delim
26660 QT_LIBS!$QT_LIBS$ac_delim
26661 QT_MT_LIBS!$QT_MT_LIBS$ac_delim
26662 QT_ASSISTANT_LIBS!$QT_ASSISTANT_LIBS$ac_delim
26663 QT_VERSION!$QT_VERSION$ac_delim
26664 QT_VERSION_ID!$QT_VERSION_ID$ac_delim
26665 DOXYGEN!$DOXYGEN$ac_delim
26666 DOXYGEN_WITH_PYTHON!$DOXYGEN_WITH_PYTHON$ac_delim
26667 DOXYGEN_PYTHON_EXTENSION!$DOXYGEN_PYTHON_EXTENSION$ac_delim
26668 DOXYGEN_WITH_STL!$DOXYGEN_WITH_STL$ac_delim
26669 DOXYGEN_SUPPORT_STL!$DOXYGEN_SUPPORT_STL$ac_delim
26671 LATEX!$LATEX$ac_delim
26674 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26676 elif $ac_last_try; then
26677 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26678 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26679 { (exit 1); exit 1; }; }
26681 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26685 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26686 if test -n "$ac_eof"; then
26687 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26688 ac_eof=`expr $ac_eof + 1`
26691 cat >>$CONFIG_STATUS <<_ACEOF
26692 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26696 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26697 s/^/s,@/; s/!/@,|#_!!_#|/
26700 s/'"$ac_delim"'$/,g/; t
26702 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26703 ' >>$CONFIG_STATUS <conf$$subs.sed
26704 rm -f conf$$subs.sed
26705 cat >>$CONFIG_STATUS <<_ACEOF
26711 for ac_last_try in false false false false false :; do
26712 cat >conf$$subs.sed <<_ACEOF
26713 DVIPS!$DVIPS$ac_delim
26714 PDFLATEX!$PDFLATEX$ac_delim
26715 RST2HTML!$RST2HTML$ac_delim
26716 RST2HTML_IS_OK_TRUE!$RST2HTML_IS_OK_TRUE$ac_delim
26717 RST2HTML_IS_OK_FALSE!$RST2HTML_IS_OK_FALSE$ac_delim
26718 TEMP!$TEMP$ac_delim
26719 KERNEL_ROOT_DIR!$KERNEL_ROOT_DIR$ac_delim
26720 KERNEL_SITE_DIR!$KERNEL_SITE_DIR$ac_delim
26721 KERNEL_LDFLAGS!$KERNEL_LDFLAGS$ac_delim
26722 KERNEL_CXXFLAGS!$KERNEL_CXXFLAGS$ac_delim
26723 GUI_LDFLAGS!$GUI_LDFLAGS$ac_delim
26724 GUI_CXXFLAGS!$GUI_CXXFLAGS$ac_delim
26725 GUI_ROOT_DIR!$GUI_ROOT_DIR$ac_delim
26726 CORBA_IN_GUI!$CORBA_IN_GUI$ac_delim
26727 SETX!$SETX$ac_delim
26728 LIBOBJS!$LIBOBJS$ac_delim
26729 LTLIBOBJS!$LTLIBOBJS$ac_delim
26732 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
26734 elif $ac_last_try; then
26735 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26736 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26737 { (exit 1); exit 1; }; }
26739 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26743 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26744 if test -n "$ac_eof"; then
26745 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26746 ac_eof=`expr $ac_eof + 1`
26749 cat >>$CONFIG_STATUS <<_ACEOF
26750 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
26751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26754 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26755 s/^/s,@/; s/!/@,|#_!!_#|/
26758 s/'"$ac_delim"'$/,g/; t
26760 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26761 ' >>$CONFIG_STATUS <conf$$subs.sed
26762 rm -f conf$$subs.sed
26763 cat >>$CONFIG_STATUS <<_ACEOF
26770 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26771 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26772 # trailing colons and then remove the whole line if VPATH becomes empty
26773 # (actually we leave an empty line to preserve line numbers).
26774 if test "x$srcdir" = x.; then
26775 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26776 s/:*\$(srcdir):*/:/
26777 s/:*\${srcdir}:*/:/
26779 s/^\([^=]*=[ ]*\):*/\1/
26785 cat >>$CONFIG_STATUS <<\_ACEOF
26786 fi # test -n "$CONFIG_FILES"
26789 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
26792 :[FHLC]) ac_mode=$ac_tag; continue;;
26794 case $ac_mode$ac_tag in
26796 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26797 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26798 { (exit 1); exit 1; }; };;
26799 :[FH]-) ac_tag=-:-;;
26800 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26817 -) ac_f="$tmp/stdin";;
26818 *) # Look for the file first in the build tree, then in the source tree
26819 # (if the path is not absolute). The absolute path cannot be DOS-style,
26820 # because $ac_f cannot contain `:'.
26824 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26826 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26827 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26828 { (exit 1); exit 1; }; };;
26830 ac_file_inputs="$ac_file_inputs $ac_f"
26833 # Let's still pretend it is `configure' which instantiates (i.e., don't
26834 # use $as_me), people would be surprised to read:
26835 # /* config.h. Generated by config.status. */
26836 configure_input="Generated from "`IFS=:
26837 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26838 if test x"$ac_file" != x-; then
26839 configure_input="$ac_file. $configure_input"
26840 { echo "$as_me:$LINENO: creating $ac_file" >&5
26841 echo "$as_me: creating $ac_file" >&6;}
26845 *:-:* | *:-) cat >"$tmp/stdin";;
26850 ac_dir=`$as_dirname -- "$ac_file" ||
26851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26852 X"$ac_file" : 'X\(//\)[^/]' \| \
26853 X"$ac_file" : 'X\(//\)$' \| \
26854 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26860 /^X\(\/\/\)[^/].*/{
26875 -*) as_dir=./$as_dir;;
26877 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26881 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26882 *) as_qdir=$as_dir;;
26884 as_dirs="'$as_qdir' $as_dirs"
26885 as_dir=`$as_dirname -- "$as_dir" ||
26886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26887 X"$as_dir" : 'X\(//\)[^/]' \| \
26888 X"$as_dir" : 'X\(//\)$' \| \
26889 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26895 /^X\(\/\/\)[^/].*/{
26908 test -d "$as_dir" && break
26910 test -z "$as_dirs" || eval "mkdir $as_dirs"
26911 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26912 echo "$as_me: error: cannot create directory $as_dir" >&2;}
26913 { (exit 1); exit 1; }; }; }
26917 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26919 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26920 # A ".." for each directory in $ac_dir_suffix.
26921 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
26922 case $ac_top_builddir_sub in
26923 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26924 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26927 ac_abs_top_builddir=$ac_pwd
26928 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26929 # for backward compatibility:
26930 ac_top_builddir=$ac_top_build_prefix
26933 .) # We are building in place.
26935 ac_top_srcdir=$ac_top_builddir_sub
26936 ac_abs_top_srcdir=$ac_pwd ;;
26937 [\\/]* | ?:[\\/]* ) # Absolute name.
26938 ac_srcdir=$srcdir$ac_dir_suffix;
26939 ac_top_srcdir=$srcdir
26940 ac_abs_top_srcdir=$srcdir ;;
26941 *) # Relative name.
26942 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26943 ac_top_srcdir=$ac_top_build_prefix$srcdir
26944 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26946 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26956 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26957 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26959 ac_MKDIR_P=$MKDIR_P
26961 [\\/$]* | ?:[\\/]* ) ;;
26962 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26966 cat >>$CONFIG_STATUS <<\_ACEOF
26967 # If the template does not know about datarootdir, expand it.
26968 # FIXME: This hack should be removed a few years after 2.60.
26969 ac_datarootdir_hack=; ac_datarootdir_seen=
26971 case `sed -n '/datarootdir/ {
26980 ' $ac_file_inputs` in
26981 *datarootdir*) ac_datarootdir_seen=yes;;
26982 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26983 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26984 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26986 cat >>$CONFIG_STATUS <<_ACEOF
26987 ac_datarootdir_hack='
26988 s&@datadir@&$datadir&g
26989 s&@docdir@&$docdir&g
26990 s&@infodir@&$infodir&g
26991 s&@localedir@&$localedir&g
26992 s&@mandir@&$mandir&g
26993 s&\\\${datarootdir}&$datarootdir&g' ;;
26997 # Neutralize VPATH when `$srcdir' = `.'.
26998 # Shell code in configure.ac might set extrasub.
26999 # FIXME: do we really want to maintain this feature?
27000 cat >>$CONFIG_STATUS <<_ACEOF
27004 cat >>$CONFIG_STATUS <<\_ACEOF
27006 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27007 s&@configure_input@&$configure_input&;t t
27008 s&@top_builddir@&$ac_top_builddir_sub&;t t
27009 s&@srcdir@&$ac_srcdir&;t t
27010 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27011 s&@top_srcdir@&$ac_top_srcdir&;t t
27012 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27013 s&@builddir@&$ac_builddir&;t t
27014 s&@abs_builddir@&$ac_abs_builddir&;t t
27015 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27016 s&@INSTALL@&$ac_INSTALL&;t t
27017 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27018 $ac_datarootdir_hack
27019 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
27021 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27022 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27023 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27024 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27025 which seems to be undefined. Please make sure it is defined." >&5
27026 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27027 which seems to be undefined. Please make sure it is defined." >&2;}
27031 -) cat "$tmp/out"; rm -f "$tmp/out";;
27032 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27037 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27038 echo "$as_me: executing $ac_file commands" >&6;}
27043 case $ac_file$ac_mode in
27044 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27045 # Strip MF so we end up with the name of the file.
27046 mf=`echo "$mf" | sed -e 's/:.*$//'`
27047 # Check whether this is an Automake generated Makefile or not.
27048 # We used to match only the files named `Makefile.in', but
27049 # some people rename them; so instead we look at the file content.
27050 # Grep'ing the first line is not enough: some people post-process
27051 # each Makefile.in and add a new line on top of each file to say so.
27052 # Grep'ing the whole file is not good either: AIX grep has a line
27053 # limit of 2048, but all sed's we know have understand at least 4000.
27054 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
27055 dirpart=`$as_dirname -- "$mf" ||
27056 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27057 X"$mf" : 'X\(//\)[^/]' \| \
27058 X"$mf" : 'X\(//\)$' \| \
27059 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27065 /^X\(\/\/\)[^/].*/{
27081 # Extract the definition of DEPDIR, am__include, and am__quote
27082 # from the Makefile without running `make'.
27083 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27084 test -z "$DEPDIR" && continue
27085 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27086 test -z "am__include" && continue
27087 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27088 # When using ansi2knr, U may be empty or an underscore; expand it
27089 U=`sed -n 's/^U = //p' < "$mf"`
27090 # Find all dependency output files, they are included files with
27091 # $(DEPDIR) in their names. We invoke sed twice because it is the
27092 # simplest approach to changing $(DEPDIR) to its actual value in the
27094 for file in `sed -n "
27095 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27096 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27097 # Make sure the directory exists.
27098 test -f "$dirpart/$file" && continue
27099 fdir=`$as_dirname -- "$file" ||
27100 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27101 X"$file" : 'X\(//\)[^/]' \| \
27102 X"$file" : 'X\(//\)$' \| \
27103 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27109 /^X\(\/\/\)[^/].*/{
27122 { as_dir=$dirpart/$fdir
27124 -*) as_dir=./$as_dir;;
27126 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27130 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27131 *) as_qdir=$as_dir;;
27133 as_dirs="'$as_qdir' $as_dirs"
27134 as_dir=`$as_dirname -- "$as_dir" ||
27135 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27136 X"$as_dir" : 'X\(//\)[^/]' \| \
27137 X"$as_dir" : 'X\(//\)$' \| \
27138 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27144 /^X\(\/\/\)[^/].*/{
27157 test -d "$as_dir" && break
27159 test -z "$as_dirs" || eval "mkdir $as_dirs"
27160 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27161 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27162 { (exit 1); exit 1; }; }; }
27163 # echo "creating $dirpart/$file"
27164 echo '# dummy' > "$dirpart/$file"
27169 chmod +x ./bin/*; \
27172 sed -i "s%^CC=\"\(.*\)\"%hack_libtool (){ \n\
27173 $(pwd)/hack_libtool \1 \"\$@\" \n\
27175 CC=\"hack_libtool\"%g" libtool
27176 sed -i "s%\(\s*\)for searchdir in \$newlib_search_path \$lib_search_path \$sys_lib_search_path \$shlib_search_path; do%\1searchdirs=\"\$newlib_search_path \$lib_search_path \$sys_lib_search_path \$shlib_search_path\"\n\1for searchdir in \$searchdirs; do%g" libtool
27177 sed -i "s%\(\s*\)searchdirs=\"\$newlib_search_path \$lib_search_path \(.*\)\"%\1searchdirs=\"\$newlib_search_path \$lib_search_path\"\n\1sss_beg=\"\"\n\1sss_end=\"\2\"%g" libtool
27178 sed -i "s%\(\s*\)\(for searchdir in \$searchdirs; do\)%\1for sss in \$searchdirs; do\n\1 if ! test -d \$sss; then continue; fi\n\1 ssss=\$(cd \$sss; pwd)\n\1 if test \"\$ssss\" != \"\" \&\& test -d \$ssss; then\n\1 case \$ssss in\n\1 /usr/lib | /usr/lib64 ) ;;\n\1 * ) sss_beg=\"\$sss_beg \$ssss\" ;;\n\1 esac\n\1 fi\n\1done\n\1searchdirs=\"\$sss_beg \$sss_end\"\n\1\2%g" libtool
27185 { (exit 0); exit 0; }
27187 chmod +x $CONFIG_STATUS
27188 ac_clean_files=$ac_clean_files_save
27191 # configure is writing to config.log, and then calls config.status.
27192 # config.status does its own redirection, appending to config.log.
27193 # Unfortunately, on DOS this fails, as config.log is still kept open
27194 # by configure, so config.status won't be able to write to it; its
27195 # output is simply discarded. So we exec the FD to /dev/null,
27196 # effectively closing config.log, so it can be properly (re)opened and
27197 # appended to by config.status. When coming back to configure, we
27198 # need to make the FD available again.
27199 if test "$no_create" != yes; then
27201 ac_config_status_args=
27202 test "$silent" = yes &&
27203 ac_config_status_args="$ac_config_status_args --quiet"
27205 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27207 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27208 # would make configure fail if this is the last instruction.
27209 $ac_cs_success || { (exit 1); exit 1; }