summaryrefslogtreecommitdiff
path: root/games/xpuyopuyo/patches/patch-configure.in
blob: dd5f58df681f022e82537855ee5d37de50504bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-configure.in,v 1.1 2017/07/02 14:27:25 seb Exp $

Handle newer autotools.

--- configure.in.orig	2003-05-26 16:49:00.000000000 +0000
+++ configure.in
@@ -2,14 +2,14 @@ dnl Process this file with autoconf to p
 AC_PREREQ(2.12)
 AC_INIT(xpuyopuyo.c)
 AM_INIT_AUTOMAKE(xpuyopuyo, 0.9.8)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
 
 dnl Watch out for problems with prefix, datadir
 dnl
 test "x$prefix" = "xNONE" && prefix="$ac_default_prefix"
-test "x$datadir" = 'x${prefix}/share' && datadir="${prefix}/share"
+test "x$datadir" = 'x${datarootdir}' && datadir="${prefix}/share"
 test "x$mandir" = 'x${prefix}/man' && mandir="${prefix}/man"