-
Notifications
You must be signed in to change notification settings - Fork 2
/
configure.in
46 lines (35 loc) · 1.11 KB
/
configure.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
dnl Process this file with autoconf to produce a configure script.
AC_INIT(db2tcl, 0.0.3, [email protected])
AC_CONFIG_SRCDIR([config.h.in])
AM_INIT_AUTOMAKE(db2tcl, 0.0.3, [email protected])
AM_INIT_AUTOMAKE([1.5 dist-bzip2])
AM_CONFIG_HEADER([config.h])
AM_MAINTAINER_MODE
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
AC_ISC_POSIX
dnl Checks for libraries.
AM_DISABLE_STATIC
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
dnl Checks for header files.
AC_HEADER_STDC
dnl Checks for typedefs, structures, and compiler characteristics.
SC_PATH_TCLCONFIG
SC_LOAD_TCLCONFIG
SC_PATH_TKCONFIG
SC_LOAD_TKCONFIG
AC_WITH_IBM_DB2
dnl Checks for library functions.
AC_SEARCH_LIBS(sqlurlog_api, db2 db2e, ,
AC_MSG_ERROR(No IBM DB2 libraries found!))
dnl AC_SEARCH_LIBS(Tcl_Init, tcl8.3 tcl8.2 tcl8.1 tcl8.0 tcl, ,
dnl AC_MSG_WARN(the Tcl library, ))
dnl AC_SEARCH_LIBS(Tk_Init, tk8.3 tk8.2 tk8.1 tk8.0 tk, ,
dnl AC_MSG_WARN(the Tk library, ))
AC_SUBST(VERSION)
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile tests/Makefile mkIndex.tcl db2tcl.spec])
AC_OUTPUT