Partial commit of OpenBSD fixes by Thorsten Glaser and someone else whose

name I don't know, more to follow.
This commit is contained in:
theoddone33
2002-05-14 18:35:18 +00:00
parent 79f8ff7c2f
commit cd41fa6c39
6 changed files with 23 additions and 6 deletions

View File

@@ -27,6 +27,10 @@ case "$target" in
CFLAGS="$CFLAGS -D__LINUX__"
NFLAGS="$NFLAGS -D__LINUX__ -f elf"
;;
*-*-*openbsd*)
CFLAGS="$CFLAGS -D__LINUX__ -D__FreeBSD__"
NFLAGS="$NFLAGS -D__LINUX__ -D__FreeBSD__ -D__OpenBSD__ -f aoutb"
;;
*-*-*bsd*)
CFLAGS="$CFLAGS -D__LINUX__ -D__FreeBSD__"
NFLAGS="$NFLAGS -D__LINUX__ -D__FreeBSD__ -f elf"
@@ -114,6 +118,10 @@ if test x$with_png != xno; then
else
AC_MSG_RESULT(disabled by user)
fi
if test x$with_png != xyes; then
CFLAGS="$CFLAGS -DNO_PNG"
NFLAGS="$NFLAGS -DNO_PNG"
fi
dnl -- Various debug and optimization option checks
AC_ARG_ENABLE(debug, [ --enable-debug Build GDB Friendly binary (zsnes-debug) ],debug=yes)