View | Details | Raw Unified | Return to bug 59463
Collapse All | Expand All

(-)games/cgoban/Makefile (-6 / +10 lines)
Lines 14-26 Link Here
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Internet Go Server client and game editor
15
COMMENT=	Internet Go Server client and game editor
16
16
17
BROKEN=		Does not compile, will be removed after Feb 2
18
19
GNU_CONFIGURE=	yes
20
USE_GMAKE=	yes
21
USE_X_PREFIX=	yes
17
USE_X_PREFIX=	yes
22
USE_AUTOMAKE=	yes
18
USE_GMAKE=	yes
23
ALL_TARGET=
19
USE_AUTOCONF_VER=	253
20
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
21
CONFIGURE_ENV=  ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
22
		AUTOHEADER="${TRUE}"
23
24
MAN6=		cgoban.6
24
MAN6=		cgoban.6
25
26
do-install:
27
	${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${PREFIX}/bin
28
	${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${MANPREFIX}/man/man6
25
29
26
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)games/cgoban/files/patch-Makefile.am (-10 lines)
Lines 1-10 Link Here
1
--- Makefile.am.orig	Mon Jan 13 18:26:33 2003
2
+++ Makefile.am	Mon Jan 13 18:26:37 2003
3
@@ -4,7 +4,6 @@
4
 
5
 EXTRA_DIST = seigen-minoru.sgf bootstrap cgoban1.spec cgoban_icon.png
6
 
7
-bin_SCRIPTS = grab_cgoban
8
 
9
 # use noinst_SCRIPTS to create a symbolic link to the cgoban
10
 # executable
(-)games/cgoban/files/patch-aclocal.m4 (-934 lines)
Lines 1-934 Link Here
1
--- aclocal.m4.orig	Mon Jan  6 12:33:36 2003
2
+++ aclocal.m4	Mon Jan 13 19:03:41 2003
3
@@ -1,233 +1,70 @@
4
-# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*-
5
+dnl aclocal.m4 generated automatically by aclocal 1.4-p5
6
+
7
+dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
8
+dnl This file is free software; the Free Software Foundation
9
+dnl gives unlimited permission to copy and/or distribute it,
10
+dnl with or without modifications, as long as this notice is preserved.
11
+
12
+dnl This program is distributed in the hope that it will be useful,
13
+dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
14
+dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15
+dnl PARTICULAR PURPOSE.
16
+
17
+# Do all the work for Automake.  This macro actually does too much --
18
+# some checks are only needed if your package does certain things.
19
+# But this isn't really a big deal.
20
+
21
+# serial 1
22
+
23
+dnl Usage:
24
+dnl AM_INIT_AUTOMAKE(package,version, [no-define])
25
 
26
-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
27
-# Free Software Foundation, Inc.
28
-# This file is free software; the Free Software Foundation
29
-# gives unlimited permission to copy and/or distribute it,
30
-# with or without modifications, as long as this notice is preserved.
31
-
32
-# This program is distributed in the hope that it will be useful,
33
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
34
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
35
-# PARTICULAR PURPOSE.
36
-
37
-# Do all the work for Automake.                            -*- Autoconf -*-
38
-
39
-# This macro actually does too much some checks are only needed if
40
-# your package does certain things.  But this isn't really a big deal.
41
-
42
-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
43
-# Free Software Foundation, Inc.
44
-
45
-# This program is free software; you can redistribute it and/or modify
46
-# it under the terms of the GNU General Public License as published by
47
-# the Free Software Foundation; either version 2, or (at your option)
48
-# any later version.
49
-
50
-# This program is distributed in the hope that it will be useful,
51
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
52
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
53
-# GNU General Public License for more details.
54
-
55
-# You should have received a copy of the GNU General Public License
56
-# along with this program; if not, write to the Free Software
57
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
58
-# 02111-1307, USA.
59
-
60
-# serial 8
61
-
62
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
63
-# written in clear, in which case automake, when reading aclocal.m4,
64
-# will think it sees a *use*, and therefore will trigger all it's
65
-# C support machinery.  Also note that it means that autoscan, seeing
66
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
67
-
68
-
69
-AC_PREREQ([2.52])
70
-
71
-# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
72
-# the ones we care about.
73
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
74
-
75
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
76
-# AM_INIT_AUTOMAKE([OPTIONS])
77
-# -----------------------------------------------
78
-# The call with PACKAGE and VERSION arguments is the old style
79
-# call (pre autoconf-2.50), which is being phased out.  PACKAGE
80
-# and VERSION should now be passed to AC_INIT and removed from
81
-# the call to AM_INIT_AUTOMAKE.
82
-# We support both call styles for the transition.  After
83
-# the next Automake release, Autoconf can make the AC_INIT
84
-# arguments mandatory, and then we can depend on a new Autoconf
85
-# release and drop the old call support.
86
 AC_DEFUN([AM_INIT_AUTOMAKE],
87
-[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
88
- AC_REQUIRE([AC_PROG_INSTALL])dnl
89
-# test to see if srcdir already configured
90
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
91
-   test -f $srcdir/config.status; then
92
+[AC_REQUIRE([AC_PROG_INSTALL])
93
+PACKAGE=[$1]
94
+AC_SUBST(PACKAGE)
95
+VERSION=[$2]
96
+AC_SUBST(VERSION)
97
+dnl test to see if srcdir already configured
98
+if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
99
   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
100
 fi
101
-
102
-# Define the identity of the package.
103
-dnl Distinguish between old-style and new-style calls.
104
-m4_ifval([$2],
105
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
106
- AC_SUBST([PACKAGE], [$1])dnl
107
- AC_SUBST([VERSION], [$2])],
108
-[_AM_SET_OPTIONS([$1])dnl
109
- AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
110
- AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
111
-
112
-_AM_IF_OPTION([no-define],,
113
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
114
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
115
-
116
-# Some tools Automake needs.
117
-AC_REQUIRE([AM_SANITY_CHECK])dnl
118
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
119
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
120
-AM_MISSING_PROG(AUTOCONF, autoconf)
121
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
122
-AM_MISSING_PROG(AUTOHEADER, autoheader)
123
-AM_MISSING_PROG(MAKEINFO, makeinfo)
124
-AM_MISSING_PROG(AMTAR, tar)
125
-AM_PROG_INSTALL_SH
126
-AM_PROG_INSTALL_STRIP
127
-# We need awk for the "check" target.  The system "awk" is bad on
128
-# some platforms.
129
-AC_REQUIRE([AC_PROG_AWK])dnl
130
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
131
-
132
-_AM_IF_OPTION([no-dependencies],,
133
-[AC_PROVIDE_IFELSE([AC_PROG_][CC],
134
-                  [_AM_DEPENDENCIES(CC)],
135
-                  [define([AC_PROG_][CC],
136
-                          defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
137
-AC_PROVIDE_IFELSE([AC_PROG_][CXX],
138
-                  [_AM_DEPENDENCIES(CXX)],
139
-                  [define([AC_PROG_][CXX],
140
-                          defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
141
-])
142
-])
143
-
144
-# Copyright 2002  Free Software Foundation, Inc.
145
-
146
-# This program is free software; you can redistribute it and/or modify
147
-# it under the terms of the GNU General Public License as published by
148
-# the Free Software Foundation; either version 2, or (at your option)
149
-# any later version.
150
-
151
-# This program is distributed in the hope that it will be useful,
152
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
153
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
154
-# GNU General Public License for more details.
155
-
156
-# You should have received a copy of the GNU General Public License
157
-# along with this program; if not, write to the Free Software
158
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
159
-
160
-# AM_AUTOMAKE_VERSION(VERSION)
161
-# ----------------------------
162
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
163
-# generated from the m4 files accompanying Automake X.Y.
164
-AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
165
-
166
-# AM_SET_CURRENT_AUTOMAKE_VERSION
167
-# -------------------------------
168
-# Call AM_AUTOMAKE_VERSION so it can be traced.
169
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
170
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
171
-	 [AM_AUTOMAKE_VERSION([1.6.3])])
172
-
173
-# Helper functions for option handling.                    -*- Autoconf -*-
174
-
175
-# Copyright 2001, 2002  Free Software Foundation, Inc.
176
-
177
-# This program is free software; you can redistribute it and/or modify
178
-# it under the terms of the GNU General Public License as published by
179
-# the Free Software Foundation; either version 2, or (at your option)
180
-# any later version.
181
-
182
-# This program is distributed in the hope that it will be useful,
183
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
184
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
185
-# GNU General Public License for more details.
186
-
187
-# You should have received a copy of the GNU General Public License
188
-# along with this program; if not, write to the Free Software
189
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
190
-# 02111-1307, USA.
191
-
192
-# serial 2
193
-
194
-# _AM_MANGLE_OPTION(NAME)
195
-# -----------------------
196
-AC_DEFUN([_AM_MANGLE_OPTION],
197
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
198
-
199
-# _AM_SET_OPTION(NAME)
200
-# ------------------------------
201
-# Set option NAME.  Presently that only means defining a flag for this option.
202
-AC_DEFUN([_AM_SET_OPTION],
203
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
204
-
205
-# _AM_SET_OPTIONS(OPTIONS)
206
-# ----------------------------------
207
-# OPTIONS is a space-separated list of Automake options.
208
-AC_DEFUN([_AM_SET_OPTIONS],
209
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
210
-
211
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
212
-# -------------------------------------------
213
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
214
-AC_DEFUN([_AM_IF_OPTION],
215
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
216
+ifelse([$3],,
217
+AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
218
+AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
219
+AC_REQUIRE([AM_SANITY_CHECK])
220
+AC_REQUIRE([AC_ARG_PROGRAM])
221
+dnl FIXME This is truly gross.
222
+missing_dir=`cd $ac_aux_dir && pwd`
223
+AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
224
+AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
225
+AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
226
+AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
227
+AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
228
+AC_REQUIRE([AC_PROG_MAKE_SET])])
229
 
230
 #
231
 # Check to make sure that the build environment is sane.
232
 #
233
 
234
-# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
235
-
236
-# This program is free software; you can redistribute it and/or modify
237
-# it under the terms of the GNU General Public License as published by
238
-# the Free Software Foundation; either version 2, or (at your option)
239
-# any later version.
240
-
241
-# This program is distributed in the hope that it will be useful,
242
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
243
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
244
-# GNU General Public License for more details.
245
-
246
-# You should have received a copy of the GNU General Public License
247
-# along with this program; if not, write to the Free Software
248
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
249
-# 02111-1307, USA.
250
-
251
-# serial 3
252
-
253
-# AM_SANITY_CHECK
254
-# ---------------
255
 AC_DEFUN([AM_SANITY_CHECK],
256
 [AC_MSG_CHECKING([whether build environment is sane])
257
 # Just in case
258
 sleep 1
259
-echo timestamp > conftest.file
260
+echo timestamp > conftestfile
261
 # Do `set' in a subshell so we don't clobber the current shell's
262
 # arguments.  Must try -L first in case configure is actually a
263
 # symlink; some systems play weird games with the mod time of symlinks
264
 # (eg FreeBSD returns the mod time of the symlink's containing
265
 # directory).
266
 if (
267
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
268
-   if test "$[*]" = "X"; then
269
+   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
270
+   if test "[$]*" = "X"; then
271
       # -L didn't work.
272
-      set X `ls -t $srcdir/configure conftest.file`
273
+      set X `ls -t $srcdir/configure conftestfile`
274
    fi
275
-   rm -f conftest.file
276
-   if test "$[*]" != "X $srcdir/configure conftest.file" \
277
-      && test "$[*]" != "X conftest.file $srcdir/configure"; then
278
+   if test "[$]*" != "X $srcdir/configure conftestfile" \
279
+      && test "[$]*" != "X conftestfile $srcdir/configure"; then
280
 
281
       # If neither matched, then we have a broken ls.  This can happen
282
       # if, for instance, CONFIG_SHELL is bash and it inherits a
283
@@ -237,7 +74,7 @@
284
 alias in your environment])
285
    fi
286
 
287
-   test "$[2]" = conftest.file
288
+   test "[$]2" = conftestfile
289
    )
290
 then
291
    # Ok.
292
@@ -246,517 +83,26 @@
293
    AC_MSG_ERROR([newly created file is older than distributed files!
294
 Check your system clock])
295
 fi
296
+rm -f conftest*
297
 AC_MSG_RESULT(yes)])
298
 
299
-#  -*- Autoconf -*-
300
-
301
-
302
-# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
303
-
304
-# This program is free software; you can redistribute it and/or modify
305
-# it under the terms of the GNU General Public License as published by
306
-# the Free Software Foundation; either version 2, or (at your option)
307
-# any later version.
308
-
309
-# This program is distributed in the hope that it will be useful,
310
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
311
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
312
-# GNU General Public License for more details.
313
-
314
-# You should have received a copy of the GNU General Public License
315
-# along with this program; if not, write to the Free Software
316
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
317
-# 02111-1307, USA.
318
-
319
-# serial 3
320
-
321
-# AM_MISSING_PROG(NAME, PROGRAM)
322
-# ------------------------------
323
+dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
324
+dnl The program must properly implement --version.
325
 AC_DEFUN([AM_MISSING_PROG],
326
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
327
-$1=${$1-"${am_missing_run}$2"}
328
-AC_SUBST($1)])
329
-
330
-
331
-# AM_MISSING_HAS_RUN
332
-# ------------------
333
-# Define MISSING if not defined so far and test if it supports --run.
334
-# If it does, set am_missing_run to use it, otherwise, to nothing.
335
-AC_DEFUN([AM_MISSING_HAS_RUN],
336
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
337
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
338
-# Use eval to expand $SHELL
339
-if eval "$MISSING --run true"; then
340
-  am_missing_run="$MISSING --run "
341
-else
342
-  am_missing_run=
343
-  AC_MSG_WARN([`missing' script is too old or missing])
344
-fi
345
-])
346
-
347
-# AM_AUX_DIR_EXPAND
348
-
349
-# Copyright 2001 Free Software Foundation, Inc.
350
-
351
-# This program is free software; you can redistribute it and/or modify
352
-# it under the terms of the GNU General Public License as published by
353
-# the Free Software Foundation; either version 2, or (at your option)
354
-# any later version.
355
-
356
-# This program is distributed in the hope that it will be useful,
357
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
358
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
359
-# GNU General Public License for more details.
360
-
361
-# You should have received a copy of the GNU General Public License
362
-# along with this program; if not, write to the Free Software
363
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
364
-# 02111-1307, USA.
365
-
366
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
367
-# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
368
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
369
-#
370
-# Of course, Automake must honor this variable whenever it calls a
371
-# tool from the auxiliary directory.  The problem is that $srcdir (and
372
-# therefore $ac_aux_dir as well) can be either absolute or relative,
373
-# depending on how configure is run.  This is pretty annoying, since
374
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
375
-# source directory, any form will work fine, but in subdirectories a
376
-# relative path needs to be adjusted first.
377
-#
378
-# $ac_aux_dir/missing
379
-#    fails when called from a subdirectory if $ac_aux_dir is relative
380
-# $top_srcdir/$ac_aux_dir/missing
381
-#    fails if $ac_aux_dir is absolute,
382
-#    fails when called from a subdirectory in a VPATH build with
383
-#          a relative $ac_aux_dir
384
-#
385
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
386
-# are both prefixed by $srcdir.  In an in-source build this is usually
387
-# harmless because $srcdir is `.', but things will broke when you
388
-# start a VPATH build or use an absolute $srcdir.
389
-#
390
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
391
-# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
392
-#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
393
-# and then we would define $MISSING as
394
-#   MISSING="\${SHELL} $am_aux_dir/missing"
395
-# This will work as long as MISSING is not called from configure, because
396
-# unfortunately $(top_srcdir) has no meaning in configure.
397
-# However there are other variables, like CC, which are often used in
398
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
399
-#
400
-# Another solution, used here, is to always expand $ac_aux_dir to an
401
-# absolute PATH.  The drawback is that using absolute paths prevent a
402
-# configured tree to be moved without reconfiguration.
403
-
404
-# Rely on autoconf to set up CDPATH properly.
405
-AC_PREREQ([2.50])
406
-
407
-AC_DEFUN([AM_AUX_DIR_EXPAND], [
408
-# expand $ac_aux_dir to an absolute path
409
-am_aux_dir=`cd $ac_aux_dir && pwd`
410
-])
411
-
412
-# AM_PROG_INSTALL_SH
413
-# ------------------
414
-# Define $install_sh.
415
-
416
-# Copyright 2001 Free Software Foundation, Inc.
417
-
418
-# This program is free software; you can redistribute it and/or modify
419
-# it under the terms of the GNU General Public License as published by
420
-# the Free Software Foundation; either version 2, or (at your option)
421
-# any later version.
422
-
423
-# This program is distributed in the hope that it will be useful,
424
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
425
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
426
-# GNU General Public License for more details.
427
-
428
-# You should have received a copy of the GNU General Public License
429
-# along with this program; if not, write to the Free Software
430
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
431
-# 02111-1307, USA.
432
-
433
-AC_DEFUN([AM_PROG_INSTALL_SH],
434
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
435
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
436
-AC_SUBST(install_sh)])
437
-
438
-# AM_PROG_INSTALL_STRIP
439
-
440
-# Copyright 2001 Free Software Foundation, Inc.
441
-
442
-# This program is free software; you can redistribute it and/or modify
443
-# it under the terms of the GNU General Public License as published by
444
-# the Free Software Foundation; either version 2, or (at your option)
445
-# any later version.
446
-
447
-# This program is distributed in the hope that it will be useful,
448
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
449
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
450
-# GNU General Public License for more details.
451
-
452
-# You should have received a copy of the GNU General Public License
453
-# along with this program; if not, write to the Free Software
454
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
455
-# 02111-1307, USA.
456
-
457
-# One issue with vendor `install' (even GNU) is that you can't
458
-# specify the program used to strip binaries.  This is especially
459
-# annoying in cross-compiling environments, where the build's strip
460
-# is unlikely to handle the host's binaries.
461
-# Fortunately install-sh will honor a STRIPPROG variable, so we
462
-# always use install-sh in `make install-strip', and initialize
463
-# STRIPPROG with the value of the STRIP variable (set by the user).
464
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
465
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
466
-# Installed binaries are usually stripped using `strip' when the user
467
-# run `make install-strip'.  However `strip' might not be the right
468
-# tool to use in cross-compilation environments, therefore Automake
469
-# will honor the `STRIP' environment variable to overrule this program.
470
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
471
-if test "$cross_compiling" != no; then
472
-  AC_CHECK_TOOL([STRIP], [strip], :)
473
-fi
474
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
475
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
476
-
477
-# serial 4						-*- Autoconf -*-
478
-
479
-# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
480
-
481
-# This program is free software; you can redistribute it and/or modify
482
-# it under the terms of the GNU General Public License as published by
483
-# the Free Software Foundation; either version 2, or (at your option)
484
-# any later version.
485
-
486
-# This program is distributed in the hope that it will be useful,
487
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
488
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
489
-# GNU General Public License for more details.
490
-
491
-# You should have received a copy of the GNU General Public License
492
-# along with this program; if not, write to the Free Software
493
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
494
-# 02111-1307, USA.
495
-
496
-
497
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
498
-# written in clear, in which case automake, when reading aclocal.m4,
499
-# will think it sees a *use*, and therefore will trigger all it's
500
-# C support machinery.  Also note that it means that autoscan, seeing
501
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
502
-
503
-
504
-
505
-# _AM_DEPENDENCIES(NAME)
506
-# ----------------------
507
-# See how the compiler implements dependency checking.
508
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
509
-# We try a few techniques and use that to set a single cache variable.
510
-#
511
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
512
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
513
-# dependency, and given that the user is not expected to run this macro,
514
-# just rely on AC_PROG_CC.
515
-AC_DEFUN([_AM_DEPENDENCIES],
516
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
517
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
518
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
519
-AC_REQUIRE([AM_DEP_TRACK])dnl
520
-
521
-ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
522
-       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
523
-       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
524
-       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
525
-                   [depcc="$$1"   am_compiler_list=])
526
-
527
-AC_CACHE_CHECK([dependency style of $depcc],
528
-               [am_cv_$1_dependencies_compiler_type],
529
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
530
-  # We make a subdir and do the tests there.  Otherwise we can end up
531
-  # making bogus files that we don't know about and never remove.  For
532
-  # instance it was reported that on HP-UX the gcc test will end up
533
-  # making a dummy file named `D' -- because `-MD' means `put the output
534
-  # in D'.
535
-  mkdir conftest.dir
536
-  # Copy depcomp to subdir because otherwise we won't find it if we're
537
-  # using a relative directory.
538
-  cp "$am_depcomp" conftest.dir
539
-  cd conftest.dir
540
-
541
-  am_cv_$1_dependencies_compiler_type=none
542
-  if test "$am_compiler_list" = ""; then
543
-     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
544
-  fi
545
-  for depmode in $am_compiler_list; do
546
-    # We need to recreate these files for each test, as the compiler may
547
-    # overwrite some of them when testing with obscure command lines.
548
-    # This happens at least with the AIX C compiler.
549
-    echo '#include "conftest.h"' > conftest.c
550
-    echo 'int i;' > conftest.h
551
-    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
552
-
553
-    case $depmode in
554
-    nosideeffect)
555
-      # after this tag, mechanisms are not by side-effect, so they'll
556
-      # only be used when explicitly requested
557
-      if test "x$enable_dependency_tracking" = xyes; then
558
-	continue
559
-      else
560
-	break
561
-      fi
562
-      ;;
563
-    none) break ;;
564
-    esac
565
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
566
-    # mode.  It turns out that the SunPro C++ compiler does not properly
567
-    # handle `-M -o', and we need to detect this.
568
-    if depmode=$depmode \
569
-       source=conftest.c object=conftest.o \
570
-       depfile=conftest.Po tmpdepfile=conftest.TPo \
571
-       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
572
-       grep conftest.h conftest.Po > /dev/null 2>&1 &&
573
-       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
574
-      am_cv_$1_dependencies_compiler_type=$depmode
575
-      break
576
-    fi
577
-  done
578
-
579
-  cd ..
580
-  rm -rf conftest.dir
581
-else
582
-  am_cv_$1_dependencies_compiler_type=none
583
-fi
584
-])
585
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
586
-])
587
-
588
-
589
-# AM_SET_DEPDIR
590
-# -------------
591
-# Choose a directory name for dependency files.
592
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
593
-AC_DEFUN([AM_SET_DEPDIR],
594
-[rm -f .deps 2>/dev/null
595
-mkdir .deps 2>/dev/null
596
-if test -d .deps; then
597
-  DEPDIR=.deps
598
+[AC_MSG_CHECKING(for working $2)
599
+# Run test in a subshell; some versions of sh will print an error if
600
+# an executable is not found, even if stderr is redirected.
601
+# Redirect stdin to placate older versions of autoconf.  Sigh.
602
+if ($2 --version) < /dev/null > /dev/null 2>&1; then
603
+   $1=$2
604
+   AC_MSG_RESULT(found)
605
 else
606
-  # MS-DOS does not allow filenames that begin with a dot.
607
-  DEPDIR=_deps
608
+   $1="$3/missing $2"
609
+   AC_MSG_RESULT(missing)
610
 fi
611
-rmdir .deps 2>/dev/null
612
-AC_SUBST([DEPDIR])
613
-])
614
-
615
-
616
-# AM_DEP_TRACK
617
-# ------------
618
-AC_DEFUN([AM_DEP_TRACK],
619
-[AC_ARG_ENABLE(dependency-tracking,
620
-[  --disable-dependency-tracking Speeds up one-time builds
621
-  --enable-dependency-tracking  Do not reject slow dependency extractors])
622
-if test "x$enable_dependency_tracking" != xno; then
623
-  am_depcomp="$ac_aux_dir/depcomp"
624
-  AMDEPBACKSLASH='\'
625
-fi
626
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
627
-AC_SUBST([AMDEPBACKSLASH])
628
-])
629
-
630
-# Generate code to set up dependency tracking.   -*- Autoconf -*-
631
-
632
-# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
633
-
634
-# This program is free software; you can redistribute it and/or modify
635
-# it under the terms of the GNU General Public License as published by
636
-# the Free Software Foundation; either version 2, or (at your option)
637
-# any later version.
638
-
639
-# This program is distributed in the hope that it will be useful,
640
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
641
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
642
-# GNU General Public License for more details.
643
-
644
-# You should have received a copy of the GNU General Public License
645
-# along with this program; if not, write to the Free Software
646
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
647
-# 02111-1307, USA.
648
-
649
-#serial 2
650
-
651
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
652
-# ------------------------------
653
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
654
-[for mf in $CONFIG_FILES; do
655
-  # Strip MF so we end up with the name of the file.
656
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
657
-  # Check whether this is an Automake generated Makefile or not.
658
-  # We used to match only the files named `Makefile.in', but
659
-  # some people rename them; so instead we look at the file content.
660
-  # Grep'ing the first line is not enough: some people post-process
661
-  # each Makefile.in and add a new line on top of each file to say so.
662
-  # So let's grep whole file.
663
-  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
664
-    dirpart=`AS_DIRNAME("$mf")`
665
-  else
666
-    continue
667
-  fi
668
-  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
669
-  # Extract the definition of DEP_FILES from the Makefile without
670
-  # running `make'.
671
-  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
672
-  test -z "$DEPDIR" && continue
673
-  # When using ansi2knr, U may be empty or an underscore; expand it
674
-  U=`sed -n -e '/^U = / s///p' < "$mf"`
675
-  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
676
-  # We invoke sed twice because it is the simplest approach to
677
-  # changing $(DEPDIR) to its actual value in the expansion.
678
-  for file in `sed -n -e '
679
-    /^DEP_FILES = .*\\\\$/ {
680
-      s/^DEP_FILES = //
681
-      :loop
682
-	s/\\\\$//
683
-	p
684
-	n
685
-	/\\\\$/ b loop
686
-      p
687
-    }
688
-    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
689
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
690
-    # Make sure the directory exists.
691
-    test -f "$dirpart/$file" && continue
692
-    fdir=`AS_DIRNAME(["$file"])`
693
-    AS_MKDIR_P([$dirpart/$fdir])
694
-    # echo "creating $dirpart/$file"
695
-    echo '# dummy' > "$dirpart/$file"
696
-  done
697
-done
698
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
699
-
700
-
701
-# AM_OUTPUT_DEPENDENCY_COMMANDS
702
-# -----------------------------
703
-# This macro should only be invoked once -- use via AC_REQUIRE.
704
-#
705
-# This code is only required when automatic dependency tracking
706
-# is enabled.  FIXME.  This creates each `.P' file that we will
707
-# need in order to bootstrap the dependency handling code.
708
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
709
-[AC_CONFIG_COMMANDS([depfiles],
710
-     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
711
-     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
712
-])
713
-
714
-# Copyright 2001 Free Software Foundation, Inc.             -*- Autoconf -*-
715
-
716
-# This program is free software; you can redistribute it and/or modify
717
-# it under the terms of the GNU General Public License as published by
718
-# the Free Software Foundation; either version 2, or (at your option)
719
-# any later version.
720
-
721
-# This program is distributed in the hope that it will be useful,
722
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
723
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
724
-# GNU General Public License for more details.
725
-
726
-# You should have received a copy of the GNU General Public License
727
-# along with this program; if not, write to the Free Software
728
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
729
-# 02111-1307, USA.
730
-
731
-# serial 2
732
-
733
-# AM_MAKE_INCLUDE()
734
-# -----------------
735
-# Check to see how make treats includes.
736
-AC_DEFUN([AM_MAKE_INCLUDE],
737
-[am_make=${MAKE-make}
738
-cat > confinc << 'END'
739
-doit:
740
-	@echo done
741
-END
742
-# If we don't find an include directive, just comment out the code.
743
-AC_MSG_CHECKING([for style of include used by $am_make])
744
-am__include="#"
745
-am__quote=
746
-_am_result=none
747
-# First try GNU make style include.
748
-echo "include confinc" > confmf
749
-# We grep out `Entering directory' and `Leaving directory'
750
-# messages which can occur if `w' ends up in MAKEFLAGS.
751
-# In particular we don't look at `^make:' because GNU make might
752
-# be invoked under some other name (usually "gmake"), in which
753
-# case it prints its new name instead of `make'.
754
-if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
755
-   am__include=include
756
-   am__quote=
757
-   _am_result=GNU
758
-fi
759
-# Now try BSD make style include.
760
-if test "$am__include" = "#"; then
761
-   echo '.include "confinc"' > confmf
762
-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
763
-      am__include=.include
764
-      am__quote="\""
765
-      _am_result=BSD
766
-   fi
767
-fi
768
-AC_SUBST(am__include)
769
-AC_SUBST(am__quote)
770
-AC_MSG_RESULT($_am_result)
771
-rm -f confinc confmf
772
-])
773
-
774
-# AM_CONDITIONAL                                              -*- Autoconf -*-
775
-
776
-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
777
-
778
-# This program is free software; you can redistribute it and/or modify
779
-# it under the terms of the GNU General Public License as published by
780
-# the Free Software Foundation; either version 2, or (at your option)
781
-# any later version.
782
-
783
-# This program is distributed in the hope that it will be useful,
784
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
785
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
786
-# GNU General Public License for more details.
787
-
788
-# You should have received a copy of the GNU General Public License
789
-# along with this program; if not, write to the Free Software
790
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
791
-# 02111-1307, USA.
792
-
793
-# serial 5
794
-
795
-AC_PREREQ(2.52)
796
-
797
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
798
-# -------------------------------------
799
-# Define a conditional.
800
-AC_DEFUN([AM_CONDITIONAL],
801
-[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
802
-        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
803
-AC_SUBST([$1_TRUE])
804
-AC_SUBST([$1_FALSE])
805
-if $2; then
806
-  $1_TRUE=
807
-  $1_FALSE='#'
808
-else
809
-  $1_TRUE='#'
810
-  $1_FALSE=
811
-fi
812
-AC_CONFIG_COMMANDS_PRE(
813
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
814
-  AC_MSG_ERROR([conditional \"$1\" was never defined.
815
-Usually this means the macro was only invoked conditionally.])
816
-fi])])
817
+AC_SUBST($1)])
818
 
819
-# isc-posix.m4 serial 2 (gettext-0.11.2)
820
+# isc-posix.m4 serial 1 (gettext-0.10.40)
821
 dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
822
 dnl This file is free software, distributed under the terms of the GNU
823
 dnl General Public License.  As a special exception to the GNU General
824
@@ -764,8 +110,6 @@
825
 dnl that contains a configuration script generated by Autoconf, under
826
 dnl the same distribution terms as the rest of that program.
827
 
828
-# This file is not needed with autoconf-2.53 and newer.  Remove it in 2005.
829
-
830
 # This test replaces the one in autoconf.
831
 # Currently this macro should have the same name as the autoconf macro
832
 # because gettext's gettext.m4 (distributed in the automake package)
833
@@ -783,81 +127,26 @@
834
   ]
835
 )
836
 
837
-# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
838
-
839
-# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
840
-
841
-# This program is free software; you can redistribute it and/or modify
842
-# it under the terms of the GNU General Public License as published by
843
-# the Free Software Foundation; either version 2, or (at your option)
844
-# any later version.
845
-
846
-# This program is distributed in the hope that it will be useful,
847
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
848
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
849
-# GNU General Public License for more details.
850
-
851
-# You should have received a copy of the GNU General Public License
852
-# along with this program; if not, write to the Free Software
853
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
854
-# 02111-1307, USA.
855
-
856
-AC_PREREQ([2.52])
857
-
858
-# serial 6
859
-
860
-# When config.status generates a header, we must update the stamp-h file.
861
-# This file resides in the same directory as the config header
862
-# that is generated.  We must strip everything past the first ":",
863
-# and everything past the last "/".
864
-
865
-# _AM_DIRNAME(PATH)
866
-# -----------------
867
-# Like AS_DIRNAME, only do it during macro expansion
868
-AC_DEFUN([_AM_DIRNAME],
869
-       [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
870
-	      m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,
871
-		    m4_if(regexp([$1], [^/.*]), -1,
872
-			  [.],
873
-			  patsubst([$1], [^\(/\).*], [\1])),
874
-		    patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
875
-	      patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
876
-])# _AM_DIRNAME
877
-
878
-
879
-# The stamp files are numbered to have different names.
880
-# We could number them on a directory basis, but that's additional
881
-# complications, let's have a unique counter.
882
-m4_define([_AM_STAMP_Count], [0])
883
-
884
-
885
-# _AM_STAMP(HEADER)
886
-# -----------------
887
-# The name of the stamp file for HEADER.
888
-AC_DEFUN([_AM_STAMP],
889
-[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl
890
-AS_ESCAPE(_AM_DIRNAME(patsubst([$1],
891
-                               [:.*])))/stamp-h[]_AM_STAMP_Count])
892
-
893
-
894
-# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)
895
-# ------------------------------------------------------------
896
-# We used to try to get a real timestamp in stamp-h.  But the fear is that
897
-# that will cause unnecessary cvs conflicts.
898
-AC_DEFUN([_AM_CONFIG_HEADER],
899
-[# Add the stamp file to the list of files AC keeps track of,
900
-# along with our hook.
901
-AC_CONFIG_HEADERS([$1],
902
-                  [# update the timestamp
903
-echo 'timestamp for $1' >"_AM_STAMP([$1])"
904
-$2],
905
-                  [$3])
906
-])# _AM_CONFIG_HEADER
907
-
908
+# Like AC_CONFIG_HEADER, but automatically create stamp file.
909
 
910
-# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)
911
-# --------------------------------------------------------------
912
 AC_DEFUN([AM_CONFIG_HEADER],
913
-[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])
914
-])# AM_CONFIG_HEADER
915
+[AC_PREREQ([2.12])
916
+AC_CONFIG_HEADER([$1])
917
+dnl When config.status generates a header, we must update the stamp-h file.
918
+dnl This file resides in the same directory as the config header
919
+dnl that is generated.  We must strip everything past the first ":",
920
+dnl and everything past the last "/".
921
+AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
922
+ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
923
+<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
924
+<<am_indx=1
925
+for am_file in <<$1>>; do
926
+  case " <<$>>CONFIG_HEADERS " in
927
+  *" <<$>>am_file "*<<)>>
928
+    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
929
+    ;;
930
+  esac
931
+  am_indx=`expr "<<$>>am_indx" + 1`
932
+done<<>>dnl>>)
933
+changequote([,]))])
934
 
