Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf failure--circular dependency



Darrik Spaude wrote:

Hello,

I am working on an open source port of a utility of ours that in Mac OS X
10.1.5 I was able to use autoconf to create a configure file and compile our
source (using gnumake). However, now that I am using Mac OS X 10.3.2, I
cannot get autoconf to generate the configure file successfully. It does
create the configure file, but make fails. Here are the details:


...

AC_CHECK_HEADER(pthread.h,
AC_CHECK_LIB(pthread,pthread_create))


You need to quote here. Replace with:

AC_CHECK_HEADER(pthread.h,
[AC_CHECK_LIB(pthread,pthread_create)])

Perhaps you should also consider:

AC_CHECK_HEADER(pthread.h,
[AC_SEARCH_LIBS(pthread_create, pthread)])

> Makefile:217: *** missing separator. Stop.

This is due to using automake. My personal opinion is that it creates more problems than it solves...
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.