7 # This macro encapsulates any system-specific hacks required to make Amanda
8 # compile that don't fit neatly into any other macro. It is implemented as a
9 # big 'case' statement based on the canonical target architecture.
11 # It also serves as a list of the "supported" architectures, represented by
12 # case statements with empty bodies. If no architecture matches, the user
13 # is presented with a warning.
15 AC_DEFUN([AMANDA_SYSHACKS], [
16 AC_REQUIRE([AC_CANONICAL_TARGET])
31 AMANDA_ADD_CPPFLAGS([-D__STDC_EXT__])
34 AMANDA_ADD_CFLAGS([-Ae])
61 # The old cc won't work!
62 if test "x$GCC" != "xyes"; then
63 AC_MSG_ERROR([The old SGI IRIX compiler ($CC) will not compile Amanda; use CC=gcc])
87 AC_DEFINE(IGNORE_TAR_ERRORS,1,[Define on Cygwin. ])
88 # Cygwin needs PATH to find cygwin1.dll
89 AC_DEFINE(NEED_PATH_ENV,1,[Define on Cygwin. ])
90 AC_DEFINE(IGNORE_FSTAB,1,[Define on Cygwin. ])
91 AMANDA_ADD_LDFLAGS([-Wl,-enable-runtime-pseudo-reloc -no-undefined])
93 *-apple-darwin7*) # MacOS X 10.3.* (Panther)
95 *-apple-darwin8*) # MacOS X 10.4.* (Tiger)
100 This machine, target type $target, is not known to be fully supported
101 by this configure script. If the installation of Amanda on this system
102 succeeds or needed any patches, please email amanda-hackers@amanda.org
103 with the patches or an indication of the sucess or failure of the
104 Amanda installation on your system.