(-)games/cgoban/files/patch-configure (-43 lines)
Lines 1-43 Link Here
1
--- configure.orig	Mon Jan  6 12:33:43 2003
2
+++ configure	Mon Jan 13 18:57:02 2003
3
@@ -1272,7 +1272,7 @@
4
 
5
 
6
 
7
-am__api_version="1.6"
8
+am__api_version="14"
9
 ac_aux_dir=
10
 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
11
   if test -f $ac_dir/install-sh; then
12
@@ -1540,13 +1540,13 @@
13
 
14
 # Some tools Automake needs.
15
 
16
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
17
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal${am__api_version}"}
18
 
19
 
20
 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
21
 
22
 
23
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
24
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake${am__api_version}"}
25
 
26
 
27
 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
28
@@ -3832,15 +3832,6 @@
29
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30
 
31
 
32
-echo "$as_me:$LINENO: checking for best CFLAGS argument" >&5
33
-echo $ECHO_N "checking for best CFLAGS argument... $ECHO_C" >&6
34
-if test $ac_cv_c_compiler_gnu = yes ; then
35
-  CFLAGS='-O2 -fomit-frame-pointer'
36
-else
37
-  CFLAGS='-O'
38
-fi
39
-echo "$as_me:$LINENO: result: $CFLAGS" >&5
40
-echo "${ECHO_T}$CFLAGS" >&6
41
 
