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], [
30 AMANDA_ADD_CPPFLAGS([-D__STDC_EXT__])
33 AMANDA_ADD_CFLAGS([-Ae])
60 # The old cc won't work!
61 if test "x$GCC" != "xyes"; then
62 AC_MSG_ERROR([The old SGI IRIX compiler ($CC) will not compile Amanda; use CC=gcc])
86 AC_DEFINE(IGNORE_TAR_ERRORS,1,[Define on Cygwin. ])
87 # Cygwin needs PATH to find cygwin1.dll
88 AC_DEFINE(NEED_PATH_ENV,1,[Define on Cygwin. ])
89 AC_DEFINE(IGNORE_FSTAB,1,[Define on Cygwin. ])
90 AMANDA_ADD_LDFLAGS([-Wl,-enable-runtime-pseudo-reloc -no-undefined])
92 *-apple-darwin7*) # MacOS X 10.3.* (Panther)
94 *-apple-darwin8*) # MacOS X 10.4.* (Tiger)
96 *-apple-darwin9*) # MacOS X 10.5.* (Leopard)
98 *-apple-darwin10*) # MacOS X 10.6.* (Snow Leopard)
103 This machine, target type $host, is not known to be fully supported
104 by this configure script. If the installation of Amanda on this system
105 succeeds or needed any patches, please email amanda-hackers@amanda.org
106 with the patches or an indication of the sucess or failure of the
107 Amanda installation on your system.