Artifact f5d520c4b91de9106e07180cc4c374bc8b636584:
- File
kitsh/buildsrc/kitsh-0.0/configure.ac
— part of check-in
[ea89461e7c]
at
2010-09-26 04:38:55
on branch trunk
— Updated to check for define subprojects working as found
Updated to only link against C++ libs if Mk4tcl worked
Updated to check for MK4TCL available before referencing it
Added SunStudio C++ libraries (user: rkeene, size: 855) [annotate] [blame] [check-ins using]
dnl What are we running AC_INIT(kitsh, 0.0) AC_CONFIG_HEADER(config.h) dnl Checks for programs. AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_INSTALL AC_AIX AC_GNU_SOURCE dnl Find the appropriate libraries to link to AC_SEARCH_LIBS(inflate, z zlib,, [ AC_MSG_WARN([Couldn't find inflate (normally in zlib)!]) ]) AC_SEARCH_LIBS(acos, m,, [ AC_MSG_WARN([Couldn't find acos (normally in libm)!]) ]) AC_SEARCH_LIBS(dlsym, dl,, [ AC_MSG_WARN([Couldn't find dlsym (normally in libdl)!]) ]) dnl Find the appropriate Tcl headers and libraries DC_DO_TCL dnl Find archives we need to link to DC_FIND_TCLKIT_LIBS dnl Determine if we have "Tcl_SetStartupScript" (8.6.x) or "TclSetStartupScriptPath" (8.4.x) SAVE_LIBS="${LIBS}" LIBS="${ARCHS} ${LIBS}" AC_CHECK_FUNCS(Tcl_SetStartupScript TclSetStartupScriptPath) LIBS="${SAVE_LIBS}" dnl Produce output AC_OUTPUT(Makefile)