42
 
43
 # Add the stamp file to the list of files AC keeps track of,
(-)games/cgoban/files/patch-configure.in (+19 lines)
Line 0 Link Here
1
--- configure.in.orig	Tue Jan  7 04:31:33 2003
2
+++ configure.in	Mon Nov 17 21:22:54 2003
3
@@ -168,7 +158,6 @@
4
 AC_MINIX
5
 AC_PROG_CPP
6
 AC_EXEEXT
7
-WMS_GET_CFLAGS
8
 
9
 AM_CONFIG_HEADER(configure.h)
10
 AC_SUBST(LIBS)dnl
11
@@ -185,7 +174,7 @@
12
 AC_TIME_WITH_SYS_TIME
13
 AC_CHECK_HEADER(sun/audioio.h, AC_DEFINE(SUN_SOUND))
14
 if test $ac_cv_header_sun_audioio_h = no; then
15
-  AC_CHECK_HEADER(linux/soundcard.h, AC_DEFINE(LINUX_SOUND))
16
+  AC_CHECK_HEADER(sys/soundcard.h, AC_DEFINE(LINUX_SOUND))
17
 fi
18
 WMS_CHECK_H_ERRNO
19
 WMS_CHECK_SOCKETS
(-)games/cgoban/files/patch-man6::Makefile.am (-8 lines)
Lines 1-8 Link Here
1
--- man6/Makefile.am.orig	Thu Jun 20 18:50:44 2002
2
+++ man6/Makefile.am	Thu Jun 20 18:51:02 2002
3
@@ -1,3 +1,3 @@
4
-man_MANS = cgoban.6 grab_cgoban.6
5
+man_MANS = cgoban.6
6
 
7
-EXTRA_DIST = cgoban.6 grab_cgoban.6
8
+EXTRA_DIST = cgoban.6
(-)games/cgoban/files/patch-wmslib::src::wms::snd.c (+11 lines)
Line 0 Link Here
1
--- wmslib/src/wms/snd.c.orig	Tue Jan 25 13:40:26 2000
2
+++ wmslib/src/wms/snd.c	Mon Nov 17 21:15:17 2003
3
@@ -14,7 +14,7 @@
4
 #if  !HAVE_GETDTABLESIZE
5
 #include <sys/resource.h>
6
 #endif
7
-#include <linux/soundcard.h>
8
+#include <sys/soundcard.h>
9
 #include <sys/wait.h>
10
 #endif
11

Return to bug 59463