Differences From Artifact [ea43bce0fb]:
- File
kitsh/buildsrc/kitsh-0.0/configure.ac
— 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: 725) [annotate] [blame] [check-ins using]
To Artifact [3b08b8978d]:
- File kitsh/buildsrc/kitsh-0.0/configure.ac — part of check-in [399b8095e3] at 2010-09-26 04:38:35 on branch trunk — Updated to use public interface for SetStartupScript/GetStartupScript if it is found, otherwise use the old interface. (user: rkeene, size: 944) [annotate] [blame] [check-ins using]
︙ | |||
18 19 20 21 22 23 24 25 26 27 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | + + + + + + | dnl Find archives we need to link to DC_FIND_TCLKIT_LIBS 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 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) |