Magic Mailing List |
|
From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu) Date: Tue Sep 30 2003 - 16:36:32 EDT
Dear Stéfan and Adam, I think the proper place for the flags is configure.in, line 866: ------------------------------------------------------------------------ *darwin*) SHDLIB_EXT=".dylib" LDDL_FLAGS = "-dynamiclib -flat_namespace -undefined suppress -bind_at_load" LDFLAGS=${LDFLAGS} ${LIB_SPECS} CFLAGS="${CFLAGS} ${X_CFLAGS} ${INC_SPECS} -I/sw/include -fno-common" ;; ------------------------------------------------------------------------ Likewise, it should be possible to supress the cpp warning by adding the following at line 378: ------------------------------------------------------------------------ *darwin*) AC_DEFINE(macosx) if test "$CPP" == "gcc -E" ; then CPPFLAGS="$CPPFLAGS -no-cpp-precomp" fi ;; ------------------------------------------------------------------------ The setting of "MAC_EXTRA_LIBS" and "MAC_SHARED" using "make config" is deprecated, as these are no longer used by any of the makefiles. The setting of "DEPEND_FLAG" should make no difference to the compilation. I will have these changes in the next distribution. Thanks for the feedback. Regards, Tim
|
|