35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
AC_MSG_CHECKING([for working tclConfig.sh])
if test -f "$TCLCONFIGPATH/tclConfig.sh"; then
. "$TCLCONFIGPATH/tclConfig.sh"
else
AC_MSG_ERROR([unable to load tclConfig.sh])
fi
AC_MSG_RESULT([found])
])
AC_DEFUN(TCLEXT_INIT, [
AC_CANONICAL_HOST
|
>
|
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
AC_MSG_CHECKING([for working tclConfig.sh])
if test -f "$TCLCONFIGPATH/tclConfig.sh"; then
. "$TCLCONFIGPATH/tclConfig.sh"
else
AC_MSG_ERROR([unable to load tclConfig.sh])
fi
AC_MSG_RESULT([found])
])
AC_DEFUN(TCLEXT_INIT, [
AC_CANONICAL_HOST
|
63
64
65
66
67
68
69
70
71
72
|
fi
TCL_INCLUDE_SPEC="`eval echo "${TCL_INCLUDE_SPEC}"`"
CFLAGS="${CFLAGS} ${TCL_INCLUDE_SPEC}"
CPPFLAGS="${CPPFLAGS} ${TCL_INCLUDE_SPEC}"
DEFS="${DEFS} ${TCL_DEFS}"
AC_SUBST(LIBS)
])
|
>
>
>
|
64
65
66
67
68
69
70
71
72
73
74
75
76
|
fi
TCL_INCLUDE_SPEC="`eval echo "${TCL_INCLUDE_SPEC}"`"
CFLAGS="${CFLAGS} ${TCL_INCLUDE_SPEC}"
CPPFLAGS="${CPPFLAGS} ${TCL_INCLUDE_SPEC}"
DEFS="${DEFS} ${TCL_DEFS}"
dnl Needed for package installation
AC_SUBST(TCL_PACKAGE_PATH)
AC_SUBST(LIBS)
])
|