diff options
Diffstat (limited to 'tix/unix/configure.in')
-rw-r--r-- | tix/unix/configure.in | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tix/unix/configure.in b/tix/unix/configure.in new file mode 100644 index 00000000000..a837f7574d6 --- /dev/null +++ b/tix/unix/configure.in @@ -0,0 +1,35 @@ +dnl This file is an input file used by the GNU "autoconf" program to +dnl generate the file "configure", which is run to configure the +dnl Makefile in this directory. + +AC_INIT(../generic/tixInit.c) + +AC_PROG_INSTALL +AC_PROG_MAKE_SET + +#---------------------------------------------------------------------- +# We don't want to use any relative path because we need to generate +# Makefile's in subdirectories +#---------------------------------------------------------------------- +if test "$INSTALL" = "./install.sh"; then + INSTALL=`pwd`/install.sh +fi +SRC_DIR=`cd ${srcdir}/..; pwd` +AC_SUBST(SRC_DIR) + +# Check for Tcl and Tk. +CYG_AC_PATH_TCLCONFIG +CYG_AC_LOAD_TCLCONFIG +CYG_AC_PATH_TKCONFIG +CYG_AC_LOAD_TKCONFIG +CYG_AC_PATH_TCLH +# FIXME: consider only doing this if --with-x given. +CYG_AC_PATH_TKH + +SUBDIR=tk${TK_VERSION} +AC_SUBST(SUBDIR) +AC_CONFIG_SUBDIRS(${SUBDIR}) + +TIX_VERSION=4.1 +AC_SUBST(TIX_VERSION) +AC_OUTPUT(Makefile) |