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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [utils/] [sparclite/] [configure.in] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
dnl Process this file with autoconf to produce a configure script.
2
AC_PREREQ(2.3)dnl
3
AC_INIT(aload.c)
4
 
5
CC=${CC-cc}
6
AC_PROG_CC
7
AC_AIX
8
AC_MINIX
9
AC_ISC_POSIX
10
 
11
AC_PROG_INSTALL
12
 
13
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
14
AC_CANONICAL_SYSTEM
15
AC_ARG_PROGRAM
16
 
17
AC_CHECK_HEADER(termios.h, AC_DEFINE(HAVE_TERMIOS) termio=termios)
18
AC_CHECK_HEADER(termio.h, AC_DEFINE(HAVE_TERMIO) termio=termio)
19
AC_CHECK_HEADER(sgtty.h, AC_DEFINE(HAVE_SGTTY) termio=sgtty)
20
 
21
# disable standalone load programs on DOS/GO32 hosts
22
changequote(,)dnl
23
PROGS="aload eload"
24
case "${host}" in
25
i[3456]86-*-go32*)
26
        PROGS=""
27
        ;;
28
*)
29
esac
30
changequote([,])dnl
31
AC_SUBST(PROGS)
32
 
33
# check for networking libraries.
34
NETLIBS=
35
AC_CHECK_LIB(nsl, t_accept, [NETLIBS="$NETLIBS -lnsl"])
36
 
37
# -lsocket is required on some systems, but is broken on IRIX.
38
if test "`(uname) 2> /dev/null`" != IRIX; then
39
        AC_CHECK_LIB(socket, socket, [NETLIBS="$NETLIBS -lsocket"])
40
fi
41
AC_SUBST(NETLIBS)
42
 
43
AC_OUTPUT(Makefile)

powered by: WebSVN 2.1.0

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