Overview
| Artifact ID: | 95224d0d7bc5ce5e620ef185590685327cc2d50e |
|---|---|
| Ticket: | 1631922fffffffffffffffffffffffffffffffff
TEA should check actual existence of private headers |
| User & Date: | petasis on 2007-02-09 19:49:33 |
Changes
- icomment:
Logged In: YES user_id=92283 Originator: NO The changes made in tcl.m4 to close this bug are not appropriate. In fact, the smaplextension now fails at least under fedora core 6: The changes should be: Instead of: if test ! -d "${TK_SRC_DIR}/tkInt.h" ; then AC_MSG_ERROR([Cannot find private header tkInt.h in ${TK_SRC_DIR}]) fi Should be: if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then AC_MSG_ERROR([Cannot find private header tkInt.h in ${TK_SRC_DIR}]) fi Why? a) test -d checks for existence of directories. Not for single file. It will return false, even if the file is there. In my system, only test -f works when the file is there... b) We should also put /generic/<file>, as TK_SRC_SIR in tkConfig.h should point to the root of the sources, and not in the generic directory. If you set TK_SRC_SIR to include generic (to force configure to not fail), you end up ith generic/generic/ in includes :-( Of course, the same must be changed also for tclInt.h... Can you please fix this? - login: "petasis"
- mimetype: "text/plain"
- username: "petasis"