/[inetutils]/inetutils/configure.ac
ViewVC logotype

Diff of /inetutils/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by gray, Thu Mar 14 14:33:02 2002 UTC revision 1.3 by gray, Thu Apr 4 23:53:31 2002 UTC
# Line 27  AC_CONFIG_SRCDIR([inetd/inetd.c]) Line 27  AC_CONFIG_SRCDIR([inetd/inetd.c])
27  AC_PREREQ(2.52)  AC_PREREQ(2.52)
28    
29  AC_CANONICAL_SYSTEM  AC_CANONICAL_SYSTEM
30  AM_INIT_AUTOMAKE([inetutils], [1.3.2g], nodef)  AM_INIT_AUTOMAKE([inetutils], [1.3.2e], nodef)
31    
32  # Generate <config.h>; note that we use a `header' subdirectory, which  # Generate <config.h>; note that we use a `header' subdirectory, which
33  # contains all include files distributed with inetutils, and an `include'  # contains all include files distributed with inetutils, and an `include'
# Line 177  AC_CHECK_FUNCS(bcopy bcmp bzero cfsetspe Line 177  AC_CHECK_FUNCS(bcopy bcmp bzero cfsetspe
177  AC_REPLACE_FUNCS(getpass getusershell herror memcmp memcpy memmove memset \  AC_REPLACE_FUNCS(getpass getusershell herror memcmp memcpy memmove memset \
178                   setenv strdup strcasecmp strsignal waitpid poll)                   setenv strdup strcasecmp strsignal waitpid poll)
179  IU_INCLUDED_REGEX(libinetutils/regex.c)  IU_INCLUDED_REGEX(libinetutils/regex.c)
180    AC_CHECK_FUNC(_obstack_free, ,
181      INCLUDES="$INCLUDES obstack.h"
182      LIBOBJS="$LIBOBJS obstack.o")
183    
184    
185  # Use (posix) `setpgid' if it's around, otherwise assume a BSD setpgrp  # Use (posix) `setpgid' if it's around, otherwise assume a BSD setpgrp
186  AC_CHECK_FUNC(setpgid, , AC_DEFINE(setpgid, setpgrp))  AC_CHECK_FUNC(setpgid, , AC_DEFINE(setpgid, setpgrp))
# Line 639  AC_CHECK_FUNC(vsnprintf, Line 643  AC_CHECK_FUNC(vsnprintf,
643  # function in the GNU libreadline.  # function in the GNU libreadline.
644  #AC_CHECK_LIB(termcap, tputs)  #AC_CHECK_LIB(termcap, tputs)
645  #AC_CHECK_LIB(readline, rl_bind_key,,, -ltermcap)  #AC_CHECK_LIB(readline, rl_bind_key,,, -ltermcap)
646  AC_CHECK_LIB(readline, rl_bind_key,,, "$LIBTERMCAP")  AC_CHECK_LIB(readline, rl_bind_key,
647                 [LIBREADLINE=-lreadline
648                  AC_DEFINE(HAVE_LIBREADLINE)],
649                 [LIBREADLINE=], "$LIBTERMCAP")
650    AC_SUBST(LIBREADLINE)
651    AC_SUBST(LIBTERMCAP)
652    
653  AC_CHECK_LIB(opie, opiegenerator)  AC_CHECK_LIB(opie, opiegenerator)
654    
655  AC_CHECK_LIB(z, gzdopen)  AC_CHECK_LIB(z, gzdopen)
656    
657    # Check for termio-related types and defines
658    IU_CHECK_TYPE(cc_t,
659     [ #if defined(HAVE_TERMIOS_H)
660       # include <termios.h>
661       #elif defined(HAVE_TERMIO_H)
662       # include <termio.h>
663       #else
664       # include <sgtty.h>
665       #endif ])
666    
667  # For now, we always use libexecdir; later we may want to vary where the  # For now, we always use libexecdir; later we may want to vary where the
668  # daemons go.  # daemons go.
669  inetdaemondir='$(libexecdir)'  inetdaemondir='$(libexecdir)'

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26