FYI, I have rewritten the Gem build system for my debian packaging, a patch against 0.90 is attached. I haven't checked if it works with the CVS version, but in general it should be a lot cleaner than the current build system. It might need some adaptions for a non-linux target, but at least its a clean start.
Guenter
On Tue, 24 May 2005, IOhannes m zmoelnig wrote:
james tittle wrote:
On May 23, 2005, at 11:21 AM, IOhannes m zmoelnig wrote:
...but now I've run into another problem: pre-10.4, math.h didn't define sinf() & friends...so we made "macosx_math.h" in GemLibs/ darwinStuff...now that it's defined on 10.4, I'm trying to conditionally find out if sinf is in math.h...I've done this by using a macro I found at the link you referred to above:
http://autoconf-archive.cryp.to/ac_check_func_in.html
...and tried:
dnl on osx, sinf() wasn't defined pre-10.4 if test `uname -s` == Darwin; then AC_CHECK_FUNC_IN(math.h, sinf, CXXFLAGS="$CXXFLAGS -DHAS_SINF", INCLUDES = "$INCLUDES ../../../GemLibs/ darwinStuff") fi
...but I haven't figured out where to put the "M4 source code"? I first tried to copy/paste from the webpage into acinclude.m4, but when I run "autoconf" again, it gives this:
tiggity:~/puredataDev/Gem/src/gnu tigital$ autoconf configure.in:611: error: possibly undefined macro: AC_CHECK_FUNC_IN If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
i guess it is like: paste the code into acinclude.m4 run "aclocal" run "autoconf" run "./configure"
mfg.a.dr. IOhannes
any ideas? jamie
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev