|
|
|
@ -2575,6 +2575,7 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-shared or --disable-shared was given.
|
|
|
|
|
if test "${enable_shared+set}" = set; then
|
|
|
|
|
enableval="$enable_shared"
|
|
|
|
@ -2651,7 +2652,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2655: checking host system type" >&5
|
|
|
|
|
echo "configure:2656: checking host system type" >&5
|
|
|
|
|
|
|
|
|
|
host_alias=$host
|
|
|
|
|
case "$host_alias" in
|
|
|
|
@ -2672,7 +2673,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
|
|
|
echo "$ac_t""$host" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2676: checking build system type" >&5
|
|
|
|
|
echo "configure:2677: checking build system type" >&5
|
|
|
|
|
|
|
|
|
|
build_alias=$build
|
|
|
|
|
case "$build_alias" in
|
|
|
|
@ -2701,7 +2702,7 @@ ac_prog=ld
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|
# Check if gcc -print-prog-name=ld gives a path.
|
|
|
|
|
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2705: checking for ld used by GCC" >&5
|
|
|
|
|
echo "configure:2706: checking for ld used by GCC" >&5
|
|
|
|
|
case $host in
|
|
|
|
|
*-*-mingw*)
|
|
|
|
|
# gcc leaves a trailing carriage return which upsets mingw
|
|
|
|
@ -2731,10 +2732,10 @@ echo "configure:2705: checking for ld used by GCC" >&5
|
|
|
|
|
esac
|
|
|
|
|
elif test "$with_gnu_ld" = yes; then
|
|
|
|
|
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2735: checking for GNU ld" >&5
|
|
|
|
|
echo "configure:2736: checking for GNU ld" >&5
|
|
|
|
|
else
|
|
|
|
|
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2738: checking for non-GNU ld" >&5
|
|
|
|
|
echo "configure:2739: checking for non-GNU ld" >&5
|
|
|
|
|
fi
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -2769,7 +2770,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
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 "configure:2773: checking if the linker ($LD) is GNU ld" >&5
|
|
|
|
|
echo "configure:2774: checking if the linker ($LD) is GNU ld" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2786,7 +2787,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2790: checking for $LD option to reload object files" >&5
|
|
|
|
|
echo "configure:2791: checking for $LD option to reload object files" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2798,7 +2799,7 @@ reload_flag=$lt_cv_ld_reload_flag
|
|
|
|
|
test -n "$reload_flag" && reload_flag=" $reload_flag"
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2802: checking for BSD-compatible nm" >&5
|
|
|
|
|
echo "configure:2803: checking for BSD-compatible nm" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -2836,7 +2837,7 @@ NM="$lt_cv_path_NM"
|
|
|
|
|
echo "$ac_t""$NM" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:2840: checking how to recognise dependant libraries" >&5
|
|
|
|
|
echo "configure:2841: checking how to recognise dependant libraries" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3019,7 +3020,7 @@ fi
|
|
|
|
|
|
|
|
|
|
# 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 "configure:3023: checking command to parse $NM output" >&5
|
|
|
|
|
echo "configure:3024: checking command to parse $NM output" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3095,10 +3096,10 @@ void nm_test_func(){}
|
|
|
|
|
int main(){nm_test_var='a';nm_test_func();return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
if { (eval echo configure:3099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:3100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
# Now try to grab the symbols.
|
|
|
|
|
nlist=conftest.nm
|
|
|
|
|
if { (eval echo configure:3102: \"$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:3103: \"$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.
|
|
|
|
|
if sort "$nlist" | uniq > "$nlist"T; then
|
|
|
|
|
mv -f "$nlist"T "$nlist"
|
|
|
|
@ -3149,7 +3150,7 @@ EOF
|
|
|
|
|
save_CFLAGS="$CFLAGS"
|
|
|
|
|
LIBS="conftstm.$ac_objext"
|
|
|
|
|
CFLAGS="$CFLAGS$no_builtin_flag"
|
|
|
|
|
if { (eval echo configure:3153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:3154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
pipe_works=yes
|
|
|
|
|
fi
|
|
|
|
|
LIBS="$save_LIBS"
|
|
|
|
@ -3195,17 +3196,17 @@ for ac_hdr in dlfcn.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3199: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:3200: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3204 "configure"
|
|
|
|
|
#line 3205 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:3209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:3210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -3240,7 +3241,7 @@ case $deplibs_check_method in
|
|
|
|
|
file_magic*)
|
|
|
|
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
|
|
|
|
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3244: checking for ${ac_tool_prefix}file" >&5
|
|
|
|
|
echo "configure:3245: checking for ${ac_tool_prefix}file" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3302,7 +3303,7 @@ fi
|
|
|
|
|
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
|
|
|
|
if test -n "$ac_tool_prefix"; then
|
|
|
|
|
echo $ac_n "checking for file""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3306: checking for file" >&5
|
|
|
|
|
echo "configure:3307: checking for file" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3373,7 +3374,7 @@ esac
|
|
|
|
|
# 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
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3377: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3378: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3405,7 +3406,7 @@ if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
|
|
|
|
set dummy ranlib; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3409: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3410: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3440,7 +3441,7 @@ fi
|
|
|
|
|
# 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
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3444: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3445: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3472,7 +3473,7 @@ if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "strip", so it can be a program name with args.
|
|
|
|
|
set dummy strip; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3476: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:3477: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3506,7 +3507,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enable_dlopen=yes
|
|
|
|
|
enable_win32_dll=no
|
|
|
|
|
enable_win32_dll=yes
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
|
|
|
|
|
if test "${enable_libtool_lock+set}" = set; then
|
|
|
|
@ -3521,8 +3522,8 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
|
|
|
|
|
case $host in
|
|
|
|
|
*-*-irix6*)
|
|
|
|
|
# Find out which ABI we are using.
|
|
|
|
|
echo '#line 3525 "configure"' > conftest.$ac_ext
|
|
|
|
|
if { (eval echo configure:3526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
echo '#line 3526 "configure"' > conftest.$ac_ext
|
|
|
|
|
if { (eval echo configure:3527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
case `/usr/bin/file conftest.$ac_objext` in
|
|
|
|
|
*32-bit*)
|
|
|
|
|
LD="${LD-ld} -32"
|
|
|
|
@ -3543,7 +3544,7 @@ case $host in
|
|
|
|
|
SAVE_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS -belf"
|
|
|
|
|
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3547: checking whether the C compiler needs -belf" >&5
|
|
|
|
|
echo "configure:3548: checking whether the C compiler needs -belf" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3556,14 +3557,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3560 "configure"
|
|
|
|
|
#line 3561 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:3568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
lt_cv_cc_needs_belf=yes
|
|
|
|
|
else
|
|
|
|
@ -3589,7 +3590,279 @@ echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3598: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test -n "$DLLTOOL"; then
|
|
|
|
|
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
DLLTOOL="$ac_cv_prog_DLLTOOL"
|
|
|
|
|
if test -n "$DLLTOOL"; then
|
|
|
|
|
echo "$ac_t""$DLLTOOL" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test -z "$ac_cv_prog_DLLTOOL"; then
|
|
|
|
|
if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "dlltool", so it can be a program name with args.
|
|
|
|
|
set dummy dlltool; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3630: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test -n "$DLLTOOL"; then
|
|
|
|
|
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
ac_cv_prog_DLLTOOL="dlltool"
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
|
test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
DLLTOOL="$ac_cv_prog_DLLTOOL"
|
|
|
|
|
if test -n "$DLLTOOL"; then
|
|
|
|
|
echo "$ac_t""$DLLTOOL" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
DLLTOOL="false"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}as; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3665: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test -n "$AS"; then
|
|
|
|
|
ac_cv_prog_AS="$AS" # Let the user override the test.
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
ac_cv_prog_AS="${ac_tool_prefix}as"
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
AS="$ac_cv_prog_AS"
|
|
|
|
|
if test -n "$AS"; then
|
|
|
|
|
echo "$ac_t""$AS" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test -z "$ac_cv_prog_AS"; then
|
|
|
|
|
if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "as", so it can be a program name with args.
|
|
|
|
|
set dummy as; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3697: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test -n "$AS"; then
|
|
|
|
|
ac_cv_prog_AS="$AS" # Let the user override the test.
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
ac_cv_prog_AS="as"
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
|
test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
AS="$ac_cv_prog_AS"
|
|
|
|
|
if test -n "$AS"; then
|
|
|
|
|
echo "$ac_t""$AS" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
AS="false"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
|
|
|
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3732: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test -n "$OBJDUMP"; then
|
|
|
|
|
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
OBJDUMP="$ac_cv_prog_OBJDUMP"
|
|
|
|
|
if test -n "$OBJDUMP"; then
|
|
|
|
|
echo "$ac_t""$OBJDUMP" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test -z "$ac_cv_prog_OBJDUMP"; then
|
|
|
|
|
if test -n "$ac_tool_prefix"; then
|
|
|
|
|
# Extract the first word of "objdump", so it can be a program name with args.
|
|
|
|
|
set dummy objdump; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3764: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test -n "$OBJDUMP"; then
|
|
|
|
|
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
ac_cv_prog_OBJDUMP="objdump"
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
|
test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
OBJDUMP="$ac_cv_prog_OBJDUMP"
|
|
|
|
|
if test -n "$OBJDUMP"; then
|
|
|
|
|
echo "$ac_t""$OBJDUMP" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
OBJDUMP="false"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# recent cygwin and mingw systems supply a stub DllMain which the user
|
|
|
|
|
# can override, but on older systems we have to supply one
|
|
|
|
|
echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3800: checking if libtool should supply DllMain function" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3805 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
|
|
|
|
|
DllMain (0, 0, 0);
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
lt_cv_need_dllmain=no
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
lt_cv_need_dllmain=yes
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$lt_cv_need_dllmain" 1>&6
|
|
|
|
|
|
|
|
|
|
case $host/$CC in
|
|
|
|
|
*-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
|
|
|
|
|
# old mingw systems require "-dll" to link a DLL, while more recent ones
|
|
|
|
|
# require "-mdll"
|
|
|
|
|
SAVE_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS -mdll"
|
|
|
|
|
echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3834: checking how to link DLLs" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3839 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
lt_cv_cc_dll_switch=-mdll
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
lt_cv_cc_dll_switch=-dll
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
|
|
|
|
|
CFLAGS="$SAVE_CFLAGS" ;;
|
|
|
|
|
*-*-cygwin* | *-*-pw32*)
|
|
|
|
|
# cygwin systems need to pass --dll to the linker, and not link
|
|
|
|
|
# crt.o which will require a WinMain@16 definition.
|
|
|
|
|
lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
# Sed substitution that helps us do robust quoting. It backslashifies
|
|
|
|
@ -3676,7 +3949,7 @@ set dummy $CC
|
|
|
|
|
compiler="$2"
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for objdir""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3680: checking for objdir" >&5
|
|
|
|
|
echo "configure:3953: checking for objdir" >&5
|
|
|
|
|
rm -f .libs 2>/dev/null
|
|
|
|
|
mkdir .libs 2>/dev/null
|
|
|
|
|
if test -d .libs; then
|
|
|
|
@ -3703,7 +3976,7 @@ test -z "$pic_mode" && pic_mode=default
|
|
|
|
|
# in isolation, and that seeing it set (from the cache) indicates that
|
|
|
|
|
# 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 "configure:3707: checking for $compiler option to produce PIC" >&5
|
|
|
|
|
echo "configure:3980: checking for $compiler option to produce PIC" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3855,21 +4128,21 @@ else
|
|
|
|
|
|
|
|
|
|
# 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 "configure:3859: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
|
|
|
|
|
echo "configure:4132: 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
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3866 "configure"
|
|
|
|
|
#line 4139 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:4146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
case $host_os in
|
|
|
|
|
hpux9* | hpux10* | hpux11*)
|
|
|
|
@ -3921,7 +4194,7 @@ if test -n "$lt_cv_prog_cc_shlib"; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:3925: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
|
|
|
|
|
echo "configure:4198: 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
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3929,14 +4202,14 @@ else
|
|
|
|
|
save_LDFLAGS="$LDFLAGS"
|
|
|
|
|
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 3933 "configure"
|
|
|
|
|
#line 4206 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:3940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:4213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
lt_cv_prog_cc_static_works=yes
|
|
|
|
|
else
|
|
|
|
@ -3963,7 +4236,7 @@ can_build_shared="$lt_cv_prog_cc_can_build_shared"
|
|
|
|
|
|
|
|
|
|
# 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 "configure:3967: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
|
|
|
echo "configure:4240: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -3982,7 +4255,7 @@ chmod -w .
|
|
|
|
|
save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
|
|
|
|
|
compiler_c_o=no
|
|
|
|
|
if { (eval echo configure:3986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
|
|
|
|
|
if { (eval echo configure:4259: \"$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
|
|
|
|
|
# So say no if there are warnings
|
|
|
|
|
if test -s out/conftest.err; then
|
|
|
|
@ -4011,7 +4284,7 @@ echo "$ac_t""$compiler_c_o" 1>&6
|
|
|
|
|
if test x"$compiler_c_o" = x"yes"; then
|
|
|
|
|
# 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 "configure:4015: checking if $compiler supports -c -o file.lo" >&5
|
|
|
|
|
echo "configure:4288: checking if $compiler supports -c -o file.lo" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -4020,14 +4293,14 @@ else
|
|
|
|
|
save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS -c -o conftest.lo"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4024 "configure"
|
|
|
|
|
#line 4297 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
int some_variable = 0;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:4304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
|
# So say no if there are warnings
|
|
|
|
@ -4057,7 +4330,7 @@ hard_links="nottested"
|
|
|
|
|
if test "$compiler_c_o" = no && test "$need_locks" != no; then
|
|
|
|
|
# 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 "configure:4061: checking if we can lock with hard links" >&5
|
|
|
|
|
echo "configure:4334: checking if we can lock with hard links" >&5
|
|
|
|
|
hard_links=yes
|
|
|
|
|
$rm conftest*
|
|
|
|
|
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
|
|
|
@ -4076,20 +4349,20 @@ fi
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|
# 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 "configure:4080: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
|
|
|
|
echo "configure:4353: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
|
|
|
|
echo "int some_variable = 0;" > conftest.$ac_ext
|
|
|
|
|
save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
|
|
|
|
|
compiler_rtti_exceptions=no
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 4086 "configure"
|
|
|
|
|
#line 4359 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
int some_variable = 0;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:4093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:4366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
# The compiler can only warn and ignore the option if not recognized
|
|
|
|
|
# So say no if there are warnings
|
|
|
|
@ -4116,7 +4389,7 @@ fi
|
|
|
|
|
|
|
|
|
|
# See if the linker supports building shared libraries.
|
|
|
|
|
echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4120: checking whether the linker ($LD) supports shared libraries" >&5
|
|
|
|
|
echo "configure:4393: checking whether the linker ($LD) supports shared libraries" >&5
|
|
|
|
|
|
|
|
|
|
allow_undefined_flag=
|
|
|
|
|
no_undefined_flag=
|
|
|
|
@ -4732,7 +5005,7 @@ test "$ld_shlibs" = no && can_build_shared=no
|
|
|
|
|
|
|
|
|
|
# Check hardcoding attributes.
|
|
|
|
|
echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4736: checking how to hardcode library paths into programs" >&5
|
|
|
|
|
echo "configure:5009: checking how to hardcode library paths into programs" >&5
|
|
|
|
|
hardcode_action=
|
|
|
|
|
if test -n "$hardcode_libdir_flag_spec" || \
|
|
|
|
|
test -n "$runpath_var"; then
|
|
|
|
@ -4760,7 +5033,7 @@ echo "$ac_t""$hardcode_action" 1>&6
|
|
|
|
|
striplib=
|
|
|
|
|
old_striplib=
|
|
|
|
|
echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4764: checking whether stripping libraries is possible" >&5
|
|
|
|
|
echo "configure:5037: checking whether stripping libraries is possible" >&5
|
|
|
|
|
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 "$striplib" && striplib="$STRIP --strip-unneeded"
|
|
|
|
@ -4774,7 +5047,7 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
|
|
|
|
|
|
|
|
|
|
# PORTME Fill in your ld.so characteristics
|
|
|
|
|
echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:4778: checking dynamic linker characteristics" >&5
|
|
|
|
|
echo "configure:5051: checking dynamic linker characteristics" >&5
|
|
|
|
|
library_names_spec=
|
|
|
|
|
libname_spec='lib$name'
|
|
|
|
|
soname_spec=
|
|
|
|
@ -5160,7 +5433,7 @@ test "$dynamic_linker" = no && can_build_shared=no
|
|
|
|
|
|
|
|
|
|
# Report the final consequences.
|
|
|
|
|
echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5164: checking if libtool supports shared libraries" >&5
|
|
|
|
|
echo "configure:5437: checking if libtool supports shared libraries" >&5
|
|
|
|
|
echo "$ac_t""$can_build_shared" 1>&6
|
|
|
|
|
|
|
|
|
|
if test "$hardcode_action" = relink; then
|
|
|
|
@ -5199,7 +5472,7 @@ else
|
|
|
|
|
|
|
|
|
|
*)
|
|
|
|
|
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5203: checking for dlopen in -ldl" >&5
|
|
|
|
|
echo "configure:5476: checking for dlopen in -ldl" >&5
|
|
|
|
|
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -5207,7 +5480,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ldl $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5211 "configure"
|
|
|
|
|
#line 5484 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -5218,7 +5491,7 @@ int main() {
|
|
|
|
|
dlopen()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -5237,12 +5510,12 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
echo $ac_n "checking for dlopen""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5241: checking for dlopen" >&5
|
|
|
|
|
echo "configure:5514: checking for dlopen" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5246 "configure"
|
|
|
|
|
#line 5519 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char dlopen(); below. */
|
|
|
|
@ -5265,7 +5538,7 @@ dlopen();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:5542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_dlopen=yes"
|
|
|
|
|
else
|
|
|
|
@ -5283,12 +5556,12 @@ if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
echo $ac_n "checking for shl_load""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5287: checking for shl_load" >&5
|
|
|
|
|
echo "configure:5560: checking for shl_load" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5292 "configure"
|
|
|
|
|
#line 5565 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char shl_load(); below. */
|
|
|
|
@ -5311,7 +5584,7 @@ shl_load();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:5588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_shl_load=yes"
|
|
|
|
|
else
|
|
|
|
@ -5329,7 +5602,7 @@ if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5333: checking for dlopen in -lsvld" >&5
|
|
|
|
|
echo "configure:5606: checking for dlopen in -lsvld" >&5
|
|
|
|
|
ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -5337,7 +5610,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lsvld $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5341 "configure"
|
|
|
|
|
#line 5614 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -5348,7 +5621,7 @@ int main() {
|
|
|
|
|
dlopen()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:5625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -5367,7 +5640,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5371: checking for shl_load in -ldld" >&5
|
|
|
|
|
echo "configure:5644: checking for shl_load in -ldld" >&5
|
|
|
|
|
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -5375,7 +5648,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-ldld $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5379 "configure"
|
|
|
|
|
#line 5652 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -5386,7 +5659,7 @@ int main() {
|
|
|
|
|
shl_load()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:5663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -5439,7 +5712,7 @@ fi
|
|
|
|
|
LIBS="$lt_cv_dlopen_libs $LIBS"
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5443: checking whether a program can dlopen itself" >&5
|
|
|
|
|
echo "configure:5716: checking whether a program can dlopen itself" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -5449,7 +5722,7 @@ else
|
|
|
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
|
|
|
lt_status=$lt_dlunknown
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5453 "configure"
|
|
|
|
|
#line 5726 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#if HAVE_DLFCN_H
|
|
|
|
@ -5510,7 +5783,7 @@ int main ()
|
|
|
|
|
exit (status);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
|
|
|
|
if { (eval echo configure:5787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
|
|
|
|
(./conftest; exit; ) 2>/dev/null
|
|
|
|
|
lt_status=$?
|
|
|
|
|
case x$lt_status in
|
|
|
|
@ -5533,7 +5806,7 @@ echo "$ac_t""$lt_cv_dlopen_self" 1>&6
|
|
|
|
|
if test "x$lt_cv_dlopen_self" = xyes; then
|
|
|
|
|
LDFLAGS="$LDFLAGS $link_static_flag"
|
|
|
|
|
echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5537: checking whether a statically linked program can dlopen itself" >&5
|
|
|
|
|
echo "configure:5810: checking whether a statically linked program can dlopen itself" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -5543,7 +5816,7 @@ else
|
|
|
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
|
|
|
lt_status=$lt_dlunknown
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 5547 "configure"
|
|
|
|
|
#line 5820 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#if HAVE_DLFCN_H
|
|
|
|
@ -5604,7 +5877,7 @@ int main ()
|
|
|
|
|
exit (status);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:5608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
|
|
|
|
if { (eval echo configure:5881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
|
|
|
|
(./conftest; exit; ) 2>/dev/null
|
|
|
|
|
lt_status=$?
|
|
|
|
|
case x$lt_status in
|
|
|
|
@ -5653,14 +5926,14 @@ if test "$enable_shared" = yes && test "$GCC" = yes; then
|
|
|
|
|
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
|
|
|
|
# to ld, don't add -lc before -lgcc.
|
|
|
|
|
echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:5657: checking whether -lc should be explicitly linked in" >&5
|
|
|
|
|
echo "configure:5930: checking whether -lc should be explicitly linked in" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
$rm conftest*
|
|
|
|
|
echo 'static int dummy;' > conftest.$ac_ext
|
|
|
|
|
|
|
|
|
|
if { (eval echo configure:5664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:5937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
soname=conftest
|
|
|
|
|
lib=conftest
|
|
|
|
|
libobjs=conftest.$ac_objext
|
|
|
|
@ -5673,7 +5946,7 @@ else
|
|
|
|
|
libname=conftest
|
|
|
|
|
save_allow_undefined_flag=$allow_undefined_flag
|
|
|
|
|
allow_undefined_flag=
|
|
|
|
|
if { (eval echo configure:5677: \"$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:5950: \"$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
|
|
|
|
|
lt_cv_archive_cmds_need_lc=no
|
|
|
|
|
else
|
|
|
|
@ -6283,17 +6556,17 @@ for ac_hdr in gd.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6287: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:6560: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 6292 "configure"
|
|
|
|
|
#line 6565 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:6297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:6570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -6314,7 +6587,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
|
|
|
#define $ac_tr_hdr 1
|
|
|
|
|
EOF
|
|
|
|
|
echo $ac_n "checking for gdImageCreate in -lgd""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6318: checking for gdImageCreate in -lgd" >&5
|
|
|
|
|
echo "configure:6591: checking for gdImageCreate in -lgd" >&5
|
|
|
|
|
ac_lib_var=`echo gd'_'gdImageCreate | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -6322,7 +6595,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lgd $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 6326 "configure"
|
|
|
|
|
#line 6599 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -6333,7 +6606,7 @@ int main() {
|
|
|
|
|
gdImageCreate()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:6610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -6363,12 +6636,12 @@ fi
|
|
|
|
|
for ac_func in gdImageCreate
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6367: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:6640: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 6372 "configure"
|
|
|
|
|
#line 6645 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -6391,7 +6664,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:6395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:6668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -6423,7 +6696,7 @@ fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for png_write_data in -lgd""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6427: checking for png_write_data in -lgd" >&5
|
|
|
|
|
echo "configure:6700: checking for png_write_data in -lgd" >&5
|
|
|
|
|
ac_lib_var=`echo gd'_'png_write_data | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -6431,7 +6704,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lgd $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 6435 "configure"
|
|
|
|
|
#line 6708 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -6442,7 +6715,7 @@ int main() {
|
|
|
|
|
png_write_data()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:6446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:6719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -6470,7 +6743,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for uncompress in -lz""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6474: checking for uncompress in -lz" >&5
|
|
|
|
|
echo "configure:6747: checking for uncompress in -lz" >&5
|
|
|
|
|
ac_lib_var=`echo z'_'uncompress | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -6478,7 +6751,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lz $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 6482 "configure"
|
|
|
|
|
#line 6755 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -6489,7 +6762,7 @@ int main() {
|
|
|
|
|
uncompress()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:6493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
if { (eval echo configure:6766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -6534,17 +6807,17 @@ for ac_hdr in linradio/radio_ioctl.h linradio/wrapi.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6538: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:6811: checking for $ac_hdr" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 6543 "configure"
|
|
|
|
|
#line 6816 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:6548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
{ (eval echo configure:6821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
|
|
|
if test -z "$ac_err"; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
@ -6807,6 +7080,7 @@ s%@build_vendor@%$build_vendor%g
|
|
|
|
|
s%@build_os@%$build_os%g
|
|
|
|
|
s%@ECHO@%$ECHO%g
|
|
|
|
|
s%@STRIP@%$STRIP%g
|
|
|
|
|
s%@OBJDUMP@%$OBJDUMP%g
|
|
|
|
|
s%@LIBTOOL@%$LIBTOOL%g
|
|
|
|
|
s%@subdirs@%$subdirs%g
|
|
|
|
|
s%@WANTRIGMATRIX_TRUE@%$WANTRIGMATRIX_TRUE%g
|
|
|
|
|