diff options
author | Kyle Guinn <elyk03@gmail.com> | 2010-05-12 17:39:38 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:39:38 +0200 |
commit | f01fa50fe20f634dcd4165ac3b4023d34c3be3d1 (patch) | |
tree | 47dd3c27a06f2865a3c5724cc80267ba51f67ca0 /games/tuxnes/patches/configure.in.patch | |
parent | 83e64ec7fd5c06b56f3af5a0d855576105d21a89 (diff) | |
download | slackbuilds-f01fa50fe20f634dcd4165ac3b4023d34c3be3d1.tar.gz |
games/tuxnes: Updated for version 0.75
Diffstat (limited to 'games/tuxnes/patches/configure.in.patch')
-rw-r--r-- | games/tuxnes/patches/configure.in.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/games/tuxnes/patches/configure.in.patch b/games/tuxnes/patches/configure.in.patch new file mode 100644 index 0000000000..38a91de2cb --- /dev/null +++ b/games/tuxnes/patches/configure.in.patch @@ -0,0 +1,56 @@ +--- configure.in~ 2007-06-30 08:03:35.000000000 -0500 ++++ configure.in 2007-06-30 08:21:46.000000000 -0500 +@@ -8,15 +8,16 @@ + ## + + dnl -------------------------------------------------------------------- +-dnl Made the prerequisite autoconf 2.13, lower it to each version we ++dnl Made the prerequisite autoconf 2.60, lower it to each version we + dnl find to work correctly with this script + dnl -------------------------------------------------------------------- +-AC_PREREQ(2.13) ++AC_PREREQ(2.60) + + dnl -------------------------------------------------------------------- + dnl Process this file with autoconf to produce a configure script + dnl -------------------------------------------------------------------- +-AC_INIT(consts.h) ++AC_INIT ++AC_CONFIG_SRCDIR([consts.h]) + AM_INIT_AUTOMAKE(tuxnes,0.75) + #AM_INIT_AUTOMAKE(tuxnes,devel) + +@@ -28,16 +29,10 @@ + AC_CANONICAL_HOST + + dnl -------------------------------------------------------------------- +-dnl Don't assume we want high level optimisations, it is known to +-dnl produce broken code on certain architectures using certain compilers +-dnl -------------------------------------------------------------------- +-CFLAGS="-O" +-AC_SUBST(CFLAGS) +- +-dnl -------------------------------------------------------------------- + dnl Check for programs which we might need + dnl -------------------------------------------------------------------- + AC_PROG_CC ++AM_PROG_AS + AC_PROG_INSTALL + + dnl -------------------------------------------------------------------- +@@ -175,7 +170,7 @@ + *-freebsd*) + OLDFLAGS="$LDFLAGS" + LDFLAGS="-L/usr/local/lib" +- AC_CHECK_LIB(gnugetopt, getopt, [AC_DEFINE(HAVE_LIBGNUGETOPT) GNUGETOPT_LIB="-lgnugetopt"]) ++ AC_CHECK_LIB(gnugetopt, getopt, [AC_DEFINE([HAVE_LIBGNUGETOPT], 1, [Define to 1 if you have the `gnugetopt' library (-lgnugetopt).]) GNUGETOPT_LIB="-lgnugetopt"]) + if test -n "$GNUGETOPT_LIB"; then + LDFLAGS="$OLDFLAGS -L/usr/local/lib -lgnugetopt" + AC_SUBST(LDFLAGS) +@@ -209,4 +204,5 @@ + AC_TYPE_SIGNAL + AC_CHECK_FUNCS(gettimeofday strtod strtoul) + +-AC_OUTPUT(Makefile) ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT |