autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

checks fail -- why?


From: Sam Steingold
Subject: checks fail -- why?
Date: 26 Jul 2003 21:11:30 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

some checks on cygwin fail.  how do I figure out why?
E.g.:
checking for pwd.h... no
while "#include <pwd.h>" works just fine.

checking whether time.h and sys/time.h may both be included... yes
...
checking for sys/time.h... no
...
checking for time.h... no

huh???

I know I must be missing something simple...

I append configure.in (which I use to generate config.h.in and configure
script).

thanks.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Old Age Comes at a Bad Time.



dnl AUTOCONF configuration for syscalls
dnl Copyright (C) 2003  Sam Steingold <address@hidden>
dnl GNU GPL2

AC_PREREQ(2.57)
AC_INIT(posix.lisp)
AC_CONFIG_HEADERS(config.h)

AC_MSG_NOTICE([ * System Calls (checks)])
AC_PROG_CC
AC_PROG_CPP
AC_PROG_GCC_TRADITIONAL

AC_HEADER_STDC
AC_HEADER_TIME
AC_CHECK_HEADERS(errno.h netdb.h sys/file.h sys/resource.h sys/utsname.h)
AC_CHECK_FUNCS(clock flock gethostent getrusage getrlimit sysconf uname)
AC_CHECK_FUNCS(pwd.h sys/stat.h sys/time.h sys/unistd.h time.h unistd.h)
AC_CHECK_FUNCS(getlogin getpwent getpwnam getpwuid getuid)
AC_CHECK_FUNCS(fchmod fchown fstat link lstat stat symlink utimes)
AC_CHECK_FUNCS(erf erfc lgamma lgamma_r)

AC_MSG_NOTICE([ * System Calls (output)])
AC_CONFIG_FILES(Makefile)
AC_OUTPUT

AC_MSG_NOTICE([ * System Calls (done)])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]