mysterious fix coming from libtool mailing list, to workaround an obscure problem on Darwin systems

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@711 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.3
Stéphane Fillod, F8CFE 2001-11-10 20:54:33 +00:00
rodzic b04f41b668
commit b9c98f5460
3 zmienionych plików z 784 dodań i 778 usunięć

Wyświetl plik

@ -1580,7 +1580,9 @@ else
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
# Hack from libtool mailing list to workaround a problem on Darwin --SF
# archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
archive_cmds='$nonopt $(test x$module = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $linker_flags -install_name $rpath/$soname $verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes

1342
aclocal.m4 vendored

Plik diff jest za duży Load Diff

216
configure vendored
Wyświetl plik

@ -7712,7 +7712,9 @@ else
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
# Hack from libtool mailing list to workaround a problem on Darwin --SF
# archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
archive_cmds='$nonopt $(test x$module = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $linker_flags -install_name $rpath/$soname $verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
@ -7996,12 +7998,12 @@ EOF
;;
esac
fi
echo "$as_me:7999: result: $ld_shlibs" >&5
echo "$as_me:8001: result: $ld_shlibs" >&5
echo "${ECHO_T}$ld_shlibs" >&6
test "$ld_shlibs" = no && can_build_shared=no
# Check hardcoding attributes.
echo "$as_me:8004: checking how to hardcode library paths into programs" >&5
echo "$as_me:8006: checking how to hardcode library paths into programs" >&5
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
hardcode_action=
if test -n "$hardcode_libdir_flag_spec" || \
@ -8025,20 +8027,20 @@ else
# directories.
hardcode_action=unsupported
fi
echo "$as_me:8028: result: $hardcode_action" >&5
echo "$as_me:8030: result: $hardcode_action" >&5
echo "${ECHO_T}$hardcode_action" >&6
striplib=
old_striplib=
echo "$as_me:8033: checking whether stripping libraries is possible" >&5
echo "$as_me:8035: checking whether stripping libraries is possible" >&5
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
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"
echo "$as_me:8038: result: yes" >&5
echo "$as_me:8040: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me:8041: result: no" >&5
echo "$as_me:8043: result: no" >&5
echo "${ECHO_T}no" >&6
fi
@ -8046,7 +8048,7 @@ reload_cmds='$LD$reload_flag -o $output$reload_objs'
test -z "$deplibs_check_method" && deplibs_check_method=unknown
# PORTME Fill in your ld.so characteristics
echo "$as_me:8049: checking dynamic linker characteristics" >&5
echo "$as_me:8051: checking dynamic linker characteristics" >&5
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
library_names_spec=
libname_spec='lib$name'
@ -8439,17 +8441,17 @@ sysv4*MP*)
dynamic_linker=no
;;
esac
echo "$as_me:8442: result: $dynamic_linker" >&5
echo "$as_me:8444: result: $dynamic_linker" >&5
echo "${ECHO_T}$dynamic_linker" >&6
test "$dynamic_linker" = no && can_build_shared=no
# Report the final consequences.
echo "$as_me:8447: checking if libtool supports shared libraries" >&5
echo "$as_me:8449: checking if libtool supports shared libraries" >&5
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
echo "$as_me:8449: result: $can_build_shared" >&5
echo "$as_me:8451: result: $can_build_shared" >&5
echo "${ECHO_T}$can_build_shared" >&6
echo "$as_me:8452: checking whether to build shared libraries" >&5
echo "$as_me:8454: checking whether to build shared libraries" >&5
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
test "$can_build_shared" = "no" && enable_shared=no
@ -8470,14 +8472,14 @@ aix4*)
fi
;;
esac
echo "$as_me:8473: result: $enable_shared" >&5
echo "$as_me:8475: result: $enable_shared" >&5
echo "${ECHO_T}$enable_shared" >&6
echo "$as_me:8476: checking whether to build static libraries" >&5
echo "$as_me:8478: checking whether to build static libraries" >&5
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
# Make sure either enable_shared or enable_static is yes.
test "$enable_shared" = yes || enable_static=yes
echo "$as_me:8480: result: $enable_static" >&5
echo "$as_me:8482: result: $enable_static" >&5
echo "${ECHO_T}$enable_static" >&6
if test "$hardcode_action" = relink; then
@ -8515,13 +8517,13 @@ else
;;
*)
echo "$as_me:8518: checking for shl_load" >&5
echo "$as_me:8520: checking for shl_load" >&5
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
if test "${ac_cv_func_shl_load+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line 8524 "configure"
#line 8526 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shl_load (); below. */
@ -8552,16 +8554,16 @@ f = shl_load;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8555: \"$ac_link\"") >&5
if { (eval echo "$as_me:8557: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:8558: \$? = $ac_status" >&5
echo "$as_me:8560: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:8561: \"$ac_try\"") >&5
{ (eval echo "$as_me:8563: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:8564: \$? = $ac_status" >&5
echo "$as_me:8566: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_shl_load=yes
else
@ -8571,12 +8573,12 @@ ac_cv_func_shl_load=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:8574: result: $ac_cv_func_shl_load" >&5
echo "$as_me:8576: result: $ac_cv_func_shl_load" >&5
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
if test $ac_cv_func_shl_load = yes; then
lt_cv_dlopen="shl_load"
else
echo "$as_me:8579: checking for shl_load in -ldld" >&5
echo "$as_me:8581: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -8584,7 +8586,7 @@ else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 8587 "configure"
#line 8589 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@ -8603,16 +8605,16 @@ shl_load ();
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8606: \"$ac_link\"") >&5
if { (eval echo "$as_me:8608: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:8609: \$? = $ac_status" >&5
echo "$as_me:8611: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:8612: \"$ac_try\"") >&5
{ (eval echo "$as_me:8614: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:8615: \$? = $ac_status" >&5
echo "$as_me:8617: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_dld_shl_load=yes
else
@ -8623,18 +8625,18 @@ fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:8626: result: $ac_cv_lib_dld_shl_load" >&5
echo "$as_me:8628: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
if test $ac_cv_lib_dld_shl_load = yes; then
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
else
echo "$as_me:8631: checking for dlopen" >&5
echo "$as_me:8633: checking for dlopen" >&5
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
if test "${ac_cv_func_dlopen+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line 8637 "configure"
#line 8639 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dlopen (); below. */
@ -8665,16 +8667,16 @@ f = dlopen;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8668: \"$ac_link\"") >&5
if { (eval echo "$as_me:8670: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:8671: \$? = $ac_status" >&5
echo "$as_me:8673: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:8674: \"$ac_try\"") >&5
{ (eval echo "$as_me:8676: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:8677: \$? = $ac_status" >&5
echo "$as_me:8679: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_dlopen=yes
else
@ -8684,12 +8686,12 @@ ac_cv_func_dlopen=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:8687: result: $ac_cv_func_dlopen" >&5
echo "$as_me:8689: result: $ac_cv_func_dlopen" >&5
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
if test $ac_cv_func_dlopen = yes; then
lt_cv_dlopen="dlopen"
else
echo "$as_me:8692: checking for dlopen in -ldl" >&5
echo "$as_me:8694: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -8697,7 +8699,7 @@ else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 8700 "configure"
#line 8702 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@ -8716,16 +8718,16 @@ dlopen ();
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8719: \"$ac_link\"") >&5
if { (eval echo "$as_me:8721: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:8722: \$? = $ac_status" >&5
echo "$as_me:8724: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:8725: \"$ac_try\"") >&5
{ (eval echo "$as_me:8727: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:8728: \$? = $ac_status" >&5
echo "$as_me:8730: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_dl_dlopen=yes
else
@ -8736,12 +8738,12 @@ fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:8739: result: $ac_cv_lib_dl_dlopen" >&5
echo "$as_me:8741: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
if test $ac_cv_lib_dl_dlopen = yes; then
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
else
echo "$as_me:8744: checking for dlopen in -lsvld" >&5
echo "$as_me:8746: checking for dlopen in -lsvld" >&5
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -8749,7 +8751,7 @@ else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lsvld $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 8752 "configure"
#line 8754 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@ -8768,16 +8770,16 @@ dlopen ();
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8771: \"$ac_link\"") >&5
if { (eval echo "$as_me:8773: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:8774: \$? = $ac_status" >&5
echo "$as_me:8776: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:8777: \"$ac_try\"") >&5
{ (eval echo "$as_me:8779: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:8780: \$? = $ac_status" >&5
echo "$as_me:8782: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_svld_dlopen=yes
else
@ -8788,12 +8790,12 @@ fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:8791: result: $ac_cv_lib_svld_dlopen" >&5
echo "$as_me:8793: result: $ac_cv_lib_svld_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
if test $ac_cv_lib_svld_dlopen = yes; then
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
else
echo "$as_me:8796: checking for dld_link in -ldld" >&5
echo "$as_me:8798: checking for dld_link in -ldld" >&5
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -8801,7 +8803,7 @@ else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 8804 "configure"
#line 8806 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@ -8820,16 +8822,16 @@ dld_link ();
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:8823: \"$ac_link\"") >&5
if { (eval echo "$as_me:8825: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:8826: \$? = $ac_status" >&5
echo "$as_me:8828: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:8829: \"$ac_try\"") >&5
{ (eval echo "$as_me:8831: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:8832: \$? = $ac_status" >&5
echo "$as_me:8834: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_dld_dld_link=yes
else
@ -8840,7 +8842,7 @@ fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:8843: result: $ac_cv_lib_dld_dld_link" >&5
echo "$as_me:8845: result: $ac_cv_lib_dld_dld_link" >&5
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
if test $ac_cv_lib_dld_dld_link = yes; then
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
@ -8876,7 +8878,7 @@ fi
save_LIBS="$LIBS"
LIBS="$lt_cv_dlopen_libs $LIBS"
echo "$as_me:8879: checking whether a program can dlopen itself" >&5
echo "$as_me:8881: checking whether a program can dlopen itself" >&5
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
if test "${lt_cv_dlopen_self+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -8887,7 +8889,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 8890 "configure"
#line 8892 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -8948,10 +8950,10 @@ int main ()
exit (status);
}
EOF
if { (eval echo "$as_me:8951: \"$ac_link\"") >&5
if { (eval echo "$as_me:8953: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:8954: \$? = $ac_status" >&5
echo "$as_me:8956: \$? = $ac_status" >&5
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
(./conftest; exit; ) 2>/dev/null
lt_status=$?
@ -8968,12 +8970,12 @@ fi
rm -fr conftest*
fi
echo "$as_me:8971: result: $lt_cv_dlopen_self" >&5
echo "$as_me:8973: result: $lt_cv_dlopen_self" >&5
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
if test "x$lt_cv_dlopen_self" = xyes; then
LDFLAGS="$LDFLAGS $link_static_flag"
echo "$as_me:8976: checking whether a statically linked program can dlopen itself" >&5
echo "$as_me:8978: checking whether a statically linked program can dlopen itself" >&5
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
if test "${lt_cv_dlopen_self_static+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -8984,7 +8986,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 8987 "configure"
#line 8989 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -9045,10 +9047,10 @@ int main ()
exit (status);
}
EOF
if { (eval echo "$as_me:9048: \"$ac_link\"") >&5
if { (eval echo "$as_me:9050: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:9051: \$? = $ac_status" >&5
echo "$as_me:9053: \$? = $ac_status" >&5
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
(./conftest; exit; ) 2>/dev/null
lt_status=$?
@ -9065,7 +9067,7 @@ fi
rm -fr conftest*
fi
echo "$as_me:9068: result: $lt_cv_dlopen_self_static" >&5
echo "$as_me:9070: result: $lt_cv_dlopen_self_static" >&5
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
fi
@ -9095,7 +9097,7 @@ if test "$enable_shared" = yes && test "$GCC" = yes; then
# Test whether the compiler implicitly links with -lc since on some
# systems, -lgcc has to come before -lc. If gcc already passes -lc
# to ld, don't add -lc before -lgcc.
echo "$as_me:9098: checking whether -lc should be explicitly linked in" >&5
echo "$as_me:9100: checking whether -lc should be explicitly linked in" >&5
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -9103,10 +9105,10 @@ else
$rm conftest*
echo 'static int dummy;' > conftest.$ac_ext
if { (eval echo "$as_me:9106: \"$ac_compile\"") >&5
if { (eval echo "$as_me:9108: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:9109: \$? = $ac_status" >&5
echo "$as_me:9111: \$? = $ac_status" >&5
(exit $ac_status); }; then
soname=conftest
lib=conftest
@ -9120,10 +9122,10 @@ else
libname=conftest
save_allow_undefined_flag=$allow_undefined_flag
allow_undefined_flag=
if { (eval echo "$as_me:9123: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
if { (eval echo "$as_me:9125: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
ac_status=$?
echo "$as_me:9126: \$? = $ac_status" >&5
echo "$as_me:9128: \$? = $ac_status" >&5
(exit $ac_status); }
then
lt_cv_archive_cmds_need_lc=no
@ -9136,7 +9138,7 @@ else
fi
fi
echo "$as_me:9139: result: $lt_cv_archive_cmds_need_lc" >&5
echo "$as_me:9141: result: $lt_cv_archive_cmds_need_lc" >&5
echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
;;
esac
@ -9709,7 +9711,7 @@ if test "${enable_rigmatrix+set}" = set; then
case "${enableval}" in
yes) wantrigmatrix=true ;;
no) wantrigmatrix=false ;;
*) { { echo "$as_me:9712: error: bad value ${enableval} for --enable-rigmatrix" >&5
*) { { echo "$as_me:9714: error: bad value ${enableval} for --enable-rigmatrix" >&5
echo "$as_me: error: bad value ${enableval} for --enable-rigmatrix" >&2;}
{ (exit 1); exit 1; }; } ;;
esac
@ -9730,23 +9732,23 @@ if test "x${wantrigmatrix}" != "xfalse"; then
for ac_header in gd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:9733: checking for $ac_header" >&5
echo "$as_me:9735: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line 9739 "configure"
#line 9741 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:9743: \"$ac_cpp conftest.$ac_ext\"") >&5
if { (eval echo "$as_me:9745: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:9749: \$? = $ac_status" >&5
echo "$as_me:9751: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@ -9765,13 +9767,13 @@ else
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:9768: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "$as_me:9770: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<EOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
EOF
echo "$as_me:9774: checking for gdImageCreate in -lgd" >&5
echo "$as_me:9776: checking for gdImageCreate in -lgd" >&5
echo $ECHO_N "checking for gdImageCreate in -lgd... $ECHO_C" >&6
if test "${ac_cv_lib_gd_gdImageCreate+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@ -9779,7 +9781,7 @@ else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lgd -lz $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 9782 "configure"
#line 9784 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
@ -9798,16 +9800,16 @@ gdImageCreate ();
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:9801: \"$ac_link\"") >&5
if { (eval echo "$as_me:9803: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:9804: \$? = $ac_status" >&5
echo "$as_me:9806: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:9807: \"$ac_try\"") >&5
{ (eval echo "$as_me:9809: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:9810: \$? = $ac_status" >&5
echo "$as_me:9812: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_gd_gdImageCreate=yes
else
@ -9818,7 +9820,7 @@ fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:9821: result: $ac_cv_lib_gd_gdImageCreate" >&5
echo "$as_me:9823: result: $ac_cv_lib_gd_gdImageCreate" >&5
echo "${ECHO_T}$ac_cv_lib_gd_gdImageCreate" >&6
if test $ac_cv_lib_gd_gdImageCreate = yes; then
enable_rigmatrix=yes
@ -9844,23 +9846,23 @@ fi
for ac_header in tcl8.2/tcl.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:9847: checking for $ac_header" >&5
echo "$as_me:9849: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line 9853 "configure"
#line 9855 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:9857: \"$ac_cpp conftest.$ac_ext\"") >&5
if { (eval echo "$as_me:9859: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *\+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:9863: \$? = $ac_status" >&5
echo "$as_me:9865: \$? = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
@ -9879,7 +9881,7 @@ else
fi
rm -f conftest.err conftest.$ac_ext
fi
echo "$as_me:9882: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "$as_me:9884: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<EOF
@ -10024,7 +10026,7 @@ DEFS=-DHAVE_CONFIG_H
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:10027: creating $CONFIG_STATUS" >&5
{ echo "$as_me:10029: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
@ -10200,7 +10202,7 @@ cat >>$CONFIG_STATUS <<\EOF
echo "$ac_cs_version"; exit 0 ;;
--he | --h)
# Conflict between --help and --header
{ { echo "$as_me:10203: error: ambiguous option: $1
{ { echo "$as_me:10205: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
@ -10219,7 +10221,7 @@ Try \`$0 --help' for more information." >&2;}
ac_need_defaults=false;;
# This is an error.
-*) { { echo "$as_me:10222: error: unrecognized option: $1
-*) { { echo "$as_me:10224: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
@ -10289,7 +10291,7 @@ do
"hamlib.spec" ) CONFIG_FILES="$CONFIG_FILES hamlib.spec" ;;
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
"include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
*) { { echo "$as_me:10292: error: invalid argument: $ac_config_target" >&5
*) { { echo "$as_me:10294: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
esac
@ -10559,7 +10561,7 @@ done; }
esac
if test x"$ac_file" != x-; then
{ echo "$as_me:10562: creating $ac_file" >&5
{ echo "$as_me:10564: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
@ -10577,7 +10579,7 @@ echo "$as_me: creating $ac_file" >&6;}
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
test -f "$f" || { { echo "$as_me:10580: error: cannot find input file: $f" >&5
test -f "$f" || { { echo "$as_me:10582: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
@ -10590,7 +10592,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
echo $srcdir/$f
else
# /dev/null tree
{ { echo "$as_me:10593: error: cannot find input file: $f" >&5
{ { echo "$as_me:10595: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
@ -10651,7 +10653,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
* ) ac_file_in=$ac_file.in ;;
esac
test x"$ac_file" != x- && { echo "$as_me:10654: creating $ac_file" >&5
test x"$ac_file" != x- && { echo "$as_me:10656: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
# First look for the input files in the build tree, otherwise in the
@ -10662,7 +10664,7 @@ echo "$as_me: creating $ac_file" >&6;}
-) echo $tmp/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
test -f "$f" || { { echo "$as_me:10665: error: cannot find input file: $f" >&5
test -f "$f" || { { echo "$as_me:10667: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
@ -10675,7 +10677,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
echo $srcdir/$f
else
# /dev/null tree
{ { echo "$as_me:10678: error: cannot find input file: $f" >&5
{ { echo "$as_me:10680: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
@ -10792,7 +10794,7 @@ cat >>$CONFIG_STATUS <<\EOF
rm -f $tmp/in
if test x"$ac_file" != x-; then
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
{ echo "$as_me:10795: $ac_file is unchanged" >&5
{ echo "$as_me:10797: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
else
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
@ -10954,7 +10956,7 @@ if test "$no_recursion" != yes; then
# parts of a large source tree are present.
test -d $srcdir/$ac_subdir || continue
{ echo "$as_me:10957: configuring in $ac_subdir" >&5
{ echo "$as_me:10959: configuring in $ac_subdir" >&5
echo "$as_me: configuring in $ac_subdir" >&6;}
case $srcdir in
.) ;;
@ -10976,7 +10978,7 @@ done; }
if test -d ./$ac_subdir; then :;
else
{ { echo "$as_me:10979: error: cannot create \`pwd\`/$ac_subdir" >&5
{ { echo "$as_me:10981: error: cannot create \`pwd\`/$ac_subdir" >&5
echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
{ (exit 1); exit 1; }; }
fi
@ -11007,7 +11009,7 @@ echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
elif test -f $ac_sub_srcdir/configure.in; then
ac_sub_configure=$ac_configure
else
{ echo "$as_me:11010: WARNING: no configuration information is in $ac_subdir" >&5
{ echo "$as_me:11012: WARNING: no configuration information is in $ac_subdir" >&5
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
ac_sub_configure=
fi
@ -11021,12 +11023,12 @@ echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
ac_sub_cache_file=$ac_dots$cache_file ;;
esac
{ echo "$as_me:11024: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
{ echo "$as_me:11026: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
# The eval makes quoting arguments work.
eval $ac_sub_configure $ac_sub_configure_args \
--cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
{ { echo "$as_me:11029: error: $ac_sub_configure failed for $ac_subdir" >&5
{ { echo "$as_me:11031: error: $ac_sub_configure failed for $ac_subdir" >&5
echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
{ (exit 1); exit 1; }; }
fi