1
Description: Upstream changes introduced in version 0.11pre0+cvs.2003.11.02-2
2
This patch has been created by dpkg-source during the package build.
3
Here's the last changelog entry, hopefully it gives details on why
4
those changes were made:
6
gtkboard (0.11pre0+cvs.2003.11.02-2) unstable; urgency=low
8
* autotools tweaks, most notably -lSDL to supplement -lSDL_mixer
10
The person named in the Author field signed this changelog entry.
11
Author: Barak A. Pearlmutter <bap@debian.org>
14
The information above should follow the Patch Tagging Guidelines, please
15
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
16
are templates for supplementary fields that you might want to add:
18
Origin: <vendor|upstream|other>, <url of original patch>
19
Bug: <url in upstream bugtracker>
20
Bug-Debian: http://bugs.debian.org/<bugnumber>
21
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
22
Forwarded: <no|not-needed|url proving that it has been forwarded>
23
Reviewed-By: <name and email of someone who approved the patch>
24
Last-Update: <YYYY-MM-DD>
26
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/config.sub
27
+++ gtkboard-0.11pre0+cvs.2003.11.02/config.sub
30
# Configuration validation subroutine script.
31
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
32
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
33
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
34
# Free Software Foundation, Inc.
36
-timestamp='2001-09-07'
37
+timestamp='2010-01-22'
39
# This file is (in principle) common to ALL GNU software.
40
# The presence of a machine in this file suggests that SOME GNU software
41
@@ -21,21 +22,26 @@ timestamp='2001-09-07'
43
# You should have received a copy of the GNU General Public License
44
# along with this program; if not, write to the Free Software
45
-# Foundation, Inc., 59 Temple Place - Suite 330,
46
-# Boston, MA 02111-1307, USA.
48
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
51
# As a special exception to the GNU General Public License, if you
52
# distribute this file as part of a program that contains a
53
# configuration script generated by Autoconf, you may include it under
54
# the same distribution terms that you use for the rest of that program.
56
-# Please send patches to <config-patches@gnu.org>.
58
+# Please send patches to <config-patches@gnu.org>. Submit a context
59
+# diff and a properly formatted GNU ChangeLog entry.
61
# Configuration subroutine to validate and canonicalize a configuration type.
62
# Supply the specified configuration type as an argument.
63
# If it is invalid, we print an error message on stderr and exit with code 1.
64
# Otherwise, we print the canonical config type on stdout and succeed.
66
+# You can get the latest version of this script from:
67
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
69
# This file is supposed to be the same for all GNU packages
70
# and recognize all the CPU types, system types and aliases
71
# that are meaningful with *any* GNU software.
72
@@ -69,8 +75,9 @@ Report bugs and patches to <config-patch
74
GNU config.sub ($timestamp)
76
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
77
-Free Software Foundation, Inc.
78
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
79
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
80
+Software Foundation, Inc.
82
This is free software; see the source for copying conditions. There is NO
83
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
84
@@ -82,11 +89,11 @@ Try \`$me --help' for more information."
85
while test $# -gt 0 ; do
87
--time-stamp | --time* | -t )
88
- echo "$timestamp" ; exit 0 ;;
89
+ echo "$timestamp" ; exit ;;
91
- echo "$version" ; exit 0 ;;
92
+ echo "$version" ; exit ;;
94
- echo "$usage"; exit 0 ;;
95
+ echo "$usage"; exit ;;
96
-- ) # Stop option processing
98
- ) # Use stdin as input.
99
@@ -98,7 +105,7 @@ while test $# -gt 0 ; do
101
# First pass through any local machine types.
108
@@ -117,7 +124,10 @@ esac
109
# Here we must recognize all the valid KERNEL-OS combinations.
110
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
112
- nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
113
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
114
+ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
115
+ kopensolaris*-gnu* | \
116
+ storm-chaos* | os2-emx* | rtmk-nova*)
118
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
120
@@ -143,10 +153,13 @@ case $os in
121
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
122
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
123
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
125
+ -apple | -axis | -knuth | -cray | -microblaze)
132
-sim | -cisco | -oki | -wec | -winbond)
135
@@ -168,6 +181,10 @@ case $os in
141
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
145
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
146
@@ -184,6 +201,10 @@ case $os in
147
# Don't forget version if it is 3.2v4 or newer.
148
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
151
+ # Don't forget version if it is 3.2v4 or newer.
152
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
156
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
157
@@ -226,42 +247,72 @@ case $basic_machine in
160
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
161
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
162
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
164
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
167
- | d10v | d30v | dsp16xx \
169
+ | d10v | d30v | dlx | dsp16xx \
170
+ | fido | fr30 | frv \
171
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
172
| i370 | i860 | i960 | ia64 \
173
- | m32r | m68000 | m68k | m88k | mcore \
174
- | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
175
- | mips64vr4100 | mips64vr4100el | mips64vr4300 \
176
- | mips64vr4300el | mips64vr5000 | mips64vr5000el \
177
- | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
181
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
182
+ | maxq | mb | microblaze | mcore | mep | metag \
183
+ | mips | mipsbe | mipseb | mipsel | mipsle \
185
+ | mips64 | mips64el \
186
+ | mips64octeon | mips64octeonel \
187
+ | mips64orion | mips64orionel \
188
+ | mips64r5900 | mips64r5900el \
189
+ | mips64vr | mips64vrel \
190
+ | mips64vr4100 | mips64vr4100el \
191
+ | mips64vr4300 | mips64vr4300el \
192
+ | mips64vr5000 | mips64vr5000el \
193
+ | mips64vr5900 | mips64vr5900el \
194
+ | mipsisa32 | mipsisa32el \
195
+ | mipsisa32r2 | mipsisa32r2el \
196
+ | mipsisa64 | mipsisa64el \
197
+ | mipsisa64r2 | mipsisa64r2el \
198
+ | mipsisa64sb1 | mipsisa64sb1el \
199
+ | mipsisa64sr71k | mipsisa64sr71kel \
200
+ | mipstx39 | mipstx39el \
201
| mn10200 | mn10300 \
209
| pdp10 | pdp11 | pj | pjl \
210
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
213
- | sh | sh[34] | sh[34]eb | shbe | shle \
214
- | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
215
- | stormy16 | strongarm \
216
- | tahoe | thumb | tic80 | tron \
220
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
222
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
223
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
224
+ | spu | strongarm \
225
+ | tahoe | thumb | tic4x | tic80 | tron \
231
+ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
233
basic_machine=$basic_machine-unknown
235
- m6811 | m68hc11 | m6812 | m68hc12)
236
+ m6811 | m68hc11 | m6812 | m68hc12 | picochip)
237
# Motorola 68HC11/12.
238
basic_machine=$basic_machine-unknown
241
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
244
+ basic_machine=mt-unknown
247
# We use `pc' rather than `unknown'
248
# because (1) that's what they normally are, and
249
@@ -278,40 +329,72 @@ case $basic_machine in
252
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
253
- | alphapca5[67]-* | arc-* \
254
- | arm-* | armbe-* | armle-* | armv*-* \
256
- | c[123]* | c30-* | [cjt]90-* | c54x-* \
257
- | clipper-* | cray2-* | cydra-* \
258
- | d10v-* | d30v-* \
259
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
260
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
261
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
262
+ | avr-* | avr32-* \
263
+ | bfin-* | bs2000-* \
264
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
265
+ | clipper-* | craynv-* | cydra-* \
266
+ | d10v-* | d30v-* | dlx-* \
268
- | f30[01]-* | f700-* | fr30-* | fx80-* \
269
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
270
| h8300-* | h8500-* \
271
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
272
| i*86-* | i860-* | i960-* | ia64-* \
274
- | m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
275
- | m88110-* | m88k-* | mcore-* \
276
- | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
277
- | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
278
- | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
279
- | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
280
+ | ip2k-* | iq2000-* \
282
+ | m32c-* | m32r-* | m32rle-* \
283
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
284
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
285
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
287
+ | mips64-* | mips64el-* \
288
+ | mips64octeon-* | mips64octeonel-* \
289
+ | mips64orion-* | mips64orionel-* \
290
+ | mips64r5900-* | mips64r5900el-* \
291
+ | mips64vr-* | mips64vrel-* \
292
+ | mips64vr4100-* | mips64vr4100el-* \
293
+ | mips64vr4300-* | mips64vr4300el-* \
294
+ | mips64vr5000-* | mips64vr5000el-* \
295
+ | mips64vr5900-* | mips64vr5900el-* \
296
+ | mipsisa32-* | mipsisa32el-* \
297
+ | mipsisa32r2-* | mipsisa32r2el-* \
298
+ | mipsisa64-* | mipsisa64el-* \
299
+ | mipsisa64r2-* | mipsisa64r2el-* \
300
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
301
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
302
+ | mipstx39-* | mipstx39el-* \
306
+ | nios-* | nios2-* \
307
| none-* | np1-* | ns16k-* | ns32k-* \
309
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
310
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
312
- | romp-* | rs6000-* \
313
- | s390-* | s390x-* \
314
- | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
315
- | sparc-* | sparc64-* | sparc86x-* | sparclite-* \
316
- | sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \
317
- | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
319
+ | romp-* | rs6000-* | rx-* \
320
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
321
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
322
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
324
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
325
+ | tahoe-* | thumb-* \
326
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
327
+ | tile-* | tilegx-* \
330
+ | v850-* | v850e-* | vax-* \
332
- | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \
333
+ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
334
+ | xstormy16-* | xtensa*-* \
339
+ # Recognize the basic CPU types without company name, with glob match.
341
+ basic_machine=$basic_machine-unknown
343
# Recognize the various machine names and aliases which stand
344
# for a CPU type and a company and sometimes even an OS.
345
@@ -329,6 +412,9 @@ case $basic_machine in
346
basic_machine=a29k-amd
350
+ basic_machine=abacus-unknown
353
basic_machine=m68010-adobe
355
@@ -343,6 +429,12 @@ case $basic_machine in
356
basic_machine=a29k-none
360
+ basic_machine=x86_64-pc
363
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
366
basic_machine=580-amdahl
368
@@ -366,6 +458,10 @@ case $basic_machine in
369
basic_machine=m68k-apollo
373
+ basic_machine=i386-pc
377
basic_machine=m68k-apple
379
@@ -374,6 +470,26 @@ case $basic_machine in
380
basic_machine=ns32k-sequent
384
+ basic_machine=bfin-unknown
388
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
392
+ basic_machine=powerpc-ibm
396
+ basic_machine=c90-cray
400
+ basic_machine=arm-unknown
404
basic_machine=c1-convex
406
@@ -394,30 +510,45 @@ case $basic_machine in
407
basic_machine=c38-convex
411
- basic_machine=ymp-cray
413
+ basic_machine=j90-cray
417
- basic_machine=cray2-cray
420
+ basic_machine=craynv-cray
424
- basic_machine=${basic_machine}-cray
427
+ basic_machine=cr16-unknown
431
basic_machine=m68k-crds
433
+ crisv32 | crisv32-* | etraxfs*)
434
+ basic_machine=crisv32-axis
436
cris | cris-* | etrax*)
437
basic_machine=cris-axis
440
+ basic_machine=crx-unknown
444
basic_machine=m68k-da30
446
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
447
basic_machine=mips-dec
449
+ decsystem10* | dec10*)
450
+ basic_machine=pdp10-dec
453
+ decsystem20* | dec20*)
454
+ basic_machine=pdp10-dec
457
delta | 3300 | motorola-3300 | motorola-delta \
458
| 3300-motorola | delta-motorola)
459
basic_machine=m68k-motorola
460
@@ -426,6 +557,14 @@ case $basic_machine in
461
basic_machine=m88k-motorola
465
+ basic_machine=i686-pc
469
+ basic_machine=i586-pc
473
basic_machine=rs6000-bull
475
@@ -576,6 +715,14 @@ case $basic_machine in
476
basic_machine=m68k-isi
480
+ basic_machine=m68k-unknown
484
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
488
basic_machine=m88k-omron
490
@@ -587,10 +734,17 @@ case $basic_machine in
491
basic_machine=ns32k-utek
495
+ basic_machine=microblaze-xilinx
498
basic_machine=i386-pc
502
+ basic_machine=arm-unknown
506
basic_machine=m68000-convergent
508
@@ -598,32 +752,27 @@ case $basic_machine in
509
basic_machine=m68k-atari
513
- basic_machine=mipsel-unknown
517
- basic_machine=mips-unknown
521
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
524
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
527
- basic_machine=mmix-knuth
531
basic_machine=m68k-rom68k
535
+ basic_machine=powerpc-unknown
539
basic_machine=i386-pc
543
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
546
basic_machine=i370-ibm
548
@@ -699,6 +848,13 @@ case $basic_machine in
549
basic_machine=hppa1.1-oki
552
+ openrisc | openrisc-*)
553
+ basic_machine=or32-unknown
556
+ basic_machine=powerpc-ibm
560
basic_machine=m68000-ericsson
562
@@ -715,55 +871,75 @@ case $basic_machine in
563
basic_machine=i860-intel
567
+ basic_machine=hppa-unknown
571
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
575
basic_machine=sparc-tti
578
basic_machine=m68k-tti
582
basic_machine=ns32k-pc532
584
- pentium | p5 | k5 | k6 | nexgen)
586
+ basic_machine=i386-pc
589
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
591
+ pentium | p5 | k5 | k6 | nexgen | viac3)
592
basic_machine=i586-pc
594
- pentiumpro | p6 | 6x86 | athlon)
595
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
596
basic_machine=i686-pc
598
- pentiumii | pentium2)
599
+ pentiumii | pentium2 | pentiumiii | pentium3)
600
basic_machine=i686-pc
602
- pentium-* | p5-* | k5-* | k6-* | nexgen-*)
604
+ basic_machine=i786-pc
606
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
607
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
609
pentiumpro-* | p6-* | 6x86-* | athlon-*)
610
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
612
- pentiumii-* | pentium2-*)
613
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
614
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
617
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
620
basic_machine=pn-gould
622
power) basic_machine=power-ibm
624
ppc) basic_machine=powerpc-unknown
627
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
629
ppcle | powerpclittle | ppc-le | powerpc-little)
630
basic_machine=powerpcle-unknown
633
ppcle-* | powerpclittle-*)
634
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
636
ppc64) basic_machine=powerpc64-unknown
639
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
641
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
642
basic_machine=powerpc64le-unknown
645
ppc64le-* | powerpc64little-*)
646
basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
648
@@ -774,6 +950,10 @@ case $basic_machine in
649
basic_machine=i586-unknown
653
+ basic_machine=i386-pc
657
basic_machine=m68k-rom68k
659
@@ -784,10 +964,30 @@ case $basic_machine in
661
basic_machine=romp-ibm
664
+ basic_machine=s390-ibm
667
+ basic_machine=s390x-ibm
670
basic_machine=a29k-amd
674
+ basic_machine=mipsisa64sb1-unknown
677
+ basic_machine=mipsisa64sb1el-unknown
680
+ basic_machine=mipsisa32-sde
684
+ basic_machine=mips-sei
688
basic_machine=i386-sequent
690
@@ -795,7 +995,13 @@ case $basic_machine in
691
basic_machine=sh-hitachi
696
+ basic_machine=sh5le-unknown
699
+ basic_machine=sh64-unknown
701
+ sparclite-wrs | simso-wrs)
702
basic_machine=sparclite-wrs
705
@@ -862,22 +1068,51 @@ case $basic_machine in
709
- basic_machine=t3e-cray
710
+ basic_machine=alphaev5-cray
714
+ basic_machine=t90-cray
718
basic_machine=tic54x-unknown
722
+ basic_machine=tic55x-unknown
726
+ basic_machine=tic6x-unknown
729
+ # This must be matched before tile*.
731
+ basic_machine=tilegx-unknown
735
+ basic_machine=tile-unknown
739
basic_machine=mipstx39-unknown
742
basic_machine=mipstx39el-unknown
745
+ basic_machine=pdp10-xkl
749
basic_machine=m68k-ncr
752
+ basic_machine=s390x-ibm
756
basic_machine=a29k-amd
758
@@ -899,8 +1134,8 @@ case $basic_machine in
762
- basic_machine=f301-fujitsu
764
+ basic_machine=f301-fujitsu
767
basic_machine=i960-wrs
769
@@ -921,21 +1156,25 @@ case $basic_machine in
770
basic_machine=hppa1.1-winbond
774
- basic_machine=i386-pc
775
- os=-windows32-msvcrt
778
- basic_machine=xmp-cray
781
+ basic_machine=i686-pc
786
basic_machine=xps100-honeywell
789
+ basic_machine=ymp-cray
793
basic_machine=z8k-unknown
797
+ basic_machine=z80-unknown
801
basic_machine=none-none
803
@@ -952,16 +1191,12 @@ case $basic_machine in
805
basic_machine=hppa1.1-oki
808
- if [ x$os = x-linux-gnu ]; then
809
- basic_machine=mips-unknown
811
- basic_machine=mips-mips
815
basic_machine=romp-ibm
818
+ basic_machine=mmix-knuth
821
basic_machine=rs6000-ibm
823
@@ -978,13 +1213,13 @@ case $basic_machine in
825
basic_machine=we32k-att
827
- sh3 | sh4 | sh3eb | sh4eb)
828
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
829
basic_machine=sh-unknown
831
- sparc | sparcv9 | sparcv9b)
832
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
833
basic_machine=sparc-sun
837
basic_machine=cydra-cydrome
840
@@ -999,10 +1234,6 @@ case $basic_machine in
842
basic_machine=powerpc-apple
845
- basic_machine=c4x-none
849
# Make sure to match an already-canonicalized machine name.
851
@@ -1032,6 +1263,9 @@ case $os in
852
# First match some system type aliases
853
# that might get confused with valid system types.
854
# -solaris* is a basic system type, with this one exception.
858
-solaris1 | -solaris1.*)
859
os=`echo $os | sed -e 's|solaris1|sunos4|'`
861
@@ -1052,23 +1286,30 @@ case $os in
862
# Each alternative MUST END IN A *, to match a version number.
863
# -sysv* is not here because it comes later, after sysvr4.
864
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
865
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
866
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
867
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
868
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
869
+ | -sym* | -kopensolaris* \
870
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
873
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
874
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
875
- | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
876
- | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
877
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
878
+ | -openbsd* | -solidbsd* \
879
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
880
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
881
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
882
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
883
- | -chorusos* | -chorusrdb* \
884
+ | -chorusos* | -chorusrdb* | -cegcc* \
885
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
886
- | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
887
- | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
888
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
889
+ | -uxpv* | -beos* | -mpeix* | -udk* \
890
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
891
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
892
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
894
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
895
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
896
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
897
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
898
# Remember, each alternative MUST END IN *, to match a version number.
901
@@ -1080,16 +1321,21 @@ case $os in
909
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
911
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
912
- | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
913
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
914
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
917
os=`echo $os | sed -e 's|mac|macos|'`
923
os=`echo $os | sed -e 's|linux|linux-gnu|'`
925
@@ -1102,6 +1348,9 @@ case $os in
935
@@ -1120,14 +1369,23 @@ case $os in
960
@@ -1139,6 +1397,9 @@ case $os in
970
@@ -1166,9 +1427,23 @@ case $os in
974
- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
976
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
996
@@ -1191,6 +1466,12 @@ else
997
# system, and we'll never get to this point.
999
case $basic_machine in
1009
@@ -1200,10 +1481,14 @@ case $basic_machine in
1016
+ # This must come before the *-dec entry.
1025
@@ -1224,12 +1509,18 @@ case $basic_machine in
1041
*-tti) # must be before sparc entry or we get the wrong os.
1044
@@ -1239,9 +1530,15 @@ case $basic_machine in
1060
@@ -1293,19 +1590,19 @@ case $basic_machine in
1084
@@ -1344,7 +1641,7 @@ case $basic_machine in
1093
@@ -1374,10 +1671,16 @@ case $basic_machine in
1103
- -vxsim* | -vxworks*)
1107
+ -vxsim* | -vxworks* | -windiss*)
1111
@@ -1401,7 +1704,7 @@ case $basic_machine in
1114
echo $basic_machine$os
1119
# eval: (add-hook 'write-file-hooks 'time-stamp)
1120
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/config.guess
1121
+++ gtkboard-0.11pre0+cvs.2003.11.02/config.guess
1124
# Attempt to guess a canonical system name.
1125
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
1126
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1127
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
1128
# Free Software Foundation, Inc.
1130
-timestamp='2001-09-04'
1131
+timestamp='2009-12-30'
1133
# This file is free software; you can redistribute it and/or modify it
1134
# under the terms of the GNU General Public License as published by
1135
@@ -17,22 +18,25 @@ timestamp='2001-09-04'
1137
# You should have received a copy of the GNU General Public License
1138
# along with this program; if not, write to the Free Software
1139
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1140
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
1143
# As a special exception to the GNU General Public License, if you
1144
# distribute this file as part of a program that contains a
1145
# configuration script generated by Autoconf, you may include it under
1146
# the same distribution terms that you use for the rest of that program.
1148
-# Written by Per Bothner <bothner@cygnus.com>.
1149
-# Please send patches to <config-patches@gnu.org>.
1151
+# Originally written by Per Bothner. Please send patches (context
1152
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
1155
# This script attempts to guess a canonical system name similar to
1156
# config.sub. If it succeeds, it prints the system name on stdout, and
1157
# exits with 0. Otherwise, it exits with 1.
1159
-# The plan is that this can be called by configure scripts if you
1160
-# don't specify an explicit build system type.
1161
+# You can get the latest version of this script from:
1162
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1164
me=`echo "$0" | sed -e 's,.*/,,'`
1166
@@ -52,8 +56,9 @@ version="\
1167
GNU config.guess ($timestamp)
1169
Originally written by Per Bothner.
1170
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
1171
-Free Software Foundation, Inc.
1172
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
1173
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
1174
+Software Foundation, Inc.
1176
This is free software; see the source for copying conditions. There is NO
1177
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
1178
@@ -65,11 +70,11 @@ Try \`$me --help' for more information."
1179
while test $# -gt 0 ; do
1181
--time-stamp | --time* | -t )
1182
- echo "$timestamp" ; exit 0 ;;
1183
+ echo "$timestamp" ; exit ;;
1185
- echo "$version" ; exit 0 ;;
1186
+ echo "$version" ; exit ;;
1187
--help | --h* | -h )
1188
- echo "$usage"; exit 0 ;;
1189
+ echo "$usage"; exit ;;
1190
-- ) # Stop option processing
1192
- ) # Use stdin as input.
1193
@@ -87,30 +92,42 @@ if test $# != 0; then
1197
+trap 'exit 1' 1 2 15
1200
-trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
1201
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
1202
+# compiler to aid in system detection is discouraged as it requires
1203
+# temporary files to be created and, as you can see below, it is a
1204
+# headache to deal with in a portable fashion.
1206
-# CC_FOR_BUILD -- compiler used by this script.
1207
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
1208
# use `HOST_CC' if defined, but it is deprecated.
1210
-set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
1211
- ,,) echo "int dummy(){}" > $dummy.c ;
1212
- for c in cc gcc c89 ; do
1213
- ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
1214
- if test $? = 0 ; then
1215
+# Portable tmp directory creation inspired by the Autoconf team.
1218
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
1219
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
1221
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
1222
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
1223
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
1224
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
1226
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
1227
+case $CC_FOR_BUILD,$HOST_CC,$CC in
1228
+ ,,) echo "int x;" > $dummy.c ;
1229
+ for c in cc gcc c89 c99 ; do
1230
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
1231
CC_FOR_BUILD="$c"; break ;
1234
- rm -f $dummy.c $dummy.o $dummy.rel ;
1235
if test x"$CC_FOR_BUILD" = x ; then
1236
CC_FOR_BUILD=no_compiler_found ;
1239
,,*) CC_FOR_BUILD=$CC ;;
1240
,*,*) CC_FOR_BUILD=$HOST_CC ;;
1242
+esac ; set_cc_for_build= ;'
1244
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
1245
# (ghazi@noc.rutgers.edu 1994-08-24)
1246
@@ -127,32 +144,34 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` |
1248
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
1250
- # Netbsd (nbsd) targets should (where applicable) match one or
1251
+ # NetBSD (nbsd) targets should (where applicable) match one or
1252
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
1253
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
1254
# switched to ELF, *-*-netbsd* would select the old
1255
# object file format. This provides both forward
1256
# compatibility and a consistent mechanism for selecting the
1257
# object file format.
1258
- # Determine the machine/vendor (is the vendor relevant).
1259
- case "${UNAME_MACHINE}" in
1260
- amiga) machine=m68k-unknown ;;
1261
- arm32) machine=arm-unknown ;;
1262
- atari*) machine=m68k-atari ;;
1263
- sun3*) machine=m68k-sun ;;
1264
- mac68k) machine=m68k-apple ;;
1265
- macppc) machine=powerpc-apple ;;
1266
- hp3[0-9][05]) machine=m68k-hp ;;
1267
- ibmrt|romp-ibm) machine=romp-ibm ;;
1268
- *) machine=${UNAME_MACHINE}-unknown ;;
1270
+ # Note: NetBSD doesn't particularly care about the vendor
1271
+ # portion of the name. We always set it to "unknown".
1272
+ sysctl="sysctl -n hw.machine_arch"
1273
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
1274
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
1275
+ case "${UNAME_MACHINE_ARCH}" in
1276
+ armeb) machine=armeb-unknown ;;
1277
+ arm*) machine=arm-unknown ;;
1278
+ sh3el) machine=shl-unknown ;;
1279
+ sh3eb) machine=sh-unknown ;;
1280
+ sh5el) machine=sh5le-unknown ;;
1281
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
1283
# The Operating System including object format, if it has switched
1284
# to ELF recently, or will in the future.
1285
- case "${UNAME_MACHINE}" in
1286
- i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
1287
+ case "${UNAME_MACHINE_ARCH}" in
1288
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
1289
eval $set_cc_for_build
1290
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
1291
- | grep __ELF__ >/dev/null
1294
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
1295
# Return netbsd for either. FIX?
1296
@@ -166,120 +185,128 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
1300
- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
1301
+ # Debian GNU/NetBSD machines have a different userland, and
1302
+ # thus, need a distinct triplet. However, they do not need
1303
+ # kernel version information, so it can be replaced with a
1304
+ # suitable tag, in the style of linux-gnu.
1305
+ case "${UNAME_VERSION}" in
1310
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
1313
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
1314
# contains redundant information, the shorter form:
1315
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
1316
echo "${machine}-${os}${release}"
1320
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
1321
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
1324
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
1327
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
1329
+ macppc:MirBSD:*:*)
1330
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
1333
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
1336
- if test $UNAME_RELEASE = "V4.0"; then
1337
+ case $UNAME_RELEASE in
1339
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
1343
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
1346
+ # According to Compaq, /usr/sbin/psrinfo has been available on
1347
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
1348
+ # covers most systems running today. This code pipes the CPU
1349
+ # types through head -n 1, so we only detect the type of CPU 0.
1350
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
1351
+ case "$ALPHA_CPU_TYPE" in
1353
+ UNAME_MACHINE="alpha" ;;
1355
+ UNAME_MACHINE="alpha" ;;
1356
+ "LCA4 (21066/21068)")
1357
+ UNAME_MACHINE="alpha" ;;
1359
+ UNAME_MACHINE="alphaev5" ;;
1361
+ UNAME_MACHINE="alphaev56" ;;
1362
+ "EV5.6 (21164PC)")
1363
+ UNAME_MACHINE="alphapca56" ;;
1364
+ "EV5.7 (21164PC)")
1365
+ UNAME_MACHINE="alphapca57" ;;
1367
+ UNAME_MACHINE="alphaev6" ;;
1369
+ UNAME_MACHINE="alphaev67" ;;
1370
+ "EV6.8CB (21264C)")
1371
+ UNAME_MACHINE="alphaev68" ;;
1372
+ "EV6.8AL (21264B)")
1373
+ UNAME_MACHINE="alphaev68" ;;
1374
+ "EV6.8CX (21264D)")
1375
+ UNAME_MACHINE="alphaev68" ;;
1376
+ "EV6.9A (21264/EV69A)")
1377
+ UNAME_MACHINE="alphaev69" ;;
1379
+ UNAME_MACHINE="alphaev7" ;;
1381
+ UNAME_MACHINE="alphaev79" ;;
1383
+ # A Pn.n version is a patched version.
1384
# A Vn.n version is a released version.
1385
# A Tn.n version is a released field test version.
1386
# A Xn.n version is an unreleased experimental baselevel.
1387
# 1.2 uses "1.2" for uname -r.
1388
- cat <<EOF >$dummy.s
1391
- .byte 37,100,45,37,120,10,0 # "%d-%x\n"
1398
- .frame \$30,16,\$26,0
1401
- .long 0x47e03d80 # implver \$0
1403
- .long 0x47e20c21 # amask \$2,\$1
1404
- lda \$16,\$Lformat
1413
- eval $set_cc_for_build
1414
- $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
1415
- if test "$?" = 0 ; then
1416
- case `./$dummy` in
1418
- UNAME_MACHINE="alpha"
1421
- UNAME_MACHINE="alphaev5"
1424
- UNAME_MACHINE="alphaev56"
1427
- UNAME_MACHINE="alphapca56"
1430
- UNAME_MACHINE="alphaev6"
1433
- UNAME_MACHINE="alphaev67"
1436
- UNAME_MACHINE="alphaev68"
1440
- rm -f $dummy.s $dummy
1441
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
1443
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
1445
Alpha\ *:Windows_NT*:*)
1446
# How do we know it's Interix rather than the generic POSIX subsystem?
1447
# Should we change UNAME_MACHINE based on the output of uname instead
1448
# of the specific Alpha model?
1449
echo alpha-pc-interix
1452
21064:Windows_NT:50:3)
1453
echo alpha-dec-winnt3.5
1456
Amiga*:UNIX_System_V:4.0:*)
1457
echo m68k-unknown-sysv4
1459
- amiga:OpenBSD:*:*)
1460
- echo m68k-unknown-openbsd${UNAME_RELEASE}
1463
*:[Aa]miga[Oo][Ss]:*:*)
1464
echo ${UNAME_MACHINE}-unknown-amigaos
1466
- arc64:OpenBSD:*:*)
1467
- echo mips64el-unknown-openbsd${UNAME_RELEASE}
1470
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
1472
- hkmips:OpenBSD:*:*)
1473
- echo mips-unknown-openbsd${UNAME_RELEASE}
1476
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
1479
- echo mips-unknown-openbsd${UNAME_RELEASE}
1481
- wgrisc:OpenBSD:*:*)
1482
- echo mipsel-unknown-openbsd${UNAME_RELEASE}
1485
+ *:[Mm]orph[Oo][Ss]:*:*)
1486
+ echo ${UNAME_MACHINE}-unknown-morphos
1489
echo i370-ibm-openedition
1493
+ echo s390-ibm-zvmoe
1496
+ echo powerpc-ibm-os400
1498
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
1499
echo arm-acorn-riscix${UNAME_RELEASE}
1502
+ arm:riscos:*:*|arm:RISCOS:*:*)
1503
+ echo arm-unknown-riscos
1505
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
1506
echo hppa1.1-hitachi-hiuxmpp
1509
Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
1510
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
1511
if test "`(/bin/universe) 2>/dev/null`" = att ; then
1512
@@ -287,25 +314,51 @@ EOF
1514
echo pyramid-pyramid-bsd
1519
echo pyramid-pyramid-svr4
1522
+ DRS?6000:unix:4.0:6*)
1523
+ echo sparc-icl-nx6
1525
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
1526
+ case `/usr/bin/uname -p` in
1527
+ sparc) echo sparc-icl-nx7; exit ;;
1530
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1533
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1536
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
1537
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1539
- i86pc:SunOS:5.*:*)
1540
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1543
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
1544
+ echo i386-pc-auroraux${UNAME_RELEASE}
1546
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
1547
+ eval $set_cc_for_build
1549
+ # If there is a compiler, see if it is configured for 64-bit objects.
1550
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
1551
+ # This test works for both compilers.
1552
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1553
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
1554
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1555
+ grep IS_64BIT_ARCH >/dev/null
1560
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1563
# According to config.sub, this is the proper way to canonicalize
1564
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
1565
# it's likely to be more like Solaris than SunOS4.
1566
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1570
case "`/usr/bin/arch -k`" in
1572
@@ -314,12 +367,12 @@ EOF
1574
# Japanese Language versions have a version number like `4.1.3-JL'.
1575
echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
1579
echo m68k-sun-sunos${UNAME_RELEASE}
1583
- UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
1584
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
1585
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
1586
case "`/bin/arch`" in
1588
@@ -329,16 +382,10 @@ EOF
1589
echo sparc-sun-sunos${UNAME_RELEASE}
1595
echo sparc-auspex-sunos${UNAME_RELEASE}
1598
- echo `uname -p`-unknown-netbsd${UNAME_RELEASE}
1600
- atari*:OpenBSD:*:*)
1601
- echo m68k-unknown-openbsd${UNAME_RELEASE}
1604
# The situation for MiNT is a little confusing. The machine name
1605
# can be virtually everything (everything which is not
1606
# "atarist" or "atariste" at least should have a processor
1607
@@ -349,49 +396,40 @@ EOF
1609
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
1610
echo m68k-atari-mint${UNAME_RELEASE}
1613
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
1614
echo m68k-atari-mint${UNAME_RELEASE}
1617
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
1618
echo m68k-atari-mint${UNAME_RELEASE}
1621
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
1622
echo m68k-milan-mint${UNAME_RELEASE}
1625
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
1626
echo m68k-hades-mint${UNAME_RELEASE}
1629
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
1630
echo m68k-unknown-mint${UNAME_RELEASE}
1632
- sun3*:OpenBSD:*:*)
1633
- echo m68k-unknown-openbsd${UNAME_RELEASE}
1635
- mac68k:OpenBSD:*:*)
1636
- echo m68k-unknown-openbsd${UNAME_RELEASE}
1638
- mvme68k:OpenBSD:*:*)
1639
- echo m68k-unknown-openbsd${UNAME_RELEASE}
1641
- mvme88k:OpenBSD:*:*)
1642
- echo m88k-unknown-openbsd${UNAME_RELEASE}
1646
+ echo m68k-apple-machten${UNAME_RELEASE}
1648
powerpc:machten:*:*)
1649
echo powerpc-apple-machten${UNAME_RELEASE}
1653
echo mips-dec-mach_bsd4.3
1657
echo mips-dec-ultrix${UNAME_RELEASE}
1661
echo vax-dec-ultrix${UNAME_RELEASE}
1664
2020:CLIX:*:* | 2430:CLIX:*:*)
1665
echo clipper-intergraph-clix${UNAME_RELEASE}
1668
mips:*:*:UMIPS | mips:*:*:RISCos)
1669
eval $set_cc_for_build
1670
sed 's/^ //' << EOF >$dummy.c
1671
@@ -415,27 +453,33 @@ EOF
1675
- $CC_FOR_BUILD $dummy.c -o $dummy \
1676
- && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
1677
- && rm -f $dummy.c $dummy && exit 0
1678
- rm -f $dummy.c $dummy
1679
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
1680
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
1681
+ SYSTEM_NAME=`$dummy $dummyarg` &&
1682
+ { echo "$SYSTEM_NAME"; exit; }
1683
echo mips-mips-riscos${UNAME_RELEASE}
1686
Motorola:PowerMAX_OS:*:*)
1687
echo powerpc-motorola-powermax
1690
+ Motorola:*:4.3:PL8-*)
1691
+ echo powerpc-harris-powermax
1693
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
1694
+ echo powerpc-harris-powermax
1696
Night_Hawk:Power_UNIX:*:*)
1697
echo powerpc-harris-powerunix
1701
echo m88k-harris-cxux7
1705
echo m88k-motorola-sysv4
1709
echo m88k-motorola-sysv3
1713
# DG/UX returns AViiON for all architectures
1714
UNAME_PROCESSOR=`/usr/bin/uname -p`
1715
@@ -451,29 +495,29 @@ EOF
1717
echo i586-dg-dgux${UNAME_RELEASE}
1721
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
1722
echo m88k-dolphin-sysv3
1726
# Delta 88k system running SVR3
1727
echo m88k-motorola-sysv3
1730
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
1731
echo m88k-tektronix-sysv3
1734
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
1735
echo m68k-tektronix-bsd
1739
echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
1742
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
1743
- echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
1744
- exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
1745
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
1746
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
1752
if [ -x /usr/bin/oslevel ] ; then
1753
IBM_REV=`/usr/bin/oslevel`
1754
@@ -481,7 +525,7 @@ EOF
1755
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
1757
echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
1761
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
1762
eval $set_cc_for_build
1763
@@ -496,17 +540,20 @@ EOF
1767
- $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
1768
- rm -f $dummy.c $dummy
1769
- echo rs6000-ibm-aix3.2.5
1770
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
1772
+ echo "$SYSTEM_NAME"
1774
+ echo rs6000-ibm-aix3.2.5
1776
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
1777
echo rs6000-ibm-aix3.2.4
1779
echo rs6000-ibm-aix3.2
1783
- IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
1786
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
1787
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
1790
@@ -518,38 +565,36 @@ EOF
1791
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
1793
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
1800
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
1801
echo romp-ibm-bsd4.4
1804
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
1805
echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
1806
- exit 0 ;; # report: romp-ibm BSD 4.3
1807
+ exit ;; # report: romp-ibm BSD 4.3
1809
echo rs6000-bull-bosx
1812
DPX/2?00:B.O.S.:*:*)
1813
echo m68k-bull-sysv3
1816
9000/[34]??:4.3bsd:1.*:*)
1820
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
1824
9000/[34678]??:HP-UX:*:*)
1825
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
1826
case "${UNAME_MACHINE}" in
1827
9000/31? ) HP_ARCH=m68000 ;;
1828
9000/[34]?? ) HP_ARCH=m68k ;;
1829
9000/[678][0-9][0-9])
1830
- case "${HPUX_REV}" in
1832
- if [ -x /usr/bin/getconf ]; then
1833
- sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
1834
+ if [ -x /usr/bin/getconf ]; then
1835
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
1836
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
1837
case "${sc_cpu_version}" in
1838
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
1839
@@ -558,13 +603,13 @@ EOF
1840
case "${sc_kernel_bits}" in
1841
32) HP_ARCH="hppa2.0n" ;;
1842
64) HP_ARCH="hppa2.0w" ;;
1843
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
1848
- if [ "${HP_ARCH}" = "" ]; then
1849
- eval $set_cc_for_build
1850
- sed 's/^ //' << EOF >$dummy.c
1852
+ if [ "${HP_ARCH}" = "" ]; then
1853
+ eval $set_cc_for_build
1854
+ sed 's/^ //' << EOF >$dummy.c
1856
#define _HPUX_SOURCE
1858
@@ -597,17 +642,37 @@ EOF
1862
- (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
1863
- if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
1864
- rm -f $dummy.c $dummy
1866
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
1867
+ test -z "$HP_ARCH" && HP_ARCH=hppa
1870
+ if [ ${HP_ARCH} = "hppa2.0w" ]
1872
+ eval $set_cc_for_build
1874
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
1875
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
1876
+ # generating 64-bit code. GNU and HP use different nomenclature:
1878
+ # $ CC_FOR_BUILD=cc ./config.guess
1879
+ # => hppa2.0w-hp-hpux11.23
1880
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
1881
+ # => hppa64-hp-hpux11.23
1883
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
1886
+ HP_ARCH="hppa2.0w"
1891
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
1895
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
1896
echo ia64-hp-hpux${HPUX_REV}
1900
eval $set_cc_for_build
1901
sed 's/^ //' << EOF >$dummy.c
1902
@@ -635,158 +700,164 @@ EOF
1906
- $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
1907
- rm -f $dummy.c $dummy
1908
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
1909
+ { echo "$SYSTEM_NAME"; exit; }
1910
echo unknown-hitachi-hiuxwe2
1913
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
1917
9000/8??:4.3bsd:*:*)
1921
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
1922
echo hppa1.0-hp-mpeix
1925
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
1934
if [ -x /usr/sbin/sysversion ] ; then
1935
echo ${UNAME_MACHINE}-unknown-osf1mk
1937
echo ${UNAME_MACHINE}-unknown-osf1
1942
echo hppa1.1-hp-lites
1944
- hppa*:OpenBSD:*:*)
1945
- echo hppa-unknown-openbsd
1948
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
1952
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
1953
if getsysinfo -f scalar_acc
1954
then echo c32-convex-bsd
1955
else echo c2-convex-bsd
1959
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
1963
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
1967
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
1971
- echo xmp-cray-unicos
1975
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
1979
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
1980
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
1981
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
1986
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
1989
- echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
1993
echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
1997
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2000
- echo cray2-cray-unicos
2004
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2006
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
2007
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
2008
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
2009
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
2010
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2012
- hp300:OpenBSD:*:*)
2013
- echo m68k-unknown-openbsd${UNAME_RELEASE}
2016
+ 5000:UNIX_System_V:4.*:*)
2017
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
2018
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
2019
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2021
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
2022
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
2026
echo sparc-unknown-bsdi${UNAME_RELEASE}
2030
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
2034
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
2037
- echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
2039
+ case ${UNAME_MACHINE} in
2041
+ echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2043
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2045
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2049
echo ${UNAME_MACHINE}-pc-cygwin
2054
echo ${UNAME_MACHINE}-pc-mingw32
2058
+ # uname -m includes "-pc" on this system.
2059
+ echo ${UNAME_MACHINE}-mingw32
2062
echo ${UNAME_MACHINE}-pc-pw32
2066
+ case ${UNAME_MACHINE} in
2068
+ echo i586-pc-interix${UNAME_RELEASE}
2070
+ authenticamd | genuineintel | EM64T)
2071
+ echo x86_64-unknown-interix${UNAME_RELEASE}
2074
+ echo ia64-unknown-interix${UNAME_RELEASE}
2077
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
2078
+ echo i${UNAME_MACHINE}-pc-mks
2080
+ 8664:Windows_NT:*)
2081
+ echo x86_64-pc-mks
2083
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
2084
# How do we know it's Interix rather than the generic POSIX subsystem?
2085
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
2086
# UNAME_MACHINE based on the output of uname instead of i386?
2087
- echo i386-pc-interix
2089
+ echo i586-pc-interix
2092
echo ${UNAME_MACHINE}-pc-uwin
2095
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
2096
+ echo x86_64-unknown-cygwin
2099
echo powerpcle-unknown-cygwin
2103
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2108
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
2112
+ # other systems with GNU libc and userland
2113
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
2116
echo ${UNAME_MACHINE}-pc-minix
2119
- echo ${UNAME_MACHINE}-unknown-linux-gnu
2122
- echo ${UNAME_MACHINE}-unknown-linux
2125
- echo ${UNAME_MACHINE}-unknown-linux-gnu
2128
- case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in
2129
- big) echo mips-unknown-linux-gnu && exit 0 ;;
2130
- little) echo mipsel-unknown-linux-gnu && exit 0 ;;
2134
- echo powerpc-unknown-linux-gnu
2137
- echo powerpc64-unknown-linux-gnu
2141
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
2142
EV5) UNAME_MACHINE=alphaev5 ;;
2143
@@ -797,10 +868,80 @@ EOF
2144
EV67) UNAME_MACHINE=alphaev67 ;;
2145
EV68*) UNAME_MACHINE=alphaev68 ;;
2147
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
2148
+ objdump --private-headers /bin/sh | grep -q ld.so.1
2149
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
2150
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
2154
+ eval $set_cc_for_build
2155
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
2156
+ | grep -q __ARM_EABI__
2158
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2160
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
2164
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2167
+ echo cris-axis-linux-gnu
2169
+ crisv32:Linux:*:*)
2170
+ echo crisv32-axis-linux-gnu
2173
+ echo frv-unknown-linux-gnu
2177
+ eval $set_cc_for_build
2178
+ sed 's/^ //' << EOF >$dummy.c
2179
+ #ifdef __dietlibc__
2183
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
2184
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
2187
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2190
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2193
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2195
+ mips:Linux:*:* | mips64:Linux:*:*)
2196
+ eval $set_cc_for_build
2197
+ sed 's/^ //' << EOF >$dummy.c
2199
+ #undef ${UNAME_MACHINE}
2200
+ #undef ${UNAME_MACHINE}el
2201
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
2202
+ CPU=${UNAME_MACHINE}el
2204
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
2205
+ CPU=${UNAME_MACHINE}
2211
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
2212
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
2215
+ echo or32-unknown-linux-gnu
2218
+ echo sparc-unknown-linux-gnu
2220
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
2221
+ echo hppa64-unknown-linux-gnu
2223
parisc:Linux:*:* | hppa:Linux:*:*)
2224
# Look for CPU level
2225
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
2226
@@ -808,84 +949,40 @@ EOF
2227
PA8*) echo hppa2.0-unknown-linux-gnu ;;
2228
*) echo hppa-unknown-linux-gnu ;;
2231
- parisc64:Linux:*:* | hppa64:Linux:*:*)
2232
- echo hppa64-unknown-linux-gnu
2236
+ echo powerpc64-unknown-linux-gnu
2239
+ echo powerpc-unknown-linux-gnu
2241
s390:Linux:*:* | s390x:Linux:*:*)
2242
echo ${UNAME_MACHINE}-ibm-linux
2246
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2249
echo ${UNAME_MACHINE}-unknown-linux-gnu
2252
sparc:Linux:*:* | sparc64:Linux:*:*)
2253
echo ${UNAME_MACHINE}-unknown-linux-gnu
2257
+ echo ${UNAME_MACHINE}-dec-linux-gnu
2260
echo x86_64-unknown-linux-gnu
2263
- # The BFD linker knows what the default object file format is, so
2264
- # first see if it will tell us. cd to the root directory to prevent
2265
- # problems with other programs or directories called `ld' in the path.
2266
- ld_supported_targets=`cd /; ld --help 2>&1 \
2267
- | sed -ne '/supported targets:/!d
2269
- s/.*supported targets: *//
2272
- case "$ld_supported_targets" in
2274
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
2277
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
2280
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
2283
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
2284
- # one that does not give us useful --help.
2285
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
2288
- # Determine whether the default compiler is a.out or elf
2289
- eval $set_cc_for_build
2290
- cat >$dummy.c <<EOF
2291
-#include <features.h>
2293
-#include <stdio.h> /* for printf() prototype */
2294
- int main (int argc, char *argv[]) {
2296
- int main (argc, argv) int argc; char *argv[]; {
2300
-# if __GLIBC__ >= 2
2301
- printf ("%s-pc-linux-gnu\n", argv[1]);
2303
- printf ("%s-pc-linux-gnulibc1\n", argv[1]);
2306
- printf ("%s-pc-linux-gnulibc1\n", argv[1]);
2309
- printf ("%s-pc-linux-gnuaout\n", argv[1]);
2314
- $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
2315
- rm -f $dummy.c $dummy
2316
- test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
2319
+ xtensa*:Linux:*:*)
2320
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2322
i*86:DYNIX/ptx:4*:*)
2323
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
2324
# earlier versions are messed up and put the nodename in both
2325
# sysname and nodename.
2326
echo i386-sequent-sysv4
2329
i*86:UNIX_SV:4.2MP:2.*)
2330
# Unixware is an offshoot of SVR4, but it has its own version
2331
# number series starting with 2...
2332
@@ -893,7 +990,27 @@ EOF
2333
# I just have to hope. -- rms.
2334
# Use sysv4.2uw... so that sysv4* matches it.
2335
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
2339
+ # If we were able to find `uname', then EMX Unix compatibility
2340
+ # is probably installed.
2341
+ echo ${UNAME_MACHINE}-pc-os2-emx
2343
+ i*86:XTS-300:*:STOP)
2344
+ echo ${UNAME_MACHINE}-unknown-stop
2347
+ echo ${UNAME_MACHINE}-unknown-atheos
2349
+ i*86:syllable:*:*)
2350
+ echo ${UNAME_MACHINE}-pc-syllable
2352
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
2353
+ echo i386-unknown-lynxos${UNAME_RELEASE}
2356
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
2358
i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
2359
UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
2360
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
2361
@@ -901,99 +1018,113 @@ EOF
2363
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
2369
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
2370
case `/bin/uname -X | grep "^Machine"` in
2371
*486*) UNAME_MACHINE=i486 ;;
2372
*Pentium) UNAME_MACHINE=i586 ;;
2373
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
2375
echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
2379
if test -f /usr/options/cb.name; then
2380
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
2381
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
2382
elif /bin/uname -X 2>/dev/null >/dev/null ; then
2383
- UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
2384
- (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
2385
- (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
2386
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
2387
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
2388
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
2389
&& UNAME_MACHINE=i586
2390
- (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
2391
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
2392
&& UNAME_MACHINE=i686
2393
- (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
2394
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
2395
&& UNAME_MACHINE=i686
2396
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
2398
echo ${UNAME_MACHINE}-pc-sysv32
2402
- echo ${UNAME_MACHINE}-pc-msdosdjgpp
2406
# Left here for compatibility:
2407
# uname -m prints for DJGPP always 'pc', but it prints nothing about
2408
- # the processor, so we play safe by assuming i386.
2409
- echo i386-pc-msdosdjgpp
2411
+ # the processor, so we play safe by assuming i586.
2412
+ # Note: whatever this is, it MUST be the same as what config.sub
2413
+ # prints for the "djgpp" host, or else GDB configury will decide that
2414
+ # this is a cross-build.
2415
+ echo i586-pc-msdosdjgpp
2422
echo i860-intel-osf1
2425
i860:*:4.*:*) # i860-SVR4
2426
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
2427
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
2428
else # Add other i860-SVR4 vendors below as they are discovered.
2429
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
2435
echo m68010-convergent-sysv
2437
- M68*:*:R3V[567]*:*)
2438
- test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
2439
- 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
2441
+ mc68k:UNIX:SYSTEM5:3.51m)
2442
+ echo m68k-convergent-sysv
2444
+ M680?0:D-NIX:5.3:*)
2445
+ echo m68k-diab-dnix
2447
+ M68*:*:R3V[5678]*:*)
2448
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
2449
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
2451
test -r /etc/.relid \
2452
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
2453
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
2454
- && echo i486-ncr-sysv4.3${OS_REL} && exit 0
2455
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
2456
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
2457
- && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
2458
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
2459
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
2460
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
2461
- && echo i486-ncr-sysv4 && exit 0 ;;
2462
+ && { echo i486-ncr-sysv4; exit; } ;;
2463
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
2465
+ test -r /etc/.relid \
2466
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
2467
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
2468
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
2469
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
2470
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
2471
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
2472
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
2473
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
2474
echo m68k-unknown-lynxos${UNAME_RELEASE}
2477
mc68030:UNIX_System_V:4.*:*)
2478
echo m68k-atari-sysv4
2480
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
2481
- echo i386-unknown-lynxos${UNAME_RELEASE}
2484
TSUNAMI:LynxOS:2.*:*)
2485
echo sparc-unknown-lynxos${UNAME_RELEASE}
2488
rs6000:LynxOS:2.*:*)
2489
echo rs6000-unknown-lynxos${UNAME_RELEASE}
2491
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
2493
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
2494
echo powerpc-unknown-lynxos${UNAME_RELEASE}
2497
SM[BE]S:UNIX_SV:*:*)
2498
echo mips-dde-sysv${UNAME_RELEASE}
2501
RM*:ReliantUNIX-*:*:*)
2510
if uname -p 2>/dev/null >/dev/null ; then
2511
UNAME_MACHINE=`(uname -p) 2>/dev/null`
2512
@@ -1001,82 +1132,120 @@ EOF
2518
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
2519
# says <Richard.M.Bartel@ccMail.Census.GOV>
2520
echo i586-unisys-sysv4
2523
*:UNIX_System_V:4*:FTX*)
2524
# From Gerald Hewes <hewes@openmarket.com>.
2525
# How about differentiating between stratus architectures? -djm
2526
echo hppa1.1-stratus-sysv4
2530
# From seanf@swdc.stratus.com.
2531
echo i860-stratus-sysv4
2535
+ # From Paul.Green@stratus.com.
2536
+ echo ${UNAME_MACHINE}-stratus-vos
2539
# From Paul.Green@stratus.com.
2540
echo hppa1.1-stratus-vos
2544
echo m68k-apple-aux${UNAME_RELEASE}
2548
echo mips-sony-newsos6
2551
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
2552
if [ -d /usr/nec ]; then
2553
echo mips-nec-sysv${UNAME_RELEASE}
2555
echo mips-unknown-sysv${UNAME_RELEASE}
2559
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
2560
echo powerpc-be-beos
2563
BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
2564
echo powerpc-apple-beos
2567
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
2571
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
2572
+ echo i586-pc-haiku
2575
echo sx4-nec-superux${UNAME_RELEASE}
2579
echo sx5-nec-superux${UNAME_RELEASE}
2582
+ SX-6:SUPER-UX:*:*)
2583
+ echo sx6-nec-superux${UNAME_RELEASE}
2585
+ SX-7:SUPER-UX:*:*)
2586
+ echo sx7-nec-superux${UNAME_RELEASE}
2588
+ SX-8:SUPER-UX:*:*)
2589
+ echo sx8-nec-superux${UNAME_RELEASE}
2591
+ SX-8R:SUPER-UX:*:*)
2592
+ echo sx8r-nec-superux${UNAME_RELEASE}
2594
Power*:Rhapsody:*:*)
2595
echo powerpc-apple-rhapsody${UNAME_RELEASE}
2599
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
2603
- echo `uname -p`-apple-darwin${UNAME_RELEASE}
2605
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
2606
+ case $UNAME_PROCESSOR in
2608
+ eval $set_cc_for_build
2609
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
2610
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
2611
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
2612
+ grep IS_64BIT_ARCH >/dev/null
2614
+ UNAME_PROCESSOR="x86_64"
2617
+ unknown) UNAME_PROCESSOR=powerpc ;;
2619
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
2621
*:procnto*:*:* | *:QNX:[0123456789]*:*)
2622
- if test "${UNAME_MACHINE}" = "x86pc"; then
2623
+ UNAME_PROCESSOR=`uname -p`
2624
+ if test "$UNAME_PROCESSOR" = "x86"; then
2625
+ UNAME_PROCESSOR=i386
2628
- echo `uname -p`-${UNAME_MACHINE}-nto-qnx
2630
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
2635
- NSR-[KW]:NONSTOP_KERNEL:*:*)
2637
+ NSE-?:NONSTOP_KERNEL:*:*)
2638
+ echo nse-tandem-nsk${UNAME_RELEASE}
2640
+ NSR-?:NONSTOP_KERNEL:*:*)
2641
echo nsr-tandem-nsk${UNAME_RELEASE}
2645
echo mips-compaq-nonstopux
2649
echo bs2000-siemens-sysv
2652
DS/*:UNIX_System_V:*:*)
2653
echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
2657
# "uname -m" is not consistent, so use $cputype instead. 386
2658
# is converted to i386 for consistency with other x86
2659
@@ -1087,36 +1256,50 @@ EOF
2660
UNAME_MACHINE="$cputype"
2662
echo ${UNAME_MACHINE}-unknown-plan9
2665
- # If we were able to find `uname', then EMX Unix compatibility
2666
- # is probably installed.
2667
- echo ${UNAME_MACHINE}-pc-os2-emx
2671
echo pdp10-unknown-tops10
2675
echo pdp10-unknown-tenex
2678
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
2679
echo pdp10-dec-tops20
2682
XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
2683
echo pdp10-xkl-tops20
2687
echo pdp10-unknown-tops20
2691
echo pdp10-unknown-its
2693
- i*86:XTS-300:*:STOP)
2694
- echo ${UNAME_MACHINE}-unknown-stop
2697
- echo ${UNAME_MACHINE}-unknown-atheos
2701
+ echo mips-sei-seiux${UNAME_RELEASE}
2704
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
2707
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
2708
+ case "${UNAME_MACHINE}" in
2709
+ A*) echo alpha-dec-vms ; exit ;;
2710
+ I*) echo ia64-dec-vms ; exit ;;
2711
+ V*) echo vax-dec-vms ; exit ;;
2714
+ echo i386-pc-xenix
2717
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
2720
+ echo ${UNAME_MACHINE}-pc-rdos
2723
+ echo ${UNAME_MACHINE}-pc-aros
2727
#echo '(No uname command or uname output not recognized.)' 1>&2
2728
@@ -1148,7 +1331,7 @@ main ()
2731
#if defined (__arm) && defined (__acorn) && defined (__unix)
2732
- printf ("arm-acorn-riscix"); exit (0);
2733
+ printf ("arm-acorn-riscix\n"); exit (0);
2736
#if defined (hp300) && !defined (hpux)
2737
@@ -1237,12 +1420,12 @@ main ()
2741
-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
2742
-rm -f $dummy.c $dummy
2743
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
2744
+ { echo "$SYSTEM_NAME"; exit; }
2746
# Apollos put the system type in the environment.
2748
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
2749
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
2751
# Convex versions that predate uname can use getsysinfo(1)
2753
@@ -1251,22 +1434,22 @@ then
2754
case `getsysinfo -f cpu_type` in
2760
if getsysinfo -f scalar_acc
2761
then echo c32-convex-bsd
2762
else echo c2-convex-bsd
2781
@@ -1277,7 +1460,9 @@ This script, last modified $timestamp, h
2782
the operating system you are using. It is advised that you
2783
download the most up to date version of the config scripts from
2785
- ftp://ftp.gnu.org/pub/gnu/config/
2786
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
2788
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
2790
If the version you run ($0) is already up to date, please
2791
send the following data and any information you think might be
2793
+++ gtkboard-0.11pre0+cvs.2003.11.02/configure.ac
2796
+AC_INIT([gtkboard],[0.11pre0])
2797
+AC_CONFIG_SRCDIR([src/])
2798
+AC_CONFIG_HEADERS([config.h])
2801
+AC_CANONICAL_TARGET
2803
+AM_INIT_AUTOMAKE(gtkboard,0.11pre0)
2805
+# Checks for programs.
2808
+# Checks for libraries.
2809
+AC_ARG_ENABLE(gtk2,
2810
+ [ --disable-gtk2 Don't look for GTK2 libraries],
2811
+ enable_gtk2=$enableval,
2812
+ enable_gtk2="yes")
2816
+if test "$enable_gtk2" = "yes" ; then
2817
+ dnl check if user has gtk2
2818
+ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.0.0, found_gtk2=1, found_gtk2=0)
2823
+ [ --disable-sdl Don't look for the SDL library],
2824
+ enable_sdl=$enableval,
2827
+if test "$enable_sdl" = "yes" ; then
2829
+# SDL_VERSION=1.2.0
2830
+# AM_PATH_SDL($SDL_VERSION,
2831
+# AC_DEFINE([HAVE_SDL], [], [Do we have the SDL library]),
2832
+# AC_MSG_WARN([*** SDL version $SDL_VERSION not found. Sound will be disabled])
2834
+ AC_CHECK_LIB( SDL_mixer, Mix_OpenAudio,
2835
+ have_SDL_mixer=yes, have_SDL_mixer=no)
2837
+ if test "$have_SDL_mixer" = "yes" ; then
2838
+# CFLAGS="$CFLAGS -DHAVE_SDL"
2839
+ AC_DEFINE([HAVE_SDL], [], [Do we have the SDL library])
2840
+ LIBS="$LIBS -lSDL_mixer -lSDL"
2842
+ echo "*** SDL_mixer not found. Configuring without audio support."
2846
+# CFLAGS="$CFLAGS $SDL_CFLAGS"
2847
+# LIBS="$LIBS $SDL_LIBS -lSDL_mixer"
2855
+AC_ARG_ENABLE(gnome,[ --enable-gnome Turn on gnome ],[
2856
+ if test "x$enableval" = "xyes"; then
2861
+if test "$gnome" = true ; then
2862
+ PKG_CHECK_MODULES(GNOME, [
2863
+ libgnome-2.0 >= 2.0.0
2864
+ libgnomeui-2.0 >= 2.0.0
2866
+ GNOME_CFLAGS="$GNOME_CFLAGS -DHAVE_GNOME=1"
2869
+AC_SUBST(GNOME_CFLAGS)
2870
+AC_SUBST(GNOME_LIBS)
2872
+AM_CONDITIONAL(WITH_GNOME, test "x$gnome" = "xtrue")
2874
+dnl Checks for header files.
2876
+AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
2878
+dnl Checks for typedefs, structures, and compiler characteristics.
2882
+dnl Checks for library functions.
2885
+AC_CHECK_FUNCS([getcwd memset mkdir sqrt strcasecmp strncasecmp strpbrk strstr strtol])
2887
+AC_CONFIG_FILES([Makefile
2896
+if test "$enable_gtk2" = "yes" ; then
2897
+ AC_MSG_RESULT([ GTK2 enabled.])
2899
+ AC_MSG_RESULT([ GTK2 disabled.])
2902
+if test "$enable_sdl" = "yes" ; then
2903
+ AC_MSG_RESULT([ SDL enabled.])
2905
+ AC_MSG_RESULT([ SDL disabled.])
2907
+if test "$enable_gnome" = "yes" ; then
2908
+ AC_MSG_RESULT([ GNOME enabled.])
2910
+ AC_MSG_RESULT([ GNOME disabled.])
2912
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/aclocal.m4
2913
+++ gtkboard-0.11pre0+cvs.2003.11.02/aclocal.m4
2915
-# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*-
2916
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2918
-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
2919
-# Free Software Foundation, Inc.
2920
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2921
+# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
2922
# This file is free software; the Free Software Foundation
2923
# gives unlimited permission to copy and/or distribute it,
2924
# with or without modifications, as long as this notice is preserved.
2925
@@ -11,385 +11,215 @@
2926
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
2927
# PARTICULAR PURPOSE.
2929
-# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
2931
-# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
2933
+m4_ifndef([AC_AUTOCONF_VERSION],
2934
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
2935
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
2936
+[m4_warning([this file was generated for autoconf 2.67.
2937
+You have another version of autoconf. It may work, but is not guaranteed to.
2938
+If you have problems, you may need to regenerate the build system entirely.
2939
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
2941
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
2942
+# serial 1 (pkg-config-0.24)
2944
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
2946
# This program is free software; you can redistribute it and/or modify
2947
# it under the terms of the GNU General Public License as published by
2948
-# the Free Software Foundation; either version 2, or (at your option)
2949
-# any later version.
2951
-# This program is distributed in the hope that it will be useful,
2952
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2953
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2954
-# GNU General Public License for more details.
2956
+# the Free Software Foundation; either version 2 of the License, or
2957
+# (at your option) any later version.
2959
+# This program is distributed in the hope that it will be useful, but
2960
+# WITHOUT ANY WARRANTY; without even the implied warranty of
2961
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2962
+# General Public License for more details.
2964
# You should have received a copy of the GNU General Public License
2965
# along with this program; if not, write to the Free Software
2966
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2973
-# When config.status generates a header, we must update the stamp-h file.
2974
-# This file resides in the same directory as the config header
2975
-# that is generated. We must strip everything past the first ":",
2976
-# and everything past the last "/".
2978
-# _AM_DIRNAME(PATH)
2979
-# -----------------
2980
-# Like AS_DIRNAME, only do it during macro expansion
2981
-AC_DEFUN([_AM_DIRNAME],
2982
- [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
2983
- m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,
2984
- m4_if(regexp([$1], [^/.*]), -1,
2986
- patsubst([$1], [^\(/\).*], [\1])),
2987
- patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
2988
- patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
2992
-# The stamp files are numbered to have different names.
2993
-# We could number them on a directory basis, but that's additional
2994
-# complications, let's have a unique counter.
2995
-m4_define([_AM_STAMP_Count], [0])
2997
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2999
+# As a special exception to the GNU General Public License, if you
3000
+# distribute this file as part of a program that contains a
3001
+# configuration script generated by Autoconf, you may include it under
3002
+# the same distribution terms that you use for the rest of that program.
3004
-# _AM_STAMP(HEADER)
3005
-# -----------------
3006
-# The name of the stamp file for HEADER.
3007
-AC_DEFUN([_AM_STAMP],
3008
-[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl
3009
-AS_ESCAPE(_AM_DIRNAME(patsubst([$1],
3010
- [:.*])))/stamp-h[]_AM_STAMP_Count])
3013
-# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)
3014
-# ------------------------------------------------------------
3015
-# We used to try to get a real timestamp in stamp-h. But the fear is that
3016
-# that will cause unnecessary cvs conflicts.
3017
-AC_DEFUN([_AM_CONFIG_HEADER],
3018
-[# Add the stamp file to the list of files AC keeps track of,
3019
-# along with our hook.
3020
-AC_CONFIG_HEADERS([$1],
3021
- [# update the timestamp
3022
-echo 'timestamp for $1' >"_AM_STAMP([$1])"
3025
-])# _AM_CONFIG_HEADER
3026
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
3027
+# ----------------------------------
3028
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
3029
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
3030
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
3031
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
3032
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
3033
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
3035
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3036
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
3038
+if test -n "$PKG_CONFIG"; then
3039
+ _pkg_min_version=m4_default([$1], [0.9.0])
3040
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
3041
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3042
+ AC_MSG_RESULT([yes])
3044
+ AC_MSG_RESULT([no])
3048
+])# PKG_PROG_PKG_CONFIG
3050
-# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)
3051
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
3053
+# Check to see whether a particular set of modules exists. Similar
3054
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
3056
+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
3057
+# only at the first occurence in configure.ac, so if the first place
3058
+# it's called might be skipped (such as if it is within an "if", you
3059
+# have to call PKG_CHECK_EXISTS manually
3060
# --------------------------------------------------------------
3061
-AC_DEFUN([AM_CONFIG_HEADER],
3062
-[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])
3063
-])# AM_CONFIG_HEADER
3065
-# Do all the work for Automake. -*- Autoconf -*-
3067
-# This macro actually does too much some checks are only needed if
3068
-# your package does certain things. But this isn't really a big deal.
3070
-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
3071
-# Free Software Foundation, Inc.
3073
-# This program is free software; you can redistribute it and/or modify
3074
-# it under the terms of the GNU General Public License as published by
3075
-# the Free Software Foundation; either version 2, or (at your option)
3076
-# any later version.
3077
+AC_DEFUN([PKG_CHECK_EXISTS],
3078
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
3079
+if test -n "$PKG_CONFIG" && \
3080
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
3081
+ m4_default([$2], [:])
3082
+m4_ifvaln([$3], [else
3086
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
3087
+# ---------------------------------------------
3088
+m4_define([_PKG_CONFIG],
3089
+[if test -n "$$1"; then
3091
+ elif test -n "$PKG_CONFIG"; then
3092
+ PKG_CHECK_EXISTS([$3],
3093
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
3096
+ pkg_failed=untried
3100
-# This program is distributed in the hope that it will be useful,
3101
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3102
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3103
-# GNU General Public License for more details.
3105
-# You should have received a copy of the GNU General Public License
3106
-# along with this program; if not, write to the Free Software
3107
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3112
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
3113
-# written in clear, in which case automake, when reading aclocal.m4,
3114
-# will think it sees a *use*, and therefore will trigger all it's
3115
-# C support machinery. Also note that it means that autoscan, seeing
3116
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
3121
-# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
3122
-# the ones we care about.
3123
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
3125
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
3126
-# AM_INIT_AUTOMAKE([OPTIONS])
3127
-# -----------------------------------------------
3128
-# The call with PACKAGE and VERSION arguments is the old style
3129
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
3130
-# and VERSION should now be passed to AC_INIT and removed from
3131
-# the call to AM_INIT_AUTOMAKE.
3132
-# We support both call styles for the transition. After
3133
-# the next Automake release, Autoconf can make the AC_INIT
3134
-# arguments mandatory, and then we can depend on a new Autoconf
3135
-# release and drop the old call support.
3136
-AC_DEFUN([AM_INIT_AUTOMAKE],
3137
-[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
3138
- AC_REQUIRE([AC_PROG_INSTALL])dnl
3139
-# test to see if srcdir already configured
3140
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
3141
- test -f $srcdir/config.status; then
3142
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
3144
+# _PKG_SHORT_ERRORS_SUPPORTED
3145
+# -----------------------------
3146
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
3147
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
3148
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3149
+ _pkg_short_errors_supported=yes
3151
+ _pkg_short_errors_supported=no
3153
+])# _PKG_SHORT_ERRORS_SUPPORTED
3155
-# Define the identity of the package.
3156
-dnl Distinguish between old-style and new-style calls.
3158
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
3159
- AC_SUBST([PACKAGE], [$1])dnl
3160
- AC_SUBST([VERSION], [$2])],
3161
-[_AM_SET_OPTIONS([$1])dnl
3162
- AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
3163
- AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
3165
-_AM_IF_OPTION([no-define],,
3166
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
3167
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
3168
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
3169
+# [ACTION-IF-NOT-FOUND])
3172
+# Note that if there is a possibility the first call to
3173
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
3174
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
3177
+# --------------------------------------------------------------
3178
+AC_DEFUN([PKG_CHECK_MODULES],
3179
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
3180
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
3181
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
3184
+AC_MSG_CHECKING([for $1])
3186
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
3187
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
3189
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
3190
+and $1[]_LIBS to avoid the need to call pkg-config.
3191
+See the pkg-config man page for more details.])
3193
+if test $pkg_failed = yes; then
3194
+ AC_MSG_RESULT([no])
3195
+ _PKG_SHORT_ERRORS_SUPPORTED
3196
+ if test $_pkg_short_errors_supported = yes; then
3197
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
3199
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
3201
+ # Put the nasty error message in config.log where it belongs
3202
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
3204
-# Some tools Automake needs.
3205
-AC_REQUIRE([AM_SANITY_CHECK])dnl
3206
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
3207
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
3208
-AM_MISSING_PROG(AUTOCONF, autoconf)
3209
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
3210
-AM_MISSING_PROG(AUTOHEADER, autoheader)
3211
-AM_MISSING_PROG(MAKEINFO, makeinfo)
3212
-AM_MISSING_PROG(AMTAR, tar)
3214
-AM_PROG_INSTALL_STRIP
3215
-# We need awk for the "check" target. The system "awk" is bad on
3217
-AC_REQUIRE([AC_PROG_AWK])dnl
3218
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3219
+ m4_default([$4], [AC_MSG_ERROR(
3220
+[Package requirements ($2) were not met:
3222
-_AM_IF_OPTION([no-dependencies],,
3223
-[AC_PROVIDE_IFELSE([AC_PROG_][CC],
3224
- [_AM_DEPENDENCIES(CC)],
3225
- [define([AC_PROG_][CC],
3226
- defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
3227
-AC_PROVIDE_IFELSE([AC_PROG_][CXX],
3228
- [_AM_DEPENDENCIES(CXX)],
3229
- [define([AC_PROG_][CXX],
3230
- defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
3235
-# Copyright 2002 Free Software Foundation, Inc.
3236
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
3237
+installed software in a non-standard prefix.
3241
+elif test $pkg_failed = untried; then
3242
+ AC_MSG_RESULT([no])
3243
+ m4_default([$4], [AC_MSG_FAILURE(
3244
+[The pkg-config script could not be found or is too old. Make sure it
3245
+is in your PATH or set the PKG_CONFIG environment variable to the full
3246
+path to pkg-config.
3248
-# This program is free software; you can redistribute it and/or modify
3249
-# it under the terms of the GNU General Public License as published by
3250
-# the Free Software Foundation; either version 2, or (at your option)
3251
-# any later version.
3254
-# This program is distributed in the hope that it will be useful,
3255
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3256
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3257
-# GNU General Public License for more details.
3258
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
3261
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
3262
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
3263
+ AC_MSG_RESULT([yes])
3266
+])# PKG_CHECK_MODULES
3268
-# You should have received a copy of the GNU General Public License
3269
-# along with this program; if not, write to the Free Software
3270
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3271
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
3273
+# This file is free software; the Free Software Foundation
3274
+# gives unlimited permission to copy and/or distribute it,
3275
+# with or without modifications, as long as this notice is preserved.
3277
# AM_AUTOMAKE_VERSION(VERSION)
3278
# ----------------------------
3279
# Automake X.Y traces this macro to ensure aclocal.m4 has been
3280
# generated from the m4 files accompanying Automake X.Y.
3281
-AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
3282
+# (This private macro should not be called outside this file.)
3283
+AC_DEFUN([AM_AUTOMAKE_VERSION],
3284
+[am__api_version='1.11'
3285
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3286
+dnl require some minimum version. Point them to the right macro.
3287
+m4_if([$1], [1.11.1], [],
3288
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3291
+# _AM_AUTOCONF_VERSION(VERSION)
3292
+# -----------------------------
3293
+# aclocal traces this macro to find the Autoconf version.
3294
+# This is a private macro too. Using m4_define simplifies
3295
+# the logic in aclocal, which can simply ignore this definition.
3296
+m4_define([_AM_AUTOCONF_VERSION], [])
3298
# AM_SET_CURRENT_AUTOMAKE_VERSION
3299
# -------------------------------
3300
-# Call AM_AUTOMAKE_VERSION so it can be traced.
3301
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
3302
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
3303
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
3304
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
3305
- [AM_AUTOMAKE_VERSION([1.6.3])])
3307
-# Helper functions for option handling. -*- Autoconf -*-
3309
-# Copyright 2001, 2002 Free Software Foundation, Inc.
3311
-# This program is free software; you can redistribute it and/or modify
3312
-# it under the terms of the GNU General Public License as published by
3313
-# the Free Software Foundation; either version 2, or (at your option)
3314
-# any later version.
3316
-# This program is distributed in the hope that it will be useful,
3317
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3318
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3319
-# GNU General Public License for more details.
3321
-# You should have received a copy of the GNU General Public License
3322
-# along with this program; if not, write to the Free Software
3323
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3328
-# _AM_MANGLE_OPTION(NAME)
3329
-# -----------------------
3330
-AC_DEFUN([_AM_MANGLE_OPTION],
3331
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
3333
-# _AM_SET_OPTION(NAME)
3334
-# ------------------------------
3335
-# Set option NAME. Presently that only means defining a flag for this option.
3336
-AC_DEFUN([_AM_SET_OPTION],
3337
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
3339
-# _AM_SET_OPTIONS(OPTIONS)
3340
-# ----------------------------------
3341
-# OPTIONS is a space-separated list of Automake options.
3342
-AC_DEFUN([_AM_SET_OPTIONS],
3343
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
3344
+[AM_AUTOMAKE_VERSION([1.11.1])dnl
3345
+m4_ifndef([AC_AUTOCONF_VERSION],
3346
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
3347
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
3349
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
3350
-# -------------------------------------------
3351
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
3352
-AC_DEFUN([_AM_IF_OPTION],
3353
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
3354
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
3356
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
3358
-# Check to make sure that the build environment is sane.
3361
-# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
3363
-# This program is free software; you can redistribute it and/or modify
3364
-# it under the terms of the GNU General Public License as published by
3365
-# the Free Software Foundation; either version 2, or (at your option)
3366
-# any later version.
3368
-# This program is distributed in the hope that it will be useful,
3369
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3370
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3371
-# GNU General Public License for more details.
3373
-# You should have received a copy of the GNU General Public License
3374
-# along with this program; if not, write to the Free Software
3375
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3382
-AC_DEFUN([AM_SANITY_CHECK],
3383
-[AC_MSG_CHECKING([whether build environment is sane])
3386
-echo timestamp > conftest.file
3387
-# Do `set' in a subshell so we don't clobber the current shell's
3388
-# arguments. Must try -L first in case configure is actually a
3389
-# symlink; some systems play weird games with the mod time of symlinks
3390
-# (eg FreeBSD returns the mod time of the symlink's containing
3393
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3394
- if test "$[*]" = "X"; then
3396
- set X `ls -t $srcdir/configure conftest.file`
3398
- rm -f conftest.file
3399
- if test "$[*]" != "X $srcdir/configure conftest.file" \
3400
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
3402
- # If neither matched, then we have a broken ls. This can happen
3403
- # if, for instance, CONFIG_SHELL is bash and it inherits a
3404
- # broken ls alias from the environment. This has actually
3405
- # happened. Such a system could not be considered "sane".
3406
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
3407
-alias in your environment])
3410
- test "$[2]" = conftest.file
3416
- AC_MSG_ERROR([newly created file is older than distributed files!
3417
-Check your system clock])
3419
-AC_MSG_RESULT(yes)])
3424
-# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
3426
-# This program is free software; you can redistribute it and/or modify
3427
-# it under the terms of the GNU General Public License as published by
3428
-# the Free Software Foundation; either version 2, or (at your option)
3429
-# any later version.
3431
-# This program is distributed in the hope that it will be useful,
3432
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3433
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3434
-# GNU General Public License for more details.
3436
-# You should have received a copy of the GNU General Public License
3437
-# along with this program; if not, write to the Free Software
3438
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3443
-# AM_MISSING_PROG(NAME, PROGRAM)
3444
-# ------------------------------
3445
-AC_DEFUN([AM_MISSING_PROG],
3446
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
3447
-$1=${$1-"${am_missing_run}$2"}
3451
-# AM_MISSING_HAS_RUN
3452
-# ------------------
3453
-# Define MISSING if not defined so far and test if it supports --run.
3454
-# If it does, set am_missing_run to use it, otherwise, to nothing.
3455
-AC_DEFUN([AM_MISSING_HAS_RUN],
3456
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3457
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3458
-# Use eval to expand $SHELL
3459
-if eval "$MISSING --run true"; then
3460
- am_missing_run="$MISSING --run "
3463
- AC_MSG_WARN([`missing' script is too old or missing])
3467
-# AM_AUX_DIR_EXPAND
3469
-# Copyright 2001 Free Software Foundation, Inc.
3471
-# This program is free software; you can redistribute it and/or modify
3472
-# it under the terms of the GNU General Public License as published by
3473
-# the Free Software Foundation; either version 2, or (at your option)
3474
-# any later version.
3476
-# This program is distributed in the hope that it will be useful,
3477
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3478
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3479
-# GNU General Public License for more details.
3481
-# You should have received a copy of the GNU General Public License
3482
-# along with this program; if not, write to the Free Software
3483
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3485
+# This file is free software; the Free Software Foundation
3486
+# gives unlimited permission to copy and/or distribute it,
3487
+# with or without modifications, as long as this notice is preserved.
3489
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
3490
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
3491
@@ -429,98 +259,57 @@ fi
3492
# absolute PATH. The drawback is that using absolute paths prevent a
3493
# configured tree to be moved without reconfiguration.
3495
-# Rely on autoconf to set up CDPATH properly.
3498
-AC_DEFUN([AM_AUX_DIR_EXPAND], [
3499
+AC_DEFUN([AM_AUX_DIR_EXPAND],
3500
+[dnl Rely on autoconf to set up CDPATH properly.
3501
+AC_PREREQ([2.50])dnl
3502
# expand $ac_aux_dir to an absolute path
3503
am_aux_dir=`cd $ac_aux_dir && pwd`
3506
-# AM_PROG_INSTALL_SH
3507
-# ------------------
3508
-# Define $install_sh.
3510
-# Copyright 2001 Free Software Foundation, Inc.
3512
-# This program is free software; you can redistribute it and/or modify
3513
-# it under the terms of the GNU General Public License as published by
3514
-# the Free Software Foundation; either version 2, or (at your option)
3515
-# any later version.
3516
+# AM_CONDITIONAL -*- Autoconf -*-
3518
-# This program is distributed in the hope that it will be useful,
3519
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3520
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3521
-# GNU General Public License for more details.
3522
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
3523
+# Free Software Foundation, Inc.
3525
+# This file is free software; the Free Software Foundation
3526
+# gives unlimited permission to copy and/or distribute it,
3527
+# with or without modifications, as long as this notice is preserved.
3529
-# You should have received a copy of the GNU General Public License
3530
-# along with this program; if not, write to the Free Software
3531
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3535
-AC_DEFUN([AM_PROG_INSTALL_SH],
3536
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
3537
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
3538
-AC_SUBST(install_sh)])
3540
-# AM_PROG_INSTALL_STRIP
3542
-# Copyright 2001 Free Software Foundation, Inc.
3544
-# This program is free software; you can redistribute it and/or modify
3545
-# it under the terms of the GNU General Public License as published by
3546
-# the Free Software Foundation; either version 2, or (at your option)
3547
-# any later version.
3549
-# This program is distributed in the hope that it will be useful,
3550
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3551
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3552
-# GNU General Public License for more details.
3554
-# You should have received a copy of the GNU General Public License
3555
-# along with this program; if not, write to the Free Software
3556
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3559
-# One issue with vendor `install' (even GNU) is that you can't
3560
-# specify the program used to strip binaries. This is especially
3561
-# annoying in cross-compiling environments, where the build's strip
3562
-# is unlikely to handle the host's binaries.
3563
-# Fortunately install-sh will honor a STRIPPROG variable, so we
3564
-# always use install-sh in `make install-strip', and initialize
3565
-# STRIPPROG with the value of the STRIP variable (set by the user).
3566
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
3567
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
3568
-# Installed binaries are usually stripped using `strip' when the user
3569
-# run `make install-strip'. However `strip' might not be the right
3570
-# tool to use in cross-compilation environments, therefore Automake
3571
-# will honor the `STRIP' environment variable to overrule this program.
3572
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
3573
-if test "$cross_compiling" != no; then
3574
- AC_CHECK_TOOL([STRIP], [strip], :)
3575
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
3576
+# -------------------------------------
3577
+# Define a conditional.
3578
+AC_DEFUN([AM_CONDITIONAL],
3579
+[AC_PREREQ(2.52)dnl
3580
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
3581
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
3582
+AC_SUBST([$1_TRUE])dnl
3583
+AC_SUBST([$1_FALSE])dnl
3584
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
3585
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
3586
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
3594
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3595
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
3597
-# serial 4 -*- Autoconf -*-
3599
-# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
3601
-# This program is free software; you can redistribute it and/or modify
3602
-# it under the terms of the GNU General Public License as published by
3603
-# the Free Software Foundation; either version 2, or (at your option)
3604
-# any later version.
3606
-# This program is distributed in the hope that it will be useful,
3607
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3608
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3609
-# GNU General Public License for more details.
3610
+AC_CONFIG_COMMANDS_PRE(
3611
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
3612
+ AC_MSG_ERROR([[conditional "$1" was never defined.
3613
+Usually this means the macro was only invoked conditionally.]])
3616
-# You should have received a copy of the GNU General Public License
3617
-# along with this program; if not, write to the Free Software
3618
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3620
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
3621
+# Free Software Foundation, Inc.
3623
+# This file is free software; the Free Software Foundation
3624
+# gives unlimited permission to copy and/or distribute it,
3625
+# with or without modifications, as long as this notice is preserved.
3629
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
3630
# written in clear, in which case automake, when reading aclocal.m4,
3631
@@ -529,7 +318,6 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
3632
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
3636
# _AM_DEPENDENCIES(NAME)
3637
# ----------------------
3638
# See how the compiler implements dependency checking.
3639
@@ -549,6 +337,7 @@ AC_REQUIRE([AM_DEP_TRACK])dnl
3640
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
3641
[$1], CXX, [depcc="$CXX" am_compiler_list=],
3642
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
3643
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
3644
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
3645
[depcc="$$1" am_compiler_list=])
3647
@@ -565,20 +354,56 @@ AC_CACHE_CHECK([dependency style of $dep
3648
# using a relative directory.
3649
cp "$am_depcomp" conftest.dir
3651
+ # We will build objects and dependencies in a subdirectory because
3652
+ # it helps to detect inapplicable dependency modes. For instance
3653
+ # both Tru64's cc and ICC support -MD to output dependencies as a
3654
+ # side effect of compilation, but ICC will put the dependencies in
3655
+ # the current directory while Tru64 will put them in the object
3659
am_cv_$1_dependencies_compiler_type=none
3660
if test "$am_compiler_list" = ""; then
3661
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
3663
+ am__universal=false
3664
+ m4_case([$1], [CC],
3665
+ [case " $depcc " in #(
3666
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
3669
+ [case " $depcc " in #(
3670
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
3673
for depmode in $am_compiler_list; do
3674
+ # Setup a source with many dependencies, because some compilers
3675
+ # like to wrap large dependency lists on column 80 (with \), and
3676
+ # we should not choose a depcomp mode which is confused by this.
3678
# We need to recreate these files for each test, as the compiler may
3679
# overwrite some of them when testing with obscure command lines.
3680
# This happens at least with the AIX C compiler.
3681
- echo '#include "conftest.h"' > conftest.c
3682
- echo 'int i;' > conftest.h
3683
- echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3684
+ : > sub/conftest.c
3685
+ for i in 1 2 3 4 5 6; do
3686
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
3687
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3688
+ # Solaris 8's {/usr,}/bin/sh.
3689
+ touch sub/conftst$i.h
3691
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3693
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
3694
+ # mode. It turns out that the SunPro C++ compiler does not properly
3695
+ # handle `-M -o', and we need to detect this. Also, some Intel
3696
+ # versions had trouble with output in subdirs
3697
+ am__obj=sub/conftest.${OBJEXT-o}
3698
+ am__minus_obj="-o $am__obj"
3701
+ # This depmode causes a compiler race in universal mode.
3702
+ test "$am__universal" = false || continue
3705
# after this tag, mechanisms are not by side-effect, so they'll
3706
# only be used when explicitly requested
3707
@@ -588,19 +413,36 @@ AC_CACHE_CHECK([dependency style of $dep
3711
+ msvisualcpp | msvcmsys)
3712
+ # This compiler won't grok `-c -o', but also, the minuso test has
3713
+ # not run yet. These depmodes are late enough in the game, and
3714
+ # so weak that their functioning should not be impacted.
3715
+ am__obj=conftest.${OBJEXT-o}
3720
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
3721
- # mode. It turns out that the SunPro C++ compiler does not properly
3722
- # handle `-M -o', and we need to detect this.
3723
if depmode=$depmode \
3724
- source=conftest.c object=conftest.o \
3725
- depfile=conftest.Po tmpdepfile=conftest.TPo \
3726
- $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3727
- grep conftest.h conftest.Po > /dev/null 2>&1 &&
3728
+ source=sub/conftest.c object=$am__obj \
3729
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3730
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3731
+ >/dev/null 2>conftest.err &&
3732
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3733
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3734
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3735
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3736
- am_cv_$1_dependencies_compiler_type=$depmode
3738
+ # icc doesn't choke on unknown options, it will just issue warnings
3739
+ # or remarks (even with -Werror). So we grep stderr for any message
3740
+ # that says an option was ignored or not supported.
3741
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
3742
+ # icc: Command line warning: ignoring option '-M'; no argument required
3743
+ # The diagnosis changed in icc 8.0:
3744
+ # icc: Command line remark: option '-MP' not supported
3745
+ if (grep 'ignoring option' conftest.err ||
3746
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3747
+ am_cv_$1_dependencies_compiler_type=$depmode
3753
@@ -611,6 +453,9 @@ else
3756
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
3757
+AM_CONDITIONAL([am__fastdep$1], [
3758
+ test "x$enable_dependency_tracking" != xno \
3759
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
3763
@@ -619,16 +464,8 @@ AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1
3764
# Choose a directory name for dependency files.
3765
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
3766
AC_DEFUN([AM_SET_DEPDIR],
3767
-[rm -f .deps 2>/dev/null
3768
-mkdir .deps 2>/dev/null
3769
-if test -d .deps; then
3772
- # MS-DOS does not allow filenames that begin with a dot.
3775
-rmdir .deps 2>/dev/null
3777
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
3778
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
3782
@@ -636,84 +473,81 @@ AC_SUBST([DEPDIR])
3784
AC_DEFUN([AM_DEP_TRACK],
3785
[AC_ARG_ENABLE(dependency-tracking,
3786
-[ --disable-dependency-tracking Speeds up one-time builds
3787
- --enable-dependency-tracking Do not reject slow dependency extractors])
3788
+[ --disable-dependency-tracking speeds up one-time build
3789
+ --enable-dependency-tracking do not reject slow dependency extractors])
3790
if test "x$enable_dependency_tracking" != xno; then
3791
am_depcomp="$ac_aux_dir/depcomp"
3794
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3795
-AC_SUBST([AMDEPBACKSLASH])
3796
+AC_SUBST([AMDEPBACKSLASH])dnl
3797
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
3800
-# Generate code to set up dependency tracking. -*- Autoconf -*-
3802
-# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3803
+# Generate code to set up dependency tracking. -*- Autoconf -*-
3805
-# This program is free software; you can redistribute it and/or modify
3806
-# it under the terms of the GNU General Public License as published by
3807
-# the Free Software Foundation; either version 2, or (at your option)
3808
-# any later version.
3810
-# This program is distributed in the hope that it will be useful,
3811
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3812
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3813
-# GNU General Public License for more details.
3815
-# You should have received a copy of the GNU General Public License
3816
-# along with this program; if not, write to the Free Software
3817
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3819
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
3820
+# Free Software Foundation, Inc.
3822
+# This file is free software; the Free Software Foundation
3823
+# gives unlimited permission to copy and/or distribute it,
3824
+# with or without modifications, as long as this notice is preserved.
3829
# _AM_OUTPUT_DEPENDENCY_COMMANDS
3830
# ------------------------------
3831
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
3832
-[for mf in $CONFIG_FILES; do
3833
- # Strip MF so we end up with the name of the file.
3834
- mf=`echo "$mf" | sed -e 's/:.*$//'`
3835
- # Check whether this is an Automake generated Makefile or not.
3836
- # We used to match only the files named `Makefile.in', but
3837
- # some people rename them; so instead we look at the file content.
3838
- # Grep'ing the first line is not enough: some people post-process
3839
- # each Makefile.in and add a new line on top of each file to say so.
3840
- # So let's grep whole file.
3841
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3842
- dirpart=`AS_DIRNAME("$mf")`
3846
- grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
3847
- # Extract the definition of DEP_FILES from the Makefile without
3849
- DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
3850
- test -z "$DEPDIR" && continue
3851
- # When using ansi2knr, U may be empty or an underscore; expand it
3852
- U=`sed -n -e '/^U = / s///p' < "$mf"`
3853
- test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3854
- # We invoke sed twice because it is the simplest approach to
3855
- # changing $(DEPDIR) to its actual value in the expansion.
3856
- for file in `sed -n -e '
3857
- /^DEP_FILES = .*\\\\$/ {
3866
- /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3867
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3868
- # Make sure the directory exists.
3869
- test -f "$dirpart/$file" && continue
3870
- fdir=`AS_DIRNAME(["$file"])`
3871
- AS_MKDIR_P([$dirpart/$fdir])
3872
- # echo "creating $dirpart/$file"
3873
- echo '# dummy' > "$dirpart/$file"
3875
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
3876
+ # are listed without --file. Let's play safe and only enable the eval
3877
+ # if we detect the quoting.
3878
+ case $CONFIG_FILES in
3879
+ *\'*) eval set x "$CONFIG_FILES" ;;
3880
+ *) set x $CONFIG_FILES ;;
3885
+ # Strip MF so we end up with the name of the file.
3886
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
3887
+ # Check whether this is an Automake generated Makefile or not.
3888
+ # We used to match only the files named `Makefile.in', but
3889
+ # some people rename them; so instead we look at the file content.
3890
+ # Grep'ing the first line is not enough: some people post-process
3891
+ # each Makefile.in and add a new line on top of each file to say so.
3892
+ # Grep'ing the whole file is not good either: AIX grep has a line
3893
+ # limit of 2048, but all sed's we know have understand at least 4000.
3894
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
3895
+ dirpart=`AS_DIRNAME("$mf")`
3899
+ # Extract the definition of DEPDIR, am__include, and am__quote
3900
+ # from the Makefile without running `make'.
3901
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3902
+ test -z "$DEPDIR" && continue
3903
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
3904
+ test -z "am__include" && continue
3905
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3906
+ # When using ansi2knr, U may be empty or an underscore; expand it
3907
+ U=`sed -n 's/^U = //p' < "$mf"`
3908
+ # Find all dependency output files, they are included files with
3909
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
3910
+ # simplest approach to changing $(DEPDIR) to its actual value in the
3912
+ for file in `sed -n "
3913
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3914
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3915
+ # Make sure the directory exists.
3916
+ test -f "$dirpart/$file" && continue
3917
+ fdir=`AS_DIRNAME(["$file"])`
3918
+ AS_MKDIR_P([$dirpart/$fdir])
3919
+ # echo "creating $dirpart/$file"
3920
+ echo '# dummy' > "$dirpart/$file"
3925
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
3928
@@ -730,33 +564,206 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS]
3929
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
3932
-# Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*-
3933
+# Do all the work for Automake. -*- Autoconf -*-
3935
-# This program is free software; you can redistribute it and/or modify
3936
-# it under the terms of the GNU General Public License as published by
3937
-# the Free Software Foundation; either version 2, or (at your option)
3938
-# any later version.
3939
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3940
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
3942
+# This file is free software; the Free Software Foundation
3943
+# gives unlimited permission to copy and/or distribute it,
3944
+# with or without modifications, as long as this notice is preserved.
3946
-# This program is distributed in the hope that it will be useful,
3947
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
3948
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3949
-# GNU General Public License for more details.
3952
-# You should have received a copy of the GNU General Public License
3953
-# along with this program; if not, write to the Free Software
3954
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3956
+# This macro actually does too much. Some checks are only needed if
3957
+# your package does certain things. But this isn't really a big deal.
3959
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
3960
+# AM_INIT_AUTOMAKE([OPTIONS])
3961
+# -----------------------------------------------
3962
+# The call with PACKAGE and VERSION arguments is the old style
3963
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
3964
+# and VERSION should now be passed to AC_INIT and removed from
3965
+# the call to AM_INIT_AUTOMAKE.
3966
+# We support both call styles for the transition. After
3967
+# the next Automake release, Autoconf can make the AC_INIT
3968
+# arguments mandatory, and then we can depend on a new Autoconf
3969
+# release and drop the old call support.
3970
+AC_DEFUN([AM_INIT_AUTOMAKE],
3971
+[AC_PREREQ([2.62])dnl
3972
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
3973
+dnl the ones we care about.
3974
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
3975
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
3976
+AC_REQUIRE([AC_PROG_INSTALL])dnl
3977
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
3978
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3979
+ # is not polluted with repeated "-I."
3980
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
3981
+ # test to see if srcdir already configured
3982
+ if test -f $srcdir/config.status; then
3983
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
3987
+# test whether we have cygpath
3988
+if test -z "$CYGPATH_W"; then
3989
+ if (cygpath --version) >/dev/null 2>/dev/null; then
3990
+ CYGPATH_W='cygpath -w'
3995
+AC_SUBST([CYGPATH_W])
3997
+# Define the identity of the package.
3998
+dnl Distinguish between old-style and new-style calls.
4000
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
4001
+ AC_SUBST([PACKAGE], [$1])dnl
4002
+ AC_SUBST([VERSION], [$2])],
4003
+[_AM_SET_OPTIONS([$1])dnl
4004
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
4005
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
4006
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
4007
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
4008
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
4010
+_AM_IF_OPTION([no-define],,
4011
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
4012
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
4014
+# Some tools Automake needs.
4015
+AC_REQUIRE([AM_SANITY_CHECK])dnl
4016
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
4017
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
4018
+AM_MISSING_PROG(AUTOCONF, autoconf)
4019
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
4020
+AM_MISSING_PROG(AUTOHEADER, autoheader)
4021
+AM_MISSING_PROG(MAKEINFO, makeinfo)
4022
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
4023
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
4024
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
4025
+# We need awk for the "check" target. The system "awk" is bad on
4027
+AC_REQUIRE([AC_PROG_AWK])dnl
4028
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
4029
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4030
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
4031
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
4032
+ [_AM_PROG_TAR([v7])])])
4033
+_AM_IF_OPTION([no-dependencies],,
4034
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
4035
+ [_AM_DEPENDENCIES(CC)],
4036
+ [define([AC_PROG_CC],
4037
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
4038
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
4039
+ [_AM_DEPENDENCIES(CXX)],
4040
+ [define([AC_PROG_CXX],
4041
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
4042
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
4043
+ [_AM_DEPENDENCIES(OBJC)],
4044
+ [define([AC_PROG_OBJC],
4045
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
4047
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
4048
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
4049
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
4050
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
4051
+AC_CONFIG_COMMANDS_PRE(dnl
4052
+[m4_provide_if([_AM_COMPILER_EXEEXT],
4053
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
4056
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
4057
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
4058
+dnl mangled by Autoconf and run in a shell conditional statement.
4059
+m4_define([_AC_COMPILER_EXEEXT],
4060
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
4063
+# When config.status generates a header, we must update the stamp-h file.
4064
+# This file resides in the same directory as the config header
4065
+# that is generated. The stamp files are numbered to have different names.
4067
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
4068
+# loop where config.status creates the headers, so we can generate
4069
+# our stamp files there.
4070
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
4071
+[# Compute $1's index in $config_headers.
4074
+for _am_header in $config_headers :; do
4075
+ case $_am_header in
4076
+ $_am_arg | $_am_arg:* )
4079
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4082
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
4084
+# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
4086
+# This file is free software; the Free Software Foundation
4087
+# gives unlimited permission to copy and/or distribute it,
4088
+# with or without modifications, as long as this notice is preserved.
4090
+# AM_PROG_INSTALL_SH
4091
+# ------------------
4092
+# Define $install_sh.
4093
+AC_DEFUN([AM_PROG_INSTALL_SH],
4094
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4095
+if test x"${install_sh}" != xset; then
4096
+ case $am_aux_dir in
4098
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4100
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
4103
+AC_SUBST(install_sh)])
4105
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
4107
+# This file is free software; the Free Software Foundation
4108
+# gives unlimited permission to copy and/or distribute it,
4109
+# with or without modifications, as long as this notice is preserved.
4113
+# Check whether the underlying file-system supports filenames
4114
+# with a leading dot. For instance MS-DOS doesn't.
4115
+AC_DEFUN([AM_SET_LEADING_DOT],
4116
+[rm -rf .tst 2>/dev/null
4117
+mkdir .tst 2>/dev/null
4118
+if test -d .tst; then
4123
+rmdir .tst 2>/dev/null
4124
+AC_SUBST([am__leading_dot])])
4126
+# Check to see how 'make' treats includes. -*- Autoconf -*-
4128
+# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
4130
+# This file is free software; the Free Software Foundation
4131
+# gives unlimited permission to copy and/or distribute it,
4132
+# with or without modifications, as long as this notice is preserved.
4138
# Check to see how make treats includes.
4139
AC_DEFUN([AM_MAKE_INCLUDE],
4140
[am_make=${MAKE-make}
4141
cat > confinc << 'END'
4145
+ @echo this is the am__doit target
4148
# If we don't find an include directive, just comment out the code.
4149
AC_MSG_CHECKING([for style of include used by $am_make])
4150
@@ -765,325 +772,338 @@ am__quote=
4152
# First try GNU make style include.
4153
echo "include confinc" > confmf
4154
-# We grep out `Entering directory' and `Leaving directory'
4155
-# messages which can occur if `w' ends up in MAKEFLAGS.
4156
-# In particular we don't look at `^make:' because GNU make might
4157
-# be invoked under some other name (usually "gmake"), in which
4158
-# case it prints its new name instead of `make'.
4159
-if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
4160
- am__include=include
4164
+# Ignore all kinds of additional output from `make'.
4165
+case `$am_make -s -f confmf 2> /dev/null` in #(
4166
+*the\ am__doit\ target*)
4167
+ am__include=include
4172
# Now try BSD make style include.
4173
if test "$am__include" = "#"; then
4174
echo '.include "confinc"' > confmf
4175
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4176
- am__include=.include
4180
+ case `$am_make -s -f confmf 2> /dev/null` in #(
4181
+ *the\ am__doit\ target*)
4182
+ am__include=.include
4188
-AC_SUBST(am__include)
4189
-AC_SUBST(am__quote)
4190
-AC_MSG_RESULT($_am_result)
4191
+AC_SUBST([am__include])
4192
+AC_SUBST([am__quote])
4193
+AC_MSG_RESULT([$_am_result])
4194
rm -f confinc confmf
4197
-# AM_CONDITIONAL -*- Autoconf -*-
4198
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
4200
-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
4201
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
4202
+# Free Software Foundation, Inc.
4204
+# This file is free software; the Free Software Foundation
4205
+# gives unlimited permission to copy and/or distribute it,
4206
+# with or without modifications, as long as this notice is preserved.
4208
-# This program is free software; you can redistribute it and/or modify
4209
-# it under the terms of the GNU General Public License as published by
4210
-# the Free Software Foundation; either version 2, or (at your option)
4211
-# any later version.
4214
-# This program is distributed in the hope that it will be useful,
4215
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
4216
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4217
-# GNU General Public License for more details.
4218
+# AM_MISSING_PROG(NAME, PROGRAM)
4219
+# ------------------------------
4220
+AC_DEFUN([AM_MISSING_PROG],
4221
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
4222
+$1=${$1-"${am_missing_run}$2"}
4225
-# You should have received a copy of the GNU General Public License
4226
-# along with this program; if not, write to the Free Software
4227
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4230
+# AM_MISSING_HAS_RUN
4231
+# ------------------
4232
+# Define MISSING if not defined so far and test if it supports --run.
4233
+# If it does, set am_missing_run to use it, otherwise, to nothing.
4234
+AC_DEFUN([AM_MISSING_HAS_RUN],
4235
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4236
+AC_REQUIRE_AUX_FILE([missing])dnl
4237
+if test x"${MISSING+set}" != xset; then
4238
+ case $am_aux_dir in
4240
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4242
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
4245
+# Use eval to expand $SHELL
4246
+if eval "$MISSING --run true"; then
4247
+ am_missing_run="$MISSING --run "
4250
+ AC_MSG_WARN([`missing' script is too old or missing])
4254
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4256
+# This file is free software; the Free Software Foundation
4257
+# gives unlimited permission to copy and/or distribute it,
4258
+# with or without modifications, as long as this notice is preserved.
4262
+# Check for `mkdir -p'.
4263
+AC_DEFUN([AM_PROG_MKDIR_P],
4264
+[AC_PREREQ([2.60])dnl
4265
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
4266
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
4267
+dnl while keeping a definition of mkdir_p for backward compatibility.
4268
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
4269
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
4270
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
4271
+dnl adjustment using top_builddir (which is defined more often than
4273
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
4275
+ [[\\/$]]* | ?:[[\\/]]*) ;;
4276
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4280
+# Helper functions for option handling. -*- Autoconf -*-
4282
+# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
4284
+# This file is free software; the Free Software Foundation
4285
+# gives unlimited permission to copy and/or distribute it,
4286
+# with or without modifications, as long as this notice is preserved.
4290
+# _AM_MANGLE_OPTION(NAME)
4291
+# -----------------------
4292
+AC_DEFUN([_AM_MANGLE_OPTION],
4293
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
4295
+# _AM_SET_OPTION(NAME)
4296
+# ------------------------------
4297
+# Set option NAME. Presently that only means defining a flag for this option.
4298
+AC_DEFUN([_AM_SET_OPTION],
4299
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
4301
+# _AM_SET_OPTIONS(OPTIONS)
4302
+# ----------------------------------
4303
+# OPTIONS is a space-separated list of Automake options.
4304
+AC_DEFUN([_AM_SET_OPTIONS],
4305
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
4307
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
4308
+# -------------------------------------------
4309
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
4310
+AC_DEFUN([_AM_IF_OPTION],
4311
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
4313
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
4315
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
4316
+# Free Software Foundation, Inc.
4318
+# This file is free software; the Free Software Foundation
4319
+# gives unlimited permission to copy and/or distribute it,
4320
+# with or without modifications, as long as this notice is preserved.
4327
+AC_DEFUN([AM_SANITY_CHECK],
4328
+[AC_MSG_CHECKING([whether build environment is sane])
4331
+echo timestamp > conftest.file
4332
+# Reject unsafe characters in $srcdir or the absolute working directory
4333
+# name. Accept space and tab only in the latter.
4337
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
4338
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
4341
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
4342
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
4345
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
4346
-# -------------------------------------
4347
-# Define a conditional.
4348
-AC_DEFUN([AM_CONDITIONAL],
4349
-[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
4350
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
4351
-AC_SUBST([$1_TRUE])
4352
-AC_SUBST([$1_FALSE])
4360
-AC_CONFIG_COMMANDS_PRE(
4361
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
4362
- AC_MSG_ERROR([conditional \"$1\" was never defined.
4363
-Usually this means the macro was only invoked conditionally.])
4365
+# Do `set' in a subshell so we don't clobber the current shell's
4366
+# arguments. Must try -L first in case configure is actually a
4367
+# symlink; some systems play weird games with the mod time of symlinks
4368
+# (eg FreeBSD returns the mod time of the symlink's containing
4371
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4372
+ if test "$[*]" = "X"; then
4374
+ set X `ls -t "$srcdir/configure" conftest.file`
4376
+ rm -f conftest.file
4377
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
4378
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
4380
+ # If neither matched, then we have a broken ls. This can happen
4381
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
4382
+ # broken ls alias from the environment. This has actually
4383
+ # happened. Such a system could not be considered "sane".
4384
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
4385
+alias in your environment])
4388
-dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
4389
-dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
4390
-dnl also defines GSTUFF_PKG_ERRORS on error
4391
-AC_DEFUN(PKG_CHECK_MODULES, [
4393
+ test "$[2]" = conftest.file
4399
+ AC_MSG_ERROR([newly created file is older than distributed files!
4400
+Check your system clock])
4402
+AC_MSG_RESULT(yes)])
4404
- if test -z "$PKG_CONFIG"; then
4405
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
4407
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
4409
+# This file is free software; the Free Software Foundation
4410
+# gives unlimited permission to copy and/or distribute it,
4411
+# with or without modifications, as long as this notice is preserved.
4413
- if test "$PKG_CONFIG" = "no" ; then
4414
- echo "*** The pkg-config script could not be found. Make sure it is"
4415
- echo "*** in your path, or set the PKG_CONFIG environment variable"
4416
- echo "*** to the full path to pkg-config."
4417
- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
4419
- PKG_CONFIG_MIN_VERSION=0.9.0
4420
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
4421
- AC_MSG_CHECKING(for $2)
4423
- if $PKG_CONFIG --exists "$2" ; then
4424
- AC_MSG_RESULT(yes)
4427
- AC_MSG_CHECKING($1_CFLAGS)
4428
- $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
4429
- AC_MSG_RESULT($$1_CFLAGS)
4431
- AC_MSG_CHECKING($1_LIBS)
4432
- $1_LIBS=`$PKG_CONFIG --libs "$2"`
4433
- AC_MSG_RESULT($$1_LIBS)
4437
- ## If we have a custom action on failure, don't print errors, but
4438
- ## do set a variable so people can do so.
4439
- $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
4440
- ifelse([$4], ,echo $$1_PKG_ERRORS,)
4442
+# AM_PROG_INSTALL_STRIP
4443
+# ---------------------
4444
+# One issue with vendor `install' (even GNU) is that you can't
4445
+# specify the program used to strip binaries. This is especially
4446
+# annoying in cross-compiling environments, where the build's strip
4447
+# is unlikely to handle the host's binaries.
4448
+# Fortunately install-sh will honor a STRIPPROG variable, so we
4449
+# always use install-sh in `make install-strip', and initialize
4450
+# STRIPPROG with the value of the STRIP variable (set by the user).
4451
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
4452
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
4453
+# Installed binaries are usually stripped using `strip' when the user
4454
+# run `make install-strip'. However `strip' might not be the right
4455
+# tool to use in cross-compilation environments, therefore Automake
4456
+# will honor the `STRIP' environment variable to overrule this program.
4457
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
4458
+if test "$cross_compiling" != no; then
4459
+ AC_CHECK_TOOL([STRIP], [strip], :)
4461
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4462
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
4464
- AC_SUBST($1_CFLAGS)
4467
- echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
4468
- echo "*** See http://www.freedesktop.org/software/pkgconfig"
4471
+# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
4473
+# This file is free software; the Free Software Foundation
4474
+# gives unlimited permission to copy and/or distribute it,
4475
+# with or without modifications, as long as this notice is preserved.
4477
- if test $succeeded = yes; then
4478
- ifelse([$3], , :, [$3])
4480
- ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
4485
+# _AM_SUBST_NOTMAKE(VARIABLE)
4486
+# ---------------------------
4487
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
4488
+# This macro is traced by Automake.
4489
+AC_DEFUN([_AM_SUBST_NOTMAKE])
4491
+# AM_SUBST_NOTMAKE(VARIABLE)
4492
+# ---------------------------
4493
+# Public sister of _AM_SUBST_NOTMAKE.
4494
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
4496
+# Check how to create a tarball. -*- Autoconf -*-
4498
-# Configure paths for GTK+
4499
-# Owen Taylor 97-11-3
4500
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4502
+# This file is free software; the Free Software Foundation
4503
+# gives unlimited permission to copy and/or distribute it,
4504
+# with or without modifications, as long as this notice is preserved.
4506
-dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
4507
-dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
4509
-AC_DEFUN(AM_PATH_GTK,
4511
-dnl Get the cflags and libraries from the gtk-config script
4513
-AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
4514
- gtk_config_prefix="$withval", gtk_config_prefix="")
4515
-AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
4516
- gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
4517
-AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
4518
- , enable_gtktest=yes)
4521
- for module in . $4
4525
- gtk_config_args="$gtk_config_args gthread"
4529
+# _AM_PROG_TAR(FORMAT)
4530
+# --------------------
4531
+# Check how to create a tarball in format FORMAT.
4532
+# FORMAT should be one of `v7', `ustar', or `pax'.
4534
+# Substitute a variable $(am__tar) that is a command
4535
+# writing to stdout a FORMAT-tarball containing the directory
4537
+# tardir=directory && $(am__tar) > result.tar
4539
+# Substitute a variable $(am__untar) that extract such
4540
+# a tarball read from stdin.
4541
+# $(am__untar) < result.tar
4542
+AC_DEFUN([_AM_PROG_TAR],
4543
+[# Always define AMTAR for backward compatibility.
4544
+AM_MISSING_PROG([AMTAR], [tar])
4546
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
4547
+ [m4_case([$1], [ustar],, [pax],,
4548
+ [m4_fatal([Unknown tar format])])
4549
+AC_MSG_CHECKING([how to create a $1 tar archive])
4550
+# Loop over all known methods to create a tar archive until one works.
4551
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
4552
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
4553
+# Do not fold the above two line into one, because Tru64 sh and
4554
+# Solaris sh will not grok spaces in the rhs of `-'.
4555
+for _am_tool in $_am_tools
4559
+ for _am_tar in tar gnutar gtar;
4561
+ AM_RUN_LOG([$_am_tar --version]) && break
4563
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
4564
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
4565
+ am__untar="$_am_tar -xf -"
4568
+ # Must skip GNU tar: if it does not support --format= it doesn't create
4569
+ # ustar tarball either.
4570
+ (tar --version) >/dev/null 2>&1 && continue
4571
+ am__tar='tar chf - "$$tardir"'
4572
+ am__tar_='tar chf - "$tardir"'
4573
+ am__untar='tar xf -'
4576
+ am__tar='pax -L -x $1 -w "$$tardir"'
4577
+ am__tar_='pax -L -x $1 -w "$tardir"'
4578
+ am__untar='pax -r'
4581
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
4582
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
4583
+ am__untar='cpio -i -H $1 -d'
4592
+ # If the value was cached, stop now. We just wanted to have am__tar
4593
+ # and am__untar set.
4594
+ test -n "${am_cv_prog_tar_$1}" && break
4596
- if test x$gtk_config_exec_prefix != x ; then
4597
- gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
4598
- if test x${GTK_CONFIG+set} != xset ; then
4599
- GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
4602
- if test x$gtk_config_prefix != x ; then
4603
- gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
4604
- if test x${GTK_CONFIG+set} != xset ; then
4605
- GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
4607
+ # tar/untar a dummy directory, and stop if the command works
4608
+ rm -rf conftest.dir
4609
+ mkdir conftest.dir
4610
+ echo GrepMe > conftest.dir/file
4611
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
4612
+ rm -rf conftest.dir
4613
+ if test -s conftest.tar; then
4614
+ AM_RUN_LOG([$am__untar <conftest.tar])
4615
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4618
+rm -rf conftest.dir
4620
- AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
4621
- min_gtk_version=ifelse([$1], ,0.99.7,$1)
4622
- AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
4624
- if test "$GTK_CONFIG" = "no" ; then
4627
- GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
4628
- GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
4629
- gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
4630
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
4631
- gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
4632
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
4633
- gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
4634
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
4635
- if test "x$enable_gtktest" = "xyes" ; then
4636
- ac_save_CFLAGS="$CFLAGS"
4637
- ac_save_LIBS="$LIBS"
4638
- CFLAGS="$CFLAGS $GTK_CFLAGS"
4639
- LIBS="$GTK_LIBS $LIBS"
4641
-dnl Now check if the installed GTK is sufficiently new. (Also sanity
4642
-dnl checks the results of gtk-config to some extent
4644
- rm -f conf.gtktest
4646
-#include <gtk/gtk.h>
4648
-#include <stdlib.h>
4653
- int major, minor, micro;
4654
- char *tmp_version;
4656
- system ("touch conf.gtktest");
4658
- /* HP/UX 9 (%@#!) writes to sscanf strings */
4659
- tmp_version = g_strdup("$min_gtk_version");
4660
- if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
4661
- printf("%s, bad version string\n", "$min_gtk_version");
4665
- if ((gtk_major_version != $gtk_config_major_version) ||
4666
- (gtk_minor_version != $gtk_config_minor_version) ||
4667
- (gtk_micro_version != $gtk_config_micro_version))
4669
- printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
4670
- $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
4671
- gtk_major_version, gtk_minor_version, gtk_micro_version);
4672
- printf ("*** was found! If gtk-config was correct, then it is best\n");
4673
- printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
4674
- printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
4675
- printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
4676
- printf("*** required on your system.\n");
4677
- printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
4678
- printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
4679
- printf("*** before re-running configure\n");
4681
-#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
4682
- else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
4683
- (gtk_minor_version != GTK_MINOR_VERSION) ||
4684
- (gtk_micro_version != GTK_MICRO_VERSION))
4686
- printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
4687
- GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
4688
- printf("*** library (version %d.%d.%d)\n",
4689
- gtk_major_version, gtk_minor_version, gtk_micro_version);
4691
-#endif /* defined (GTK_MAJOR_VERSION) ... */
4694
- if ((gtk_major_version > major) ||
4695
- ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
4696
- ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
4702
- printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
4703
- gtk_major_version, gtk_minor_version, gtk_micro_version);
4704
- printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
4705
- major, minor, micro);
4706
- printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
4708
- printf("*** If you have already installed a sufficiently new version, this error\n");
4709
- printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
4710
- printf("*** being found. The easiest way to fix this is to remove the old version\n");
4711
- printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
4712
- printf("*** correct copy of gtk-config. (In this case, you will have to\n");
4713
- printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
4714
- printf("*** so that the correct libraries are found at run-time))\n");
4719
-],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
4720
- CFLAGS="$ac_save_CFLAGS"
4721
- LIBS="$ac_save_LIBS"
4724
- if test "x$no_gtk" = x ; then
4725
- AC_MSG_RESULT(yes)
4726
- ifelse([$2], , :, [$2])
4729
- if test "$GTK_CONFIG" = "no" ; then
4730
- echo "*** The gtk-config script installed by GTK could not be found"
4731
- echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
4732
- echo "*** your path, or set the GTK_CONFIG environment variable to the"
4733
- echo "*** full path to gtk-config."
4735
- if test -f conf.gtktest ; then
4738
- echo "*** Could not run GTK test program, checking why..."
4739
- CFLAGS="$CFLAGS $GTK_CFLAGS"
4740
- LIBS="$LIBS $GTK_LIBS"
4742
-#include <gtk/gtk.h>
4744
-], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
4745
- [ echo "*** The test program compiled, but did not run. This usually means"
4746
- echo "*** that the run-time linker is not finding GTK or finding the wrong"
4747
- echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
4748
- echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
4749
- echo "*** to the installed location Also, make sure you have run ldconfig if that"
4750
- echo "*** is required on your system"
4752
- echo "*** If you have an old version installed, it is best to remove it, although"
4753
- echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4755
- echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
4756
- echo "*** came with the system with the command"
4758
- echo "*** rpm --erase --nodeps gtk gtk-devel" ],
4759
- [ echo "*** The test program failed to compile or link. See the file config.log for the"
4760
- echo "*** exact error that occured. This usually means GTK was incorrectly installed"
4761
- echo "*** or that you have moved GTK since it was installed. In the latter case, you"
4762
- echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
4763
- CFLAGS="$ac_save_CFLAGS"
4764
- LIBS="$ac_save_LIBS"
4769
- ifelse([$3], , :, [$3])
4771
- AC_SUBST(GTK_CFLAGS)
4772
- AC_SUBST(GTK_LIBS)
4773
- rm -f conf.gtktest
4775
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
4776
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
4777
+AC_SUBST([am__tar])
4778
+AC_SUBST([am__untar])
4781
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/config.h.in
4782
+++ gtkboard-0.11pre0+cvs.2003.11.02/config.h.in
4784
-/* config.h.in. Generated from configure.in by autoheader. */
4785
+/* config.h.in. Generated from configure.ac by autoheader. */
4787
+/* Define to 1 if you have the `fork' function. */
4790
+/* Define to 1 if you have the `getcwd' function. */
4793
/* Define to 1 if you have the <inttypes.h> header file. */
4794
#undef HAVE_INTTYPES_H
4796
+/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
4797
+ to 0 otherwise. */
4800
/* Define to 1 if you have the <memory.h> header file. */
4801
#undef HAVE_MEMORY_H
4803
+/* Define to 1 if you have the `memset' function. */
4806
/* Define to 1 if you have the `mkdir' function. */
4809
/* Do we have the SDL library */
4812
+/* Define to 1 if you have the `sqrt' function. */
4815
+/* Define to 1 if stdbool.h conforms to C99. */
4816
+#undef HAVE_STDBOOL_H
4818
/* Define to 1 if you have the <stdint.h> header file. */
4819
#undef HAVE_STDINT_H
4821
/* Define to 1 if you have the <stdlib.h> header file. */
4822
#undef HAVE_STDLIB_H
4824
+/* Define to 1 if you have the `strcasecmp' function. */
4825
+#undef HAVE_STRCASECMP
4827
/* Define to 1 if you have the <strings.h> header file. */
4828
#undef HAVE_STRINGS_H
4830
/* Define to 1 if you have the <string.h> header file. */
4831
#undef HAVE_STRING_H
4833
+/* Define to 1 if you have the `strncasecmp' function. */
4834
+#undef HAVE_STRNCASECMP
4836
+/* Define to 1 if you have the `strpbrk' function. */
4837
+#undef HAVE_STRPBRK
4839
+/* Define to 1 if you have the `strstr' function. */
4842
/* Define to 1 if you have the `strtol' function. */
4846
/* Define to 1 if you have the <unistd.h> header file. */
4847
#undef HAVE_UNISTD_H
4849
+/* Define to 1 if you have the `vfork' function. */
4852
+/* Define to 1 if you have the <vfork.h> header file. */
4853
+#undef HAVE_VFORK_H
4855
+/* Define to 1 if `fork' works. */
4856
+#undef HAVE_WORKING_FORK
4858
+/* Define to 1 if `vfork' works. */
4859
+#undef HAVE_WORKING_VFORK
4861
+/* Define to 1 if the system has the type `_Bool'. */
4864
/* Name of package */
4868
/* Define to the one symbol short name of this package. */
4869
#undef PACKAGE_TARNAME
4871
+/* Define to the home page for this package. */
4874
/* Define to the version of this package. */
4875
#undef PACKAGE_VERSION
4877
-/* Define as the return type of signal handlers (`int' or `void'). */
4880
/* Define to 1 if you have the ANSI C header files. */
4885
/* Define to empty if `const' does not conform to ANSI C. */
4888
+/* Define to rpl_malloc if the replacement function should be used. */
4891
+/* Define to `int' if <sys/types.h> does not define. */
4894
+/* Define as `fork' if `vfork' does not work. */
4896
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/configure
4897
+++ gtkboard-0.11pre0+cvs.2003.11.02/configure
4900
# Guess values for system-dependent variables and create Makefiles.
4901
-# Generated by GNU Autoconf 2.57.
4902
+# Generated by GNU Autoconf 2.67 for gtkboard 0.11pre0.
4905
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
4906
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
4910
-# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
4911
-# Free Software Foundation, Inc.
4912
# This configure script is free software; the Free Software Foundation
4913
# gives unlimited permission to copy, distribute and modify it.
4914
-## --------------------- ##
4915
-## M4sh Initialization. ##
4916
-## --------------------- ##
4918
-# Be Bourne compatible
4919
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4920
+## -------------------- ##
4921
+## M4sh Initialization. ##
4922
+## -------------------- ##
4924
+# Be more Bourne compatible
4925
+DUALCASE=1; export DUALCASE # for MKS sh
4926
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4929
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4930
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4931
# is contrary to our usage. Disable this feature.
4932
alias -g '${1+"$@"}'='"$@"'
4933
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4935
+ setopt NO_GLOB_SUBST
4937
+ case `(set -o) 2>/dev/null` in #(
4939
+ set -o posix ;; #(
4945
-# Support unset when possible.
4946
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4954
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
4955
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4956
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4957
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4958
+# Prefer a ksh shell builtin over an external printf program on Solaris,
4959
+# but without wasting forks for bash or zsh.
4960
+if test -z "$BASH_VERSION$ZSH_VERSION" \
4961
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4962
+ as_echo='print -r --'
4963
+ as_echo_n='print -rn --'
4964
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4965
+ as_echo='printf %s\n'
4966
+ as_echo_n='printf %s'
4968
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4969
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4970
+ as_echo_n='/usr/ucb/echo -n'
4972
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4973
+ as_echo_n_body='eval
4977
+ expr "X$arg" : "X\\(.*\\)$as_nl";
4978
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4980
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4982
+ export as_echo_n_body
4983
+ as_echo_n='sh -c $as_echo_n_body as_echo'
4985
+ export as_echo_body
4986
+ as_echo='sh -c $as_echo_body as_echo'
4989
+# The user is always right.
4990
+if test "${PATH_SEPARATOR+set}" != set; then
4992
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4993
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4994
+ PATH_SEPARATOR=';'
4999
-# Work around bugs in pre-3.0 UWIN ksh.
5000
-$as_unset ENV MAIL MAILPATH
5002
+# We need space, tab and new line, in precisely that order. Quoting is
5003
+# there to prevent editors from complaining about space-tab.
5004
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5005
+# splitting by setting IFS to empty value.)
5008
+# Find who we are. Look in the path if we contain no directory separator.
5010
+ *[\\/]* ) as_myself=$0 ;;
5011
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5012
+for as_dir in $PATH
5015
+ test -z "$as_dir" && as_dir=.
5016
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5022
+# We did not find ourselves, most probably we were run as `sh COMMAND'
5023
+# in which case we are not to be found in the path.
5024
+if test "x$as_myself" = x; then
5027
+if test ! -f "$as_myself"; then
5028
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5032
+# Unset variables that we do not need and which cause bugs (e.g. in
5033
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5034
+# suppresses any "Segmentation fault" message there. '((' could
5035
+# trigger a bug in pdksh 5.2.14.
5036
+for as_var in BASH_ENV ENV MAIL MAILPATH
5037
+do eval test x\${$as_var+set} = xset \
5038
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5046
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5047
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5048
- LC_TELEPHONE LC_TIME
5055
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5057
+if test "x$CONFIG_SHELL" = x; then
5058
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
5061
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
5062
+ # is contrary to our usage. Disable this feature.
5063
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
5064
+ setopt NO_GLOB_SUBST
5066
+ case \`(set -o) 2>/dev/null\` in #(
5068
+ set -o posix ;; #(
5074
+ as_required="as_fn_return () { (exit \$1); }
5075
+as_fn_success () { as_fn_return 0; }
5076
+as_fn_failure () { as_fn_return 1; }
5077
+as_fn_ret_success () { return 0; }
5078
+as_fn_ret_failure () { return 1; }
5081
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
5082
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
5083
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
5084
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
5085
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
5088
+ exitcode=1; echo positional parameters were not saved.
5090
+test x\$exitcode = x0 || exit 1"
5091
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
5092
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
5093
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
5094
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
5095
+test \$(( 1 + 1 )) = 2 || exit 1"
5096
+ if (eval "$as_required") 2>/dev/null; then :
5097
+ as_have_required=yes
5099
+ as_have_required=no
5101
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
5104
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5108
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
5109
- eval $as_var=C; export $as_var
5111
+ test -z "$as_dir" && as_dir=.
5113
+ case $as_dir in #(
5115
+ for as_base in sh bash ksh sh5; do
5116
+ # Try only shells that exist, to save several forks.
5117
+ as_shell=$as_dir/$as_base
5118
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
5119
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
5120
+ CONFIG_SHELL=$as_shell as_have_required=yes
5121
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
5129
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
5130
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
5131
+ CONFIG_SHELL=$SHELL as_have_required=yes
5136
+ if test "x$CONFIG_SHELL" != x; then :
5137
+ # We cannot yet assume a decent shell, so we have to provide a
5138
+ # neutralization value for shells without unset; and this also
5139
+ # works around shells that cannot unset nonexistent variables.
5140
+ BASH_ENV=/dev/null
5142
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
5143
+ export CONFIG_SHELL
5144
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
5147
+ if test x$as_have_required = xno; then :
5148
+ $as_echo "$0: This script requires a shell more modern than all"
5149
+ $as_echo "$0: the shells that I found on your system."
5150
+ if test x${ZSH_VERSION+set} = xset ; then
5151
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
5152
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
5155
+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
5156
+$0: including any error possibly output before this
5157
+$0: message. Then install a modern shell, or manually run
5158
+$0: the script under such a shell if you do have one."
5165
+SHELL=${CONFIG_SHELL-/bin/sh}
5167
+# Unset more variables known to interfere with behavior of common tools.
5168
+CLICOLOR_FORCE= GREP_OPTIONS=
5169
+unset CLICOLOR_FORCE GREP_OPTIONS
5171
+## --------------------- ##
5172
+## M4sh Shell Functions. ##
5173
+## --------------------- ##
5176
+# Portably unset VAR.
5179
+ { eval $1=; unset $1;}
5181
+as_unset=as_fn_unset
5183
+# as_fn_set_status STATUS
5184
+# -----------------------
5185
+# Set $? to STATUS, without forking.
5186
+as_fn_set_status ()
5189
+} # as_fn_set_status
5191
+# as_fn_exit STATUS
5192
+# -----------------
5193
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5197
+ as_fn_set_status $1
5203
+# Create "$as_dir" as a directory, including parents if necessary.
5207
+ case $as_dir in #(
5208
+ -*) as_dir=./$as_dir;;
5210
+ test -d "$as_dir" || eval $as_mkdir_p || {
5213
+ case $as_dir in #(
5214
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5215
+ *) as_qdir=$as_dir;;
5217
+ as_dirs="'$as_qdir' $as_dirs"
5218
+ as_dir=`$as_dirname -- "$as_dir" ||
5219
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5220
+ X"$as_dir" : 'X\(//\)[^/]' \| \
5221
+ X"$as_dir" : 'X\(//\)$' \| \
5222
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5223
+$as_echo X"$as_dir" |
5224
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5228
+ /^X\(\/\/\)[^/].*/{
5241
+ test -d "$as_dir" && break
5243
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
5244
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5248
+# as_fn_append VAR VALUE
5249
+# ----------------------
5250
+# Append the text in VALUE to the end of the definition contained in VAR. Take
5251
+# advantage of any shell optimizations that allow amortized linear growth over
5252
+# repeated appends, instead of the typical quadratic growth present in naive
5254
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5255
+ eval 'as_fn_append ()
5266
+# as_fn_arith ARG...
5267
+# ------------------
5268
+# Perform arithmetic evaluation on the ARGs, and store the result in the
5269
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
5270
+# must be portable across $(()) and expr.
5271
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5272
+ eval 'as_fn_arith ()
5279
+ as_val=`expr "$@" || test $? -eq 1`
5284
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
5285
+# ----------------------------------------
5286
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5287
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5288
+# script with STATUS, using 1 if that was 0.
5291
+ as_status=$1; test $as_status -eq 0 && as_status=1
5292
+ if test "$4"; then
5293
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5294
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5296
+ $as_echo "$as_me: error: $2" >&2
5297
+ as_fn_exit $as_status
5300
-# Required to use basename.
5301
-if expr a : '\(a\)' >/dev/null 2>&1; then
5302
+if expr a : '\(a\)' >/dev/null 2>&1 &&
5303
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
5309
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5310
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5311
as_basename=basename
5316
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5317
+ as_dirname=dirname
5322
-# Name of the executable.
5323
-as_me=`$as_basename "$0" ||
5324
+as_me=`$as_basename -- "$0" ||
5325
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5326
X"$0" : 'X\(//\)$' \| \
5327
- X"$0" : 'X\(/\)$' \| \
5328
- . : '\(.\)' 2>/dev/null ||
5330
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5331
- /^X\/\(\/\/\)$/{ s//\1/; q; }
5332
- /^X\/\(\/\).*/{ s//\1/; q; }
5335
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5337
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
5351
-# PATH needs CR, and LINENO needs CR and PATH.
5352
# Avoid depending upon Character Ranges.
5353
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5354
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5355
@@ -83,237 +417,316 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
5356
as_cr_digits='0123456789'
5357
as_cr_alnum=$as_cr_Letters$as_cr_digits
5359
-# The user is always right.
5360
-if test "${PATH_SEPARATOR+set}" != set; then
5361
- echo "#! /bin/sh" >conf$$.sh
5362
- echo "exit 0" >>conf$$.sh
5363
- chmod +x conf$$.sh
5364
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5365
- PATH_SEPARATOR=';'
5373
- as_lineno_1=$LINENO
5374
- as_lineno_2=$LINENO
5375
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5376
- test "x$as_lineno_1" != "x$as_lineno_2" &&
5377
- test "x$as_lineno_3" = "x$as_lineno_2" || {
5378
- # Find who we are. Look in the path if we contain no path at all
5379
- # relative or not.
5381
- *[\\/]* ) as_myself=$0 ;;
5382
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383
-for as_dir in $PATH
5386
- test -z "$as_dir" && as_dir=.
5387
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5392
- # We did not find ourselves, most probably we were run as `sh COMMAND'
5393
- # in which case we are not to be found in the path.
5394
- if test "x$as_myself" = x; then
5397
- if test ! -f "$as_myself"; then
5398
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
5399
- { (exit 1); exit 1; }; }
5401
- case $CONFIG_SHELL in
5403
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5407
- test -z "$as_dir" && as_dir=.
5408
- for as_base in sh bash ksh sh5; do
5411
- if ("$as_dir/$as_base" -c '
5412
- as_lineno_1=$LINENO
5413
- as_lineno_2=$LINENO
5414
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5415
- test "x$as_lineno_1" != "x$as_lineno_2" &&
5416
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5417
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5418
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5419
- CONFIG_SHELL=$as_dir/$as_base
5420
- export CONFIG_SHELL
5421
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5429
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5430
- # uniformly replaced by the line number. The first 'sed' inserts a
5431
- # line-number line before each line; the second 'sed' does the real
5432
- # work. The second script uses 'N' to pair each line-number line
5433
- # with the numbered line, and appends trailing '-' during
5434
- # substitution so that $LINENO is not a special case at line end.
5435
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5436
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5437
- sed '=' <$as_myself |
5438
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
5439
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
5440
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
5441
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
5442
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
5455
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5457
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5460
- s,^['$as_cr_digits']*\n,,
5463
- chmod +x $as_me.lineno ||
5464
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5465
- { (exit 1); exit 1; }; }
5466
+ chmod +x "$as_me.lineno" ||
5467
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
5469
# Don't try to exec as it changes $[0], causing all sort of problems
5470
# (the dirname of $[0] is not the place where we might find the
5471
- # original and so on. Autoconf is especially sensible to this).
5473
+ # original and so on. Autoconf is especially sensitive to this).
5474
+ . "./$as_me.lineno"
5475
# Exit status is that of the last command.
5480
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5481
- *c*,-n*) ECHO_N= ECHO_C='
5483
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5484
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5485
+ECHO_C= ECHO_N= ECHO_T=
5486
+case `echo -n x` in #(((((
5488
+ case `echo 'xy\c'` in
5489
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5491
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5498
-if expr a : '\(a\)' >/dev/null 2>&1; then
5500
+rm -f conf$$ conf$$.exe conf$$.file
5501
+if test -d conf$$.dir; then
5502
+ rm -f conf$$.dir/conf$$.file
5506
+ mkdir conf$$.dir 2>/dev/null
5509
-rm -f conf$$ conf$$.exe conf$$.file
5511
-if ln -s conf$$.file conf$$ 2>/dev/null; then
5512
- # We could just check for DJGPP; but this test a) works b) is more generic
5513
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5514
- if test -f conf$$.exe; then
5515
- # Don't use ln at all; we don't have any links
5518
+if (echo >conf$$.file) 2>/dev/null; then
5519
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
5521
+ # ... but there are two gotchas:
5522
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5523
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5524
+ # In both cases, we have to default to `cp -p'.
5525
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5527
+ elif ln conf$$.file conf$$ 2>/dev/null; then
5532
-elif ln conf$$.file conf$$ 2>/dev/null; then
5537
-rm -f conf$$ conf$$.exe conf$$.file
5538
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5539
+rmdir conf$$.dir 2>/dev/null
5541
if mkdir -p . 2>/dev/null; then
5543
+ as_mkdir_p='mkdir -p "$as_dir"'
5545
+ test -d ./-p && rmdir ./-p
5549
-as_executable_p="test -f"
5550
+if test -x / >/dev/null 2>&1; then
5551
+ as_test_x='test -x'
5553
+ if ls -dL / >/dev/null 2>&1; then
5560
+ if test -d "$1"; then
5566
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5567
+ ???[sx]*):;;*)false;;esac;fi
5571
+as_executable_p=$as_test_x
5573
# Sed expression to map a string onto a valid CPP name.
5574
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5575
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5577
# Sed expression to map a string onto a valid variable name.
5578
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5582
-# We need space, tab and new line, in precisely that order.
5586
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5591
+test -n "$DJDIR" || exec 7<&0 </dev/null
5595
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5596
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
5597
# so uname gets run too.
5598
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5605
ac_default_prefix=/usr/local
5607
ac_config_libobj_dir=.
5613
-SHELL=${CONFIG_SHELL-/bin/sh}
5615
-# Maximum number of lines to put in a shell here document.
5616
-# This variable seems obsolete. It should probably be removed, and
5617
-# only ac_max_sed_lines should be used.
5618
-: ${ac_max_here_lines=38}
5620
# Identity of this package.
5626
+PACKAGE_NAME='gtkboard'
5627
+PACKAGE_TARNAME='gtkboard'
5628
+PACKAGE_VERSION='0.11pre0'
5629
+PACKAGE_STRING='gtkboard 0.11pre0'
5630
+PACKAGE_BUGREPORT=''
5633
ac_unique_file="src/"
5634
# Factoring default headers for most tests.
5635
ac_includes_default="\
5637
-#if HAVE_SYS_TYPES_H
5638
+#ifdef HAVE_SYS_TYPES_H
5639
# include <sys/types.h>
5641
-#if HAVE_SYS_STAT_H
5642
+#ifdef HAVE_SYS_STAT_H
5643
# include <sys/stat.h>
5646
+#ifdef STDC_HEADERS
5647
# include <stdlib.h>
5648
# include <stddef.h>
5651
+# ifdef HAVE_STDLIB_H
5652
# include <stdlib.h>
5656
-# if !STDC_HEADERS && HAVE_MEMORY_H
5657
+#ifdef HAVE_STRING_H
5658
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5659
# include <memory.h>
5661
# include <string.h>
5664
+#ifdef HAVE_STRINGS_H
5665
# include <strings.h>
5667
-#if HAVE_INTTYPES_H
5668
+#ifdef HAVE_INTTYPES_H
5669
# include <inttypes.h>
5672
-# include <stdint.h>
5676
+#ifdef HAVE_STDINT_H
5677
+# include <stdint.h>
5679
+#ifdef HAVE_UNISTD_H
5680
# include <unistd.h>
5683
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG GNOME_CFLAGS GNOME_LIBS WITH_GNOME_TRUE WITH_GNOME_FALSE CPP EGREP LIBOBJS LTLIBOBJS'
5684
+ac_subst_vars='am__EXEEXT_FALSE
5700
+am__fastdepCC_FALSE
5724
+INSTALL_STRIP_PROGRAM
5778
+program_transform_name
5791
+enable_option_checking
5792
+enable_dependency_tracking
5797
+ ac_precious_vars='build_alias
5815
# Initialize some variables set by options.
5817
ac_init_version=false
5818
+ac_unrecognized_opts=
5819
+ac_unrecognized_sep=
5820
# The variables have the same names as the options, with
5821
# dashes changed to underlines.
5822
cache_file=/dev/null
5823
@@ -336,34 +749,49 @@ x_libraries=NONE
5824
# and all the variables that are supposed to be based on exec_prefix
5825
# by default will actually change.
5826
# Use braces instead of parens because sh, perl, etc. also accept them.
5827
+# (The list follows the same order as the GNU Coding Standards.)
5828
bindir='${exec_prefix}/bin'
5829
sbindir='${exec_prefix}/sbin'
5830
libexecdir='${exec_prefix}/libexec'
5831
-datadir='${prefix}/share'
5832
+datarootdir='${prefix}/share'
5833
+datadir='${datarootdir}'
5834
sysconfdir='${prefix}/etc'
5835
sharedstatedir='${prefix}/com'
5836
localstatedir='${prefix}/var'
5837
-libdir='${exec_prefix}/lib'
5838
includedir='${prefix}/include'
5839
oldincludedir='/usr/include'
5840
-infodir='${prefix}/info'
5841
-mandir='${prefix}/man'
5842
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
5843
+infodir='${datarootdir}/info'
5844
+htmldir='${docdir}'
5848
+libdir='${exec_prefix}/lib'
5849
+localedir='${datarootdir}/locale'
5850
+mandir='${datarootdir}/man'
5856
# If the previous option needs an argument, assign it.
5857
if test -n "$ac_prev"; then
5858
- eval "$ac_prev=\$ac_option"
5859
+ eval $ac_prev=\$ac_option
5864
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
5865
+ case $ac_option in
5866
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
5868
+ *) ac_optarg=yes ;;
5871
# Accept the important Cygnus configure options, so we can diagnose typos.
5873
- case $ac_option in
5874
+ case $ac_dashdash$ac_option in
5876
+ ac_dashdash=yes ;;
5878
-bindir | --bindir | --bindi | --bind | --bin | --bi)
5880
@@ -385,33 +813,59 @@ do
5881
--config-cache | -C)
5882
cache_file=config.cache ;;
5884
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
5885
+ -datadir | --datadir | --datadi | --datad)
5887
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
5889
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
5890
datadir=$ac_optarg ;;
5892
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
5893
+ | --dataroo | --dataro | --datar)
5894
+ ac_prev=datarootdir ;;
5895
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
5896
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
5897
+ datarootdir=$ac_optarg ;;
5899
-disable-* | --disable-*)
5900
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5901
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5902
# Reject names that are not valid shell variable names.
5903
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5904
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5905
- { (exit 1); exit 1; }; }
5906
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5907
- eval "enable_$ac_feature=no" ;;
5908
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
5909
+ as_fn_error $? "invalid feature name: $ac_useropt"
5910
+ ac_useropt_orig=$ac_useropt
5911
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
5912
+ case $ac_user_opts in
5914
+"enable_$ac_useropt"
5916
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
5917
+ ac_unrecognized_sep=', ';;
5919
+ eval enable_$ac_useropt=no ;;
5921
+ -docdir | --docdir | --docdi | --doc | --do)
5923
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
5924
+ docdir=$ac_optarg ;;
5926
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
5928
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
5929
+ dvidir=$ac_optarg ;;
5931
-enable-* | --enable-*)
5932
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
5933
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
5934
# Reject names that are not valid shell variable names.
5935
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5936
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5937
- { (exit 1); exit 1; }; }
5938
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5939
- case $ac_option in
5940
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5941
- *) ac_optarg=yes ;;
5942
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
5943
+ as_fn_error $? "invalid feature name: $ac_useropt"
5944
+ ac_useropt_orig=$ac_useropt
5945
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
5946
+ case $ac_user_opts in
5948
+"enable_$ac_useropt"
5950
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
5951
+ ac_unrecognized_sep=', ';;
5953
- eval "enable_$ac_feature='$ac_optarg'" ;;
5954
+ eval enable_$ac_useropt=\$ac_optarg ;;
5956
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
5957
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
5958
@@ -438,6 +892,12 @@ do
5959
-host=* | --host=* | --hos=* | --ho=*)
5960
host_alias=$ac_optarg ;;
5962
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
5963
+ ac_prev=htmldir ;;
5964
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
5966
+ htmldir=$ac_optarg ;;
5968
-includedir | --includedir | --includedi | --included | --include \
5969
| --includ | --inclu | --incl | --inc)
5970
ac_prev=includedir ;;
5971
@@ -462,13 +922,16 @@ do
5972
| --libexe=* | --libex=* | --libe=*)
5973
libexecdir=$ac_optarg ;;
5975
+ -localedir | --localedir | --localedi | --localed | --locale)
5976
+ ac_prev=localedir ;;
5977
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
5978
+ localedir=$ac_optarg ;;
5980
-localstatedir | --localstatedir | --localstatedi | --localstated \
5981
- | --localstate | --localstat | --localsta | --localst \
5982
- | --locals | --local | --loca | --loc | --lo)
5983
+ | --localstate | --localstat | --localsta | --localst | --locals)
5984
ac_prev=localstatedir ;;
5985
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
5986
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
5987
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
5988
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
5989
localstatedir=$ac_optarg ;;
5991
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
5992
@@ -533,6 +996,16 @@ do
5993
| --progr-tra=* | --program-tr=* | --program-t=*)
5994
program_transform_name=$ac_optarg ;;
5996
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
5998
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
5999
+ pdfdir=$ac_optarg ;;
6001
+ -psdir | --psdir | --psdi | --psd | --ps)
6003
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
6004
+ psdir=$ac_optarg ;;
6006
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
6007
| -silent | --silent | --silen | --sile | --sil)
6009
@@ -583,26 +1056,36 @@ do
6010
ac_init_version=: ;;
6013
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6014
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6015
# Reject names that are not valid shell variable names.
6016
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6017
- { echo "$as_me: error: invalid package name: $ac_package" >&2
6018
- { (exit 1); exit 1; }; }
6019
- ac_package=`echo $ac_package| sed 's/-/_/g'`
6020
- case $ac_option in
6021
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6022
- *) ac_optarg=yes ;;
6023
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
6024
+ as_fn_error $? "invalid package name: $ac_useropt"
6025
+ ac_useropt_orig=$ac_useropt
6026
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
6027
+ case $ac_user_opts in
6031
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
6032
+ ac_unrecognized_sep=', ';;
6034
- eval "with_$ac_package='$ac_optarg'" ;;
6035
+ eval with_$ac_useropt=\$ac_optarg ;;
6037
-without-* | --without-*)
6038
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6039
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6040
# Reject names that are not valid shell variable names.
6041
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
6042
- { echo "$as_me: error: invalid package name: $ac_package" >&2
6043
- { (exit 1); exit 1; }; }
6044
- ac_package=`echo $ac_package | sed 's/-/_/g'`
6045
- eval "with_$ac_package=no" ;;
6046
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
6047
+ as_fn_error $? "invalid package name: $ac_useropt"
6048
+ ac_useropt_orig=$ac_useropt
6049
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
6050
+ case $ac_user_opts in
6054
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
6055
+ ac_unrecognized_sep=', ';;
6057
+ eval with_$ac_useropt=no ;;
6060
# Obsolete; use --with-x.
6061
@@ -622,26 +1105,25 @@ do
6062
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6063
x_libraries=$ac_optarg ;;
6065
- -*) { echo "$as_me: error: unrecognized option: $ac_option
6066
-Try \`$0 --help' for more information." >&2
6067
- { (exit 1); exit 1; }; }
6068
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
6069
+Try \`$0 --help' for more information"
6073
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
6074
# Reject names that are not valid shell variable names.
6075
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6076
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6077
- { (exit 1); exit 1; }; }
6078
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6079
- eval "$ac_envvar='$ac_optarg'"
6080
+ case $ac_envvar in #(
6081
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
6082
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
6084
+ eval $ac_envvar=\$ac_optarg
6085
export $ac_envvar ;;
6088
# FIXME: should be removed in autoconf 3.0.
6089
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6090
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6091
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6092
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6093
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6094
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6097
@@ -650,31 +1132,36 @@ done
6099
if test -n "$ac_prev"; then
6100
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6101
- { echo "$as_me: error: missing argument to $ac_option" >&2
6102
- { (exit 1); exit 1; }; }
6103
+ as_fn_error $? "missing argument to $ac_option"
6106
-# Be sure to have absolute paths.
6107
-for ac_var in exec_prefix prefix
6109
- eval ac_val=$`echo $ac_var`
6111
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6112
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6113
- { (exit 1); exit 1; }; };;
6114
+if test -n "$ac_unrecognized_opts"; then
6115
+ case $enable_option_checking in
6117
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
6118
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
6123
-# Be sure to have absolute paths.
6124
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6125
- localstatedir libdir includedir oldincludedir infodir mandir
6126
+# Check all directory arguments for consistency.
6127
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
6128
+ datadir sysconfdir sharedstatedir localstatedir includedir \
6129
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
6130
+ libdir localedir mandir
6132
- eval ac_val=$`echo $ac_var`
6133
+ eval ac_val=\$$ac_var
6134
+ # Remove trailing slashes.
6136
- [\\/$]* | ?:[\\/]* ) ;;
6137
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6138
- { (exit 1); exit 1; }; };;
6140
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
6141
+ eval $ac_var=\$ac_val;;
6143
+ # Be sure to have absolute directory names.
6145
+ [\\/$]* | ?:[\\/]* ) continue;;
6146
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6148
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
6151
# There might be people who depend on the old broken behavior: `$host'
6152
@@ -688,8 +1175,8 @@ target=$target_alias
6153
if test "x$host_alias" != x; then
6154
if test "x$build_alias" = x; then
6155
cross_compiling=maybe
6156
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6157
- If a cross compiler is detected then cross compile mode will be used." >&2
6158
+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
6159
+ If a cross compiler is detected then cross compile mode will be used" >&2
6160
elif test "x$build_alias" != "x$host_alias"; then
6163
@@ -701,74 +1188,72 @@ test -n "$host_alias" && ac_tool_prefix=
6164
test "$silent" = yes && exec 6>/dev/null
6167
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
6168
+ac_ls_di=`ls -di .` &&
6169
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
6170
+ as_fn_error $? "working directory cannot be determined"
6171
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
6172
+ as_fn_error $? "pwd does not report name of working directory"
6175
# Find the source files, if location was not specified.
6176
if test -z "$srcdir"; then
6177
ac_srcdir_defaulted=yes
6178
- # Try the directory containing this script, then its parent.
6179
- ac_confdir=`(dirname "$0") 2>/dev/null ||
6180
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6181
- X"$0" : 'X\(//\)[^/]' \| \
6182
- X"$0" : 'X\(//\)$' \| \
6183
- X"$0" : 'X\(/\)' \| \
6184
- . : '\(.\)' 2>/dev/null ||
6186
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6187
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6188
- /^X\(\/\/\)$/{ s//\1/; q; }
6189
- /^X\(\/\).*/{ s//\1/; q; }
6191
+ # Try the directory containing this script, then the parent directory.
6192
+ ac_confdir=`$as_dirname -- "$as_myself" ||
6193
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6194
+ X"$as_myself" : 'X\(//\)[^/]' \| \
6195
+ X"$as_myself" : 'X\(//\)$' \| \
6196
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
6197
+$as_echo X"$as_myself" |
6198
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6202
+ /^X\(\/\/\)[^/].*/{
6216
- if test ! -r $srcdir/$ac_unique_file; then
6217
+ if test ! -r "$srcdir/$ac_unique_file"; then
6221
ac_srcdir_defaulted=no
6223
-if test ! -r $srcdir/$ac_unique_file; then
6224
- if test "$ac_srcdir_defaulted" = yes; then
6225
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
6226
- { (exit 1); exit 1; }; }
6228
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6229
- { (exit 1); exit 1; }; }
6232
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
6233
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
6234
- { (exit 1); exit 1; }; }
6235
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
6236
-ac_env_build_alias_set=${build_alias+set}
6237
-ac_env_build_alias_value=$build_alias
6238
-ac_cv_env_build_alias_set=${build_alias+set}
6239
-ac_cv_env_build_alias_value=$build_alias
6240
-ac_env_host_alias_set=${host_alias+set}
6241
-ac_env_host_alias_value=$host_alias
6242
-ac_cv_env_host_alias_set=${host_alias+set}
6243
-ac_cv_env_host_alias_value=$host_alias
6244
-ac_env_target_alias_set=${target_alias+set}
6245
-ac_env_target_alias_value=$target_alias
6246
-ac_cv_env_target_alias_set=${target_alias+set}
6247
-ac_cv_env_target_alias_value=$target_alias
6248
-ac_env_CC_set=${CC+set}
6249
-ac_env_CC_value=$CC
6250
-ac_cv_env_CC_set=${CC+set}
6251
-ac_cv_env_CC_value=$CC
6252
-ac_env_CFLAGS_set=${CFLAGS+set}
6253
-ac_env_CFLAGS_value=$CFLAGS
6254
-ac_cv_env_CFLAGS_set=${CFLAGS+set}
6255
-ac_cv_env_CFLAGS_value=$CFLAGS
6256
-ac_env_LDFLAGS_set=${LDFLAGS+set}
6257
-ac_env_LDFLAGS_value=$LDFLAGS
6258
-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
6259
-ac_cv_env_LDFLAGS_value=$LDFLAGS
6260
-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
6261
-ac_env_CPPFLAGS_value=$CPPFLAGS
6262
-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
6263
-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6264
-ac_env_CPP_set=${CPP+set}
6265
-ac_env_CPP_value=$CPP
6266
-ac_cv_env_CPP_set=${CPP+set}
6267
-ac_cv_env_CPP_value=$CPP
6268
+if test ! -r "$srcdir/$ac_unique_file"; then
6269
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
6270
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
6272
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
6274
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
6276
+# When building in place, set srcdir=.
6277
+if test "$ac_abs_confdir" = "$ac_pwd"; then
6280
+# Remove unnecessary trailing slashes from srcdir.
6281
+# Double slashes in file names in object file debugging info
6282
+# mess up M-x gdb in Emacs.
6284
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
6286
+for ac_var in $ac_precious_vars; do
6287
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
6288
+ eval ac_env_${ac_var}_value=\$${ac_var}
6289
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
6290
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
6294
# Report the --help message.
6295
@@ -777,7 +1262,7 @@ if test "$ac_init_help" = "long"; then
6296
# Omit some internal or obsolete options to make the list less imposing.
6297
# This message is too long to be a string in the A/UX 3.1 sh.
6299
-\`configure' configures this package to adapt to many kinds of systems.
6300
+\`configure' configures gtkboard 0.11pre0 to adapt to many kinds of systems.
6302
Usage: $0 [OPTION]... [VAR=VALUE]...
6304
@@ -791,15 +1276,12 @@ Configuration:
6305
--help=short display options specific to this package
6306
--help=recursive display the short help of all the included packages
6307
-V, --version display version information and exit
6308
- -q, --quiet, --silent do not print \`checking...' messages
6309
+ -q, --quiet, --silent do not print \`checking ...' messages
6310
--cache-file=FILE cache test results in FILE [disabled]
6311
-C, --config-cache alias for \`--cache-file=config.cache'
6312
-n, --no-create do not create output files
6313
--srcdir=DIR find the sources in DIR [configure dir or \`..']
6318
Installation directories:
6319
--prefix=PREFIX install architecture-independent files in PREFIX
6320
[$ac_default_prefix]
6321
@@ -814,18 +1296,25 @@ for instance \`--prefix=\$HOME'.
6322
For better control, use the options below.
6324
Fine tuning of the installation directories:
6325
- --bindir=DIR user executables [EPREFIX/bin]
6326
- --sbindir=DIR system admin executables [EPREFIX/sbin]
6327
- --libexecdir=DIR program executables [EPREFIX/libexec]
6328
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
6329
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6330
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6331
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6332
- --libdir=DIR object code libraries [EPREFIX/lib]
6333
- --includedir=DIR C header files [PREFIX/include]
6334
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
6335
- --infodir=DIR info documentation [PREFIX/info]
6336
- --mandir=DIR man documentation [PREFIX/man]
6337
+ --bindir=DIR user executables [EPREFIX/bin]
6338
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
6339
+ --libexecdir=DIR program executables [EPREFIX/libexec]
6340
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6341
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6342
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6343
+ --libdir=DIR object code libraries [EPREFIX/lib]
6344
+ --includedir=DIR C header files [PREFIX/include]
6345
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
6346
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
6347
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
6348
+ --infodir=DIR info documentation [DATAROOTDIR/info]
6349
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
6350
+ --mandir=DIR man documentation [DATAROOTDIR/man]
6351
+ --docdir=DIR documentation root [DATAROOTDIR/doc/gtkboard]
6352
+ --htmldir=DIR html documentation [DOCDIR]
6353
+ --dvidir=DIR dvi documentation [DOCDIR]
6354
+ --pdfdir=DIR pdf documentation [DOCDIR]
6355
+ --psdir=DIR ps documentation [DOCDIR]
6359
@@ -843,164 +1332,580 @@ _ACEOF
6362
if test -n "$ac_init_help"; then
6364
+ case $ac_init_help in
6365
+ short | recursive ) echo "Configuration of gtkboard 0.11pre0:";;
6370
+ --disable-option-checking ignore unrecognized --enable/--with options
6371
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
6372
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
6373
- --disable-dependency-tracking Speeds up one-time builds
6374
- --enable-dependency-tracking Do not reject slow dependency extractors
6375
+ --disable-dependency-tracking speeds up one-time build
6376
+ --enable-dependency-tracking do not reject slow dependency extractors
6377
--disable-gtk2 Don't look for GTK2 libraries
6378
- --disable-gtktest Do not try to compile and run a test GTK program
6379
--disable-sdl Don't look for the SDL library
6380
--enable-gnome Turn on gnome
6383
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
6384
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
6385
- --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
6386
- --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
6388
Some influential environment variables:
6389
CC C compiler command
6390
CFLAGS C compiler flags
6391
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
6392
nonstandard directory <lib dir>
6393
- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
6394
- headers in a nonstandard directory <include dir>
6395
+ LIBS libraries to pass to the linker, e.g. -l<library>
6396
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
6397
+ you have headers in a nonstandard directory <include dir>
6398
+ PKG_CONFIG path to pkg-config utility
6400
+ directories to add to pkg-config's search path
6402
+ path overriding pkg-config's built-in search path
6403
+ GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
6404
+ GTK_LIBS linker flags for GTK, overriding pkg-config
6406
+ C compiler flags for GNOME, overriding pkg-config
6407
+ GNOME_LIBS linker flags for GNOME, overriding pkg-config
6410
Use these variables to override the choices made by `configure' or to help
6411
it to find libraries and programs with nonstandard names/locations.
6413
+Report bugs to the package provider.
6418
if test "$ac_init_help" = "recursive"; then
6419
# If there are subdirs, report their specific --help.
6421
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
6422
- test -d $ac_dir || continue
6423
+ test -d "$ac_dir" ||
6424
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
6428
-if test "$ac_dir" != .; then
6429
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6430
- # A "../" for each directory in $ac_dir_suffix.
6431
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6433
- ac_dir_suffix= ac_top_builddir=
6436
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6438
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6439
+ # A ".." for each directory in $ac_dir_suffix.
6440
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6441
+ case $ac_top_builddir_sub in
6442
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6443
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6446
+ac_abs_top_builddir=$ac_pwd
6447
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
6448
+# for backward compatibility:
6449
+ac_top_builddir=$ac_top_build_prefix
6452
- .) # No --srcdir option. We are building in place.
6453
+ .) # We are building in place.
6455
- if test -z "$ac_top_builddir"; then
6458
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6460
- [\\/]* | ?:[\\/]* ) # Absolute path.
6461
+ ac_top_srcdir=$ac_top_builddir_sub
6462
+ ac_abs_top_srcdir=$ac_pwd ;;
6463
+ [\\/]* | ?:[\\/]* ) # Absolute name.
6464
ac_srcdir=$srcdir$ac_dir_suffix;
6465
- ac_top_srcdir=$srcdir ;;
6466
- *) # Relative path.
6467
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6468
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
6470
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6472
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6473
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6474
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6475
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6478
- # Check for guested configure; otherwise get Cygnus style configure.
6479
- if test -f $ac_srcdir/configure.gnu; then
6481
- $SHELL $ac_srcdir/configure.gnu --help=recursive
6482
- elif test -f $ac_srcdir/configure; then
6484
- $SHELL $ac_srcdir/configure --help=recursive
6485
- elif test -f $ac_srcdir/configure.ac ||
6486
- test -f $ac_srcdir/configure.in; then
6488
- $ac_configure --help
6489
+ ac_top_srcdir=$srcdir
6490
+ ac_abs_top_srcdir=$srcdir ;;
6491
+ *) # Relative name.
6492
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6493
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
6494
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6496
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6498
+ cd "$ac_dir" || { ac_status=$?; continue; }
6499
+ # Check for guested configure.
6500
+ if test -f "$ac_srcdir/configure.gnu"; then
6502
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
6503
+ elif test -f "$ac_srcdir/configure"; then
6505
+ $SHELL "$ac_srcdir/configure" --help=recursive
6507
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
6510
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
6511
+ fi || ac_status=$?
6512
+ cd "$ac_pwd" || { ac_status=$?; break; }
6516
-test -n "$ac_init_help" && exit 0
6517
+test -n "$ac_init_help" && exit $ac_status
6518
if $ac_init_version; then
6520
+gtkboard configure 0.11pre0
6521
+generated by GNU Autoconf 2.67
6523
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6524
-Free Software Foundation, Inc.
6525
+Copyright (C) 2010 Free Software Foundation, Inc.
6526
This configure script is free software; the Free Software Foundation
6527
gives unlimited permission to copy, distribute and modify it.
6534
-This file contains any messages produced by compilers while
6535
-running configure, to aid debugging if configure makes a mistake.
6537
-It was created by $as_me, which was
6538
-generated by GNU Autoconf 2.57. Invocation command line was
6543
+## ------------------------ ##
6544
+## Autoconf initialization. ##
6545
+## ------------------------ ##
6547
+# ac_fn_c_try_compile LINENO
6548
+# --------------------------
6549
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
6550
+ac_fn_c_try_compile ()
6557
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
6558
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
6559
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
6560
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
6561
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
6563
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
6564
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
6565
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6566
+ rm -f conftest.$ac_objext
6567
+ if { { ac_try="$ac_compile"
6568
+case "(($ac_try" in
6569
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6570
+ *) ac_try_echo=$ac_try;;
6572
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6573
+$as_echo "$ac_try_echo"; } >&5
6574
+ (eval "$ac_compile") 2>conftest.err
6576
+ if test -s conftest.err; then
6577
+ grep -v '^ *+' conftest.err >conftest.er1
6578
+ cat conftest.er1 >&5
6579
+ mv -f conftest.er1 conftest.err
6581
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6582
+ test $ac_status = 0; } && {
6583
+ test -z "$ac_c_werror_flag" ||
6584
+ test ! -s conftest.err
6585
+ } && test -s conftest.$ac_objext; then :
6588
+ $as_echo "$as_me: failed program was:" >&5
6589
+sed 's/^/| /' conftest.$ac_ext >&5
6591
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
6592
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
6593
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
6594
-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
6595
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
6596
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
6597
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
6600
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6601
+ as_fn_set_status $ac_retval
6604
+} # ac_fn_c_try_compile
6606
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6607
-for as_dir in $PATH
6610
- test -z "$as_dir" && as_dir=.
6611
- echo "PATH: $as_dir"
6613
+# ac_fn_c_try_link LINENO
6614
+# -----------------------
6615
+# Try to link conftest.$ac_ext, and return whether this succeeded.
6616
+ac_fn_c_try_link ()
6618
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6619
+ rm -f conftest.$ac_objext conftest$ac_exeext
6620
+ if { { ac_try="$ac_link"
6621
+case "(($ac_try" in
6622
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6623
+ *) ac_try_echo=$ac_try;;
6625
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6626
+$as_echo "$ac_try_echo"; } >&5
6627
+ (eval "$ac_link") 2>conftest.err
6629
+ if test -s conftest.err; then
6630
+ grep -v '^ *+' conftest.err >conftest.er1
6631
+ cat conftest.er1 >&5
6632
+ mv -f conftest.er1 conftest.err
6634
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635
+ test $ac_status = 0; } && {
6636
+ test -z "$ac_c_werror_flag" ||
6637
+ test ! -s conftest.err
6638
+ } && test -s conftest$ac_exeext && {
6639
+ test "$cross_compiling" = yes ||
6640
+ $as_test_x conftest$ac_exeext
6644
+ $as_echo "$as_me: failed program was:" >&5
6645
+sed 's/^/| /' conftest.$ac_ext >&5
6650
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
6651
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
6652
+ # interfere with the next link command; also delete a directory that is
6653
+ # left behind by Apple's compiler. We do this before executing the actions.
6654
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
6655
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6656
+ as_fn_set_status $ac_retval
6658
+} # ac_fn_c_try_link
6660
+# ac_fn_c_try_cpp LINENO
6661
+# ----------------------
6662
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
6665
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6666
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
6667
+case "(($ac_try" in
6668
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669
+ *) ac_try_echo=$ac_try;;
6671
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6672
+$as_echo "$ac_try_echo"; } >&5
6673
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
6675
+ if test -s conftest.err; then
6676
+ grep -v '^ *+' conftest.err >conftest.er1
6677
+ cat conftest.er1 >&5
6678
+ mv -f conftest.er1 conftest.err
6680
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6681
+ test $ac_status = 0; } > conftest.i && {
6682
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6683
+ test ! -s conftest.err
6687
+ $as_echo "$as_me: failed program was:" >&5
6688
+sed 's/^/| /' conftest.$ac_ext >&5
6693
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6694
+ as_fn_set_status $ac_retval
6696
+} # ac_fn_c_try_cpp
6701
+# ac_fn_c_try_run LINENO
6702
+# ----------------------
6703
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
6704
+# that executables *can* be run.
6707
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6708
+ if { { ac_try="$ac_link"
6709
+case "(($ac_try" in
6710
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6711
+ *) ac_try_echo=$ac_try;;
6713
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6714
+$as_echo "$ac_try_echo"; } >&5
6715
+ (eval "$ac_link") 2>&5
6717
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6718
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
6719
+ { { case "(($ac_try" in
6720
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6721
+ *) ac_try_echo=$ac_try;;
6723
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6724
+$as_echo "$ac_try_echo"; } >&5
6725
+ (eval "$ac_try") 2>&5
6727
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6728
+ test $ac_status = 0; }; }; then :
6731
+ $as_echo "$as_me: program exited with status $ac_status" >&5
6732
+ $as_echo "$as_me: failed program was:" >&5
6733
+sed 's/^/| /' conftest.$ac_ext >&5
6735
+ ac_retval=$ac_status
6737
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
6738
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6739
+ as_fn_set_status $ac_retval
6741
+} # ac_fn_c_try_run
6743
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
6744
+# -------------------------------------------------------
6745
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
6746
+# the include files in INCLUDES and setting the cache variable VAR
6748
+ac_fn_c_check_header_mongrel ()
6750
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6751
+ if eval "test \"\${$3+set}\"" = set; then :
6752
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
6753
+$as_echo_n "checking for $2... " >&6; }
6754
+if eval "test \"\${$3+set}\"" = set; then :
6755
+ $as_echo_n "(cached) " >&6
6758
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6759
+$as_echo "$ac_res" >&6; }
6761
+ # Is the header compilable?
6762
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
6763
+$as_echo_n "checking $2 usability... " >&6; }
6764
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6765
+/* end confdefs.h. */
6769
+if ac_fn_c_try_compile "$LINENO"; then :
6770
+ ac_header_compiler=yes
6772
+ ac_header_compiler=no
6774
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6775
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
6776
+$as_echo "$ac_header_compiler" >&6; }
6779
-# Keep a trace of the command line.
6780
+# Is the header present?
6781
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
6782
+$as_echo_n "checking $2 presence... " >&6; }
6783
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6784
+/* end confdefs.h. */
6787
+if ac_fn_c_try_cpp "$LINENO"; then :
6788
+ ac_header_preproc=yes
6790
+ ac_header_preproc=no
6792
+rm -f conftest.err conftest.i conftest.$ac_ext
6793
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
6794
+$as_echo "$ac_header_preproc" >&6; }
6796
+# So? What about this header?
6797
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
6799
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
6800
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
6801
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
6802
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
6805
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
6806
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
6807
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
6808
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
6809
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
6810
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
6811
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
6812
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
6813
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
6814
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
6817
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
6818
+$as_echo_n "checking for $2... " >&6; }
6819
+if eval "test \"\${$3+set}\"" = set; then :
6820
+ $as_echo_n "(cached) " >&6
6822
+ eval "$3=\$ac_header_compiler"
6825
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6826
+$as_echo "$ac_res" >&6; }
6828
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6830
+} # ac_fn_c_check_header_mongrel
6832
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
6833
+# -------------------------------------------------------
6834
+# Tests whether HEADER exists and can be compiled using the include files in
6835
+# INCLUDES, setting the cache variable VAR accordingly.
6836
+ac_fn_c_check_header_compile ()
6838
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6839
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
6840
+$as_echo_n "checking for $2... " >&6; }
6841
+if eval "test \"\${$3+set}\"" = set; then :
6842
+ $as_echo_n "(cached) " >&6
6844
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845
+/* end confdefs.h. */
6849
+if ac_fn_c_try_compile "$LINENO"; then :
6854
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6858
+$as_echo "$ac_res" >&6; }
6859
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6861
+} # ac_fn_c_check_header_compile
6863
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
6864
+# -------------------------------------------
6865
+# Tests whether TYPE exists after having included INCLUDES, setting cache
6866
+# variable VAR accordingly.
6867
+ac_fn_c_check_type ()
6869
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6870
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
6871
+$as_echo_n "checking for $2... " >&6; }
6872
+if eval "test \"\${$3+set}\"" = set; then :
6873
+ $as_echo_n "(cached) " >&6
6876
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877
+/* end confdefs.h. */
6888
+if ac_fn_c_try_compile "$LINENO"; then :
6889
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890
+/* end confdefs.h. */
6901
+if ac_fn_c_try_compile "$LINENO"; then :
6906
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6908
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6912
+$as_echo "$ac_res" >&6; }
6913
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6915
+} # ac_fn_c_check_type
6917
+# ac_fn_c_check_func LINENO FUNC VAR
6918
+# ----------------------------------
6919
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
6920
+ac_fn_c_check_func ()
6922
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6923
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
6924
+$as_echo_n "checking for $2... " >&6; }
6925
+if eval "test \"\${$3+set}\"" = set; then :
6926
+ $as_echo_n "(cached) " >&6
6928
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6929
+/* end confdefs.h. */
6930
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
6931
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
6932
+#define $2 innocuous_$2
6934
+/* System header to define __stub macros and hopefully few prototypes,
6935
+ which can conflict with char $2 (); below.
6936
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6937
+ <limits.h> exists even on freestanding compilers. */
6940
+# include <limits.h>
6942
+# include <assert.h>
6947
+/* Override any GCC internal prototype to avoid an error.
6948
+ Use char because int might match the return type of a GCC
6949
+ builtin and then its argument prototype would still apply. */
6954
+/* The GNU C library defines this for functions which it implements
6955
+ to always fail with ENOSYS. Some functions are actually named
6956
+ something starting with __ and the normal name is an alias. */
6957
+#if defined __stub_$2 || defined __stub___$2
6969
+if ac_fn_c_try_link "$LINENO"; then :
6974
+rm -f core conftest.err conftest.$ac_objext \
6975
+ conftest$ac_exeext conftest.$ac_ext
6978
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6979
+$as_echo "$ac_res" >&6; }
6980
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
6982
+} # ac_fn_c_check_func
6983
+cat >config.log <<_ACEOF
6984
+This file contains any messages produced by compilers while
6985
+running configure, to aid debugging if configure makes a mistake.
6987
+It was created by gtkboard $as_me 0.11pre0, which was
6988
+generated by GNU Autoconf 2.67. Invocation command line was
7000
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7001
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
7002
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
7003
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
7004
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
7006
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7007
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
7009
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
7010
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
7011
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7012
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
7013
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
7014
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
7015
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
7019
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020
+for as_dir in $PATH
7023
+ test -z "$as_dir" && as_dir=.
7024
+ $as_echo "PATH: $as_dir"
7040
+# Keep a trace of the command line.
7041
# Strip out --no-create and --no-recursion so they do not pile up.
7042
# Strip out --silent because we don't want to record it for future runs.
7043
# Also quote any args containing shell meta-characters.
7044
@@ -1008,7 +1913,6 @@ _ACEOF
7049
ac_must_keep_next=false
7052
@@ -1019,126 +1923,137 @@ do
7053
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
7054
| -silent | --silent | --silen | --sile | --sil)
7056
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7057
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7059
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7062
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
7063
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
7065
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
7066
+ as_fn_append ac_configure_args1 " '$ac_arg'"
7067
if test $ac_must_keep_next = true; then
7068
- ac_must_keep_next=false # Got value, back to normal.
7069
+ ac_must_keep_next=false # Got value, back to normal.
7072
- *=* | --config-cache | -C | -disable-* | --disable-* \
7073
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7074
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7075
- | -with-* | --with-* | -without-* | --without-* | --x)
7076
- case "$ac_configure_args0 " in
7077
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
7080
- -* ) ac_must_keep_next=true ;;
7083
+ *=* | --config-cache | -C | -disable-* | --disable-* \
7084
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7085
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7086
+ | -with-* | --with-* | -without-* | --without-* | --x)
7087
+ case "$ac_configure_args0 " in
7088
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
7091
+ -* ) ac_must_keep_next=true ;;
7094
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7095
- # Get rid of the leading space.
7097
+ as_fn_append ac_configure_args " '$ac_arg'"
7102
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
7103
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
7104
+{ ac_configure_args0=; unset ac_configure_args0;}
7105
+{ ac_configure_args1=; unset ac_configure_args1;}
7107
# When interrupted or exit'd, cleanup temporary files, and complete
7108
# config.log. We remove comments because anyway the quotes in there
7109
# would cause problems or look ugly.
7110
-# WARNING: Be sure not to use single quotes in there, as some shells,
7111
-# such as our DU 5.0 friend, will then `close' the trap.
7112
+# WARNING: Use '\'' to represent an apostrophe within the trap.
7113
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
7114
trap 'exit_status=$?
7115
# Save into config.log some information that might help in debugging.
7120
-## ---------------- ##
7121
+ $as_echo "## ---------------- ##
7122
## Cache variables. ##
7123
-## ---------------- ##
7125
+## ---------------- ##"
7127
# The following way of writing the cache mishandles newlines in values,
7130
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
7131
+ eval ac_val=\$$ac_var
7132
+ case $ac_val in #(
7134
+ case $ac_var in #(
7135
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7136
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7138
+ case $ac_var in #(
7139
+ _ | IFS | as_nl) ;; #(
7140
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7141
+ *) { eval $ac_var=; unset $ac_var;} ;;
7146
- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
7148
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
7149
+ *${as_nl}ac_space=\ *)
7151
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
7152
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
7154
+ "s/'\''/'\''\\\\'\'''\''/g;
7155
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
7159
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7160
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7170
-## ----------------- ##
7171
+ $as_echo "## ----------------- ##
7172
## Output variables. ##
7173
-## ----------------- ##
7175
+## ----------------- ##"
7177
for ac_var in $ac_subst_vars
7179
- eval ac_val=$`echo $ac_var`
7180
- echo "$ac_var='"'"'$ac_val'"'"'"
7181
+ eval ac_val=\$$ac_var
7183
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7185
+ $as_echo "$ac_var='\''$ac_val'\''"
7189
if test -n "$ac_subst_files"; then
7191
-## ------------- ##
7192
-## Output files. ##
7193
-## ------------- ##
7195
+ $as_echo "## ------------------- ##
7196
+## File substitutions. ##
7197
+## ------------------- ##"
7199
for ac_var in $ac_subst_files
7201
- eval ac_val=$`echo $ac_var`
7202
- echo "$ac_var='"'"'$ac_val'"'"'"
7203
+ eval ac_val=\$$ac_var
7205
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7207
+ $as_echo "$ac_var='\''$ac_val'\''"
7212
if test -s confdefs.h; then
7215
+ $as_echo "## ----------- ##
7221
- sed "/^$/d" confdefs.h | sort
7225
test "$ac_signal" != 0 &&
7226
- echo "$as_me: caught signal $ac_signal"
7227
- echo "$as_me: exit $exit_status"
7228
+ $as_echo "$as_me: caught signal $ac_signal"
7229
+ $as_echo "$as_me: exit $exit_status"
7231
- rm -f core core.* *.core &&
7232
- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
7233
+ rm -f core *.core core.conftest.* &&
7234
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
7238
for ac_signal in 1 2 13 15; do
7239
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
7240
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
7244
# confdefs.h avoids OS command line length limits that DEFS can exceed.
7245
-rm -rf conftest* confdefs.h
7246
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
7248
+rm -f -r conftest* confdefs.h
7250
+$as_echo "/* confdefs.h */" > confdefs.h
7252
# Predefined preprocessor variables.
7254
@@ -1146,112 +2061,137 @@ cat >>confdefs.h <<_ACEOF
7255
#define PACKAGE_NAME "$PACKAGE_NAME"
7259
cat >>confdefs.h <<_ACEOF
7260
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
7264
cat >>confdefs.h <<_ACEOF
7265
#define PACKAGE_VERSION "$PACKAGE_VERSION"
7269
cat >>confdefs.h <<_ACEOF
7270
#define PACKAGE_STRING "$PACKAGE_STRING"
7274
cat >>confdefs.h <<_ACEOF
7275
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
7278
+cat >>confdefs.h <<_ACEOF
7279
+#define PACKAGE_URL "$PACKAGE_URL"
7283
# Let the site file select an alternate cache file if it wants to.
7284
-# Prefer explicitly selected file to automatically selected ones.
7285
-if test -z "$CONFIG_SITE"; then
7286
- if test "x$prefix" != xNONE; then
7287
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
7289
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
7291
+# Prefer an explicitly selected file to automatically selected ones.
7294
+if test -n "$CONFIG_SITE"; then
7295
+ # We do not want a PATH search for config.site.
7296
+ case $CONFIG_SITE in #((
7297
+ -*) ac_site_file1=./$CONFIG_SITE;;
7298
+ */*) ac_site_file1=$CONFIG_SITE;;
7299
+ *) ac_site_file1=./$CONFIG_SITE;;
7301
+elif test "x$prefix" != xNONE; then
7302
+ ac_site_file1=$prefix/share/config.site
7303
+ ac_site_file2=$prefix/etc/config.site
7305
+ ac_site_file1=$ac_default_prefix/share/config.site
7306
+ ac_site_file2=$ac_default_prefix/etc/config.site
7308
-for ac_site_file in $CONFIG_SITE; do
7309
- if test -r "$ac_site_file"; then
7310
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
7311
-echo "$as_me: loading site script $ac_site_file" >&6;}
7312
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
7314
+ test "x$ac_site_file" = xNONE && continue
7315
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
7316
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
7317
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
7318
sed 's/^/| /' "$ac_site_file" >&5
7320
+ . "$ac_site_file" \
7321
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7322
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7323
+as_fn_error $? "failed to load site script $ac_site_file
7324
+See \`config.log' for more details" "$LINENO" 5 ; }
7328
if test -r "$cache_file"; then
7329
- # Some versions of bash will fail to source /dev/null (special
7330
- # files actually), so we avoid doing that.
7331
- if test -f "$cache_file"; then
7332
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
7333
-echo "$as_me: loading cache $cache_file" >&6;}
7334
+ # Some versions of bash will fail to source /dev/null (special files
7335
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
7336
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
7337
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
7338
+$as_echo "$as_me: loading cache $cache_file" >&6;}
7340
- [\\/]* | ?:[\\/]* ) . $cache_file;;
7341
- *) . ./$cache_file;;
7342
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
7343
+ *) . "./$cache_file";;
7347
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
7348
-echo "$as_me: creating cache $cache_file" >&6;}
7349
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
7350
+$as_echo "$as_me: creating cache $cache_file" >&6;}
7354
# Check that the precious variables saved in the cache have kept the same
7356
ac_cache_corrupted=false
7357
-for ac_var in `(set) 2>&1 |
7358
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
7359
+for ac_var in $ac_precious_vars; do
7360
eval ac_old_set=\$ac_cv_env_${ac_var}_set
7361
eval ac_new_set=\$ac_env_${ac_var}_set
7362
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
7363
- eval ac_new_val="\$ac_env_${ac_var}_value"
7364
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
7365
+ eval ac_new_val=\$ac_env_${ac_var}_value
7366
case $ac_old_set,$ac_new_set in
7368
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
7369
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
7370
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
7371
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
7372
ac_cache_corrupted=: ;;
7374
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
7375
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
7376
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
7377
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
7378
ac_cache_corrupted=: ;;
7381
if test "x$ac_old_val" != "x$ac_new_val"; then
7382
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
7383
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
7384
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
7385
-echo "$as_me: former value: $ac_old_val" >&2;}
7386
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
7387
-echo "$as_me: current value: $ac_new_val" >&2;}
7388
- ac_cache_corrupted=:
7389
+ # differences in whitespace do not lead to failure.
7390
+ ac_old_val_w=`echo x $ac_old_val`
7391
+ ac_new_val_w=`echo x $ac_new_val`
7392
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
7393
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
7394
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
7395
+ ac_cache_corrupted=:
7397
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
7398
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
7399
+ eval $ac_var=\$ac_old_val
7401
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
7402
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
7403
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
7404
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
7407
# Pass precious variables to config.status.
7408
if test "$ac_new_set" = set; then
7410
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7411
- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
7412
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
7413
*) ac_arg=$ac_var=$ac_new_val ;;
7415
case " $ac_configure_args " in
7416
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
7417
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
7418
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
7422
if $ac_cache_corrupted; then
7423
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
7424
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
7425
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
7426
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
7427
- { (exit 1); exit 1; }; }
7429
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7430
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7431
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
7432
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
7433
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
7435
+## -------------------- ##
7436
+## Main body of script. ##
7437
+## -------------------- ##
7440
ac_cpp='$CPP $CPPFLAGS'
7441
@@ -1261,122 +2201,140 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
7460
+ac_config_headers="$ac_config_headers config.h"
7464
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
7465
- if test -f $ac_dir/install-sh; then
7466
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
7467
+ if test -f "$ac_dir/install-sh"; then
7469
ac_install_sh="$ac_aux_dir/install-sh -c"
7471
- elif test -f $ac_dir/install.sh; then
7472
+ elif test -f "$ac_dir/install.sh"; then
7474
ac_install_sh="$ac_aux_dir/install.sh -c"
7476
- elif test -f $ac_dir/shtool; then
7477
+ elif test -f "$ac_dir/shtool"; then
7479
ac_install_sh="$ac_aux_dir/shtool install -c"
7483
if test -z "$ac_aux_dir"; then
7484
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
7485
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
7486
- { (exit 1); exit 1; }; }
7488
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
7489
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
7490
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
7491
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
7494
+# These three variables are undocumented and unsupported,
7495
+# and are intended to be withdrawn in a future Autoconf release.
7496
+# They can cause serious problems if a builder's source tree is in a directory
7497
+# whose full name contains unusual characters.
7498
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
7499
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
7500
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
7503
# Make sure we can run config.sub.
7504
-$ac_config_sub sun4 >/dev/null 2>&1 ||
7505
- { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7506
-echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7507
- { (exit 1); exit 1; }; }
7509
-echo "$as_me:$LINENO: checking build system type" >&5
7510
-echo $ECHO_N "checking build system type... $ECHO_C" >&6
7511
-if test "${ac_cv_build+set}" = set; then
7512
- echo $ECHO_N "(cached) $ECHO_C" >&6
7514
- ac_cv_build_alias=$build_alias
7515
-test -z "$ac_cv_build_alias" &&
7516
- ac_cv_build_alias=`$ac_config_guess`
7517
-test -z "$ac_cv_build_alias" &&
7518
- { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7519
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7520
- { (exit 1); exit 1; }; }
7521
-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
7522
- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7523
-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7524
- { (exit 1); exit 1; }; }
7525
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7526
+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
7529
-echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7530
-echo "${ECHO_T}$ac_cv_build" >&6
7531
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7532
+$as_echo_n "checking build system type... " >&6; }
7533
+if test "${ac_cv_build+set}" = set; then :
7534
+ $as_echo_n "(cached) " >&6
7536
+ ac_build_alias=$build_alias
7537
+test "x$ac_build_alias" = x &&
7538
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7539
+test "x$ac_build_alias" = x &&
7540
+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
7541
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7542
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
7545
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7546
+$as_echo "$ac_cv_build" >&6; }
7547
+case $ac_cv_build in
7549
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
7552
-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7553
-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7554
-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7557
-echo "$as_me:$LINENO: checking host system type" >&5
7558
-echo $ECHO_N "checking host system type... $ECHO_C" >&6
7559
-if test "${ac_cv_host+set}" = set; then
7560
- echo $ECHO_N "(cached) $ECHO_C" >&6
7562
- ac_cv_host_alias=$host_alias
7563
-test -z "$ac_cv_host_alias" &&
7564
- ac_cv_host_alias=$ac_cv_build_alias
7565
-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
7566
- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7567
-echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7568
- { (exit 1); exit 1; }; }
7569
+ac_save_IFS=$IFS; IFS='-'
7575
+# Remember, the first character of IFS is used to create $*,
7576
+# except with old shells:
7579
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7582
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7583
+$as_echo_n "checking host system type... " >&6; }
7584
+if test "${ac_cv_host+set}" = set; then :
7585
+ $as_echo_n "(cached) " >&6
7587
+ if test "x$host_alias" = x; then
7588
+ ac_cv_host=$ac_cv_build
7590
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7591
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
7595
-echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7596
-echo "${ECHO_T}$ac_cv_host" >&6
7597
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7598
+$as_echo "$ac_cv_host" >&6; }
7599
+case $ac_cv_host in
7601
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
7604
-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7605
-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7606
-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7609
-echo "$as_me:$LINENO: checking target system type" >&5
7610
-echo $ECHO_N "checking target system type... $ECHO_C" >&6
7611
-if test "${ac_cv_target+set}" = set; then
7612
- echo $ECHO_N "(cached) $ECHO_C" >&6
7614
- ac_cv_target_alias=$target_alias
7615
-test "x$ac_cv_target_alias" = "x" &&
7616
- ac_cv_target_alias=$ac_cv_host_alias
7617
-ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
7618
- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
7619
-echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
7620
- { (exit 1); exit 1; }; }
7621
+ac_save_IFS=$IFS; IFS='-'
7627
+# Remember, the first character of IFS is used to create $*,
7628
+# except with old shells:
7631
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7634
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
7635
+$as_echo_n "checking target system type... " >&6; }
7636
+if test "${ac_cv_target+set}" = set; then :
7637
+ $as_echo_n "(cached) " >&6
7639
+ if test "x$target_alias" = x; then
7640
+ ac_cv_target=$ac_cv_host
7642
+ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
7643
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
7647
-echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7648
-echo "${ECHO_T}$ac_cv_target" >&6
7649
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
7650
+$as_echo "$ac_cv_target" >&6; }
7651
+case $ac_cv_target in
7653
+*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
7655
target=$ac_cv_target
7656
-target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7657
-target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7658
-target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7659
+ac_save_IFS=$IFS; IFS='-'
7660
+set x $ac_cv_target
7665
+# Remember, the first character of IFS is used to create $*,
7666
+# except with old shells:
7669
+case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
7672
# The aliases save the names the user supplied, while $host etc.
7673
@@ -1386,13 +2344,8 @@ test -n "$target_alias" &&
7675
program_prefix=${target_alias}-
7677
-# Add the stamp file to the list of files AC keeps track of,
7678
-# along with our hook.
7679
- ac_config_headers="$ac_config_headers config.h"
7680
+am__api_version='1.11'
7684
-am__api_version="1.6"
7685
# Find a good install program. We prefer a C program (faster),
7686
# so one script is as good as another. But avoid the broken or
7687
# incompatible versions:
7688
@@ -1404,22 +2357,25 @@ am__api_version="1.6"
7689
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7690
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
7691
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7692
+# OS/2's system install, which has a completely different semantic
7693
# ./install, which can be erroneously created by make from ./install.sh.
7694
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7695
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7696
+# Reject install programs that cannot install multiple files.
7697
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
7698
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
7699
if test -z "$INSTALL"; then
7700
-if test "${ac_cv_path_install+set}" = set; then
7701
- echo $ECHO_N "(cached) $ECHO_C" >&6
7702
+if test "${ac_cv_path_install+set}" = set; then :
7703
+ $as_echo_n "(cached) " >&6
7705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7709
test -z "$as_dir" && as_dir=.
7710
- # Account for people who put trailing slashes in PATH elements.
7712
- ./ | .// | /cC/* | \
7713
+ # Account for people who put trailing slashes in PATH elements.
7714
+case $as_dir/ in #((
7715
+ ./ | .// | /[cC]/* | \
7716
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7717
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
7720
# OSF1 and SCO ODT 3.0 have their own names for install.
7721
@@ -1427,40 +2383,53 @@ case $as_dir/ in
7723
for ac_prog in ginstall scoinst install; do
7724
for ac_exec_ext in '' $ac_executable_extensions; do
7725
- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7726
- if test $ac_prog = install &&
7727
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7728
- # AIX install. It has an incompatible calling convention.
7730
- elif test $ac_prog = install &&
7731
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7732
- # program-specific install script used by HP pwplus--don't use.
7735
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7739
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
7740
+ if test $ac_prog = install &&
7741
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7742
+ # AIX install. It has an incompatible calling convention.
7744
+ elif test $ac_prog = install &&
7745
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7746
+ # program-specific install script used by HP pwplus--don't use.
7749
+ rm -rf conftest.one conftest.two conftest.dir
7750
+ echo one > conftest.one
7751
+ echo two > conftest.two
7752
+ mkdir conftest.dir
7753
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
7754
+ test -s conftest.one && test -s conftest.two &&
7755
+ test -s conftest.dir/conftest.one &&
7756
+ test -s conftest.dir/conftest.two
7758
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7772
+rm -rf conftest.one conftest.two conftest.dir
7775
if test "${ac_cv_path_install+set}" = set; then
7776
INSTALL=$ac_cv_path_install
7778
- # As a last resort, use the slow shell script. We don't cache a
7779
- # path for INSTALL within a source directory, because that will
7780
+ # As a last resort, use the slow shell script. Don't cache a
7781
+ # value for INSTALL within a source directory, because that will
7782
# break other packages using the cache if that directory is
7783
- # removed, or if the path is relative.
7784
+ # removed, or if the value is a relative name.
7785
INSTALL=$ac_install_sh
7788
-echo "$as_me:$LINENO: result: $INSTALL" >&5
7789
-echo "${ECHO_T}$INSTALL" >&6
7790
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
7791
+$as_echo "$INSTALL" >&6; }
7793
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7794
# It thinks the first close brace ends the variable substitution.
7795
@@ -1470,21 +2439,34 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
7797
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7799
-echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7800
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
7801
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
7802
+$as_echo_n "checking whether build environment is sane... " >&6; }
7805
echo timestamp > conftest.file
7806
+# Reject unsafe characters in $srcdir or the absolute working directory
7807
+# name. Accept space and tab only in the latter.
7811
+ *[\\\"\#\$\&\'\`$am_lf]*)
7812
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
7815
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
7816
+ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
7819
# Do `set' in a subshell so we don't clobber the current shell's
7820
# arguments. Must try -L first in case configure is actually a
7821
# symlink; some systems play weird games with the mod time of symlinks
7822
# (eg FreeBSD returns the mod time of the symlink's containing
7825
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
7826
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
7827
if test "$*" = "X"; then
7829
- set X `ls -t $srcdir/configure conftest.file`
7830
+ set X `ls -t "$srcdir/configure" conftest.file`
7833
if test "$*" != "X $srcdir/configure conftest.file" \
7834
@@ -1494,11 +2476,8 @@ if (
7835
# if, for instance, CONFIG_SHELL is bash and it inherits a
7836
# broken ls alias from the environment. This has actually
7837
# happened. Such a system could not be considered "sane".
7838
- { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
7839
-alias in your environment" >&5
7840
-echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
7841
-alias in your environment" >&2;}
7842
- { (exit 1); exit 1; }; }
7843
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
7844
+alias in your environment" "$LINENO" 5
7847
test "$2" = conftest.file
7848
@@ -1507,118 +2486,300 @@ then
7852
- { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
7853
-Check your system clock" >&5
7854
-echo "$as_me: error: newly created file is older than distributed files!
7855
-Check your system clock" >&2;}
7856
- { (exit 1); exit 1; }; }
7857
+ as_fn_error $? "newly created file is older than distributed files!
7858
+Check your system clock" "$LINENO" 5
7860
-echo "$as_me:$LINENO: result: yes" >&5
7861
-echo "${ECHO_T}yes" >&6
7862
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7863
+$as_echo "yes" >&6; }
7864
test "$program_prefix" != NONE &&
7865
- program_transform_name="s,^,$program_prefix,;$program_transform_name"
7866
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
7867
# Use a double $ so make ignores it.
7868
test "$program_suffix" != NONE &&
7869
- program_transform_name="s,\$,$program_suffix,;$program_transform_name"
7870
-# Double any \ or $. echo might interpret backslashes.
7871
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
7872
+# Double any \ or $.
7873
# By default was `s,x,x', remove it if useless.
7874
-cat <<\_ACEOF >conftest.sed
7875
-s/[\\$]/&&/g;s/;s,x,x,$//
7877
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
7880
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
7881
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
7883
# expand $ac_aux_dir to an absolute path
7884
am_aux_dir=`cd $ac_aux_dir && pwd`
7886
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7887
+if test x"${MISSING+set}" != xset; then
7888
+ case $am_aux_dir in
7890
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
7892
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
7895
# Use eval to expand $SHELL
7896
if eval "$MISSING --run true"; then
7897
am_missing_run="$MISSING --run "
7900
- { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
7901
-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
7902
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
7903
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
7906
-for ac_prog in gawk mawk nawk awk
7908
- # Extract the first word of "$ac_prog", so it can be a program name with args.
7909
-set dummy $ac_prog; ac_word=$2
7910
-echo "$as_me:$LINENO: checking for $ac_word" >&5
7911
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7912
-if test "${ac_cv_prog_AWK+set}" = set; then
7913
- echo $ECHO_N "(cached) $ECHO_C" >&6
7914
+if test x"${install_sh}" != xset; then
7915
+ case $am_aux_dir in
7917
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
7919
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
7923
+# Installed binaries are usually stripped using `strip' when the user
7924
+# run `make install-strip'. However `strip' might not be the right
7925
+# tool to use in cross-compilation environments, therefore Automake
7926
+# will honor the `STRIP' environment variable to overrule this program.
7927
+if test "$cross_compiling" != no; then
7928
+ if test -n "$ac_tool_prefix"; then
7929
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7930
+set dummy ${ac_tool_prefix}strip; ac_word=$2
7931
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932
+$as_echo_n "checking for $ac_word... " >&6; }
7933
+if test "${ac_cv_prog_STRIP+set}" = set; then :
7934
+ $as_echo_n "(cached) " >&6
7936
- if test -n "$AWK"; then
7937
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
7938
+ if test -n "$STRIP"; then
7939
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945
test -z "$as_dir" && as_dir=.
7946
- for ac_exec_ext in '' $ac_executable_extensions; do
7947
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7948
- ac_cv_prog_AWK="$ac_prog"
7949
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7950
+ for ac_exec_ext in '' $ac_executable_extensions; do
7951
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7952
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7953
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7963
-AWK=$ac_cv_prog_AWK
7964
-if test -n "$AWK"; then
7965
- echo "$as_me:$LINENO: result: $AWK" >&5
7966
-echo "${ECHO_T}$AWK" >&6
7967
+STRIP=$ac_cv_prog_STRIP
7968
+if test -n "$STRIP"; then
7969
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7970
+$as_echo "$STRIP" >&6; }
7972
- echo "$as_me:$LINENO: result: no" >&5
7973
-echo "${ECHO_T}no" >&6
7974
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7975
+$as_echo "no" >&6; }
7978
- test -n "$AWK" && break
7981
-echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7982
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7983
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
7984
-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7985
- echo $ECHO_N "(cached) $ECHO_C" >&6
7987
+if test -z "$ac_cv_prog_STRIP"; then
7988
+ ac_ct_STRIP=$STRIP
7989
+ # Extract the first word of "strip", so it can be a program name with args.
7990
+set dummy strip; ac_word=$2
7991
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7992
+$as_echo_n "checking for $ac_word... " >&6; }
7993
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7994
+ $as_echo_n "(cached) " >&6
7996
- cat >conftest.make <<\_ACEOF
7998
- @echo 'ac_maketemp="$(MAKE)"'
8000
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8001
-eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8002
-if test -n "$ac_maketemp"; then
8003
- eval ac_cv_prog_make_${ac_make}_set=yes
8004
+ if test -n "$ac_ct_STRIP"; then
8005
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8007
- eval ac_cv_prog_make_${ac_make}_set=no
8008
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009
+for as_dir in $PATH
8012
+ test -z "$as_dir" && as_dir=.
8013
+ for ac_exec_ext in '' $ac_executable_extensions; do
8014
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8015
+ ac_cv_prog_ac_ct_STRIP="strip"
8016
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8026
+if test -n "$ac_ct_STRIP"; then
8027
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8028
+$as_echo "$ac_ct_STRIP" >&6; }
8030
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031
+$as_echo "no" >&6; }
8034
+ if test "x$ac_ct_STRIP" = x; then
8037
+ case $cross_compiling:$ac_tool_warned in
8039
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8040
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8041
+ac_tool_warned=yes ;;
8043
+ STRIP=$ac_ct_STRIP
8046
+ STRIP="$ac_cv_prog_STRIP"
8050
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8052
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
8053
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
8054
+if test -z "$MKDIR_P"; then
8055
+ if test "${ac_cv_path_mkdir+set}" = set; then :
8056
+ $as_echo_n "(cached) " >&6
8058
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
8062
+ test -z "$as_dir" && as_dir=.
8063
+ for ac_prog in mkdir gmkdir; do
8064
+ for ac_exec_ext in '' $ac_executable_extensions; do
8065
+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
8066
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
8067
+ 'mkdir (GNU coreutils) '* | \
8068
+ 'mkdir (coreutils) '* | \
8069
+ 'mkdir (fileutils) '4.1*)
8070
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
8080
+ test -d ./--version && rmdir ./--version
8081
+ if test "${ac_cv_path_mkdir+set}" = set; then
8082
+ MKDIR_P="$ac_cv_path_mkdir -p"
8084
+ # As a last resort, use the slow shell script. Don't cache a
8085
+ # value for MKDIR_P within a source directory, because that will
8086
+ # break other packages using the cache if that directory is
8087
+ # removed, or if the value is a relative name.
8088
+ MKDIR_P="$ac_install_sh -d"
8091
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
8092
+$as_echo "$MKDIR_P" >&6; }
8096
+ [\\/$]* | ?:[\\/]*) ;;
8097
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
8100
+for ac_prog in gawk mawk nawk awk
8102
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
8103
+set dummy $ac_prog; ac_word=$2
8104
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8105
+$as_echo_n "checking for $ac_word... " >&6; }
8106
+if test "${ac_cv_prog_AWK+set}" = set; then :
8107
+ $as_echo_n "(cached) " >&6
8109
+ if test -n "$AWK"; then
8110
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
8112
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113
+for as_dir in $PATH
8116
+ test -z "$as_dir" && as_dir=.
8117
+ for ac_exec_ext in '' $ac_executable_extensions; do
8118
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8119
+ ac_cv_prog_AWK="$ac_prog"
8120
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8129
+AWK=$ac_cv_prog_AWK
8130
+if test -n "$AWK"; then
8131
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
8132
+$as_echo "$AWK" >&6; }
8134
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135
+$as_echo "no" >&6; }
8139
+ test -n "$AWK" && break
8142
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8143
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8145
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8146
+if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
8147
+ $as_echo_n "(cached) " >&6
8149
+ cat >conftest.make <<\_ACEOF
8152
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
8154
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8155
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
8156
+ *@@@%%%=?*=@@@%%%*)
8157
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
8159
+ eval ac_cv_prog_make_${ac_make}_set=no;;
8163
-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8164
- echo "$as_me:$LINENO: result: yes" >&5
8165
-echo "${ECHO_T}yes" >&6
8166
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
8167
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8168
+$as_echo "yes" >&6; }
8171
- echo "$as_me:$LINENO: result: no" >&5
8172
-echo "${ECHO_T}no" >&6
8173
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8174
+$as_echo "no" >&6; }
8175
SET_MAKE="MAKE=${MAKE-make}"
8178
- # test to see if srcdir already configured
8179
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
8180
- test -f $srcdir/config.status; then
8181
- { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
8182
-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
8183
- { (exit 1); exit 1; }; }
8184
+rm -rf .tst 2>/dev/null
8185
+mkdir .tst 2>/dev/null
8186
+if test -d .tst; then
8191
+rmdir .tst 2>/dev/null
8193
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
8194
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8195
+ # is not polluted with repeated "-I."
8196
+ am__isrc=' -I$(srcdir)'
8197
+ # test to see if srcdir already configured
8198
+ if test -f $srcdir/config.status; then
8199
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8203
+# test whether we have cygpath
8204
+if test -z "$CYGPATH_W"; then
8205
+ if (cygpath --version) >/dev/null 2>/dev/null; then
8206
+ CYGPATH_W='cygpath -w'
8213
# Define the identity of the package.
8216
@@ -1649,104 +2810,20 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_ru
8218
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
8220
+# We need awk for the "check" target. The system "awk" is bad on
8222
+# Always define AMTAR for backward compatibility.
8224
AMTAR=${AMTAR-"${am_missing_run}tar"}
8226
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
8228
-# Installed binaries are usually stripped using `strip' when the user
8229
-# run `make install-strip'. However `strip' might not be the right
8230
-# tool to use in cross-compilation environments, therefore Automake
8231
-# will honor the `STRIP' environment variable to overrule this program.
8232
-if test "$cross_compiling" != no; then
8233
- if test -n "$ac_tool_prefix"; then
8234
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8235
-set dummy ${ac_tool_prefix}strip; ac_word=$2
8236
-echo "$as_me:$LINENO: checking for $ac_word" >&5
8237
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8238
-if test "${ac_cv_prog_STRIP+set}" = set; then
8239
- echo $ECHO_N "(cached) $ECHO_C" >&6
8241
- if test -n "$STRIP"; then
8242
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8244
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8245
-for as_dir in $PATH
8248
- test -z "$as_dir" && as_dir=.
8249
- for ac_exec_ext in '' $ac_executable_extensions; do
8250
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8251
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8252
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8260
-STRIP=$ac_cv_prog_STRIP
8261
-if test -n "$STRIP"; then
8262
- echo "$as_me:$LINENO: result: $STRIP" >&5
8263
-echo "${ECHO_T}$STRIP" >&6
8265
- echo "$as_me:$LINENO: result: no" >&5
8266
-echo "${ECHO_T}no" >&6
8270
-if test -z "$ac_cv_prog_STRIP"; then
8271
- ac_ct_STRIP=$STRIP
8272
- # Extract the first word of "strip", so it can be a program name with args.
8273
-set dummy strip; ac_word=$2
8274
-echo "$as_me:$LINENO: checking for $ac_word" >&5
8275
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8276
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8277
- echo $ECHO_N "(cached) $ECHO_C" >&6
8279
- if test -n "$ac_ct_STRIP"; then
8280
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8282
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283
-for as_dir in $PATH
8286
- test -z "$as_dir" && as_dir=.
8287
- for ac_exec_ext in '' $ac_executable_extensions; do
8288
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8289
- ac_cv_prog_ac_ct_STRIP="strip"
8290
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8296
- test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8299
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8300
-if test -n "$ac_ct_STRIP"; then
8301
- echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8302
-echo "${ECHO_T}$ac_ct_STRIP" >&6
8304
- echo "$as_me:$LINENO: result: no" >&5
8305
-echo "${ECHO_T}no" >&6
8307
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
8309
- STRIP=$ac_ct_STRIP
8311
- STRIP="$ac_cv_prog_STRIP"
8315
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
8317
-# We need awk for the "check" target. The system "awk" is bad on
8322
+# Checks for programs.
8324
ac_cpp='$CPP $CPPFLAGS'
8325
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8326
@@ -1755,10 +2832,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
8327
if test -n "$ac_tool_prefix"; then
8328
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8329
set dummy ${ac_tool_prefix}gcc; ac_word=$2
8330
-echo "$as_me:$LINENO: checking for $ac_word" >&5
8331
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8332
-if test "${ac_cv_prog_CC+set}" = set; then
8333
- echo $ECHO_N "(cached) $ECHO_C" >&6
8334
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8335
+$as_echo_n "checking for $ac_word... " >&6; }
8336
+if test "${ac_cv_prog_CC+set}" = set; then :
8337
+ $as_echo_n "(cached) " >&6
8339
if test -n "$CC"; then
8340
ac_cv_prog_CC="$CC" # Let the user override the test.
8341
@@ -1768,35 +2845,37 @@ for as_dir in $PATH
8344
test -z "$as_dir" && as_dir=.
8345
- for ac_exec_ext in '' $ac_executable_extensions; do
8346
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8347
+ for ac_exec_ext in '' $ac_executable_extensions; do
8348
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8349
ac_cv_prog_CC="${ac_tool_prefix}gcc"
8350
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8351
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8362
if test -n "$CC"; then
8363
- echo "$as_me:$LINENO: result: $CC" >&5
8364
-echo "${ECHO_T}$CC" >&6
8365
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8366
+$as_echo "$CC" >&6; }
8368
- echo "$as_me:$LINENO: result: no" >&5
8369
-echo "${ECHO_T}no" >&6
8370
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371
+$as_echo "no" >&6; }
8376
if test -z "$ac_cv_prog_CC"; then
8378
# Extract the first word of "gcc", so it can be a program name with args.
8379
set dummy gcc; ac_word=$2
8380
-echo "$as_me:$LINENO: checking for $ac_word" >&5
8381
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8382
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8383
- echo $ECHO_N "(cached) $ECHO_C" >&6
8384
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8385
+$as_echo_n "checking for $ac_word... " >&6; }
8386
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
8387
+ $as_echo_n "(cached) " >&6
8389
if test -n "$ac_ct_CC"; then
8390
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8391
@@ -1806,39 +2885,50 @@ for as_dir in $PATH
8394
test -z "$as_dir" && as_dir=.
8395
- for ac_exec_ext in '' $ac_executable_extensions; do
8396
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8397
+ for ac_exec_ext in '' $ac_executable_extensions; do
8398
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8399
ac_cv_prog_ac_ct_CC="gcc"
8400
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8401
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8411
ac_ct_CC=$ac_cv_prog_ac_ct_CC
8412
if test -n "$ac_ct_CC"; then
8413
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8414
-echo "${ECHO_T}$ac_ct_CC" >&6
8415
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
8416
+$as_echo "$ac_ct_CC" >&6; }
8418
- echo "$as_me:$LINENO: result: no" >&5
8419
-echo "${ECHO_T}no" >&6
8420
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8421
+$as_echo "no" >&6; }
8425
+ if test "x$ac_ct_CC" = x; then
8428
+ case $cross_compiling:$ac_tool_warned in
8430
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8431
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8432
+ac_tool_warned=yes ;;
8440
if test -z "$CC"; then
8441
- if test -n "$ac_tool_prefix"; then
8442
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8443
+ if test -n "$ac_tool_prefix"; then
8444
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8445
set dummy ${ac_tool_prefix}cc; ac_word=$2
8446
-echo "$as_me:$LINENO: checking for $ac_word" >&5
8447
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8448
-if test "${ac_cv_prog_CC+set}" = set; then
8449
- echo $ECHO_N "(cached) $ECHO_C" >&6
8450
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8451
+$as_echo_n "checking for $ac_word... " >&6; }
8452
+if test "${ac_cv_prog_CC+set}" = set; then :
8453
+ $as_echo_n "(cached) " >&6
8455
if test -n "$CC"; then
8456
ac_cv_prog_CC="$CC" # Let the user override the test.
8457
@@ -1848,77 +2938,37 @@ for as_dir in $PATH
8460
test -z "$as_dir" && as_dir=.
8461
- for ac_exec_ext in '' $ac_executable_extensions; do
8462
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8463
+ for ac_exec_ext in '' $ac_executable_extensions; do
8464
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8465
ac_cv_prog_CC="${ac_tool_prefix}cc"
8466
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8467
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8478
if test -n "$CC"; then
8479
- echo "$as_me:$LINENO: result: $CC" >&5
8480
-echo "${ECHO_T}$CC" >&6
8482
- echo "$as_me:$LINENO: result: no" >&5
8483
-echo "${ECHO_T}no" >&6
8487
-if test -z "$ac_cv_prog_CC"; then
8489
- # Extract the first word of "cc", so it can be a program name with args.
8490
-set dummy cc; ac_word=$2
8491
-echo "$as_me:$LINENO: checking for $ac_word" >&5
8492
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8493
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8494
- echo $ECHO_N "(cached) $ECHO_C" >&6
8496
- if test -n "$ac_ct_CC"; then
8497
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8499
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500
-for as_dir in $PATH
8503
- test -z "$as_dir" && as_dir=.
8504
- for ac_exec_ext in '' $ac_executable_extensions; do
8505
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8506
- ac_cv_prog_ac_ct_CC="cc"
8507
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8515
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
8516
-if test -n "$ac_ct_CC"; then
8517
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8518
-echo "${ECHO_T}$ac_ct_CC" >&6
8519
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8520
+$as_echo "$CC" >&6; }
8522
- echo "$as_me:$LINENO: result: no" >&5
8523
-echo "${ECHO_T}no" >&6
8524
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8525
+$as_echo "no" >&6; }
8530
- CC="$ac_cv_prog_CC"
8535
if test -z "$CC"; then
8536
# Extract the first word of "cc", so it can be a program name with args.
8537
set dummy cc; ac_word=$2
8538
-echo "$as_me:$LINENO: checking for $ac_word" >&5
8539
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8540
-if test "${ac_cv_prog_CC+set}" = set; then
8541
- echo $ECHO_N "(cached) $ECHO_C" >&6
8542
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8543
+$as_echo_n "checking for $ac_word... " >&6; }
8544
+if test "${ac_cv_prog_CC+set}" = set; then :
8545
+ $as_echo_n "(cached) " >&6
8547
if test -n "$CC"; then
8548
ac_cv_prog_CC="$CC" # Let the user override the test.
8549
@@ -1929,18 +2979,19 @@ for as_dir in $PATH
8552
test -z "$as_dir" && as_dir=.
8553
- for ac_exec_ext in '' $ac_executable_extensions; do
8554
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8555
+ for ac_exec_ext in '' $ac_executable_extensions; do
8556
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8557
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
8558
ac_prog_rejected=yes
8562
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8563
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8571
if test $ac_prog_rejected = yes; then
8572
# We found a bogon in the path, so make sure we never use it.
8573
@@ -1958,24 +3009,25 @@ fi
8576
if test -n "$CC"; then
8577
- echo "$as_me:$LINENO: result: $CC" >&5
8578
-echo "${ECHO_T}$CC" >&6
8579
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8580
+$as_echo "$CC" >&6; }
8582
- echo "$as_me:$LINENO: result: no" >&5
8583
-echo "${ECHO_T}no" >&6
8584
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8585
+$as_echo "no" >&6; }
8590
if test -z "$CC"; then
8591
if test -n "$ac_tool_prefix"; then
8593
+ for ac_prog in cl.exe
8595
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8596
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8597
-echo "$as_me:$LINENO: checking for $ac_word" >&5
8598
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8599
-if test "${ac_cv_prog_CC+set}" = set; then
8600
- echo $ECHO_N "(cached) $ECHO_C" >&6
8601
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8602
+$as_echo_n "checking for $ac_word... " >&6; }
8603
+if test "${ac_cv_prog_CC+set}" = set; then :
8604
+ $as_echo_n "(cached) " >&6
8606
if test -n "$CC"; then
8607
ac_cv_prog_CC="$CC" # Let the user override the test.
8608
@@ -1985,39 +3037,41 @@ for as_dir in $PATH
8611
test -z "$as_dir" && as_dir=.
8612
- for ac_exec_ext in '' $ac_executable_extensions; do
8613
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8614
+ for ac_exec_ext in '' $ac_executable_extensions; do
8615
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8616
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
8617
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8618
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8629
if test -n "$CC"; then
8630
- echo "$as_me:$LINENO: result: $CC" >&5
8631
-echo "${ECHO_T}$CC" >&6
8632
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8633
+$as_echo "$CC" >&6; }
8635
- echo "$as_me:$LINENO: result: no" >&5
8636
-echo "${ECHO_T}no" >&6
8637
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8638
+$as_echo "no" >&6; }
8642
test -n "$CC" && break
8645
if test -z "$CC"; then
8648
+ for ac_prog in cl.exe
8650
# Extract the first word of "$ac_prog", so it can be a program name with args.
8651
set dummy $ac_prog; ac_word=$2
8652
-echo "$as_me:$LINENO: checking for $ac_word" >&5
8653
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8654
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8655
- echo $ECHO_N "(cached) $ECHO_C" >&6
8656
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8657
+$as_echo_n "checking for $ac_word... " >&6; }
8658
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
8659
+ $as_echo_n "(cached) " >&6
8661
if test -n "$ac_ct_CC"; then
8662
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8663
@@ -2027,67 +3081,78 @@ for as_dir in $PATH
8666
test -z "$as_dir" && as_dir=.
8667
- for ac_exec_ext in '' $ac_executable_extensions; do
8668
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8669
+ for ac_exec_ext in '' $ac_executable_extensions; do
8670
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8671
ac_cv_prog_ac_ct_CC="$ac_prog"
8672
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8673
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8683
ac_ct_CC=$ac_cv_prog_ac_ct_CC
8684
if test -n "$ac_ct_CC"; then
8685
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8686
-echo "${ECHO_T}$ac_ct_CC" >&6
8687
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
8688
+$as_echo "$ac_ct_CC" >&6; }
8690
- echo "$as_me:$LINENO: result: no" >&5
8691
-echo "${ECHO_T}no" >&6
8692
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8693
+$as_echo "no" >&6; }
8697
test -n "$ac_ct_CC" && break
8701
+ if test "x$ac_ct_CC" = x; then
8704
+ case $cross_compiling:$ac_tool_warned in
8706
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8707
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8708
+ac_tool_warned=yes ;;
8717
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
8718
-See \`config.log' for more details." >&5
8719
-echo "$as_me: error: no acceptable C compiler found in \$PATH
8720
-See \`config.log' for more details." >&2;}
8721
- { (exit 1); exit 1; }; }
8722
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8723
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8724
+as_fn_error $? "no acceptable C compiler found in \$PATH
8725
+See \`config.log' for more details" "$LINENO" 5 ; }
8727
# Provide some information about the compiler.
8728
-echo "$as_me:$LINENO:" \
8729
- "checking for C compiler version" >&5
8730
-ac_compiler=`set X $ac_compile; echo $2`
8731
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8732
- (eval $ac_compiler --version </dev/null >&5) 2>&5
8734
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735
- (exit $ac_status); }
8736
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8737
- (eval $ac_compiler -v </dev/null >&5) 2>&5
8739
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740
- (exit $ac_status); }
8741
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8742
- (eval $ac_compiler -V </dev/null >&5) 2>&5
8743
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
8746
+for ac_option in --version -v -V -qversion; do
8747
+ { { ac_try="$ac_compiler $ac_option >&5"
8748
+case "(($ac_try" in
8749
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8750
+ *) ac_try_echo=$ac_try;;
8752
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8753
+$as_echo "$ac_try_echo"; } >&5
8754
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8756
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757
- (exit $ac_status); }
8758
+ if test -s conftest.err; then
8760
+... rest of stderr output deleted ...
8761
+ 10q' conftest.err >conftest.er1
8762
+ cat conftest.er1 >&5
8764
+ rm -f conftest.er1 conftest.err
8765
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8766
+ test $ac_status = 0; }
8769
-cat >conftest.$ac_ext <<_ACEOF
8770
-#line $LINENO "configure"
8773
-cat confdefs.h >>conftest.$ac_ext
8774
-cat >>conftest.$ac_ext <<_ACEOF
8775
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776
/* end confdefs.h. */
8779
@@ -2099,112 +3164,108 @@ main ()
8782
ac_clean_files_save=$ac_clean_files
8783
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
8784
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
8785
# Try to create an executable without -o first, disregard a.out.
8786
# It will help us diagnose broken compilers, and finding out an intuition
8788
-echo "$as_me:$LINENO: checking for C compiler default output" >&5
8789
-echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
8790
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
8791
-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
8792
- (eval $ac_link_default) 2>&5
8794
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795
- (exit $ac_status); }; then
8796
- # Find the output, starting from the most likely. This scheme is
8797
-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
8800
-# Be careful to initialize this variable, since it used to be cached.
8801
-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
8803
-# b.out is created by i960 compilers.
8804
-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
8805
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
8806
+$as_echo_n "checking whether the C compiler works... " >&6; }
8807
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
8809
+# The possible output files:
8810
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
8813
+for ac_file in $ac_files
8816
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
8817
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
8822
+if { { ac_try="$ac_link_default"
8823
+case "(($ac_try" in
8824
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8825
+ *) ac_try_echo=$ac_try;;
8827
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8828
+$as_echo "$ac_try_echo"; } >&5
8829
+ (eval "$ac_link_default") 2>&5
8831
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8832
+ test $ac_status = 0; }; then :
8833
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
8834
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
8835
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
8836
+# so that the user can short-circuit this test for compilers unknown to
8838
+for ac_file in $ac_files ''
8840
test -f "$ac_file" || continue
8842
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
8844
- conftest.$ac_ext )
8845
- # This is the source file.
8847
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
8850
- # We found the default executable, but exeext='' is most
8851
- # certainly right.
8853
+ # We found the default executable, but exeext='' is most
8854
+ # certainly right.
8857
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8858
- # FIXME: I believe we export ac_cv_exeext for Libtool,
8859
- # but it would be cool to find out if it's true. Does anybody
8860
- # maintain Libtool? --akim.
8861
- export ac_cv_exeext
8863
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
8865
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8867
+ # We set ac_cv_exeext here because the later test for it is not
8868
+ # safe: cross compilers may not add the suffix if given an `-o'
8869
+ # argument, so we may need to know it at that point already.
8870
+ # Even if this section looks crufty: it has the advantage of
8871
+ # actually working.
8879
- echo "$as_me: failed program was:" >&5
8880
-sed 's/^/| /' conftest.$ac_ext >&5
8881
+test "$ac_cv_exeext" = no && ac_cv_exeext=
8883
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
8884
-See \`config.log' for more details." >&5
8885
-echo "$as_me: error: C compiler cannot create executables
8886
-See \`config.log' for more details." >&2;}
8887
- { (exit 77); exit 77; }; }
8891
+if test -z "$ac_file"; then :
8892
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8893
+$as_echo "no" >&6; }
8894
+$as_echo "$as_me: failed program was:" >&5
8895
+sed 's/^/| /' conftest.$ac_ext >&5
8897
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8898
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8899
+as_fn_error 77 "C compiler cannot create executables
8900
+See \`config.log' for more details" "$LINENO" 5 ; }
8902
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8903
+$as_echo "yes" >&6; }
8905
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
8906
+$as_echo_n "checking for C compiler default output file name... " >&6; }
8907
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
8908
+$as_echo "$ac_file" >&6; }
8909
ac_exeext=$ac_cv_exeext
8910
-echo "$as_me:$LINENO: result: $ac_file" >&5
8911
-echo "${ECHO_T}$ac_file" >&6
8913
-# Check the compiler produces executables we can run. If not, either
8914
-# the compiler is broken, or we cross compile.
8915
-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8916
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
8917
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
8918
-# If not cross compiling, check that we can run a simple program.
8919
-if test "$cross_compiling" != yes; then
8920
- if { ac_try='./$ac_file'
8921
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922
- (eval $ac_try) 2>&5
8924
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925
- (exit $ac_status); }; }; then
8926
- cross_compiling=no
8928
- if test "$cross_compiling" = maybe; then
8929
- cross_compiling=yes
8931
- { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
8932
-If you meant to cross compile, use \`--host'.
8933
-See \`config.log' for more details." >&5
8934
-echo "$as_me: error: cannot run C compiled programs.
8935
-If you meant to cross compile, use \`--host'.
8936
-See \`config.log' for more details." >&2;}
8937
- { (exit 1); exit 1; }; }
8941
-echo "$as_me:$LINENO: result: yes" >&5
8942
-echo "${ECHO_T}yes" >&6
8944
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
8945
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
8946
ac_clean_files=$ac_clean_files_save
8947
-# Check the compiler produces executables we can run. If not, either
8948
-# the compiler is broken, or we cross compile.
8949
-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8950
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
8951
-echo "$as_me:$LINENO: result: $cross_compiling" >&5
8952
-echo "${ECHO_T}$cross_compiling" >&6
8954
-echo "$as_me:$LINENO: checking for suffix of executables" >&5
8955
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
8956
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8957
- (eval $ac_link) 2>&5
8958
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
8959
+$as_echo_n "checking for suffix of executables... " >&6; }
8960
+if { { ac_try="$ac_link"
8961
+case "(($ac_try" in
8962
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8963
+ *) ac_try_echo=$ac_try;;
8965
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8966
+$as_echo "$ac_try_echo"; } >&5
8967
+ (eval "$ac_link") 2>&5
8969
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970
- (exit $ac_status); }; then
8971
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8972
+ test $ac_status = 0; }; then :
8973
# If both `conftest.exe' and `conftest' are `present' (well, observable)
8974
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
8975
# work properly (i.e., refer to `conftest.exe'), while it won't with
8976
@@ -2212,90 +3273,141 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
8977
for ac_file in conftest.exe conftest conftest.*; do
8978
test -f "$ac_file" || continue
8980
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
8981
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
8982
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8983
- export ac_cv_exeext
8990
- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
8991
-See \`config.log' for more details." >&5
8992
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
8993
-See \`config.log' for more details." >&2;}
8994
- { (exit 1); exit 1; }; }
8997
-rm -f conftest$ac_cv_exeext
8998
-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8999
-echo "${ECHO_T}$ac_cv_exeext" >&6
9000
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9001
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9002
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
9003
+See \`config.log' for more details" "$LINENO" 5 ; }
9005
+rm -f conftest conftest$ac_cv_exeext
9006
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
9007
+$as_echo "$ac_cv_exeext" >&6; }
9009
rm -f conftest.$ac_ext
9010
EXEEXT=$ac_cv_exeext
9012
-echo "$as_me:$LINENO: checking for suffix of object files" >&5
9013
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
9014
-if test "${ac_cv_objext+set}" = set; then
9015
- echo $ECHO_N "(cached) $ECHO_C" >&6
9017
- cat >conftest.$ac_ext <<_ACEOF
9018
-#line $LINENO "configure"
9021
-cat confdefs.h >>conftest.$ac_ext
9022
-cat >>conftest.$ac_ext <<_ACEOF
9023
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024
/* end confdefs.h. */
9030
+FILE *f = fopen ("conftest.out", "w");
9031
+ return ferror (f) || fclose (f) != 0;
9037
-rm -f conftest.o conftest.obj
9038
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9039
- (eval $ac_compile) 2>&5
9040
+ac_clean_files="$ac_clean_files conftest.out"
9041
+# Check that the compiler produces executables we can run. If not, either
9042
+# the compiler is broken, or we cross compile.
9043
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
9044
+$as_echo_n "checking whether we are cross compiling... " >&6; }
9045
+if test "$cross_compiling" != yes; then
9046
+ { { ac_try="$ac_link"
9047
+case "(($ac_try" in
9048
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9049
+ *) ac_try_echo=$ac_try;;
9051
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9052
+$as_echo "$ac_try_echo"; } >&5
9053
+ (eval "$ac_link") 2>&5
9055
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9056
+ test $ac_status = 0; }
9057
+ if { ac_try='./conftest$ac_cv_exeext'
9058
+ { { case "(($ac_try" in
9059
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9060
+ *) ac_try_echo=$ac_try;;
9062
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9063
+$as_echo "$ac_try_echo"; } >&5
9064
+ (eval "$ac_try") 2>&5
9066
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067
- (exit $ac_status); }; then
9068
- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
9070
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
9071
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
9076
- echo "$as_me: failed program was:" >&5
9077
-sed 's/^/| /' conftest.$ac_ext >&5
9079
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
9080
-See \`config.log' for more details." >&5
9081
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
9082
-See \`config.log' for more details." >&2;}
9083
- { (exit 1); exit 1; }; }
9086
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
9088
-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
9089
-echo "${ECHO_T}$ac_cv_objext" >&6
9090
-OBJEXT=$ac_cv_objext
9092
-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9093
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9094
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
9095
- echo $ECHO_N "(cached) $ECHO_C" >&6
9097
- cat >conftest.$ac_ext <<_ACEOF
9098
-#line $LINENO "configure"
9100
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9101
+ test $ac_status = 0; }; }; then
9102
+ cross_compiling=no
9104
+ if test "$cross_compiling" = maybe; then
9105
+ cross_compiling=yes
9107
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9108
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9109
+as_fn_error $? "cannot run C compiled programs.
9110
+If you meant to cross compile, use \`--host'.
9111
+See \`config.log' for more details" "$LINENO" 5 ; }
9115
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
9116
+$as_echo "$cross_compiling" >&6; }
9118
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
9119
+ac_clean_files=$ac_clean_files_save
9120
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
9121
+$as_echo_n "checking for suffix of object files... " >&6; }
9122
+if test "${ac_cv_objext+set}" = set; then :
9123
+ $as_echo_n "(cached) " >&6
9125
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126
+/* end confdefs.h. */
9136
-cat confdefs.h >>conftest.$ac_ext
9137
-cat >>conftest.$ac_ext <<_ACEOF
9138
+rm -f conftest.o conftest.obj
9139
+if { { ac_try="$ac_compile"
9140
+case "(($ac_try" in
9141
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9142
+ *) ac_try_echo=$ac_try;;
9144
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9145
+$as_echo "$ac_try_echo"; } >&5
9146
+ (eval "$ac_compile") 2>&5
9148
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9149
+ test $ac_status = 0; }; then :
9150
+ for ac_file in conftest.o conftest.obj conftest.*; do
9151
+ test -f "$ac_file" || continue;
9153
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
9154
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
9159
+ $as_echo "$as_me: failed program was:" >&5
9160
+sed 's/^/| /' conftest.$ac_ext >&5
9162
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9163
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9164
+as_fn_error $? "cannot compute suffix of object files: cannot compile
9165
+See \`config.log' for more details" "$LINENO" 5 ; }
9167
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
9169
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
9170
+$as_echo "$ac_cv_objext" >&6; }
9171
+OBJEXT=$ac_cv_objext
9173
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
9174
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
9175
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
9176
+ $as_echo_n "(cached) " >&6
9178
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179
/* end confdefs.h. */
9182
@@ -2309,46 +3421,34 @@ main ()
9186
-rm -f conftest.$ac_objext
9187
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9188
- (eval $ac_compile) 2>&5
9190
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191
- (exit $ac_status); } &&
9192
- { ac_try='test -s conftest.$ac_objext'
9193
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9194
- (eval $ac_try) 2>&5
9196
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197
- (exit $ac_status); }; }; then
9198
+if ac_fn_c_try_compile "$LINENO"; then :
9201
- echo "$as_me: failed program was:" >&5
9202
-sed 's/^/| /' conftest.$ac_ext >&5
9205
+ ac_compiler_gnu=no
9207
-rm -f conftest.$ac_objext conftest.$ac_ext
9208
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9209
ac_cv_c_compiler_gnu=$ac_compiler_gnu
9212
-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9213
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9214
-GCC=`test $ac_compiler_gnu = yes && echo yes`
9215
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
9216
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
9217
+if test $ac_compiler_gnu = yes; then
9222
ac_test_CFLAGS=${CFLAGS+set}
9223
ac_save_CFLAGS=$CFLAGS
9225
-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9226
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9227
-if test "${ac_cv_prog_cc_g+set}" = set; then
9228
- echo $ECHO_N "(cached) $ECHO_C" >&6
9230
- cat >conftest.$ac_ext <<_ACEOF
9231
-#line $LINENO "configure"
9234
-cat confdefs.h >>conftest.$ac_ext
9235
-cat >>conftest.$ac_ext <<_ACEOF
9236
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
9237
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
9238
+if test "${ac_cv_prog_cc_g+set}" = set; then :
9239
+ $as_echo_n "(cached) " >&6
9241
+ ac_save_c_werror_flag=$ac_c_werror_flag
9242
+ ac_c_werror_flag=yes
9243
+ ac_cv_prog_cc_g=no
9245
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246
/* end confdefs.h. */
9249
@@ -2359,29 +3459,49 @@ main ()
9253
-rm -f conftest.$ac_objext
9254
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9255
- (eval $ac_compile) 2>&5
9257
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258
- (exit $ac_status); } &&
9259
- { ac_try='test -s conftest.$ac_objext'
9260
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9261
- (eval $ac_try) 2>&5
9263
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264
- (exit $ac_status); }; }; then
9265
+if ac_fn_c_try_compile "$LINENO"; then :
9268
- echo "$as_me: failed program was:" >&5
9269
-sed 's/^/| /' conftest.$ac_ext >&5
9271
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272
+/* end confdefs.h. */
9282
+if ac_fn_c_try_compile "$LINENO"; then :
9285
+ ac_c_werror_flag=$ac_save_c_werror_flag
9287
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288
+/* end confdefs.h. */
9299
+if ac_fn_c_try_compile "$LINENO"; then :
9300
+ ac_cv_prog_cc_g=yes
9302
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9304
-rm -f conftest.$ac_objext conftest.$ac_ext
9305
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9307
-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
9308
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
9309
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9310
+ ac_c_werror_flag=$ac_save_c_werror_flag
9312
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
9313
+$as_echo "$ac_cv_prog_cc_g" >&6; }
9314
if test "$ac_test_CFLAGS" = set; then
9315
CFLAGS=$ac_save_CFLAGS
9316
elif test $ac_cv_prog_cc_g = yes; then
9317
@@ -2397,19 +3517,14 @@ else
9321
-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
9322
-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
9323
-if test "${ac_cv_prog_cc_stdc+set}" = set; then
9324
- echo $ECHO_N "(cached) $ECHO_C" >&6
9325
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
9326
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
9327
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
9328
+ $as_echo_n "(cached) " >&6
9330
- ac_cv_prog_cc_stdc=no
9331
+ ac_cv_prog_cc_c89=no
9333
-cat >conftest.$ac_ext <<_ACEOF
9334
-#line $LINENO "configure"
9337
-cat confdefs.h >>conftest.$ac_ext
9338
-cat >>conftest.$ac_ext <<_ACEOF
9339
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9340
/* end confdefs.h. */
9343
@@ -2433,6 +3548,21 @@ static char *f (char * (*g) (char **, in
9348
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
9349
+ function prototypes and stuff, but not '\xHH' hex character constants.
9350
+ These don't provoke an error unfortunately, instead are silently treated
9351
+ as 'x'. The following induces an error, until -std is added to get
9352
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
9353
+ array size at least. It's necessary to write '\x00'==0 to get something
9354
+ that's true only with -std. */
9355
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
9357
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
9358
+ inside strings and character constants. */
9360
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
9362
int test (int i, double x);
9363
struct s1 {int (*f) (int a);};
9364
struct s2 {int (*f) (double a);};
9365
@@ -2447,237 +3577,96 @@ return f (e, argv, 0) != argv[0] || f
9369
-# Don't try gcc -ansi; that turns off useful extensions and
9370
-# breaks some systems' header files.
9371
-# AIX -qlanglvl=ansi
9372
-# Ultrix and OSF/1 -std1
9373
-# HP-UX 10.20 and later -Ae
9374
-# HP-UX older versions -Aa -D_HPUX_SOURCE
9375
-# SVR4 -Xc -D__EXTENSIONS__
9376
-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
9377
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
9378
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
9380
CC="$ac_save_CC $ac_arg"
9381
- rm -f conftest.$ac_objext
9382
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9383
- (eval $ac_compile) 2>&5
9385
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386
- (exit $ac_status); } &&
9387
- { ac_try='test -s conftest.$ac_objext'
9388
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389
- (eval $ac_try) 2>&5
9391
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392
- (exit $ac_status); }; }; then
9393
- ac_cv_prog_cc_stdc=$ac_arg
9396
- echo "$as_me: failed program was:" >&5
9397
-sed 's/^/| /' conftest.$ac_ext >&5
9399
+ if ac_fn_c_try_compile "$LINENO"; then :
9400
+ ac_cv_prog_cc_c89=$ac_arg
9402
-rm -f conftest.$ac_objext
9403
+rm -f core conftest.err conftest.$ac_objext
9404
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
9406
-rm -f conftest.$ac_ext conftest.$ac_objext
9407
+rm -f conftest.$ac_ext
9412
-case "x$ac_cv_prog_cc_stdc" in
9414
- echo "$as_me:$LINENO: result: none needed" >&5
9415
-echo "${ECHO_T}none needed" >&6 ;;
9417
+case "x$ac_cv_prog_cc_c89" in
9419
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
9420
+$as_echo "none needed" >&6; } ;;
9422
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
9423
+$as_echo "unsupported" >&6; } ;;
9425
- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
9426
-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
9427
- CC="$CC $ac_cv_prog_cc_stdc" ;;
9428
+ CC="$CC $ac_cv_prog_cc_c89"
9429
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
9430
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
9432
+if test "x$ac_cv_prog_cc_c89" != xno; then :
9434
-# Some people use a C++ compiler to compile C. Since we use `exit',
9435
-# in C++ we need to declare it. In case someone uses the same compiler
9436
-# for both compiling C and C++ we need to have the C++ compiler decide
9437
-# the declaration of exit, since it's the most demanding environment.
9438
-cat >conftest.$ac_ext <<_ACEOF
9439
-#ifndef __cplusplus
9443
-rm -f conftest.$ac_objext
9444
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9445
- (eval $ac_compile) 2>&5
9447
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448
- (exit $ac_status); } &&
9449
- { ac_try='test -s conftest.$ac_objext'
9450
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451
- (eval $ac_try) 2>&5
9453
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454
- (exit $ac_status); }; }; then
9455
- for ac_declaration in \
9457
- '#include <stdlib.h>' \
9458
- 'extern "C" void std::exit (int) throw (); using std::exit;' \
9459
- 'extern "C" void std::exit (int); using std::exit;' \
9460
- 'extern "C" void exit (int) throw ();' \
9461
- 'extern "C" void exit (int);' \
9462
- 'void exit (int);'
9464
- cat >conftest.$ac_ext <<_ACEOF
9465
-#line $LINENO "configure"
9468
-cat confdefs.h >>conftest.$ac_ext
9469
-cat >>conftest.$ac_ext <<_ACEOF
9470
-/* end confdefs.h. */
9471
-#include <stdlib.h>
9481
-rm -f conftest.$ac_objext
9482
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9483
- (eval $ac_compile) 2>&5
9485
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486
- (exit $ac_status); } &&
9487
- { ac_try='test -s conftest.$ac_objext'
9488
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9489
- (eval $ac_try) 2>&5
9491
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492
- (exit $ac_status); }; }; then
9495
- echo "$as_me: failed program was:" >&5
9496
-sed 's/^/| /' conftest.$ac_ext >&5
9500
-rm -f conftest.$ac_objext conftest.$ac_ext
9501
- cat >conftest.$ac_ext <<_ACEOF
9502
-#line $LINENO "configure"
9505
-cat confdefs.h >>conftest.$ac_ext
9506
-cat >>conftest.$ac_ext <<_ACEOF
9507
-/* end confdefs.h. */
9517
-rm -f conftest.$ac_objext
9518
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9519
- (eval $ac_compile) 2>&5
9521
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522
- (exit $ac_status); } &&
9523
- { ac_try='test -s conftest.$ac_objext'
9524
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525
- (eval $ac_try) 2>&5
9527
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528
- (exit $ac_status); }; }; then
9531
- echo "$as_me: failed program was:" >&5
9532
-sed 's/^/| /' conftest.$ac_ext >&5
9535
-rm -f conftest.$ac_objext conftest.$ac_ext
9538
-if test -n "$ac_declaration"; then
9539
- echo '#ifdef __cplusplus' >>confdefs.h
9540
- echo $ac_declaration >>confdefs.h
9541
- echo '#endif' >>confdefs.h
9545
- echo "$as_me: failed program was:" >&5
9546
-sed 's/^/| /' conftest.$ac_ext >&5
9549
-rm -f conftest.$ac_objext conftest.$ac_ext
9551
ac_cpp='$CPP $CPPFLAGS'
9552
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9553
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9554
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9555
-rm -f .deps 2>/dev/null
9556
-mkdir .deps 2>/dev/null
9557
-if test -d .deps; then
9560
- # MS-DOS does not allow filenames that begin with a dot.
9563
-rmdir .deps 2>/dev/null
9565
+DEPDIR="${am__leading_dot}deps"
9567
- ac_config_commands="$ac_config_commands depfiles"
9568
+ac_config_commands="$ac_config_commands depfiles"
9571
am_make=${MAKE-make}
9572
cat > confinc << 'END'
9576
+ @echo this is the am__doit target
9579
# If we don't find an include directive, just comment out the code.
9580
-echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
9581
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
9582
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
9583
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
9587
# First try GNU make style include.
9588
echo "include confinc" > confmf
9589
-# We grep out `Entering directory' and `Leaving directory'
9590
-# messages which can occur if `w' ends up in MAKEFLAGS.
9591
-# In particular we don't look at `^make:' because GNU make might
9592
-# be invoked under some other name (usually "gmake"), in which
9593
-# case it prints its new name instead of `make'.
9594
-if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
9595
- am__include=include
9599
+# Ignore all kinds of additional output from `make'.
9600
+case `$am_make -s -f confmf 2> /dev/null` in #(
9601
+*the\ am__doit\ target*)
9602
+ am__include=include
9607
# Now try BSD make style include.
9608
if test "$am__include" = "#"; then
9609
echo '.include "confinc"' > confmf
9610
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9611
- am__include=.include
9615
+ case `$am_make -s -f confmf 2> /dev/null` in #(
9616
+ *the\ am__doit\ target*)
9617
+ am__include=.include
9625
-echo "$as_me:$LINENO: result: $_am_result" >&5
9626
-echo "${ECHO_T}$_am_result" >&6
9627
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
9628
+$as_echo "$_am_result" >&6; }
9629
rm -f confinc confmf
9631
-# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
9632
-if test "${enable_dependency_tracking+set}" = set; then
9633
- enableval="$enable_dependency_tracking"
9634
+# Check whether --enable-dependency-tracking was given.
9635
+if test "${enable_dependency_tracking+set}" = set; then :
9636
+ enableval=$enable_dependency_tracking;
9640
if test "x$enable_dependency_tracking" != xno; then
9641
am_depcomp="$ac_aux_dir/depcomp"
9646
-if test "x$enable_dependency_tracking" != xno; then
9647
+ if test "x$enable_dependency_tracking" != xno; then
9651
@@ -2687,13 +3676,12 @@ fi
9656
depcc="$CC" am_compiler_list=
9658
-echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9659
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
9660
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
9661
- echo $ECHO_N "(cached) $ECHO_C" >&6
9662
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
9663
+$as_echo_n "checking dependency style of $depcc... " >&6; }
9664
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
9665
+ $as_echo_n "(cached) " >&6
9667
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9668
# We make a subdir and do the tests there. Otherwise we can end up
9669
@@ -2706,20 +3694,51 @@ else
9670
# using a relative directory.
9671
cp "$am_depcomp" conftest.dir
9673
+ # We will build objects and dependencies in a subdirectory because
9674
+ # it helps to detect inapplicable dependency modes. For instance
9675
+ # both Tru64's cc and ICC support -MD to output dependencies as a
9676
+ # side effect of compilation, but ICC will put the dependencies in
9677
+ # the current directory while Tru64 will put them in the object
9681
am_cv_CC_dependencies_compiler_type=none
9682
if test "$am_compiler_list" = ""; then
9683
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9685
+ am__universal=false
9686
+ case " $depcc " in #(
9687
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
9690
for depmode in $am_compiler_list; do
9691
+ # Setup a source with many dependencies, because some compilers
9692
+ # like to wrap large dependency lists on column 80 (with \), and
9693
+ # we should not choose a depcomp mode which is confused by this.
9695
# We need to recreate these files for each test, as the compiler may
9696
# overwrite some of them when testing with obscure command lines.
9697
# This happens at least with the AIX C compiler.
9698
- echo '#include "conftest.h"' > conftest.c
9699
- echo 'int i;' > conftest.h
9700
- echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
9701
+ : > sub/conftest.c
9702
+ for i in 1 2 3 4 5 6; do
9703
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
9704
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9705
+ # Solaris 8's {/usr,}/bin/sh.
9706
+ touch sub/conftst$i.h
9708
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9710
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
9711
+ # mode. It turns out that the SunPro C++ compiler does not properly
9712
+ # handle `-M -o', and we need to detect this. Also, some Intel
9713
+ # versions had trouble with output in subdirs
9714
+ am__obj=sub/conftest.${OBJEXT-o}
9715
+ am__minus_obj="-o $am__obj"
9718
+ # This depmode causes a compiler race in universal mode.
9719
+ test "$am__universal" = false || continue
9722
# after this tag, mechanisms are not by side-effect, so they'll
9723
# only be used when explicitly requested
9724
@@ -2729,19 +3748,36 @@ else
9728
+ msvisualcpp | msvcmsys)
9729
+ # This compiler won't grok `-c -o', but also, the minuso test has
9730
+ # not run yet. These depmodes are late enough in the game, and
9731
+ # so weak that their functioning should not be impacted.
9732
+ am__obj=conftest.${OBJEXT-o}
9737
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
9738
- # mode. It turns out that the SunPro C++ compiler does not properly
9739
- # handle `-M -o', and we need to detect this.
9740
if depmode=$depmode \
9741
- source=conftest.c object=conftest.o \
9742
- depfile=conftest.Po tmpdepfile=conftest.TPo \
9743
- $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
9744
- grep conftest.h conftest.Po > /dev/null 2>&1 &&
9745
+ source=sub/conftest.c object=$am__obj \
9746
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9747
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9748
+ >/dev/null 2>conftest.err &&
9749
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9750
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9751
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9752
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9753
- am_cv_CC_dependencies_compiler_type=$depmode
9755
+ # icc doesn't choke on unknown options, it will just issue warnings
9756
+ # or remarks (even with -Werror). So we grep stderr for any message
9757
+ # that says an option was ignored or not supported.
9758
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
9759
+ # icc: Command line warning: ignoring option '-M'; no argument required
9760
+ # The diagnosis changed in icc 8.0:
9761
+ # icc: Command line remark: option '-MP' not supported
9762
+ if (grep 'ignoring option' conftest.err ||
9763
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9764
+ am_cv_CC_dependencies_compiler_type=$depmode
9770
@@ -2752,33 +3788,48 @@ else
9774
-echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
9775
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
9776
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
9777
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
9778
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9781
+ test "x$enable_dependency_tracking" != xno \
9782
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
9783
+ am__fastdepCC_TRUE=
9784
+ am__fastdepCC_FALSE='#'
9786
+ am__fastdepCC_TRUE='#'
9787
+ am__fastdepCC_FALSE=
9792
-# Check whether --enable-gtk2 or --disable-gtk2 was given.
9793
-if test "${enable_gtk2+set}" = set; then
9794
- enableval="$enable_gtk2"
9795
- enable_gtk2=$enableval
9796
+# Checks for libraries.
9797
+# Check whether --enable-gtk2 was given.
9798
+if test "${enable_gtk2+set}" = set; then :
9799
+ enableval=$enable_gtk2; enable_gtk2=$enableval
9808
if test "$enable_gtk2" = "yes" ; then
9812
- if test -z "$PKG_CONFIG"; then
9813
- # Extract the first word of "pkg-config", so it can be a program name with args.
9814
-set dummy pkg-config; ac_word=$2
9815
-echo "$as_me:$LINENO: checking for $ac_word" >&5
9816
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9817
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9818
- echo $ECHO_N "(cached) $ECHO_C" >&6
9823
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9824
+ if test -n "$ac_tool_prefix"; then
9825
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9826
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9827
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9828
+$as_echo_n "checking for $ac_word... " >&6; }
9829
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9830
+ $as_echo_n "(cached) " >&6
9834
@@ -2790,141 +3841,42 @@ for as_dir in $PATH
9837
test -z "$as_dir" && as_dir=.
9838
- for ac_exec_ext in '' $ac_executable_extensions; do
9839
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9840
+ for ac_exec_ext in '' $ac_executable_extensions; do
9841
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9842
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9843
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9844
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9852
- test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
9856
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9858
if test -n "$PKG_CONFIG"; then
9859
- echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9860
-echo "${ECHO_T}$PKG_CONFIG" >&6
9861
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9862
+$as_echo "$PKG_CONFIG" >&6; }
9864
- echo "$as_me:$LINENO: result: no" >&5
9865
-echo "${ECHO_T}no" >&6
9866
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9867
+$as_echo "no" >&6; }
9872
- if test "$PKG_CONFIG" = "no" ; then
9873
- echo "*** The pkg-config script could not be found. Make sure it is"
9874
- echo "*** in your path, or set the PKG_CONFIG environment variable"
9875
- echo "*** to the full path to pkg-config."
9876
- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
9878
- PKG_CONFIG_MIN_VERSION=0.9.0
9879
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
9880
- echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.0.0" >&5
9881
-echo $ECHO_N "checking for gtk+-2.0 >= 2.0.0... $ECHO_C" >&6
9883
- if $PKG_CONFIG --exists "gtk+-2.0 >= 2.0.0" ; then
9884
- echo "$as_me:$LINENO: result: yes" >&5
9885
-echo "${ECHO_T}yes" >&6
9888
- echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
9889
-echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
9890
- GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0"`
9891
- echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
9892
-echo "${ECHO_T}$GTK_CFLAGS" >&6
9894
- echo "$as_me:$LINENO: checking GTK_LIBS" >&5
9895
-echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
9896
- GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0"`
9897
- echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
9898
-echo "${ECHO_T}$GTK_LIBS" >&6
9902
- ## If we have a custom action on failure, don't print errors, but
9903
- ## do set a variable so people can do so.
9904
- GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
9911
- echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
9912
- echo "*** See http://www.freedesktop.org/software/pkgconfig"
9916
- if test $succeeded = yes; then
9924
-if test $found_gtk2 = 0; then
9927
-# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9928
-if test "${with_gtk_prefix+set}" = set; then
9929
- withval="$with_gtk_prefix"
9930
- gtk_config_prefix="$withval"
9932
- gtk_config_prefix=""
9935
-# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9936
-if test "${with_gtk_exec_prefix+set}" = set; then
9937
- withval="$with_gtk_exec_prefix"
9938
- gtk_config_exec_prefix="$withval"
9940
- gtk_config_exec_prefix=""
9942
-# Check whether --enable-gtktest or --disable-gtktest was given.
9943
-if test "${enable_gtktest+set}" = set; then
9944
- enableval="$enable_gtktest"
9947
- enable_gtktest=yes
9954
- gtk_config_args="$gtk_config_args gthread"
9959
- if test x$gtk_config_exec_prefix != x ; then
9960
- gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9961
- if test x${GTK_CONFIG+set} != xset ; then
9962
- GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9965
- if test x$gtk_config_prefix != x ; then
9966
- gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9967
- if test x${GTK_CONFIG+set} != xset ; then
9968
- GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9972
- # Extract the first word of "gtk-config", so it can be a program name with args.
9973
-set dummy gtk-config; ac_word=$2
9974
-echo "$as_me:$LINENO: checking for $ac_word" >&5
9975
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9976
-if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
9977
- echo $ECHO_N "(cached) $ECHO_C" >&6
9978
+if test -z "$ac_cv_path_PKG_CONFIG"; then
9979
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
9980
+ # Extract the first word of "pkg-config", so it can be a program name with args.
9981
+set dummy pkg-config; ac_word=$2
9982
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9983
+$as_echo_n "checking for $ac_word... " >&6; }
9984
+if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
9985
+ $as_echo_n "(cached) " >&6
9987
- case $GTK_CONFIG in
9988
+ case $ac_pt_PKG_CONFIG in
9990
- ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9991
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9994
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9995
@@ -2932,260 +3884,136 @@ for as_dir in $PATH
9998
test -z "$as_dir" && as_dir=.
9999
- for ac_exec_ext in '' $ac_executable_extensions; do
10000
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10001
- ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10002
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10003
+ for ac_exec_ext in '' $ac_executable_extensions; do
10004
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10005
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10006
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10014
- test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10018
-GTK_CONFIG=$ac_cv_path_GTK_CONFIG
10019
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10020
+if test -n "$ac_pt_PKG_CONFIG"; then
10021
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10022
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
10024
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10025
+$as_echo "no" >&6; }
10028
-if test -n "$GTK_CONFIG"; then
10029
- echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
10030
-echo "${ECHO_T}$GTK_CONFIG" >&6
10032
- echo "$as_me:$LINENO: result: no" >&5
10033
-echo "${ECHO_T}no" >&6
10036
- min_gtk_version=1.2.3
10037
- echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
10038
-echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
10040
- if test "$GTK_CONFIG" = "no" ; then
10042
+ if test "x$ac_pt_PKG_CONFIG" = x; then
10045
- GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10046
- GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10047
- gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10048
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10049
- gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10050
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10051
- gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10052
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10053
- if test "x$enable_gtktest" = "xyes" ; then
10054
- ac_save_CFLAGS="$CFLAGS"
10055
- ac_save_LIBS="$LIBS"
10056
- CFLAGS="$CFLAGS $GTK_CFLAGS"
10057
- LIBS="$GTK_LIBS $LIBS"
10058
- rm -f conf.gtktest
10059
- if test "$cross_compiling" = yes; then
10060
- echo $ac_n "cross compiling; assumed OK... $ac_c"
10062
- cat >conftest.$ac_ext <<_ACEOF
10063
-#line $LINENO "configure"
10066
-cat confdefs.h >>conftest.$ac_ext
10067
-cat >>conftest.$ac_ext <<_ACEOF
10068
-/* end confdefs.h. */
10070
-#include <gtk/gtk.h>
10071
-#include <stdio.h>
10072
-#include <stdlib.h>
10077
- int major, minor, micro;
10078
- char *tmp_version;
10079
+ case $cross_compiling:$ac_tool_warned in
10081
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10082
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10083
+ac_tool_warned=yes ;;
10085
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
10088
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10091
- system ("touch conf.gtktest");
10093
+if test -n "$PKG_CONFIG"; then
10094
+ _pkg_min_version=0.9.0
10095
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10096
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10097
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10098
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10099
+$as_echo "yes" >&6; }
10101
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10102
+$as_echo "no" >&6; }
10107
- /* HP/UX 9 (%@#!) writes to sscanf strings */
10108
- tmp_version = g_strdup("$min_gtk_version");
10109
- if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10110
- printf("%s, bad version string\n", "$min_gtk_version");
10114
- if ((gtk_major_version != $gtk_config_major_version) ||
10115
- (gtk_minor_version != $gtk_config_minor_version) ||
10116
- (gtk_micro_version != $gtk_config_micro_version))
10118
- printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10119
- $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10120
- gtk_major_version, gtk_minor_version, gtk_micro_version);
10121
- printf ("*** was found! If gtk-config was correct, then it is best\n");
10122
- printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10123
- printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10124
- printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10125
- printf("*** required on your system.\n");
10126
- printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10127
- printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10128
- printf("*** before re-running configure\n");
10130
-#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10131
- else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10132
- (gtk_minor_version != GTK_MINOR_VERSION) ||
10133
- (gtk_micro_version != GTK_MICRO_VERSION))
10135
- printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10136
- GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10137
- printf("*** library (version %d.%d.%d)\n",
10138
- gtk_major_version, gtk_minor_version, gtk_micro_version);
10140
-#endif /* defined (GTK_MAJOR_VERSION) ... */
10143
- if ((gtk_major_version > major) ||
10144
- ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10145
- ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10151
- printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10152
- gtk_major_version, gtk_minor_version, gtk_micro_version);
10153
- printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10154
- major, minor, micro);
10155
- printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10157
- printf("*** If you have already installed a sufficiently new version, this error\n");
10158
- printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10159
- printf("*** being found. The easiest way to fix this is to remove the old version\n");
10160
- printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10161
- printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10162
- printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10163
- printf("*** so that the correct libraries are found at run-time))\n");
10169
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
10170
+$as_echo_n "checking for GTK... " >&6; }
10173
-rm -f conftest$ac_exeext
10174
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10175
- (eval $ac_link) 2>&5
10176
+if test -n "$GTK_CFLAGS"; then
10177
+ pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
10178
+ elif test -n "$PKG_CONFIG"; then
10179
+ if test -n "$PKG_CONFIG" && \
10180
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
10181
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
10183
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10185
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10186
- (eval $ac_try) 2>&5
10187
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10188
+ test $ac_status = 0; }; then
10189
+ pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
10194
+ pkg_failed=untried
10196
+if test -n "$GTK_LIBS"; then
10197
+ pkg_cv_GTK_LIBS="$GTK_LIBS"
10198
+ elif test -n "$PKG_CONFIG"; then
10199
+ if test -n "$PKG_CONFIG" && \
10200
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
10201
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
10203
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204
- (exit $ac_status); }; }; then
10206
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10207
+ test $ac_status = 0; }; then
10208
+ pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
10210
- echo "$as_me: program exited with status $ac_status" >&5
10211
-echo "$as_me: failed program was:" >&5
10212
-sed 's/^/| /' conftest.$ac_ext >&5
10214
-( exit $ac_status )
10218
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10220
+ pkg_failed=untried
10222
- CFLAGS="$ac_save_CFLAGS"
10223
- LIBS="$ac_save_LIBS"
10226
- if test "x$no_gtk" = x ; then
10227
- echo "$as_me:$LINENO: result: yes" >&5
10228
-echo "${ECHO_T}yes" >&6
10231
- echo "$as_me:$LINENO: result: no" >&5
10232
-echo "${ECHO_T}no" >&6
10233
- if test "$GTK_CONFIG" = "no" ; then
10234
- echo "*** The gtk-config script installed by GTK could not be found"
10235
- echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10236
- echo "*** your path, or set the GTK_CONFIG environment variable to the"
10237
- echo "*** full path to gtk-config."
10239
- if test -f conf.gtktest ; then
10242
- echo "*** Could not run GTK test program, checking why..."
10243
- CFLAGS="$CFLAGS $GTK_CFLAGS"
10244
- LIBS="$LIBS $GTK_LIBS"
10245
- cat >conftest.$ac_ext <<_ACEOF
10246
-#line $LINENO "configure"
10249
-cat confdefs.h >>conftest.$ac_ext
10250
-cat >>conftest.$ac_ext <<_ACEOF
10251
-/* end confdefs.h. */
10253
-#include <gtk/gtk.h>
10254
-#include <stdio.h>
10259
- return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10264
-rm -f conftest.$ac_objext conftest$ac_exeext
10265
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10266
- (eval $ac_link) 2>&5
10268
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269
- (exit $ac_status); } &&
10270
- { ac_try='test -s conftest$ac_exeext'
10271
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272
- (eval $ac_try) 2>&5
10274
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275
- (exit $ac_status); }; }; then
10276
- echo "*** The test program compiled, but did not run. This usually means"
10277
- echo "*** that the run-time linker is not finding GTK or finding the wrong"
10278
- echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10279
- echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10280
- echo "*** to the installed location Also, make sure you have run ldconfig if that"
10281
- echo "*** is required on your system"
10283
- echo "*** If you have an old version installed, it is best to remove it, although"
10284
- echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10286
- echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10287
- echo "*** came with the system with the command"
10289
- echo "*** rpm --erase --nodeps gtk gtk-devel"
10291
- echo "$as_me: failed program was:" >&5
10292
-sed 's/^/| /' conftest.$ac_ext >&5
10294
- echo "*** The test program failed to compile or link. See the file config.log for the"
10295
- echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10296
- echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10297
- echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10299
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10300
- CFLAGS="$ac_save_CFLAGS"
10301
- LIBS="$ac_save_LIBS"
10306
- { { echo "$as_me:$LINENO: error: gtkboard needs GTK 1.2.3 or higher" >&5
10307
-echo "$as_me: error: gtkboard needs GTK 1.2.3 or higher" >&2;}
10308
- { (exit 1); exit 1; }; }
10311
+if test $pkg_failed = yes; then
10312
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10313
+$as_echo "no" >&6; }
10315
- rm -f conf.gtktest
10316
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10317
+ _pkg_short_errors_supported=yes
10319
+ _pkg_short_errors_supported=no
10321
+ if test $_pkg_short_errors_supported = yes; then
10322
+ GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.0.0" 2>&1`
10324
+ GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.0.0" 2>&1`
10326
+ # Put the nasty error message in config.log where it belongs
10327
+ echo "$GTK_PKG_ERRORS" >&5
10330
+elif test $pkg_failed = untried; then
10331
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10332
+$as_echo "no" >&6; }
10335
+ GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
10336
+ GTK_LIBS=$pkg_cv_GTK_LIBS
10337
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10338
+$as_echo "yes" >&6; }
10344
-# Check whether --enable-sdl or --disable-sdl was given.
10345
-if test "${enable_sdl+set}" = set; then
10346
- enableval="$enable_sdl"
10347
- enable_sdl=$enableval
10348
+# Check whether --enable-sdl was given.
10349
+if test "${enable_sdl+set}" = set; then :
10350
+ enableval=$enable_sdl; enable_sdl=$enableval
10357
if test "$enable_sdl" = "yes" ; then
10358
# SDL_VERSION=1.2.0
10359
@@ -3193,61 +4021,44 @@ if test "$enable_sdl" = "yes" ; then
10360
# AC_DEFINE([HAVE_SDL], [], [Do we have the SDL library]),
10361
# AC_MSG_WARN([*** SDL version $SDL_VERSION not found. Sound will be disabled])
10363
- echo "$as_me:$LINENO: checking for Mix_OpenAudio in -lSDL_mixer" >&5
10364
-echo $ECHO_N "checking for Mix_OpenAudio in -lSDL_mixer... $ECHO_C" >&6
10365
-if test "${ac_cv_lib_SDL_mixer_Mix_OpenAudio+set}" = set; then
10366
- echo $ECHO_N "(cached) $ECHO_C" >&6
10368
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mix_OpenAudio in -lSDL_mixer" >&5
10369
+$as_echo_n "checking for Mix_OpenAudio in -lSDL_mixer... " >&6; }
10370
+if test "${ac_cv_lib_SDL_mixer_Mix_OpenAudio+set}" = set; then :
10371
+ $as_echo_n "(cached) " >&6
10373
ac_check_lib_save_LIBS=$LIBS
10374
LIBS="-lSDL_mixer $LIBS"
10375
-cat >conftest.$ac_ext <<_ACEOF
10376
-#line $LINENO "configure"
10379
-cat confdefs.h >>conftest.$ac_ext
10380
-cat >>conftest.$ac_ext <<_ACEOF
10381
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382
/* end confdefs.h. */
10384
-/* Override any gcc2 internal prototype to avoid an error. */
10385
+/* Override any GCC internal prototype to avoid an error.
10386
+ Use char because int might match the return type of a GCC
10387
+ builtin and then its argument prototype would still apply. */
10391
-/* We use char because int might match the return type of a gcc2
10392
- builtin and then its argument prototype would still apply. */
10393
char Mix_OpenAudio ();
10398
+return Mix_OpenAudio ();
10403
-rm -f conftest.$ac_objext conftest$ac_exeext
10404
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10405
- (eval $ac_link) 2>&5
10407
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408
- (exit $ac_status); } &&
10409
- { ac_try='test -s conftest$ac_exeext'
10410
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10411
- (eval $ac_try) 2>&5
10413
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414
- (exit $ac_status); }; }; then
10415
+if ac_fn_c_try_link "$LINENO"; then :
10416
ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes
10418
- echo "$as_me: failed program was:" >&5
10419
-sed 's/^/| /' conftest.$ac_ext >&5
10421
-ac_cv_lib_SDL_mixer_Mix_OpenAudio=no
10422
+ ac_cv_lib_SDL_mixer_Mix_OpenAudio=no
10424
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10425
+rm -f core conftest.err conftest.$ac_objext \
10426
+ conftest$ac_exeext conftest.$ac_ext
10427
LIBS=$ac_check_lib_save_LIBS
10429
-echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&5
10430
-echo "${ECHO_T}$ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&6
10431
-if test $ac_cv_lib_SDL_mixer_Mix_OpenAudio = yes; then
10432
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&5
10433
+$as_echo "$ac_cv_lib_SDL_mixer_Mix_OpenAudio" >&6; }
10434
+if test "x$ac_cv_lib_SDL_mixer_Mix_OpenAudio" = x""yes; then :
10438
@@ -3257,11 +4068,9 @@ fi
10439
if test "$have_SDL_mixer" = "yes" ; then
10440
# CFLAGS="$CFLAGS -DHAVE_SDL"
10442
-cat >>confdefs.h <<\_ACEOF
10445
+$as_echo "#define HAVE_SDL /**/" >>confdefs.h
10447
- LIBS="$LIBS -lSDL_mixer"
10448
+ LIBS="$LIBS -lSDL_mixer -lSDL"
10450
echo "*** SDL_mixer not found. Configuring without audio support."
10452
@@ -3276,148 +4085,140 @@ gnome=false
10456
-# Check whether --enable-gnome or --disable-gnome was given.
10457
-if test "${enable_gnome+set}" = set; then
10458
- enableval="$enable_gnome"
10460
+# Check whether --enable-gnome was given.
10461
+if test "${enable_gnome+set}" = set; then :
10462
+ enableval=$enable_gnome;
10463
if test "x$enableval" = "xyes"; then
10469
-if test "$gnome" = true ; then
10473
- if test -z "$PKG_CONFIG"; then
10474
- # Extract the first word of "pkg-config", so it can be a program name with args.
10475
-set dummy pkg-config; ac_word=$2
10476
-echo "$as_me:$LINENO: checking for $ac_word" >&5
10477
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10478
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10479
- echo $ECHO_N "(cached) $ECHO_C" >&6
10481
- case $PKG_CONFIG in
10482
- [\\/]* | ?:[\\/]*)
10483
- ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10486
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10487
-for as_dir in $PATH
10490
- test -z "$as_dir" && as_dir=.
10491
- for ac_exec_ext in '' $ac_executable_extensions; do
10492
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10493
- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10494
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10500
- test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10504
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10506
-if test -n "$PKG_CONFIG"; then
10507
- echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10508
-echo "${ECHO_T}$PKG_CONFIG" >&6
10510
- echo "$as_me:$LINENO: result: no" >&5
10511
-echo "${ECHO_T}no" >&6
10515
+if test "$gnome" = true ; then
10517
- if test "$PKG_CONFIG" = "no" ; then
10518
- echo "*** The pkg-config script could not be found. Make sure it is"
10519
- echo "*** in your path, or set the PKG_CONFIG environment variable"
10520
- echo "*** to the full path to pkg-config."
10521
- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
10523
- PKG_CONFIG_MIN_VERSION=0.9.0
10524
- if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10525
- echo "$as_me:$LINENO: checking for
10527
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
10528
+$as_echo_n "checking for GNOME... " >&6; }
10530
+if test -n "$GNOME_CFLAGS"; then
10531
+ pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
10532
+ elif test -n "$PKG_CONFIG"; then
10533
+ if test -n "$PKG_CONFIG" && \
10534
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
10535
libgnome-2.0 >= 2.0.0
10536
libgnomeui-2.0 >= 2.0.0
10538
-echo $ECHO_N "checking for
10540
+ ($PKG_CONFIG --exists --print-errors "
10541
libgnome-2.0 >= 2.0.0
10542
libgnomeui-2.0 >= 2.0.0
10545
- if $PKG_CONFIG --exists "
10548
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10549
+ test $ac_status = 0; }; then
10550
+ pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "
10551
libgnome-2.0 >= 2.0.0
10552
libgnomeui-2.0 >= 2.0.0
10554
- echo "$as_me:$LINENO: result: yes" >&5
10555
-echo "${ECHO_T}yes" >&6
10558
- echo "$as_me:$LINENO: checking GNOME_CFLAGS" >&5
10559
-echo $ECHO_N "checking GNOME_CFLAGS... $ECHO_C" >&6
10560
- GNOME_CFLAGS=`$PKG_CONFIG --cflags "
10566
+ pkg_failed=untried
10568
+if test -n "$GNOME_LIBS"; then
10569
+ pkg_cv_GNOME_LIBS="$GNOME_LIBS"
10570
+ elif test -n "$PKG_CONFIG"; then
10571
+ if test -n "$PKG_CONFIG" && \
10572
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
10573
libgnome-2.0 >= 2.0.0
10574
libgnomeui-2.0 >= 2.0.0
10576
- echo "$as_me:$LINENO: result: $GNOME_CFLAGS" >&5
10577
-echo "${ECHO_T}$GNOME_CFLAGS" >&6
10579
- echo "$as_me:$LINENO: checking GNOME_LIBS" >&5
10580
-echo $ECHO_N "checking GNOME_LIBS... $ECHO_C" >&6
10581
- GNOME_LIBS=`$PKG_CONFIG --libs "
10583
+ ($PKG_CONFIG --exists --print-errors "
10584
libgnome-2.0 >= 2.0.0
10585
libgnomeui-2.0 >= 2.0.0
10587
- echo "$as_me:$LINENO: result: $GNOME_LIBS" >&5
10588
-echo "${ECHO_T}$GNOME_LIBS" >&6
10592
- ## If we have a custom action on failure, don't print errors, but
10593
- ## do set a variable so people can do so.
10594
- GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
10597
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10598
+ test $ac_status = 0; }; then
10599
+ pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "
10600
libgnome-2.0 >= 2.0.0
10601
libgnomeui-2.0 >= 2.0.0
10603
- echo $GNOME_PKG_ERRORS
10610
+ pkg_failed=untried
10616
- echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
10617
- echo "*** See http://www.freedesktop.org/software/pkgconfig"
10620
+if test $pkg_failed = yes; then
10621
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10622
+$as_echo "no" >&6; }
10624
- if test $succeeded = yes; then
10627
- { { echo "$as_me:$LINENO: error: Library requirements (
10628
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10629
+ _pkg_short_errors_supported=yes
10631
+ _pkg_short_errors_supported=no
10633
+ if test $_pkg_short_errors_supported = yes; then
10634
+ GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
10635
libgnome-2.0 >= 2.0.0
10636
libgnomeui-2.0 >= 2.0.0
10637
- ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
10638
-echo "$as_me: error: Library requirements (
10641
+ GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "
10642
libgnome-2.0 >= 2.0.0
10643
libgnomeui-2.0 >= 2.0.0
10644
- ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
10645
- { (exit 1); exit 1; }; }
10649
+ # Put the nasty error message in config.log where it belongs
10650
+ echo "$GNOME_PKG_ERRORS" >&5
10652
- GNOME_CFLAGS="$GNOME_CFLAGS -DHAVE_GNOME=1"
10654
+ as_fn_error $? "Package requirements (
10655
+ libgnome-2.0 >= 2.0.0
10656
+ libgnomeui-2.0 >= 2.0.0
10661
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
10662
+installed software in a non-standard prefix.
10664
+Alternatively, you may set the environment variables GNOME_CFLAGS
10665
+and GNOME_LIBS to avoid the need to call pkg-config.
10666
+See the pkg-config man page for more details." "$LINENO" 5
10667
+elif test $pkg_failed = untried; then
10668
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10669
+$as_echo "no" >&6; }
10670
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10671
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10672
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
10673
+is in your PATH or set the PKG_CONFIG environment variable to the full
10674
+path to pkg-config.
10676
+Alternatively, you may set the environment variables GNOME_CFLAGS
10677
+and GNOME_LIBS to avoid the need to call pkg-config.
10678
+See the pkg-config man page for more details.
10680
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10681
+See \`config.log' for more details" "$LINENO" 5 ; }
10683
+ GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
10684
+ GNOME_LIBS=$pkg_cv_GNOME_LIBS
10685
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10686
+$as_echo "yes" >&6; }
10689
+ GNOME_CFLAGS="$GNOME_CFLAGS -DHAVE_GNOME=1"
10695
-if test "x$gnome" = "xtrue"; then
10696
+ if test "x$gnome" = "xtrue"; then
10698
WITH_GNOME_FALSE='#'
10700
@@ -3431,15 +4232,15 @@ ac_cpp='$CPP $CPPFLAGS'
10701
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10702
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10703
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10704
-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10705
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10706
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
10707
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
10708
# On Suns, sometimes $CPP names a directory.
10709
if test -n "$CPP" && test -d "$CPP"; then
10712
if test -z "$CPP"; then
10713
- if test "${ac_cv_prog_CPP+set}" = set; then
10714
- echo $ECHO_N "(cached) $ECHO_C" >&6
10715
+ if test "${ac_cv_prog_CPP+set}" = set; then :
10716
+ $as_echo_n "(cached) " >&6
10718
# Double quotes because CPP needs to be expanded
10719
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10720
@@ -3453,91 +4254,43 @@ do
10721
# <limits.h> exists even on freestanding compilers.
10722
# On the NeXT, cc -E runs the code through the compiler's parser,
10723
# not just through cpp. "Syntax error" is here to catch this case.
10724
- cat >conftest.$ac_ext <<_ACEOF
10725
-#line $LINENO "configure"
10728
-cat confdefs.h >>conftest.$ac_ext
10729
-cat >>conftest.$ac_ext <<_ACEOF
10730
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731
/* end confdefs.h. */
10733
# include <limits.h>
10735
# include <assert.h>
10740
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10741
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10743
- grep -v '^ *+' conftest.er1 >conftest.err
10744
- rm -f conftest.er1
10745
- cat conftest.err >&5
10746
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747
- (exit $ac_status); } >/dev/null; then
10748
- if test -s conftest.err; then
10749
- ac_cpp_err=$ac_c_preproc_warn_flag
10756
-if test -z "$ac_cpp_err"; then
10759
- echo "$as_me: failed program was:" >&5
10760
-sed 's/^/| /' conftest.$ac_ext >&5
10761
+if ac_fn_c_try_cpp "$LINENO"; then :
10764
# Broken: fails on valid input.
10767
-rm -f conftest.err conftest.$ac_ext
10768
+rm -f conftest.err conftest.i conftest.$ac_ext
10770
- # OK, works on sane cases. Now check whether non-existent headers
10771
+ # OK, works on sane cases. Now check whether nonexistent headers
10772
# can be detected and how.
10773
- cat >conftest.$ac_ext <<_ACEOF
10774
-#line $LINENO "configure"
10777
-cat confdefs.h >>conftest.$ac_ext
10778
-cat >>conftest.$ac_ext <<_ACEOF
10779
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780
/* end confdefs.h. */
10781
#include <ac_nonexistent.h>
10783
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10784
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10786
- grep -v '^ *+' conftest.er1 >conftest.err
10787
- rm -f conftest.er1
10788
- cat conftest.err >&5
10789
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790
- (exit $ac_status); } >/dev/null; then
10791
- if test -s conftest.err; then
10792
- ac_cpp_err=$ac_c_preproc_warn_flag
10799
-if test -z "$ac_cpp_err"; then
10800
+if ac_fn_c_try_cpp "$LINENO"; then :
10801
# Broken: success on invalid input.
10804
- echo "$as_me: failed program was:" >&5
10805
-sed 's/^/| /' conftest.$ac_ext >&5
10807
# Passes both tests.
10811
-rm -f conftest.err conftest.$ac_ext
10812
+rm -f conftest.err conftest.i conftest.$ac_ext
10815
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10816
-rm -f conftest.err conftest.$ac_ext
10817
-if $ac_preproc_ok; then
10818
+rm -f conftest.i conftest.err conftest.$ac_ext
10819
+if $ac_preproc_ok; then :
10823
@@ -3549,8 +4302,8 @@ fi
10825
ac_cv_prog_CPP=$CPP
10827
-echo "$as_me:$LINENO: result: $CPP" >&5
10828
-echo "${ECHO_T}$CPP" >&6
10829
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
10830
+$as_echo "$CPP" >&6; }
10831
ac_preproc_ok=false
10832
for ac_c_preproc_warn_flag in '' yes
10834
@@ -3560,98 +4313,49 @@ do
10835
# <limits.h> exists even on freestanding compilers.
10836
# On the NeXT, cc -E runs the code through the compiler's parser,
10837
# not just through cpp. "Syntax error" is here to catch this case.
10838
- cat >conftest.$ac_ext <<_ACEOF
10839
-#line $LINENO "configure"
10842
-cat confdefs.h >>conftest.$ac_ext
10843
-cat >>conftest.$ac_ext <<_ACEOF
10844
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845
/* end confdefs.h. */
10847
# include <limits.h>
10849
# include <assert.h>
10854
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10855
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10857
- grep -v '^ *+' conftest.er1 >conftest.err
10858
- rm -f conftest.er1
10859
- cat conftest.err >&5
10860
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861
- (exit $ac_status); } >/dev/null; then
10862
- if test -s conftest.err; then
10863
- ac_cpp_err=$ac_c_preproc_warn_flag
10870
-if test -z "$ac_cpp_err"; then
10873
- echo "$as_me: failed program was:" >&5
10874
-sed 's/^/| /' conftest.$ac_ext >&5
10875
+if ac_fn_c_try_cpp "$LINENO"; then :
10878
# Broken: fails on valid input.
10881
-rm -f conftest.err conftest.$ac_ext
10882
+rm -f conftest.err conftest.i conftest.$ac_ext
10884
- # OK, works on sane cases. Now check whether non-existent headers
10885
+ # OK, works on sane cases. Now check whether nonexistent headers
10886
# can be detected and how.
10887
- cat >conftest.$ac_ext <<_ACEOF
10888
-#line $LINENO "configure"
10891
-cat confdefs.h >>conftest.$ac_ext
10892
-cat >>conftest.$ac_ext <<_ACEOF
10893
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894
/* end confdefs.h. */
10895
#include <ac_nonexistent.h>
10897
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10898
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10900
- grep -v '^ *+' conftest.er1 >conftest.err
10901
- rm -f conftest.er1
10902
- cat conftest.err >&5
10903
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904
- (exit $ac_status); } >/dev/null; then
10905
- if test -s conftest.err; then
10906
- ac_cpp_err=$ac_c_preproc_warn_flag
10913
-if test -z "$ac_cpp_err"; then
10914
+if ac_fn_c_try_cpp "$LINENO"; then :
10915
# Broken: success on invalid input.
10918
- echo "$as_me: failed program was:" >&5
10919
-sed 's/^/| /' conftest.$ac_ext >&5
10921
# Passes both tests.
10925
-rm -f conftest.err conftest.$ac_ext
10926
+rm -f conftest.err conftest.i conftest.$ac_ext
10929
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10930
-rm -f conftest.err conftest.$ac_ext
10931
-if $ac_preproc_ok; then
10933
+rm -f conftest.i conftest.err conftest.$ac_ext
10934
+if $ac_preproc_ok; then :
10937
- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10938
-See \`config.log' for more details." >&5
10939
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10940
-See \`config.log' for more details." >&2;}
10941
- { (exit 1); exit 1; }; }
10942
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10943
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10944
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
10945
+See \`config.log' for more details" "$LINENO" 5 ; }
10949
@@ -3661,32 +4365,142 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
10950
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10953
-echo "$as_me:$LINENO: checking for egrep" >&5
10954
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10955
-if test "${ac_cv_prog_egrep+set}" = set; then
10956
- echo $ECHO_N "(cached) $ECHO_C" >&6
10958
- if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10959
- then ac_cv_prog_egrep='grep -E'
10960
- else ac_cv_prog_egrep='egrep'
10961
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
10962
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
10963
+if test "${ac_cv_path_GREP+set}" = set; then :
10964
+ $as_echo_n "(cached) " >&6
10966
+ if test -z "$GREP"; then
10967
+ ac_path_GREP_found=false
10968
+ # Loop through the user's path and test for each of PROGNAME-LIST
10969
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10970
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
10973
+ test -z "$as_dir" && as_dir=.
10974
+ for ac_prog in grep ggrep; do
10975
+ for ac_exec_ext in '' $ac_executable_extensions; do
10976
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
10977
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
10978
+# Check for GNU ac_path_GREP and select it if it is found.
10979
+ # Check for GNU $ac_path_GREP
10980
+case `"$ac_path_GREP" --version 2>&1` in
10982
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
10985
+ $as_echo_n 0123456789 >"conftest.in"
10988
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
10989
+ mv "conftest.tmp" "conftest.in"
10990
+ cp "conftest.in" "conftest.nl"
10991
+ $as_echo 'GREP' >> "conftest.nl"
10992
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
10993
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10994
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
10995
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
10996
+ # Best one so far, save it but keep looking for a better one
10997
+ ac_cv_path_GREP="$ac_path_GREP"
10998
+ ac_path_GREP_max=$ac_count
11000
+ # 10*(2^10) chars as input seems more than enough
11001
+ test $ac_count -gt 10 && break
11003
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11006
+ $ac_path_GREP_found && break 3
11011
+ if test -z "$ac_cv_path_GREP"; then
11012
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11015
+ ac_cv_path_GREP=$GREP
11019
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
11020
+$as_echo "$ac_cv_path_GREP" >&6; }
11021
+ GREP="$ac_cv_path_GREP"
11024
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
11025
+$as_echo_n "checking for egrep... " >&6; }
11026
+if test "${ac_cv_path_EGREP+set}" = set; then :
11027
+ $as_echo_n "(cached) " >&6
11029
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11030
+ then ac_cv_path_EGREP="$GREP -E"
11032
+ if test -z "$EGREP"; then
11033
+ ac_path_EGREP_found=false
11034
+ # Loop through the user's path and test for each of PROGNAME-LIST
11035
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11036
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11039
+ test -z "$as_dir" && as_dir=.
11040
+ for ac_prog in egrep; do
11041
+ for ac_exec_ext in '' $ac_executable_extensions; do
11042
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
11043
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
11044
+# Check for GNU ac_path_EGREP and select it if it is found.
11045
+ # Check for GNU $ac_path_EGREP
11046
+case `"$ac_path_EGREP" --version 2>&1` in
11048
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11051
+ $as_echo_n 0123456789 >"conftest.in"
11054
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
11055
+ mv "conftest.tmp" "conftest.in"
11056
+ cp "conftest.in" "conftest.nl"
11057
+ $as_echo 'EGREP' >> "conftest.nl"
11058
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11059
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11060
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
11061
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11062
+ # Best one so far, save it but keep looking for a better one
11063
+ ac_cv_path_EGREP="$ac_path_EGREP"
11064
+ ac_path_EGREP_max=$ac_count
11066
+ # 10*(2^10) chars as input seems more than enough
11067
+ test $ac_count -gt 10 && break
11069
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11072
+ $ac_path_EGREP_found && break 3
11077
+ if test -z "$ac_cv_path_EGREP"; then
11078
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11081
+ ac_cv_path_EGREP=$EGREP
11083
-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11084
-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11085
- EGREP=$ac_cv_prog_egrep
11088
-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11089
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11090
-if test "${ac_cv_header_stdc+set}" = set; then
11091
- echo $ECHO_N "(cached) $ECHO_C" >&6
11093
- cat >conftest.$ac_ext <<_ACEOF
11094
-#line $LINENO "configure"
11097
-cat confdefs.h >>conftest.$ac_ext
11098
-cat >>conftest.$ac_ext <<_ACEOF
11102
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
11103
+$as_echo "$ac_cv_path_EGREP" >&6; }
11104
+ EGREP="$ac_cv_path_EGREP"
11107
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11108
+$as_echo_n "checking for ANSI C header files... " >&6; }
11109
+if test "${ac_cv_header_stdc+set}" = set; then :
11110
+ $as_echo_n "(cached) " >&6
11112
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113
/* end confdefs.h. */
11114
#include <stdlib.h>
11115
#include <stdarg.h>
11116
@@ -3701,42 +4515,23 @@ main ()
11120
-rm -f conftest.$ac_objext
11121
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11122
- (eval $ac_compile) 2>&5
11124
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125
- (exit $ac_status); } &&
11126
- { ac_try='test -s conftest.$ac_objext'
11127
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11128
- (eval $ac_try) 2>&5
11130
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131
- (exit $ac_status); }; }; then
11132
+if ac_fn_c_try_compile "$LINENO"; then :
11133
ac_cv_header_stdc=yes
11135
- echo "$as_me: failed program was:" >&5
11136
-sed 's/^/| /' conftest.$ac_ext >&5
11138
-ac_cv_header_stdc=no
11139
+ ac_cv_header_stdc=no
11141
-rm -f conftest.$ac_objext conftest.$ac_ext
11142
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11144
if test $ac_cv_header_stdc = yes; then
11145
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11146
- cat >conftest.$ac_ext <<_ACEOF
11147
-#line $LINENO "configure"
11150
-cat confdefs.h >>conftest.$ac_ext
11151
-cat >>conftest.$ac_ext <<_ACEOF
11152
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153
/* end confdefs.h. */
11154
#include <string.h>
11157
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11158
- $EGREP "memchr" >/dev/null 2>&1; then
11160
+ $EGREP "memchr" >/dev/null 2>&1; then :
11163
ac_cv_header_stdc=no
11165
@@ -3746,19 +4541,14 @@ fi
11167
if test $ac_cv_header_stdc = yes; then
11168
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11169
- cat >conftest.$ac_ext <<_ACEOF
11170
-#line $LINENO "configure"
11173
-cat confdefs.h >>conftest.$ac_ext
11174
-cat >>conftest.$ac_ext <<_ACEOF
11175
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176
/* end confdefs.h. */
11177
#include <stdlib.h>
11180
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11181
- $EGREP "free" >/dev/null 2>&1; then
11183
+ $EGREP "free" >/dev/null 2>&1; then :
11186
ac_cv_header_stdc=no
11188
@@ -3768,25 +4558,21 @@ fi
11190
if test $ac_cv_header_stdc = yes; then
11191
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11192
- if test "$cross_compiling" = yes; then
11193
+ if test "$cross_compiling" = yes; then :
11196
- cat >conftest.$ac_ext <<_ACEOF
11197
-#line $LINENO "configure"
11200
-cat confdefs.h >>conftest.$ac_ext
11201
-cat >>conftest.$ac_ext <<_ACEOF
11202
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203
/* end confdefs.h. */
11205
+#include <stdlib.h>
11206
#if ((' ' & 0x0FF) == 0x020)
11207
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11208
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11210
# define ISLOWER(c) \
11211
- (('a' <= (c) && (c) <= 'i') \
11212
- || ('j' <= (c) && (c) <= 'r') \
11213
- || ('s' <= (c) && (c) <= 'z'))
11214
+ (('a' <= (c) && (c) <= 'i') \
11215
+ || ('j' <= (c) && (c) <= 'r') \
11216
+ || ('s' <= (c) && (c) <= 'z'))
11217
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11220
@@ -3797,101 +4583,40 @@ main ()
11222
for (i = 0; i < 256; i++)
11223
if (XOR (islower (i), ISLOWER (i))
11224
- || toupper (i) != TOUPPER (i))
11227
+ || toupper (i) != TOUPPER (i))
11232
-rm -f conftest$ac_exeext
11233
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11234
- (eval $ac_link) 2>&5
11236
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11238
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239
- (eval $ac_try) 2>&5
11241
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242
- (exit $ac_status); }; }; then
11245
- echo "$as_me: program exited with status $ac_status" >&5
11246
-echo "$as_me: failed program was:" >&5
11247
-sed 's/^/| /' conftest.$ac_ext >&5
11248
+if ac_fn_c_try_run "$LINENO"; then :
11250
-( exit $ac_status )
11251
-ac_cv_header_stdc=no
11253
+ ac_cv_header_stdc=no
11255
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11256
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11257
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
11262
-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11263
-echo "${ECHO_T}$ac_cv_header_stdc" >&6
11264
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11265
+$as_echo "$ac_cv_header_stdc" >&6; }
11266
if test $ac_cv_header_stdc = yes; then
11268
-cat >>confdefs.h <<\_ACEOF
11269
-#define STDC_HEADERS 1
11271
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
11275
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
11285
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11286
- inttypes.h stdint.h unistd.h
11288
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11289
-echo "$as_me:$LINENO: checking for $ac_header" >&5
11290
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11291
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11292
- echo $ECHO_N "(cached) $ECHO_C" >&6
11294
- cat >conftest.$ac_ext <<_ACEOF
11295
-#line $LINENO "configure"
11298
-cat confdefs.h >>conftest.$ac_ext
11299
-cat >>conftest.$ac_ext <<_ACEOF
11300
-/* end confdefs.h. */
11301
-$ac_includes_default
11303
-#include <$ac_header>
11305
-rm -f conftest.$ac_objext
11306
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11307
- (eval $ac_compile) 2>&5
11309
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310
- (exit $ac_status); } &&
11311
- { ac_try='test -s conftest.$ac_objext'
11312
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313
- (eval $ac_try) 2>&5
11315
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316
- (exit $ac_status); }; }; then
11317
- eval "$as_ac_Header=yes"
11319
- echo "$as_me: failed program was:" >&5
11320
-sed 's/^/| /' conftest.$ac_ext >&5
11322
-eval "$as_ac_Header=no"
11324
-rm -f conftest.$ac_objext conftest.$ac_ext
11326
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11327
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11328
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
11329
+ inttypes.h stdint.h unistd.h
11331
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11332
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
11334
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11335
cat >>confdefs.h <<_ACEOF
11336
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11337
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11341
@@ -3899,142 +4624,13 @@ fi
11346
-for ac_header in unistd.h
11348
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11349
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11350
- echo "$as_me:$LINENO: checking for $ac_header" >&5
11351
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11352
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11353
- echo $ECHO_N "(cached) $ECHO_C" >&6
11355
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11356
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11358
- # Is the header compilable?
11359
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
11360
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11361
-cat >conftest.$ac_ext <<_ACEOF
11362
-#line $LINENO "configure"
11365
-cat confdefs.h >>conftest.$ac_ext
11366
-cat >>conftest.$ac_ext <<_ACEOF
11367
-/* end confdefs.h. */
11368
-$ac_includes_default
11369
-#include <$ac_header>
11371
-rm -f conftest.$ac_objext
11372
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11373
- (eval $ac_compile) 2>&5
11375
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376
- (exit $ac_status); } &&
11377
- { ac_try='test -s conftest.$ac_objext'
11378
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11379
- (eval $ac_try) 2>&5
11381
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382
- (exit $ac_status); }; }; then
11383
- ac_header_compiler=yes
11385
- echo "$as_me: failed program was:" >&5
11386
-sed 's/^/| /' conftest.$ac_ext >&5
11388
-ac_header_compiler=no
11390
-rm -f conftest.$ac_objext conftest.$ac_ext
11391
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11392
-echo "${ECHO_T}$ac_header_compiler" >&6
11394
-# Is the header present?
11395
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
11396
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11397
-cat >conftest.$ac_ext <<_ACEOF
11398
-#line $LINENO "configure"
11401
-cat confdefs.h >>conftest.$ac_ext
11402
-cat >>conftest.$ac_ext <<_ACEOF
11403
-/* end confdefs.h. */
11404
-#include <$ac_header>
11406
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11407
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11409
- grep -v '^ *+' conftest.er1 >conftest.err
11410
- rm -f conftest.er1
11411
- cat conftest.err >&5
11412
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413
- (exit $ac_status); } >/dev/null; then
11414
- if test -s conftest.err; then
11415
- ac_cpp_err=$ac_c_preproc_warn_flag
11422
-if test -z "$ac_cpp_err"; then
11423
- ac_header_preproc=yes
11425
- echo "$as_me: failed program was:" >&5
11426
-sed 's/^/| /' conftest.$ac_ext >&5
11428
- ac_header_preproc=no
11430
-rm -f conftest.err conftest.$ac_ext
11431
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11432
-echo "${ECHO_T}$ac_header_preproc" >&6
11434
-# So? What about this header?
11435
-case $ac_header_compiler:$ac_header_preproc in
11437
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11438
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11439
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11440
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11443
-## ------------------------------------ ##
11444
-## Report this to bug-autoconf@gnu.org. ##
11445
-## ------------------------------------ ##
11448
- sed "s/^/$as_me: WARNING: /" >&2
11451
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11452
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11453
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11454
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11455
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11456
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11459
-## ------------------------------------ ##
11460
-## Report this to bug-autoconf@gnu.org. ##
11461
-## ------------------------------------ ##
11464
- sed "s/^/$as_me: WARNING: /" >&2
11467
-echo "$as_me:$LINENO: checking for $ac_header" >&5
11468
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11469
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
11470
- echo $ECHO_N "(cached) $ECHO_C" >&6
11472
- eval "$as_ac_Header=$ac_header_preproc"
11474
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11475
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11478
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
11479
+for ac_header in stdlib.h string.h unistd.h
11481
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11482
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11483
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11484
cat >>confdefs.h <<_ACEOF
11485
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11486
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11490
@@ -4042,17 +4638,12 @@ fi
11494
-echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11495
-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
11496
-if test "${ac_cv_c_const+set}" = set; then
11497
- echo $ECHO_N "(cached) $ECHO_C" >&6
11498
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11499
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11500
+if test "${ac_cv_c_const+set}" = set; then :
11501
+ $as_echo_n "(cached) " >&6
11503
- cat >conftest.$ac_ext <<_ACEOF
11504
-#line $LINENO "configure"
11507
-cat confdefs.h >>conftest.$ac_ext
11508
-cat >>conftest.$ac_ext <<_ACEOF
11509
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510
/* end confdefs.h. */
11513
@@ -4062,10 +4653,10 @@ main ()
11514
#ifndef __cplusplus
11515
/* Ultrix mips cc rejects this. */
11516
typedef int charset[2];
11518
+ const charset cs;
11519
/* SunOS 4.1.1 cc rejects this. */
11520
- char const *const *ccp;
11522
+ char const *const *pcpcc;
11524
/* NEC SVR4.0.2 mips cc rejects this. */
11525
struct point {int x, y;};
11526
static struct point const zero = {0,0};
11527
@@ -4074,16 +4665,17 @@ main ()
11528
an arm of an if-expression whose if-part is not a constant
11530
const char *g = "string";
11531
- ccp = &g + (g ? g-g : 0);
11532
+ pcpcc = &g + (g ? g-g : 0);
11533
/* HPUX 7.0 cc rejects these. */
11535
- p = (char**) ccp;
11536
- ccp = (char const *const *) p;
11538
+ ppc = (char**) pcpcc;
11539
+ pcpcc = (char const *const *) ppc;
11540
{ /* SCO 3.2v4 cc rejects this. */
11542
char const *s = 0 ? (char *) 0 : (char const *) 0;
11547
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11548
int x[] = {25, 17};
11549
@@ -4102,192 +4694,447 @@ main ()
11551
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11552
const int foo = 10;
11553
+ if (!foo) return 0;
11555
+ return !cs[0] && !zero.x;
11562
-rm -f conftest.$ac_objext
11563
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11564
- (eval $ac_compile) 2>&5
11566
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567
- (exit $ac_status); } &&
11568
- { ac_try='test -s conftest.$ac_objext'
11569
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570
- (eval $ac_try) 2>&5
11572
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573
- (exit $ac_status); }; }; then
11574
+if ac_fn_c_try_compile "$LINENO"; then :
11577
- echo "$as_me: failed program was:" >&5
11578
-sed 's/^/| /' conftest.$ac_ext >&5
11583
-rm -f conftest.$ac_objext conftest.$ac_ext
11584
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11586
-echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11587
-echo "${ECHO_T}$ac_cv_c_const" >&6
11588
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11589
+$as_echo "$ac_cv_c_const" >&6; }
11590
if test $ac_cv_c_const = no; then
11592
-cat >>confdefs.h <<\_ACEOF
11595
+$as_echo "#define const /**/" >>confdefs.h
11600
-echo "$as_me:$LINENO: checking return type of signal handlers" >&5
11601
-echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
11602
-if test "${ac_cv_type_signal+set}" = set; then
11603
- echo $ECHO_N "(cached) $ECHO_C" >&6
11604
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
11605
+$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
11606
+if test "${ac_cv_header_stdbool_h+set}" = set; then :
11607
+ $as_echo_n "(cached) " >&6
11609
- cat >conftest.$ac_ext <<_ACEOF
11610
-#line $LINENO "configure"
11613
-cat confdefs.h >>conftest.$ac_ext
11614
-cat >>conftest.$ac_ext <<_ACEOF
11615
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616
/* end confdefs.h. */
11617
-#include <sys/types.h>
11618
-#include <signal.h>
11622
+#include <stdbool.h>
11624
+ "error: bool is not defined"
11626
-#ifdef __cplusplus
11627
-extern "C" void (*signal (int, void (*)(int)))(int);
11629
-void (*signal ()) ();
11631
+ "error: false is not defined"
11634
+ "error: false is not 0"
11637
+ "error: true is not defined"
11640
+ "error: true is not 1"
11642
+#ifndef __bool_true_false_are_defined
11643
+ "error: __bool_true_false_are_defined is not defined"
11646
+ struct s { _Bool s: 1; _Bool t; } s;
11648
+ char a[true == 1 ? 1 : -1];
11649
+ char b[false == 0 ? 1 : -1];
11650
+ char c[__bool_true_false_are_defined == 1 ? 1 : -1];
11651
+ char d[(bool) 0.5 == true ? 1 : -1];
11653
+ char f[(_Bool) 0.0 == false ? 1 : -1];
11655
+ char h[sizeof (_Bool)];
11656
+ char i[sizeof s.t];
11657
+ enum { j = false, k = true, l = false * true, m = true * 256 };
11658
+ /* The following fails for
11659
+ HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
11661
+ char o[sizeof n == m * sizeof n[0] ? 1 : -1];
11662
+ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
11663
+# if defined __xlc__ || defined __GNUC__
11664
+ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
11665
+ reported by James Lemley on 2005-10-05; see
11666
+ http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
11667
+ This test is not quite right, since xlc is allowed to
11668
+ reject this program, as the initializer for xlcbug is
11669
+ not one of the forms that C requires support for.
11670
+ However, doing the test right would require a runtime
11671
+ test, and that would make cross-compilation harder.
11672
+ Let us hope that IBM fixes the xlc bug, and also adds
11673
+ support for this kind of constant expression. In the
11674
+ meantime, this test will reject xlc, which is OK, since
11675
+ our stdbool.h substitute should suffice. We also test
11676
+ this with GCC, where it should work, to detect more
11677
+ quickly whether someone messes up the test in the
11679
+ char digs[] = "0123456789";
11680
+ int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
11682
+ /* Catch a bug in an HP-UX C compiler. See
11683
+ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
11684
+ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
11696
+ /* Refer to every declared value, to avoid compiler optimizations. */
11697
+ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
11698
+ + !m + !n + !o + !p + !q + !pq);
11704
-rm -f conftest.$ac_objext
11705
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11706
- (eval $ac_compile) 2>&5
11708
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709
- (exit $ac_status); } &&
11710
- { ac_try='test -s conftest.$ac_objext'
11711
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712
- (eval $ac_try) 2>&5
11714
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715
- (exit $ac_status); }; }; then
11716
- ac_cv_type_signal=void
11717
+if ac_fn_c_try_compile "$LINENO"; then :
11718
+ ac_cv_header_stdbool_h=yes
11720
- echo "$as_me: failed program was:" >&5
11721
-sed 's/^/| /' conftest.$ac_ext >&5
11722
+ ac_cv_header_stdbool_h=no
11724
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11726
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
11727
+$as_echo "$ac_cv_header_stdbool_h" >&6; }
11728
+ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
11729
+if test "x$ac_cv_type__Bool" = x""yes; then :
11731
+cat >>confdefs.h <<_ACEOF
11732
+#define HAVE__BOOL 1
11736
-ac_cv_type_signal=int
11738
-rm -f conftest.$ac_objext conftest.$ac_ext
11740
+if test $ac_cv_header_stdbool_h = yes; then
11742
+$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
11745
-echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
11746
-echo "${ECHO_T}$ac_cv_type_signal" >&6
11749
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11750
+if test "x$ac_cv_type_pid_t" = x""yes; then :
11754
cat >>confdefs.h <<_ACEOF
11755
-#define RETSIGTYPE $ac_cv_type_signal
11761
+for ac_header in vfork.h
11763
+ ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
11764
+if test "x$ac_cv_header_vfork_h" = x""yes; then :
11765
+ cat >>confdefs.h <<_ACEOF
11766
+#define HAVE_VFORK_H 1
11773
-for ac_func in mkdir strtol
11775
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11776
-echo "$as_me:$LINENO: checking for $ac_func" >&5
11777
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11778
-if eval "test \"\${$as_ac_var+set}\" = set"; then
11779
- echo $ECHO_N "(cached) $ECHO_C" >&6
11781
- cat >conftest.$ac_ext <<_ACEOF
11782
-#line $LINENO "configure"
11784
+for ac_func in fork vfork
11786
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11787
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11788
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11789
+ cat >>confdefs.h <<_ACEOF
11790
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11792
-cat confdefs.h >>conftest.$ac_ext
11793
-cat >>conftest.$ac_ext <<_ACEOF
11798
+if test "x$ac_cv_func_fork" = xyes; then
11799
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
11800
+$as_echo_n "checking for working fork... " >&6; }
11801
+if test "${ac_cv_func_fork_works+set}" = set; then :
11802
+ $as_echo_n "(cached) " >&6
11804
+ if test "$cross_compiling" = yes; then :
11805
+ ac_cv_func_fork_works=cross
11807
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11808
/* end confdefs.h. */
11809
-/* System header to define __stub macros and hopefully few prototypes,
11810
- which can conflict with char $ac_func (); below.
11811
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11812
- <limits.h> exists even on freestanding compilers. */
11814
-# include <limits.h>
11816
-# include <assert.h>
11818
-/* Override any gcc2 internal prototype to avoid an error. */
11819
-#ifdef __cplusplus
11821
+$ac_includes_default
11826
+ /* By Ruediger Kuhlmann. */
11827
+ return fork () < 0;
11833
+if ac_fn_c_try_run "$LINENO"; then :
11834
+ ac_cv_func_fork_works=yes
11836
+ ac_cv_func_fork_works=no
11838
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11839
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
11843
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
11844
+$as_echo "$ac_cv_func_fork_works" >&6; }
11847
+ ac_cv_func_fork_works=$ac_cv_func_fork
11849
+if test "x$ac_cv_func_fork_works" = xcross; then
11851
+ *-*-amigaos* | *-*-msdosdjgpp*)
11852
+ # Override, as these systems have only a dummy fork() stub
11853
+ ac_cv_func_fork_works=no
11856
+ ac_cv_func_fork_works=yes
11859
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11860
+$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11862
+ac_cv_func_vfork_works=$ac_cv_func_vfork
11863
+if test "x$ac_cv_func_vfork" = xyes; then
11864
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
11865
+$as_echo_n "checking for working vfork... " >&6; }
11866
+if test "${ac_cv_func_vfork_works+set}" = set; then :
11867
+ $as_echo_n "(cached) " >&6
11869
+ if test "$cross_compiling" = yes; then :
11870
+ ac_cv_func_vfork_works=cross
11872
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873
+/* end confdefs.h. */
11874
+/* Thanks to Paul Eggert for this test. */
11875
+$ac_includes_default
11876
+#include <sys/wait.h>
11877
+#ifdef HAVE_VFORK_H
11878
+# include <vfork.h>
11880
-/* We use char because int might match the return type of a gcc2
11881
- builtin and then its argument prototype would still apply. */
11883
-/* The GNU C library defines this for functions which it implements
11884
- to always fail with ENOSYS. Some functions are actually named
11885
- something starting with __ and the normal name is an alias. */
11886
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11889
-char (*f) () = $ac_func;
11891
+/* On some sparc systems, changes by the child to local and incoming
11892
+ argument registers are propagated back to the parent. The compiler
11893
+ is told about this with #include <vfork.h>, but some compilers
11894
+ (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11895
+ static variable whose address is put into a register that is
11896
+ clobbered by the vfork. */
11899
+sparc_address_test (int arg)
11901
+sparc_address_test (arg) int arg;
11904
+ static pid_t child;
11906
+ child = vfork ();
11908
+ perror ("vfork");
11913
+ write(-1, "", 0);
11922
+ pid_t parent = getpid ();
11925
+ sparc_address_test (0);
11927
+ child = vfork ();
11929
+ if (child == 0) {
11930
+ /* Here is another test for sparc vfork register problems. This
11931
+ test uses lots of local variables, at least as many local
11932
+ variables as main has allocated so far including compiler
11933
+ temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11934
+ 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11935
+ reuse the register of parent for one of the local variables,
11936
+ since it will think that parent can't possibly be used any more
11937
+ in this routine. Assigning to the local variable will thus
11938
+ munge parent in the parent process. */
11940
+ p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11941
+ p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11942
+ /* Convince the compiler that p..p7 are live; otherwise, it might
11943
+ use the same hardware register for all 8 local variables. */
11944
+ if (p != p1 || p != p2 || p != p3 || p != p4
11945
+ || p != p5 || p != p6 || p != p7)
11948
+ /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11949
+ from child file descriptors. If the child closes a descriptor
11950
+ before it execs or exits, this munges the parent's descriptor
11951
+ as well. Test for this by closing stdout in the child. */
11952
+ _exit(close(fileno(stdout)) != 0);
11957
+ while (wait(&status) != child)
11960
+ /* Was there some problem with vforking? */
11963
+ /* Did the child fail? (This shouldn't happen.) */
11966
+ /* Did the vfork/compiler bug occur? */
11967
+ || parent != getpid()
11969
+ /* Did the file descriptor bug occur? */
11970
+ || fstat(fileno(stdout), &st) != 0
11975
+if ac_fn_c_try_run "$LINENO"; then :
11976
+ ac_cv_func_vfork_works=yes
11978
+ ac_cv_func_vfork_works=no
11980
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11981
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
11985
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
11986
+$as_echo "$ac_cv_func_vfork_works" >&6; }
11989
+if test "x$ac_cv_func_fork_works" = xcross; then
11990
+ ac_cv_func_vfork_works=$ac_cv_func_vfork
11991
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11992
+$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11995
+if test "x$ac_cv_func_vfork_works" = xyes; then
11997
+$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
12001
+$as_echo "#define vfork fork" >>confdefs.h
12004
+if test "x$ac_cv_func_fork_works" = xyes; then
12006
+$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
12010
+for ac_header in stdlib.h
12012
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12013
+if test "x$ac_cv_header_stdlib_h" = x""yes; then :
12014
+ cat >>confdefs.h <<_ACEOF
12015
+#define HAVE_STDLIB_H 1
12022
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12023
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12024
+if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
12025
+ $as_echo_n "(cached) " >&6
12027
+ if test "$cross_compiling" = yes; then :
12028
+ ac_cv_func_malloc_0_nonnull=no
12030
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031
+/* end confdefs.h. */
12032
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
12033
+# include <stdlib.h>
12041
-return f != $ac_func;
12042
+return ! malloc (0);
12047
-rm -f conftest.$ac_objext conftest$ac_exeext
12048
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12049
- (eval $ac_link) 2>&5
12051
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052
- (exit $ac_status); } &&
12053
- { ac_try='test -s conftest$ac_exeext'
12054
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055
- (eval $ac_try) 2>&5
12057
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058
- (exit $ac_status); }; }; then
12059
- eval "$as_ac_var=yes"
12060
+if ac_fn_c_try_run "$LINENO"; then :
12061
+ ac_cv_func_malloc_0_nonnull=yes
12063
- echo "$as_me: failed program was:" >&5
12064
-sed 's/^/| /' conftest.$ac_ext >&5
12065
+ ac_cv_func_malloc_0_nonnull=no
12067
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12068
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
12071
-eval "$as_ac_var=no"
12073
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12074
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12075
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12076
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
12078
+$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12081
+ $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12083
+ case " $LIBOBJS " in
12084
+ *" malloc.$ac_objext "* ) ;;
12085
+ *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12090
+$as_echo "#define malloc rpl_malloc" >>confdefs.h
12093
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12094
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12095
-if test `eval echo '${'$as_ac_var'}'` = yes; then
12098
+for ac_func in getcwd memset mkdir sqrt strcasecmp strncasecmp strpbrk strstr strtol
12100
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12101
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12102
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12103
cat >>confdefs.h <<_ACEOF
12104
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12105
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12112
- ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile sounds/Makefile pixmaps/Makefile"
12113
+ac_config_files="$ac_config_files Makefile doc/Makefile pixmaps/Makefile sounds/Makefile src/Makefile"
12115
cat >confcache <<\_ACEOF
12116
# This file is a shell script that caches the results of configure
12117
# tests run on this system so they can be shared between configure
12118
@@ -4306,39 +5153,59 @@ _ACEOF
12120
# The following way of writing the cache mishandles newlines in values,
12121
# but we know of no workaround that is simple, portable, and efficient.
12122
-# So, don't put newlines in cache variables' values.
12123
+# So, we kill variables containing newlines.
12124
# Ultrix sh set writes to stderr and can't be redirected directly,
12125
# and sets the high bit in the cache file unless we assign to the vars.
12128
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12129
+ eval ac_val=\$$ac_var
12130
+ case $ac_val in #(
12132
+ case $ac_var in #(
12133
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12134
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12136
+ case $ac_var in #(
12137
+ _ | IFS | as_nl) ;; #(
12138
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12139
+ *) { eval $ac_var=; unset $ac_var;} ;;
12145
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
12147
- # `set' does not quote correctly, so add quotes (double-quote
12148
- # substitution turns \\\\ into \\, and sed turns \\ into \).
12149
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
12150
+ *${as_nl}ac_space=\ *)
12151
+ # `set' does not quote correctly, so add quotes: double-quote
12152
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
12155
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12158
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12161
# `set' quotes correctly as required by POSIX, so do not add quotes.
12163
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12164
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12172
+ /^ac_cv_env_/b end
12176
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12178
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12179
- : end' >>confcache
12180
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
12181
- if test -w $cache_file; then
12182
- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12183
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12184
+ :end' >>confcache
12185
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12186
+ if test -w "$cache_file"; then
12187
+ test "x$cache_file" != "x/dev/null" &&
12188
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12189
+$as_echo "$as_me: updating cache $cache_file" >&6;}
12190
cat confcache >$cache_file
12192
- echo "not updating unwritable cache $cache_file"
12193
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12194
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12198
@@ -4347,59 +5214,54 @@ test "x$prefix" = xNONE && prefix=$ac_de
12199
# Let make expand exec_prefix.
12200
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12202
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
12203
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12204
-# trailing colons and then remove the whole line if VPATH becomes empty
12205
-# (actually we leave an empty line to preserve line numbers).
12206
-if test "x$srcdir" = x.; then
12207
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
12208
-s/:*\$(srcdir):*/:/;
12209
-s/:*\${srcdir}:*/:/;
12210
-s/:*@srcdir@:*/:/;
12211
-s/^\([^=]*=[ ]*\):*/\1/;
12217
DEFS=-DHAVE_CONFIG_H
12222
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12223
# 1. Remove the extension, and $U if already installed.
12224
- ac_i=`echo "$ac_i" |
12225
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12227
- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12228
- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12229
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12230
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12231
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12232
+ # will be set to the directory where LIBOBJS objects are built.
12233
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12234
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12236
LIBOBJS=$ac_libobjs
12238
LTLIBOBJS=$ac_ltlibobjs
12241
+ if test -n "$EXEEXT"; then
12243
+ am__EXEEXT_FALSE='#'
12245
+ am__EXEEXT_TRUE='#'
12246
+ am__EXEEXT_FALSE=
12249
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12250
- { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12251
-Usually this means the macro was only invoked conditionally." >&5
12252
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
12253
-Usually this means the macro was only invoked conditionally." >&2;}
12254
- { (exit 1); exit 1; }; }
12255
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
12256
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
12258
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12259
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12260
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
12262
if test -z "${WITH_GNOME_TRUE}" && test -z "${WITH_GNOME_FALSE}"; then
12263
- { { echo "$as_me:$LINENO: error: conditional \"WITH_GNOME\" was never defined.
12264
-Usually this means the macro was only invoked conditionally." >&5
12265
-echo "$as_me: error: conditional \"WITH_GNOME\" was never defined.
12266
-Usually this means the macro was only invoked conditionally." >&2;}
12267
- { (exit 1); exit 1; }; }
12268
+ as_fn_error $? "conditional \"WITH_GNOME\" was never defined.
12269
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
12272
: ${CONFIG_STATUS=./config.status}
12274
ac_clean_files_save=$ac_clean_files
12275
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12276
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12277
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
12278
-cat >$CONFIG_STATUS <<_ACEOF
12279
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12280
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12282
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12284
# Generated by $as_me.
12285
# Run this file to recreate the current configuration.
12286
@@ -4409,80 +5271,252 @@ cat >$CONFIG_STATUS <<_ACEOF
12288
ac_cs_recheck=false
12290
-SHELL=\${CONFIG_SHELL-$SHELL}
12293
-cat >>$CONFIG_STATUS <<\_ACEOF
12294
-## --------------------- ##
12295
-## M4sh Initialization. ##
12296
-## --------------------- ##
12298
-# Be Bourne compatible
12299
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12300
+SHELL=\${CONFIG_SHELL-$SHELL}
12303
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12304
+## -------------------- ##
12305
+## M4sh Initialization. ##
12306
+## -------------------- ##
12308
+# Be more Bourne compatible
12309
+DUALCASE=1; export DUALCASE # for MKS sh
12310
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12313
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12314
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12315
# is contrary to our usage. Disable this feature.
12316
alias -g '${1+"$@"}'='"$@"'
12317
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12319
+ setopt NO_GLOB_SUBST
12321
+ case `(set -o) 2>/dev/null` in #(
12323
+ set -o posix ;; #(
12329
-# Support unset when possible.
12330
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
12338
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
12339
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12340
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12341
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12342
+# Prefer a ksh shell builtin over an external printf program on Solaris,
12343
+# but without wasting forks for bash or zsh.
12344
+if test -z "$BASH_VERSION$ZSH_VERSION" \
12345
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12346
+ as_echo='print -r --'
12347
+ as_echo_n='print -rn --'
12348
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12349
+ as_echo='printf %s\n'
12350
+ as_echo_n='printf %s'
12352
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12353
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12354
+ as_echo_n='/usr/ucb/echo -n'
12356
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12357
+ as_echo_n_body='eval
12361
+ expr "X$arg" : "X\\(.*\\)$as_nl";
12362
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12364
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12366
+ export as_echo_n_body
12367
+ as_echo_n='sh -c $as_echo_n_body as_echo'
12369
+ export as_echo_body
12370
+ as_echo='sh -c $as_echo_body as_echo'
12373
+# The user is always right.
12374
+if test "${PATH_SEPARATOR+set}" != set; then
12376
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12377
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12378
+ PATH_SEPARATOR=';'
12383
-# Work around bugs in pre-3.0 UWIN ksh.
12384
-$as_unset ENV MAIL MAILPATH
12386
+# We need space, tab and new line, in precisely that order. Quoting is
12387
+# there to prevent editors from complaining about space-tab.
12388
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12389
+# splitting by setting IFS to empty value.)
12392
+# Find who we are. Look in the path if we contain no directory separator.
12394
+ *[\\/]* ) as_myself=$0 ;;
12395
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12396
+for as_dir in $PATH
12399
+ test -z "$as_dir" && as_dir=.
12400
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12406
+# We did not find ourselves, most probably we were run as `sh COMMAND'
12407
+# in which case we are not to be found in the path.
12408
+if test "x$as_myself" = x; then
12411
+if test ! -f "$as_myself"; then
12412
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12416
+# Unset variables that we do not need and which cause bugs (e.g. in
12417
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12418
+# suppresses any "Segmentation fault" message there. '((' could
12419
+# trigger a bug in pdksh 5.2.14.
12420
+for as_var in BASH_ENV ENV MAIL MAILPATH
12421
+do eval test x\${$as_var+set} = xset \
12422
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12430
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12431
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12432
- LC_TELEPHONE LC_TIME
12434
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
12435
- eval $as_var=C; export $as_var
12437
- $as_unset $as_var
12446
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12449
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
12450
+# ----------------------------------------
12451
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12452
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12453
+# script with STATUS, using 1 if that was 0.
12456
+ as_status=$1; test $as_status -eq 0 && as_status=1
12457
+ if test "$4"; then
12458
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12459
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12461
+ $as_echo "$as_me: error: $2" >&2
12462
+ as_fn_exit $as_status
12466
+# as_fn_set_status STATUS
12467
+# -----------------------
12468
+# Set $? to STATUS, without forking.
12469
+as_fn_set_status ()
12472
+} # as_fn_set_status
12474
+# as_fn_exit STATUS
12475
+# -----------------
12476
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12480
+ as_fn_set_status $1
12486
+# Portably unset VAR.
12489
+ { eval $1=; unset $1;}
12491
+as_unset=as_fn_unset
12492
+# as_fn_append VAR VALUE
12493
+# ----------------------
12494
+# Append the text in VALUE to the end of the definition contained in VAR. Take
12495
+# advantage of any shell optimizations that allow amortized linear growth over
12496
+# repeated appends, instead of the typical quadratic growth present in naive
12497
+# implementations.
12498
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12499
+ eval 'as_fn_append ()
12510
+# as_fn_arith ARG...
12511
+# ------------------
12512
+# Perform arithmetic evaluation on the ARGs, and store the result in the
12513
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
12514
+# must be portable across $(()) and expr.
12515
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12516
+ eval 'as_fn_arith ()
12523
+ as_val=`expr "$@" || test $? -eq 1`
12527
-# Required to use basename.
12528
-if expr a : '\(a\)' >/dev/null 2>&1; then
12530
+if expr a : '\(a\)' >/dev/null 2>&1 &&
12531
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
12537
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12538
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12539
as_basename=basename
12544
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12545
+ as_dirname=dirname
12550
-# Name of the executable.
12551
-as_me=`$as_basename "$0" ||
12552
+as_me=`$as_basename -- "$0" ||
12553
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12554
X"$0" : 'X\(//\)$' \| \
12555
- X"$0" : 'X\(/\)$' \| \
12556
- . : '\(.\)' 2>/dev/null ||
12558
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12559
- /^X\/\(\/\/\)$/{ s//\1/; q; }
12560
- /^X\/\(\/\).*/{ s//\1/; q; }
12563
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12565
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
12579
-# PATH needs CR, and LINENO needs CR and PATH.
12580
# Avoid depending upon Character Ranges.
12581
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12582
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12583
@@ -4490,180 +5524,145 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE
12584
as_cr_digits='0123456789'
12585
as_cr_alnum=$as_cr_Letters$as_cr_digits
12587
-# The user is always right.
12588
-if test "${PATH_SEPARATOR+set}" != set; then
12589
- echo "#! /bin/sh" >conf$$.sh
12590
- echo "exit 0" >>conf$$.sh
12591
- chmod +x conf$$.sh
12592
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12593
- PATH_SEPARATOR=';'
12601
- as_lineno_1=$LINENO
12602
- as_lineno_2=$LINENO
12603
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12604
- test "x$as_lineno_1" != "x$as_lineno_2" &&
12605
- test "x$as_lineno_3" = "x$as_lineno_2" || {
12606
- # Find who we are. Look in the path if we contain no path at all
12607
- # relative or not.
12609
- *[\\/]* ) as_myself=$0 ;;
12610
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12611
-for as_dir in $PATH
12614
- test -z "$as_dir" && as_dir=.
12615
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12620
- # We did not find ourselves, most probably we were run as `sh COMMAND'
12621
- # in which case we are not to be found in the path.
12622
- if test "x$as_myself" = x; then
12625
- if test ! -f "$as_myself"; then
12626
- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12627
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12628
- { (exit 1); exit 1; }; }
12630
- case $CONFIG_SHELL in
12632
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12633
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12636
- test -z "$as_dir" && as_dir=.
12637
- for as_base in sh bash ksh sh5; do
12640
- if ("$as_dir/$as_base" -c '
12641
- as_lineno_1=$LINENO
12642
- as_lineno_2=$LINENO
12643
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12644
- test "x$as_lineno_1" != "x$as_lineno_2" &&
12645
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12646
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12647
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12648
- CONFIG_SHELL=$as_dir/$as_base
12649
- export CONFIG_SHELL
12650
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12658
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12659
- # uniformly replaced by the line number. The first 'sed' inserts a
12660
- # line-number line before each line; the second 'sed' does the real
12661
- # work. The second script uses 'N' to pair each line-number line
12662
- # with the numbered line, and appends trailing '-' during
12663
- # substitution so that $LINENO is not a special case at line end.
12664
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12665
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12666
- sed '=' <$as_myself |
12671
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12674
- s,^['$as_cr_digits']*\n,,
12675
- ' >$as_me.lineno &&
12676
- chmod +x $as_me.lineno ||
12677
- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12678
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12679
- { (exit 1); exit 1; }; }
12681
- # Don't try to exec as it changes $[0], causing all sort of problems
12682
- # (the dirname of $[0] is not the place where we might find the
12683
- # original and so on. Autoconf is especially sensible to this).
12684
- . ./$as_me.lineno
12685
- # Exit status is that of the last command.
12690
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12691
- *c*,-n*) ECHO_N= ECHO_C='
12693
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12694
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12695
+ECHO_C= ECHO_N= ECHO_T=
12696
+case `echo -n x` in #(((((
12698
+ case `echo 'xy\c'` in
12699
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12700
+ xy) ECHO_C='\c';;
12701
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12708
-if expr a : '\(a\)' >/dev/null 2>&1; then
12710
+rm -f conf$$ conf$$.exe conf$$.file
12711
+if test -d conf$$.dir; then
12712
+ rm -f conf$$.dir/conf$$.file
12716
+ mkdir conf$$.dir 2>/dev/null
12719
-rm -f conf$$ conf$$.exe conf$$.file
12721
-if ln -s conf$$.file conf$$ 2>/dev/null; then
12722
- # We could just check for DJGPP; but this test a) works b) is more generic
12723
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12724
- if test -f conf$$.exe; then
12725
- # Don't use ln at all; we don't have any links
12728
+if (echo >conf$$.file) 2>/dev/null; then
12729
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
12731
+ # ... but there are two gotchas:
12732
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12733
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12734
+ # In both cases, we have to default to `cp -p'.
12735
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12737
+ elif ln conf$$.file conf$$ 2>/dev/null; then
12742
-elif ln conf$$.file conf$$ 2>/dev/null; then
12747
-rm -f conf$$ conf$$.exe conf$$.file
12748
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12749
+rmdir conf$$.dir 2>/dev/null
12754
+# Create "$as_dir" as a directory, including parents if necessary.
12758
+ case $as_dir in #(
12759
+ -*) as_dir=./$as_dir;;
12761
+ test -d "$as_dir" || eval $as_mkdir_p || {
12764
+ case $as_dir in #(
12765
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12766
+ *) as_qdir=$as_dir;;
12768
+ as_dirs="'$as_qdir' $as_dirs"
12769
+ as_dir=`$as_dirname -- "$as_dir" ||
12770
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12771
+ X"$as_dir" : 'X\(//\)[^/]' \| \
12772
+ X"$as_dir" : 'X\(//\)$' \| \
12773
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12774
+$as_echo X"$as_dir" |
12775
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12779
+ /^X\(\/\/\)[^/].*/{
12792
+ test -d "$as_dir" && break
12794
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
12795
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12799
if mkdir -p . 2>/dev/null; then
12801
+ as_mkdir_p='mkdir -p "$as_dir"'
12803
+ test -d ./-p && rmdir ./-p
12807
-as_executable_p="test -f"
12808
+if test -x / >/dev/null 2>&1; then
12809
+ as_test_x='test -x'
12811
+ if ls -dL / >/dev/null 2>&1; then
12818
+ if test -d "$1"; then
12824
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12825
+ ???[sx]*):;;*)false;;esac;fi
12829
+as_executable_p=$as_test_x
12831
# Sed expression to map a string onto a valid CPP name.
12832
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
12833
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12835
# Sed expression to map a string onto a valid variable name.
12836
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
12840
-# We need space, tab and new line, in precisely that order.
12844
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12850
+## ----------------------------------- ##
12851
+## Main body of $CONFIG_STATUS script. ##
12852
+## ----------------------------------- ##
12854
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12856
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
12857
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12858
+# Save the log message, to keep $0 and so on meaningful, and to
12859
# report actual input values of CONFIG_FILES etc. instead of their
12860
-# values after options handling. Logging --version etc. is OK.
12861
-exec 5>>config.log
12864
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12865
-## Running $as_me. ##
12870
-This file was extended by $as_me, which was
12871
-generated by GNU Autoconf 2.57. Invocation command line was
12872
+# values after options handling.
12874
+This file was extended by gtkboard $as_me 0.11pre0, which was
12875
+generated by GNU Autoconf 2.67. Invocation command line was
12877
CONFIG_FILES = $CONFIG_FILES
12878
CONFIG_HEADERS = $CONFIG_HEADERS
12879
@@ -4671,44 +5670,46 @@ generated by GNU Autoconf 2.57. Invocat
12880
CONFIG_COMMANDS = $CONFIG_COMMANDS
12884
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12886
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
12891
-# Files that config.status was made for.
12892
-if test -n "$ac_config_files"; then
12893
- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12895
+case $ac_config_files in *"
12896
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
12899
-if test -n "$ac_config_headers"; then
12900
- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12902
+case $ac_config_headers in *"
12903
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12906
-if test -n "$ac_config_links"; then
12907
- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12910
-if test -n "$ac_config_commands"; then
12911
- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12913
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12914
+# Files that config.status was made for.
12915
+config_files="$ac_config_files"
12916
+config_headers="$ac_config_headers"
12917
+config_commands="$ac_config_commands"
12919
-cat >>$CONFIG_STATUS <<\_ACEOF
12922
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12924
-\`$as_me' instantiates files from templates according to the
12925
-current configuration.
12926
+\`$as_me' instantiates files and other configuration actions
12927
+from templates according to the current configuration. Unless the files
12928
+and actions are specified as TAGs, all are instantiated by default.
12930
-Usage: $0 [OPTIONS] [FILE]...
12931
+Usage: $0 [OPTION]... [TAG]...
12933
-h, --help print this help, then exit
12934
- -V, --version print version number, then exit
12935
- -q, --quiet do not print progress messages
12936
+ -V, --version print version number and configuration settings, then exit
12937
+ --config print configuration, then exit
12938
+ -q, --quiet, --silent
12939
+ do not print progress messages
12940
-d, --debug don't remove temporary files
12941
--recheck update $as_me by reconfiguring in the same conditions
12942
- --file=FILE[:TEMPLATE]
12943
+ --file=FILE[:TEMPLATE]
12944
instantiate the configuration file FILE
12945
- --header=FILE[:TEMPLATE]
12946
+ --header=FILE[:TEMPLATE]
12947
instantiate the configuration header FILE
12949
Configuration files:
12950
@@ -4720,85 +5721,92 @@ $config_headers
12951
Configuration commands:
12954
-Report bugs to <bug-autoconf@gnu.org>."
12956
+Report bugs to the package provider."
12958
-cat >>$CONFIG_STATUS <<_ACEOF
12960
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12961
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12964
-configured by $0, generated by GNU Autoconf 2.57,
12965
- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12966
+gtkboard config.status 0.11pre0
12967
+configured by $0, generated by GNU Autoconf 2.67,
12968
+ with options \\"\$ac_cs_config\\"
12970
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
12971
-Free Software Foundation, Inc.
12972
+Copyright (C) 2010 Free Software Foundation, Inc.
12973
This config.status script is free software; the Free Software Foundation
12974
gives unlimited permission to copy, distribute and modify it."
12976
-INSTALL="$INSTALL"
12980
+INSTALL='$INSTALL'
12981
+MKDIR_P='$MKDIR_P'
12983
+test -n "\$AWK" || AWK=awk
12986
-cat >>$CONFIG_STATUS <<\_ACEOF
12987
-# If no file are specified by the user, then we need to provide default
12988
-# value. By we need to know if files were specified by the user.
12989
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12990
+# The default lists apply if the user does not specify any file.
12996
- ac_option=`expr "x$1" : 'x\([^=]*\)='`
12997
- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12999
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
13000
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13004
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
13014
- *) # This is not an option, so the user has probably given explicit
13017
- ac_need_defaults=false;;
13021
# Handling of the options.
13023
-cat >>$CONFIG_STATUS <<\_ACEOF
13024
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13026
- --version | --vers* | -V )
13027
- echo "$ac_cs_version"; exit 0 ;;
13029
- # Conflict between --help and --header
13030
- { { echo "$as_me:$LINENO: error: ambiguous option: $1
13031
-Try \`$0 --help' for more information." >&5
13032
-echo "$as_me: error: ambiguous option: $1
13033
-Try \`$0 --help' for more information." >&2;}
13034
- { (exit 1); exit 1; }; };;
13035
- --help | --hel | -h )
13036
- echo "$ac_cs_usage"; exit 0 ;;
13037
- --debug | --d* | -d )
13038
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13039
+ $as_echo "$ac_cs_version"; exit ;;
13040
+ --config | --confi | --conf | --con | --co | --c )
13041
+ $as_echo "$ac_cs_config"; exit ;;
13042
+ --debug | --debu | --deb | --de | --d | -d )
13044
--file | --fil | --fi | --f )
13046
- CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13047
+ case $ac_optarg in
13048
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13049
+ '') as_fn_error $? "missing file argument" ;;
13051
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
13052
ac_need_defaults=false;;
13053
--header | --heade | --head | --hea )
13055
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13056
+ case $ac_optarg in
13057
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13059
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13060
ac_need_defaults=false;;
13062
+ # Conflict between --help and --header
13063
+ as_fn_error $? "ambiguous option: \`$1'
13064
+Try \`$0 --help' for more information.";;
13065
+ --help | --hel | -h )
13066
+ $as_echo "$ac_cs_usage"; exit ;;
13067
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13068
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13071
# This is an error.
13072
- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13073
-Try \`$0 --help' for more information." >&5
13074
-echo "$as_me: error: unrecognized option: $1
13075
-Try \`$0 --help' for more information." >&2;}
13076
- { (exit 1); exit 1; }; } ;;
13077
+ -*) as_fn_error $? "unrecognized option: \`$1'
13078
+Try \`$0 --help' for more information." ;;
13080
- *) ac_config_targets="$ac_config_targets $1" ;;
13081
+ *) as_fn_append ac_config_targets " $1"
13082
+ ac_need_defaults=false ;;
13086
@@ -4812,43 +5820,55 @@ if $ac_cs_silent; then
13090
-cat >>$CONFIG_STATUS <<_ACEOF
13091
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13092
if \$ac_cs_recheck; then
13093
- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13094
- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13095
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13097
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13098
+ CONFIG_SHELL='$SHELL'
13099
+ export CONFIG_SHELL
13104
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13105
+exec 5>>config.log
13108
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13109
+## Running $as_me. ##
13111
+ $as_echo "$ac_log"
13114
-cat >>$CONFIG_STATUS <<_ACEOF
13116
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13118
-# INIT-COMMANDS section.
13122
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13126
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13129
-cat >>$CONFIG_STATUS <<\_ACEOF
13130
+# Handling of arguments.
13131
for ac_config_target in $ac_config_targets
13133
- case "$ac_config_target" in
13134
- # Handling of arguments.
13135
- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13136
- "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13137
- "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13138
- "sounds/Makefile" ) CONFIG_FILES="$CONFIG_FILES sounds/Makefile" ;;
13139
- "pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
13140
- "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13141
- "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13142
- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13143
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13144
- { (exit 1); exit 1; }; };;
13145
+ case $ac_config_target in
13146
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13147
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13148
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13149
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13150
+ "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
13151
+ "sounds/Makefile") CONFIG_FILES="$CONFIG_FILES sounds/Makefile" ;;
13152
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13154
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13159
# If the user did not use the arguments to specify the items to instantiate,
13160
# then the envvar interface is used. Set only those that are not.
13161
# We use the long form for the default assignment because of an extremely
13162
@@ -4860,720 +5880,688 @@ if $ac_need_defaults; then
13165
# Have a temporary directory for convenience. Make it in the build tree
13166
-# simply because there is no reason to put it here, and in addition,
13167
+# simply because there is no reason against having it here, and in addition,
13168
# creating and moving files from /tmp can sometimes cause problems.
13169
-# Create a temporary directory, and hook for its removal unless debugging.
13170
+# Hook for its removal unless debugging.
13171
+# Note that there is a small window in which the directory will not be cleaned:
13172
+# after its creation but before its name has been assigned to `$tmp'.
13175
- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13176
- trap '{ (exit 1); exit 1; }' 1 2 13 15
13178
+ trap 'exit_status=$?
13179
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13181
+ trap 'as_fn_exit 1' 1 2 13 15
13184
# Create a (secure) tmp directory for tmp files.
13187
- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13188
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13189
test -n "$tmp" && test -d "$tmp"
13192
- tmp=./confstat$$-$RANDOM
13193
- (umask 077 && mkdir $tmp)
13195
+ tmp=./conf$$-$RANDOM
13196
+ (umask 077 && mkdir "$tmp")
13197
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13199
+# Set up the scripts for CONFIG_FILES section.
13200
+# No need to generate them if there are no CONFIG_FILES.
13201
+# This happens for instance with `./config.status config.h'.
13202
+if test -n "$CONFIG_FILES"; then
13205
+ac_cr=`echo X | tr X '\015'`
13206
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
13207
+# But we know of no other shell where ac_cr would be empty at this
13208
+# point, so we can use a bashism as a fallback.
13209
+if test "x$ac_cr" = x; then
13210
+ eval ac_cr=\$\'\\r\'
13212
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13213
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13214
+ ac_cs_awk_cr='\\r'
13216
+ ac_cs_awk_cr=$ac_cr
13219
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
13224
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
13225
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13227
+} >conf$$subs.sh ||
13228
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13229
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13231
+for ac_last_try in false false false false false :; do
13232
+ . ./conf$$subs.sh ||
13233
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13235
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13236
+ if test $ac_delim_n = $ac_delim_num; then
13238
+ elif $ac_last_try; then
13239
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13241
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13244
+rm -f conf$$subs.sh
13246
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13247
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13251
+s/^/S["/; s/!.*/"]=/
13257
+s/'"$ac_delim"'$//
13261
+s/\(.\{148\}\)..*/\1/
13263
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13268
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13275
+s/\(.\{148\}\)..*/\1/
13277
+s/["\\]/\\&/g; s/^/"/; s/$/"/
13281
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13286
+' <conf$$subs.awk | sed '
13291
+' >>$CONFIG_STATUS || ac_write_fail=1
13292
+rm -f conf$$subs.awk
13293
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13295
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13296
+ for (key in S) S_is_set[key] = 1
13301
- echo "$me: cannot create a temporary directory in ." >&2
13302
- { (exit 1); exit 1; }
13304
+ nfields = split(line, field, "@")
13306
+ len = length(field[1])
13307
+ for (i = 2; i < nfields; i++) {
13309
+ keylen = length(key)
13310
+ if (S_is_set[key]) {
13312
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13313
+ len += length(value) + length(field[++i])
13316
+ len += 1 + keylen
13324
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13325
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13326
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13329
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13330
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13333
-cat >>$CONFIG_STATUS <<_ACEOF
13334
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13335
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13336
+# trailing colons and then remove the whole line if VPATH becomes empty
13337
+# (actually we leave an empty line to preserve line numbers).
13338
+if test "x$srcdir" = x.; then
13339
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13344
+s/:\$(srcdir):/:/g
13345
+s/:\${srcdir}:/:/g
13358
-# CONFIG_FILES section.
13360
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13361
+fi # test -n "$CONFIG_FILES"
13363
-# No need to generate the scripts if there are no CONFIG_FILES.
13364
-# This happens for instance when ./config.status config.h
13365
-if test -n "\$CONFIG_FILES"; then
13366
- # Protect against being on the right side of a sed subst in config.status.
13367
- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13368
- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13369
-s,@SHELL@,$SHELL,;t t
13370
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13371
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13372
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13373
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13374
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13375
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13376
-s,@exec_prefix@,$exec_prefix,;t t
13377
-s,@prefix@,$prefix,;t t
13378
-s,@program_transform_name@,$program_transform_name,;t t
13379
-s,@bindir@,$bindir,;t t
13380
-s,@sbindir@,$sbindir,;t t
13381
-s,@libexecdir@,$libexecdir,;t t
13382
-s,@datadir@,$datadir,;t t
13383
-s,@sysconfdir@,$sysconfdir,;t t
13384
-s,@sharedstatedir@,$sharedstatedir,;t t
13385
-s,@localstatedir@,$localstatedir,;t t
13386
-s,@libdir@,$libdir,;t t
13387
-s,@includedir@,$includedir,;t t
13388
-s,@oldincludedir@,$oldincludedir,;t t
13389
-s,@infodir@,$infodir,;t t
13390
-s,@mandir@,$mandir,;t t
13391
-s,@build_alias@,$build_alias,;t t
13392
-s,@host_alias@,$host_alias,;t t
13393
-s,@target_alias@,$target_alias,;t t
13394
-s,@DEFS@,$DEFS,;t t
13395
-s,@ECHO_C@,$ECHO_C,;t t
13396
-s,@ECHO_N@,$ECHO_N,;t t
13397
-s,@ECHO_T@,$ECHO_T,;t t
13398
-s,@LIBS@,$LIBS,;t t
13399
-s,@build@,$build,;t t
13400
-s,@build_cpu@,$build_cpu,;t t
13401
-s,@build_vendor@,$build_vendor,;t t
13402
-s,@build_os@,$build_os,;t t
13403
-s,@host@,$host,;t t
13404
-s,@host_cpu@,$host_cpu,;t t
13405
-s,@host_vendor@,$host_vendor,;t t
13406
-s,@host_os@,$host_os,;t t
13407
-s,@target@,$target,;t t
13408
-s,@target_cpu@,$target_cpu,;t t
13409
-s,@target_vendor@,$target_vendor,;t t
13410
-s,@target_os@,$target_os,;t t
13411
-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13412
-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13413
-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13414
-s,@PACKAGE@,$PACKAGE,;t t
13415
-s,@VERSION@,$VERSION,;t t
13416
-s,@ACLOCAL@,$ACLOCAL,;t t
13417
-s,@AUTOCONF@,$AUTOCONF,;t t
13418
-s,@AUTOMAKE@,$AUTOMAKE,;t t
13419
-s,@AUTOHEADER@,$AUTOHEADER,;t t
13420
-s,@MAKEINFO@,$MAKEINFO,;t t
13421
-s,@AMTAR@,$AMTAR,;t t
13422
-s,@install_sh@,$install_sh,;t t
13423
-s,@STRIP@,$STRIP,;t t
13424
-s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13425
-s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13427
-s,@SET_MAKE@,$SET_MAKE,;t t
13429
-s,@CFLAGS@,$CFLAGS,;t t
13430
-s,@LDFLAGS@,$LDFLAGS,;t t
13431
-s,@CPPFLAGS@,$CPPFLAGS,;t t
13432
-s,@ac_ct_CC@,$ac_ct_CC,;t t
13433
-s,@EXEEXT@,$EXEEXT,;t t
13434
-s,@OBJEXT@,$OBJEXT,;t t
13435
-s,@DEPDIR@,$DEPDIR,;t t
13436
-s,@am__include@,$am__include,;t t
13437
-s,@am__quote@,$am__quote,;t t
13438
-s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13439
-s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13440
-s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13441
-s,@CCDEPMODE@,$CCDEPMODE,;t t
13442
-s,@PKG_CONFIG@,$PKG_CONFIG,;t t
13443
-s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
13444
-s,@GTK_LIBS@,$GTK_LIBS,;t t
13445
-s,@GTK_CONFIG@,$GTK_CONFIG,;t t
13446
-s,@GNOME_CFLAGS@,$GNOME_CFLAGS,;t t
13447
-s,@GNOME_LIBS@,$GNOME_LIBS,;t t
13448
-s,@WITH_GNOME_TRUE@,$WITH_GNOME_TRUE,;t t
13449
-s,@WITH_GNOME_FALSE@,$WITH_GNOME_FALSE,;t t
13451
-s,@EGREP@,$EGREP,;t t
13452
-s,@LIBOBJS@,$LIBOBJS,;t t
13453
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13458
- cat >>$CONFIG_STATUS <<\_ACEOF
13459
- # Split the substitutions into bite-sized pieces for seds with
13460
- # small command number limits, like on Digital OSF/1 and HP-UX.
13461
- ac_max_sed_lines=48
13462
- ac_sed_frag=1 # Number of current file.
13463
- ac_beg=1 # First line for current file.
13464
- ac_end=$ac_max_sed_lines # Line after last line for current file.
13467
- while $ac_more_lines; do
13468
- if test $ac_beg -gt 1; then
13469
- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13471
- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13473
- if test ! -s $tmp/subs.frag; then
13474
- ac_more_lines=false
13476
- # The purpose of the label and of the branching condition is to
13477
- # speed up the sed processing (if there are no `@' at all, there
13478
- # is no need to browse any of the substitutions).
13479
- # These are the two extra sed commands mentioned above.
13481
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13482
- if test -z "$ac_sed_cmds"; then
13483
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13485
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13487
- ac_sed_frag=`expr $ac_sed_frag + 1`
13489
- ac_end=`expr $ac_end + $ac_max_sed_lines`
13492
- if test -z "$ac_sed_cmds"; then
13494
+# Set up the scripts for CONFIG_HEADERS section.
13495
+# No need to generate them if there are no CONFIG_HEADERS.
13496
+# This happens for instance with `./config.status Makefile'.
13497
+if test -n "$CONFIG_HEADERS"; then
13498
+cat >"$tmp/defines.awk" <<\_ACAWK ||
13502
+# Transform confdefs.h into an awk script `defines.awk', embedded as
13503
+# here-document in config.status, that substitutes the proper values into
13504
+# config.h.in to produce config.h.
13506
+# Create a delimiter string that does not exist in confdefs.h, to ease
13507
+# handling of long lines.
13509
+for ac_last_try in false false :; do
13510
+ ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13511
+ if test -z "$ac_t"; then
13513
+ elif $ac_last_try; then
13514
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13516
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13518
-fi # test -n "$CONFIG_FILES"
13521
+# For the awk script, D is an array of macro values keyed by name,
13522
+# likewise P contains macro parameters if any. Preserve backslash
13523
+# newline sequences.
13525
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13527
+s/.\{148\}/&'"$ac_delim"'/g
13530
+s/^[ ]*#[ ]*define[ ][ ]*/ /
13537
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13539
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13543
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13544
+D["\1"]=" \3\\\\\\n"\\/p
13546
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13551
+s/.\{148\}/&'"$ac_delim"'/g
13556
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
13559
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13561
+' <confdefs.h | sed '
13562
+s/'"$ac_delim"'/"\\\
13563
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
13565
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13566
+ for (key in D) D_is_set[key] = 1
13569
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13571
+ split(line, arg, " ")
13572
+ if (arg[1] == "#") {
13573
+ defundef = arg[2]
13576
+ defundef = substr(arg[1], 2)
13579
+ split(mac1, mac2, "(") #)
13581
+ prefix = substr(line, 1, index(line, defundef) - 1)
13582
+ if (D_is_set[macro]) {
13583
+ # Preserve the white space surrounding the "#".
13584
+ print prefix "define", macro P[macro] D[macro]
13587
+ # Replace #undef with comments. This is necessary, for example,
13588
+ # in the case of _POSIX_SOURCE, which is predefined and required
13589
+ # on some systems where configure will not decide to define it.
13590
+ if (defundef == "undef") {
13591
+ print "/*", prefix defundef, macro, "*/"
13599
-cat >>$CONFIG_STATUS <<\_ACEOF
13600
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13601
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13603
- - | *:- | *:-:* ) # input from stdin
13605
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13606
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13607
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13608
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13609
- * ) ac_file_in=$ac_file.in ;;
13610
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13611
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13612
+fi # test -n "$CONFIG_HEADERS"
13615
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13620
+ :[FHLC]) ac_mode=$ac_tag; continue;;
13622
+ case $ac_mode$ac_tag in
13624
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13625
+ :[FH]-) ac_tag=-:-;;
13626
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13636
- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13637
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13638
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13639
- X"$ac_file" : 'X\(//\)[^/]' \| \
13640
- X"$ac_file" : 'X\(//\)$' \| \
13641
- X"$ac_file" : 'X\(/\)' \| \
13642
- . : '\(.\)' 2>/dev/null ||
13643
-echo X"$ac_file" |
13644
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13645
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13646
- /^X\(\/\/\)$/{ s//\1/; q; }
13647
- /^X\(\/\).*/{ s//\1/; q; }
13649
- { if $as_mkdir_p; then
13650
- mkdir -p "$ac_dir"
13654
- while test ! -d "$as_dir"; do
13655
- as_dirs="$as_dir $as_dirs"
13656
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
13657
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13658
- X"$as_dir" : 'X\(//\)[^/]' \| \
13659
- X"$as_dir" : 'X\(//\)$' \| \
13660
- X"$as_dir" : 'X\(/\)' \| \
13661
- . : '\(.\)' 2>/dev/null ||
13663
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13664
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13665
- /^X\(\/\/\)$/{ s//\1/; q; }
13666
- /^X\(\/\).*/{ s//\1/; q; }
13669
+ :L) ac_source=$1;;
13675
+ -) ac_f="$tmp/stdin";;
13676
+ *) # Look for the file first in the build tree, then in the source tree
13677
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
13678
+ # because $ac_f cannot contain `:'.
13679
+ test -f "$ac_f" ||
13682
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13684
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13686
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13687
+ as_fn_append ac_file_inputs " '$ac_f'"
13689
- test ! -n "$as_dirs" || mkdir $as_dirs
13690
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13691
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13692
- { (exit 1); exit 1; }; }; }
13694
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
13695
+ # use $as_me), people would be surprised to read:
13696
+ # /* config.h. Generated by config.status. */
13697
+ configure_input='Generated from '`
13698
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13699
+ `' by configure.'
13700
+ if test x"$ac_file" != x-; then
13701
+ configure_input="$ac_file. $configure_input"
13702
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13703
+$as_echo "$as_me: creating $ac_file" >&6;}
13705
+ # Neutralize special characters interpreted by sed in replacement strings.
13706
+ case $configure_input in #(
13707
+ *\&* | *\|* | *\\* )
13708
+ ac_sed_conf_input=`$as_echo "$configure_input" |
13709
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
13710
+ *) ac_sed_conf_input=$configure_input;;
13714
+ *:-:* | *:-) cat >"$tmp/stdin" \
13715
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13720
+ ac_dir=`$as_dirname -- "$ac_file" ||
13721
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13722
+ X"$ac_file" : 'X\(//\)[^/]' \| \
13723
+ X"$ac_file" : 'X\(//\)$' \| \
13724
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13725
+$as_echo X"$ac_file" |
13726
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13730
+ /^X\(\/\/\)[^/].*/{
13743
+ as_dir="$ac_dir"; as_fn_mkdir_p
13746
-if test "$ac_dir" != .; then
13747
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13748
- # A "../" for each directory in $ac_dir_suffix.
13749
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13751
- ac_dir_suffix= ac_top_builddir=
13754
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13756
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13757
+ # A ".." for each directory in $ac_dir_suffix.
13758
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13759
+ case $ac_top_builddir_sub in
13760
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13761
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13764
+ac_abs_top_builddir=$ac_pwd
13765
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
13766
+# for backward compatibility:
13767
+ac_top_builddir=$ac_top_build_prefix
13770
- .) # No --srcdir option. We are building in place.
13771
+ .) # We are building in place.
13773
- if test -z "$ac_top_builddir"; then
13776
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13778
- [\\/]* | ?:[\\/]* ) # Absolute path.
13779
+ ac_top_srcdir=$ac_top_builddir_sub
13780
+ ac_abs_top_srcdir=$ac_pwd ;;
13781
+ [\\/]* | ?:[\\/]* ) # Absolute name.
13782
ac_srcdir=$srcdir$ac_dir_suffix;
13783
- ac_top_srcdir=$srcdir ;;
13784
- *) # Relative path.
13785
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13786
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
13788
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
13790
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
13791
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
13792
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
13793
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
13794
+ ac_top_srcdir=$srcdir
13795
+ ac_abs_top_srcdir=$srcdir ;;
13796
+ *) # Relative name.
13797
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13798
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
13799
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13801
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13811
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13812
- *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13813
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13815
+ ac_MKDIR_P=$MKDIR_P
13817
+ [\\/$]* | ?:[\\/]* ) ;;
13818
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13822
- if test x"$ac_file" != x-; then
13823
- { echo "$as_me:$LINENO: creating $ac_file" >&5
13824
-echo "$as_me: creating $ac_file" >&6;}
13827
- # Let's still pretend it is `configure' which instantiates (i.e., don't
13828
- # use $as_me), people would be surprised to read:
13829
- # /* config.h. Generated by config.status. */
13830
- if test x"$ac_file" = x-; then
13833
- configure_input="$ac_file. "
13835
- configure_input=$configure_input"Generated from `echo $ac_file_in |
13836
- sed 's,.*/,,'` by configure."
13838
- # First look for the input files in the build tree, otherwise in the
13840
- ac_file_inputs=`IFS=:
13841
- for f in $ac_file_in; do
13843
- -) echo $tmp/stdin ;;
13845
- # Absolute (can't be DOS-style, as IFS=:)
13846
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13847
-echo "$as_me: error: cannot find input file: $f" >&2;}
13848
- { (exit 1); exit 1; }; }
13851
- if test -f "$f"; then
13854
- elif test -f "$srcdir/$f"; then
13859
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13860
-echo "$as_me: error: cannot find input file: $f" >&2;}
13861
- { (exit 1); exit 1; }; }
13864
- done` || { (exit 1); exit 1; }
13865
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13866
+# If the template does not know about datarootdir, expand it.
13867
+# FIXME: This hack should be removed a few years after 2.60.
13868
+ac_datarootdir_hack=; ac_datarootdir_seen=
13879
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13880
+*datarootdir*) ac_datarootdir_seen=yes;;
13881
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13882
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13883
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13885
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13886
+ ac_datarootdir_hack='
13887
+ s&@datadir@&$datadir&g
13888
+ s&@docdir@&$docdir&g
13889
+ s&@infodir@&$infodir&g
13890
+ s&@localedir@&$localedir&g
13891
+ s&@mandir@&$mandir&g
13892
+ s&\\\${datarootdir}&$datarootdir&g' ;;
13895
-cat >>$CONFIG_STATUS <<_ACEOF
13898
+# Neutralize VPATH when `$srcdir' = `.'.
13899
+# Shell code in configure.ac might set extrasub.
13900
+# FIXME: do we really want to maintain this feature?
13901
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13902
+ac_sed_extra="$ac_vpsub
13905
-cat >>$CONFIG_STATUS <<\_ACEOF
13906
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13908
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13909
-s,@configure_input@,$configure_input,;t t
13910
-s,@srcdir@,$ac_srcdir,;t t
13911
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
13912
-s,@top_srcdir@,$ac_top_srcdir,;t t
13913
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13914
-s,@builddir@,$ac_builddir,;t t
13915
-s,@abs_builddir@,$ac_abs_builddir,;t t
13916
-s,@top_builddir@,$ac_top_builddir,;t t
13917
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13918
-s,@INSTALL@,$ac_INSTALL,;t t
13919
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13921
- if test x"$ac_file" != x-; then
13922
- mv $tmp/out $ac_file
13930
-cat >>$CONFIG_STATUS <<\_ACEOF
13933
-# CONFIG_HEADER section.
13935
+s|@configure_input@|$ac_sed_conf_input|;t t
13936
+s&@top_builddir@&$ac_top_builddir_sub&;t t
13937
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
13938
+s&@srcdir@&$ac_srcdir&;t t
13939
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
13940
+s&@top_srcdir@&$ac_top_srcdir&;t t
13941
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13942
+s&@builddir@&$ac_builddir&;t t
13943
+s&@abs_builddir@&$ac_abs_builddir&;t t
13944
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13945
+s&@INSTALL@&$ac_INSTALL&;t t
13946
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
13947
+$ac_datarootdir_hack
13949
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13950
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13952
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13953
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13954
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13955
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13956
+which seems to be undefined. Please make sure it is defined" >&5
13957
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13958
+which seems to be undefined. Please make sure it is defined" >&2;}
13960
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13961
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
13963
-# ac_d sets the value in "#define NAME VALUE" lines.
13964
-ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13965
-ac_dB='[ ].*$,\1#\2'
13968
-# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13969
-ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13970
-ac_uB='$,\1#\2define\3'
13974
-for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13975
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13976
+ rm -f "$tmp/stdin"
13978
- - | *:- | *:-:* ) # input from stdin
13980
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13981
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13982
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13983
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13984
- * ) ac_file_in=$ac_file.in ;;
13987
- test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13988
-echo "$as_me: creating $ac_file" >&6;}
13990
- # First look for the input files in the build tree, otherwise in the
13992
- ac_file_inputs=`IFS=:
13993
- for f in $ac_file_in; do
13995
- -) echo $tmp/stdin ;;
13997
- # Absolute (can't be DOS-style, as IFS=:)
13998
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13999
-echo "$as_me: error: cannot find input file: $f" >&2;}
14000
- { (exit 1); exit 1; }; }
14003
- if test -f "$f"; then
14006
- elif test -f "$srcdir/$f"; then
14011
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14012
-echo "$as_me: error: cannot find input file: $f" >&2;}
14013
- { (exit 1); exit 1; }; }
14016
- done` || { (exit 1); exit 1; }
14017
- # Remove the trailing spaces.
14018
- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14022
-# Transform confdefs.h into two sed scripts, `conftest.defines' and
14023
-# `conftest.undefs', that substitutes the proper values into
14024
-# config.h.in to produce config.h. The first handles `#define'
14025
-# templates, and the second `#undef' templates.
14026
-# And first: Protect against being on the right side of a sed subst in
14027
-# config.status. Protect against being in an unquoted here document
14028
-# in config.status.
14029
-rm -f conftest.defines conftest.undefs
14030
-# Using a here document instead of a string reduces the quoting nightmare.
14031
-# Putting comments in sed scripts is not portable.
14033
-# `end' is used to avoid that the second main sed command (meant for
14034
-# 0-ary CPP macros) applies to n-ary macro definitions.
14035
-# See the Autoconf documentation for `clear'.
14036
-cat >confdef2sed.sed <<\_ACEOF
14041
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14043
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14046
-# If some macros were called several times there might be several times
14047
-# the same #defines, which is useless. Nevertheless, we may not want to
14048
-# sort them, since we want the *last* AC-DEFINE to be honored.
14049
-uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14050
-sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14051
-rm -f confdef2sed.sed
14053
-# This sed command replaces #undef with comments. This is necessary, for
14054
-# example, in the case of _POSIX_SOURCE, which is predefined and required
14055
-# on some systems where configure will not decide to define it.
14056
-cat >>conftest.undefs <<\_ACEOF
14057
-s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14060
-# Break up conftest.defines because some shells have a limit on the size
14061
-# of here documents, and old seds have small limits too (100 cmds).
14062
-echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14063
-echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14064
-echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14065
-echo ' :' >>$CONFIG_STATUS
14066
-rm -f conftest.tail
14067
-while grep . conftest.defines >/dev/null
14069
- # Write a limited-size here document to $tmp/defines.sed.
14070
- echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14071
- # Speed up: don't consider the non `#define' lines.
14072
- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14073
- # Work around the forget-to-reset-the-flag bug.
14074
- echo 't clr' >>$CONFIG_STATUS
14075
- echo ': clr' >>$CONFIG_STATUS
14076
- sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
14078
- sed -f $tmp/defines.sed $tmp/in >$tmp/out
14080
- mv $tmp/out $tmp/in
14081
-' >>$CONFIG_STATUS
14082
- sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
14083
- rm -f conftest.defines
14084
- mv conftest.tail conftest.defines
14086
-rm -f conftest.defines
14087
-echo ' fi # grep' >>$CONFIG_STATUS
14088
-echo >>$CONFIG_STATUS
14090
-# Break up conftest.undefs because some shells have a limit on the size
14091
-# of here documents, and old seds have small limits too (100 cmds).
14092
-echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14093
-rm -f conftest.tail
14094
-while grep . conftest.undefs >/dev/null
14096
- # Write a limited-size here document to $tmp/undefs.sed.
14097
- echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14098
- # Speed up: don't consider the non `#undef'
14099
- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14100
- # Work around the forget-to-reset-the-flag bug.
14101
- echo 't clr' >>$CONFIG_STATUS
14102
- echo ': clr' >>$CONFIG_STATUS
14103
- sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14105
- sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14107
- mv $tmp/out $tmp/in
14108
-' >>$CONFIG_STATUS
14109
- sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14110
- rm -f conftest.undefs
14111
- mv conftest.tail conftest.undefs
14113
-rm -f conftest.undefs
14115
-cat >>$CONFIG_STATUS <<\_ACEOF
14116
- # Let's still pretend it is `configure' which instantiates (i.e., don't
14117
- # use $as_me), people would be surprised to read:
14118
- # /* config.h. Generated by config.status. */
14119
- if test x"$ac_file" = x-; then
14120
- echo "/* Generated by configure. */" >$tmp/config.h
14122
- echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14124
- cat $tmp/in >>$tmp/config.h
14126
+ -) cat "$tmp/out" && rm -f "$tmp/out";;
14127
+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14129
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14135
if test x"$ac_file" != x-; then
14136
- if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
14137
- { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14138
-echo "$as_me: $ac_file is unchanged" >&6;}
14140
+ $as_echo "/* $configure_input */" \
14141
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14142
+ } >"$tmp/config.h" \
14143
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14144
+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14145
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14146
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
14148
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14149
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14150
- X"$ac_file" : 'X\(//\)[^/]' \| \
14151
- X"$ac_file" : 'X\(//\)$' \| \
14152
- X"$ac_file" : 'X\(/\)' \| \
14153
- . : '\(.\)' 2>/dev/null ||
14154
-echo X"$ac_file" |
14155
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14156
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14157
- /^X\(\/\/\)$/{ s//\1/; q; }
14158
- /^X\(\/\).*/{ s//\1/; q; }
14160
- { if $as_mkdir_p; then
14161
- mkdir -p "$ac_dir"
14165
- while test ! -d "$as_dir"; do
14166
- as_dirs="$as_dir $as_dirs"
14167
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
14168
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14169
- X"$as_dir" : 'X\(//\)[^/]' \| \
14170
- X"$as_dir" : 'X\(//\)$' \| \
14171
- X"$as_dir" : 'X\(/\)' \| \
14172
- . : '\(.\)' 2>/dev/null ||
14174
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14175
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14176
- /^X\(\/\/\)$/{ s//\1/; q; }
14177
- /^X\(\/\).*/{ s//\1/; q; }
14180
- test ! -n "$as_dirs" || mkdir $as_dirs
14181
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14182
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14183
- { (exit 1); exit 1; }; }; }
14186
- mv $tmp/config.h $ac_file
14188
+ mv "$tmp/config.h" "$ac_file" \
14189
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14192
- cat $tmp/config.h
14193
- rm -f $tmp/config.h
14195
- # Run the commands associated with the file.
14197
- config.h ) # update the timestamp
14198
-echo 'timestamp for config.h' >"./stamp-h1"
14200
+ $as_echo "/* $configure_input */" \
14201
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14202
+ || as_fn_error $? "could not create -" "$LINENO" 5
14204
+# Compute "$ac_file"'s index in $config_headers.
14205
+_am_arg="$ac_file"
14207
+for _am_header in $config_headers :; do
14208
+ case $_am_header in
14209
+ $_am_arg | $_am_arg:* )
14212
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14216
-cat >>$CONFIG_STATUS <<\_ACEOF
14217
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14218
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14219
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
14220
+ X"$_am_arg" : 'X\(//\)$' \| \
14221
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14222
+$as_echo X"$_am_arg" |
14223
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14227
+ /^X\(\/\/\)[^/].*/{
14239
+ s/.*/./; q'`/stamp-h$_am_stamp_count
14243
-# CONFIG_COMMANDS section.
14245
-for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
14246
- ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
14247
- ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
14248
- ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
14249
-$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14250
- X"$ac_dest" : 'X\(//\)[^/]' \| \
14251
- X"$ac_dest" : 'X\(//\)$' \| \
14252
- X"$ac_dest" : 'X\(/\)' \| \
14253
- . : '\(.\)' 2>/dev/null ||
14254
-echo X"$ac_dest" |
14255
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14256
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14257
- /^X\(\/\/\)$/{ s//\1/; q; }
14258
- /^X\(\/\).*/{ s//\1/; q; }
14261
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14262
+$as_echo "$as_me: executing $ac_file commands" >&6;}
14266
-if test "$ac_dir" != .; then
14267
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14268
- # A "../" for each directory in $ac_dir_suffix.
14269
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14271
- ac_dir_suffix= ac_top_builddir=
14275
- .) # No --srcdir option. We are building in place.
14277
- if test -z "$ac_top_builddir"; then
14280
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14282
- [\\/]* | ?:[\\/]* ) # Absolute path.
14283
- ac_srcdir=$srcdir$ac_dir_suffix;
14284
- ac_top_srcdir=$srcdir ;;
14285
- *) # Relative path.
14286
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14287
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
14289
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14291
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
14292
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
14293
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14294
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14297
- { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14298
-echo "$as_me: executing $ac_dest commands" >&6;}
14300
- depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14301
- # Strip MF so we end up with the name of the file.
14302
- mf=`echo "$mf" | sed -e 's/:.*$//'`
14303
- # Check whether this is an Automake generated Makefile or not.
14304
- # We used to match only the files named `Makefile.in', but
14305
- # some people rename them; so instead we look at the file content.
14306
- # Grep'ing the first line is not enough: some people post-process
14307
- # each Makefile.in and add a new line on top of each file to say so.
14308
- # So let's grep whole file.
14309
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
14310
- dirpart=`(dirname "$mf") 2>/dev/null ||
14311
+ case $ac_file$ac_mode in
14312
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14313
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
14314
+ # are listed without --file. Let's play safe and only enable the eval
14315
+ # if we detect the quoting.
14316
+ case $CONFIG_FILES in
14317
+ *\'*) eval set x "$CONFIG_FILES" ;;
14318
+ *) set x $CONFIG_FILES ;;
14323
+ # Strip MF so we end up with the name of the file.
14324
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
14325
+ # Check whether this is an Automake generated Makefile or not.
14326
+ # We used to match only the files named `Makefile.in', but
14327
+ # some people rename them; so instead we look at the file content.
14328
+ # Grep'ing the first line is not enough: some people post-process
14329
+ # each Makefile.in and add a new line on top of each file to say so.
14330
+ # Grep'ing the whole file is not good either: AIX grep has a line
14331
+ # limit of 2048, but all sed's we know have understand at least 4000.
14332
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14333
+ dirpart=`$as_dirname -- "$mf" ||
14334
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14335
- X"$mf" : 'X\(//\)[^/]' \| \
14336
- X"$mf" : 'X\(//\)$' \| \
14337
- X"$mf" : 'X\(/\)' \| \
14338
- . : '\(.\)' 2>/dev/null ||
14340
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14341
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14342
- /^X\(\/\/\)$/{ s//\1/; q; }
14343
- /^X\(\/\).*/{ s//\1/; q; }
14348
- grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
14349
- # Extract the definition of DEP_FILES from the Makefile without
14350
- # running `make'.
14351
- DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
14352
- test -z "$DEPDIR" && continue
14353
- # When using ansi2knr, U may be empty or an underscore; expand it
14354
- U=`sed -n -e '/^U = / s///p' < "$mf"`
14355
- test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
14356
- # We invoke sed twice because it is the simplest approach to
14357
- # changing $(DEPDIR) to its actual value in the expansion.
14358
- for file in `sed -n -e '
14359
- /^DEP_FILES = .*\\\\$/ {
14360
- s/^DEP_FILES = //
14368
- /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
14369
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14370
- # Make sure the directory exists.
14371
- test -f "$dirpart/$file" && continue
14372
- fdir=`(dirname "$file") 2>/dev/null ||
14373
+ X"$mf" : 'X\(//\)[^/]' \| \
14374
+ X"$mf" : 'X\(//\)$' \| \
14375
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14377
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14381
+ /^X\(\/\/\)[^/].*/{
14397
+ # Extract the definition of DEPDIR, am__include, and am__quote
14398
+ # from the Makefile without running `make'.
14399
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14400
+ test -z "$DEPDIR" && continue
14401
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
14402
+ test -z "am__include" && continue
14403
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14404
+ # When using ansi2knr, U may be empty or an underscore; expand it
14405
+ U=`sed -n 's/^U = //p' < "$mf"`
14406
+ # Find all dependency output files, they are included files with
14407
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
14408
+ # simplest approach to changing $(DEPDIR) to its actual value in the
14410
+ for file in `sed -n "
14411
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14412
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14413
+ # Make sure the directory exists.
14414
+ test -f "$dirpart/$file" && continue
14415
+ fdir=`$as_dirname -- "$file" ||
14416
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14417
- X"$file" : 'X\(//\)[^/]' \| \
14418
- X"$file" : 'X\(//\)$' \| \
14419
- X"$file" : 'X\(/\)' \| \
14420
- . : '\(.\)' 2>/dev/null ||
14422
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14423
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14424
- /^X\(\/\/\)$/{ s//\1/; q; }
14425
- /^X\(\/\).*/{ s//\1/; q; }
14427
- { if $as_mkdir_p; then
14428
- mkdir -p $dirpart/$fdir
14430
- as_dir=$dirpart/$fdir
14432
- while test ! -d "$as_dir"; do
14433
- as_dirs="$as_dir $as_dirs"
14434
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
14435
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14436
- X"$as_dir" : 'X\(//\)[^/]' \| \
14437
- X"$as_dir" : 'X\(//\)$' \| \
14438
- X"$as_dir" : 'X\(/\)' \| \
14439
- . : '\(.\)' 2>/dev/null ||
14441
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14442
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14443
- /^X\(\/\/\)$/{ s//\1/; q; }
14444
- /^X\(\/\).*/{ s//\1/; q; }
14446
+ X"$file" : 'X\(//\)[^/]' \| \
14447
+ X"$file" : 'X\(//\)$' \| \
14448
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14449
+$as_echo X"$file" |
14450
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14454
+ /^X\(\/\/\)[^/].*/{
14467
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
14468
+ # echo "creating $dirpart/$file"
14469
+ echo '# dummy' > "$dirpart/$file"
14471
- test ! -n "$as_dirs" || mkdir $as_dirs
14472
- fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14473
-echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14474
- { (exit 1); exit 1; }; }; }
14476
- # echo "creating $dirpart/$file"
14477
- echo '# dummy' > "$dirpart/$file"
14488
-cat >>$CONFIG_STATUS <<\_ACEOF
14490
-{ (exit 0); exit 0; }
14493
-chmod +x $CONFIG_STATUS
14494
ac_clean_files=$ac_clean_files_save
14496
+test $ac_write_fail = 0 ||
14497
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14500
# configure is writing to config.log, and then calls config.status.
14501
# config.status does its own redirection, appending to config.log.
14502
@@ -5593,32 +6581,35 @@ if test "$no_create" != yes; then
14504
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
14505
# would make configure fail if this is the last instruction.
14506
- $ac_cs_success || { (exit 1); exit 1; }
14507
+ $ac_cs_success || as_fn_exit 1
14509
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14510
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14511
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14517
if test "$enable_gtk2" = "yes" ; then
14518
- echo "$as_me:$LINENO: result: GTK2 enabled." >&5
14519
-echo "${ECHO_T} GTK2 enabled." >&6
14520
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: GTK2 enabled." >&5
14521
+$as_echo " GTK2 enabled." >&6; }
14523
- echo "$as_me:$LINENO: result: GTK2 disabled." >&5
14524
-echo "${ECHO_T} GTK2 disabled." >&6
14525
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: GTK2 disabled." >&5
14526
+$as_echo " GTK2 disabled." >&6; }
14529
if test "$enable_sdl" = "yes" ; then
14530
- echo "$as_me:$LINENO: result: SDL enabled." >&5
14531
-echo "${ECHO_T} SDL enabled." >&6
14532
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDL enabled." >&5
14533
+$as_echo " SDL enabled." >&6; }
14535
- echo "$as_me:$LINENO: result: SDL disabled." >&5
14536
-echo "${ECHO_T} SDL disabled." >&6
14537
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDL disabled." >&5
14538
+$as_echo " SDL disabled." >&6; }
14540
if test "$enable_gnome" = "yes" ; then
14541
- echo "$as_me:$LINENO: result: GNOME enabled." >&5
14542
-echo "${ECHO_T} GNOME enabled." >&6
14543
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNOME enabled." >&5
14544
+$as_echo " GNOME enabled." >&6; }
14546
- echo "$as_me:$LINENO: result: GNOME disabled." >&5
14547
-echo "${ECHO_T} GNOME disabled." >&6
14548
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNOME disabled." >&5
14549
+$as_echo " GNOME disabled." >&6; }
14552
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/Makefile.in
14553
+++ gtkboard-0.11pre0+cvs.2003.11.02/Makefile.in
14555
-# Makefile.in generated by automake 1.6.3 from Makefile.am.
14556
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
14557
# @configure_input@
14559
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
14560
-# Free Software Foundation, Inc.
14561
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
14562
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
14564
# This Makefile.in is free software; the Free Software Foundation
14565
# gives unlimited permission to copy and/or distribute it,
14566
# with or without modifications, as long as this notice is preserved.
14567
@@ -13,133 +14,257 @@
14568
# PARTICULAR PURPOSE.
14574
-top_srcdir = @top_srcdir@
14577
-exec_prefix = @exec_prefix@
14580
-sbindir = @sbindir@
14581
-libexecdir = @libexecdir@
14582
-datadir = @datadir@
14583
-sysconfdir = @sysconfdir@
14584
-sharedstatedir = @sharedstatedir@
14585
-localstatedir = @localstatedir@
14587
-infodir = @infodir@
14589
-includedir = @includedir@
14590
-oldincludedir = /usr/include
14591
pkgdatadir = $(datadir)/@PACKAGE@
14592
-pkglibdir = $(libdir)/@PACKAGE@
14593
pkgincludedir = $(includedir)/@PACKAGE@
14596
-ACLOCAL = @ACLOCAL@
14597
-AUTOCONF = @AUTOCONF@
14598
-AUTOMAKE = @AUTOMAKE@
14599
-AUTOHEADER = @AUTOHEADER@
14601
+pkglibdir = $(libdir)/@PACKAGE@
14602
+pkglibexecdir = $(libexecdir)/@PACKAGE@
14603
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
14604
-INSTALL = @INSTALL@
14605
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
14606
-INSTALL_DATA = @INSTALL_DATA@
14607
install_sh_DATA = $(install_sh) -c -m 644
14608
install_sh_PROGRAM = $(install_sh) -c
14609
install_sh_SCRIPT = $(install_sh) -c
14610
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
14611
INSTALL_HEADER = $(INSTALL_DATA)
14612
-transform = @program_transform_name@
14613
+transform = $(program_transform_name)
14617
NORMAL_UNINSTALL = :
14620
-host_alias = @host_alias@
14621
+build_triplet = @build@
14622
host_triplet = @host@
14626
-PATH_SEPARATOR = @PATH_SEPARATOR@
14627
+target_triplet = @target@
14629
+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
14630
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
14631
+ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
14632
+ TODO config.guess config.sub depcomp install-sh missing \
14634
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
14635
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
14636
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
14638
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
14639
+ configure.lineno config.status.lineno
14640
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
14641
+CONFIG_HEADER = config.h
14642
+CONFIG_CLEAN_FILES =
14643
+CONFIG_CLEAN_VPATH_FILES =
14646
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
14647
+ html-recursive info-recursive install-data-recursive \
14648
+ install-dvi-recursive install-exec-recursive \
14649
+ install-html-recursive install-info-recursive \
14650
+ install-pdf-recursive install-ps-recursive install-recursive \
14651
+ installcheck-recursive installdirs-recursive pdf-recursive \
14652
+ ps-recursive uninstall-recursive
14653
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
14654
+ distclean-recursive maintainer-clean-recursive
14655
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
14656
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
14657
+ distdir dist dist-all distcheck
14660
+DIST_SUBDIRS = $(SUBDIRS)
14661
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
14662
+distdir = $(PACKAGE)-$(VERSION)
14663
+top_distdir = $(distdir)
14664
+am__remove_distdir = \
14665
+ { test ! -d "$(distdir)" \
14666
+ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
14667
+ && rm -fr "$(distdir)"; }; }
14668
+am__relativize = \
14670
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
14671
+ sed_rest='s,^[^/]*/*,,'; \
14672
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
14673
+ sed_butlast='s,/*[^/]*$$,,'; \
14674
+ while test -n "$$dir1"; do \
14675
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
14676
+ if test "$$first" != "."; then \
14677
+ if test "$$first" = ".."; then \
14678
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
14679
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
14681
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
14682
+ if test "$$first2" = "$$first"; then \
14683
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
14685
+ dir2="../$$dir2"; \
14687
+ dir0="$$dir0"/"$$first"; \
14690
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
14693
+DIST_ARCHIVES = $(distdir).tar.gz
14695
+distuninstallcheck_listfiles = find . -type f -print
14696
+distcleancheck_listfiles = find . -type f -print
14697
+ACLOCAL = @ACLOCAL@
14699
+AUTOCONF = @AUTOCONF@
14700
+AUTOHEADER = @AUTOHEADER@
14701
+AUTOMAKE = @AUTOMAKE@
14704
+CCDEPMODE = @CCDEPMODE@
14707
+CPPFLAGS = @CPPFLAGS@
14708
+CYGPATH_W = @CYGPATH_W@
14716
GNOME_CFLAGS = @GNOME_CFLAGS@
14717
GNOME_LIBS = @GNOME_LIBS@
14719
GTK_CFLAGS = @GTK_CFLAGS@
14720
-GTK_CONFIG = @GTK_CONFIG@
14721
GTK_LIBS = @GTK_LIBS@
14722
+INSTALL = @INSTALL@
14723
+INSTALL_DATA = @INSTALL_DATA@
14724
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
14725
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
14726
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
14727
+LDFLAGS = @LDFLAGS@
14728
+LIBOBJS = @LIBOBJS@
14730
+LTLIBOBJS = @LTLIBOBJS@
14731
+MAKEINFO = @MAKEINFO@
14732
+MKDIR_P = @MKDIR_P@
14734
PACKAGE = @PACKAGE@
14735
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
14736
+PACKAGE_NAME = @PACKAGE_NAME@
14737
+PACKAGE_STRING = @PACKAGE_STRING@
14738
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
14739
+PACKAGE_URL = @PACKAGE_URL@
14740
+PACKAGE_VERSION = @PACKAGE_VERSION@
14741
+PATH_SEPARATOR = @PATH_SEPARATOR@
14742
PKG_CONFIG = @PKG_CONFIG@
14743
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
14744
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
14745
+SET_MAKE = @SET_MAKE@
14748
VERSION = @VERSION@
14749
+abs_builddir = @abs_builddir@
14750
+abs_srcdir = @abs_srcdir@
14751
+abs_top_builddir = @abs_top_builddir@
14752
+abs_top_srcdir = @abs_top_srcdir@
14753
+ac_ct_CC = @ac_ct_CC@
14754
am__include = @am__include@
14755
+am__leading_dot = @am__leading_dot@
14756
am__quote = @am__quote@
14757
+am__tar = @am__tar@
14758
+am__untar = @am__untar@
14761
+build_alias = @build_alias@
14762
+build_cpu = @build_cpu@
14763
+build_os = @build_os@
14764
+build_vendor = @build_vendor@
14765
+builddir = @builddir@
14766
+datadir = @datadir@
14767
+datarootdir = @datarootdir@
14770
+exec_prefix = @exec_prefix@
14772
+host_alias = @host_alias@
14773
+host_cpu = @host_cpu@
14774
+host_os = @host_os@
14775
+host_vendor = @host_vendor@
14776
+htmldir = @htmldir@
14777
+includedir = @includedir@
14778
+infodir = @infodir@
14779
install_sh = @install_sh@
14782
+libexecdir = @libexecdir@
14783
+localedir = @localedir@
14784
+localstatedir = @localstatedir@
14786
+mkdir_p = @mkdir_p@
14787
+oldincludedir = @oldincludedir@
14790
+program_transform_name = @program_transform_name@
14792
+sbindir = @sbindir@
14793
+sharedstatedir = @sharedstatedir@
14795
+sysconfdir = @sysconfdir@
14797
+target_alias = @target_alias@
14798
+target_cpu = @target_cpu@
14799
+target_os = @target_os@
14800
+target_vendor = @target_vendor@
14801
+top_build_prefix = @top_build_prefix@
14802
+top_builddir = @top_builddir@
14803
+top_srcdir = @top_srcdir@
14804
SUBDIRS = doc src sounds pixmaps
14806
EXTRA_DIST = gtkboard.spec
14808
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
14809
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
14810
-CONFIG_HEADER = config.h
14811
-CONFIG_CLEAN_FILES =
14814
-RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
14815
- uninstall-info-recursive all-recursive install-data-recursive \
14816
- install-exec-recursive installdirs-recursive install-recursive \
14817
- uninstall-recursive check-recursive installcheck-recursive
14818
-DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
14819
- Makefile.in NEWS TODO aclocal.m4 config.guess config.h.in \
14820
- config.sub configure configure.in depcomp install-sh missing \
14822
-DIST_SUBDIRS = $(SUBDIRS)
14824
$(MAKE) $(AM_MAKEFLAGS) all-recursive
14829
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
14830
+ @for dep in $?; do \
14831
+ case '$(am__configure_deps)' in \
14833
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
14834
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
14839
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
14840
+ $(am__cd) $(top_srcdir) && \
14841
+ $(AUTOMAKE) --gnu Makefile
14842
+.PRECIOUS: Makefile
14843
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
14845
+ *config.status*) \
14846
+ echo ' $(SHELL) ./config.status'; \
14847
+ $(SHELL) ./config.status;; \
14849
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
14850
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
14853
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
14855
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
14856
- cd $(top_srcdir) && \
14857
- $(AUTOMAKE) --gnu Makefile
14858
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
14859
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
14861
-$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
14862
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
14863
$(SHELL) ./config.status --recheck
14864
-$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
14865
- cd $(srcdir) && $(AUTOCONF)
14867
-$(ACLOCAL_M4): configure.in
14868
- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
14869
+$(top_srcdir)/configure: $(am__configure_deps)
14870
+ $(am__cd) $(srcdir) && $(AUTOCONF)
14871
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
14872
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
14873
+$(am__aclocal_m4_deps):
14876
@if test ! -f $@; then \
14878
- $(MAKE) stamp-h1; \
14879
+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
14882
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
14884
cd $(top_builddir) && $(SHELL) ./config.status config.h
14886
-$(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
14887
- cd $(top_srcdir) && $(AUTOHEADER)
14888
- touch $(srcdir)/config.h.in
14889
+$(srcdir)/config.h.in: $(am__configure_deps)
14890
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
14895
-rm -f config.h stamp-h1
14896
-uninstall-info-am:
14898
# This directory's subdirectories are mostly independent; you can cd
14899
# into them and run `make' without going through this Makefile.
14900
@@ -148,7 +273,13 @@ uninstall-info-am:
14901
# (which will cause the Makefiles to be regenerated when you run `make');
14902
# (2) otherwise, pass the desired values on the `make' command line.
14903
$(RECURSIVE_TARGETS):
14904
- @set fnord $$MAKEFLAGS; amf=$$2; \
14905
+ @fail= failcom='exit 1'; \
14906
+ for f in x $$MAKEFLAGS; do \
14908
+ *=* | --[!k]*);; \
14909
+ *k*) failcom='fail=yes';; \
14913
target=`echo $@ | sed s/-recursive//`; \
14914
list='$(SUBDIRS)'; for subdir in $$list; do \
14915
@@ -159,16 +290,21 @@ $(RECURSIVE_TARGETS):
14917
local_target="$$target"; \
14919
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
14920
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
14921
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
14922
+ || eval $$failcom; \
14924
if test "$$dot_seen" = "no"; then \
14925
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
14926
fi; test -z "$$fail"
14928
-mostlyclean-recursive clean-recursive distclean-recursive \
14929
-maintainer-clean-recursive:
14930
- @set fnord $$MAKEFLAGS; amf=$$2; \
14931
+$(RECURSIVE_CLEAN_TARGETS):
14932
+ @fail= failcom='exit 1'; \
14933
+ for f in x $$MAKEFLAGS; do \
14935
+ *=* | --[!k]*);; \
14936
+ *k*) failcom='fail=yes';; \
14941
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
14942
@@ -188,129 +324,213 @@ maintainer-clean-recursive:
14944
local_target="$$target"; \
14946
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
14947
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
14948
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
14949
+ || eval $$failcom; \
14950
done && test -z "$$fail"
14952
list='$(SUBDIRS)'; for subdir in $$list; do \
14953
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
14954
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
14957
+ list='$(SUBDIRS)'; for subdir in $$list; do \
14958
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
14966
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
14967
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
14968
unique=`for i in $$list; do \
14969
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
14971
- $(AWK) ' { files[$$0] = 1; } \
14972
- END { for (i in files) print i; }'`; \
14973
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
14974
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
14978
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
14979
$(TAGS_FILES) $(LISP)
14983
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
14984
+ include_option=--etags-include; \
14987
+ include_option=--include; \
14990
list='$(SUBDIRS)'; for subdir in $$list; do \
14991
if test "$$subdir" = .; then :; else \
14992
- test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
14993
+ test ! -f $$subdir/TAGS || \
14994
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
14997
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
14998
unique=`for i in $$list; do \
14999
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
15001
- $(AWK) ' { files[$$0] = 1; } \
15002
- END { for (i in files) print i; }'`; \
15003
- test -z "$(ETAGS_ARGS)$$tags$$unique" \
15004
- || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
15006
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
15007
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
15009
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
15010
+ test -n "$$unique" || unique=$$empty_fix; \
15011
+ if test $$# -gt 0; then \
15012
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
15013
+ "$$@" $$unique; \
15015
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
15020
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
15021
+ $(TAGS_FILES) $(LISP)
15022
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
15023
+ unique=`for i in $$list; do \
15024
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
15026
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
15027
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
15028
+ test -z "$(CTAGS_ARGS)$$unique" \
15029
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
15033
here=`$(am__cd) $(top_builddir) && pwd` \
15034
- && cd $(top_srcdir) \
15035
- && gtags -i $(GTAGS_ARGS) $$here
15036
+ && $(am__cd) $(top_srcdir) \
15037
+ && gtags -i $(GTAGS_ARGS) "$$here"
15040
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
15041
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
15044
-distdir = $(PACKAGE)-$(VERSION)
15046
-am__remove_distdir = \
15047
- { test ! -d $(distdir) \
15048
- || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
15049
- && rm -fr $(distdir); }; }
15052
-distcleancheck_listfiles = find . -type f -print
15053
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
15055
distdir: $(DISTFILES)
15056
$(am__remove_distdir)
15058
- @list='$(DISTFILES)'; for file in $$list; do \
15059
+ test -d "$(distdir)" || mkdir "$(distdir)"
15060
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
15061
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
15062
+ list='$(DISTFILES)'; \
15063
+ dist_files=`for file in $$list; do echo $$file; done | \
15064
+ sed -e "s|^$$srcdirstrip/||;t" \
15065
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
15066
+ case $$dist_files in \
15067
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
15068
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
15071
+ for file in $$dist_files; do \
15072
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
15073
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
15074
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
15076
- $(mkinstalldirs) "$(distdir)$$dir"; \
15080
if test -d $$d/$$file; then \
15081
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
15082
+ if test -d "$(distdir)/$$file"; then \
15083
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
15085
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
15086
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
15087
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
15088
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
15090
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
15091
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
15093
- test -f $(distdir)/$$file \
15094
- || cp -p $$d/$$file $(distdir)/$$file \
15095
+ test -f "$(distdir)/$$file" \
15096
+ || cp -p $$d/$$file "$(distdir)/$$file" \
15100
- list='$(SUBDIRS)'; for subdir in $$list; do \
15101
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
15102
if test "$$subdir" = .; then :; else \
15103
- test -d $(distdir)/$$subdir \
15104
- || mkdir $(distdir)/$$subdir \
15105
+ test -d "$(distdir)/$$subdir" \
15106
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
15108
- (cd $$subdir && \
15111
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
15112
+ if test "$$subdir" = .; then :; else \
15113
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
15114
+ $(am__relativize); \
15115
+ new_distdir=$$reldir; \
15116
+ dir1=$$subdir; dir2="$(top_distdir)"; \
15117
+ $(am__relativize); \
15118
+ new_top_distdir=$$reldir; \
15119
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
15120
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
15121
+ ($(am__cd) $$subdir && \
15122
$(MAKE) $(AM_MAKEFLAGS) \
15123
- top_distdir="$(top_distdir)" \
15124
- distdir=../$(distdir)/$$subdir \
15125
+ top_distdir="$$new_top_distdir" \
15126
+ distdir="$$new_distdir" \
15127
+ am__remove_distdir=: \
15128
+ am__skip_length_check=: \
15129
+ am__skip_mode_fix=: \
15134
- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
15135
+ -test -n "$(am__skip_mode_fix)" \
15136
+ || find "$(distdir)" -type d ! -perm -755 \
15137
+ -exec chmod u+rwx,go+rx {} \; -o \
15138
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
15139
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
15140
- ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
15141
- || chmod -R a+r $(distdir)
15142
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
15143
+ || chmod -R a+r "$(distdir)"
15145
- $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
15146
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
15147
+ $(am__remove_distdir)
15149
+dist-bzip2: distdir
15150
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
15151
+ $(am__remove_distdir)
15153
+dist-lzma: distdir
15154
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
15155
+ $(am__remove_distdir)
15158
+ tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
15159
+ $(am__remove_distdir)
15161
+dist-tarZ: distdir
15162
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
15163
+ $(am__remove_distdir)
15165
+dist-shar: distdir
15166
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
15167
+ $(am__remove_distdir)
15170
+ -rm -f $(distdir).zip
15171
+ zip -rq $(distdir).zip $(distdir)
15172
$(am__remove_distdir)
15174
dist dist-all: distdir
15175
- $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
15176
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
15177
$(am__remove_distdir)
15179
# This target untars the dist file and tries a VPATH configuration. Then
15180
# it guarantees that the distribution is self-contained by making another
15183
- $(am__remove_distdir)
15184
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
15185
+ case '$(DIST_ARCHIVES)' in \
15187
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
15189
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
15191
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
15193
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
15195
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
15197
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
15199
+ unzip $(distdir).zip ;;\
15201
chmod -R a-w $(distdir); chmod a+w $(distdir)
15202
- mkdir $(distdir)/=build
15203
- mkdir $(distdir)/=inst
15204
+ mkdir $(distdir)/_build
15205
+ mkdir $(distdir)/_inst
15206
chmod a-w $(distdir)
15207
- dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
15208
- && cd $(distdir)/=build \
15209
- && ../configure --srcdir=.. --prefix=$$dc_install_base \
15210
+ test -d $(distdir)/_build || exit 0; \
15211
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
15212
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
15213
+ && am__cwd=`pwd` \
15214
+ && $(am__cd) $(distdir)/_build \
15215
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
15216
$(DISTCHECK_CONFIGURE_FLAGS) \
15217
&& $(MAKE) $(AM_MAKEFLAGS) \
15218
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
15219
@@ -318,23 +538,42 @@ distcheck: dist
15220
&& $(MAKE) $(AM_MAKEFLAGS) install \
15221
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
15222
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
15223
- && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
15224
- || { echo "ERROR: files left after uninstall:" ; \
15225
- find $$dc_install_base -type f -print ; \
15226
- exit 1; } >&2 ) \
15227
- && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
15228
- && rm -f $(distdir).tar.gz \
15229
- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
15230
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
15231
+ distuninstallcheck \
15232
+ && chmod -R a-w "$$dc_install_base" \
15234
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
15235
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
15236
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
15237
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
15238
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
15239
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
15240
+ && rm -rf "$$dc_destdir" \
15241
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
15242
+ && rm -rf $(DIST_ARCHIVES) \
15243
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
15244
+ && cd "$$am__cwd" \
15246
$(am__remove_distdir)
15247
- @echo "$(distdir).tar.gz is ready for distribution" | \
15248
- sed 'h;s/./=/g;p;x;p;x'
15249
+ @(echo "$(distdir) archives ready for distribution: "; \
15250
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
15251
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
15252
+distuninstallcheck:
15253
+ @$(am__cd) '$(distuninstallcheck_dir)' \
15254
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
15255
+ || { echo "ERROR: files left after uninstall:" ; \
15256
+ if test -n "$(DESTDIR)"; then \
15257
+ echo " (check DESTDIR support)"; \
15259
+ $(distuninstallcheck_listfiles) ; \
15261
distcleancheck: distclean
15262
- if test '$(srcdir)' = . ; then \
15263
+ @if test '$(srcdir)' = . ; then \
15264
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
15267
- test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
15268
- || { echo "ERROR: files left after distclean:" ; \
15269
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
15270
+ || { echo "ERROR: files left in build directory after distclean:" ; \
15271
$(distcleancheck_listfiles) ; \
15274
@@ -342,7 +581,6 @@ check: check-recursive
15275
all-am: Makefile config.h
15276
installdirs: installdirs-recursive
15279
install: install-recursive
15280
install-exec: install-exec-recursive
15281
install-data: install-data-recursive
15282
@@ -354,7 +592,7 @@ install-am: all-am
15283
installcheck: installcheck-recursive
15285
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
15286
- INSTALL_STRIP_FLAG=-s \
15287
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
15288
`test -z '$(STRIP)' || \
15289
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
15290
mostlyclean-generic:
15291
@@ -362,7 +600,8 @@ mostlyclean-generic:
15295
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
15296
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
15297
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
15299
maintainer-clean-generic:
15300
@echo "This command is intended for maintainers to use"
15301
@@ -373,54 +612,87 @@ clean-am: clean-generic mostlyclean-am
15303
distclean: distclean-recursive
15304
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
15306
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
15312
+html: html-recursive
15316
info: info-recursive
15322
+install-dvi: install-dvi-recursive
15328
+install-html: install-html-recursive
15332
install-info: install-info-recursive
15338
+install-pdf: install-pdf-recursive
15342
+install-ps: install-ps-recursive
15348
maintainer-clean: maintainer-clean-recursive
15349
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
15350
- -rm -rf autom4te.cache
15351
+ -rm -rf $(top_srcdir)/autom4te.cache
15353
maintainer-clean-am: distclean-am maintainer-clean-generic
15355
mostlyclean: mostlyclean-recursive
15357
mostlyclean-am: mostlyclean-generic
15359
-uninstall-am: uninstall-info-am
15360
+pdf: pdf-recursive
15368
-uninstall-info: uninstall-info-recursive
15371
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
15372
+ ctags-recursive install-am install-strip tags-recursive
15374
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
15375
+ all all-am am--refresh check check-am clean clean-generic \
15376
+ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
15377
+ dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
15378
+ distclean distclean-generic distclean-hdr distclean-tags \
15379
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
15380
+ html-am info info-am install install-am install-data \
15381
+ install-data-am install-dvi install-dvi-am install-exec \
15382
+ install-exec-am install-html install-html-am install-info \
15383
+ install-info-am install-man install-pdf install-pdf-am \
15384
+ install-ps install-ps-am install-strip installcheck \
15385
+ installcheck-am installdirs installdirs-am maintainer-clean \
15386
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
15387
+ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
15389
-.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
15390
- clean-generic clean-recursive dist dist-all dist-gzip distcheck \
15391
- distclean distclean-generic distclean-hdr distclean-recursive \
15392
- distclean-tags distcleancheck distdir dvi dvi-am dvi-recursive \
15393
- info info-am info-recursive install install-am install-data \
15394
- install-data-am install-data-recursive install-exec \
15395
- install-exec-am install-exec-recursive install-info \
15396
- install-info-am install-info-recursive install-man \
15397
- install-recursive install-strip installcheck installcheck-am \
15398
- installdirs installdirs-am installdirs-recursive \
15399
- maintainer-clean maintainer-clean-generic \
15400
- maintainer-clean-recursive mostlyclean mostlyclean-generic \
15401
- mostlyclean-recursive tags tags-recursive uninstall \
15402
- uninstall-am uninstall-info-am uninstall-info-recursive \
15403
- uninstall-recursive
15405
# Tell versions [3.59,3.63) of GNU make to not export all variables.
15406
# Otherwise a system limit (for SysV at least) may be exceeded.
15407
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/pixmaps/Makefile.in
15408
+++ gtkboard-0.11pre0+cvs.2003.11.02/pixmaps/Makefile.in
15410
-# Makefile.in generated by automake 1.6.3 from Makefile.am.
15411
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
15412
# @configure_input@
15414
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
15415
-# Free Software Foundation, Inc.
15416
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
15417
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
15419
# This Makefile.in is free software; the Free Software Foundation
15420
# gives unlimited permission to copy and/or distribute it,
15421
# with or without modifications, as long as this notice is preserved.
15422
@@ -13,190 +14,321 @@
15423
# PARTICULAR PURPOSE.
15429
-top_srcdir = @top_srcdir@
15432
-exec_prefix = @exec_prefix@
15435
-sbindir = @sbindir@
15436
-libexecdir = @libexecdir@
15437
-datadir = @datadir@
15438
-sysconfdir = @sysconfdir@
15439
-sharedstatedir = @sharedstatedir@
15440
-localstatedir = @localstatedir@
15442
-infodir = @infodir@
15444
-includedir = @includedir@
15445
-oldincludedir = /usr/include
15447
pkgdatadir = $(datadir)/@PACKAGE@
15448
-pkglibdir = $(libdir)/@PACKAGE@
15449
pkgincludedir = $(includedir)/@PACKAGE@
15452
-ACLOCAL = @ACLOCAL@
15453
-AUTOCONF = @AUTOCONF@
15454
-AUTOMAKE = @AUTOMAKE@
15455
-AUTOHEADER = @AUTOHEADER@
15457
+pkglibdir = $(libdir)/@PACKAGE@
15458
+pkglibexecdir = $(libexecdir)/@PACKAGE@
15459
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
15460
-INSTALL = @INSTALL@
15461
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
15462
-INSTALL_DATA = @INSTALL_DATA@
15463
install_sh_DATA = $(install_sh) -c -m 644
15464
install_sh_PROGRAM = $(install_sh) -c
15465
install_sh_SCRIPT = $(install_sh) -c
15466
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
15467
INSTALL_HEADER = $(INSTALL_DATA)
15468
-transform = @program_transform_name@
15469
+transform = $(program_transform_name)
15473
NORMAL_UNINSTALL = :
15476
-host_alias = @host_alias@
15477
+build_triplet = @build@
15478
host_triplet = @host@
15482
-PATH_SEPARATOR = @PATH_SEPARATOR@
15483
+target_triplet = @target@
15485
+DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
15486
+ $(srcdir)/Makefile.in
15487
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
15488
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
15489
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
15491
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
15492
+CONFIG_HEADER = $(top_builddir)/config.h
15493
+CONFIG_CLEAN_FILES =
15494
+CONFIG_CLEAN_VPATH_FILES =
15497
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
15498
+am__vpath_adj = case $$p in \
15499
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
15502
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
15503
+am__install_max = 40
15504
+am__nobase_strip_setup = \
15505
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
15506
+am__nobase_strip = \
15507
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
15508
+am__nobase_list = $(am__nobase_strip_setup); \
15509
+ for p in $$list; do echo "$$p $$p"; done | \
15510
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
15511
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
15512
+ if (++n[$$2] == $(am__install_max)) \
15513
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
15514
+ END { for (dir in files) print dir, files[dir] }'
15516
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
15517
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
15518
+am__installdirs = "$(DESTDIR)$(gtkboardpixmapsdir)"
15519
+DATA = $(gtkboardpixmaps_DATA)
15520
+HEADERS = $(noinst_HEADERS)
15523
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
15524
+ACLOCAL = @ACLOCAL@
15526
+AUTOCONF = @AUTOCONF@
15527
+AUTOHEADER = @AUTOHEADER@
15528
+AUTOMAKE = @AUTOMAKE@
15531
+CCDEPMODE = @CCDEPMODE@
15534
+CPPFLAGS = @CPPFLAGS@
15535
+CYGPATH_W = @CYGPATH_W@
15543
GNOME_CFLAGS = @GNOME_CFLAGS@
15544
GNOME_LIBS = @GNOME_LIBS@
15546
GTK_CFLAGS = @GTK_CFLAGS@
15547
-GTK_CONFIG = @GTK_CONFIG@
15548
GTK_LIBS = @GTK_LIBS@
15549
+INSTALL = @INSTALL@
15550
+INSTALL_DATA = @INSTALL_DATA@
15551
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
15552
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
15553
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
15554
+LDFLAGS = @LDFLAGS@
15555
+LIBOBJS = @LIBOBJS@
15557
+LTLIBOBJS = @LTLIBOBJS@
15558
+MAKEINFO = @MAKEINFO@
15559
+MKDIR_P = @MKDIR_P@
15561
PACKAGE = @PACKAGE@
15562
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
15563
+PACKAGE_NAME = @PACKAGE_NAME@
15564
+PACKAGE_STRING = @PACKAGE_STRING@
15565
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
15566
+PACKAGE_URL = @PACKAGE_URL@
15567
+PACKAGE_VERSION = @PACKAGE_VERSION@
15568
+PATH_SEPARATOR = @PATH_SEPARATOR@
15569
PKG_CONFIG = @PKG_CONFIG@
15570
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
15571
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
15572
+SET_MAKE = @SET_MAKE@
15575
VERSION = @VERSION@
15576
+abs_builddir = @abs_builddir@
15577
+abs_srcdir = @abs_srcdir@
15578
+abs_top_builddir = @abs_top_builddir@
15579
+abs_top_srcdir = @abs_top_srcdir@
15580
+ac_ct_CC = @ac_ct_CC@
15581
am__include = @am__include@
15582
+am__leading_dot = @am__leading_dot@
15583
am__quote = @am__quote@
15584
+am__tar = @am__tar@
15585
+am__untar = @am__untar@
15588
+build_alias = @build_alias@
15589
+build_cpu = @build_cpu@
15590
+build_os = @build_os@
15591
+build_vendor = @build_vendor@
15592
+builddir = @builddir@
15593
+datadir = @datadir@
15594
+datarootdir = @datarootdir@
15597
+exec_prefix = @exec_prefix@
15599
+host_alias = @host_alias@
15600
+host_cpu = @host_cpu@
15601
+host_os = @host_os@
15602
+host_vendor = @host_vendor@
15603
+htmldir = @htmldir@
15604
+includedir = @includedir@
15605
+infodir = @infodir@
15606
install_sh = @install_sh@
15609
+libexecdir = @libexecdir@
15610
+localedir = @localedir@
15611
+localstatedir = @localstatedir@
15613
+mkdir_p = @mkdir_p@
15614
+oldincludedir = @oldincludedir@
15617
+program_transform_name = @program_transform_name@
15619
+sbindir = @sbindir@
15620
+sharedstatedir = @sharedstatedir@
15622
+sysconfdir = @sysconfdir@
15624
+target_alias = @target_alias@
15625
+target_cpu = @target_cpu@
15626
+target_os = @target_os@
15627
+target_vendor = @target_vendor@
15628
+top_build_prefix = @top_build_prefix@
15629
+top_builddir = @top_builddir@
15630
+top_srcdir = @top_srcdir@
15631
gtkboard_PIXMAPS = gtkboard.png
15633
noinst_HEADERS = alpha.xpm arrows.xpm ball.xpm chess.xpm cpento.xpm logo48.xpm memory.xpm misc.xpm ninemm_bg.xpm pacman.xpm splash.xpm
15635
EXTRA_DIST = $(gtkboard_PIXMAPS)
15637
gtkboardpixmapsdir = $(datadir)/pixmaps
15638
gtkboardpixmaps_DATA = $(gtkboard_PIXMAPS)
15640
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
15641
-CONFIG_HEADER = $(top_builddir)/config.h
15642
-CONFIG_CLEAN_FILES =
15644
-DATA = $(gtkboardpixmaps_DATA)
15646
-HEADERS = $(noinst_HEADERS)
15648
-DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
15652
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
15653
- cd $(top_srcdir) && \
15654
- $(AUTOMAKE) --gnu pixmaps/Makefile
15655
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
15656
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
15657
-uninstall-info-am:
15658
-gtkboardpixmapsDATA_INSTALL = $(INSTALL_DATA)
15659
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
15660
+ @for dep in $?; do \
15661
+ case '$(am__configure_deps)' in \
15663
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
15664
+ && { if test -f $@; then exit 0; else break; fi; }; \
15668
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pixmaps/Makefile'; \
15669
+ $(am__cd) $(top_srcdir) && \
15670
+ $(AUTOMAKE) --gnu pixmaps/Makefile
15671
+.PRECIOUS: Makefile
15672
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
15674
+ *config.status*) \
15675
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
15677
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
15678
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
15681
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
15682
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
15684
+$(top_srcdir)/configure: $(am__configure_deps)
15685
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
15686
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
15687
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
15688
+$(am__aclocal_m4_deps):
15689
install-gtkboardpixmapsDATA: $(gtkboardpixmaps_DATA)
15691
- $(mkinstalldirs) $(DESTDIR)$(gtkboardpixmapsdir)
15692
- @list='$(gtkboardpixmaps_DATA)'; for p in $$list; do \
15693
+ test -z "$(gtkboardpixmapsdir)" || $(MKDIR_P) "$(DESTDIR)$(gtkboardpixmapsdir)"
15694
+ @list='$(gtkboardpixmaps_DATA)'; test -n "$(gtkboardpixmapsdir)" || list=; \
15695
+ for p in $$list; do \
15696
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
15697
- f="`echo $$p | sed -e 's|^.*/||'`"; \
15698
- echo " $(gtkboardpixmapsDATA_INSTALL) $$d$$p $(DESTDIR)$(gtkboardpixmapsdir)/$$f"; \
15699
- $(gtkboardpixmapsDATA_INSTALL) $$d$$p $(DESTDIR)$(gtkboardpixmapsdir)/$$f; \
15701
+ done | $(am__base_list) | \
15702
+ while read files; do \
15703
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gtkboardpixmapsdir)'"; \
15704
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(gtkboardpixmapsdir)" || exit $$?; \
15707
uninstall-gtkboardpixmapsDATA:
15708
@$(NORMAL_UNINSTALL)
15709
- @list='$(gtkboardpixmaps_DATA)'; for p in $$list; do \
15710
- f="`echo $$p | sed -e 's|^.*/||'`"; \
15711
- echo " rm -f $(DESTDIR)$(gtkboardpixmapsdir)/$$f"; \
15712
- rm -f $(DESTDIR)$(gtkboardpixmapsdir)/$$f; \
15719
+ @list='$(gtkboardpixmaps_DATA)'; test -n "$(gtkboardpixmapsdir)" || list=; \
15720
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
15721
+ test -n "$$files" || exit 0; \
15722
+ echo " ( cd '$(DESTDIR)$(gtkboardpixmapsdir)' && rm -f" $$files ")"; \
15723
+ cd "$(DESTDIR)$(gtkboardpixmapsdir)" && rm -f $$files
15725
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
15726
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
15727
unique=`for i in $$list; do \
15728
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
15730
- $(AWK) ' { files[$$0] = 1; } \
15731
- END { for (i in files) print i; }'`; \
15732
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
15733
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
15737
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
15738
$(TAGS_FILES) $(LISP)
15742
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
15743
unique=`for i in $$list; do \
15744
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
15746
- $(AWK) ' { files[$$0] = 1; } \
15747
- END { for (i in files) print i; }'`; \
15748
- test -z "$(ETAGS_ARGS)$$tags$$unique" \
15749
- || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
15751
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
15752
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
15754
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
15755
+ test -n "$$unique" || unique=$$empty_fix; \
15756
+ if test $$# -gt 0; then \
15757
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
15758
+ "$$@" $$unique; \
15760
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
15765
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
15766
+ $(TAGS_FILES) $(LISP)
15767
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
15768
+ unique=`for i in $$list; do \
15769
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
15771
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
15772
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
15773
+ test -z "$(CTAGS_ARGS)$$unique" \
15774
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
15778
here=`$(am__cd) $(top_builddir) && pwd` \
15779
- && cd $(top_srcdir) \
15780
- && gtags -i $(GTAGS_ARGS) $$here
15781
+ && $(am__cd) $(top_srcdir) \
15782
+ && gtags -i $(GTAGS_ARGS) "$$here"
15785
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
15786
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
15789
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
15790
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
15792
distdir: $(DISTFILES)
15793
- @list='$(DISTFILES)'; for file in $$list; do \
15794
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
15795
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
15796
+ list='$(DISTFILES)'; \
15797
+ dist_files=`for file in $$list; do echo $$file; done | \
15798
+ sed -e "s|^$$srcdirstrip/||;t" \
15799
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
15800
+ case $$dist_files in \
15801
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
15802
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
15805
+ for file in $$dist_files; do \
15806
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
15807
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
15808
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
15810
- $(mkinstalldirs) "$(distdir)$$dir"; \
15814
if test -d $$d/$$file; then \
15815
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
15816
+ if test -d "$(distdir)/$$file"; then \
15817
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
15819
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
15820
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
15821
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
15822
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
15824
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
15825
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
15827
- test -f $(distdir)/$$file \
15828
- || cp -p $$d/$$file $(distdir)/$$file \
15829
+ test -f "$(distdir)/$$file" \
15830
+ || cp -p $$d/$$file "$(distdir)/$$file" \
15836
all-am: Makefile $(DATA) $(HEADERS)
15839
- $(mkinstalldirs) $(DESTDIR)$(gtkboardpixmapsdir)
15841
+ for dir in "$(DESTDIR)$(gtkboardpixmapsdir)"; do \
15842
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
15844
install: install-am
15845
install-exec: install-exec-am
15846
install-data: install-data-am
15847
@@ -208,7 +340,7 @@ install-am: all-am
15848
installcheck: installcheck-am
15850
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
15851
- INSTALL_STRIP_FLAG=-s \
15852
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
15853
`test -z '$(STRIP)' || \
15854
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
15855
mostlyclean-generic:
15856
@@ -216,7 +348,8 @@ mostlyclean-generic:
15860
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
15861
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
15862
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
15864
maintainer-clean-generic:
15865
@echo "This command is intended for maintainers to use"
15866
@@ -226,46 +359,81 @@ clean: clean-am
15867
clean-am: clean-generic mostlyclean-am
15869
distclean: distclean-am
15872
distclean-am: clean-am distclean-generic distclean-tags
15886
install-data-am: install-gtkboardpixmapsDATA
15888
+install-dvi: install-dvi-am
15894
+install-html: install-html-am
15898
install-info: install-info-am
15904
+install-pdf: install-pdf-am
15908
+install-ps: install-ps-am
15914
maintainer-clean: maintainer-clean-am
15917
maintainer-clean-am: distclean-am maintainer-clean-generic
15919
mostlyclean: mostlyclean-am
15921
mostlyclean-am: mostlyclean-generic
15923
-uninstall-am: uninstall-gtkboardpixmapsDATA uninstall-info-am
15932
-.PHONY: GTAGS all all-am check check-am clean clean-generic distclean \
15933
- distclean-generic distclean-tags distdir dvi dvi-am info \
15934
- info-am install install-am install-data install-data-am \
15935
+uninstall-am: uninstall-gtkboardpixmapsDATA
15937
+.MAKE: install-am install-strip
15939
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
15940
+ ctags distclean distclean-generic distclean-tags distdir dvi \
15941
+ dvi-am html html-am info info-am install install-am \
15942
+ install-data install-data-am install-dvi install-dvi-am \
15943
install-exec install-exec-am install-gtkboardpixmapsDATA \
15944
- install-info install-info-am install-man install-strip \
15945
- installcheck installcheck-am installdirs maintainer-clean \
15946
- maintainer-clean-generic mostlyclean mostlyclean-generic tags \
15947
- uninstall uninstall-am uninstall-gtkboardpixmapsDATA \
15948
- uninstall-info-am
15949
+ install-html install-html-am install-info install-info-am \
15950
+ install-man install-pdf install-pdf-am install-ps \
15951
+ install-ps-am install-strip installcheck installcheck-am \
15952
+ installdirs maintainer-clean maintainer-clean-generic \
15953
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
15954
+ uninstall uninstall-am uninstall-gtkboardpixmapsDATA
15957
# Tell versions [3.59,3.63) of GNU make to not export all variables.
15958
# Otherwise a system limit (for SysV at least) may be exceeded.
15959
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/doc/Makefile.in
15960
+++ gtkboard-0.11pre0+cvs.2003.11.02/doc/Makefile.in
15962
-# Makefile.in generated by automake 1.6.3 from Makefile.am.
15963
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
15964
# @configure_input@
15966
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
15967
-# Free Software Foundation, Inc.
15968
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
15969
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
15971
# This Makefile.in is free software; the Free Software Foundation
15972
# gives unlimited permission to copy and/or distribute it,
15973
# with or without modifications, as long as this notice is preserved.
15974
@@ -13,127 +14,219 @@
15975
# PARTICULAR PURPOSE.
15981
-top_srcdir = @top_srcdir@
15984
-exec_prefix = @exec_prefix@
15987
-sbindir = @sbindir@
15988
-libexecdir = @libexecdir@
15989
-datadir = @datadir@
15990
-sysconfdir = @sysconfdir@
15991
-sharedstatedir = @sharedstatedir@
15992
-localstatedir = @localstatedir@
15994
-infodir = @infodir@
15996
-includedir = @includedir@
15997
-oldincludedir = /usr/include
15998
pkgdatadir = $(datadir)/@PACKAGE@
15999
-pkglibdir = $(libdir)/@PACKAGE@
16000
pkgincludedir = $(includedir)/@PACKAGE@
16003
-ACLOCAL = @ACLOCAL@
16004
-AUTOCONF = @AUTOCONF@
16005
-AUTOMAKE = @AUTOMAKE@
16006
-AUTOHEADER = @AUTOHEADER@
16008
+pkglibdir = $(libdir)/@PACKAGE@
16009
+pkglibexecdir = $(libexecdir)/@PACKAGE@
16010
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
16011
-INSTALL = @INSTALL@
16012
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
16013
-INSTALL_DATA = @INSTALL_DATA@
16014
install_sh_DATA = $(install_sh) -c -m 644
16015
install_sh_PROGRAM = $(install_sh) -c
16016
install_sh_SCRIPT = $(install_sh) -c
16017
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
16018
INSTALL_HEADER = $(INSTALL_DATA)
16019
-transform = @program_transform_name@
16020
+transform = $(program_transform_name)
16024
NORMAL_UNINSTALL = :
16027
-host_alias = @host_alias@
16028
+build_triplet = @build@
16029
host_triplet = @host@
16033
-PATH_SEPARATOR = @PATH_SEPARATOR@
16034
+target_triplet = @target@
16036
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
16037
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
16038
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
16039
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
16041
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
16042
+CONFIG_HEADER = $(top_builddir)/config.h
16043
+CONFIG_CLEAN_FILES =
16044
+CONFIG_CLEAN_VPATH_FILES =
16047
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
16048
+ACLOCAL = @ACLOCAL@
16050
+AUTOCONF = @AUTOCONF@
16051
+AUTOHEADER = @AUTOHEADER@
16052
+AUTOMAKE = @AUTOMAKE@
16055
+CCDEPMODE = @CCDEPMODE@
16058
+CPPFLAGS = @CPPFLAGS@
16059
+CYGPATH_W = @CYGPATH_W@
16067
GNOME_CFLAGS = @GNOME_CFLAGS@
16068
GNOME_LIBS = @GNOME_LIBS@
16070
GTK_CFLAGS = @GTK_CFLAGS@
16071
-GTK_CONFIG = @GTK_CONFIG@
16072
GTK_LIBS = @GTK_LIBS@
16073
+INSTALL = @INSTALL@
16074
+INSTALL_DATA = @INSTALL_DATA@
16075
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
16076
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
16077
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
16078
+LDFLAGS = @LDFLAGS@
16079
+LIBOBJS = @LIBOBJS@
16081
+LTLIBOBJS = @LTLIBOBJS@
16082
+MAKEINFO = @MAKEINFO@
16083
+MKDIR_P = @MKDIR_P@
16085
PACKAGE = @PACKAGE@
16086
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
16087
+PACKAGE_NAME = @PACKAGE_NAME@
16088
+PACKAGE_STRING = @PACKAGE_STRING@
16089
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
16090
+PACKAGE_URL = @PACKAGE_URL@
16091
+PACKAGE_VERSION = @PACKAGE_VERSION@
16092
+PATH_SEPARATOR = @PATH_SEPARATOR@
16093
PKG_CONFIG = @PKG_CONFIG@
16094
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
16095
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
16096
+SET_MAKE = @SET_MAKE@
16099
VERSION = @VERSION@
16100
+abs_builddir = @abs_builddir@
16101
+abs_srcdir = @abs_srcdir@
16102
+abs_top_builddir = @abs_top_builddir@
16103
+abs_top_srcdir = @abs_top_srcdir@
16104
+ac_ct_CC = @ac_ct_CC@
16105
am__include = @am__include@
16106
+am__leading_dot = @am__leading_dot@
16107
am__quote = @am__quote@
16108
+am__tar = @am__tar@
16109
+am__untar = @am__untar@
16112
+build_alias = @build_alias@
16113
+build_cpu = @build_cpu@
16114
+build_os = @build_os@
16115
+build_vendor = @build_vendor@
16116
+builddir = @builddir@
16117
+datadir = @datadir@
16118
+datarootdir = @datarootdir@
16121
+exec_prefix = @exec_prefix@
16123
+host_alias = @host_alias@
16124
+host_cpu = @host_cpu@
16125
+host_os = @host_os@
16126
+host_vendor = @host_vendor@
16127
+htmldir = @htmldir@
16128
+includedir = @includedir@
16129
+infodir = @infodir@
16130
install_sh = @install_sh@
16132
+libexecdir = @libexecdir@
16133
+localedir = @localedir@
16134
+localstatedir = @localstatedir@
16136
+mkdir_p = @mkdir_p@
16137
+oldincludedir = @oldincludedir@
16140
+program_transform_name = @program_transform_name@
16142
+sbindir = @sbindir@
16143
+sharedstatedir = @sharedstatedir@
16145
+sysconfdir = @sysconfdir@
16147
+target_alias = @target_alias@
16148
+target_cpu = @target_cpu@
16149
+target_os = @target_os@
16150
+target_vendor = @target_vendor@
16151
+top_build_prefix = @top_build_prefix@
16152
+top_builddir = @top_builddir@
16153
+top_srcdir = @top_srcdir@
16154
EXTRA_DIST = index.html devel/ doxygen/doxygen_config doxygen/header.html doxygen/footer.html
16156
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
16157
-CONFIG_HEADER = $(top_builddir)/config.h
16158
-CONFIG_CLEAN_FILES =
16160
-DIST_COMMON = Makefile.am Makefile.in
16164
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
16165
- cd $(top_srcdir) && \
16166
- $(AUTOMAKE) --gnu doc/Makefile
16167
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
16168
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
16169
-uninstall-info-am:
16170
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
16171
+ @for dep in $?; do \
16172
+ case '$(am__configure_deps)' in \
16174
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
16175
+ && { if test -f $@; then exit 0; else break; fi; }; \
16179
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
16180
+ $(am__cd) $(top_srcdir) && \
16181
+ $(AUTOMAKE) --gnu doc/Makefile
16182
+.PRECIOUS: Makefile
16183
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
16185
+ *config.status*) \
16186
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
16188
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
16189
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
16192
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
16193
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
16195
+$(top_srcdir)/configure: $(am__configure_deps)
16196
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
16197
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
16198
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
16199
+$(am__aclocal_m4_deps):
16203
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
16208
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
16210
distdir: $(DISTFILES)
16211
- $(mkinstalldirs) $(distdir)/doxygen
16212
- @list='$(DISTFILES)'; for file in $$list; do \
16213
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
16214
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
16215
+ list='$(DISTFILES)'; \
16216
+ dist_files=`for file in $$list; do echo $$file; done | \
16217
+ sed -e "s|^$$srcdirstrip/||;t" \
16218
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
16219
+ case $$dist_files in \
16220
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
16221
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
16224
+ for file in $$dist_files; do \
16225
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
16226
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
16227
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
16229
- $(mkinstalldirs) "$(distdir)$$dir"; \
16233
if test -d $$d/$$file; then \
16234
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
16235
+ if test -d "$(distdir)/$$file"; then \
16236
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
16238
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
16239
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
16240
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
16241
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
16243
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
16244
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
16246
- test -f $(distdir)/$$file \
16247
- || cp -p $$d/$$file $(distdir)/$$file \
16248
+ test -f "$(distdir)/$$file" \
16249
+ || cp -p $$d/$$file "$(distdir)/$$file" \
16259
install: install-am
16260
install-exec: install-exec-am
16261
install-data: install-data-am
16262
@@ -145,7 +238,7 @@ install-am: all-am
16263
installcheck: installcheck-am
16265
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
16266
- INSTALL_STRIP_FLAG=-s \
16267
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
16268
`test -z '$(STRIP)' || \
16269
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
16270
mostlyclean-generic:
16271
@@ -153,7 +246,8 @@ mostlyclean-generic:
16275
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
16276
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
16277
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
16279
maintainer-clean-generic:
16280
@echo "This command is intended for maintainers to use"
16281
@@ -163,44 +257,79 @@ clean: clean-am
16282
clean-am: clean-generic mostlyclean-am
16284
distclean: distclean-am
16287
distclean-am: clean-am distclean-generic
16303
+install-dvi: install-dvi-am
16309
+install-html: install-html-am
16313
install-info: install-info-am
16319
+install-pdf: install-pdf-am
16323
+install-ps: install-ps-am
16329
maintainer-clean: maintainer-clean-am
16332
maintainer-clean-am: distclean-am maintainer-clean-generic
16334
mostlyclean: mostlyclean-am
16336
mostlyclean-am: mostlyclean-generic
16338
-uninstall-am: uninstall-info-am
16349
+.MAKE: install-am install-strip
16351
.PHONY: all all-am check check-am clean clean-generic distclean \
16352
- distclean-generic distdir dvi dvi-am info info-am install \
16353
- install-am install-data install-data-am install-exec \
16354
- install-exec-am install-info install-info-am install-man \
16355
+ distclean-generic distdir dvi dvi-am html html-am info info-am \
16356
+ install install-am install-data install-data-am install-dvi \
16357
+ install-dvi-am install-exec install-exec-am install-html \
16358
+ install-html-am install-info install-info-am install-man \
16359
+ install-pdf install-pdf-am install-ps install-ps-am \
16360
install-strip installcheck installcheck-am installdirs \
16361
maintainer-clean maintainer-clean-generic mostlyclean \
16362
- mostlyclean-generic uninstall uninstall-am uninstall-info-am
16363
+ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
16366
# Tell versions [3.59,3.63) of GNU make to not export all variables.
16367
# Otherwise a system limit (for SysV at least) may be exceeded.
16368
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/stack.c
16369
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/stack.c
16371
movstack_ptr ---> movstack_max : "forward" list
16374
+//! Start offset of the stack in the circular buffer
16375
+static int movstack_start = 0;
16377
//! Current position in the stack
16378
static int movstack_ptr = 0;
16380
@@ -67,31 +70,38 @@ int movstack_get_num_moves()
16382
void movstack_push (byte *board, byte *move)
16384
- assert (movstack_ptr < STACK_SIZE - 1);
16385
- movstack[movstack_ptr] = movdup (move);
16386
- movinvstack[movstack_ptr] = mov_getinv (board, move);
16388
- if (movstack_ptr > movstack_max)
16389
- movstack_max = movstack_ptr;
16390
+ movstack[(movstack_start + movstack_ptr) % STACK_SIZE] = movdup (move);
16391
+ movinvstack[(movstack_start + movstack_ptr) % STACK_SIZE] = mov_getinv (board, move);
16392
+ if (movstack_ptr < STACK_SIZE - 1) {
16394
+ if (movstack_ptr > movstack_max)
16395
+ movstack_max = movstack_ptr;
16397
+ free (movstack[movstack_start]);
16398
+ free (movinvstack[movstack_start]);
16399
+ movstack_start = (movstack_start + 1) % STACK_SIZE;
16403
byte *movstack_pop ()
16405
if (movstack_ptr == 0)
16407
- return movstack[--movstack_ptr];
16409
+ return movstack[(movstack_start + movstack_ptr) % STACK_SIZE];
16412
-//! Truncates a stack to the current poisition.
16413
-/** This will be called when the user makes a move when it is not the final poisition. */
16414
+//! Truncates a stack to the current position.
16415
+/** This will be called when the user makes a move when it is not the final position. */
16416
void movstack_trunc ()
16419
assert (movstack_ptr <= movstack_max);
16420
for (i = movstack_ptr; i < movstack_max; i++)
16422
- free (movstack[i]);
16423
- free (movinvstack[i]);
16424
+ int j = (movstack_start + i) % STACK_SIZE;
16425
+ free (movstack[j]);
16426
+ free (movinvstack[j]);
16428
movstack_max = movstack_ptr;
16430
@@ -101,7 +111,7 @@ byte * movstack_forw ()
16431
if (movstack_ptr < movstack_max)
16434
- return movstack[movstack_ptr-1];
16435
+ return movstack[(movstack_start + movstack_ptr - 1) % STACK_SIZE];
16438
byte * movstack_back ()
16439
@@ -109,7 +119,7 @@ byte * movstack_back ()
16440
if (movstack_ptr > 0)
16443
- return movinvstack[movstack_ptr];
16444
+ return movinvstack[(movstack_start + movstack_ptr) % STACK_SIZE];
16447
void movstack_free ()
16448
@@ -117,8 +127,9 @@ void movstack_free ()
16450
for (i=0; i<movstack_max; i++)
16452
- free (movstack[i]);
16453
- free (movinvstack[i]);
16454
+ int j = (movstack_start + i) % STACK_SIZE;
16455
+ free (movstack[j]);
16456
+ free (movinvstack[j]);
16458
movstack_max = movstack_ptr = 0;
16460
@@ -128,7 +139,7 @@ void movstack_free ()
16464
-static int statestack_ptr = 0, statestack_max = 0;
16465
+static int statestack_start = 0, statestack_ptr = 0, statestack_max = 0;
16467
static void *statestack[STACK_SIZE];
16469
@@ -136,28 +147,35 @@ static void *statestack[STACK_SIZE];
16470
void statestack_push (void *state)
16473
- assert (statestack_ptr < STACK_SIZE - 1);
16474
newstate = malloc (game_state_size);
16476
memcpy (newstate, state, game_state_size);
16477
- statestack[statestack_ptr] = newstate;
16478
- statestack_ptr++;
16479
- if (statestack_ptr > statestack_max)
16480
- statestack_max = statestack_ptr;
16482
+ statestack[(statestack_start + statestack_ptr) % STACK_SIZE] = newstate;
16484
+ if (statestack_ptr < STACK_SIZE - 1) {
16485
+ statestack_ptr++;
16486
+ if (statestack_ptr > statestack_max)
16487
+ statestack_max = statestack_ptr;
16489
+ free (statestack[statestack_start]);
16490
+ statestack_start = (statestack_start + 1) % STACK_SIZE;
16494
void *statestack_peek ()
16496
if (statestack_ptr == 0)
16498
- return statestack[statestack_ptr-1];
16499
+ return statestack[(statestack_start + statestack_ptr - 1) % STACK_SIZE];
16502
void *statestack_pop ()
16504
if (statestack_ptr == 0)
16506
- return statestack[--statestack_ptr];
16507
+ statestack_ptr--;
16508
+ return statestack[(statestack_start + statestack_ptr) % STACK_SIZE];
16511
void statestack_trunc ()
16512
@@ -165,7 +183,7 @@ void statestack_trunc ()
16514
assert (statestack_ptr <= statestack_max);
16515
for (i = statestack_ptr; i < statestack_max; i++)
16516
- free (statestack[i]);
16517
+ free (statestack[(statestack_start + i) % STACK_SIZE]);
16518
statestack_max = statestack_ptr;
16521
@@ -174,7 +192,7 @@ void * statestack_forw ()
16522
if (statestack_ptr < statestack_max)
16525
- return statestack[statestack_ptr-1];
16526
+ return statestack[(statestack_start + statestack_ptr - 1) % STACK_SIZE];
16529
void * statestack_back ()
16530
@@ -182,13 +200,17 @@ void * statestack_back ()
16531
if (statestack_ptr > 0)
16534
- return statestack[statestack_ptr-1];
16535
+ return statestack[(statestack_start + statestack_ptr - 1) % STACK_SIZE];
16538
void statestack_free ()
16541
for (i=0; i<statestack_max; i++)
16542
- free (statestack[i]);
16543
+ free (statestack[(statestack_start + i) % STACK_SIZE]);
16544
statestack_max = statestack_ptr = 0;
16547
+// Local Variables:
16550
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/engine.c
16551
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/engine.c
16552
@@ -433,3 +433,6 @@ byte * engine_search (Pos *pos/*, int pl
16556
+// Local Variables:
16559
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/aaball.c
16560
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/aaball.c
16561
@@ -297,3 +297,6 @@ char ** pixmap_die_gen(int len, char *pi
16565
+// Local Variables:
16568
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/ab.c
16569
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/ab.c
16570
@@ -88,7 +88,7 @@ float ab_with_tt (Pos *pos, int player,
16571
// origmove is the owning pointer and move is the aliasing pointer
16572
else orig_move = move = movdup (move);
16574
- newpos.board = (char *) malloc (board_wid * board_heit);
16575
+ newpos.board = malloc (board_wid * board_heit);
16576
assert (newpos.board);
16579
@@ -367,3 +367,7 @@ byte * ab_dfid (Pos *pos, int player)
16581
return found ? best_move : NULL;
16584
+// Local Variables:
16587
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/dirmaze.c
16588
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/dirmaze.c
16589
@@ -275,3 +275,6 @@ char ** hypermaze_get_pixmap (int idx, i
16593
+// Local Variables:
16596
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/knights.c
16597
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/knights.c
16598
@@ -367,3 +367,7 @@ ResultType knights_eval (Pos *pos, Playe
16600
return knights_eval_real (pos, player, eval, FALSE);
16603
+// Local Variables:
16606
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/rgb.c
16607
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/rgb.c
16608
@@ -224,3 +224,7 @@ static ResultType rgb_eval (Pos *pos, Pl
16610
return RESULT_NOTYET;
16613
+// Local Variables:
16616
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/dotsandboxes.c
16617
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/dotsandboxes.c
16618
@@ -447,3 +447,7 @@ void dnb_search (Pos *pos, byte **movp)
16623
+// Local Variables:
16626
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/tetris.c
16627
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/tetris.c
16628
@@ -505,3 +505,6 @@ char ** tetris_get_pixmap (int idx, int
16632
+// Local Variables:
16635
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/sound.h
16636
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/sound.h
16637
@@ -25,3 +25,7 @@ void sound_set_enabled (gboolean enabled
16638
void sound_enable_pref_cb (gchar *key, gchar *value);
16642
+// Local Variables:
16645
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/antichess.c
16646
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/antichess.c
16647
@@ -731,3 +731,7 @@ ResultType antichess_eval_incr (Pos *pos
16649
return RESULT_NOTYET;
16652
+// Local Variables:
16655
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/maze.c
16656
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/maze.c
16657
@@ -289,3 +289,6 @@ char ** maze_get_pixmap (int idx, int co
16658
//else return pixmap_ball_gen(MAZE_CELL_SIZE, 0xc0c040, bg, 2, 50);
16661
+// Local Variables:
16664
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/ninemm.c
16665
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/ninemm.c
16666
@@ -263,3 +263,7 @@ void ninemm_reset_uistate ()
16671
+// Local Variables:
16674
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/kttour.c
16675
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/kttour.c
16676
@@ -266,3 +266,6 @@ int kttour_getmove
16680
+// Local Variables:
16683
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/towers.c
16684
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/towers.c
16685
@@ -412,3 +412,7 @@ void towers_get_render (Pos *pos, byte *
16690
+// Local Variables:
16693
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/stopgate.c
16694
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/stopgate.c
16695
@@ -527,5 +527,6 @@ int stopgate_getmove (Pos *pos, int x, i
16701
+// Local Variables:
16704
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/quarto.c
16705
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/quarto.c
16706
@@ -312,4 +312,6 @@ unsigned char * quarto_get_rgbmap (int i
16711
+// Local Variables:
16714
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/infiltrate.c
16715
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/infiltrate.c
16716
@@ -205,3 +205,7 @@ char ** infiltrate_get_pixmap (int idx,
16721
+// Local Variables:
16724
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/othello.c
16725
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/othello.c
16726
@@ -564,3 +564,7 @@ gboolean othello_use_incr_eval (Pos *pos
16727
// TODO: use different threshold for Othello6x6
16728
return pos->num_moves > 50 ? TRUE : FALSE;
16731
+// Local Variables:
16734
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/hiq.c
16735
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/hiq.c
16736
@@ -286,3 +286,6 @@ InputType hiq_event_handler
16737
return INPUT_LEGAL;
16740
+// Local Variables:
16743
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/checkers.c
16744
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/checkers.c
16745
@@ -300,3 +300,7 @@ char ** checkers_get_pixmap (int idx, in
16746
CHECKERS_ISWHITE(idx) ? 0xffffff : 0x0000ff, bg,
16747
(idx == CHECKERS_WP || idx == CHECKERS_BP) ? 8 : 12, 24);
16750
+// Local Variables:
16753
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/cpento.c
16754
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/cpento.c
16755
@@ -576,3 +576,6 @@ static int cpento_getmove(Pos *pos, int
16759
+// Local Variables:
16762
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/wordtris.c
16763
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/wordtris.c
16764
@@ -783,5 +783,6 @@ int wordtris_animate (Pos *pos, byte **m
16770
+// Local Variables:
16773
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/breakthrough.c
16774
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/breakthrough.c
16775
@@ -362,3 +362,6 @@ int breakthrough_getmove (Pos *pos, int
16779
+// Local Variables:
16782
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/eightqueens.c
16783
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/eightqueens.c
16784
@@ -43,7 +43,7 @@ char eightqueens_colors[6] = {200, 200,
16786
void eightqueens_init ();
16788
-char ** eightqueens_pixmaps [] =
16789
+char ** eightqueens_pixmaps [] =
16792
grey_square_54_xpm,
16793
@@ -126,10 +126,13 @@ int eightqueens_getmove (Pos *pos, int x
16794
*mp++ = x, *mp++ = y, *mp++ = EIGHTQUEENS_QUEEN;
16795
for (i=0; i<board_wid; i++)
16796
for (j=0; j<board_heit; j++)
16797
- if (!(i==x && j==y) && pos->board[j * board_wid + i] == EIGHTQUEENS_EMPTY
16798
+ if (!(i==x && j==y) && pos->board[j * board_wid + i] == EIGHTQUEENS_EMPTY
16799
&& ATTACKS (i, j, x, y))
16800
*mp++ = i, *mp++ = j, *mp++ = EIGHTQUEENS_CONTROLLED;
16805
+// Local Variables:
16808
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/ui.c
16809
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/ui.c
16811
#include <sys/stat.h>
16812
#include <sys/types.h>
16813
#include <sys/wait.h>
16814
+#include <getopt.h>
16818
@@ -667,7 +668,25 @@ static void parse_opts (int argc, char *
16820
char *wheur = NULL, *bheur = NULL;
16822
- while ((c = getopt (argc, argv, "g:G:d:f:l:p:w:b:Hqvh")) != -1)
16823
+ int option_index = 0;
16824
+ static struct option long_options[] = {
16825
+ {"game",1,0,'g'},
16826
+ {"plugin",1,0,'G'},
16827
+ {"delay",1,0,'d'},
16828
+ {"file",1,0,'f'},
16830
+ {"players",1,0,'p'},
16831
+ {"w-heuristic",1,0,'w'},
16832
+ {"b-heuristic",1,0,'b'},
16833
+ {"html-help",0,0,'H'},
16834
+ {"hide-board",0,0,'q'},
16835
+ {"verbose",0,0,'v'},
16836
+ {"help",0,0,'h'},
16837
+ {"version",0,0,'V'},
16840
+ while ((c = getopt_long (argc, argv, "g:G:d:f:l:p:w:b:HqvhV",
16841
+ long_options, &option_index)) != -1)
16845
@@ -787,22 +806,27 @@ static void parse_opts (int argc, char *
16850
+ printf("gtkboard %s\n", GTKBOARD_VERSION);
16853
- printf ("Usage: gtkboard \t[-qvh] "
16854
- "[-g game] [-G file] [-f file] [-l logfile] [-d msec]\n"
16855
- "\t\t\t[-p XX] [-w wheur -b bheur] "
16856
+ printf ("Usage: gtkboard \t[-qvhV]"
16857
+ " [-g game] [-G file] [-f file] [-l logfile] [-d msec]"
16858
+ " [-p XX] [-w wheur -b bheur]"
16861
- "\t-g\tname of the game\n"
16862
- "\t-G\tplugin file to load game from\n"
16863
- "\t-f\tfile to load game from\n"
16864
- "\t-l\tlog file to record game\n"
16865
- "\t-q\tdon't show board\n"
16866
- "\t-d\tdelay in milliseconds\n"
16867
- "\t-p\thuman or machine players. Each X must be 'h' or 'm'\n"
16868
- "\t-w\tname of heuristic function for white\n"
16869
- "\t-b\tname of heuristic function for black\n"
16870
- "\t-v\tbe verbose\n"
16871
- "\t-h\tprint this help\n"
16872
+ "\t-g, --game\tname of the game\n"
16873
+ "\t-G, --plugin\tplugin file to load game from\n"
16874
+ "\t-f, --file\tfile to load game from\n"
16875
+ "\t-l, --log\tlog file to record game\n"
16876
+ "\t-q, --hide-board\tdon't show board\n"
16877
+ "\t-d, --delay\tdelay in milliseconds\n"
16878
+ "\t-p, --players\thuman or machine players. Each X must be 'h' or 'm'\n"
16879
+ "\t-w, --w-heuristic\tname of heuristic function for white\n"
16880
+ "\t-b, --b-heuristic\tname of heuristic function for black\n"
16881
+ "\t-v, --verbose\tbe verbose\n"
16882
+ "\t-V, --version\tprint version and exit\n"
16883
+ "\t-h, --help\tprint this help and exit\n"
16887
@@ -1379,3 +1403,7 @@ int main (int argc, char **argv)
16892
+// Local Variables:
16895
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/game.h
16896
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/game.h
16898
This is the only file that the games need to include.
16901
+#define GTKBOARD_VERSION "0.11pre0"
16903
//! Both moves and positions are arrays of <tt>byte</tt>s
16906
@@ -518,3 +520,7 @@ extern int (*game_scorecmp_def_iscore) (
16907
extern int (*game_scorecmp_def_time) (gchar *, int, gchar*, int);
16911
+// Local Variables:
16914
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/memory.c
16915
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/memory.c
16916
@@ -302,3 +302,6 @@ int memory_getmove (Pos *pos, int x, int
16920
+// Local Variables:
16923
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/samegame.c
16924
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/samegame.c
16925
@@ -409,3 +409,7 @@ void samegame_getxy (byte *board, int *x
16930
+// Local Variables:
16933
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/pentaline.c
16934
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/pentaline.c
16935
@@ -495,3 +495,7 @@ void *pentaline_newstate (Pos *pos, byte
16936
pos->board [move[1] * board_wid + move[0]] = 0;
16940
+// Local Variables:
16943
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/plot4.c
16944
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/plot4.c
16945
@@ -302,3 +302,6 @@ char ** plot4_get_pixmap (int idx, int c
16946
return pixmap_ball_gen(55, pixbuf, fg, bg, 17.0, 30.0);
16949
+// Local Variables:
16952
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/engine.h
16953
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/engine.h
16954
@@ -42,3 +42,7 @@ void engine_poll ();
16959
+// Local Variables:
16962
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/blet.c
16963
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/blet.c
16964
@@ -152,3 +152,6 @@ unsigned char * blet_get_rgbmap (int idx
16968
+// Local Variables:
16971
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/sound.c
16972
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/sound.c
16973
@@ -169,3 +169,7 @@ void sound_play (SoundEvent event)
16974
sound_play_real (sound_file);
16975
g_free (sound_file);
16978
+// Local Variables:
16981
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/prefs.h
16982
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/prefs.h
16983
@@ -80,3 +80,7 @@ void prefs_write_config_file ();
16984
gboolean prefs_get_bool_val (gchar *value);
16985
extern int (*game_scorecmp) (gchar *, int, gchar*, int);
16988
+// Local Variables:
16991
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/prefs.c
16992
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/prefs.c
16993
@@ -563,3 +563,7 @@ void prefs_read_config_file ()
16998
+// Local Variables:
17001
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/flw.c
17002
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/flw.c
17003
@@ -342,3 +342,6 @@ void flw_free ()
17004
flw_curx = flw_cury = -1;
17007
+// Local Variables:
17010
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/hash.c
17011
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/hash.c
17012
@@ -236,3 +236,7 @@ void hash_print_stats ()
17014
if (opt_verbose) printf ("stale=%d\n", stale);
17017
+// Local Variables:
17020
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/chess.c
17021
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/chess.c
17022
@@ -895,3 +895,7 @@ ResultType chess_eval (Pos * pos, Player
17024
return RESULT_NOTYET;
17027
+// Local Variables:
17030
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/menu.c
17031
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/menu.c
17032
@@ -51,7 +51,7 @@ GtkItemFactory *menu_factory = NULL;
17033
void sb_messagebar_message (gchar *);
17034
void menu_cleanup_var_menus ();
17036
-static char * menu_paths_sens_machine_thinking[] =
17037
+static char * menu_paths_sens_machine_thinking[] =
17039
// "/File/Load game",
17040
// "/File/Save game",
17041
@@ -63,7 +63,7 @@ static char * menu_paths_sens_machine_th
17045
-static char * menu_paths_sens_no_game[] =
17046
+static char * menu_paths_sens_no_game[] =
17050
@@ -77,7 +77,7 @@ static char * menu_paths_sens_no_game[]
17051
"/Settings/Player",
17054
-static char * menu_paths_sens_no_back_forw[] =
17055
+static char * menu_paths_sens_no_back_forw[] =
17059
@@ -96,17 +96,17 @@ static char *menu_paths_sens_two_players
17060
"/Game/Zap Highscores",
17063
-static char *menu_paths_sens_ui_stopped[] =
17064
+static char *menu_paths_sens_ui_stopped[] =
17069
-static char *menu_paths_sens_machine_not_thinking[] =
17070
+static char *menu_paths_sens_machine_not_thinking[] =
17075
-static char *menu_paths_sens_eval_function[] =
17076
+static char *menu_paths_sens_eval_function[] =
17078
// "/Settings/Eval function",
17080
@@ -124,51 +124,51 @@ void menu_sensitize (int which, gboolean
17081
if (!state_gui_active) return;
17084
- case MENU_SENS_MACHINE_THINKING:
17085
+ case MENU_SENS_MACHINE_THINKING:
17086
menu_des_paths = menu_paths_sens_machine_thinking;
17087
- num_paths = sizeof (menu_paths_sens_machine_thinking) /
17088
+ num_paths = sizeof (menu_paths_sens_machine_thinking) /
17089
sizeof (menu_paths_sens_machine_thinking[0]);
17091
- case MENU_SENS_MACHINE_NOT_THINKING:
17092
+ case MENU_SENS_MACHINE_NOT_THINKING:
17093
menu_des_paths = menu_paths_sens_machine_not_thinking;
17094
- num_paths = sizeof (menu_paths_sens_machine_not_thinking) /
17095
+ num_paths = sizeof (menu_paths_sens_machine_not_thinking) /
17096
sizeof (menu_paths_sens_machine_not_thinking[0]);
17098
- case MENU_SENS_NO_GAME:
17099
+ case MENU_SENS_NO_GAME:
17100
menu_des_paths = menu_paths_sens_no_game;
17101
- num_paths = sizeof (menu_paths_sens_no_game) /
17102
+ num_paths = sizeof (menu_paths_sens_no_game) /
17103
sizeof (menu_paths_sens_no_game[0]);
17105
- case MENU_SENS_NO_BACK_FORW:
17106
+ case MENU_SENS_NO_BACK_FORW:
17107
menu_des_paths = menu_paths_sens_no_back_forw;
17108
- num_paths = sizeof (menu_paths_sens_no_back_forw) /
17109
+ num_paths = sizeof (menu_paths_sens_no_back_forw) /
17110
sizeof (menu_paths_sens_no_back_forw[0]);
17112
- case MENU_SENS_SINGLE_PLAYER:
17113
+ case MENU_SENS_SINGLE_PLAYER:
17114
menu_des_paths = menu_paths_sens_single_player;
17115
- num_paths = sizeof (menu_paths_sens_single_player) /
17116
+ num_paths = sizeof (menu_paths_sens_single_player) /
17117
sizeof (menu_paths_sens_single_player[0]);
17119
case MENU_SENS_TWO_PLAYERS:
17120
menu_des_paths = menu_paths_sens_two_players;
17121
- num_paths = sizeof (menu_paths_sens_two_players) /
17122
+ num_paths = sizeof (menu_paths_sens_two_players) /
17123
sizeof (menu_paths_sens_two_players[0]);
17125
- case MENU_SENS_UI_STOPPED:
17126
+ case MENU_SENS_UI_STOPPED:
17127
menu_des_paths = menu_paths_sens_ui_stopped;
17128
- num_paths = sizeof (menu_paths_sens_ui_stopped) /
17129
+ num_paths = sizeof (menu_paths_sens_ui_stopped) /
17130
sizeof (menu_paths_sens_ui_stopped[0]);
17132
case MENU_SENS_EVAL_FUNCTION:
17133
menu_des_paths = menu_paths_sens_eval_function;
17134
- num_paths = sizeof (menu_paths_sens_eval_function) /
17135
+ num_paths = sizeof (menu_paths_sens_eval_function) /
17136
sizeof (menu_paths_sens_eval_function[0]);
17139
g_assert_not_reached ();
17141
for (i=0; i<num_paths; i++)
17142
- gtk_widget_set_sensitive (gtk_item_factory_get_widget (menu_factory,
17143
+ gtk_widget_set_sensitive (gtk_item_factory_get_widget (menu_factory,
17144
menu_des_paths[i]), sens);
17147
@@ -191,18 +191,18 @@ void sb_set_turn_image ()
17149
for (i=0; i<7; i++)
17151
- pixmap_data = pixmap_ball_gen (size, pixbufs[i], colors[i],
17152
+ pixmap_data = pixmap_ball_gen (size, pixbufs[i], colors[i],
17153
0xffffff, 6.5, 24);
17154
- pixmaps[i] = gdk_pixmap_create_from_xpm_d
17155
+ pixmaps[i] = gdk_pixmap_create_from_xpm_d
17156
((GdkWindow *)main_window->window, NULL, NULL, pixmap_data);
17158
- gtk_image_set_from_pixmap (GTK_IMAGE (sb_turn_image),
17159
+ gtk_image_set_from_pixmap (GTK_IMAGE (sb_turn_image),
17160
pixmaps[previndex = 6], NULL);
17163
if (opt_infile || !opt_game)
17168
if (!game_single_player && ui_white == HUMAN && ui_black == HUMAN
17169
&& cur_pos.player == BLACK) index = 4;
17170
@@ -211,14 +211,14 @@ void sb_set_turn_image ()
17172
g_assert (index >= 0 && index <= 6);
17173
if (index == previndex) return;
17174
- gtk_image_set_from_pixmap (GTK_IMAGE (sb_turn_image),
17175
+ gtk_image_set_from_pixmap (GTK_IMAGE (sb_turn_image),
17176
pixmaps[previndex = index], NULL);
17180
static void sb_set_cursor ()
17182
- static GdkCursor *cursor_normal = NULL, *cursor_busy = NULL,
17183
+ static GdkCursor *cursor_normal = NULL, *cursor_busy = NULL,
17184
*cursor_inactive = NULL;
17185
// FIXME: is it ok to hard code the shape of the normal cursor?
17186
if (!cursor_normal) cursor_normal = gdk_cursor_new (GDK_LEFT_PTR);
17187
@@ -272,9 +272,9 @@ static void menu_show_dialog_real (gchar
17188
dialog = gtk_dialog_new_with_buttons (title, GTK_WINDOW (main_window),
17189
GTK_DIALOG_MODAL, NULL);
17190
gtk_window_set_default_size (GTK_WINDOW (dialog), 300, 100);
17191
- okay_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
17192
+ okay_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
17193
GTK_STOCK_OK, GTK_RESPONSE_NONE);
17194
- g_signal_connect_swapped (GTK_OBJECT (dialog),
17195
+ g_signal_connect_swapped (GTK_OBJECT (dialog),
17196
"response", G_CALLBACK (gtk_widget_destroy), GTK_OBJECT (dialog));
17197
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
17199
@@ -294,7 +294,7 @@ void menu_show_dialog_wrap (gchar *title
17201
menu_show_dialog_real (title, message, TRUE);
17206
void menu_pause_cb (GtkWidget *dialog)
17208
@@ -336,7 +336,7 @@ void menu_show_pause_dialog ()
17209
/* dialog = gtk_dialog_new_with_buttons (title, GTK_WINDOW (main_window),
17210
GTK_DIALOG_MODAL, NULL);
17211
gtk_window_set_default_size (GTK_WINDOW (dialog), 300, 100);
17212
- okay_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
17213
+ okay_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
17214
GTK_STOCK_OK, GTK_RESPONSE_NONE);
17215
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
17217
@@ -375,13 +375,11 @@ void menu_show_about_dialog (gpointer da
17218
menu_show_dialog ("About gtkboard",
17219
"gtkboard " VERSION "\n"
17220
"http://gtkboard.sourceforge.net/\n"
17221
- "Maintainer: Arvind Narayanan <arvindn@users.sourceforge.net>\n"
17222
+ "Author: Arvind Narayanan <arvindn@users.sourceforge.net>\n"
17223
"Released under the GNU General Public License\n"
17224
"See the file COPYING for details\n"
17226
- "The documentation is available in the doc/ directory\n"
17227
- "of the source distribution or in the directory\n"
17228
- "/usr/local/doc/gtkboard-" VERSION "/ if you installed from binary rpm.\n"
17229
+ "The documentation is available locally in /usr/share/doc/gtkboard/.\n"
17230
"The latest documentation will always be available at\n"
17231
"http://gtkboard.sourceforge.net/doc/"
17233
@@ -425,8 +423,8 @@ void menu_start_stop_game (gpointer data
17234
sb_error ("Game over", FALSE);
17237
- if (!impl_check())
17239
+ if (!impl_check())
17241
sb_error ("Not yet implemented", TRUE);
17244
@@ -470,19 +468,19 @@ void menu_start_stop_game (gpointer data
17245
// if first is TRUE use opt_white and opt_black
17246
void menu_put_player (gboolean first)
17248
- gchar *path, *paths[4] = {
17249
+ gchar *path, *paths[4] = {
17250
"/Settings/Player/Human-Human", "/Settings/Player/Human-Machine",
17251
"/Settings/Player/Machine-Human", "/Settings/Player/Machine-Machine"};
17252
if (!state_gui_active) return;
17253
if (first) {ui_white = opt_white; ui_black = opt_black;}
17256
- gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM
17257
- (gtk_item_factory_get_widget (menu_factory, "/Settings/Player/File")),
17258
+ gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM
17259
+ (gtk_item_factory_get_widget (menu_factory, "/Settings/Player/File")),
17266
else if (ui_white == HUMAN && ui_black == HUMAN)
17268
else if (ui_white == HUMAN && ui_black == MACHINE)
17269
@@ -493,7 +491,7 @@ void menu_put_player (gboolean first)
17273
- gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM
17274
+ gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM
17275
(gtk_item_factory_get_widget (menu_factory, path)), TRUE);
17278
@@ -507,21 +505,21 @@ void menu_put_game ()
17279
strncat (path, "/", 128);
17281
strncat (path, opt_game->name, 128);
17282
- gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM
17283
+ gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM
17284
(gtk_item_factory_get_widget (menu_factory, path)), TRUE);
17287
GtkWidget *menu_selector;
17289
-void menu_load_file (GtkFileSelection *selector, gpointer user_data)
17291
+void menu_load_file (GtkFileSelection *selector, gpointer user_data)
17293
gchar const *filename;
17295
- filename = gtk_file_selection_get_filename
17296
+ filename = gtk_file_selection_get_filename
17297
(GTK_FILE_SELECTION(menu_selector));
17298
if (!(in = fopen (filename, "r")))
17300
- gchar *tempstr = g_strdup_printf
17301
+ gchar *tempstr = g_strdup_printf
17302
("Could not open file \"%s\" for reading", filename);
17303
sb_error (tempstr, TRUE);
17305
@@ -544,7 +542,7 @@ void menu_set_player (gpointer *data, gu
17306
/* the callback for a radio button appears to
17307
be called TWICE, once when selected and once when something else
17311
if (!GTK_CHECK_MENU_ITEM(widget)->active)
17314
@@ -601,12 +599,12 @@ void menu_load_file_dialog ()
17315
g_assert (menu_selector);
17316
/*gtk_file_selection_complete (
17317
GTK_FILE_SELECTION (menu_selector), "*.cbgf");*/
17319
- gtk_signal_connect (GTK_OBJECT
17321
+ gtk_signal_connect (GTK_OBJECT
17322
(GTK_FILE_SELECTION(menu_selector)->ok_button),
17323
"clicked", GTK_SIGNAL_FUNC (menu_load_file), NULL);
17325
- gtk_signal_connect_object (GTK_OBJECT
17327
+ gtk_signal_connect_object (GTK_OBJECT
17328
(GTK_FILE_SELECTION(menu_selector)->ok_button),
17329
"clicked", GTK_SIGNAL_FUNC (gtk_widget_destroy),
17330
(gpointer) menu_selector);
17331
@@ -615,7 +613,7 @@ void menu_load_file_dialog ()
17332
GTK_OBJECT (GTK_FILE_SELECTION(menu_selector)->cancel_button),
17333
"clicked", GTK_SIGNAL_FUNC (gtk_widget_destroy),
17334
(gpointer) menu_selector);
17337
gtk_widget_show (menu_selector);
17340
@@ -671,7 +669,7 @@ void menu_show_game_doc (gpointer data,
17341
dialog = gtk_dialog_new();
17342
gtk_window_set_title (GTK_WINDOW (dialog), titlestr);
17343
hbox = gtk_hbox_new (FALSE, 0);
17344
- msgarea = gtk_text_new (NULL,
17345
+ msgarea = gtk_text_new (NULL,
17346
gtk_range_get_adjustment (GTK_RANGE (vbar)));
17347
gtk_text_set_word_wrap (GTK_TEXT (msgarea), TRUE);
17348
gtk_text_insert (GTK_TEXT (msgarea), NULL, NULL, NULL, msgstr, -1);
17349
@@ -680,7 +678,7 @@ void menu_show_game_doc (gpointer data,
17350
okay_button = gtk_button_new_with_label(" OK ");
17351
gtk_signal_connect_object (GTK_OBJECT (okay_button), "clicked",
17352
GTK_SIGNAL_FUNC (gtk_widget_destroy), (gpointer) dialog);
17353
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG(dialog)->action_area),
17354
+ gtk_box_pack_start (GTK_BOX (GTK_DIALOG(dialog)->action_area),
17355
okay_button, FALSE, FALSE, 0);
17356
gtk_widget_grab_focus (okay_button); // contributed by Paddu
17357
gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->vbox), hbox);
17358
@@ -696,7 +694,7 @@ void menu_show_game_doc (gpointer data,
17359
gtk_text_view_set_editable (GTK_TEXT_VIEW (msgarea), FALSE);
17360
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (msgarea), GTK_WRAP_WORD);
17361
gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (msgarea), FALSE);
17362
- gtk_text_buffer_set_text (gtk_text_view_get_buffer
17363
+ gtk_text_buffer_set_text (gtk_text_view_get_buffer
17364
(GTK_TEXT_VIEW (msgarea)), msgstr, -1);
17365
scrwin = gtk_scrolled_window_new (NULL,
17366
gtk_range_get_adjustment (GTK_RANGE(vbar)));
17367
@@ -827,21 +825,21 @@ void menu_insert_recent_game (gchar *gam
17368
void menu_start_game ()
17375
- GtkItemFactoryEntry help_items [3];
17376
+ GtkItemFactoryEntry help_items [4];
17377
help_items[0].path = g_strdup_printf ("/Help/%s", opt_game->name);
17378
help_items[0].accelerator = NULL;
17379
help_items[0].callback = NULL;
17380
help_items[0].item_type = "<Branch>";
17381
gtk_item_factory_create_item (menu_factory, help_items, NULL, 1);
17383
- help_items[0].path = g_strdup_printf ("/Help/%s/_About", opt_game->name);
17385
+ help_items[0].path = g_strdup_printf ("/Help/%s/_About", opt_game->name);
17386
help_items[0].callback_action = MENU_DOC_ABOUT;
17387
- help_items[1].path = g_strdup_printf ("/Help/%s/_Rules", opt_game->name);
17388
+ help_items[1].path = g_strdup_printf ("/Help/%s/_Rules", opt_game->name);
17389
help_items[1].callback_action = MENU_DOC_RULES;
17390
- help_items[2].path = g_strdup_printf ("/Help/%s/_Strategy", opt_game->name);
17391
+ help_items[2].path = g_strdup_printf ("/Help/%s/_Strategy", opt_game->name);
17392
help_items[2].callback_action = MENU_DOC_STRATEGY;
17393
help_items[3].path = g_strdup_printf ("/Help/%s/_History", opt_game->name);
17394
help_items[3].callback_action = MENU_DOC_HISTORY;
17395
@@ -980,7 +978,7 @@ void menu_back_forw (gpointer data, guin
17396
sb_message ("You cheated! No highscore for this game.", FALSE);
17399
- // FIXME: there should be only one round of communication
17400
+ // FIXME: there should be only one round of communication
17401
// in which client gets both the move and who_won
17402
ui_check_who_won ();
17403
if (game_reset_uistate) game_reset_uistate();
17404
@@ -1037,7 +1035,7 @@ void menu_set_eval_function ()
17406
for (i=0; game_htab[i].name; i++)
17408
- heur_item.path = g_strdup_printf ("/Settings/Eval function/%s/%s",
17409
+ heur_item.path = g_strdup_printf ("/Settings/Eval function/%s/%s",
17410
*color, game_htab[i].name);
17411
if (i == 0) strncpy (pathbuf, heur_item.path, 63);
17412
heur_item.accelerator = NULL;
17413
@@ -1261,9 +1259,9 @@ void sb_update ()
17414
if (ui_white == MACHINE) player[0] = 'M';
17415
if (ui_black == HUMAN) player[2] = 'H';
17416
if (ui_black == MACHINE) player[2] = 'M';
17417
- gtk_label_set_text (GTK_LABEL(sb_player_label),
17418
+ gtk_label_set_text (GTK_LABEL(sb_player_label),
17419
ui_white != NONE ? player : "File");
17420
- gtk_label_set_text (GTK_LABEL(sb_who_label), cur_pos.player == WHITE ?
17421
+ gtk_label_set_text (GTK_LABEL(sb_who_label), cur_pos.player == WHITE ?
17422
game_white_string : game_black_string);
17424
gtk_label_set_text (GTK_LABEL(sb_score_label), sb_score_str);
17425
@@ -1295,3 +1293,7 @@ gboolean sb_update_periodic ()
17430
+// Local Variables:
17433
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/fifteen.c
17434
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/fifteen.c
17435
@@ -227,7 +227,7 @@ char ** fifteen_pixmap_square_gen (char
17436
static char line[FIFTEEN_CELL_SIZE];
17437
memset(line, ' ', FIFTEEN_CELL_SIZE);
17438
pixmap = g_new(char *, FIFTEEN_CELL_SIZE + 2);
17439
- pixmap[0] = "60 60 1 1"; // FIXME: dont hard code
17440
+ pixmap[0] = "60 60 1 1"; // FIXME: don't hard code
17441
// FIXME: not freed
17442
pixmap[1] = g_strdup_printf (" c %s", col);
17443
for (i=0; i<FIFTEEN_CELL_SIZE; i++) pixmap[i+2] = line; return pixmap;
17444
@@ -284,3 +284,7 @@ guchar *fifteen_get_rgbmap (int idx, int
17449
+// Local Variables:
17452
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/board.c
17453
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/board.c
17454
@@ -74,7 +74,7 @@ gboolean state_board_flipped = FALSE;
17455
//! default background
17456
char board_default_colors [9] = {215, 215, 215, 215, 215, 215, 0, 0, 0};
17458
-static int cell_size, num_pieces;
17459
+int cell_size, num_pieces;
17461
extern void ui_make_human_move (byte *move, int *rmove);
17463
@@ -677,4 +677,6 @@ void board_init ()
17464
gdk_gc_destroy (def_gc);
17468
+// Local Variables:
17471
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/mastermind.c
17472
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/mastermind.c
17473
@@ -470,3 +470,6 @@ int mastermind_getmove_kb (Pos *pos, int
17477
+// Local Variables:
17480
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/pacman.c
17481
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/pacman.c
17482
@@ -204,7 +204,7 @@ int pacman_animate (Pos *pos, byte **mov
17484
// FIXME: do this using stateful
17485
static int prevx[4] = {0, 0, 0, 0}, prevy[4] = {0, 0, 0, 0};
17486
- // make sure the ghosts dont step on each others toes
17487
+ // make sure the ghosts don't step on each others' toes
17488
int taken[4] = {-1, -1, -1, -1}, t=0, gid;
17489
byte *board = pos->board;
17490
pacman_set_dist (board);
17491
@@ -500,3 +500,6 @@ char ** pacman_get_pixmap (int idx, int
17495
+// Local Variables:
17498
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/Makefile.in
17499
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/Makefile.in
17501
-# Makefile.in generated by automake 1.6.3 from Makefile.am.
17502
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
17503
# @configure_input@
17505
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
17506
-# Free Software Foundation, Inc.
17507
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
17508
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
17510
# This Makefile.in is free software; the Free Software Foundation
17511
# gives unlimited permission to copy and/or distribute it,
17512
# with or without modifications, as long as this notice is preserved.
17513
@@ -13,84 +14,182 @@
17514
# PARTICULAR PURPOSE.
17520
-top_srcdir = @top_srcdir@
17523
-exec_prefix = @exec_prefix@
17526
-sbindir = @sbindir@
17527
-libexecdir = @libexecdir@
17528
-datadir = @datadir@
17529
-sysconfdir = @sysconfdir@
17530
-sharedstatedir = @sharedstatedir@
17531
-localstatedir = @localstatedir@
17533
-infodir = @infodir@
17535
-includedir = @includedir@
17536
-oldincludedir = /usr/include
17538
pkgdatadir = $(datadir)/@PACKAGE@
17539
-pkglibdir = $(libdir)/@PACKAGE@
17540
pkgincludedir = $(includedir)/@PACKAGE@
17543
-ACLOCAL = @ACLOCAL@
17544
-AUTOCONF = @AUTOCONF@
17545
-AUTOMAKE = @AUTOMAKE@
17546
-AUTOHEADER = @AUTOHEADER@
17548
+pkglibdir = $(libdir)/@PACKAGE@
17549
+pkglibexecdir = $(libexecdir)/@PACKAGE@
17550
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
17551
-INSTALL = @INSTALL@
17552
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
17553
-INSTALL_DATA = @INSTALL_DATA@
17554
install_sh_DATA = $(install_sh) -c -m 644
17555
install_sh_PROGRAM = $(install_sh) -c
17556
install_sh_SCRIPT = $(install_sh) -c
17557
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
17558
INSTALL_HEADER = $(INSTALL_DATA)
17559
-transform = @program_transform_name@
17560
+transform = $(program_transform_name)
17564
NORMAL_UNINSTALL = :
17567
-host_alias = @host_alias@
17568
+build_triplet = @build@
17569
host_triplet = @host@
17573
-PATH_SEPARATOR = @PATH_SEPARATOR@
17574
+target_triplet = @target@
17575
+bin_PROGRAMS = gtkboard$(EXEEXT)
17577
+DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
17578
+ $(srcdir)/Makefile.in
17579
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
17580
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
17581
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
17583
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
17584
+CONFIG_HEADER = $(top_builddir)/config.h
17585
+CONFIG_CLEAN_FILES =
17586
+CONFIG_CLEAN_VPATH_FILES =
17587
+am__installdirs = "$(DESTDIR)$(bindir)"
17588
+PROGRAMS = $(bin_PROGRAMS)
17589
+am_gtkboard_OBJECTS = board.$(OBJEXT) menu.$(OBJEXT) prefs.$(OBJEXT) \
17590
+ sound.$(OBJEXT) ui.$(OBJEXT) aaball.$(OBJEXT) ab.$(OBJEXT) \
17591
+ engine.$(OBJEXT) hash.$(OBJEXT) move.$(OBJEXT) stack.$(OBJEXT) \
17592
+ antichess.$(OBJEXT) ataxx.$(OBJEXT) blet.$(OBJEXT) \
17593
+ breakthrough.$(OBJEXT) checkers.$(OBJEXT) chess.$(OBJEXT) \
17594
+ cpento.$(OBJEXT) dirmaze.$(OBJEXT) dotsandboxes.$(OBJEXT) \
17595
+ eightqueens.$(OBJEXT) fifteen.$(OBJEXT) flw.$(OBJEXT) \
17596
+ hiq.$(OBJEXT) infiltrate.$(OBJEXT) knights.$(OBJEXT) \
17597
+ kttour.$(OBJEXT) mastermind.$(OBJEXT) maze.$(OBJEXT) \
17598
+ memory.$(OBJEXT) ninemm.$(OBJEXT) othello.$(OBJEXT) \
17599
+ pacman.$(OBJEXT) pentaline.$(OBJEXT) plot4.$(OBJEXT) \
17600
+ quarto.$(OBJEXT) rgb.$(OBJEXT) samegame.$(OBJEXT) \
17601
+ stopgate.$(OBJEXT) tetris.$(OBJEXT) towers.$(OBJEXT) \
17602
+ wordtris.$(OBJEXT)
17603
+gtkboard_OBJECTS = $(am_gtkboard_OBJECTS)
17604
+gtkboard_LDADD = $(LDADD)
17605
+gtkboard_DEPENDENCIES =
17606
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
17607
+depcomp = $(SHELL) $(top_srcdir)/depcomp
17608
+am__depfiles_maybe = depfiles
17610
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
17611
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
17613
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
17614
+SOURCES = $(gtkboard_SOURCES)
17615
+DIST_SOURCES = $(gtkboard_SOURCES)
17616
+HEADERS = $(noinst_HEADERS)
17619
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
17620
+ACLOCAL = @ACLOCAL@
17622
+AUTOCONF = @AUTOCONF@
17623
+AUTOHEADER = @AUTOHEADER@
17624
+AUTOMAKE = @AUTOMAKE@
17627
+CCDEPMODE = @CCDEPMODE@
17630
+CPPFLAGS = @CPPFLAGS@
17631
+CYGPATH_W = @CYGPATH_W@
17639
GNOME_CFLAGS = @GNOME_CFLAGS@
17640
GNOME_LIBS = @GNOME_LIBS@
17642
GTK_CFLAGS = @GTK_CFLAGS@
17643
-GTK_CONFIG = @GTK_CONFIG@
17644
GTK_LIBS = @GTK_LIBS@
17645
+INSTALL = @INSTALL@
17646
+INSTALL_DATA = @INSTALL_DATA@
17647
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
17648
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
17649
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
17650
+LDFLAGS = @LDFLAGS@
17651
+LIBOBJS = @LIBOBJS@
17653
+LTLIBOBJS = @LTLIBOBJS@
17654
+MAKEINFO = @MAKEINFO@
17655
+MKDIR_P = @MKDIR_P@
17657
PACKAGE = @PACKAGE@
17658
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
17659
+PACKAGE_NAME = @PACKAGE_NAME@
17660
+PACKAGE_STRING = @PACKAGE_STRING@
17661
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
17662
+PACKAGE_URL = @PACKAGE_URL@
17663
+PACKAGE_VERSION = @PACKAGE_VERSION@
17664
+PATH_SEPARATOR = @PATH_SEPARATOR@
17665
PKG_CONFIG = @PKG_CONFIG@
17666
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
17667
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
17668
+SET_MAKE = @SET_MAKE@
17671
VERSION = @VERSION@
17672
+abs_builddir = @abs_builddir@
17673
+abs_srcdir = @abs_srcdir@
17674
+abs_top_builddir = @abs_top_builddir@
17675
+abs_top_srcdir = @abs_top_srcdir@
17676
+ac_ct_CC = @ac_ct_CC@
17677
am__include = @am__include@
17678
+am__leading_dot = @am__leading_dot@
17679
am__quote = @am__quote@
17680
+am__tar = @am__tar@
17681
+am__untar = @am__untar@
17684
+build_alias = @build_alias@
17685
+build_cpu = @build_cpu@
17686
+build_os = @build_os@
17687
+build_vendor = @build_vendor@
17688
+builddir = @builddir@
17689
+datadir = @datadir@
17690
+datarootdir = @datarootdir@
17693
+exec_prefix = @exec_prefix@
17695
+host_alias = @host_alias@
17696
+host_cpu = @host_cpu@
17697
+host_os = @host_os@
17698
+host_vendor = @host_vendor@
17699
+htmldir = @htmldir@
17700
+includedir = @includedir@
17701
+infodir = @infodir@
17702
install_sh = @install_sh@
17704
+libexecdir = @libexecdir@
17705
+localedir = @localedir@
17706
+localstatedir = @localstatedir@
17708
+mkdir_p = @mkdir_p@
17709
+oldincludedir = @oldincludedir@
17712
+program_transform_name = @program_transform_name@
17714
+sbindir = @sbindir@
17715
+sharedstatedir = @sharedstatedir@
17717
+sysconfdir = @sysconfdir@
17719
+target_alias = @target_alias@
17720
+target_cpu = @target_cpu@
17721
+target_os = @target_os@
17722
+target_vendor = @target_vendor@
17723
+top_build_prefix = @top_build_prefix@
17724
+top_builddir = @top_builddir@
17725
+top_srcdir = @top_srcdir@
17726
AM_CFLAGS = -Wall -Wno-unused -DDATADIR=\"$(datadir)\"
17728
INCLUDES = @GTK_CFLAGS@ @GNOME_CFLAGS@
17730
LDADD = @GTK_LIBS@ @GNOME_LIBS@
17732
-bin_PROGRAMS = gtkboard
17735
#we'll install this when we're more stable
17736
#gtkboardincludedir=$(includedir)/gtkboard-1.0
17737
#gtkboardinclude_HEADERS = \
17738
@@ -141,7 +240,6 @@ gtkboard_SOURCES = \
17746
@@ -157,110 +255,83 @@ noinst_HEADERS = \
17751
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
17752
-CONFIG_HEADER = $(top_builddir)/config.h
17753
-CONFIG_CLEAN_FILES =
17754
-bin_PROGRAMS = gtkboard$(EXEEXT)
17755
-PROGRAMS = $(bin_PROGRAMS)
17757
-am_gtkboard_OBJECTS = board.$(OBJEXT) menu.$(OBJEXT) prefs.$(OBJEXT) \
17758
- sound.$(OBJEXT) ui.$(OBJEXT) aaball.$(OBJEXT) ab.$(OBJEXT) \
17759
- engine.$(OBJEXT) hash.$(OBJEXT) move.$(OBJEXT) stack.$(OBJEXT) \
17760
- antichess.$(OBJEXT) ataxx.$(OBJEXT) blet.$(OBJEXT) \
17761
- breakthrough.$(OBJEXT) checkers.$(OBJEXT) chess.$(OBJEXT) \
17762
- cpento.$(OBJEXT) dirmaze.$(OBJEXT) dotsandboxes.$(OBJEXT) \
17763
- eightqueens.$(OBJEXT) fifteen.$(OBJEXT) flw.$(OBJEXT) \
17764
- hiq.$(OBJEXT) infiltrate.$(OBJEXT) knights.$(OBJEXT) \
17765
- kttour.$(OBJEXT) mastermind.$(OBJEXT) maze.$(OBJEXT) \
17766
- memory.$(OBJEXT) ninemm.$(OBJEXT) othello.$(OBJEXT) \
17767
- pacman.$(OBJEXT) pentaline.$(OBJEXT) plot4.$(OBJEXT) \
17768
- quarto.$(OBJEXT) rgb.$(OBJEXT) samegame.$(OBJEXT) \
17769
- stopgate.$(OBJEXT) tetris.$(OBJEXT) towers.$(OBJEXT) \
17770
- wordtris.$(OBJEXT)
17771
-gtkboard_OBJECTS = $(am_gtkboard_OBJECTS)
17772
-gtkboard_LDADD = $(LDADD)
17773
-gtkboard_DEPENDENCIES =
17774
-gtkboard_LDFLAGS =
17777
-DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
17778
-CPPFLAGS = @CPPFLAGS@
17779
-LDFLAGS = @LDFLAGS@
17781
-depcomp = $(SHELL) $(top_srcdir)/depcomp
17782
-am__depfiles_maybe = depfiles
17783
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/aaball.Po ./$(DEPDIR)/ab.Po \
17784
-@AMDEP_TRUE@ ./$(DEPDIR)/antichess.Po ./$(DEPDIR)/ataxx.Po \
17785
-@AMDEP_TRUE@ ./$(DEPDIR)/blet.Po ./$(DEPDIR)/board.Po \
17786
-@AMDEP_TRUE@ ./$(DEPDIR)/breakthrough.Po ./$(DEPDIR)/checkers.Po \
17787
-@AMDEP_TRUE@ ./$(DEPDIR)/chess.Po ./$(DEPDIR)/cpento.Po \
17788
-@AMDEP_TRUE@ ./$(DEPDIR)/dirmaze.Po ./$(DEPDIR)/dotsandboxes.Po \
17789
-@AMDEP_TRUE@ ./$(DEPDIR)/eightqueens.Po ./$(DEPDIR)/engine.Po \
17790
-@AMDEP_TRUE@ ./$(DEPDIR)/fifteen.Po ./$(DEPDIR)/flw.Po \
17791
-@AMDEP_TRUE@ ./$(DEPDIR)/hash.Po ./$(DEPDIR)/hiq.Po \
17792
-@AMDEP_TRUE@ ./$(DEPDIR)/infiltrate.Po ./$(DEPDIR)/knights.Po \
17793
-@AMDEP_TRUE@ ./$(DEPDIR)/kttour.Po ./$(DEPDIR)/mastermind.Po \
17794
-@AMDEP_TRUE@ ./$(DEPDIR)/maze.Po ./$(DEPDIR)/memory.Po \
17795
-@AMDEP_TRUE@ ./$(DEPDIR)/menu.Po ./$(DEPDIR)/move.Po \
17796
-@AMDEP_TRUE@ ./$(DEPDIR)/ninemm.Po ./$(DEPDIR)/othello.Po \
17797
-@AMDEP_TRUE@ ./$(DEPDIR)/pacman.Po ./$(DEPDIR)/pentaline.Po \
17798
-@AMDEP_TRUE@ ./$(DEPDIR)/plot4.Po ./$(DEPDIR)/prefs.Po \
17799
-@AMDEP_TRUE@ ./$(DEPDIR)/quarto.Po ./$(DEPDIR)/rgb.Po \
17800
-@AMDEP_TRUE@ ./$(DEPDIR)/samegame.Po ./$(DEPDIR)/sound.Po \
17801
-@AMDEP_TRUE@ ./$(DEPDIR)/stack.Po ./$(DEPDIR)/stopgate.Po \
17802
-@AMDEP_TRUE@ ./$(DEPDIR)/tetris.Po ./$(DEPDIR)/towers.Po \
17803
-@AMDEP_TRUE@ ./$(DEPDIR)/ui.Po ./$(DEPDIR)/wordtris.Po
17804
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
17805
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
17807
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
17809
-DIST_SOURCES = $(gtkboard_SOURCES)
17810
-HEADERS = $(noinst_HEADERS)
17812
-DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
17813
-SOURCES = $(gtkboard_SOURCES)
17818
.SUFFIXES: .c .o .obj
17819
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
17820
- cd $(top_srcdir) && \
17821
- $(AUTOMAKE) --gnu src/Makefile
17822
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
17823
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
17824
-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
17825
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
17826
+ @for dep in $?; do \
17827
+ case '$(am__configure_deps)' in \
17829
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
17830
+ && { if test -f $@; then exit 0; else break; fi; }; \
17834
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
17835
+ $(am__cd) $(top_srcdir) && \
17836
+ $(AUTOMAKE) --gnu src/Makefile
17837
+.PRECIOUS: Makefile
17838
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
17840
+ *config.status*) \
17841
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
17843
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
17844
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
17847
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
17848
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
17850
+$(top_srcdir)/configure: $(am__configure_deps)
17851
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
17852
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
17853
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
17854
+$(am__aclocal_m4_deps):
17855
install-binPROGRAMS: $(bin_PROGRAMS)
17857
- $(mkinstalldirs) $(DESTDIR)$(bindir)
17858
- @list='$(bin_PROGRAMS)'; for p in $$list; do \
17859
- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
17862
- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
17863
- echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
17864
- $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
17867
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
17868
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
17869
+ for p in $$list; do echo "$$p $$p"; done | \
17870
+ sed 's/$(EXEEXT)$$//' | \
17871
+ while read p p1; do if test -f $$p; \
17872
+ then echo "$$p"; echo "$$p"; else :; fi; \
17874
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
17875
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
17876
+ sed 'N;N;N;s,\n, ,g' | \
17877
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
17878
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
17879
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
17880
+ else { print "f", $$3 "/" $$4, $$1; } } \
17881
+ END { for (d in files) print "f", d, files[d] }' | \
17882
+ while read type dir files; do \
17883
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
17884
+ test -z "$$files" || { \
17885
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
17886
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
17890
uninstall-binPROGRAMS:
17891
@$(NORMAL_UNINSTALL)
17892
- @list='$(bin_PROGRAMS)'; for p in $$list; do \
17893
- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
17894
- echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
17895
- rm -f $(DESTDIR)$(bindir)/$$f; \
17897
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
17898
+ files=`for p in $$list; do echo "$$p"; done | \
17899
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
17900
+ -e 's/$$/$(EXEEXT)/' `; \
17901
+ test -n "$$list" || exit 0; \
17902
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
17903
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
17906
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
17907
gtkboard$(EXEEXT): $(gtkboard_OBJECTS) $(gtkboard_DEPENDENCIES)
17908
@rm -f gtkboard$(EXEEXT)
17909
- $(LINK) $(gtkboard_LDFLAGS) $(gtkboard_OBJECTS) $(gtkboard_LDADD) $(LIBS)
17910
+ $(LINK) $(gtkboard_OBJECTS) $(gtkboard_LDADD) $(LIBS)
17912
mostlyclean-compile:
17913
- -rm -f *.$(OBJEXT) core *.core
17914
+ -rm -f *.$(OBJEXT)
17918
@@ -308,91 +379,109 @@ distclean-compile:
17919
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui.Po@am__quote@
17920
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wordtris.Po@am__quote@
17923
- -rm -rf ./$(DEPDIR)
17926
-@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
17927
-@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
17928
-@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
17929
- $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
17930
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
17931
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
17932
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
17933
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
17934
+@am__fastdepCC_FALSE@ $(COMPILE) -c $<
17937
-@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
17938
-@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
17939
-@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
17940
- $(COMPILE) -c `cygpath -w $<`
17941
-CCDEPMODE = @CCDEPMODE@
17942
-uninstall-info-am:
17948
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
17949
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
17950
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
17951
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
17952
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
17954
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
17955
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
17956
unique=`for i in $$list; do \
17957
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
17959
- $(AWK) ' { files[$$0] = 1; } \
17960
- END { for (i in files) print i; }'`; \
17961
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
17962
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
17966
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
17967
$(TAGS_FILES) $(LISP)
17971
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
17972
unique=`for i in $$list; do \
17973
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
17975
- $(AWK) ' { files[$$0] = 1; } \
17976
- END { for (i in files) print i; }'`; \
17977
- test -z "$(ETAGS_ARGS)$$tags$$unique" \
17978
- || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
17980
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
17981
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
17983
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
17984
+ test -n "$$unique" || unique=$$empty_fix; \
17985
+ if test $$# -gt 0; then \
17986
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
17987
+ "$$@" $$unique; \
17989
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
17994
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
17995
+ $(TAGS_FILES) $(LISP)
17996
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
17997
+ unique=`for i in $$list; do \
17998
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
18000
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
18001
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
18002
+ test -z "$(CTAGS_ARGS)$$unique" \
18003
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
18007
here=`$(am__cd) $(top_builddir) && pwd` \
18008
- && cd $(top_srcdir) \
18009
- && gtags -i $(GTAGS_ARGS) $$here
18010
+ && $(am__cd) $(top_srcdir) \
18011
+ && gtags -i $(GTAGS_ARGS) "$$here"
18014
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
18015
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
18018
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
18019
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
18021
distdir: $(DISTFILES)
18022
- @list='$(DISTFILES)'; for file in $$list; do \
18023
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
18024
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
18025
+ list='$(DISTFILES)'; \
18026
+ dist_files=`for file in $$list; do echo $$file; done | \
18027
+ sed -e "s|^$$srcdirstrip/||;t" \
18028
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
18029
+ case $$dist_files in \
18030
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
18031
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
18034
+ for file in $$dist_files; do \
18035
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
18036
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
18037
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
18039
- $(mkinstalldirs) "$(distdir)$$dir"; \
18043
if test -d $$d/$$file; then \
18044
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
18045
+ if test -d "$(distdir)/$$file"; then \
18046
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
18048
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
18049
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
18050
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
18051
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
18053
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
18054
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
18056
- test -f $(distdir)/$$file \
18057
- || cp -p $$d/$$file $(distdir)/$$file \
18058
+ test -f "$(distdir)/$$file" \
18059
+ || cp -p $$d/$$file "$(distdir)/$$file" \
18065
all-am: Makefile $(PROGRAMS) $(HEADERS)
18068
- $(mkinstalldirs) $(DESTDIR)$(bindir)
18070
+ for dir in "$(DESTDIR)$(bindir)"; do \
18071
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
18073
install: install-am
18074
install-exec: install-exec-am
18075
install-data: install-data-am
18076
@@ -404,7 +493,7 @@ install-am: all-am
18077
installcheck: installcheck-am
18079
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
18080
- INSTALL_STRIP_FLAG=-s \
18081
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
18082
`test -z '$(STRIP)' || \
18083
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
18084
mostlyclean-generic:
18085
@@ -412,7 +501,8 @@ mostlyclean-generic:
18089
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
18090
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
18091
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
18093
maintainer-clean-generic:
18094
@echo "This command is intended for maintainers to use"
18095
@@ -422,48 +512,85 @@ clean: clean-am
18096
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
18098
distclean: distclean-am
18100
-distclean-am: clean-am distclean-compile distclean-depend \
18101
- distclean-generic distclean-tags
18102
+ -rm -rf ./$(DEPDIR)
18104
+distclean-am: clean-am distclean-compile distclean-generic \
18121
+install-dvi: install-dvi-am
18125
install-exec-am: install-binPROGRAMS
18127
+install-html: install-html-am
18131
install-info: install-info-am
18137
+install-pdf: install-pdf-am
18141
+install-ps: install-ps-am
18147
maintainer-clean: maintainer-clean-am
18149
+ -rm -rf ./$(DEPDIR)
18151
maintainer-clean-am: distclean-am maintainer-clean-generic
18153
mostlyclean: mostlyclean-am
18155
mostlyclean-am: mostlyclean-compile mostlyclean-generic
18157
-uninstall-am: uninstall-binPROGRAMS uninstall-info-am
18160
-.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
18161
- clean-generic distclean distclean-compile distclean-depend \
18162
- distclean-generic distclean-tags distdir dvi dvi-am info \
18163
- info-am install install-am install-binPROGRAMS install-data \
18164
- install-data-am install-exec install-exec-am install-info \
18165
- install-info-am install-man install-strip installcheck \
18166
- installcheck-am installdirs maintainer-clean \
18173
+uninstall-am: uninstall-binPROGRAMS
18175
+.MAKE: install-am install-strip
18177
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
18178
+ clean-generic ctags distclean distclean-compile \
18179
+ distclean-generic distclean-tags distdir dvi dvi-am html \
18180
+ html-am info info-am install install-am install-binPROGRAMS \
18181
+ install-data install-data-am install-dvi install-dvi-am \
18182
+ install-exec install-exec-am install-html install-html-am \
18183
+ install-info install-info-am install-man install-pdf \
18184
+ install-pdf-am install-ps install-ps-am install-strip \
18185
+ installcheck installcheck-am installdirs maintainer-clean \
18186
maintainer-clean-generic mostlyclean mostlyclean-compile \
18187
- mostlyclean-generic tags uninstall uninstall-am \
18188
- uninstall-binPROGRAMS uninstall-info-am
18189
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
18190
+ uninstall-am uninstall-binPROGRAMS
18193
# Tell versions [3.59,3.63) of GNU make to not export all variables.
18194
# Otherwise a system limit (for SysV at least) may be exceeded.
18195
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/move.c
18196
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/move.c
18197
@@ -190,4 +190,6 @@ byte *mov_getinv (byte *board, byte *mov
18202
+// Local Variables:
18205
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/ataxx.c
18206
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/ataxx.c
18207
@@ -401,3 +401,6 @@ unsigned char * ataxx_get_rgbmap (int id
18211
+// Local Variables:
18214
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/src/flwords.h
18215
+++ gtkboard-0.11pre0+cvs.2003.11.02/src/flwords.h
18216
@@ -4360,3 +4360,7 @@ static const int num_flwords = sizeof (f
18221
+// Local Variables:
18224
--- gtkboard-0.11pre0+cvs.2003.11.02.orig/sounds/Makefile.in
18225
+++ gtkboard-0.11pre0+cvs.2003.11.02/sounds/Makefile.in
18227
-# Makefile.in generated by automake 1.6.3 from Makefile.am.
18228
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
18229
# @configure_input@
18231
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
18232
-# Free Software Foundation, Inc.
18233
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
18234
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
18236
# This Makefile.in is free software; the Free Software Foundation
18237
# gives unlimited permission to copy and/or distribute it,
18238
# with or without modifications, as long as this notice is preserved.
18239
@@ -13,152 +14,269 @@
18240
# PARTICULAR PURPOSE.
18246
-top_srcdir = @top_srcdir@
18249
-exec_prefix = @exec_prefix@
18252
-sbindir = @sbindir@
18253
-libexecdir = @libexecdir@
18254
-datadir = @datadir@
18255
-sysconfdir = @sysconfdir@
18256
-sharedstatedir = @sharedstatedir@
18257
-localstatedir = @localstatedir@
18259
-infodir = @infodir@
18261
-includedir = @includedir@
18262
-oldincludedir = /usr/include
18263
pkgdatadir = $(datadir)/@PACKAGE@
18264
-pkglibdir = $(libdir)/@PACKAGE@
18265
pkgincludedir = $(includedir)/@PACKAGE@
18268
-ACLOCAL = @ACLOCAL@
18269
-AUTOCONF = @AUTOCONF@
18270
-AUTOMAKE = @AUTOMAKE@
18271
-AUTOHEADER = @AUTOHEADER@
18273
+pkglibdir = $(libdir)/@PACKAGE@
18274
+pkglibexecdir = $(libexecdir)/@PACKAGE@
18275
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
18276
-INSTALL = @INSTALL@
18277
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
18278
-INSTALL_DATA = @INSTALL_DATA@
18279
install_sh_DATA = $(install_sh) -c -m 644
18280
install_sh_PROGRAM = $(install_sh) -c
18281
install_sh_SCRIPT = $(install_sh) -c
18282
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
18283
INSTALL_HEADER = $(INSTALL_DATA)
18284
-transform = @program_transform_name@
18285
+transform = $(program_transform_name)
18289
NORMAL_UNINSTALL = :
18292
-host_alias = @host_alias@
18293
+build_triplet = @build@
18294
host_triplet = @host@
18298
-PATH_SEPARATOR = @PATH_SEPARATOR@
18299
+target_triplet = @target@
18301
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
18302
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
18303
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
18304
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
18306
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
18307
+CONFIG_HEADER = $(top_builddir)/config.h
18308
+CONFIG_CLEAN_FILES =
18309
+CONFIG_CLEAN_VPATH_FILES =
18312
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
18313
+am__vpath_adj = case $$p in \
18314
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
18317
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
18318
+am__install_max = 40
18319
+am__nobase_strip_setup = \
18320
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
18321
+am__nobase_strip = \
18322
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
18323
+am__nobase_list = $(am__nobase_strip_setup); \
18324
+ for p in $$list; do echo "$$p $$p"; done | \
18325
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
18326
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
18327
+ if (++n[$$2] == $(am__install_max)) \
18328
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
18329
+ END { for (dir in files) print dir, files[dir] }'
18331
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
18332
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
18333
+am__installdirs = "$(DESTDIR)$(gtkboardsoundsdir)"
18334
+DATA = $(gtkboardsounds_DATA)
18335
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
18336
+ACLOCAL = @ACLOCAL@
18338
+AUTOCONF = @AUTOCONF@
18339
+AUTOHEADER = @AUTOHEADER@
18340
+AUTOMAKE = @AUTOMAKE@
18343
+CCDEPMODE = @CCDEPMODE@
18346
+CPPFLAGS = @CPPFLAGS@
18347
+CYGPATH_W = @CYGPATH_W@
18355
GNOME_CFLAGS = @GNOME_CFLAGS@
18356
GNOME_LIBS = @GNOME_LIBS@
18358
GTK_CFLAGS = @GTK_CFLAGS@
18359
-GTK_CONFIG = @GTK_CONFIG@
18360
GTK_LIBS = @GTK_LIBS@
18361
+INSTALL = @INSTALL@
18362
+INSTALL_DATA = @INSTALL_DATA@
18363
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
18364
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
18365
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
18366
+LDFLAGS = @LDFLAGS@
18367
+LIBOBJS = @LIBOBJS@
18369
+LTLIBOBJS = @LTLIBOBJS@
18370
+MAKEINFO = @MAKEINFO@
18371
+MKDIR_P = @MKDIR_P@
18373
PACKAGE = @PACKAGE@
18374
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
18375
+PACKAGE_NAME = @PACKAGE_NAME@
18376
+PACKAGE_STRING = @PACKAGE_STRING@
18377
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
18378
+PACKAGE_URL = @PACKAGE_URL@
18379
+PACKAGE_VERSION = @PACKAGE_VERSION@
18380
+PATH_SEPARATOR = @PATH_SEPARATOR@
18381
PKG_CONFIG = @PKG_CONFIG@
18382
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
18383
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
18384
+SET_MAKE = @SET_MAKE@
18387
VERSION = @VERSION@
18388
+abs_builddir = @abs_builddir@
18389
+abs_srcdir = @abs_srcdir@
18390
+abs_top_builddir = @abs_top_builddir@
18391
+abs_top_srcdir = @abs_top_srcdir@
18392
+ac_ct_CC = @ac_ct_CC@
18393
am__include = @am__include@
18394
+am__leading_dot = @am__leading_dot@
18395
am__quote = @am__quote@
18396
+am__tar = @am__tar@
18397
+am__untar = @am__untar@
18400
+build_alias = @build_alias@
18401
+build_cpu = @build_cpu@
18402
+build_os = @build_os@
18403
+build_vendor = @build_vendor@
18404
+builddir = @builddir@
18405
+datadir = @datadir@
18406
+datarootdir = @datarootdir@
18409
+exec_prefix = @exec_prefix@
18411
+host_alias = @host_alias@
18412
+host_cpu = @host_cpu@
18413
+host_os = @host_os@
18414
+host_vendor = @host_vendor@
18415
+htmldir = @htmldir@
18416
+includedir = @includedir@
18417
+infodir = @infodir@
18418
install_sh = @install_sh@
18420
+libexecdir = @libexecdir@
18421
+localedir = @localedir@
18422
+localstatedir = @localstatedir@
18424
+mkdir_p = @mkdir_p@
18425
+oldincludedir = @oldincludedir@
18428
+program_transform_name = @program_transform_name@
18430
+sbindir = @sbindir@
18431
+sharedstatedir = @sharedstatedir@
18433
+sysconfdir = @sysconfdir@
18435
+target_alias = @target_alias@
18436
+target_cpu = @target_cpu@
18437
+target_os = @target_os@
18438
+target_vendor = @target_vendor@
18439
+top_build_prefix = @top_build_prefix@
18440
+top_builddir = @top_builddir@
18441
+top_srcdir = @top_srcdir@
18442
gtkboard_SOUNDS = highscore.ogg illegal_move.ogg machine_move.ogg user_move.ogg won.ogg lost.ogg
18444
EXTRA_DIST = $(gtkboard_SOUNDS)
18446
gtkboardsoundsdir = $(datadir)/sounds/gtkboard
18447
gtkboardsounds_DATA = $(gtkboard_SOUNDS)
18449
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
18450
-CONFIG_HEADER = $(top_builddir)/config.h
18451
-CONFIG_CLEAN_FILES =
18453
-DATA = $(gtkboardsounds_DATA)
18455
-DIST_COMMON = Makefile.am Makefile.in
18459
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
18460
- cd $(top_srcdir) && \
18461
- $(AUTOMAKE) --gnu sounds/Makefile
18462
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
18463
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
18464
-uninstall-info-am:
18465
-gtkboardsoundsDATA_INSTALL = $(INSTALL_DATA)
18466
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
18467
+ @for dep in $?; do \
18468
+ case '$(am__configure_deps)' in \
18470
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
18471
+ && { if test -f $@; then exit 0; else break; fi; }; \
18475
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu sounds/Makefile'; \
18476
+ $(am__cd) $(top_srcdir) && \
18477
+ $(AUTOMAKE) --gnu sounds/Makefile
18478
+.PRECIOUS: Makefile
18479
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
18481
+ *config.status*) \
18482
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
18484
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
18485
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
18488
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
18489
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
18491
+$(top_srcdir)/configure: $(am__configure_deps)
18492
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
18493
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
18494
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
18495
+$(am__aclocal_m4_deps):
18496
install-gtkboardsoundsDATA: $(gtkboardsounds_DATA)
18498
- $(mkinstalldirs) $(DESTDIR)$(gtkboardsoundsdir)
18499
- @list='$(gtkboardsounds_DATA)'; for p in $$list; do \
18500
+ test -z "$(gtkboardsoundsdir)" || $(MKDIR_P) "$(DESTDIR)$(gtkboardsoundsdir)"
18501
+ @list='$(gtkboardsounds_DATA)'; test -n "$(gtkboardsoundsdir)" || list=; \
18502
+ for p in $$list; do \
18503
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
18504
- f="`echo $$p | sed -e 's|^.*/||'`"; \
18505
- echo " $(gtkboardsoundsDATA_INSTALL) $$d$$p $(DESTDIR)$(gtkboardsoundsdir)/$$f"; \
18506
- $(gtkboardsoundsDATA_INSTALL) $$d$$p $(DESTDIR)$(gtkboardsoundsdir)/$$f; \
18508
+ done | $(am__base_list) | \
18509
+ while read files; do \
18510
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gtkboardsoundsdir)'"; \
18511
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(gtkboardsoundsdir)" || exit $$?; \
18514
uninstall-gtkboardsoundsDATA:
18515
@$(NORMAL_UNINSTALL)
18516
- @list='$(gtkboardsounds_DATA)'; for p in $$list; do \
18517
- f="`echo $$p | sed -e 's|^.*/||'`"; \
18518
- echo " rm -f $(DESTDIR)$(gtkboardsoundsdir)/$$f"; \
18519
- rm -f $(DESTDIR)$(gtkboardsoundsdir)/$$f; \
18521
+ @list='$(gtkboardsounds_DATA)'; test -n "$(gtkboardsoundsdir)" || list=; \
18522
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
18523
+ test -n "$$files" || exit 0; \
18524
+ echo " ( cd '$(DESTDIR)$(gtkboardsoundsdir)' && rm -f" $$files ")"; \
18525
+ cd "$(DESTDIR)$(gtkboardsoundsdir)" && rm -f $$files
18529
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
18534
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
18536
distdir: $(DISTFILES)
18537
- @list='$(DISTFILES)'; for file in $$list; do \
18538
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
18539
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
18540
+ list='$(DISTFILES)'; \
18541
+ dist_files=`for file in $$list; do echo $$file; done | \
18542
+ sed -e "s|^$$srcdirstrip/||;t" \
18543
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
18544
+ case $$dist_files in \
18545
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
18546
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
18549
+ for file in $$dist_files; do \
18550
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
18551
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
18552
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
18554
- $(mkinstalldirs) "$(distdir)$$dir"; \
18558
if test -d $$d/$$file; then \
18559
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
18560
+ if test -d "$(distdir)/$$file"; then \
18561
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
18563
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
18564
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
18565
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
18566
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
18568
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
18569
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
18571
- test -f $(distdir)/$$file \
18572
- || cp -p $$d/$$file $(distdir)/$$file \
18573
+ test -f "$(distdir)/$$file" \
18574
+ || cp -p $$d/$$file "$(distdir)/$$file" \
18580
all-am: Makefile $(DATA)
18583
- $(mkinstalldirs) $(DESTDIR)$(gtkboardsoundsdir)
18585
+ for dir in "$(DESTDIR)$(gtkboardsoundsdir)"; do \
18586
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
18588
install: install-am
18589
install-exec: install-exec-am
18590
install-data: install-data-am
18591
@@ -170,7 +288,7 @@ install-am: all-am
18592
installcheck: installcheck-am
18594
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
18595
- INSTALL_STRIP_FLAG=-s \
18596
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
18597
`test -z '$(STRIP)' || \
18598
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
18599
mostlyclean-generic:
18600
@@ -178,7 +296,8 @@ mostlyclean-generic:
18604
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
18605
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
18606
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
18608
maintainer-clean-generic:
18609
@echo "This command is intended for maintainers to use"
18610
@@ -188,46 +307,81 @@ clean: clean-am
18611
clean-am: clean-generic mostlyclean-am
18613
distclean: distclean-am
18616
distclean-am: clean-am distclean-generic
18630
install-data-am: install-gtkboardsoundsDATA
18632
+install-dvi: install-dvi-am
18638
+install-html: install-html-am
18642
install-info: install-info-am
18648
+install-pdf: install-pdf-am
18652
+install-ps: install-ps-am
18658
maintainer-clean: maintainer-clean-am
18661
maintainer-clean-am: distclean-am maintainer-clean-generic
18663
mostlyclean: mostlyclean-am
18665
mostlyclean-am: mostlyclean-generic
18667
-uninstall-am: uninstall-gtkboardsoundsDATA uninstall-info-am
18676
+uninstall-am: uninstall-gtkboardsoundsDATA
18678
+.MAKE: install-am install-strip
18680
.PHONY: all all-am check check-am clean clean-generic distclean \
18681
- distclean-generic distdir dvi dvi-am info info-am install \
18682
- install-am install-data install-data-am install-exec \
18683
- install-exec-am install-gtkboardsoundsDATA install-info \
18684
- install-info-am install-man install-strip installcheck \
18685
- installcheck-am installdirs maintainer-clean \
18686
- maintainer-clean-generic mostlyclean mostlyclean-generic \
18687
- uninstall uninstall-am uninstall-gtkboardsoundsDATA \
18688
- uninstall-info-am
18689
+ distclean-generic distdir dvi dvi-am html html-am info info-am \
18690
+ install install-am install-data install-data-am install-dvi \
18691
+ install-dvi-am install-exec install-exec-am \
18692
+ install-gtkboardsoundsDATA install-html install-html-am \
18693
+ install-info install-info-am install-man install-pdf \
18694
+ install-pdf-am install-ps install-ps-am install-strip \
18695
+ installcheck installcheck-am installdirs maintainer-clean \
18696
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
18697
+ pdf-am ps ps-am uninstall uninstall-am \
18698
+ uninstall-gtkboardsoundsDATA
18701
# Tell versions [3.59,3.63) of GNU make to not export all variables.
18702
# Otherwise a system limit (for SysV at least) may be exceeded.