https://github.com/jrincayc/ucblogo-code
Revision be9ffcd150760ecf7f896aea3b6b8ca7128b6047 authored by chou86_e on 20 August 2008, 23:25:06 UTC, committed by chou86_e on 20 August 2008, 23:25:06 UTC

git-svn-id: https://svn.code.sf.net/p/ucblogo/code@179 fc4ef4ee-df3e-0410-84de-fb01f5d6c4f7
1 parent 841feb2
Raw File
Tip revision: be9ffcd150760ecf7f896aea3b6b8ca7128b6047 authored by chou86_e on 20 August 2008, 23:25:06 UTC
Get rid of debugging printf that got into the release somehow
Tip revision: be9ffcd
configure.in
dnl Process this file with autoconf to produce a configure script.
AC_INIT(coms.c)

AC_CONFIG_HEADER(config.h)

dnl Checks for programs.
AC_PROG_CC

dnl Checks for libraries.

AC_PATH_XTRA
AC_CHECK_LIB(m, atan)
AC_CHECK_LIB(BSD, signal)
AC_CHECK_LIB(bsd, signal)

tcap=no
AC_CHECK_LIB(termcap, tgetstr,
	     AC_DEFINE(HAVE_LIBTERMCAP) LIBS="$LIBS -ltermcap" tcap=yes)
if test $tcap = no; then
   AC_CHECK_LIB(termlib, tgetstr,
		AC_DEFINE(HAVE_LIBTERMLIB) LIBS="$LIBS -ltermlib" tcap=yes)
fi
if test $tcap = no; then
   AC_CHECK_LIB(curses, tgetstr,
		AC_DEFINE(HAVE_LIBCURSES) LIBS="$LIBS -lcurses" tcap=yes)
fi
if test $tcap = no; then
   AC_CHECK_LIB(ncurses, tgetstr,
		AC_DEFINE(HAVE_LIBCURSES) LIBS="$LIBS -lncurses" tcap=yes)
fi

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(sgtty.h termio.h unistd.h string.h termcap.h termlib.h curses.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
AC_TYPE_SIGNAL

dnl Checks for library functions.
AC_CHECK_FUNCS(usleep srandom sigvec sigsetmask matherr drem irint memcpy)
AC_PROG_GCC_TRADITIONAL
dnl AC_TYPE_SIGNAL

if test "$no_x" != yes; then
   LIBS="$LIBS -lX11"
fi

AC_OUTPUT(makefile)
back to top