Differences From Artifact [03a71efe74]:
- File kitsh/buildsrc/kitsh-0.0/aclocal.m4 — part of check-in [291050ca78] at 2010-09-26 04:38:04 on branch trunk — Corrected typo (user: rkeene, size: 1249) [annotate] [blame] [check-ins using]
To Artifact [c2b5bbda30]:
- File
kitsh/buildsrc/kitsh-0.0/aclocal.m4
— part of check-in
[cacf7999db]
at
2010-09-26 04:38:10
on branch trunk
— Updated to find libraries to link to dynamically
Updated to add "unix" directory to header search path (user: rkeene, size: 1600) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
22 23 24 25 26 27 28 |
else
tclconfigsh="${with_tcl}/tclConfig.sh"
fi
if test -f "${tclconfigsh}"; then
source "${tclconfigsh}"
| | | | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
else
tclconfigsh="${with_tcl}/tclConfig.sh"
fi
if test -f "${tclconfigsh}"; then
source "${tclconfigsh}"
CFLAGS="${CFLAGS} ${TCL_INCLUDE_SPEC} -I${TCL_SRC_DIR}/generic -I${TCL_SRC_DIR}/unix"
CPPFLAGS="${CPPFLAGS} ${TCL_INCLUDE_SPEC} -I${TCL_SRC_DIR}/generic -I${TCL_SRC_DIR}/unix"
LDFLAGS="${LDFLAGS}"
LIBS="${LIBS} ${TCL_LIBS}"
fi
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
|
| ︙ | ︙ | |||
46 47 48 49 50 51 52 |
STATICLIBCXX="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic"
LIBS="${LIBS} ${STATICLIBCXX}"
AC_SUBST(LIBS)
AC_MSG_RESULT([${STATICLIBCXX}])
])
| > > > > > > > > > > > > > > > | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
STATICLIBCXX="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic"
LIBS="${LIBS} ${STATICLIBCXX}"
AC_SUBST(LIBS)
AC_MSG_RESULT([${STATICLIBCXX}])
])
AC_DEFUN(DC_FIND_TCLKIT_LIBS, [
for proj in mk4tcl tcl tclvfs; do
AC_MSG_CHECKING([for libraries required for ${proj}])
libdir="../../../${proj}/inst"
libfiles="`find "${libdir}" -name '*.a' | tr "\n" ' '`"
ARCHS="${ARCHS} ${libfiles}"
AC_MSG_RESULT([${libfiles}])
done
AC_SUBST(ARCHS)
])
|