You probably need to be running the preprocessor with the -no-cpp-precomp
flag.  Try setting

CPPFLAGS = -no-cpp-precomp

  -- Dave


On Jan 12,2003 08:25:08 +1100, Erik de Castro Lopo <[EMAIL PROTECTED]> wrote :
>Hi all,
>
>I am the author of a package which uses FFTW and I OSX, I was hoping
>to use the FFTW installed by Fink. 
>
>I am currently testing for libfftw and librfftw in my configure script. 
>This works perfectly on Linux, Solaris but fails on Mac OSX 10.2.
>
>In the configure.ac I have:
>
>   AC_CHECK_HEADER(fftw.h,
>      AC_CHECK_LIB([fftw], fftw_create_plan, , 
>              AC_MSG_WARN([*** Could not find libfftw. Test programs cannot be 
>run.])),
>        AC_MSG_WARN([*** Header file fftw.h not found. Test programs cannot be run.])
>        )
>
>   AC_CHECK_HEADER(rfftw.h,
>      AC_CHECK_LIB([rfftw], rfftw_create_plan, , 
>             AC_MSG_WARN([*** Could not find librfftw. Test programs cannot be 
>run.])),
>        AC_MSG_WARN([*** Header file rfftw.h not found. Test programs cannot be run.])
>        )
>
>and I generate the configure script from this on a Linux machine 
>(autoconf version 2.57) and then move the tarball to OSX.
>
>When I run this configure script on OSX I get the following:
>
>   checking fftw.h usability... yes
>   checking fftw.h presence... no
>   configure: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!
>   configure: WARNING: fftw.h: proceeding with the preprocessor's result
>   configure: WARNING:     ## ------------------------------------ ##
>   configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
>   configure: WARNING:     ## ------------------------------------ ##
>   checking for fftw.h... no
>   configure: WARNING: *** Header file fftw.h not found. Test programs cannot be run.
>   checking rfftw.h usability... yes
>   checking rfftw.h presence... no
>   configure: WARNING: rfftw.h: accepted by the compiler, rejected by the 
>preprocessor!
>   configure: WARNING: rfftw.h: proceeding with the preprocessor's result
>   configure: WARNING:     ## ------------------------------------ ##
>   configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
>   configure: WARNING:     ## ------------------------------------ ##
>   checking for rfftw.h... no
>   configure: WARNING: *** Header file rfftw.h not found. Test programs cannot be run.
>
>Anybody got any clues on how to fix this with as little pain as
>possible?
>
>Thanks,
>Erik
>-- 
>+-----------------------------------------------------------+
>  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
>+-----------------------------------------------------------+
>Peter F. Curran : Microsoft. Still delivering a text editor with 
>    Win95/98 that can only open a max 64K file, despite being on 
>    a machine with an 8Gig HD and 64M of ram....
>G Cook: Perhaps, but Notepad is still the most functional program 
>    in the whole suite!
>
>
>-------------------------------------------------------
>This SF.NET email is sponsored by:
>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
>http://www.vasoftware.com
>_______________________________________________
>Fink-devel mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/fink-devel
>






-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to