| 1 |
dnl $Id: configure.in,v 1.2 2000/11/03 00:43:33 idiscovery Exp $ |
| 2 |
dnl This file is an input file used by the GNU "autoconf" program to |
| 3 |
dnl generate the file "configure", which is run to configure the |
| 4 |
dnl Makefile in this directory. |
| 5 |
|
| 6 |
AC_INIT(../generic/tixInit.c) |
| 7 |
|
| 8 |
AC_PROG_INSTALL |
| 9 |
AC_PROG_MAKE_SET |
| 10 |
AC_SUBST(SHELL) |
| 11 |
|
| 12 |
#---------------------------------------------------------------------- |
| 13 |
# We don't want to use any relative path because we need to generate |
| 14 |
# Makefile's in subdirectories |
| 15 |
#---------------------------------------------------------------------- |
| 16 |
if test "$INSTALL" = "./install.sh"; then |
| 17 |
INSTALL=`pwd`/install.sh |
| 18 |
fi |
| 19 |
SRC_DIR=`cd ${srcdir}/..; pwd` |
| 20 |
AC_SUBST(SRC_DIR) |
| 21 |
|
| 22 |
# Check for Tcl and Tk. |
| 23 |
CYG_AC_PATH_TCLCONFIG |
| 24 |
CYG_AC_LOAD_TCLCONFIG |
| 25 |
CYG_AC_PATH_TKCONFIG |
| 26 |
CYG_AC_LOAD_TKCONFIG |
| 27 |
CYG_AC_PATH_TCLH |
| 28 |
# FIXME: consider only doing this if --with-x given. |
| 29 |
CYG_AC_PATH_TKH |
| 30 |
|
| 31 |
TIX_VERSION=8.1 |
| 32 |
AC_SUBST(TIX_VERSION) |
| 33 |
AC_SUBST(TCL_PACKAGE_PATH) |
| 34 |
|
| 35 |
AC_OUTPUT(Makefile) |