* rs6000.c (output_function_profiler): Put label address in r0, and
[official-gcc.git] / texinfo / configure.in
blobc3b5544d3d9f524b2255bc3e1def39257f7f38ba
1 dnl Process this file with autoconf to produce a configure script.
2 dnl $Id: configure.in,v 1.2 1997/09/16 05:01:43 law Exp $
3 AC_PREREQ(2.5)
4 AC_INIT(texinfo.texi)
6 dnl Checks for programs.
7 dnl AC_PROG_GCC_TRADITIONAL
8 EGCS_PROG_INSTALL
9 AC_PROG_RANLIB
11 AC_ISC_POSIX
12 AC_MINIX
14 AM_CYGWIN32
15 AM_EXEEXT
17 dnl Checks for libraries.
18 # Needed on sysV68 for sigblock, sigsetmask.
19 AC_CHECK_LIB(bsd, sigblock)
21 TERMLIBS=
22 for termlib in curses ncurses termcap terminfo termlib ; do
23    AC_CHECK_LIB(${termlib}, tputs,
24      [TERMLIBS="${TERMLIBS} -l${termlib}"; break])
25 done
26 AC_SUBST(TERMLIBS)
28 dnl Checks for header files.
29 AC_HEADER_STDC
30 AC_CHECK_HEADERS(unistd.h termios.h termio.h strings.h string.h varargs.h \
31   sys/time.h sys/fcntl.h sys/ttold.h sys/ptem.h sys/file.h)
33 dnl Checks for typedefs, structures, and compiler characteristics.
34 AC_TYPE_OFF_T
35 AC_C_CONST
36 AC_STRUCT_TM
38 dnl Checks for library functions.
39 AC_FUNC_ALLOCA
40 if test "$ac_cv_c_cross" = no; then
41   AC_FUNC_SETVBUF_REVERSED
43 AC_CHECK_FUNCS(setvbuf getcwd memset bzero strchr strcasecmp \
44   vfprintf vsprintf strerror sigprocmask sigsetmask)
45 dnl strcasecmp, strerror, xmalloc, xrealloc, probably others should be added.
46 AC_REPLACE_FUNCS(memcpy memmove strdup)
48 AC_OUTPUT(Makefile libtxi/Makefile makeinfo/Makefile info/Makefile util/Makefile emacs/Makefile)