some changes to make Basillisk build better on Leopard

This commit is contained in:
asvitkine 2008-12-09 18:03:35 +00:00
parent de2d407b1e
commit a370638388
5 changed files with 11 additions and 6 deletions

View File

@ -21,6 +21,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#import <Carbon/Carbon.h>
#import <Cocoa/Cocoa.h>
#import "EmulatorView.h"
#import "NNThread.h"

View File

@ -175,7 +175,7 @@ $(APP)_app: $(APP) $(DOCS) Info.plist $(APP).icns
echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo
mkdir -p $(APP_APP)/Contents/MacOS
cp -f $(APP) $(APP_APP)/Contents/MacOS/
strip $(APP_APP)/Contents/MacOS/$(APP)
strip -x $(APP_APP)/Contents/MacOS/$(APP)
mkdir -p $(APP_APP)/Contents/Resources
cp -Rp English.lproj $(APP_APP)/Contents/Resources/
cp -f $(APP).icns $(APP_APP)/Contents/Resources/

View File

@ -671,10 +671,11 @@ if [[ "x$HAVE_GCC30" = "xyes" ]]; then
CFLAGS="$CFLAGS -fno-strict-aliasing"
AC_CACHE_CHECK([whether the compiler supports -fno-strict-aliasing],
ac_cv_gcc_no_strict_aliasing, [
AC_TRY_COMPILE([],[],
[ac_cv_gcc_no_strict_aliasing=yes; AC_SUBST(SLIRP_CFLAGS, "-fno-strict-aliasing")],
[ac_cv_gcc_no_strict_aliasing=no])
AC_TRY_COMPILE([],[],[ac_cv_gcc_no_strict_aliasing=yes],[ac_cv_gcc_no_strict_aliasing=no])
])
if [[ "x$ac_cv_gcc_no_strict_aliasing" = "xyes" ]]; then
AC_SUBST(SLIRP_CFLAGS, "-fno-strict-aliasing")
fi
CFLAGS="$SAVED_CFLAGS"
fi

View File

@ -103,7 +103,7 @@ $(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo
mkdir -p $(APP_APP)/Contents/MacOS
cp -f $(APP) $(APP_APP)/Contents/MacOS/
strip $(APP_APP)/Contents/MacOS/$(APP)
strip -x $(APP_APP)/Contents/MacOS/$(APP)
mkdir -p $(APP_APP)/Contents/Resources
cp -f ../MacOSX/$(APP).icns $(APP_APP)/Contents/Resources/
@ -113,7 +113,7 @@ $(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
echo -n 'APPL????' > $(GUI_APP_APP)/Contents/PkgInfo
mkdir -p $(GUI_APP_APP)/Contents/MacOS
cp -f $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/
strip $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP)
strip -x $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP)
mkdir -p $(GUI_APP_APP)/Contents/Resources
cp -f ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns

View File

@ -412,6 +412,9 @@ mips-sony-bsd|mips-sony-newsos4)
*-*-cygwin*)
no_dev_ptmx=1
;;
*-*-darwin*)
no_dev_ptmx=1
;;
esac
if test -z "$no_dev_ptmx" ; then