OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [utils/] [sparclite/] [configure.in] - Rev 106

Go to most recent revision | Compare with Previous | Blame | View Log

dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.3)dnl
AC_INIT(aload.c)

CC=${CC-cc}
AC_PROG_CC
AC_AIX
AC_MINIX
AC_ISC_POSIX

AC_PROG_INSTALL

AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM

AC_CHECK_HEADER(termios.h, AC_DEFINE(HAVE_TERMIOS) termio=termios)
AC_CHECK_HEADER(termio.h, AC_DEFINE(HAVE_TERMIO) termio=termio)
AC_CHECK_HEADER(sgtty.h, AC_DEFINE(HAVE_SGTTY) termio=sgtty)

# disable standalone load programs on DOS/GO32 hosts
changequote(,)dnl
PROGS="aload eload"
case "${host}" in
i[3456]86-*-go32*)      
        PROGS=""
        ;;
*)
esac
changequote([,])dnl
AC_SUBST(PROGS)

# check for networking libraries.
NETLIBS=
AC_CHECK_LIB(nsl, t_accept, [NETLIBS="$NETLIBS -lnsl"])

# -lsocket is required on some systems, but is broken on IRIX.
if test "`(uname) 2> /dev/null`" != IRIX; then
        AC_CHECK_LIB(socket, socket, [NETLIBS="$NETLIBS -lsocket"])
fi
AC_SUBST(NETLIBS)

AC_OUTPUT(Makefile)

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.