dnl
dnl pandora-build: A pedantic build system
dnl Copyright (C) 2009 Sun Microsystems, Inc.
-dnl This file is free software; the Free Software Foundation
+dnl This file is free software; Sun Microsystems
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl
[Cause Sun Studio to not be quite so strict with standards conflicts])
])
+ AS_IF([test "x$TARGET_OSX" = "xtrue"],[
+ AS_IF([test "x$ac_enable_fat_binaries" = "xyes"],[
+ AM_CFLAGS="-arch i386 -arch x86_64 -arch ppc"
+ AM_CXXFLAGS="-arch i386 -arch x86_64 -arch ppc"
+ AM_LDFLAGS="-arch i386 -arch x86_64 -arch ppc"
+ ])
+ ])
+
])