-dnl $Id: configure.in,v 1.3 2001/08/29 18:43:30 robs Exp $
+dnl $Id: configure.in,v 1.4 2001/08/29 18:49:18 robs Exp $
dnl
dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during the build
dnl to configure the system for the local environment.
dnl
-AC_INIT(fcgiapp.c)
+AC_INIT
+AC_CONFIG_SRCDIR([fcgiapp.c])
#--------------------------------------------------------------------
# Perform common OMI configuration. This will include:
# 1) Choosing compiler and associated build options.
AC_MSG_RESULT(yes),
AC_MSG_RESULT(no)
AC_MSG_CHECKING(for fd_mask in in sys/select.h)
- AC_HEADER_EGREP(fd_mask,
- sys/select.h,
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_SYS_SELECT_H),
- AC_MSG_RESULT(no)
- AC_DEFINE(NO_FD_SET)))
+ AC_EGREP_HEADER([fd_mask],[sys/select.h],[AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_SYS_SELECT_H)],[AC_MSG_RESULT(no)
+ AC_DEFINE(NO_FD_SET)]))
AC_MSG_CHECKING(for fpos in stdio.h)
AC_EGREP_HEADER(fpos_t,
AC_DEFINE(HAVE_FPOS),
AC_MSG_RESULT(no))
-AC_HAVE_HEADERS(windows.h)
-AC_HAVE_HEADERS(sys/socket.h, [have_sys_socket=yes])
-AC_HAVE_HEADERS(winsock.h)
-AC_HAVE_HEADERS(netdb.h)
-AC_HAVE_HEADERS(netinet/in.h)
-AC_HAVE_HEADERS(arpa/inet.h)
-AC_HAVE_HEADERS(strings.h)
-AC_HAVE_HEADERS(sys/time.h)
-AC_HAVE_HEADERS(limits.h)
+AC_CHECK_HEADERS([windows.h])
+AC_CHECK_HEADERS([sys/socket.h],[have_sys_socket=yes])
+AC_CHECK_HEADERS([winsock.h])
+AC_CHECK_HEADERS([netdb.h])
+AC_CHECK_HEADERS([netinet/in.h])
+AC_CHECK_HEADERS([arpa/inet.h])
+AC_CHECK_HEADERS([strings.h])
+AC_CHECK_HEADERS([sys/time.h])
+AC_CHECK_HEADERS([limits.h])
if test "x$have_sys_socket" = "xyes"; then
AC_MSG_CHECKING(for socklen_t in sys/socket.h)
esac
AC_SUBST(SYSTEM)
-AC_OUTPUT()
+AC_OUTPUT