|
|
fi | fi |
fi | fi |
| |
for ac_declaration in \ |
|
''\ |
|
'#include <stdlib.h>' \ |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
'extern "C" void std::exit (int); using std::exit;' \ |
|
'extern "C" void exit (int) throw ();' \ |
|
'extern "C" void exit (int);' \ |
|
'void exit (int);' |
|
do |
|
cat > conftest.$ac_ext <<EOF |
|
#line 1548 "configure" |
|
#include "confdefs.h" |
|
#include <stdlib.h> |
|
$ac_declaration |
|
int main() { |
|
exit (42); |
|
; return 0; } |
|
EOF |
|
if { (eval echo configure:1556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
: |
|
else |
|
echo "configure: failed program was:" >&5 |
|
cat conftest.$ac_ext >&5 |
|
rm -rf conftest* |
|
continue |
|
fi |
|
rm -f conftest* |
|
cat > conftest.$ac_ext <<EOF |
|
#line 1566 "configure" |
|
#include "confdefs.h" |
|
$ac_declaration |
|
int main() { |
|
exit (42); |
|
; return 0; } |
|
EOF |
|
if { (eval echo configure:1573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
rm -rf conftest* |
|
break |
|
else |
|
echo "configure: failed program was:" >&5 |
|
cat conftest.$ac_ext >&5 |
|
fi |
|
rm -f conftest* |
|
done |
|
if test -n "$ac_declaration"; then |
|
echo '#ifdef __cplusplus' >>confdefs.h |
|
echo $ac_declaration >>confdefs.h |
|
echo '#endif' >>confdefs.h |
|
fi |
|
|
|
|
|
echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 | echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 |
echo "configure:1590: checking how to run the C++ preprocessor" >&5 |
echo "configure:1539: checking how to run the C++ preprocessor" >&5 |
if test -z "$CXXCPP"; then | if test -z "$CXXCPP"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
cross_compiling=$ac_cv_prog_cxx_cross | cross_compiling=$ac_cv_prog_cxx_cross |
CXXCPP="${CXX-g++} -E" | CXXCPP="${CXX-g++} -E" |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 1603 "configure" |
#line 1552 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <stdlib.h> | #include <stdlib.h> |
EOF | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | if test -z "$ac_err"; then |
: | : |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1639: checking for $ac_word" >&5 |
echo "configure:1588: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
# Extract the first word of "flex", so it can be a program name with args. | # Extract the first word of "flex", so it can be a program name with args. |
set dummy flex; ac_word=$2 | set dummy flex; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:1672: checking for $ac_word" >&5 |
echo "configure:1621: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
*) ac_lib=l ;; | *) ac_lib=l ;; |
esac | esac |
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 | echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 |
echo "configure:1706: checking for yywrap in -l$ac_lib" >&5 |
echo "configure:1655: checking for yywrap in -l$ac_lib" >&5 |
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` | ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
LIBS="-l$ac_lib $LIBS" | LIBS="-l$ac_lib $LIBS" |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 1714 "configure" |
#line 1663 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
|
|
yywrap() | yywrap() |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:1725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
else | else |
|
|
fi | fi |
| |
echo $ac_n "checking lex output file root""... $ac_c" 1>&6 | echo $ac_n "checking lex output file root""... $ac_c" 1>&6 |
echo "configure:1748: checking lex output file root" >&5 |
echo "configure:1697: checking lex output file root" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
| |
echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 | echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 |
echo "configure:1769: checking whether yytext is a pointer" >&5 |
echo "configure:1718: checking whether yytext is a pointer" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
LIBS="$LIBS $LEXLIB" | LIBS="$LIBS $LEXLIB" |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 1781 "configure" |
#line 1730 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
`cat $LEX_OUTPUT_ROOT.c` | `cat $LEX_OUTPUT_ROOT.c` |
int main() { | int main() { |
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:1788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:1737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
ac_cv_prog_lex_yytext_pointer=yes | ac_cv_prog_lex_yytext_pointer=yes |
else | else |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo "configure:1821: checking for a BSD compatible install" >&5 |
echo "configure:1770: checking for a BSD compatible install" >&5 |
if test -z "$INSTALL"; then | if test -z "$INSTALL"; then |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| |
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo "configure:1874: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:1823: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
| |
| |
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 | echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
echo "configure:1902: checking for Cygwin environment" >&5 |
echo "configure:1851: checking for Cygwin environment" >&5 |
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 1907 "configure" |
#line 1856 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
int main() { | int main() { |
|
|
return __CYGWIN__; | return __CYGWIN__; |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:1918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | rm -rf conftest* |
ac_cv_cygwin=yes | ac_cv_cygwin=yes |
else | else |
|
|
CYGWIN= | CYGWIN= |
test "$ac_cv_cygwin" = yes && CYGWIN=yes | test "$ac_cv_cygwin" = yes && CYGWIN=yes |
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 | echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
echo "configure:1935: checking for mingw32 environment" >&5 |
echo "configure:1884: checking for mingw32 environment" >&5 |
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 1940 "configure" |
#line 1889 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
int main() { | int main() { |
return __MINGW32__; | return __MINGW32__; |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:1947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | rm -rf conftest* |
ac_cv_mingw32=yes | ac_cv_mingw32=yes |
else | else |
|
|
if test "$GCC" = yes; then | if test "$GCC" = yes; then |
# Check if gcc -print-prog-name=ld gives a path. | # Check if gcc -print-prog-name=ld gives a path. |
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
echo "configure:2044: checking for ld used by GCC" >&5 |
echo "configure:1993: checking for ld used by GCC" >&5 |
case $host in | case $host in |
*-*-mingw*) | *-*-mingw*) |
# gcc leaves a trailing carriage return which upsets mingw | # gcc leaves a trailing carriage return which upsets mingw |
|
|
esac | esac |
elif test "$with_gnu_ld" = yes; then | elif test "$with_gnu_ld" = yes; then |
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
echo "configure:2074: checking for GNU ld" >&5 |
echo "configure:2023: checking for GNU ld" >&5 |
else | else |
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
echo "configure:2077: checking for non-GNU ld" >&5 |
echo "configure:2026: checking for non-GNU ld" >&5 |
fi | fi |
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
fi | fi |
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } |
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 |
echo "configure:2112: checking if the linker ($LD) is GNU ld" >&5 |
echo "configure:2061: checking if the linker ($LD) is GNU ld" >&5 |
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
| |
| |
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 | echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 |
echo "configure:2129: checking for $LD option to reload object files" >&5 |
echo "configure:2078: checking for $LD option to reload object files" >&5 |
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
test -n "$reload_flag" && reload_flag=" $reload_flag" | test -n "$reload_flag" && reload_flag=" $reload_flag" |
| |
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |
echo "configure:2141: checking for BSD-compatible nm" >&5 |
echo "configure:2090: checking for BSD-compatible nm" >&5 |
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
echo "$ac_t""$NM" 1>&6 | echo "$ac_t""$NM" 1>&6 |
| |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
echo "configure:2179: checking whether ln -s works" >&5 |
echo "configure:2128: checking whether ln -s works" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
fi | fi |
| |
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 | echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 |
echo "configure:2200: checking how to recognise dependant libraries" >&5 |
echo "configure:2149: checking how to recognise dependant libraries" >&5 |
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
deplibs_check_method=$lt_cv_deplibs_check_method | deplibs_check_method=$lt_cv_deplibs_check_method |
| |
echo $ac_n "checking for object suffix""... $ac_c" 1>&6 | echo $ac_n "checking for object suffix""... $ac_c" 1>&6 |
echo "configure:2373: checking for object suffix" >&5 |
echo "configure:2322: checking for object suffix" >&5 |
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
rm -f conftest* | rm -f conftest* |
echo 'int i = 1;' > conftest.$ac_ext | echo 'int i = 1;' > conftest.$ac_ext |
if { (eval echo configure:2379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
for ac_file in conftest.*; do | for ac_file in conftest.*; do |
case $ac_file in | case $ac_file in |
*.c) ;; | *.c) ;; |
|
|
| |
| |
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
echo "configure:2399: checking for executable suffix" >&5 |
echo "configure:2348: checking for executable suffix" >&5 |
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
rm -f conftest* | rm -f conftest* |
echo 'int main () { return 0; }' > conftest.$ac_ext | echo 'int main () { return 0; }' > conftest.$ac_ext |
ac_cv_exeext= | ac_cv_exeext= |
if { (eval echo configure:2409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
for file in conftest.*; do | for file in conftest.*; do |
case $file in | case $file in |
*.c | *.o | *.obj) ;; | *.c | *.o | *.obj) ;; |
|
|
| |
# Check for command to grab the raw symbol name followed by C symbol from nm. | # Check for command to grab the raw symbol name followed by C symbol from nm. |
echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6 | echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6 |
echo "configure:2440: checking command to parse $NM output" >&5 |
echo "configure:2389: checking command to parse $NM output" >&5 |
if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
int main(){nm_test_var='a';nm_test_func();return(0);} | int main(){nm_test_var='a';nm_test_func();return(0);} |
EOF | EOF |
| |
if { (eval echo configure:2516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
# Now try to grab the symbols. | # Now try to grab the symbols. |
nlist=conftest.nm | nlist=conftest.nm |
if { (eval echo configure:2519: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then |
if { (eval echo configure:2468: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then |
# Try sorting and uniquifying the output. | # Try sorting and uniquifying the output. |
if sort "$nlist" | uniq > "$nlist"T; then | if sort "$nlist" | uniq > "$nlist"T; then |
mv -f "$nlist"T "$nlist" | mv -f "$nlist"T "$nlist" |
|
|
save_CFLAGS="$CFLAGS" | save_CFLAGS="$CFLAGS" |
LIBS="conftstm.$ac_objext" | LIBS="conftstm.$ac_objext" |
CFLAGS="$CFLAGS$no_builtin_flag" | CFLAGS="$CFLAGS$no_builtin_flag" |
if { (eval echo configure:2570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
pipe_works=yes | pipe_works=yes |
fi | fi |
LIBS="$save_LIBS" | LIBS="$save_LIBS" |
|
|
do | do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo "configure:2616: checking for $ac_hdr" >&5 |
echo "configure:2565: checking for $ac_hdr" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 2621 "configure" |
#line 2570 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <$ac_hdr> | #include <$ac_hdr> |
EOF | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:2626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | if test -z "$ac_err"; then |
rm -rf conftest* | rm -rf conftest* |
|
|
file_magic*) | file_magic*) |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 | echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 |
echo "configure:2661: checking for ${ac_tool_prefix}file" >&5 |
echo "configure:2610: checking for ${ac_tool_prefix}file" >&5 |
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
if test -z "$lt_cv_path_MAGIC_CMD"; then | if test -z "$lt_cv_path_MAGIC_CMD"; then |
if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
echo $ac_n "checking for file""... $ac_c" 1>&6 | echo $ac_n "checking for file""... $ac_c" 1>&6 |
echo "configure:2723: checking for file" >&5 |
echo "configure:2672: checking for file" >&5 |
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:2794: checking for $ac_word" >&5 |
echo "configure:2743: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
# Extract the first word of "ranlib", so it can be a program name with args. | # Extract the first word of "ranlib", so it can be a program name with args. |
set dummy ranlib; ac_word=$2 | set dummy ranlib; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:2826: checking for $ac_word" >&5 |
echo "configure:2775: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
set dummy ${ac_tool_prefix}strip; ac_word=$2 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:2861: checking for $ac_word" >&5 |
echo "configure:2810: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
# Extract the first word of "strip", so it can be a program name with args. | # Extract the first word of "strip", so it can be a program name with args. |
set dummy strip; ac_word=$2 | set dummy strip; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:2893: checking for $ac_word" >&5 |
echo "configure:2842: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
case $host in | case $host in |
*-*-irix6*) | *-*-irix6*) |
# Find out which ABI we are using. | # Find out which ABI we are using. |
echo '#line 2942 "configure"' > conftest.$ac_ext |
echo '#line 2891 "configure"' > conftest.$ac_ext |
if { (eval echo configure:2943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
case `/usr/bin/file conftest.$ac_objext` in | case `/usr/bin/file conftest.$ac_objext` in |
*32-bit*) | *32-bit*) |
LD="${LD-ld} -32" | LD="${LD-ld} -32" |
|
|
SAVE_CFLAGS="$CFLAGS" | SAVE_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS -belf" | CFLAGS="$CFLAGS -belf" |
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 |
echo "configure:2964: checking whether the C compiler needs -belf" >&5 |
echo "configure:2913: checking whether the C compiler needs -belf" >&5 |
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
cross_compiling=$ac_cv_prog_cc_cross | cross_compiling=$ac_cv_prog_cc_cross |
| |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 2977 "configure" |
#line 2926 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
int main() { | int main() { |
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
lt_cv_cc_needs_belf=yes | lt_cv_cc_needs_belf=yes |
else | else |
|
|
compiler="$2" | compiler="$2" |
| |
echo $ac_n "checking for objdir""... $ac_c" 1>&6 | echo $ac_n "checking for objdir""... $ac_c" 1>&6 |
echo "configure:3097: checking for objdir" >&5 |
echo "configure:3046: checking for objdir" >&5 |
rm -f .libs 2>/dev/null | rm -f .libs 2>/dev/null |
mkdir .libs 2>/dev/null | mkdir .libs 2>/dev/null |
if test -d .libs; then | if test -d .libs; then |
|
|
# in isolation, and that seeing it set (from the cache) indicates that | # in isolation, and that seeing it set (from the cache) indicates that |
# the associated values are set (in the cache) correctly too. | # the associated values are set (in the cache) correctly too. |
echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6 | echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6 |
echo "configure:3124: checking for $compiler option to produce PIC" >&5 |
echo "configure:3073: checking for $compiler option to produce PIC" >&5 |
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
| |
# Check to make sure the pic_flag actually works. | # Check to make sure the pic_flag actually works. |
echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6 | echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6 |
echo "configure:3276: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 |
echo "configure:3225: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 |
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
save_CFLAGS="$CFLAGS" | save_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" | CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 3283 "configure" |
#line 3232 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
int main() { | int main() { |
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | rm -rf conftest* |
case $host_os in | case $host_os in |
hpux9* | hpux10* | hpux11*) | hpux9* | hpux10* | hpux11*) |
|
|
fi | fi |
| |
echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6 | echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6 |
echo "configure:3342: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 |
echo "configure:3291: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 |
if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
save_LDFLAGS="$LDFLAGS" | save_LDFLAGS="$LDFLAGS" |
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" | LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 3350 "configure" |
#line 3299 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
int main() { | int main() { |
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:3357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
lt_cv_prog_cc_static_works=yes | lt_cv_prog_cc_static_works=yes |
else | else |
|
|
| |
# Check to see if options -o and -c are simultaneously supported by compiler | # Check to see if options -o and -c are simultaneously supported by compiler |
echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6 | echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6 |
echo "configure:3384: checking if $compiler supports -c -o file.$ac_objext" >&5 |
echo "configure:3333: checking if $compiler supports -c -o file.$ac_objext" >&5 |
if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
save_CFLAGS="$CFLAGS" | save_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
compiler_c_o=no | compiler_c_o=no |
if { (eval echo configure:3403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
# The compiler can only warn and ignore the option if not recognized | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings | # So say no if there are warnings |
if test -s out/conftest.err; then | if test -s out/conftest.err; then |
|
|
if test x"$compiler_c_o" = x"yes"; then | if test x"$compiler_c_o" = x"yes"; then |
# Check to see if we can write to a .lo | # Check to see if we can write to a .lo |
echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6 | echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6 |
echo "configure:3432: checking if $compiler supports -c -o file.lo" >&5 |
echo "configure:3381: checking if $compiler supports -c -o file.lo" >&5 |
if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
save_CFLAGS="$CFLAGS" | save_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS -c -o conftest.lo" | CFLAGS="$CFLAGS -c -o conftest.lo" |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 3441 "configure" |
#line 3390 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
int main() { | int main() { |
int some_variable = 0; | int some_variable = 0; |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | rm -rf conftest* |
# The compiler can only warn and ignore the option if not recognized | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings | # So say no if there are warnings |
|
|
if test "$compiler_c_o" = no && test "$need_locks" != no; then | if test "$compiler_c_o" = no && test "$need_locks" != no; then |
# do not overwrite the value of need_locks provided by the user | # do not overwrite the value of need_locks provided by the user |
echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6 | echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6 |
echo "configure:3478: checking if we can lock with hard links" >&5 |
echo "configure:3427: checking if we can lock with hard links" >&5 |
hard_links=yes | hard_links=yes |
$rm conftest* | $rm conftest* |
ln conftest.a conftest.b 2>/dev/null && hard_links=no | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
|
if test "$GCC" = yes; then | if test "$GCC" = yes; then |
# Check to see if options -fno-rtti -fno-exceptions are supported by compiler | # Check to see if options -fno-rtti -fno-exceptions are supported by compiler |
echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6 | echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6 |
echo "configure:3497: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
echo "configure:3446: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
echo "int some_variable = 0;" > conftest.$ac_ext | echo "int some_variable = 0;" > conftest.$ac_ext |
save_CFLAGS="$CFLAGS" | save_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" | CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" |
compiler_rtti_exceptions=no | compiler_rtti_exceptions=no |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 3503 "configure" |
#line 3452 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
int main() { | int main() { |
int some_variable = 0; | int some_variable = 0; |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:3510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:3459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | rm -rf conftest* |
# The compiler can only warn and ignore the option if not recognized | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings | # So say no if there are warnings |
|
|
| |
# See if the linker supports building shared libraries. | # See if the linker supports building shared libraries. |
echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6 | echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6 |
echo "configure:3537: checking whether the linker ($LD) supports shared libraries" >&5 |
echo "configure:3486: checking whether the linker ($LD) supports shared libraries" >&5 |
| |
allow_undefined_flag= | allow_undefined_flag= |
no_undefined_flag= | no_undefined_flag= |
|
|
| |
# Check hardcoding attributes. | # Check hardcoding attributes. |
echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6 | echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6 |
echo "configure:4153: checking how to hardcode library paths into programs" >&5 |
echo "configure:4102: checking how to hardcode library paths into programs" >&5 |
hardcode_action= | hardcode_action= |
if test -n "$hardcode_libdir_flag_spec" || \ | if test -n "$hardcode_libdir_flag_spec" || \ |
test -n "$runpath_var"; then | test -n "$runpath_var"; then |
|
|
striplib= | striplib= |
old_striplib= | old_striplib= |
echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6 | echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6 |
echo "configure:4181: checking whether stripping libraries is possible" >&5 |
echo "configure:4130: checking whether stripping libraries is possible" >&5 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
| |
# PORTME Fill in your ld.so characteristics | # PORTME Fill in your ld.so characteristics |
echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6 | echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6 |
echo "configure:4195: checking dynamic linker characteristics" >&5 |
echo "configure:4144: checking dynamic linker characteristics" >&5 |
library_names_spec= | library_names_spec= |
libname_spec='lib$name' | libname_spec='lib$name' |
soname_spec= | soname_spec= |
|
|
| |
# Report the final consequences. | # Report the final consequences. |
echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6 | echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6 |
echo "configure:4581: checking if libtool supports shared libraries" >&5 |
echo "configure:4530: checking if libtool supports shared libraries" >&5 |
echo "$ac_t""$can_build_shared" 1>&6 | echo "$ac_t""$can_build_shared" 1>&6 |
| |
if test "$hardcode_action" = relink; then | if test "$hardcode_action" = relink; then |
|
|
| |
*) | *) |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
echo "configure:4620: checking for dlopen in -ldl" >&5 |
echo "configure:4569: checking for dlopen in -ldl" >&5 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
LIBS="-ldl $LIBS" | LIBS="-ldl $LIBS" |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 4628 "configure" |
#line 4577 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
|
|
dlopen() | dlopen() |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
else | else |
|
|
else | else |
echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
echo $ac_n "checking for dlopen""... $ac_c" 1>&6 | echo $ac_n "checking for dlopen""... $ac_c" 1>&6 |
echo "configure:4658: checking for dlopen" >&5 |
echo "configure:4607: checking for dlopen" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 4663 "configure" |
#line 4612 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char dlopen(); below. */ | which can conflict with char dlopen(); below. */ |
|
|
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
eval "ac_cv_func_dlopen=yes" | eval "ac_cv_func_dlopen=yes" |
else | else |
|
|
else | else |
echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
echo $ac_n "checking for shl_load""... $ac_c" 1>&6 | echo $ac_n "checking for shl_load""... $ac_c" 1>&6 |
echo "configure:4704: checking for shl_load" >&5 |
echo "configure:4653: checking for shl_load" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 4709 "configure" |
#line 4658 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char shl_load(); below. */ | which can conflict with char shl_load(); below. */ |
|
|
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
eval "ac_cv_func_shl_load=yes" | eval "ac_cv_func_shl_load=yes" |
else | else |
|
|
else | else |
echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 | echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 |
echo "configure:4750: checking for dlopen in -lsvld" >&5 |
echo "configure:4699: checking for dlopen in -lsvld" >&5 |
ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'` | ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
LIBS="-lsvld $LIBS" | LIBS="-lsvld $LIBS" |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 4758 "configure" |
#line 4707 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
|
|
dlopen() | dlopen() |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
else | else |
|
|
else | else |
echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
echo "configure:4788: checking for shl_load in -ldld" >&5 |
echo "configure:4737: checking for shl_load in -ldld" >&5 |
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
ac_save_LIBS="$LIBS" | ac_save_LIBS="$LIBS" |
LIBS="-ldld $LIBS" | LIBS="-ldld $LIBS" |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 4796 "configure" |
#line 4745 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
/* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
/* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
|
|
shl_load() | shl_load() |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:4807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
eval "ac_cv_lib_$ac_lib_var=yes" | eval "ac_cv_lib_$ac_lib_var=yes" |
else | else |
|
|
LIBS="$lt_cv_dlopen_libs $LIBS" | LIBS="$lt_cv_dlopen_libs $LIBS" |
| |
echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6 | echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6 |
echo "configure:4860: checking whether a program can dlopen itself" >&5 |
echo "configure:4809: checking whether a program can dlopen itself" >&5 |
if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown | lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 4870 "configure" |
#line 4819 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
#if HAVE_DLFCN_H | #if HAVE_DLFCN_H |
|
|
exit (status); | exit (status); |
} | } |
EOF | EOF |
if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then |
if { (eval echo configure:4880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then |
(./conftest; exit; ) 2>/dev/null | (./conftest; exit; ) 2>/dev/null |
lt_status=$? | lt_status=$? |
case x$lt_status in | case x$lt_status in |
|
|
if test "x$lt_cv_dlopen_self" = xyes; then | if test "x$lt_cv_dlopen_self" = xyes; then |
LDFLAGS="$LDFLAGS $link_static_flag" | LDFLAGS="$LDFLAGS $link_static_flag" |
echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6 | echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6 |
echo "configure:4954: checking whether a statically linked program can dlopen itself" >&5 |
echo "configure:4903: checking whether a statically linked program can dlopen itself" >&5 |
if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown | lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 4964 "configure" |
#line 4913 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
#if HAVE_DLFCN_H | #if HAVE_DLFCN_H |
|
|
exit (status); | exit (status); |
} | } |
EOF | EOF |
if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then |
if { (eval echo configure:4974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then |
(./conftest; exit; ) 2>/dev/null | (./conftest; exit; ) 2>/dev/null |
lt_status=$? | lt_status=$? |
case x$lt_status in | case x$lt_status in |
|
|
# systems, -lgcc has to come before -lc. If gcc already passes -lc | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
# to ld, don't add -lc before -lgcc. | # to ld, don't add -lc before -lgcc. |
echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6 | echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6 |
echo "configure:5074: checking whether -lc should be explicitly linked in" >&5 |
echo "configure:5023: checking whether -lc should be explicitly linked in" >&5 |
if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
$rm conftest* | $rm conftest* |
echo 'static int dummy;' > conftest.$ac_ext | echo 'static int dummy;' > conftest.$ac_ext |
| |
if { (eval echo configure:5081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:5030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
soname=conftest | soname=conftest |
lib=conftest | lib=conftest |
libobjs=conftest.$ac_objext | libobjs=conftest.$ac_objext |
|
|
libname=conftest | libname=conftest |
save_allow_undefined_flag=$allow_undefined_flag | save_allow_undefined_flag=$allow_undefined_flag |
allow_undefined_flag= | allow_undefined_flag= |
if { (eval echo configure:5094: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; } |
if { (eval echo configure:5043: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; } |
then | then |
lt_cv_archive_cmds_need_lc=no | lt_cv_archive_cmds_need_lc=no |
else | else |
|
|
| |
| |
echo $ac_n "checking for GNU Readline library, version 2.0 or newer""... $ac_c" 1>&6 | echo $ac_n "checking for GNU Readline library, version 2.0 or newer""... $ac_c" 1>&6 |
echo "configure:5725: checking for GNU Readline library, version 2.0 or newer" >&5 |
echo "configure:5674: checking for GNU Readline library, version 2.0 or newer" >&5 |
| |
wi_cv_lib_readline=no | wi_cv_lib_readline=no |
wi_cv_lib_readline_result=no | wi_cv_lib_readline_result=no |
|
|
| |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 5741 "configure" |
#line 5690 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
/* program */ | /* program */ |
|
|
} | } |
| |
EOF | EOF |
if { (eval echo configure:5759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | then |
| |
# action if true | # action if true |
|
|
# rl_function_of_keyseq appeared in version 2.0 | # rl_function_of_keyseq appeared in version 2.0 |
# | # |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 5785 "configure" |
#line 5734 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
/* includes */ | /* includes */ |
|
|
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:5798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
| |
wi_cv_lib_readline=yes | wi_cv_lib_readline=yes |
|
|
| |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 5831 "configure" |
#line 5780 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
/* program */ | /* program */ |
|
|
} | } |
| |
EOF | EOF |
if { (eval echo configure:5856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | then |
| |
# action if true | # action if true |
|
|
*) | *) |
# Test using current LIBS. | # Test using current LIBS. |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 5886 "configure" |
#line 5835 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
/* includes */ | /* includes */ |
|
|
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:5900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:5849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
| |
rlver="210" | rlver="210" |
|
|
do | do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo "configure:5943: checking for $ac_hdr" >&5 |
echo "configure:5892: checking for $ac_hdr" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 5948 "configure" |
#line 5897 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <$ac_hdr> | #include <$ac_hdr> |
EOF | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:5953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:5902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | if test -z "$ac_err"; then |
rm -rf conftest* | rm -rf conftest* |
|
|
# Extract the first word of "glib-config", so it can be a program name with args. | # Extract the first word of "glib-config", so it can be a program name with args. |
set dummy glib-config; ac_word=$2 | set dummy glib-config; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:6013: checking for $ac_word" >&5 |
echo "configure:5962: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_GLIBCONFIG'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_GLIBCONFIG'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
# Extract the first word of "gtk-config gtk12-config", so it can be a program name with args. | # Extract the first word of "gtk-config gtk12-config", so it can be a program name with args. |
set dummy gtk-config gtk12-config; ac_word=$2 | set dummy gtk-config gtk12-config; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:6065: checking for $ac_word" >&5 |
echo "configure:6014: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_GTKCONFIG'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_GTKCONFIG'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
# Extract the first word of "gtkextra-config", so it can be a program name with args. | # Extract the first word of "gtkextra-config", so it can be a program name with args. |
set dummy gtkextra-config; ac_word=$2 | set dummy gtkextra-config; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:6106: checking for $ac_word" >&5 |
echo "configure:6055: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_GTKEXTRACONFIG'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_GTKEXTRACONFIG'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
# Extract the first word of "pkg-config", so it can be a program name with args. | # Extract the first word of "pkg-config", so it can be a program name with args. |
set dummy pkg-config; ac_word=$2 | set dummy pkg-config; ac_word=$2 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo "configure:6157: checking for $ac_word" >&5 |
echo "configure:6106: checking for $ac_word" >&5 |
if eval "test \"`echo '$''{'ac_cv_path_PKGCONFIG'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_PKGCONFIG'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
| |
| |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
echo "configure:6219: checking for ANSI C header files" >&5 |
echo "configure:6168: checking for ANSI C header files" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6224 "configure" |
#line 6173 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <stdlib.h> | #include <stdlib.h> |
#include <stdarg.h> | #include <stdarg.h> |
|
|
#include <float.h> | #include <float.h> |
EOF | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:6232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:6181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | if test -z "$ac_err"; then |
rm -rf conftest* | rm -rf conftest* |
|
|
if test $ac_cv_header_stdc = yes; then | if test $ac_cv_header_stdc = yes; then |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6249 "configure" |
#line 6198 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <string.h> | #include <string.h> |
EOF | EOF |
|
|
if test $ac_cv_header_stdc = yes; then | if test $ac_cv_header_stdc = yes; then |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6267 "configure" |
#line 6216 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <stdlib.h> | #include <stdlib.h> |
EOF | EOF |
|
|
: | : |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6288 "configure" |
#line 6237 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <ctype.h> | #include <ctype.h> |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
exit (0); } | exit (0); } |
| |
EOF | EOF |
if { (eval echo configure:6299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:6248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | then |
: | : |
else | else |
|
|
do | do |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo "configure:6326: checking for $ac_hdr" >&5 |
echo "configure:6275: checking for $ac_hdr" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6331 "configure" |
#line 6280 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <$ac_hdr> | #include <$ac_hdr> |
EOF | EOF |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
{ (eval echo configure:6336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:6285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
if test -z "$ac_err"; then | if test -z "$ac_err"; then |
rm -rf conftest* | rm -rf conftest* |
|
|
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
# for constant arguments. Useless! | # for constant arguments. Useless! |
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
echo "configure:6366: checking for working alloca.h" >&5 |
echo "configure:6315: checking for working alloca.h" >&5 |
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6371 "configure" |
#line 6320 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <alloca.h> | #include <alloca.h> |
int main() { | int main() { |
char *p = alloca(2 * sizeof(int)); | char *p = alloca(2 * sizeof(int)); |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:6378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
ac_cv_header_alloca_h=yes | ac_cv_header_alloca_h=yes |
else | else |
|
|
fi | fi |
| |
echo $ac_n "checking for alloca""... $ac_c" 1>&6 | echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
echo "configure:6399: checking for alloca" >&5 |
echo "configure:6348: checking for alloca" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6404 "configure" |
#line 6353 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
| |
#ifdef __GNUC__ | #ifdef __GNUC__ |
|
|
char *p = (char *) alloca(1); | char *p = (char *) alloca(1); |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:6432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
ac_cv_func_alloca_works=yes | ac_cv_func_alloca_works=yes |
else | else |
|
|
| |
| |
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
echo "configure:6464: checking whether alloca needs Cray hooks" >&5 |
echo "configure:6413: checking whether alloca needs Cray hooks" >&5 |
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6469 "configure" |
#line 6418 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#if defined(CRAY) && ! defined(CRAY2) | #if defined(CRAY) && ! defined(CRAY2) |
webecray | webecray |
|
|
if test $ac_cv_os_cray = yes; then | if test $ac_cv_os_cray = yes; then |
for ac_func in _getb67 GETB67 getb67; do | for ac_func in _getb67 GETB67 getb67; do |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo "configure:6494: checking for $ac_func" >&5 |
echo "configure:6443: checking for $ac_func" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6499 "configure" |
#line 6448 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func(); below. */ | which can conflict with char $ac_func(); below. */ |
|
|
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:6522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
eval "ac_cv_func_$ac_func=yes" | eval "ac_cv_func_$ac_func=yes" |
else | else |
|
|
fi | fi |
| |
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
echo "configure:6549: checking stack direction for C alloca" >&5 |
echo "configure:6498: checking stack direction for C alloca" >&5 |
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
|
|
ac_cv_c_stack_direction=0 | ac_cv_c_stack_direction=0 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6557 "configure" |
#line 6506 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
find_stack_direction () | find_stack_direction () |
{ | { |
|
|
exit (find_stack_direction() < 0); | exit (find_stack_direction() < 0); |
} | } |
EOF | EOF |
if { (eval echo configure:6576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
then | then |
ac_cv_c_stack_direction=1 | ac_cv_c_stack_direction=1 |
else | else |
|
|
| |
| |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
echo "configure:6609: checking return type of signal handlers" >&5 |
echo "configure:6558: checking return type of signal handlers" >&5 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6614 "configure" |
#line 6563 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
#include <sys/types.h> | #include <sys/types.h> |
#include <signal.h> | #include <signal.h> |
|
|
int i; | int i; |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:6631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:6580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
rm -rf conftest* | rm -rf conftest* |
ac_cv_type_signal=void | ac_cv_type_signal=void |
else | else |
|
|
for ac_func in strdup strstr strtod strtol strtoul | for ac_func in strdup strstr strtod strtol strtoul |
do | do |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo "configure:6653: checking for $ac_func" >&5 |
echo "configure:6602: checking for $ac_func" >&5 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
else | else |
cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
#line 6658 "configure" |
#line 6607 "configure" |
#include "confdefs.h" | #include "confdefs.h" |
/* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func(); below. */ | which can conflict with char $ac_func(); below. */ |
|
|
| |
; return 0; } | ; return 0; } |
EOF | EOF |
if { (eval echo configure:6684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:6633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
rm -rf conftest* | rm -rf conftest* |
eval "ac_cv_func_$ac_func=yes" | eval "ac_cv_func_$ac_func=yes" |
else | else |