kopia lustrzana https://github.com/Hamlib/Hamlib
search tcl headers in tcl dir, enter bindings only if there's someting to do
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1961 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.4
rodzic
81d9a7b369
commit
98971567e5
|
@ -269,8 +269,12 @@ dnl Check for tcl-dev availability, so we can enable HamlibTCL
|
||||||
SC_PATH_TCLCONFIG
|
SC_PATH_TCLCONFIG
|
||||||
if test x"${no_tcl}" = x; then
|
if test x"${no_tcl}" = x; then
|
||||||
SC_LOAD_TCLCONFIG
|
SC_LOAD_TCLCONFIG
|
||||||
|
tcl_save_CPPFLAGS=$CPPFLAGS
|
||||||
|
echo $TCL_INCLUDE_SPEC
|
||||||
|
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
|
||||||
AC_CHECK_HEADERS([tcl.h],
|
AC_CHECK_HEADERS([tcl.h],
|
||||||
[cf_with_tcl=yes])
|
[cf_with_tcl=yes])
|
||||||
|
CPPFLAGS=$tcl_save_CPPFLAGS
|
||||||
else
|
else
|
||||||
cf_with_tcl=no
|
cf_with_tcl=no
|
||||||
fi
|
fi
|
||||||
|
@ -404,7 +408,7 @@ then
|
||||||
cf_with_bindings=no
|
cf_with_bindings=no
|
||||||
|
|
||||||
SWIG_PROG(1.3.14)
|
SWIG_PROG(1.3.14)
|
||||||
if test "${SWIG}" != "false" ; then
|
if test "${SWIG}" != "false" -a "x${BINDING_ALL}" != "x"; then
|
||||||
BINDINGS="${BINDINGS} bindings"
|
BINDINGS="${BINDINGS} bindings"
|
||||||
cf_with_bindings=yes
|
cf_with_bindings=yes
|
||||||
fi
|
fi
|
||||||
|
|
Ładowanie…
Reference in New Issue