Jean-Marc, I've currently got this hard-coded in package.C:
#ifdef _WIN32 # define USE_WINDOWS_PACKAGING #elif defined(macintosh) || defined(__APPLE__) # define USE_MACOSX_PACKAGING #else // (linux, cygwin, darwin, emx) # define USE_POSIX_PACKAGING #endif I guess that's not how you envisage things ending up given that either USE_MACOSX_PACKAGING or USE_POSIX_PACKAGING might be defined on the Mac. I assume that the idea is to have a "--packaging={windows,macosx,posix}" option to configure. Not passing "--packaging=foo" on the command line will lead to the "native" packaging being chosen. The three macros above will be defined appropriately in config.h. However, it seems that this option should have an effect only on the Mac and, moreover, will respect only the {macosx,posix} strings. Could you outline how I should proceed? -- Angus