autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_HEADERS


From: Gerrit P. Haase
Subject: Re: AC_CHECK_HEADERS
Date: Mon, 11 Oct 2004 01:40:27 +0200
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910

Steve Kreyer wrote:

Hi, I'm new to gnu autoconfig.

I have problems to use the AC_CHECK_HEADERS macro.
I want to check for headerfiles such as arpa/inet.h sys/socket.h, netinet/in.h 
and thread.h

Now the checking for arpa/inet.h went well, but sys/socket.h, netinet/in.h and thread.h failed, but this headers are installed (sys/socket.h netinet/in.h in /usr/include and thread.h in /usr/local/include)

AC_CHECK_HEADERS([$(threadpath)/thread.h, sys/socket.h, netinet/in.h, 
arpa/inet.h])

Try this:
AC_CHECK_HEADERS([$(threadpath)/thread.h sys/socket.h netinet/in.h arpa/inet.h])


Read the docu!
--
=^..^=




reply via email to

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