configure.in   [plain text]


dnl Process this file with autoconf to produce a configure script.
sinclude(../aclocal.m4)
AC_INIT(exp_test.c)

CY_AC_PATH_TCLCONFIG
CY_AC_LOAD_TCLCONFIG
CC=$TCL_CC

AC_PROG_CC
CY_AC_C_WORKS
 
# This is for LynxOS, which needs a flag to force true POSIX when
# building. It's weirder than that, cause the flag varies depending
# how old the compiler is. So...
# -X is for the old "cc" and "gcc" (based on 1.42)
# -mposix is for the new gcc (at least 2.5.8)
# This modifies the value of $CC to have the POSIX flag added
# so it'll configure correctly
CY_AC_TCL_LYNX_POSIX
CY_AC_PATH_TCLH

AC_SUBST(CC)
AC_SUBST(TCLHDIR)
AC_SUBST(host)
AC_OUTPUT(Makefile)