#339: ExternalLibraries/OpenSSL does not compile in 64-bit mode on Mac OS ---------------------+------------------------------------------------------ Reporter: hinder | Owner: Type: defect | Status: new Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: ExternalLibraries/OpenSSL ---------------------+------------------------------------------------------
Comment (by eschnett):
SIZEOF_POINTER is a configuration variable that the user has to set when cross-compiling, i.e. when Cactus cannot determine the pointer size automatically. We should not use it. We should probably use SIZEOF_CHAR_P, which is set in the call AC_CHECK_SIZEOF(char *, $SIZEOF_POINTER). I assume that autoconf converts "char *" automatically into the string "CHAR_P". AC_CHECK_SIZEOF probably also marks this variable (namely SIZEOF_CHAR_P) as one of the variables that is substituted. It should be expanded in make.config.defn.in.
If not, then the command to explicitly mark a variable for substitution is AC_SUBST; this is used in many places. The actual substitution happens at the end of configure.in in the call to AC_OUTPUT. cctk_Config.h is probably treated specially; the fact that it should also be autogenerated is probably declared via AC_CONFIG_HEADER in the very beginning.