1
Description: Upstream changes introduced in version 1.0-8.3
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
dossizola (1.0-8.3) unstable; urgency=low
8
* Non-maintainer upload.
9
- Move to packaging format "3.0 (quilt)" due to desktop image files.
10
- NMU approved by maintainer, see #549545.
12
- Update obsolete 5 to 8.
14
- (Build-Depends): Add autotools-dev due to config.{sub,guess}.
15
Update to debhelper 8.
16
- (Depends) update tag "Source-Version" to "source:Version"
17
to correct binNMU. Patch tanks to Lior Kaplan <kaplan@debian.org>
18
(normal; Closes: #435939).
19
- (Homepage): New field.
20
- (Standards-Version): Update to 3.9.1.
22
+ (Depends): Add ${misc:Depends} (Lintian).
23
- Package dossizola-data
24
+ (Depends): New. Add ${misc:Depends} (Lintian).
25
+ (Description): Extend (Lintian).
27
- Point to GPL-2, save as UTF-8, add copyright years (Lintian).
28
- Add FSF preamble (Lintian).
29
- Point URL to canonical Sourceforge project.
30
* debian/dossizola.{desktop,png,xcf}
31
- New. Supplied by Stéphane Blondon <stephane.blondon@gmail.com>.
32
(minor; Closes: #573870).
33
* debian/dossizola.sgml
34
- (refnamediv): Fix bad whatis entry. Must be same as <refmeta> (Lintian).
36
- (PACKAGE, PKGDIR, SHAREROOTDIR, ICONDIR, DESKTOPDIR): New variables.
37
- (binary-indep): Comment out dh_installchangelogs because upsream
38
ChangeLog is empty (Lintian).
39
- (clean): Cann makefile only if it exists. Delete Makefile.
40
- (configure-stamp): use latest config.{sub,guess}
41
(wishlist, FTBFS avr32; Closes: #549545).
42
- (install): Change obsolete "dh_clean -k" to "dh_prep" (Lintian).
43
Add install commands for *.desktop file and icons.
45
- Add "set -e" (Lintian).
46
* debian/source/{format,include-binaries}
51
The person named in the Author field signed this changelog entry.
52
Author: Jari Aalto <jari.aalto@cante.net>
53
Bug-Debian: http://bugs.debian.org/435939
54
Bug-Debian: http://bugs.debian.org/549545
55
Bug-Debian: http://bugs.debian.org/573870
58
The information above should follow the Patch Tagging Guidelines, please
59
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
60
are templates for supplementary fields that you might want to add:
62
Origin: <vendor|upstream|other>, <url of original patch>
63
Bug: <url in upstream bugtracker>
64
Bug-Debian: http://bugs.debian.org/<bugnumber>
65
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
66
Forwarded: <no|not-needed|url proving that it has been forwarded>
67
Reviewed-By: <name and email of someone who approved the patch>
68
Last-Update: <YYYY-MM-DD>
70
--- dossizola-1.0.orig/configure
71
+++ dossizola-1.0/configure
76
-ac_default_prefix=/usr/local/games
77
+ac_default_prefix=/usr/local
78
# Any additions from configure.in:
80
+ --enable-maintainer-mode enable make rules and dependencies not useful
81
+ (and sometimes confusing) to the casual installer"
83
+ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)"
85
+ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)"
87
+ --disable-sdltest Do not try to compile and run a test SDL program"
89
# Initialize some variables set by options.
90
# The variables have the same names as the options, with
91
@@ -33,7 +42,7 @@ target=NONE
95
-bindir='${exec_prefix}/dossizola'
96
+bindir='${exec_prefix}/bin'
97
sbindir='${exec_prefix}/sbin'
98
libexecdir='${exec_prefix}/libexec'
99
datadir='${prefix}/share'
100
@@ -545,6 +554,7 @@ ac_config_guess=$ac_aux_dir/config.guess
101
ac_config_sub=$ac_aux_dir/config.sub
102
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
104
+am__api_version="1.4"
105
# Find a good install program. We prefer a C program (faster),
106
# so one script is as good as another. But avoid the broken or
107
# incompatible versions:
108
@@ -557,7 +567,7 @@ ac_configure=$ac_aux_dir/configure # Thi
109
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
110
# ./install, which can be erroneously created by make from ./install.sh.
111
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
112
-echo "configure:561: checking for a BSD compatible install" >&5
113
+echo "configure:571: checking for a BSD compatible install" >&5
114
if test -z "$INSTALL"; then
115
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
116
echo $ac_n "(cached) $ac_c" 1>&6
117
@@ -610,7 +620,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
118
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
120
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
121
-echo "configure:614: checking whether build environment is sane" >&5
122
+echo "configure:624: checking whether build environment is sane" >&5
125
echo timestamp > conftestfile
126
@@ -667,7 +677,7 @@ test "$program_suffix" != NONE &&
127
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
129
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
130
-echo "configure:671: checking whether ${MAKE-make} sets \${MAKE}" >&5
131
+echo "configure:681: checking whether ${MAKE-make} sets \${MAKE}" >&5
132
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
133
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
134
echo $ac_n "(cached) $ac_c" 1>&6
135
@@ -712,21 +722,21 @@ EOF
138
missing_dir=`cd $ac_aux_dir && pwd`
139
-echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
140
-echo "configure:717: checking for working aclocal" >&5
141
+echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
142
+echo "configure:727: checking for working aclocal-${am__api_version}" >&5
143
# Run test in a subshell; some versions of sh will print an error if
144
# an executable is not found, even if stderr is redirected.
145
# Redirect stdin to placate older versions of autoconf. Sigh.
146
-if (aclocal --version) < /dev/null > /dev/null 2>&1; then
148
+if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
149
+ ACLOCAL=aclocal-${am__api_version}
150
echo "$ac_t""found" 1>&6
152
- ACLOCAL="$missing_dir/missing aclocal"
153
+ ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
154
echo "$ac_t""missing" 1>&6
157
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
158
-echo "configure:730: checking for working autoconf" >&5
159
+echo "configure:740: checking for working autoconf" >&5
160
# Run test in a subshell; some versions of sh will print an error if
161
# an executable is not found, even if stderr is redirected.
162
# Redirect stdin to placate older versions of autoconf. Sigh.
163
@@ -738,21 +748,21 @@ else
164
echo "$ac_t""missing" 1>&6
167
-echo $ac_n "checking for working automake""... $ac_c" 1>&6
168
-echo "configure:743: checking for working automake" >&5
169
+echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
170
+echo "configure:753: checking for working automake-${am__api_version}" >&5
171
# Run test in a subshell; some versions of sh will print an error if
172
# an executable is not found, even if stderr is redirected.
173
# Redirect stdin to placate older versions of autoconf. Sigh.
174
-if (automake --version) < /dev/null > /dev/null 2>&1; then
176
+if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
177
+ AUTOMAKE=automake-${am__api_version}
178
echo "$ac_t""found" 1>&6
180
- AUTOMAKE="$missing_dir/missing automake"
181
+ AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
182
echo "$ac_t""missing" 1>&6
185
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
186
-echo "configure:756: checking for working autoheader" >&5
187
+echo "configure:766: checking for working autoheader" >&5
188
# Run test in a subshell; some versions of sh will print an error if
189
# an executable is not found, even if stderr is redirected.
190
# Redirect stdin to placate older versions of autoconf. Sigh.
191
@@ -765,7 +775,7 @@ else
194
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
195
-echo "configure:769: checking for working makeinfo" >&5
196
+echo "configure:779: checking for working makeinfo" >&5
197
# Run test in a subshell; some versions of sh will print an error if
198
# an executable is not found, even if stderr is redirected.
199
# Redirect stdin to placate older versions of autoconf. Sigh.
200
@@ -778,11 +788,36 @@ else
204
+echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
205
+echo "configure:793: checking whether to enable maintainer-specific portions of Makefiles" >&5
206
+ # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
207
+if test "${enable_maintainer_mode+set}" = set; then
208
+ enableval="$enable_maintainer_mode"
209
+ USE_MAINTAINER_MODE=$enableval
211
+ USE_MAINTAINER_MODE=no
214
+ echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
217
+if test $USE_MAINTAINER_MODE = yes; then
218
+ MAINTAINER_MODE_TRUE=
219
+ MAINTAINER_MODE_FALSE='#'
221
+ MAINTAINER_MODE_TRUE='#'
222
+ MAINTAINER_MODE_FALSE=
224
+ MAINT=$MAINTAINER_MODE_TRUE
227
+# this one may be too high, but well...
230
# Extract the first word of "gcc", so it can be a program name with args.
231
set dummy gcc; ac_word=$2
232
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
233
-echo "configure:786: checking for $ac_word" >&5
234
+echo "configure:821: checking for $ac_word" >&5
235
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
236
echo $ac_n "(cached) $ac_c" 1>&6
238
@@ -812,7 +847,7 @@ if test -z "$CC"; then
239
# Extract the first word of "cc", so it can be a program name with args.
240
set dummy cc; ac_word=$2
241
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
242
-echo "configure:816: checking for $ac_word" >&5
243
+echo "configure:851: checking for $ac_word" >&5
244
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
245
echo $ac_n "(cached) $ac_c" 1>&6
247
@@ -863,7 +898,7 @@ fi
248
# Extract the first word of "cl", so it can be a program name with args.
249
set dummy cl; ac_word=$2
250
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
251
-echo "configure:867: checking for $ac_word" >&5
252
+echo "configure:902: checking for $ac_word" >&5
253
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
254
echo $ac_n "(cached) $ac_c" 1>&6
256
@@ -895,7 +930,7 @@ fi
259
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
260
-echo "configure:899: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
261
+echo "configure:934: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
264
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
265
@@ -906,12 +941,12 @@ cross_compiling=$ac_cv_prog_cc_cross
267
cat > conftest.$ac_ext << EOF
269
-#line 910 "configure"
270
+#line 945 "configure"
271
#include "confdefs.h"
275
-if { (eval echo configure:915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
276
+if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
277
ac_cv_prog_cc_works=yes
278
# If we can't run a trivial program, we are probably using a cross compiler.
279
if (./conftest; exit) 2>/dev/null; then
280
@@ -937,12 +972,12 @@ if test $ac_cv_prog_cc_works = no; then
281
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
283
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
284
-echo "configure:941: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
285
+echo "configure:976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
286
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
287
cross_compiling=$ac_cv_prog_cc_cross
289
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
290
-echo "configure:946: checking whether we are using GNU C" >&5
291
+echo "configure:981: checking whether we are using GNU C" >&5
292
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
293
echo $ac_n "(cached) $ac_c" 1>&6
295
@@ -951,7 +986,7 @@ else
299
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
300
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
304
@@ -970,7 +1005,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
305
ac_save_CFLAGS="$CFLAGS"
307
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
308
-echo "configure:974: checking whether ${CC-cc} accepts -g" >&5
309
+echo "configure:1009: checking whether ${CC-cc} accepts -g" >&5
310
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
311
echo $ac_n "(cached) $ac_c" 1>&6
313
@@ -1004,7 +1039,7 @@ fi
314
# Extract the first word of "ranlib", so it can be a program name with args.
315
set dummy ranlib; ac_word=$2
316
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
317
-echo "configure:1008: checking for $ac_word" >&5
318
+echo "configure:1043: checking for $ac_word" >&5
319
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
320
echo $ac_n "(cached) $ac_c" 1>&6
322
@@ -1034,6 +1069,288 @@ fi
326
+# Make sure we can run config.sub.
327
+if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
328
+else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
331
+echo $ac_n "checking host system type""... $ac_c" 1>&6
332
+echo "configure:1079: checking host system type" >&5
335
+case "$host_alias" in
339
+ if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
340
+ else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
342
+ *) host_alias=$nonopt ;;
346
+host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
347
+host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
348
+host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
349
+host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
350
+echo "$ac_t""$host" 1>&6
352
+# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
353
+if test "${with_sdl_prefix+set}" = set; then
354
+ withval="$with_sdl_prefix"
355
+ sdl_prefix="$withval"
360
+# Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
361
+if test "${with_sdl_exec_prefix+set}" = set; then
362
+ withval="$with_sdl_exec_prefix"
363
+ sdl_exec_prefix="$withval"
368
+# Check whether --enable-sdltest or --disable-sdltest was given.
369
+if test "${enable_sdltest+set}" = set; then
370
+ enableval="$enable_sdltest"
377
+ if test x$sdl_exec_prefix != x ; then
378
+ sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
379
+ if test x${SDL_CONFIG+set} != xset ; then
380
+ SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
383
+ if test x$sdl_prefix != x ; then
384
+ sdl_args="$sdl_args --prefix=$sdl_prefix"
385
+ if test x${SDL_CONFIG+set} != xset ; then
386
+ SDL_CONFIG=$sdl_prefix/bin/sdl-config
391
+ PATH="$prefix/bin:$prefix/usr/bin:$PATH"
392
+ # Extract the first word of "sdl-config", so it can be a program name with args.
393
+set dummy sdl-config; ac_word=$2
394
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
395
+echo "configure:1142: checking for $ac_word" >&5
396
+if eval "test \"`echo '$''{'ac_cv_path_SDL_CONFIG'+set}'`\" = set"; then
397
+ echo $ac_n "(cached) $ac_c" 1>&6
399
+ case "$SDL_CONFIG" in
401
+ ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
404
+ ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a dos path.
407
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
409
+ for ac_dir in $ac_dummy; do
410
+ test -z "$ac_dir" && ac_dir=.
411
+ if test -f $ac_dir/$ac_word; then
412
+ ac_cv_path_SDL_CONFIG="$ac_dir/$ac_word"
417
+ test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
421
+SDL_CONFIG="$ac_cv_path_SDL_CONFIG"
422
+if test -n "$SDL_CONFIG"; then
423
+ echo "$ac_t""$SDL_CONFIG" 1>&6
425
+ echo "$ac_t""no" 1>&6
428
+ min_sdl_version=$SDL_VERSION
429
+ echo $ac_n "checking for SDL - version >= $min_sdl_version""... $ac_c" 1>&6
430
+echo "configure:1177: checking for SDL - version >= $min_sdl_version" >&5
432
+ if test "$SDL_CONFIG" = "no" ; then
435
+ SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
436
+ SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
438
+ sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
439
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
440
+ sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
441
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
442
+ sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
443
+ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
444
+ if test "x$enable_sdltest" = "xyes" ; then
445
+ ac_save_CFLAGS="$CFLAGS"
446
+ ac_save_LIBS="$LIBS"
447
+ CFLAGS="$CFLAGS $SDL_CFLAGS"
448
+ LIBS="$LIBS $SDL_LIBS"
450
+ if test "$cross_compiling" = yes; then
451
+ echo $ac_n "cross compiling; assumed OK... $ac_c"
453
+ cat > conftest.$ac_ext <<EOF
454
+#line 1201 "configure"
455
+#include "confdefs.h"
463
+my_strdup (char *str)
469
+ new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
470
+ strcpy (new_str, str);
478
+int main (int argc, char *argv[])
480
+ int major, minor, micro;
483
+ /* This hangs on some systems (?)
484
+ system ("touch conf.sdltest");
486
+ { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
488
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
489
+ tmp_version = my_strdup("$min_sdl_version");
490
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
491
+ printf("%s, bad version string\n", "$min_sdl_version");
495
+ if (($sdl_major_version > major) ||
496
+ (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
497
+ (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
503
+ printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
504
+ printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
505
+ printf("*** best to upgrade to the required version.\n");
506
+ printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
507
+ printf("*** to point to the correct copy of sdl-config, and remove the file\n");
508
+ printf("*** config.cache before re-running configure\n");
515
+if { (eval echo configure:1262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
519
+ echo "configure: failed program was:" >&5
520
+ cat conftest.$ac_ext >&5
527
+ CFLAGS="$ac_save_CFLAGS"
528
+ LIBS="$ac_save_LIBS"
531
+ if test "x$no_sdl" = x ; then
532
+ echo "$ac_t""yes" 1>&6
535
+ echo "$ac_t""no" 1>&6
536
+ if test "$SDL_CONFIG" = "no" ; then
537
+ echo "*** The sdl-config script installed by SDL could not be found"
538
+ echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
539
+ echo "*** your path, or set the SDL_CONFIG environment variable to the"
540
+ echo "*** full path to sdl-config."
542
+ if test -f conf.sdltest ; then
545
+ echo "*** Could not run SDL test program, checking why..."
546
+ CFLAGS="$CFLAGS $SDL_CFLAGS"
547
+ LIBS="$LIBS $SDL_LIBS"
548
+ cat > conftest.$ac_ext <<EOF
549
+#line 1296 "configure"
550
+#include "confdefs.h"
555
+int main(int argc, char *argv[])
558
+#define main K_and_R_C_main
564
+if { (eval echo configure:1311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
566
+ echo "*** The test program compiled, but did not run. This usually means"
567
+ echo "*** that the run-time linker is not finding SDL or finding the wrong"
568
+ echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
569
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
570
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
571
+ echo "*** is required on your system"
573
+ echo "*** If you have an old version installed, it is best to remove it, although"
574
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
576
+ echo "configure: failed program was:" >&5
577
+ cat conftest.$ac_ext >&5
579
+ echo "*** The test program failed to compile or link. See the file config.log for the"
580
+ echo "*** exact error that occured. This usually means SDL was incorrectly installed"
581
+ echo "*** or that you have moved SDL since it was installed. In the latter case, you"
582
+ echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
585
+ CFLAGS="$ac_save_CFLAGS"
586
+ LIBS="$ac_save_LIBS"
591
+ { echo "configure: error: *** SDL version $SDL_VERSION not found!" 1>&2; exit 1; }
598
+CFLAGS="$CFLAGS $SDL_CFLAGS"
599
+LIBS="$LIBS $SDL_LIBS"
604
+cat >> confdefs.h <<EOF
605
+#define DATADIR "$datadir"
610
cat > confcache <<\EOF
611
@@ -1136,7 +1453,7 @@ done
612
ac_given_srcdir=$srcdir
613
ac_given_INSTALL="$INSTALL"
615
-trap 'rm -fr `echo "Makefile dossizola/Makefile dossizola/docs/Makefile dossizola/docs/en/Makefile dossizola/images/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
616
+trap 'rm -fr `echo "Makefile dossizola/Makefile dossizola/images/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
618
cat >> $CONFIG_STATUS <<EOF
620
@@ -1179,8 +1496,19 @@ s%@AUTOMAKE@%$AUTOMAKE%g
621
s%@AUTOHEADER@%$AUTOHEADER%g
622
s%@MAKEINFO@%$MAKEINFO%g
623
s%@SET_MAKE@%$SET_MAKE%g
624
+s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
625
+s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
630
+s%@host_alias@%$host_alias%g
631
+s%@host_cpu@%$host_cpu%g
632
+s%@host_vendor@%$host_vendor%g
633
+s%@host_os@%$host_os%g
634
+s%@SDL_CONFIG@%$SDL_CONFIG%g
635
+s%@SDL_CFLAGS@%$SDL_CFLAGS%g
636
+s%@SDL_LIBS@%$SDL_LIBS%g
640
@@ -1222,7 +1550,7 @@ EOF
642
cat >> $CONFIG_STATUS <<EOF
644
-CONFIG_FILES=\${CONFIG_FILES-"Makefile dossizola/Makefile dossizola/docs/Makefile dossizola/docs/en/Makefile dossizola/images/Makefile "}
645
+CONFIG_FILES=\${CONFIG_FILES-"Makefile dossizola/Makefile dossizola/images/Makefile "}
647
cat >> $CONFIG_STATUS <<\EOF
648
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
650
+++ dossizola-1.0/stamp-h
653
--- dossizola-1.0.orig/aclocal.m4
654
+++ dossizola-1.0/aclocal.m4
656
-dnl aclocal.m4 generated automatically by aclocal 1.4
657
+dnl aclocal.m4 generated automatically by aclocal 1.4-p6
659
-dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
660
+dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
661
dnl This file is free software; the Free Software Foundation
662
dnl gives unlimited permission to copy and/or distribute it,
663
dnl with or without modifications, as long as this notice is preserved.
664
@@ -10,9 +10,831 @@ dnl but WITHOUT ANY WARRANTY, to the ext
665
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
666
dnl PARTICULAR PURPOSE.
669
+# lib-prefix.m4 serial 3 (gettext-0.13)
670
+dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
671
+dnl This file is free software, distributed under the terms of the GNU
672
+dnl General Public License. As a special exception to the GNU General
673
+dnl Public License, this file may be distributed as part of a program
674
+dnl that contains a configuration script generated by Autoconf, under
675
+dnl the same distribution terms as the rest of that program.
677
+dnl From Bruno Haible.
679
+dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
680
+dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
681
+dnl require excessive bracketing.
682
+ifdef([AC_HELP_STRING],
683
+[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
684
+[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
686
+dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
687
+dnl to access previously installed libraries. The basic assumption is that
688
+dnl a user will want packages to use other packages he previously installed
689
+dnl with the same --prefix option.
690
+dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
691
+dnl libraries, but is otherwise very convenient.
692
+AC_DEFUN([AC_LIB_PREFIX],
694
+ AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
695
+ AC_REQUIRE([AC_PROG_CC])
696
+ AC_REQUIRE([AC_CANONICAL_HOST])
697
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
698
+ dnl By default, look in $includedir and $libdir.
700
+ AC_LIB_WITH_FINAL_PREFIX([
701
+ eval additional_includedir=\"$includedir\"
702
+ eval additional_libdir=\"$libdir\"
704
+ AC_LIB_ARG_WITH([lib-prefix],
705
+[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
706
+ --without-lib-prefix don't search for libraries in includedir and libdir],
708
+ if test "X$withval" = "Xno"; then
711
+ if test "X$withval" = "X"; then
712
+ AC_LIB_WITH_FINAL_PREFIX([
713
+ eval additional_includedir=\"$includedir\"
714
+ eval additional_libdir=\"$libdir\"
717
+ additional_includedir="$withval/include"
718
+ additional_libdir="$withval/lib"
722
+ if test $use_additional = yes; then
723
+ dnl Potentially add $additional_includedir to $CPPFLAGS.
724
+ dnl But don't add it
725
+ dnl 1. if it's the standard /usr/include,
726
+ dnl 2. if it's already present in $CPPFLAGS,
727
+ dnl 3. if it's /usr/local/include and we are using GCC on Linux,
728
+ dnl 4. if it doesn't exist as a directory.
729
+ if test "X$additional_includedir" != "X/usr/include"; then
731
+ for x in $CPPFLAGS; do
732
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
733
+ if test "X$x" = "X-I$additional_includedir"; then
738
+ if test -z "$haveit"; then
739
+ if test "X$additional_includedir" = "X/usr/local/include"; then
740
+ if test -n "$GCC"; then
742
+ linux*) haveit=yes;;
746
+ if test -z "$haveit"; then
747
+ if test -d "$additional_includedir"; then
748
+ dnl Really add $additional_includedir to $CPPFLAGS.
749
+ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
754
+ dnl Potentially add $additional_libdir to $LDFLAGS.
755
+ dnl But don't add it
756
+ dnl 1. if it's the standard /usr/lib,
757
+ dnl 2. if it's already present in $LDFLAGS,
758
+ dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
759
+ dnl 4. if it doesn't exist as a directory.
760
+ if test "X$additional_libdir" != "X/usr/lib"; then
762
+ for x in $LDFLAGS; do
763
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
764
+ if test "X$x" = "X-L$additional_libdir"; then
769
+ if test -z "$haveit"; then
770
+ if test "X$additional_libdir" = "X/usr/local/lib"; then
771
+ if test -n "$GCC"; then
773
+ linux*) haveit=yes;;
777
+ if test -z "$haveit"; then
778
+ if test -d "$additional_libdir"; then
779
+ dnl Really add $additional_libdir to $LDFLAGS.
780
+ LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
788
+dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
789
+dnl acl_final_exec_prefix, containing the values to which $prefix and
790
+dnl $exec_prefix will expand at the end of the configure script.
791
+AC_DEFUN([AC_LIB_PREPARE_PREFIX],
793
+ dnl Unfortunately, prefix and exec_prefix get only finally determined
794
+ dnl at the end of configure.
795
+ if test "X$prefix" = "XNONE"; then
796
+ acl_final_prefix="$ac_default_prefix"
798
+ acl_final_prefix="$prefix"
800
+ if test "X$exec_prefix" = "XNONE"; then
801
+ acl_final_exec_prefix='${prefix}'
803
+ acl_final_exec_prefix="$exec_prefix"
805
+ acl_save_prefix="$prefix"
806
+ prefix="$acl_final_prefix"
807
+ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
808
+ prefix="$acl_save_prefix"
811
+dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
812
+dnl variables prefix and exec_prefix bound to the values they will have
813
+dnl at the end of the configure script.
814
+AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
816
+ acl_save_prefix="$prefix"
817
+ prefix="$acl_final_prefix"
818
+ acl_save_exec_prefix="$exec_prefix"
819
+ exec_prefix="$acl_final_exec_prefix"
821
+ exec_prefix="$acl_save_exec_prefix"
822
+ prefix="$acl_save_prefix"
825
+# lib-link.m4 serial 4 (gettext-0.12)
826
+dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
827
+dnl This file is free software, distributed under the terms of the GNU
828
+dnl General Public License. As a special exception to the GNU General
829
+dnl Public License, this file may be distributed as part of a program
830
+dnl that contains a configuration script generated by Autoconf, under
831
+dnl the same distribution terms as the rest of that program.
833
+dnl From Bruno Haible.
835
+dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
836
+dnl the libraries corresponding to explicit and implicit dependencies.
837
+dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
838
+dnl augments the CPPFLAGS variable.
839
+AC_DEFUN([AC_LIB_LINKFLAGS],
841
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
842
+ AC_REQUIRE([AC_LIB_RPATH])
843
+ define([Name],[translit([$1],[./-], [___])])
844
+ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
845
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
846
+ AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
847
+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
848
+ ac_cv_lib[]Name[]_libs="$LIB[]NAME"
849
+ ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
850
+ ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
852
+ LIB[]NAME="$ac_cv_lib[]Name[]_libs"
853
+ LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
854
+ INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
855
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
856
+ AC_SUBST([LIB]NAME)
857
+ AC_SUBST([LTLIB]NAME)
858
+ dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
859
+ dnl results of this search when this library appears as a dependency.
865
+dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
866
+dnl searches for libname and the libraries corresponding to explicit and
867
+dnl implicit dependencies, together with the specified include files and
868
+dnl the ability to compile and link the specified testcode. If found, it
869
+dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
870
+dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
871
+dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
872
+dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
873
+AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
875
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
876
+ AC_REQUIRE([AC_LIB_RPATH])
877
+ define([Name],[translit([$1],[./-], [___])])
878
+ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
879
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
881
+ dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
883
+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
885
+ dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
886
+ dnl because if the user has installed lib[]Name and not disabled its use
887
+ dnl via --without-lib[]Name-prefix, he wants to use it.
888
+ ac_save_CPPFLAGS="$CPPFLAGS"
889
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
891
+ AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
892
+ ac_save_LIBS="$LIBS"
893
+ LIBS="$LIBS $LIB[]NAME"
894
+ AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
895
+ LIBS="$ac_save_LIBS"
897
+ if test "$ac_cv_lib[]Name" = yes; then
899
+ AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
900
+ AC_MSG_CHECKING([how to link with lib[]$1])
901
+ AC_MSG_RESULT([$LIB[]NAME])
904
+ dnl If $LIB[]NAME didn't lead to a usable library, we don't need
905
+ dnl $INC[]NAME either.
906
+ CPPFLAGS="$ac_save_CPPFLAGS"
910
+ AC_SUBST([HAVE_LIB]NAME)
911
+ AC_SUBST([LIB]NAME)
912
+ AC_SUBST([LTLIB]NAME)
917
+dnl Determine the platform dependent parameters needed to use rpath:
918
+dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
919
+dnl hardcode_direct, hardcode_minus_L.
920
+AC_DEFUN([AC_LIB_RPATH],
922
+ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
923
+ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
924
+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
925
+ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
926
+ AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
927
+ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
928
+ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
930
+ rm -f ./conftest.sh
934
+ libext="$acl_cv_libext"
935
+ shlibext="$acl_cv_shlibext"
936
+ hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
937
+ hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
938
+ hardcode_direct="$acl_cv_hardcode_direct"
939
+ hardcode_minus_L="$acl_cv_hardcode_minus_L"
940
+ dnl Determine whether the user wants rpath handling at all.
941
+ AC_ARG_ENABLE(rpath,
942
+ [ --disable-rpath do not hardcode runtime library paths],
943
+ :, enable_rpath=yes)
946
+dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
947
+dnl the libraries corresponding to explicit and implicit dependencies.
948
+dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
949
+AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
951
+ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
952
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
953
+ dnl By default, look in $includedir and $libdir.
955
+ AC_LIB_WITH_FINAL_PREFIX([
956
+ eval additional_includedir=\"$includedir\"
957
+ eval additional_libdir=\"$libdir\"
959
+ AC_LIB_ARG_WITH([lib$1-prefix],
960
+[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
961
+ --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
963
+ if test "X$withval" = "Xno"; then
966
+ if test "X$withval" = "X"; then
967
+ AC_LIB_WITH_FINAL_PREFIX([
968
+ eval additional_includedir=\"$includedir\"
969
+ eval additional_libdir=\"$libdir\"
972
+ additional_includedir="$withval/include"
973
+ additional_libdir="$withval/lib"
977
+ dnl Search the library and its dependencies in $additional_libdir and
978
+ dnl $LDFLAGS. Using breadth-first-seach.
984
+ names_already_handled=
985
+ names_next_round='$1 $2'
986
+ while test -n "$names_next_round"; do
987
+ names_this_round="$names_next_round"
989
+ for name in $names_this_round; do
991
+ for n in $names_already_handled; do
992
+ if test "$n" = "$name"; then
993
+ already_handled=yes
997
+ if test -z "$already_handled"; then
998
+ names_already_handled="$names_already_handled $name"
999
+ dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
1000
+ dnl or AC_LIB_HAVE_LINKFLAGS call.
1001
+ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
1002
+ eval value=\"\$HAVE_LIB$uppername\"
1003
+ if test -n "$value"; then
1004
+ if test "$value" = yes; then
1005
+ eval value=\"\$LIB$uppername\"
1006
+ test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
1007
+ eval value=\"\$LTLIB$uppername\"
1008
+ test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
1010
+ dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
1011
+ dnl that this library doesn't exist. So just drop it.
1015
+ dnl Search the library lib$name in $additional_libdir and $LDFLAGS
1016
+ dnl and the already constructed $LIBNAME/$LTLIBNAME.
1021
+ if test $use_additional = yes; then
1022
+ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
1023
+ found_dir="$additional_libdir"
1024
+ found_so="$additional_libdir/lib$name.$shlibext"
1025
+ if test -f "$additional_libdir/lib$name.la"; then
1026
+ found_la="$additional_libdir/lib$name.la"
1029
+ if test -f "$additional_libdir/lib$name.$libext"; then
1030
+ found_dir="$additional_libdir"
1031
+ found_a="$additional_libdir/lib$name.$libext"
1032
+ if test -f "$additional_libdir/lib$name.la"; then
1033
+ found_la="$additional_libdir/lib$name.la"
1038
+ if test "X$found_dir" = "X"; then
1039
+ for x in $LDFLAGS $LTLIB[]NAME; do
1040
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1043
+ dir=`echo "X$x" | sed -e 's/^X-L//'`
1044
+ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
1046
+ found_so="$dir/lib$name.$shlibext"
1047
+ if test -f "$dir/lib$name.la"; then
1048
+ found_la="$dir/lib$name.la"
1051
+ if test -f "$dir/lib$name.$libext"; then
1053
+ found_a="$dir/lib$name.$libext"
1054
+ if test -f "$dir/lib$name.la"; then
1055
+ found_la="$dir/lib$name.la"
1061
+ if test "X$found_dir" != "X"; then
1066
+ if test "X$found_dir" != "X"; then
1067
+ dnl Found the library.
1068
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
1069
+ if test "X$found_so" != "X"; then
1070
+ dnl Linking with a shared library. We attempt to hardcode its
1071
+ dnl directory into the executable's runpath, unless it's the
1072
+ dnl standard /usr/lib.
1073
+ if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
1074
+ dnl No hardcoding is needed.
1075
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1077
+ dnl Use an explicit option to hardcode DIR into the resulting
1079
+ dnl Potentially add DIR to ltrpathdirs.
1080
+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1082
+ for x in $ltrpathdirs; do
1083
+ if test "X$x" = "X$found_dir"; then
1088
+ if test -z "$haveit"; then
1089
+ ltrpathdirs="$ltrpathdirs $found_dir"
1091
+ dnl The hardcoding into $LIBNAME is system dependent.
1092
+ if test "$hardcode_direct" = yes; then
1093
+ dnl Using DIR/libNAME.so during linking hardcodes DIR into the
1094
+ dnl resulting binary.
1095
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1097
+ if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
1098
+ dnl Use an explicit option to hardcode DIR into the resulting
1100
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1101
+ dnl Potentially add DIR to rpathdirs.
1102
+ dnl The rpathdirs will be appended to $LIBNAME at the end.
1104
+ for x in $rpathdirs; do
1105
+ if test "X$x" = "X$found_dir"; then
1110
+ if test -z "$haveit"; then
1111
+ rpathdirs="$rpathdirs $found_dir"
1114
+ dnl Rely on "-L$found_dir".
1115
+ dnl But don't add it if it's already contained in the LDFLAGS
1116
+ dnl or the already constructed $LIBNAME
1118
+ for x in $LDFLAGS $LIB[]NAME; do
1119
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1120
+ if test "X$x" = "X-L$found_dir"; then
1125
+ if test -z "$haveit"; then
1126
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
1128
+ if test "$hardcode_minus_L" != no; then
1129
+ dnl FIXME: Not sure whether we should use
1130
+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1132
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1134
+ dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
1135
+ dnl here, because this doesn't fit in flags passed to the
1136
+ dnl compiler. So give up. No hardcoding. This affects only
1137
+ dnl very old systems.
1138
+ dnl FIXME: Not sure whether we should use
1139
+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1141
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1147
+ if test "X$found_a" != "X"; then
1148
+ dnl Linking with a static library.
1149
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
1151
+ dnl We shouldn't come here, but anyway it's good to have a
1153
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
1156
+ dnl Assume the include files are nearby.
1157
+ additional_includedir=
1158
+ case "$found_dir" in
1160
+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
1161
+ additional_includedir="$basedir/include"
1164
+ if test "X$additional_includedir" != "X"; then
1165
+ dnl Potentially add $additional_includedir to $INCNAME.
1166
+ dnl But don't add it
1167
+ dnl 1. if it's the standard /usr/include,
1168
+ dnl 2. if it's /usr/local/include and we are using GCC on Linux,
1169
+ dnl 3. if it's already present in $CPPFLAGS or the already
1170
+ dnl constructed $INCNAME,
1171
+ dnl 4. if it doesn't exist as a directory.
1172
+ if test "X$additional_includedir" != "X/usr/include"; then
1174
+ if test "X$additional_includedir" = "X/usr/local/include"; then
1175
+ if test -n "$GCC"; then
1177
+ linux*) haveit=yes;;
1181
+ if test -z "$haveit"; then
1182
+ for x in $CPPFLAGS $INC[]NAME; do
1183
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1184
+ if test "X$x" = "X-I$additional_includedir"; then
1189
+ if test -z "$haveit"; then
1190
+ if test -d "$additional_includedir"; then
1191
+ dnl Really add $additional_includedir to $INCNAME.
1192
+ INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
1198
+ dnl Look for dependencies.
1199
+ if test -n "$found_la"; then
1200
+ dnl Read the .la file. It defines the variables
1201
+ dnl dlname, library_names, old_library, dependency_libs, current,
1202
+ dnl age, revision, installed, dlopen, dlpreopen, libdir.
1203
+ save_libdir="$libdir"
1204
+ case "$found_la" in
1205
+ */* | *\\*) . "$found_la" ;;
1206
+ *) . "./$found_la" ;;
1208
+ libdir="$save_libdir"
1209
+ dnl We use only dependency_libs.
1210
+ for dep in $dependency_libs; do
1213
+ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1214
+ dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
1215
+ dnl But don't add it
1216
+ dnl 1. if it's the standard /usr/lib,
1217
+ dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
1218
+ dnl 3. if it's already present in $LDFLAGS or the already
1219
+ dnl constructed $LIBNAME,
1220
+ dnl 4. if it doesn't exist as a directory.
1221
+ if test "X$additional_libdir" != "X/usr/lib"; then
1223
+ if test "X$additional_libdir" = "X/usr/local/lib"; then
1224
+ if test -n "$GCC"; then
1226
+ linux*) haveit=yes;;
1230
+ if test -z "$haveit"; then
1232
+ for x in $LDFLAGS $LIB[]NAME; do
1233
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1234
+ if test "X$x" = "X-L$additional_libdir"; then
1239
+ if test -z "$haveit"; then
1240
+ if test -d "$additional_libdir"; then
1241
+ dnl Really add $additional_libdir to $LIBNAME.
1242
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
1246
+ for x in $LDFLAGS $LTLIB[]NAME; do
1247
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1248
+ if test "X$x" = "X-L$additional_libdir"; then
1253
+ if test -z "$haveit"; then
1254
+ if test -d "$additional_libdir"; then
1255
+ dnl Really add $additional_libdir to $LTLIBNAME.
1256
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
1263
+ dir=`echo "X$dep" | sed -e 's/^X-R//'`
1264
+ if test "$enable_rpath" != no; then
1265
+ dnl Potentially add DIR to rpathdirs.
1266
+ dnl The rpathdirs will be appended to $LIBNAME at the end.
1268
+ for x in $rpathdirs; do
1269
+ if test "X$x" = "X$dir"; then
1274
+ if test -z "$haveit"; then
1275
+ rpathdirs="$rpathdirs $dir"
1277
+ dnl Potentially add DIR to ltrpathdirs.
1278
+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1280
+ for x in $ltrpathdirs; do
1281
+ if test "X$x" = "X$dir"; then
1286
+ if test -z "$haveit"; then
1287
+ ltrpathdirs="$ltrpathdirs $dir"
1292
+ dnl Handle this in the next round.
1293
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
1296
+ dnl Handle this in the next round. Throw away the .la's
1297
+ dnl directory; it is already contained in a preceding -L
1299
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
1302
+ dnl Most likely an immediate library name.
1303
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
1304
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
1310
+ dnl Didn't find the library; assume it is in the system directories
1311
+ dnl known to the linker and runtime loader. (All the system
1312
+ dnl directories known to the linker should also be known to the
1313
+ dnl runtime loader, otherwise the system is severely misconfigured.)
1314
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1315
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
1321
+ if test "X$rpathdirs" != "X"; then
1322
+ if test -n "$hardcode_libdir_separator"; then
1323
+ dnl Weird platform: only the last -rpath option counts, the user must
1324
+ dnl pass all path elements in one option. We can arrange that for a
1325
+ dnl single library, but not when more than one $LIBNAMEs are used.
1327
+ for found_dir in $rpathdirs; do
1328
+ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
1330
+ dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
1331
+ acl_save_libdir="$libdir"
1333
+ eval flag=\"$hardcode_libdir_flag_spec\"
1334
+ libdir="$acl_save_libdir"
1335
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1337
+ dnl The -rpath options are cumulative.
1338
+ for found_dir in $rpathdirs; do
1339
+ acl_save_libdir="$libdir"
1340
+ libdir="$found_dir"
1341
+ eval flag=\"$hardcode_libdir_flag_spec\"
1342
+ libdir="$acl_save_libdir"
1343
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1347
+ if test "X$ltrpathdirs" != "X"; then
1348
+ dnl When using libtool, the option that works for both libraries and
1349
+ dnl executables is -R. The -R options are cumulative.
1350
+ for found_dir in $ltrpathdirs; do
1351
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
1356
+dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
1357
+dnl unless already present in VAR.
1358
+dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
1359
+dnl contains two or three consecutive elements that belong together.
1360
+AC_DEFUN([AC_LIB_APPENDTOVAR],
1362
+ for element in [$2]; do
1364
+ for x in $[$1]; do
1365
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1366
+ if test "X$x" = "X$element"; then
1371
+ if test -z "$haveit"; then
1372
+ [$1]="${[$1]}${[$1]:+ }$element"
1377
+# lib-ld.m4 serial 3 (gettext-0.13)
1378
+dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
1379
+dnl This file is free software, distributed under the terms of the GNU
1380
+dnl General Public License. As a special exception to the GNU General
1381
+dnl Public License, this file may be distributed as part of a program
1382
+dnl that contains a configuration script generated by Autoconf, under
1383
+dnl the same distribution terms as the rest of that program.
1385
+dnl Subroutines of libtool.m4,
1386
+dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
1387
+dnl with libtool.m4.
1389
+dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
1390
+AC_DEFUN([AC_LIB_PROG_LD_GNU],
1391
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
1392
+[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1393
+case `$LD -v 2>&1 </dev/null` in
1394
+*GNU* | *'with BFD'*)
1395
+ acl_cv_prog_gnu_ld=yes ;;
1397
+ acl_cv_prog_gnu_ld=no ;;
1399
+with_gnu_ld=$acl_cv_prog_gnu_ld
1402
+dnl From libtool-1.4. Sets the variable LD.
1403
+AC_DEFUN([AC_LIB_PROG_LD],
1404
+[AC_ARG_WITH(gnu-ld,
1405
+[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
1406
+test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
1407
+AC_REQUIRE([AC_PROG_CC])dnl
1408
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
1409
+# Prepare PATH_SEPARATOR.
1410
+# The user is always right.
1411
+if test "${PATH_SEPARATOR+set}" != set; then
1412
+ echo "#! /bin/sh" >conf$$.sh
1413
+ echo "exit 0" >>conf$$.sh
1414
+ chmod +x conf$$.sh
1415
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1416
+ PATH_SEPARATOR=';'
1423
+if test "$GCC" = yes; then
1424
+ # Check if gcc -print-prog-name=ld gives a path.
1425
+ AC_MSG_CHECKING([for ld used by GCC])
1428
+ # gcc leaves a trailing carriage return which upsets mingw
1429
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1431
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1434
+ # Accept absolute paths.
1435
+ [[\\/]* | [A-Za-z]:[\\/]*)]
1436
+ [re_direlt='/[^/][^/]*/\.\./']
1437
+ # Canonicalize the path of ld
1438
+ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1439
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1440
+ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1442
+ test -z "$LD" && LD="$ac_prog"
1445
+ # If it fails, then pretend we aren't using GCC.
1449
+ # If it is relative, then search for the first ld in PATH.
1450
+ with_gnu_ld=unknown
1453
+elif test "$with_gnu_ld" = yes; then
1454
+ AC_MSG_CHECKING([for GNU ld])
1456
+ AC_MSG_CHECKING([for non-GNU ld])
1458
+AC_CACHE_VAL(acl_cv_path_LD,
1459
+[if test -z "$LD"; then
1460
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1461
+ for ac_dir in $PATH; do
1462
+ test -z "$ac_dir" && ac_dir=.
1463
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1464
+ acl_cv_path_LD="$ac_dir/$ac_prog"
1465
+ # Check to see if the program is GNU ld. I'd rather use --version,
1466
+ # but apparently some GNU ld's only accept -v.
1467
+ # Break only if it was the GNU/non-GNU ld that we prefer.
1468
+ case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
1469
+ *GNU* | *'with BFD'*)
1470
+ test "$with_gnu_ld" != no && break ;;
1472
+ test "$with_gnu_ld" != yes && break ;;
1476
+ IFS="$ac_save_ifs"
1478
+ acl_cv_path_LD="$LD" # Let the user override the test with a path.
1480
+LD="$acl_cv_path_LD"
1481
+if test -n "$LD"; then
1482
+ AC_MSG_RESULT($LD)
1486
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
1490
# Like AC_CONFIG_HEADER, but automatically create stamp file.
1492
-AC_DEFUN(AM_CONFIG_HEADER,
1493
+AC_DEFUN([AM_CONFIG_HEADER],
1495
AC_CONFIG_HEADER([$1])
1496
dnl When config.status generates a header, we must update the stamp-h file.
1497
@@ -42,8 +864,9 @@ changequote([,]))])
1499
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
1501
-AC_DEFUN(AM_INIT_AUTOMAKE,
1502
-[AC_REQUIRE([AC_PROG_INSTALL])
1503
+AC_DEFUN([AM_INIT_AUTOMAKE],
1504
+[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1505
+AC_REQUIRE([AC_PROG_INSTALL])
1509
@@ -59,18 +882,47 @@ AC_REQUIRE([AM_SANITY_CHECK])
1510
AC_REQUIRE([AC_ARG_PROGRAM])
1511
dnl FIXME This is truly gross.
1512
missing_dir=`cd $ac_aux_dir && pwd`
1513
-AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
1514
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
1515
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
1516
-AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
1517
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
1518
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
1519
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
1520
AC_REQUIRE([AC_PROG_MAKE_SET])])
1522
+# Copyright 2002 Free Software Foundation, Inc.
1524
+# This program is free software; you can redistribute it and/or modify
1525
+# it under the terms of the GNU General Public License as published by
1526
+# the Free Software Foundation; either version 2, or (at your option)
1527
+# any later version.
1529
+# This program is distributed in the hope that it will be useful,
1530
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
1531
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1532
+# GNU General Public License for more details.
1534
+# You should have received a copy of the GNU General Public License
1535
+# along with this program; if not, write to the Free Software
1536
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1538
+# AM_AUTOMAKE_VERSION(VERSION)
1539
+# ----------------------------
1540
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
1541
+# generated from the m4 files accompanying Automake X.Y.
1542
+AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
1544
+# AM_SET_CURRENT_AUTOMAKE_VERSION
1545
+# -------------------------------
1546
+# Call AM_AUTOMAKE_VERSION so it can be traced.
1547
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1548
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1549
+ [AM_AUTOMAKE_VERSION([1.4-p6])])
1552
# Check to make sure that the build environment is sane.
1555
-AC_DEFUN(AM_SANITY_CHECK,
1556
+AC_DEFUN([AM_SANITY_CHECK],
1557
[AC_MSG_CHECKING([whether build environment is sane])
1560
@@ -111,7 +963,7 @@ AC_MSG_RESULT(yes)])
1562
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
1563
dnl The program must properly implement --version.
1564
-AC_DEFUN(AM_MISSING_PROG,
1565
+AC_DEFUN([AM_MISSING_PROG],
1566
[AC_MSG_CHECKING(for working $2)
1567
# Run test in a subshell; some versions of sh will print an error if
1568
# an executable is not found, even if stderr is redirected.
1569
@@ -125,3 +977,212 @@ else
1573
+# Add --enable-maintainer-mode option to configure.
1574
+# From Jim Meyering
1578
+AC_DEFUN([AM_MAINTAINER_MODE],
1579
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1580
+ dnl maintainer-mode is disabled by default
1581
+ AC_ARG_ENABLE(maintainer-mode,
1582
+[ --enable-maintainer-mode enable make rules and dependencies not useful
1583
+ (and sometimes confusing) to the casual installer],
1584
+ USE_MAINTAINER_MODE=$enableval,
1585
+ USE_MAINTAINER_MODE=no)
1586
+ AC_MSG_RESULT($USE_MAINTAINER_MODE)
1587
+ AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes)
1588
+ MAINT=$MAINTAINER_MODE_TRUE
1589
+ AC_SUBST(MAINT)dnl
1593
+# Define a conditional.
1595
+AC_DEFUN([AM_CONDITIONAL],
1606
+# Configure paths for SDL
1607
+# Sam Lantinga 9/21/99
1608
+# stolen from Manish Singh
1609
+# stolen back from Frank Belew
1610
+# stolen from Manish Singh
1611
+# Shamelessly stolen from Owen Taylor
1613
+dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
1614
+dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
1616
+AC_DEFUN([AM_PATH_SDL],
1618
+dnl Get the cflags and libraries from the sdl-config script
1620
+AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)],
1621
+ sdl_prefix="$withval", sdl_prefix="")
1622
+AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
1623
+ sdl_exec_prefix="$withval", sdl_exec_prefix="")
1624
+AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program],
1625
+ , enable_sdltest=yes)
1627
+ if test x$sdl_exec_prefix != x ; then
1628
+ sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
1629
+ if test x${SDL_CONFIG+set} != xset ; then
1630
+ SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
1633
+ if test x$sdl_prefix != x ; then
1634
+ sdl_args="$sdl_args --prefix=$sdl_prefix"
1635
+ if test x${SDL_CONFIG+set} != xset ; then
1636
+ SDL_CONFIG=$sdl_prefix/bin/sdl-config
1640
+ AC_REQUIRE([AC_CANONICAL_HOST])
1641
+ PATH="$prefix/bin:$prefix/usr/bin:$PATH"
1642
+ AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
1643
+ min_sdl_version=ifelse([$1], ,0.11.0,$1)
1644
+ AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
1646
+ if test "$SDL_CONFIG" = "no" ; then
1649
+ SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
1650
+ SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
1652
+ sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
1653
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
1654
+ sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
1655
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
1656
+ sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
1657
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
1658
+ if test "x$enable_sdltest" = "xyes" ; then
1659
+ ac_save_CFLAGS="$CFLAGS"
1660
+ ac_save_LIBS="$LIBS"
1661
+ CFLAGS="$CFLAGS $SDL_CFLAGS"
1662
+ LIBS="$LIBS $SDL_LIBS"
1664
+dnl Now check if the installed SDL is sufficiently new. (Also sanity
1665
+dnl checks the results of sdl-config to some extent
1667
+ rm -f conf.sdltest
1670
+#include <stdlib.h>
1671
+#include <string.h>
1675
+my_strdup (char *str)
1681
+ new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
1682
+ strcpy (new_str, str);
1690
+int main (int argc, char *argv[])
1692
+ int major, minor, micro;
1693
+ char *tmp_version;
1695
+ /* This hangs on some systems (?)
1696
+ system ("touch conf.sdltest");
1698
+ { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
1700
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
1701
+ tmp_version = my_strdup("$min_sdl_version");
1702
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
1703
+ printf("%s, bad version string\n", "$min_sdl_version");
1707
+ if (($sdl_major_version > major) ||
1708
+ (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
1709
+ (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
1715
+ printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
1716
+ printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
1717
+ printf("*** best to upgrade to the required version.\n");
1718
+ printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
1719
+ printf("*** to point to the correct copy of sdl-config, and remove the file\n");
1720
+ printf("*** config.cache before re-running configure\n");
1725
+],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
1726
+ CFLAGS="$ac_save_CFLAGS"
1727
+ LIBS="$ac_save_LIBS"
1730
+ if test "x$no_sdl" = x ; then
1731
+ AC_MSG_RESULT(yes)
1732
+ ifelse([$2], , :, [$2])
1735
+ if test "$SDL_CONFIG" = "no" ; then
1736
+ echo "*** The sdl-config script installed by SDL could not be found"
1737
+ echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
1738
+ echo "*** your path, or set the SDL_CONFIG environment variable to the"
1739
+ echo "*** full path to sdl-config."
1741
+ if test -f conf.sdltest ; then
1744
+ echo "*** Could not run SDL test program, checking why..."
1745
+ CFLAGS="$CFLAGS $SDL_CFLAGS"
1746
+ LIBS="$LIBS $SDL_LIBS"
1751
+int main(int argc, char *argv[])
1754
+#define main K_and_R_C_main
1756
+ [ echo "*** The test program compiled, but did not run. This usually means"
1757
+ echo "*** that the run-time linker is not finding SDL or finding the wrong"
1758
+ echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
1759
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
1760
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
1761
+ echo "*** is required on your system"
1763
+ echo "*** If you have an old version installed, it is best to remove it, although"
1764
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
1765
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
1766
+ echo "*** exact error that occured. This usually means SDL was incorrectly installed"
1767
+ echo "*** or that you have moved SDL since it was installed. In the latter case, you"
1768
+ echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
1769
+ CFLAGS="$ac_save_CFLAGS"
1770
+ LIBS="$ac_save_LIBS"
1775
+ ifelse([$3], , :, [$3])
1777
+ AC_SUBST(SDL_CFLAGS)
1778
+ AC_SUBST(SDL_LIBS)
1779
+ rm -f conf.sdltest
1782
--- dossizola-1.0.orig/config.h.in
1783
+++ dossizola-1.0/config.h.in
1785
-/* config.h.in. Generated automatically from configure.in by autoheader. */
1786
+/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
1788
+/* Define if you need the GNU extensions to compile */
1792
/* Name of package */
1795
+++ dossizola-1.0/manpage.links
1797
+DOSSIZOLA.6 Do'SSi Zo'la.6
1799
+++ dossizola-1.0/config.guess
1802
+# Attempt to guess a canonical system name.
1803
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1804
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
1805
+# Free Software Foundation, Inc.
1807
+timestamp='2009-12-30'
1809
+# This file is free software; you can redistribute it and/or modify it
1810
+# under the terms of the GNU General Public License as published by
1811
+# the Free Software Foundation; either version 2 of the License, or
1812
+# (at your option) any later version.
1814
+# This program is distributed in the hope that it will be useful, but
1815
+# WITHOUT ANY WARRANTY; without even the implied warranty of
1816
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1817
+# General Public License for more details.
1819
+# You should have received a copy of the GNU General Public License
1820
+# along with this program; if not, write to the Free Software
1821
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
1824
+# As a special exception to the GNU General Public License, if you
1825
+# distribute this file as part of a program that contains a
1826
+# configuration script generated by Autoconf, you may include it under
1827
+# the same distribution terms that you use for the rest of that program.
1830
+# Originally written by Per Bothner. Please send patches (context
1831
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
1834
+# This script attempts to guess a canonical system name similar to
1835
+# config.sub. If it succeeds, it prints the system name on stdout, and
1836
+# exits with 0. Otherwise, it exits with 1.
1838
+# You can get the latest version of this script from:
1839
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1841
+me=`echo "$0" | sed -e 's,.*/,,'`
1846
+Output the configuration name of the system \`$me' is run on.
1849
+ -h, --help print this help, then exit
1850
+ -t, --time-stamp print date of last modification, then exit
1851
+ -v, --version print version number, then exit
1853
+Report bugs and patches to <config-patches@gnu.org>."
1856
+GNU config.guess ($timestamp)
1858
+Originally written by Per Bothner.
1859
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
1860
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
1861
+Software Foundation, Inc.
1863
+This is free software; see the source for copying conditions. There is NO
1864
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
1867
+Try \`$me --help' for more information."
1869
+# Parse command line
1870
+while test $# -gt 0 ; do
1872
+ --time-stamp | --time* | -t )
1873
+ echo "$timestamp" ; exit ;;
1875
+ echo "$version" ; exit ;;
1876
+ --help | --h* | -h )
1877
+ echo "$usage"; exit ;;
1878
+ -- ) # Stop option processing
1880
+ - ) # Use stdin as input.
1883
+ echo "$me: invalid option $1$help" >&2
1890
+if test $# != 0; then
1891
+ echo "$me: too many arguments$help" >&2
1895
+trap 'exit 1' 1 2 15
1897
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
1898
+# compiler to aid in system detection is discouraged as it requires
1899
+# temporary files to be created and, as you can see below, it is a
1900
+# headache to deal with in a portable fashion.
1902
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
1903
+# use `HOST_CC' if defined, but it is deprecated.
1905
+# Portable tmp directory creation inspired by the Autoconf team.
1908
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
1909
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
1911
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
1912
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
1913
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
1914
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
1916
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
1917
+case $CC_FOR_BUILD,$HOST_CC,$CC in
1918
+ ,,) echo "int x;" > $dummy.c ;
1919
+ for c in cc gcc c89 c99 ; do
1920
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
1921
+ CC_FOR_BUILD="$c"; break ;
1924
+ if test x"$CC_FOR_BUILD" = x ; then
1925
+ CC_FOR_BUILD=no_compiler_found ;
1928
+ ,,*) CC_FOR_BUILD=$CC ;;
1929
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
1930
+esac ; set_cc_for_build= ;'
1932
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
1933
+# (ghazi@noc.rutgers.edu 1994-08-24)
1934
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
1935
+ PATH=$PATH:/.attbin ; export PATH
1938
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
1939
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
1940
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
1941
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
1943
+# Note: order is significant - the case branches are not exclusive.
1945
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
1947
+ # NetBSD (nbsd) targets should (where applicable) match one or
1948
+ # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
1949
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
1950
+ # switched to ELF, *-*-netbsd* would select the old
1951
+ # object file format. This provides both forward
1952
+ # compatibility and a consistent mechanism for selecting the
1953
+ # object file format.
1955
+ # Note: NetBSD doesn't particularly care about the vendor
1956
+ # portion of the name. We always set it to "unknown".
1957
+ sysctl="sysctl -n hw.machine_arch"
1958
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
1959
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
1960
+ case "${UNAME_MACHINE_ARCH}" in
1961
+ armeb) machine=armeb-unknown ;;
1962
+ arm*) machine=arm-unknown ;;
1963
+ sh3el) machine=shl-unknown ;;
1964
+ sh3eb) machine=sh-unknown ;;
1965
+ sh5el) machine=sh5le-unknown ;;
1966
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
1968
+ # The Operating System including object format, if it has switched
1969
+ # to ELF recently, or will in the future.
1970
+ case "${UNAME_MACHINE_ARCH}" in
1971
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
1972
+ eval $set_cc_for_build
1973
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
1976
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
1977
+ # Return netbsd for either. FIX?
1988
+ # Debian GNU/NetBSD machines have a different userland, and
1989
+ # thus, need a distinct triplet. However, they do not need
1990
+ # kernel version information, so it can be replaced with a
1991
+ # suitable tag, in the style of linux-gnu.
1992
+ case "${UNAME_VERSION}" in
1997
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
2000
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
2001
+ # contains redundant information, the shorter form:
2002
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
2003
+ echo "${machine}-${os}${release}"
2006
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
2007
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
2010
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
2013
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
2015
+ macppc:MirBSD:*:*)
2016
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
2019
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
2022
+ case $UNAME_RELEASE in
2024
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
2027
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
2030
+ # According to Compaq, /usr/sbin/psrinfo has been available on
2031
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
2032
+ # covers most systems running today. This code pipes the CPU
2033
+ # types through head -n 1, so we only detect the type of CPU 0.
2034
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
2035
+ case "$ALPHA_CPU_TYPE" in
2037
+ UNAME_MACHINE="alpha" ;;
2039
+ UNAME_MACHINE="alpha" ;;
2040
+ "LCA4 (21066/21068)")
2041
+ UNAME_MACHINE="alpha" ;;
2043
+ UNAME_MACHINE="alphaev5" ;;
2045
+ UNAME_MACHINE="alphaev56" ;;
2046
+ "EV5.6 (21164PC)")
2047
+ UNAME_MACHINE="alphapca56" ;;
2048
+ "EV5.7 (21164PC)")
2049
+ UNAME_MACHINE="alphapca57" ;;
2051
+ UNAME_MACHINE="alphaev6" ;;
2053
+ UNAME_MACHINE="alphaev67" ;;
2054
+ "EV6.8CB (21264C)")
2055
+ UNAME_MACHINE="alphaev68" ;;
2056
+ "EV6.8AL (21264B)")
2057
+ UNAME_MACHINE="alphaev68" ;;
2058
+ "EV6.8CX (21264D)")
2059
+ UNAME_MACHINE="alphaev68" ;;
2060
+ "EV6.9A (21264/EV69A)")
2061
+ UNAME_MACHINE="alphaev69" ;;
2063
+ UNAME_MACHINE="alphaev7" ;;
2065
+ UNAME_MACHINE="alphaev79" ;;
2067
+ # A Pn.n version is a patched version.
2068
+ # A Vn.n version is a released version.
2069
+ # A Tn.n version is a released field test version.
2070
+ # A Xn.n version is an unreleased experimental baselevel.
2071
+ # 1.2 uses "1.2" for uname -r.
2072
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
2074
+ Alpha\ *:Windows_NT*:*)
2075
+ # How do we know it's Interix rather than the generic POSIX subsystem?
2076
+ # Should we change UNAME_MACHINE based on the output of uname instead
2077
+ # of the specific Alpha model?
2078
+ echo alpha-pc-interix
2080
+ 21064:Windows_NT:50:3)
2081
+ echo alpha-dec-winnt3.5
2083
+ Amiga*:UNIX_System_V:4.0:*)
2084
+ echo m68k-unknown-sysv4
2086
+ *:[Aa]miga[Oo][Ss]:*:*)
2087
+ echo ${UNAME_MACHINE}-unknown-amigaos
2089
+ *:[Mm]orph[Oo][Ss]:*:*)
2090
+ echo ${UNAME_MACHINE}-unknown-morphos
2093
+ echo i370-ibm-openedition
2096
+ echo s390-ibm-zvmoe
2099
+ echo powerpc-ibm-os400
2101
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
2102
+ echo arm-acorn-riscix${UNAME_RELEASE}
2104
+ arm:riscos:*:*|arm:RISCOS:*:*)
2105
+ echo arm-unknown-riscos
2107
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
2108
+ echo hppa1.1-hitachi-hiuxmpp
2110
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
2111
+ # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
2112
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
2113
+ echo pyramid-pyramid-sysv3
2115
+ echo pyramid-pyramid-bsd
2119
+ echo pyramid-pyramid-svr4
2121
+ DRS?6000:unix:4.0:6*)
2122
+ echo sparc-icl-nx6
2124
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
2125
+ case `/usr/bin/uname -p` in
2126
+ sparc) echo sparc-icl-nx7; exit ;;
2129
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2131
+ sun4H:SunOS:5.*:*)
2132
+ echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2134
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
2135
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2137
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
2138
+ echo i386-pc-auroraux${UNAME_RELEASE}
2140
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
2141
+ eval $set_cc_for_build
2143
+ # If there is a compiler, see if it is configured for 64-bit objects.
2144
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
2145
+ # This test works for both compilers.
2146
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
2147
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
2148
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
2149
+ grep IS_64BIT_ARCH >/dev/null
2154
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2157
+ # According to config.sub, this is the proper way to canonicalize
2158
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
2159
+ # it's likely to be more like Solaris than SunOS4.
2160
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2163
+ case "`/usr/bin/arch -k`" in
2165
+ UNAME_RELEASE=`uname -v`
2168
+ # Japanese Language versions have a version number like `4.1.3-JL'.
2169
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
2172
+ echo m68k-sun-sunos${UNAME_RELEASE}
2175
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
2176
+ test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
2177
+ case "`/bin/arch`" in
2179
+ echo m68k-sun-sunos${UNAME_RELEASE}
2182
+ echo sparc-sun-sunos${UNAME_RELEASE}
2187
+ echo sparc-auspex-sunos${UNAME_RELEASE}
2189
+ # The situation for MiNT is a little confusing. The machine name
2190
+ # can be virtually everything (everything which is not
2191
+ # "atarist" or "atariste" at least should have a processor
2192
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
2193
+ # to the lowercase version "mint" (or "freemint"). Finally
2194
+ # the system name "TOS" denotes a system which is actually not
2195
+ # MiNT. But MiNT is downward compatible to TOS, so this should
2197
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
2198
+ echo m68k-atari-mint${UNAME_RELEASE}
2200
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
2201
+ echo m68k-atari-mint${UNAME_RELEASE}
2203
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
2204
+ echo m68k-atari-mint${UNAME_RELEASE}
2206
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
2207
+ echo m68k-milan-mint${UNAME_RELEASE}
2209
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
2210
+ echo m68k-hades-mint${UNAME_RELEASE}
2212
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
2213
+ echo m68k-unknown-mint${UNAME_RELEASE}
2216
+ echo m68k-apple-machten${UNAME_RELEASE}
2218
+ powerpc:machten:*:*)
2219
+ echo powerpc-apple-machten${UNAME_RELEASE}
2222
+ echo mips-dec-mach_bsd4.3
2225
+ echo mips-dec-ultrix${UNAME_RELEASE}
2228
+ echo vax-dec-ultrix${UNAME_RELEASE}
2230
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
2231
+ echo clipper-intergraph-clix${UNAME_RELEASE}
2233
+ mips:*:*:UMIPS | mips:*:*:RISCos)
2234
+ eval $set_cc_for_build
2235
+ sed 's/^ //' << EOF >$dummy.c
2237
+#include <stdio.h> /* for printf() prototype */
2238
+ int main (int argc, char *argv[]) {
2240
+ int main (argc, argv) int argc; char *argv[]; {
2242
+ #if defined (host_mips) && defined (MIPSEB)
2243
+ #if defined (SYSTYPE_SYSV)
2244
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
2246
+ #if defined (SYSTYPE_SVR4)
2247
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
2249
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
2250
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
2256
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
2257
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
2258
+ SYSTEM_NAME=`$dummy $dummyarg` &&
2259
+ { echo "$SYSTEM_NAME"; exit; }
2260
+ echo mips-mips-riscos${UNAME_RELEASE}
2262
+ Motorola:PowerMAX_OS:*:*)
2263
+ echo powerpc-motorola-powermax
2265
+ Motorola:*:4.3:PL8-*)
2266
+ echo powerpc-harris-powermax
2268
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
2269
+ echo powerpc-harris-powermax
2271
+ Night_Hawk:Power_UNIX:*:*)
2272
+ echo powerpc-harris-powerunix
2275
+ echo m88k-harris-cxux7
2278
+ echo m88k-motorola-sysv4
2281
+ echo m88k-motorola-sysv3
2284
+ # DG/UX returns AViiON for all architectures
2285
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
2286
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
2288
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
2289
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
2291
+ echo m88k-dg-dgux${UNAME_RELEASE}
2293
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
2296
+ echo i586-dg-dgux${UNAME_RELEASE}
2299
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
2300
+ echo m88k-dolphin-sysv3
2303
+ # Delta 88k system running SVR3
2304
+ echo m88k-motorola-sysv3
2306
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
2307
+ echo m88k-tektronix-sysv3
2309
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
2310
+ echo m68k-tektronix-bsd
2313
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
2315
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
2316
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
2317
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
2322
+ if [ -x /usr/bin/oslevel ] ; then
2323
+ IBM_REV=`/usr/bin/oslevel`
2325
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
2327
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
2330
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
2331
+ eval $set_cc_for_build
2332
+ sed 's/^ //' << EOF >$dummy.c
2333
+ #include <sys/systemcfg.h>
2337
+ if (!__power_pc())
2339
+ puts("powerpc-ibm-aix3.2.5");
2343
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
2345
+ echo "$SYSTEM_NAME"
2347
+ echo rs6000-ibm-aix3.2.5
2349
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
2350
+ echo rs6000-ibm-aix3.2.4
2352
+ echo rs6000-ibm-aix3.2
2356
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
2357
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
2362
+ if [ -x /usr/bin/oslevel ] ; then
2363
+ IBM_REV=`/usr/bin/oslevel`
2365
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
2367
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
2370
+ echo rs6000-ibm-aix
2372
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
2373
+ echo romp-ibm-bsd4.4
2375
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
2376
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
2377
+ exit ;; # report: romp-ibm BSD 4.3
2379
+ echo rs6000-bull-bosx
2381
+ DPX/2?00:B.O.S.:*:*)
2382
+ echo m68k-bull-sysv3
2384
+ 9000/[34]??:4.3bsd:1.*:*)
2387
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
2388
+ echo m68k-hp-bsd4.4
2390
+ 9000/[34678]??:HP-UX:*:*)
2391
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
2392
+ case "${UNAME_MACHINE}" in
2393
+ 9000/31? ) HP_ARCH=m68000 ;;
2394
+ 9000/[34]?? ) HP_ARCH=m68k ;;
2395
+ 9000/[678][0-9][0-9])
2396
+ if [ -x /usr/bin/getconf ]; then
2397
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
2398
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
2399
+ case "${sc_cpu_version}" in
2400
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
2401
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
2402
+ 532) # CPU_PA_RISC2_0
2403
+ case "${sc_kernel_bits}" in
2404
+ 32) HP_ARCH="hppa2.0n" ;;
2405
+ 64) HP_ARCH="hppa2.0w" ;;
2406
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
2410
+ if [ "${HP_ARCH}" = "" ]; then
2411
+ eval $set_cc_for_build
2412
+ sed 's/^ //' << EOF >$dummy.c
2414
+ #define _HPUX_SOURCE
2415
+ #include <stdlib.h>
2416
+ #include <unistd.h>
2420
+ #if defined(_SC_KERNEL_BITS)
2421
+ long bits = sysconf(_SC_KERNEL_BITS);
2423
+ long cpu = sysconf (_SC_CPU_VERSION);
2427
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
2428
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
2429
+ case CPU_PA_RISC2_0:
2430
+ #if defined(_SC_KERNEL_BITS)
2433
+ case 64: puts ("hppa2.0w"); break;
2434
+ case 32: puts ("hppa2.0n"); break;
2435
+ default: puts ("hppa2.0"); break;
2437
+ #else /* !defined(_SC_KERNEL_BITS) */
2438
+ puts ("hppa2.0"); break;
2440
+ default: puts ("hppa1.0"); break;
2445
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
2446
+ test -z "$HP_ARCH" && HP_ARCH=hppa
2449
+ if [ ${HP_ARCH} = "hppa2.0w" ]
2451
+ eval $set_cc_for_build
2453
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
2454
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
2455
+ # generating 64-bit code. GNU and HP use different nomenclature:
2457
+ # $ CC_FOR_BUILD=cc ./config.guess
2458
+ # => hppa2.0w-hp-hpux11.23
2459
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
2460
+ # => hppa64-hp-hpux11.23
2462
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
2465
+ HP_ARCH="hppa2.0w"
2470
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
2473
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
2474
+ echo ia64-hp-hpux${HPUX_REV}
2477
+ eval $set_cc_for_build
2478
+ sed 's/^ //' << EOF >$dummy.c
2479
+ #include <unistd.h>
2483
+ long cpu = sysconf (_SC_CPU_VERSION);
2484
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
2485
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
2486
+ results, however. */
2487
+ if (CPU_IS_PA_RISC (cpu))
2491
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
2492
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
2493
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
2494
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
2497
+ else if (CPU_IS_HP_MC68K (cpu))
2498
+ puts ("m68k-hitachi-hiuxwe2");
2499
+ else puts ("unknown-hitachi-hiuxwe2");
2503
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
2504
+ { echo "$SYSTEM_NAME"; exit; }
2505
+ echo unknown-hitachi-hiuxwe2
2507
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
2508
+ echo hppa1.1-hp-bsd
2510
+ 9000/8??:4.3bsd:*:*)
2511
+ echo hppa1.0-hp-bsd
2513
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
2514
+ echo hppa1.0-hp-mpeix
2516
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
2517
+ echo hppa1.1-hp-osf
2520
+ echo hppa1.0-hp-osf
2523
+ if [ -x /usr/sbin/sysversion ] ; then
2524
+ echo ${UNAME_MACHINE}-unknown-osf1mk
2526
+ echo ${UNAME_MACHINE}-unknown-osf1
2529
+ parisc*:Lites*:*:*)
2530
+ echo hppa1.1-hp-lites
2532
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
2533
+ echo c1-convex-bsd
2535
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
2536
+ if getsysinfo -f scalar_acc
2537
+ then echo c32-convex-bsd
2538
+ else echo c2-convex-bsd
2541
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
2542
+ echo c34-convex-bsd
2544
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
2545
+ echo c38-convex-bsd
2547
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
2548
+ echo c4-convex-bsd
2551
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2553
+ CRAY*[A-Z]90:*:*:*)
2554
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
2555
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
2556
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
2557
+ -e 's/\.[^.]*$/.X/'
2560
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2563
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2566
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2569
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2571
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
2572
+ FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
2573
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
2574
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
2575
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2577
+ 5000:UNIX_System_V:4.*:*)
2578
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
2579
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
2580
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2582
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
2583
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
2585
+ sparc*:BSD/OS:*:*)
2586
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
2589
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
2592
+ case ${UNAME_MACHINE} in
2594
+ echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2596
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2598
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2602
+ echo ${UNAME_MACHINE}-pc-cygwin
2605
+ echo ${UNAME_MACHINE}-pc-mingw32
2608
+ # uname -m includes "-pc" on this system.
2609
+ echo ${UNAME_MACHINE}-mingw32
2612
+ echo ${UNAME_MACHINE}-pc-pw32
2615
+ case ${UNAME_MACHINE} in
2617
+ echo i586-pc-interix${UNAME_RELEASE}
2619
+ authenticamd | genuineintel | EM64T)
2620
+ echo x86_64-unknown-interix${UNAME_RELEASE}
2623
+ echo ia64-unknown-interix${UNAME_RELEASE}
2626
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
2627
+ echo i${UNAME_MACHINE}-pc-mks
2629
+ 8664:Windows_NT:*)
2630
+ echo x86_64-pc-mks
2632
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
2633
+ # How do we know it's Interix rather than the generic POSIX subsystem?
2634
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
2635
+ # UNAME_MACHINE based on the output of uname instead of i386?
2636
+ echo i586-pc-interix
2639
+ echo ${UNAME_MACHINE}-pc-uwin
2641
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
2642
+ echo x86_64-unknown-cygwin
2645
+ echo powerpcle-unknown-cygwin
2647
+ prep*:SunOS:5.*:*)
2648
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2652
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
2655
+ # other systems with GNU libc and userland
2656
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
2659
+ echo ${UNAME_MACHINE}-pc-minix
2662
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
2663
+ EV5) UNAME_MACHINE=alphaev5 ;;
2664
+ EV56) UNAME_MACHINE=alphaev56 ;;
2665
+ PCA56) UNAME_MACHINE=alphapca56 ;;
2666
+ PCA57) UNAME_MACHINE=alphapca56 ;;
2667
+ EV6) UNAME_MACHINE=alphaev6 ;;
2668
+ EV67) UNAME_MACHINE=alphaev67 ;;
2669
+ EV68*) UNAME_MACHINE=alphaev68 ;;
2671
+ objdump --private-headers /bin/sh | grep -q ld.so.1
2672
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
2673
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
2676
+ eval $set_cc_for_build
2677
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
2678
+ | grep -q __ARM_EABI__
2680
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2682
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
2686
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2689
+ echo cris-axis-linux-gnu
2691
+ crisv32:Linux:*:*)
2692
+ echo crisv32-axis-linux-gnu
2695
+ echo frv-unknown-linux-gnu
2699
+ eval $set_cc_for_build
2700
+ sed 's/^ //' << EOF >$dummy.c
2701
+ #ifdef __dietlibc__
2705
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
2706
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
2709
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2712
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2715
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2717
+ mips:Linux:*:* | mips64:Linux:*:*)
2718
+ eval $set_cc_for_build
2719
+ sed 's/^ //' << EOF >$dummy.c
2721
+ #undef ${UNAME_MACHINE}
2722
+ #undef ${UNAME_MACHINE}el
2723
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
2724
+ CPU=${UNAME_MACHINE}el
2726
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
2727
+ CPU=${UNAME_MACHINE}
2733
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
2734
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
2737
+ echo or32-unknown-linux-gnu
2740
+ echo sparc-unknown-linux-gnu
2742
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
2743
+ echo hppa64-unknown-linux-gnu
2745
+ parisc:Linux:*:* | hppa:Linux:*:*)
2746
+ # Look for CPU level
2747
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
2748
+ PA7*) echo hppa1.1-unknown-linux-gnu ;;
2749
+ PA8*) echo hppa2.0-unknown-linux-gnu ;;
2750
+ *) echo hppa-unknown-linux-gnu ;;
2754
+ echo powerpc64-unknown-linux-gnu
2757
+ echo powerpc-unknown-linux-gnu
2759
+ s390:Linux:*:* | s390x:Linux:*:*)
2760
+ echo ${UNAME_MACHINE}-ibm-linux
2763
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2766
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2768
+ sparc:Linux:*:* | sparc64:Linux:*:*)
2769
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2772
+ echo ${UNAME_MACHINE}-dec-linux-gnu
2775
+ echo x86_64-unknown-linux-gnu
2777
+ xtensa*:Linux:*:*)
2778
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2780
+ i*86:DYNIX/ptx:4*:*)
2781
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
2782
+ # earlier versions are messed up and put the nodename in both
2783
+ # sysname and nodename.
2784
+ echo i386-sequent-sysv4
2786
+ i*86:UNIX_SV:4.2MP:2.*)
2787
+ # Unixware is an offshoot of SVR4, but it has its own version
2788
+ # number series starting with 2...
2789
+ # I am not positive that other SVR4 systems won't match this,
2790
+ # I just have to hope. -- rms.
2791
+ # Use sysv4.2uw... so that sysv4* matches it.
2792
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
2795
+ # If we were able to find `uname', then EMX Unix compatibility
2796
+ # is probably installed.
2797
+ echo ${UNAME_MACHINE}-pc-os2-emx
2799
+ i*86:XTS-300:*:STOP)
2800
+ echo ${UNAME_MACHINE}-unknown-stop
2803
+ echo ${UNAME_MACHINE}-unknown-atheos
2805
+ i*86:syllable:*:*)
2806
+ echo ${UNAME_MACHINE}-pc-syllable
2808
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
2809
+ echo i386-unknown-lynxos${UNAME_RELEASE}
2812
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
2814
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
2815
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
2816
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
2817
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
2819
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
2823
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
2824
+ case `/bin/uname -X | grep "^Machine"` in
2825
+ *486*) UNAME_MACHINE=i486 ;;
2826
+ *Pentium) UNAME_MACHINE=i586 ;;
2827
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
2829
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
2832
+ if test -f /usr/options/cb.name; then
2833
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
2834
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
2835
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
2836
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
2837
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
2838
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
2839
+ && UNAME_MACHINE=i586
2840
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
2841
+ && UNAME_MACHINE=i686
2842
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
2843
+ && UNAME_MACHINE=i686
2844
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
2846
+ echo ${UNAME_MACHINE}-pc-sysv32
2850
+ # Left here for compatibility:
2851
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
2852
+ # the processor, so we play safe by assuming i586.
2853
+ # Note: whatever this is, it MUST be the same as what config.sub
2854
+ # prints for the "djgpp" host, or else GDB configury will decide that
2855
+ # this is a cross-build.
2856
+ echo i586-pc-msdosdjgpp
2859
+ echo i386-pc-mach3
2862
+ echo i860-intel-osf1
2864
+ i860:*:4.*:*) # i860-SVR4
2865
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
2866
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
2867
+ else # Add other i860-SVR4 vendors below as they are discovered.
2868
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
2871
+ mini*:CTIX:SYS*5:*)
2873
+ echo m68010-convergent-sysv
2875
+ mc68k:UNIX:SYSTEM5:3.51m)
2876
+ echo m68k-convergent-sysv
2878
+ M680?0:D-NIX:5.3:*)
2879
+ echo m68k-diab-dnix
2881
+ M68*:*:R3V[5678]*:*)
2882
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
2883
+ 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)
2885
+ test -r /etc/.relid \
2886
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
2887
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
2888
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
2889
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
2890
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
2891
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
2892
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
2893
+ && { echo i486-ncr-sysv4; exit; } ;;
2894
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
2896
+ test -r /etc/.relid \
2897
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
2898
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
2899
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
2900
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
2901
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
2902
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
2903
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
2904
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
2905
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
2907
+ mc68030:UNIX_System_V:4.*:*)
2908
+ echo m68k-atari-sysv4
2910
+ TSUNAMI:LynxOS:2.*:*)
2911
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
2913
+ rs6000:LynxOS:2.*:*)
2914
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
2916
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
2917
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
2919
+ SM[BE]S:UNIX_SV:*:*)
2920
+ echo mips-dde-sysv${UNAME_RELEASE}
2922
+ RM*:ReliantUNIX-*:*:*)
2923
+ echo mips-sni-sysv4
2926
+ echo mips-sni-sysv4
2929
+ if uname -p 2>/dev/null >/dev/null ; then
2930
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
2931
+ echo ${UNAME_MACHINE}-sni-sysv4
2933
+ echo ns32k-sni-sysv
2936
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
2937
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
2938
+ echo i586-unisys-sysv4
2940
+ *:UNIX_System_V:4*:FTX*)
2941
+ # From Gerald Hewes <hewes@openmarket.com>.
2942
+ # How about differentiating between stratus architectures? -djm
2943
+ echo hppa1.1-stratus-sysv4
2946
+ # From seanf@swdc.stratus.com.
2947
+ echo i860-stratus-sysv4
2950
+ # From Paul.Green@stratus.com.
2951
+ echo ${UNAME_MACHINE}-stratus-vos
2954
+ # From Paul.Green@stratus.com.
2955
+ echo hppa1.1-stratus-vos
2958
+ echo m68k-apple-aux${UNAME_RELEASE}
2960
+ news*:NEWS-OS:6*:*)
2961
+ echo mips-sony-newsos6
2963
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
2964
+ if [ -d /usr/nec ]; then
2965
+ echo mips-nec-sysv${UNAME_RELEASE}
2967
+ echo mips-unknown-sysv${UNAME_RELEASE}
2970
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
2971
+ echo powerpc-be-beos
2973
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
2974
+ echo powerpc-apple-beos
2976
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
2979
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
2980
+ echo i586-pc-haiku
2982
+ SX-4:SUPER-UX:*:*)
2983
+ echo sx4-nec-superux${UNAME_RELEASE}
2985
+ SX-5:SUPER-UX:*:*)
2986
+ echo sx5-nec-superux${UNAME_RELEASE}
2988
+ SX-6:SUPER-UX:*:*)
2989
+ echo sx6-nec-superux${UNAME_RELEASE}
2991
+ SX-7:SUPER-UX:*:*)
2992
+ echo sx7-nec-superux${UNAME_RELEASE}
2994
+ SX-8:SUPER-UX:*:*)
2995
+ echo sx8-nec-superux${UNAME_RELEASE}
2997
+ SX-8R:SUPER-UX:*:*)
2998
+ echo sx8r-nec-superux${UNAME_RELEASE}
3000
+ Power*:Rhapsody:*:*)
3001
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
3004
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
3007
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
3008
+ case $UNAME_PROCESSOR in
3010
+ eval $set_cc_for_build
3011
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
3012
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
3013
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
3014
+ grep IS_64BIT_ARCH >/dev/null
3016
+ UNAME_PROCESSOR="x86_64"
3019
+ unknown) UNAME_PROCESSOR=powerpc ;;
3021
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
3023
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
3024
+ UNAME_PROCESSOR=`uname -p`
3025
+ if test "$UNAME_PROCESSOR" = "x86"; then
3026
+ UNAME_PROCESSOR=i386
3029
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
3034
+ NSE-?:NONSTOP_KERNEL:*:*)
3035
+ echo nse-tandem-nsk${UNAME_RELEASE}
3037
+ NSR-?:NONSTOP_KERNEL:*:*)
3038
+ echo nsr-tandem-nsk${UNAME_RELEASE}
3041
+ echo mips-compaq-nonstopux
3043
+ BS2000:POSIX*:*:*)
3044
+ echo bs2000-siemens-sysv
3046
+ DS/*:UNIX_System_V:*:*)
3047
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
3050
+ # "uname -m" is not consistent, so use $cputype instead. 386
3051
+ # is converted to i386 for consistency with other x86
3052
+ # operating systems.
3053
+ if test "$cputype" = "386"; then
3054
+ UNAME_MACHINE=i386
3056
+ UNAME_MACHINE="$cputype"
3058
+ echo ${UNAME_MACHINE}-unknown-plan9
3061
+ echo pdp10-unknown-tops10
3064
+ echo pdp10-unknown-tenex
3066
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
3067
+ echo pdp10-dec-tops20
3069
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
3070
+ echo pdp10-xkl-tops20
3073
+ echo pdp10-unknown-tops20
3076
+ echo pdp10-unknown-its
3079
+ echo mips-sei-seiux${UNAME_RELEASE}
3082
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
3085
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
3086
+ case "${UNAME_MACHINE}" in
3087
+ A*) echo alpha-dec-vms ; exit ;;
3088
+ I*) echo ia64-dec-vms ; exit ;;
3089
+ V*) echo vax-dec-vms ; exit ;;
3092
+ echo i386-pc-xenix
3095
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
3098
+ echo ${UNAME_MACHINE}-pc-rdos
3101
+ echo ${UNAME_MACHINE}-pc-aros
3105
+#echo '(No uname command or uname output not recognized.)' 1>&2
3106
+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
3108
+eval $set_cc_for_build
3109
+cat >$dummy.c <<EOF
3111
+# include <sys/types.h>
3112
+# include <sys/utsname.h>
3117
+#if defined (MIPSEB)
3118
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
3119
+ I don't know.... */
3120
+ printf ("mips-sony-bsd\n"); exit (0);
3122
+#include <sys/param.h>
3123
+ printf ("m68k-sony-newsos%s\n",
3133
+#if defined (__arm) && defined (__acorn) && defined (__unix)
3134
+ printf ("arm-acorn-riscix\n"); exit (0);
3137
+#if defined (hp300) && !defined (hpux)
3138
+ printf ("m68k-hp-bsd\n"); exit (0);
3142
+#if !defined (__ARCHITECTURE__)
3143
+#define __ARCHITECTURE__ "m68k"
3146
+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
3148
+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
3150
+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
3154
+#if defined (MULTIMAX) || defined (n16)
3155
+#if defined (UMAXV)
3156
+ printf ("ns32k-encore-sysv\n"); exit (0);
3159
+ printf ("ns32k-encore-mach\n"); exit (0);
3161
+ printf ("ns32k-encore-bsd\n"); exit (0);
3166
+#if defined (__386BSD__)
3167
+ printf ("i386-pc-bsd\n"); exit (0);
3170
+#if defined (sequent)
3172
+ printf ("i386-sequent-dynix\n"); exit (0);
3174
+#if defined (ns32000)
3175
+ printf ("ns32k-sequent-dynix\n"); exit (0);
3179
+#if defined (_SEQUENT_)
3180
+ struct utsname un;
3184
+ if (strncmp(un.version, "V2", 2) == 0) {
3185
+ printf ("i386-sequent-ptx2\n"); exit (0);
3187
+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
3188
+ printf ("i386-sequent-ptx1\n"); exit (0);
3190
+ printf ("i386-sequent-ptx\n"); exit (0);
3195
+# if !defined (ultrix)
3196
+# include <sys/param.h>
3199
+ printf ("vax-dec-bsd4.3\n"); exit (0);
3202
+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
3204
+ printf ("vax-dec-bsd\n"); exit (0);
3208
+ printf ("vax-dec-bsd\n"); exit (0);
3211
+ printf ("vax-dec-ultrix\n"); exit (0);
3215
+#if defined (alliant) && defined (i860)
3216
+ printf ("i860-alliant-bsd\n"); exit (0);
3223
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
3224
+ { echo "$SYSTEM_NAME"; exit; }
3226
+# Apollos put the system type in the environment.
3228
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
3230
+# Convex versions that predate uname can use getsysinfo(1)
3232
+if [ -x /usr/convex/getsysinfo ]
3234
+ case `getsysinfo -f cpu_type` in
3236
+ echo c1-convex-bsd
3239
+ if getsysinfo -f scalar_acc
3240
+ then echo c32-convex-bsd
3241
+ else echo c2-convex-bsd
3245
+ echo c34-convex-bsd
3248
+ echo c38-convex-bsd
3251
+ echo c4-convex-bsd
3257
+$0: unable to guess system type
3259
+This script, last modified $timestamp, has failed to recognize
3260
+the operating system you are using. It is advised that you
3261
+download the most up to date version of the config scripts from
3263
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
3265
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
3267
+If the version you run ($0) is already up to date, please
3268
+send the following data and any information you think might be
3269
+pertinent to <config-patches@gnu.org> in order to provide the needed
3270
+information to handle your system.
3272
+config.guess timestamp = $timestamp
3274
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
3275
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
3276
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
3277
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
3279
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
3280
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
3282
+hostinfo = `(hostinfo) 2>/dev/null`
3283
+/bin/universe = `(/bin/universe) 2>/dev/null`
3284
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
3285
+/bin/arch = `(/bin/arch) 2>/dev/null`
3286
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
3287
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
3289
+UNAME_MACHINE = ${UNAME_MACHINE}
3290
+UNAME_RELEASE = ${UNAME_RELEASE}
3291
+UNAME_SYSTEM = ${UNAME_SYSTEM}
3292
+UNAME_VERSION = ${UNAME_VERSION}
3298
+# eval: (add-hook 'write-file-hooks 'time-stamp)
3299
+# time-stamp-start: "timestamp='"
3300
+# time-stamp-format: "%:y-%02m-%02d"
3301
+# time-stamp-end: "'"
3304
+++ dossizola-1.0/manpage.refs
3309
--- dossizola-1.0.orig/configure.in
3310
+++ dossizola-1.0/configure.in
3311
@@ -4,16 +4,30 @@ AC_INIT(Makefile.am)
3312
AM_CONFIG_HEADER(config.h)
3314
AM_INIT_AUTOMAKE(dossizola,1.0)
3316
+# this one may be too high, but well...
3319
dnl Checks for programs.
3322
dnl Checks for libraries.
3326
+AM_PATH_SDL($SDL_VERSION,
3328
+ AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
3330
+CFLAGS="$CFLAGS $SDL_CFLAGS"
3331
+LIBS="$LIBS $SDL_LIBS"
3333
dnl Checks for header files.
3335
dnl Checks for typedefs, structures, and compiler characteristics.
3337
dnl Checks for library functions.
3339
-AC_OUTPUT(Makefile dossizola/Makefile dossizola/docs/Makefile dossizola/docs/en/Makefile dossizola/images/Makefile )
3340
+AC_DEFINE_UNQUOTED(DATADIR, "$datadir")
3342
+AC_OUTPUT(Makefile dossizola/Makefile dossizola/images/Makefile )
3343
--- dossizola-1.0.orig/Makefile.in
3344
+++ dossizola-1.0/Makefile.in
3346
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
3347
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
3349
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
3350
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
3351
# This Makefile.in is free software; the Free Software Foundation
3352
# gives unlimited permission to copy and/or distribute it,
3353
# with or without modifications, as long as this notice is preserved.
3354
@@ -59,10 +59,19 @@ POST_INSTALL = :
3355
NORMAL_UNINSTALL = :
3358
+host_alias = @host_alias@
3359
+host_triplet = @host@
3361
+HAVE_LIB = @HAVE_LIB@
3365
MAKEINFO = @MAKEINFO@
3368
+SDL_CFLAGS = @SDL_CFLAGS@
3369
+SDL_CONFIG = @SDL_CONFIG@
3370
+SDL_LIBS = @SDL_LIBS@
3374
@@ -76,29 +85,30 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/m
3375
CONFIG_HEADER = config.h
3376
CONFIG_CLEAN_FILES =
3377
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
3378
-Makefile.am Makefile.in TODO acconfig.h aclocal.m4 config.h.in \
3379
-configure configure.in install-sh missing mkinstalldirs
3380
+Makefile.am Makefile.in TODO acconfig.h acinclude.m4 aclocal.m4 \
3381
+config.guess config.h.in config.sub configure configure.in install-sh \
3382
+missing mkinstalldirs
3385
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
3392
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
3393
- cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
3394
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
3395
+ cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
3397
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
3398
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
3399
cd $(top_builddir) \
3400
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
3402
-$(ACLOCAL_M4): configure.in
3403
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
3404
cd $(srcdir) && $(ACLOCAL)
3406
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
3407
$(SHELL) ./config.status --recheck
3408
-$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
3409
+$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
3410
cd $(srcdir) && $(AUTOCONF)
3413
@@ -111,7 +121,7 @@ stamp-h: $(srcdir)/config.h.in $(top_bui
3414
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
3415
$(SHELL) ./config.status
3416
@echo timestamp > stamp-h 2> /dev/null
3417
-$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
3418
+$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
3419
@if test ! -f $@; then \
3420
rm -f $(srcdir)/stamp-h.in; \
3421
$(MAKE) $(srcdir)/stamp-h.in; \
3422
@@ -165,7 +175,7 @@ maintainer-clean-recursive:
3424
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
3425
rev="$$subdir $$rev"; \
3426
- test "$$subdir" = "." && dot_seen=yes; \
3427
+ test "$$subdir" != "." || dot_seen=yes; \
3429
test "$$dot_seen" = "no" && rev=". $$rev"; \
3430
target=`echo $@ | sed s/-recursive//`; \
3431
@@ -207,7 +217,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
3432
awk ' { files[$$0] = 1; } \
3433
END { for (i in files) print i; }'`; \
3434
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
3435
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
3436
+ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
3440
@@ -256,10 +266,15 @@ distdir: $(DISTFILES)
3443
-chmod 777 $(distdir)
3444
+ here=`cd $(top_builddir) && pwd`; \
3445
+ top_distdir=`cd $(distdir) && pwd`; \
3446
+ distdir=`cd $(distdir) && pwd`; \
3447
+ cd $(top_srcdir) \
3448
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
3449
@for file in $(DISTFILES); do \
3451
if test -d $$d/$$file; then \
3452
- cp -pr $$/$$file $(distdir)/$$file; \
3453
+ cp -pr $$d/$$file $(distdir)/$$file; \
3455
test -f $(distdir)/$$file \
3456
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
3458
+++ dossizola-1.0/config.h
3460
+/* config.h. Generated automatically by configure. */
3461
+/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
3463
+/* Define if you need the GNU extensions to compile */
3464
+/* #undef _GNU_SOURCE */
3465
+#define DATADIR "/usr/share/games"
3467
+/* Name of package */
3468
+#define PACKAGE "dossizola"
3470
+/* Version number of package */
3471
+#define VERSION "1.0"
3474
+++ dossizola-1.0/config.sub
3477
+# Configuration validation subroutine script.
3478
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3479
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
3480
+# Free Software Foundation, Inc.
3482
+timestamp='2010-01-22'
3484
+# This file is (in principle) common to ALL GNU software.
3485
+# The presence of a machine in this file suggests that SOME GNU software
3486
+# can handle that machine. It does not imply ALL GNU software can.
3488
+# This file is free software; you can redistribute it and/or modify
3489
+# it under the terms of the GNU General Public License as published by
3490
+# the Free Software Foundation; either version 2 of the License, or
3491
+# (at your option) any later version.
3493
+# This program is distributed in the hope that it will be useful,
3494
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
3495
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3496
+# GNU General Public License for more details.
3498
+# You should have received a copy of the GNU General Public License
3499
+# along with this program; if not, write to the Free Software
3500
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
3503
+# As a special exception to the GNU General Public License, if you
3504
+# distribute this file as part of a program that contains a
3505
+# configuration script generated by Autoconf, you may include it under
3506
+# the same distribution terms that you use for the rest of that program.
3509
+# Please send patches to <config-patches@gnu.org>. Submit a context
3510
+# diff and a properly formatted GNU ChangeLog entry.
3512
+# Configuration subroutine to validate and canonicalize a configuration type.
3513
+# Supply the specified configuration type as an argument.
3514
+# If it is invalid, we print an error message on stderr and exit with code 1.
3515
+# Otherwise, we print the canonical config type on stdout and succeed.
3517
+# You can get the latest version of this script from:
3518
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
3520
+# This file is supposed to be the same for all GNU packages
3521
+# and recognize all the CPU types, system types and aliases
3522
+# that are meaningful with *any* GNU software.
3523
+# Each package is responsible for reporting which valid configurations
3524
+# it does not support. The user should be able to distinguish
3525
+# a failure to support a valid configuration from a meaningless
3528
+# The goal of this file is to map all the various variations of a given
3529
+# machine specification into a single specification in the form:
3530
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
3531
+# or in some cases, the newer four-part form:
3532
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
3533
+# It is wrong to echo any other type of specification.
3535
+me=`echo "$0" | sed -e 's,.*/,,'`
3538
+Usage: $0 [OPTION] CPU-MFR-OPSYS
3541
+Canonicalize a configuration name.
3544
+ -h, --help print this help, then exit
3545
+ -t, --time-stamp print date of last modification, then exit
3546
+ -v, --version print version number, then exit
3548
+Report bugs and patches to <config-patches@gnu.org>."
3551
+GNU config.sub ($timestamp)
3553
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3554
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
3555
+Software Foundation, Inc.
3557
+This is free software; see the source for copying conditions. There is NO
3558
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
3561
+Try \`$me --help' for more information."
3563
+# Parse command line
3564
+while test $# -gt 0 ; do
3566
+ --time-stamp | --time* | -t )
3567
+ echo "$timestamp" ; exit ;;
3569
+ echo "$version" ; exit ;;
3570
+ --help | --h* | -h )
3571
+ echo "$usage"; exit ;;
3572
+ -- ) # Stop option processing
3574
+ - ) # Use stdin as input.
3577
+ echo "$me: invalid option $1$help"
3581
+ # First pass through any local machine types.
3591
+ 0) echo "$me: missing argument$help" >&2
3594
+ *) echo "$me: too many arguments$help" >&2
3598
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
3599
+# Here we must recognize all the valid KERNEL-OS combinations.
3600
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
3602
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
3603
+ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
3604
+ kopensolaris*-gnu* | \
3605
+ storm-chaos* | os2-emx* | rtmk-nova*)
3607
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
3610
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
3611
+ if [ $basic_machine != $1 ]
3612
+ then os=`echo $1 | sed 's/.*-/-/'`
3617
+### Let's recognize common machines as not being operating systems so
3618
+### that things like config.sub decstation-3100 work. We also
3619
+### recognize some manufacturers as not being operating systems, so we
3620
+### can provide default operating systems below.
3623
+ # Prevent following clause from handling this invalid input.
3625
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
3626
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
3627
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
3628
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
3629
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
3630
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
3631
+ -apple | -axis | -knuth | -cray | -microblaze)
3638
+ -sim | -cisco | -oki | -wec | -winbond)
3661
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3665
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3669
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3672
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
3673
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3676
+ # Don't forget version if it is 3.2v4 or newer.
3677
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3680
+ # Don't forget version if it is 3.2v4 or newer.
3681
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3685
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3688
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3692
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3695
+ basic_machine=clipper-intergraph
3698
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3704
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
3707
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
3712
+ -mint | -mint[0-9]*)
3713
+ basic_machine=m68k-atari
3718
+# Decode aliases for certain CPU-COMPANY combinations.
3719
+case $basic_machine in
3720
+ # Recognize the basic CPU types without company name.
3721
+ # Some are omitted here because they have special meanings below.
3724
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
3725
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
3727
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
3730
+ | d10v | d30v | dlx | dsp16xx \
3731
+ | fido | fr30 | frv \
3732
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
3733
+ | i370 | i860 | i960 | ia64 \
3736
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
3737
+ | maxq | mb | microblaze | mcore | mep | metag \
3738
+ | mips | mipsbe | mipseb | mipsel | mipsle \
3740
+ | mips64 | mips64el \
3741
+ | mips64octeon | mips64octeonel \
3742
+ | mips64orion | mips64orionel \
3743
+ | mips64r5900 | mips64r5900el \
3744
+ | mips64vr | mips64vrel \
3745
+ | mips64vr4100 | mips64vr4100el \
3746
+ | mips64vr4300 | mips64vr4300el \
3747
+ | mips64vr5000 | mips64vr5000el \
3748
+ | mips64vr5900 | mips64vr5900el \
3749
+ | mipsisa32 | mipsisa32el \
3750
+ | mipsisa32r2 | mipsisa32r2el \
3751
+ | mipsisa64 | mipsisa64el \
3752
+ | mipsisa64r2 | mipsisa64r2el \
3753
+ | mipsisa64sb1 | mipsisa64sb1el \
3754
+ | mipsisa64sr71k | mipsisa64sr71kel \
3755
+ | mipstx39 | mipstx39el \
3756
+ | mn10200 | mn10300 \
3763
+ | pdp10 | pdp11 | pj | pjl \
3764
+ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
3768
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
3770
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
3771
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
3772
+ | spu | strongarm \
3773
+ | tahoe | thumb | tic4x | tic80 | tron \
3777
+ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
3779
+ basic_machine=$basic_machine-unknown
3781
+ m6811 | m68hc11 | m6812 | m68hc12 | picochip)
3782
+ # Motorola 68HC11/12.
3783
+ basic_machine=$basic_machine-unknown
3786
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
3789
+ basic_machine=mt-unknown
3792
+ # We use `pc' rather than `unknown'
3793
+ # because (1) that's what they normally are, and
3794
+ # (2) the word "unknown" tends to confuse beginning users.
3796
+ basic_machine=$basic_machine-pc
3798
+ # Object if more than one company name word.
3800
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
3803
+ # Recognize the basic CPU types with company name.
3806
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
3807
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
3808
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
3809
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
3810
+ | avr-* | avr32-* \
3811
+ | bfin-* | bs2000-* \
3812
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
3813
+ | clipper-* | craynv-* | cydra-* \
3814
+ | d10v-* | d30v-* | dlx-* \
3816
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
3817
+ | h8300-* | h8500-* \
3818
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
3819
+ | i*86-* | i860-* | i960-* | ia64-* \
3820
+ | ip2k-* | iq2000-* \
3822
+ | m32c-* | m32r-* | m32rle-* \
3823
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
3824
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
3825
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
3827
+ | mips64-* | mips64el-* \
3828
+ | mips64octeon-* | mips64octeonel-* \
3829
+ | mips64orion-* | mips64orionel-* \
3830
+ | mips64r5900-* | mips64r5900el-* \
3831
+ | mips64vr-* | mips64vrel-* \
3832
+ | mips64vr4100-* | mips64vr4100el-* \
3833
+ | mips64vr4300-* | mips64vr4300el-* \
3834
+ | mips64vr5000-* | mips64vr5000el-* \
3835
+ | mips64vr5900-* | mips64vr5900el-* \
3836
+ | mipsisa32-* | mipsisa32el-* \
3837
+ | mipsisa32r2-* | mipsisa32r2el-* \
3838
+ | mipsisa64-* | mipsisa64el-* \
3839
+ | mipsisa64r2-* | mipsisa64r2el-* \
3840
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
3841
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
3842
+ | mipstx39-* | mipstx39el-* \
3846
+ | nios-* | nios2-* \
3847
+ | none-* | np1-* | ns16k-* | ns32k-* \
3849
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
3850
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
3852
+ | romp-* | rs6000-* | rx-* \
3853
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
3854
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
3855
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
3857
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
3858
+ | tahoe-* | thumb-* \
3859
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
3860
+ | tile-* | tilegx-* \
3863
+ | v850-* | v850e-* | vax-* \
3865
+ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
3866
+ | xstormy16-* | xtensa*-* \
3870
+ # Recognize the basic CPU types without company name, with glob match.
3872
+ basic_machine=$basic_machine-unknown
3874
+ # Recognize the various machine names and aliases which stand
3875
+ # for a CPU type and a company and sometimes even an OS.
3877
+ basic_machine=i386-unknown
3880
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
3881
+ basic_machine=m68000-att
3884
+ basic_machine=we32k-att
3887
+ basic_machine=a29k-amd
3891
+ basic_machine=abacus-unknown
3894
+ basic_machine=m68010-adobe
3898
+ basic_machine=fx80-alliant
3900
+ altos | altos3068)
3901
+ basic_machine=m68k-altos
3904
+ basic_machine=a29k-none
3908
+ basic_machine=x86_64-pc
3911
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
3914
+ basic_machine=580-amdahl
3918
+ basic_machine=m68k-unknown
3920
+ amigaos | amigados)
3921
+ basic_machine=m68k-unknown
3925
+ basic_machine=m68k-unknown
3929
+ basic_machine=m68k-apollo
3933
+ basic_machine=m68k-apollo
3937
+ basic_machine=i386-pc
3941
+ basic_machine=m68k-apple
3945
+ basic_machine=ns32k-sequent
3949
+ basic_machine=bfin-unknown
3953
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
3957
+ basic_machine=powerpc-ibm
3961
+ basic_machine=c90-cray
3965
+ basic_machine=arm-unknown
3969
+ basic_machine=c1-convex
3973
+ basic_machine=c2-convex
3977
+ basic_machine=c32-convex
3981
+ basic_machine=c34-convex
3985
+ basic_machine=c38-convex
3989
+ basic_machine=j90-cray
3993
+ basic_machine=craynv-cray
3997
+ basic_machine=cr16-unknown
4001
+ basic_machine=m68k-crds
4003
+ crisv32 | crisv32-* | etraxfs*)
4004
+ basic_machine=crisv32-axis
4006
+ cris | cris-* | etrax*)
4007
+ basic_machine=cris-axis
4010
+ basic_machine=crx-unknown
4014
+ basic_machine=m68k-da30
4016
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
4017
+ basic_machine=mips-dec
4019
+ decsystem10* | dec10*)
4020
+ basic_machine=pdp10-dec
4023
+ decsystem20* | dec20*)
4024
+ basic_machine=pdp10-dec
4027
+ delta | 3300 | motorola-3300 | motorola-delta \
4028
+ | 3300-motorola | delta-motorola)
4029
+ basic_machine=m68k-motorola
4032
+ basic_machine=m88k-motorola
4036
+ basic_machine=i686-pc
4040
+ basic_machine=i586-pc
4044
+ basic_machine=rs6000-bull
4047
+ dpx2* | dpx2*-bull)
4048
+ basic_machine=m68k-bull
4052
+ basic_machine=a29k-amd
4056
+ basic_machine=elxsi-elxsi
4059
+ encore | umax | mmax)
4060
+ basic_machine=ns32k-encore
4062
+ es1800 | OSE68k | ose68k | ose | OSE)
4063
+ basic_machine=m68k-ericsson
4067
+ basic_machine=i860-alliant
4070
+ basic_machine=ns32k-ns
4073
+ basic_machine=tron-gmicro
4077
+ basic_machine=i386-pc
4081
+ basic_machine=hppa1.1-hitachi
4085
+ basic_machine=h8300-hitachi
4089
+ basic_machine=h8300-hitachi
4093
+ basic_machine=h8500-hitachi
4097
+ basic_machine=m88k-harris
4101
+ basic_machine=m68k-hp
4104
+ basic_machine=m68k-hp
4108
+ basic_machine=m68k-hp
4111
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
4112
+ basic_machine=hppa1.0-hp
4114
+ hp9k2[0-9][0-9] | hp9k31[0-9])
4115
+ basic_machine=m68000-hp
4118
+ basic_machine=m68k-hp
4120
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
4121
+ basic_machine=hppa1.0-hp
4123
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
4124
+ basic_machine=hppa1.1-hp
4126
+ hp9k78[0-9] | hp78[0-9])
4127
+ # FIXME: really hppa2.0-hp
4128
+ basic_machine=hppa1.1-hp
4130
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
4131
+ # FIXME: really hppa2.0-hp
4132
+ basic_machine=hppa1.1-hp
4134
+ hp9k8[0-9][13679] | hp8[0-9][13679])
4135
+ basic_machine=hppa1.1-hp
4137
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
4138
+ basic_machine=hppa1.0-hp
4144
+ basic_machine=hppa1.1-hp
4148
+ basic_machine=hppa1.1-hp
4152
+ basic_machine=i370-ibm
4154
+# I'm not sure what "Sysv32" means. Should this be sysv3.2?
4156
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4160
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4164
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4168
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
4172
+ basic_machine=i386-mach
4176
+ basic_machine=i386-unknown
4180
+ basic_machine=mips-sgi
4190
+ basic_machine=m68k-isi
4194
+ basic_machine=m68k-unknown
4198
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
4202
+ basic_machine=m88k-omron
4205
+ basic_machine=mips-mips
4209
+ basic_machine=ns32k-utek
4213
+ basic_machine=microblaze-xilinx
4216
+ basic_machine=i386-pc
4220
+ basic_machine=arm-unknown
4224
+ basic_machine=m68000-convergent
4226
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
4227
+ basic_machine=m68k-atari
4231
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
4234
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
4237
+ basic_machine=m68k-rom68k
4241
+ basic_machine=powerpc-unknown
4245
+ basic_machine=i386-pc
4249
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
4252
+ basic_machine=i370-ibm
4256
+ basic_machine=i486-ncr
4260
+ basic_machine=i386-unknown
4264
+ basic_machine=armv4l-rebel
4267
+ news | news700 | news800 | news900)
4268
+ basic_machine=m68k-sony
4272
+ basic_machine=m68030-sony
4275
+ news-3600 | risc-news)
4276
+ basic_machine=mips-sony
4280
+ basic_machine=v70-nec
4284
+ basic_machine=m68k-next
4297
+ basic_machine=m68k-harris
4301
+ basic_machine=m88k-harris
4305
+ basic_machine=i960-intel
4309
+ basic_machine=i960-intel
4313
+ basic_machine=mips-compaq
4317
+ basic_machine=np1-gould
4320
+ basic_machine=nsr-tandem
4322
+ op50n-* | op60c-*)
4323
+ basic_machine=hppa1.1-oki
4326
+ openrisc | openrisc-*)
4327
+ basic_machine=or32-unknown
4330
+ basic_machine=powerpc-ibm
4333
+ OSE68000 | ose68000)
4334
+ basic_machine=m68000-ericsson
4338
+ basic_machine=m68k-none
4342
+ basic_machine=hppa1.1-hitachi
4346
+ basic_machine=i860-intel
4350
+ basic_machine=hppa-unknown
4354
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
4358
+ basic_machine=sparc-tti
4361
+ basic_machine=m68k-tti
4364
+ basic_machine=ns32k-pc532
4367
+ basic_machine=i386-pc
4370
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
4372
+ pentium | p5 | k5 | k6 | nexgen | viac3)
4373
+ basic_machine=i586-pc
4375
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
4376
+ basic_machine=i686-pc
4378
+ pentiumii | pentium2 | pentiumiii | pentium3)
4379
+ basic_machine=i686-pc
4382
+ basic_machine=i786-pc
4384
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
4385
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
4387
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
4388
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
4390
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
4391
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
4394
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
4397
+ basic_machine=pn-gould
4399
+ power) basic_machine=power-ibm
4401
+ ppc) basic_machine=powerpc-unknown
4403
+ ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
4405
+ ppcle | powerpclittle | ppc-le | powerpc-little)
4406
+ basic_machine=powerpcle-unknown
4408
+ ppcle-* | powerpclittle-*)
4409
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
4411
+ ppc64) basic_machine=powerpc64-unknown
4413
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
4415
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
4416
+ basic_machine=powerpc64le-unknown
4418
+ ppc64le-* | powerpc64little-*)
4419
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
4422
+ basic_machine=i386-ibm
4425
+ basic_machine=i586-unknown
4429
+ basic_machine=i386-pc
4433
+ basic_machine=m68k-rom68k
4437
+ basic_machine=mips-siemens
4440
+ basic_machine=romp-ibm
4443
+ basic_machine=s390-ibm
4446
+ basic_machine=s390x-ibm
4449
+ basic_machine=a29k-amd
4453
+ basic_machine=mipsisa64sb1-unknown
4456
+ basic_machine=mipsisa64sb1el-unknown
4459
+ basic_machine=mipsisa32-sde
4463
+ basic_machine=mips-sei
4467
+ basic_machine=i386-sequent
4470
+ basic_machine=sh-hitachi
4474
+ basic_machine=sh5le-unknown
4477
+ basic_machine=sh64-unknown
4479
+ sparclite-wrs | simso-wrs)
4480
+ basic_machine=sparclite-wrs
4484
+ basic_machine=m68k-bull
4488
+ basic_machine=spur-unknown
4491
+ basic_machine=m68k-tandem
4494
+ basic_machine=i860-stratus
4498
+ basic_machine=m68000-sun
4501
+ basic_machine=m68000-sun
4505
+ basic_machine=m68000-sun
4509
+ basic_machine=m68k-sun
4513
+ basic_machine=m68k-sun
4517
+ basic_machine=sparc-sun
4521
+ basic_machine=sparc-sun
4525
+ basic_machine=sparc-sun
4529
+ basic_machine=m68k-sun
4532
+ basic_machine=sparc-sun
4534
+ sun386 | sun386i | roadrunner)
4535
+ basic_machine=i386-sun
4538
+ basic_machine=sv1-cray
4542
+ basic_machine=i386-sequent
4546
+ basic_machine=alphaev5-cray
4550
+ basic_machine=t90-cray
4554
+ basic_machine=tic54x-unknown
4558
+ basic_machine=tic55x-unknown
4562
+ basic_machine=tic6x-unknown
4565
+ # This must be matched before tile*.
4567
+ basic_machine=tilegx-unknown
4571
+ basic_machine=tile-unknown
4575
+ basic_machine=mipstx39-unknown
4578
+ basic_machine=mipstx39el-unknown
4581
+ basic_machine=pdp10-xkl
4585
+ basic_machine=m68k-ncr
4588
+ basic_machine=s390x-ibm
4592
+ basic_machine=a29k-amd
4596
+ basic_machine=a29k-nyu
4600
+ basic_machine=v810-nec
4604
+ basic_machine=vax-dec
4608
+ basic_machine=vax-dec
4612
+ basic_machine=f301-fujitsu
4615
+ basic_machine=i960-wrs
4619
+ basic_machine=m68k-wrs
4623
+ basic_machine=a29k-wrs
4627
+ basic_machine=w65-wdc
4631
+ basic_machine=hppa1.1-winbond
4635
+ basic_machine=i686-pc
4639
+ basic_machine=xps100-honeywell
4642
+ basic_machine=ymp-cray
4646
+ basic_machine=z8k-unknown
4650
+ basic_machine=z80-unknown
4654
+ basic_machine=none-none
4658
+# Here we handle the default manufacturer of certain CPU types. It is in
4659
+# some cases the only manufacturer, in others, it is the most popular.
4661
+ basic_machine=hppa1.1-winbond
4664
+ basic_machine=hppa1.1-oki
4667
+ basic_machine=hppa1.1-oki
4670
+ basic_machine=romp-ibm
4673
+ basic_machine=mmix-knuth
4676
+ basic_machine=rs6000-ibm
4679
+ basic_machine=vax-dec
4682
+ # there are many clones, so DEC is not a safe bet
4683
+ basic_machine=pdp10-unknown
4686
+ basic_machine=pdp11-dec
4689
+ basic_machine=we32k-att
4691
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
4692
+ basic_machine=sh-unknown
4694
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
4695
+ basic_machine=sparc-sun
4698
+ basic_machine=cydra-cydrome
4701
+ basic_machine=orion-highlevel
4704
+ basic_machine=clipper-highlevel
4706
+ mac | mpw | mac-mpw)
4707
+ basic_machine=m68k-apple
4710
+ basic_machine=powerpc-apple
4713
+ # Make sure to match an already-canonicalized machine name.
4716
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
4721
+# Here we canonicalize certain aliases for manufacturers.
4722
+case $basic_machine in
4724
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
4727
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
4733
+# Decode manufacturer-specific aliases for certain operating systems.
4735
+if [ x"$os" != x"" ]
4738
+ # First match some system type aliases
4739
+ # that might get confused with valid system types.
4740
+ # -solaris* is a basic system type, with this one exception.
4744
+ -solaris1 | -solaris1.*)
4745
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
4757
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
4759
+ # First accept the basic system types.
4760
+ # The portable systems comes first.
4761
+ # Each alternative MUST END IN A *, to match a version number.
4762
+ # -sysv* is not here because it comes later, after sysvr4.
4763
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
4764
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
4765
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
4766
+ | -sym* | -kopensolaris* \
4767
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
4768
+ | -aos* | -aros* \
4769
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
4770
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
4771
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
4772
+ | -openbsd* | -solidbsd* \
4773
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
4774
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
4775
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
4776
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
4777
+ | -chorusos* | -chorusrdb* | -cegcc* \
4778
+ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
4779
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
4780
+ | -uxpv* | -beos* | -mpeix* | -udk* \
4781
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
4782
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
4783
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
4784
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
4785
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
4786
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
4787
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
4788
+ # Remember, each alternative MUST END IN *, to match a version number.
4791
+ case $basic_machine in
4802
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
4804
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
4805
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
4806
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
4809
+ os=`echo $os | sed -e 's|mac|macos|'`
4812
+ os=-linux-dietlibc
4815
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
4818
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
4821
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
4868
+ # Preserve the version number of sinix5.
4870
+ os=`echo $os | sed -e 's|sinix|sysv|'`
4893
+ # This must come after -sysvr4.
4905
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
4925
+ # Get rid of the `-' at the beginning of $os.
4926
+ os=`echo $os | sed 's/[^-]*-//'`
4927
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
4933
+# Here we handle the default operating systems that come with various machines.
4934
+# The value should be what the vendor currently ships out the door with their
4935
+# machine or put another way, the most popular os provided with the machine.
4937
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
4938
+# "-sun"), then you have to tell the case statement up towards the top
4939
+# that MANUFACTURER isn't an operating system. Otherwise, code above
4940
+# will signal an error saying that MANUFACTURER isn't an operating
4941
+# system, and we'll never get to this point.
4943
+case $basic_machine in
4962
+ # This must come before the *-dec entry.
4980
+ # This also exists in the configure program, but was not the
4999
+ *-tti) # must be before sparc entry or we get the wrong os.
5032
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
5086
+ f30[01]-fujitsu | f700-fujitsu)
5107
+# Here we handle the case where we know the os, and the CPU type, but not the
5108
+# manufacturer. We pick the logical manufacturer.
5110
+case $basic_machine in
5158
+ -vxsim* | -vxworks* | -windiss*)
5170
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
5177
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
5181
+echo $basic_machine$os
5185
+# eval: (add-hook 'write-file-hooks 'time-stamp)
5186
+# time-stamp-start: "timestamp='"
5187
+# time-stamp-format: "%:y-%02m-%02d"
5188
+# time-stamp-end: "'"
5190
--- dossizola-1.0.orig/acconfig.h
5191
+++ dossizola-1.0/acconfig.h
5194
/* Define if you need the GNU extensions to compile */
5197
--- dossizola-1.0.orig/dossizola/menu.c
5198
+++ dossizola-1.0/dossizola/menu.c
5199
@@ -57,7 +57,7 @@ void Afficher_IA (int nivo, SDL_Rect src
5200
SDL_BlitSurface (imgMenu, &dest[i], back, &dest[i]);
5202
// L'image n'est pas transparente si c'est celle du niveau s�l�ctionn� (0) sinon elle l'est (150)
5203
- SDL_SetAlpha (imgNivo, SDL_SRCALPHA, (nivo == i+1) ? 0 : 150);
5204
+ SDL_SetAlpha (imgNivo, SDL_SRCALPHA, 255 - ((nivo == i+1) ? 0 : 150));
5206
// Copie l'image dans le back buffer
5207
SDL_BlitSurface (imgNivo, &src[i], back, &dest[i]);
5208
@@ -244,29 +244,29 @@ debut:
5209
SDL_BlitSurface (imgMenu, &dossi1, jeu->back, &dossi1);
5210
SDL_BlitSurface (imgMenu, &dossi2, jeu->back, &dossi2);
5212
- SDL_SetAlpha (imgDossi1, SDL_SRCALPHA, 200);
5213
- SDL_SetAlpha (imgDossi2, SDL_SRCALPHA, 200);
5214
+ SDL_SetAlpha (imgDossi1, SDL_SRCALPHA, 255 - 200);
5215
+ SDL_SetAlpha (imgDossi2, SDL_SRCALPHA, 255 - 200);
5216
src.x = frame * src.w;
5217
SDL_BlitSurface (jeu->J1ROUGE ? imgDossi2 : imgDossi1, &src, jeu->back, &dossi1);
5218
src.x = ((frame+nbImgDossi/2) % nbImgDossi)* src.w;
5219
SDL_BlitSurface (jeu->J1ROUGE ? imgDossi1 : imgDossi2, &src, jeu->back, &dossi2);
5221
- SDL_SetAlpha (imgDossi1, SDL_SRCALPHA, 175);
5222
- SDL_SetAlpha (imgDossi2, SDL_SRCALPHA, 175);
5223
+ SDL_SetAlpha (imgDossi1, SDL_SRCALPHA, 255 - 175);
5224
+ SDL_SetAlpha (imgDossi2, SDL_SRCALPHA, 255 - 175);
5225
src.x = ((frame+1) % nbImgDossi) * src.w;
5226
SDL_BlitSurface (jeu->J1ROUGE ? imgDossi2 : imgDossi1, &src, jeu->back, &dossi1);
5227
src.x = ((frame+1+nbImgDossi/2) % nbImgDossi) * src.w;
5228
SDL_BlitSurface (jeu->J1ROUGE ? imgDossi1 : imgDossi2, &src, jeu->back, &dossi2);
5230
- SDL_SetAlpha (imgDossi1, SDL_SRCALPHA, 150);
5231
- SDL_SetAlpha (imgDossi2, SDL_SRCALPHA, 150);
5232
+ SDL_SetAlpha (imgDossi1, SDL_SRCALPHA, 255 - 150);
5233
+ SDL_SetAlpha (imgDossi2, SDL_SRCALPHA, 255 - 150);
5234
src.x = ((frame+2) % nbImgDossi) * src.w;
5235
SDL_BlitSurface (jeu->J1ROUGE ? imgDossi2 : imgDossi1, &src, jeu->back, &dossi1);
5236
src.x = ((frame+2+nbImgDossi/2) % nbImgDossi) * src.w;
5237
SDL_BlitSurface (jeu->J1ROUGE ? imgDossi1 : imgDossi2, &src, jeu->back, &dossi2);
5239
- SDL_SetAlpha (imgDossi1, SDL_SRCALPHA, 0);
5240
- SDL_SetAlpha (imgDossi2, SDL_SRCALPHA, 0);
5241
+ SDL_SetAlpha (imgDossi1, SDL_SRCALPHA, 255 - 0);
5242
+ SDL_SetAlpha (imgDossi2, SDL_SRCALPHA, 255 - 0);
5243
src.x = ((frame+3) % nbImgDossi) * src.w;
5244
SDL_BlitSurface (jeu->J1ROUGE ? imgDossi2 : imgDossi1, &src, jeu->back, &dossi1);
5245
src.x = ((frame+3+nbImgDossi/2) % nbImgDossi) * src.w;
5246
--- dossizola-1.0.orig/dossizola/isola.h
5247
+++ dossizola-1.0/dossizola/isola.h
5249
+#include "config.h"
5251
// Tailles de la grille
5253
@@ -223,10 +224,10 @@ void Constructeur (JOUEUR[], GRILLE *, B
5254
void Destructeur (JOUEUR[], GRILLE *);
5256
// Pr�vois les possibilit�s de d�placements pour chaques cases
5257
-void Calcul_Choix (GRILLE , int[][], int , int *);
5258
+void Calcul_Choix (GRILLE , int[][YCASEMAX+2], int , int *);
5260
// Cr�e une grille � partir du jeu pour calculer les d�placements possibles
5261
-void Meilleur_Choix (GRILLE , int[][], int, JOUEUR[], int, MAX[], MAX []);
5262
+void Meilleur_Choix (GRILLE , int[][YCASEMAX+2], int, JOUEUR[], int, MAX[], MAX []);
5264
// Place sur l'une des meilleurs cases
5265
void Ordi_Place (int *, int *, JOUEUR, GRILLE);
5266
--- dossizola-1.0.orig/dossizola/fct.c
5267
+++ dossizola-1.0/dossizola/fct.c
5268
@@ -199,7 +199,7 @@ BOOL Questionner (char ch[], POLICE poli
5271
SDL_FillRect (noire, NULL, SDL_MapRGB (noire->format, 0, 0, 0));
5272
- SDL_SetAlpha (noire, SDL_SRCALPHA, 128);
5273
+ SDL_SetAlpha (noire, SDL_SRCALPHA, 255 - 128);
5275
// Assombrit l'�cran et met � jour
5276
SDL_BlitSurface (noire, NULL, ecran, &box);
5277
@@ -219,8 +219,8 @@ BOOL Questionner (char ch[], POLICE poli
5279
// Affiche le texte de la question et les textes des boutons OUI et NON
5280
Afficher_Chaine ((ecran->w - strlen (ch) * police1.rect.w) / 2, ecran->h / 2 - police1.rect.h, 0, ch, police1, ecran, ecran);
5281
- Afficher_Chaine (oui.x, oui.y, 0, TXT_OUI, police3, ecran, ecran);
5282
- Afficher_Chaine (non.x, non.y, 0, TXT_NON, police2, ecran, ecran);
5283
+ Afficher_Chaine (oui.x, oui.y, 0, TXT_OUI, police2, ecran, ecran);
5284
+ Afficher_Chaine (non.x, non.y, 0, TXT_NON, police3, ecran, ecran);
5287
if (SDL_PollEvent (&evt))
5288
@@ -265,7 +265,7 @@ BOOL Informer (char ch[], POLICE police,
5291
SDL_FillRect (noire, NULL, SDL_MapRGB (noire->format, 0, 0, 0));
5292
- SDL_SetAlpha (noire, SDL_SRCALPHA, 128);
5293
+ SDL_SetAlpha (noire, SDL_SRCALPHA, 255 - 128);
5295
// Assombrit l'�cran et met � jour
5296
SDL_BlitSurface (noire, NULL, ecran, &box);
5297
@@ -274,4 +274,4 @@ BOOL Informer (char ch[], POLICE police,
5299
// Affiche le texte de la question et les textes des boutons OUI et NON
5300
Afficher_Chaine ((ecran->w - strlen (ch) * police.rect.w) / 2, (ecran->h - police.rect.h) / 2, 0, ch, police, ecran, ecran);
5302
\ No newline at end of file
5304
--- dossizola-1.0.orig/dossizola/main.c
5305
+++ dossizola-1.0/dossizola/main.c
5306
@@ -38,6 +38,7 @@ int main (int argc, char *argv[])
5311
strcpy (imgpath, argv[0]);
5312
for (i = strlen (imgpath); i >= 0; i --)
5314
@@ -48,7 +49,10 @@ int main (int argc, char *argv[])
5316
if (!i) strcpy (imgpath, "./images/");
5320
+ snprintf (imgpath, sizeof(imgpath), "%s/dossizola/images/", DATADIR);
5324
if (SDL_Init (SDL_INIT_VIDEO) < 0)
5325
{ fprintf (stderr, "Impossible d'initialiser SDL (%s)\n", SDL_GetError());
5326
--- dossizola-1.0.orig/dossizola/Makefile.am
5327
+++ dossizola-1.0/dossizola/Makefile.am
5329
####### kdevelop will overwrite this part!!! (begin)##########
5330
bin_PROGRAMS = dossizola
5331
dossizola_SOURCES = menu.c jeu.c ia.c fct.c main.c
5332
-dossizola_LDADD = -lpthread -lSDL -lSDL_image
5333
+dossizola_LDADD = -lSDL_image
5337
--- dossizola-1.0.orig/dossizola/jeu.c
5338
+++ dossizola-1.0/dossizola/jeu.c
5339
@@ -242,7 +242,7 @@ BOOL Intemperie (JOUEUR j[], GRILLE *gri
5341
// Diminue la transparence de la boule
5342
if (frame <= j[n].nFeu) alpha = 255 - 191 * frame / j[n].nFeu;
5343
- SDL_SetAlpha (j[n].imgFeu, SDL_SRCALPHA, alpha);
5344
+ SDL_SetAlpha (j[n].imgFeu, SDL_SRCALPHA, 255 - alpha);
5346
// Copie l'image de la boule de feu sur l'�cran
5348
@@ -312,8 +312,8 @@ BOOL Placer_Trou (int x, int y, JOUEUR j
5349
// Si un conseil est demand�, l'affiche et rend le joueur et la boule transparents
5351
{ Afficher_Chaine ((jeu->ecran->w - strlen (TXT_CONSEIL) * jeu->police1.rect.w) / 2, jeu->titre.y, 0, TXT_CONSEIL, jeu->police1, jeu->ecran, jeu->ecran);
5352
- SDL_SetAlpha (j[n].imgLance, SDL_SRCALPHA, 128);
5353
- SDL_SetAlpha (j[n].imgFeu, SDL_SRCALPHA, 128);
5354
+ SDL_SetAlpha (j[n].imgLance, SDL_SRCALPHA, 255 - 128);
5355
+ SDL_SetAlpha (j[n].imgFeu, SDL_SRCALPHA, 255 - 128);
5358
// Animation du joueur qui lance la boule
5359
@@ -404,8 +404,8 @@ BOOL Placer_Trou (int x, int y, JOUEUR j
5361
// Si un conseil �tait demand� remet les animations � leur transparence d'origine et efface la boule
5363
- { SDL_SetAlpha (j[n].imgLance, SDL_SRCALPHA, 0);
5364
- SDL_SetAlpha (j[n].imgFeu, SDL_SRCALPHA, 64);
5365
+ { SDL_SetAlpha (j[n].imgLance, SDL_SRCALPHA, 255 - 0);
5366
+ SDL_SetAlpha (j[n].imgFeu, SDL_SRCALPHA, 255 - 64);
5367
SDL_BlitSurface (jeu->back, &dest, jeu->ecran, &dest);
5368
SDL_BlitSurface (jeu->back, &j[n].rect, jeu->ecran, &j[n].rect);
5369
Afficher_Joueur (j[n].y <= j[!n].y ? &j[n] : &j[!n], jeu->ecran);
5370
@@ -506,12 +506,12 @@ BOOL Deplacer_Joueur (int x, int y, JOUE
5372
{ SDL_BlitSurface (jeu->back, &save, jeu->ecran, &save);
5373
SDL_BlitSurface (j[n].imgCours, &src, jeu->ecran, &save);
5374
- SDL_SetAlpha (j[n].imgCours, SDL_SRCALPHA, 128);
5375
+ SDL_SetAlpha (j[n].imgCours, SDL_SRCALPHA, 255 - 128);
5377
Afficher_Joueur (j[n].y < j[!n].y ? &j[n] : &j[!n], jeu->ecran);
5378
Afficher_Joueur (j[n].y < j[!n].y ? &j[!n] : &j[n], jeu->ecran);
5380
- { SDL_SetAlpha (j[n].imgCours, SDL_SRCALPHA, 0);
5381
+ { SDL_SetAlpha (j[n].imgCours, SDL_SRCALPHA, 255 - 0);
5384
// Attend d'�tre synchronis� sur la vitesse d'affichage et rafra�chit l'�cran
5385
@@ -585,7 +585,7 @@ BOOL Placer_Joueur (int x, int y, JOUEUR
5388
// R�gle la transparence du joueur et l'affiche
5389
- SDL_SetAlpha (j[n].imgCours, SDL_SRCALPHA, alpha);
5390
+ SDL_SetAlpha (j[n].imgCours, SDL_SRCALPHA, 255 - alpha);
5391
SDL_BlitSurface (jeu->back, &j[n].rect, jeu->ecran, &j[n].rect);
5393
// Si c'est au tour du 2e joueur, on r�affiche le premier
5394
@@ -785,11 +785,11 @@ void Constructeur (JOUEUR j[], GRILLE *g
5395
SDL_SetColorKey (j[!c].imgAttendFeu, SDL_SRCCOLORKEY, SDL_MapRGB (j[!c].imgAttendFeu->format, 255, 0, 255));
5397
// D�finit la transparence des cases et de la boule de feu
5398
- SDL_SetAlpha (grille->imgCase, SDL_SRCALPHA, 100);
5399
- SDL_SetAlpha (j[c].imgFeu, SDL_SRCALPHA, 64);
5400
- SDL_SetAlpha (j[!c].imgFeu, SDL_SRCALPHA, 64);
5401
- SDL_SetAlpha (j[c].imgPerdu, SDL_SRCALPHA, 100);
5402
- SDL_SetAlpha (j[!c].imgPerdu, SDL_SRCALPHA, 100);
5403
+ SDL_SetAlpha (grille->imgCase, SDL_SRCALPHA, 255 - 100);
5404
+ SDL_SetAlpha (j[c].imgFeu, SDL_SRCALPHA, 255 - 64);
5405
+ SDL_SetAlpha (j[!c].imgFeu, SDL_SRCALPHA, 255 - 64);
5406
+ SDL_SetAlpha (j[c].imgPerdu, SDL_SRCALPHA, 255 - 100);
5407
+ SDL_SetAlpha (j[!c].imgPerdu, SDL_SRCALPHA, 255 - 100);
5409
// D�finit la taille des rectangles des joueurs
5410
j[c].rect.w = j[c].imgCours->w / j[c].nCours;
5411
@@ -1019,12 +1019,12 @@ debut_jeu:
5412
jeu->titre.y = (grille.y1 - jeu->titre.h) / 2;
5414
// Affiche le menu en bas de l'�cran
5415
- SDL_SetAlpha (jeu->police3.img, SDL_SRCALPHA, 128);
5416
+ SDL_SetAlpha (jeu->police3.img, SDL_SRCALPHA, 255 - 128);
5417
Afficher_Chaine (jeu->rMenu[0].x, jeu->rMenu[0].y, 0, TXT_QUITTER, jeu->police3, jeu->ecran, jeu->back);
5418
Afficher_Chaine (jeu->rMenu[1].x, jeu->rMenu[1].y, 0, TXT_MENU, jeu->police3, jeu->ecran, jeu->back);
5419
Afficher_Chaine (jeu->rMenu[2].x, jeu->rMenu[2].y, 0, TXT_REFAIRE, jeu->police3, jeu->ecran, jeu->back);
5420
Afficher_Chaine (jeu->rMenu[3].x, jeu->rMenu[3].y, 0, TXT_CONSEIL, jeu->police3, jeu->ecran, jeu->back);
5421
- SDL_SetAlpha (jeu->police3.img, SDL_SRCALPHA, 0);
5422
+ SDL_SetAlpha (jeu->police3.img, SDL_SRCALPHA, 255 - 0);
5424
Placer_Joueurs (jeu, j, &grille, &chxmenu); // Pour choisir la position de d�part
5425
if (chxmenu) goto chx_menu;
5426
--- dossizola-1.0.orig/dossizola/Makefile.in
5427
+++ dossizola-1.0/dossizola/Makefile.in
5429
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
5430
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
5432
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
5433
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
5434
# This Makefile.in is free software; the Free Software Foundation
5435
# gives unlimited permission to copy and/or distribute it,
5436
# with or without modifications, as long as this notice is preserved.
5437
@@ -59,16 +59,25 @@ POST_INSTALL = :
5438
NORMAL_UNINSTALL = :
5441
+host_alias = @host_alias@
5442
+host_triplet = @host@
5444
+HAVE_LIB = @HAVE_LIB@
5448
MAKEINFO = @MAKEINFO@
5451
+SDL_CFLAGS = @SDL_CFLAGS@
5452
+SDL_CONFIG = @SDL_CONFIG@
5453
+SDL_LIBS = @SDL_LIBS@
5456
####### kdevelop will overwrite this part!!! (end)############
5457
bin_PROGRAMS = dossizola
5458
dossizola_SOURCES = menu.c jeu.c ia.c fct.c main.c
5459
-dossizola_LDADD = -lpthread -lSDL -lSDL_image
5460
+dossizola_LDADD = -lSDL_image
5464
@@ -95,18 +104,20 @@ DIST_COMMON = Makefile.am Makefile.in
5466
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
5471
+DEP_FILES = .deps/fct.P .deps/ia.P .deps/jeu.P .deps/main.P \
5473
SOURCES = $(dossizola_SOURCES)
5474
OBJECTS = $(dossizola_OBJECTS)
5478
.SUFFIXES: .S .c .o .s
5479
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
5480
- cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps dossizola/Makefile
5481
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
5482
+ cd $(top_srcdir) && $(AUTOMAKE) --gnu dossizola/Makefile
5484
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
5485
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
5486
cd $(top_builddir) \
5487
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
5489
@@ -136,9 +147,6 @@ uninstall-binPROGRAMS:
5490
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
5499
@@ -195,7 +203,7 @@ maintainer-clean-recursive:
5501
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
5502
rev="$$subdir $$rev"; \
5503
- test "$$subdir" = "." && dot_seen=yes; \
5504
+ test "$$subdir" != "." || dot_seen=yes; \
5506
test "$$dot_seen" = "no" && rev=". $$rev"; \
5507
target=`echo $@ | sed s/-recursive//`; \
5508
@@ -237,7 +245,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
5509
awk ' { files[$$0] = 1; } \
5510
END { for (i in files) print i; }'`; \
5511
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
5512
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
5513
+ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
5517
@@ -253,10 +261,15 @@ distdir = $(top_builddir)/$(PACKAGE)-$(V
5520
distdir: $(DISTFILES)
5521
+ here=`cd $(top_builddir) && pwd`; \
5522
+ top_distdir=`cd $(top_distdir) && pwd`; \
5523
+ distdir=`cd $(distdir) && pwd`; \
5524
+ cd $(top_srcdir) \
5525
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu dossizola/Makefile
5526
@for file in $(DISTFILES); do \
5528
if test -d $$d/$$file; then \
5529
- cp -pr $$/$$file $(distdir)/$$file; \
5530
+ cp -pr $$d/$$file $(distdir)/$$file; \
5532
test -f $(distdir)/$$file \
5533
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
5534
@@ -273,12 +286,38 @@ distdir: $(DISTFILES)
5538
-fct.o: fct.c isola.h
5540
-jeu.o: jeu.c isola.h
5541
-main.o: main.c isola.h
5542
-menu.o: menu.c isola.h
5544
+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
5546
+-include $(DEP_FILES)
5548
+mostlyclean-depend:
5555
+maintainer-clean-depend:
5558
+ @echo '$(COMPILE) -c $<'; \
5559
+ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
5560
+ @-cp .deps/$(*F).pp .deps/$(*F).P; \
5561
+ tr ' ' '\012' < .deps/$(*F).pp \
5562
+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
5563
+ >> .deps/$(*F).P; \
5567
+ @echo '$(LTCOMPILE) -c $<'; \
5568
+ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
5569
+ @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
5570
+ < .deps/$(*F).pp > .deps/$(*F).P; \
5571
+ tr ' ' '\012' < .deps/$(*F).pp \
5572
+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
5573
+ >> .deps/$(*F).P; \
5574
+ rm -f .deps/$(*F).pp
5576
info: info-recursive
5578
@@ -317,23 +356,24 @@ distclean-generic:
5580
maintainer-clean-generic:
5581
mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
5582
- mostlyclean-tags mostlyclean-generic
5583
+ mostlyclean-tags mostlyclean-depend mostlyclean-generic
5585
mostlyclean: mostlyclean-recursive
5587
-clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \
5589
+clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \
5590
+ clean-generic mostlyclean-am
5592
clean: clean-recursive
5594
distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
5595
- distclean-generic clean-am
5596
+ distclean-depend distclean-generic clean-am
5598
distclean: distclean-recursive
5600
maintainer-clean-am: maintainer-clean-binPROGRAMS \
5601
maintainer-clean-compile maintainer-clean-tags \
5602
- maintainer-clean-generic distclean-am
5603
+ maintainer-clean-depend maintainer-clean-generic \
5605
@echo "This command is intended for maintainers to use;"
5606
@echo "it deletes files that may require special tools to rebuild."
5608
@@ -348,12 +388,14 @@ uninstall-exec-recursive installdirs-rec
5609
all-recursive check-recursive installcheck-recursive info-recursive \
5610
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
5611
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
5612
-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
5613
-dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
5614
-install-exec install-data-am install-data install-am install \
5615
-uninstall-am uninstall all-redirect all-am all installdirs-am \
5616
-installdirs mostlyclean-generic distclean-generic clean-generic \
5617
-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
5618
+distclean-tags clean-tags maintainer-clean-tags distdir \
5619
+mostlyclean-depend distclean-depend clean-depend \
5620
+maintainer-clean-depend info-am info dvi-am dvi check check-am \
5621
+installcheck-am installcheck install-exec-am install-exec \
5622
+install-data-am install-data install-am install uninstall-am uninstall \
5623
+all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
5624
+distclean-generic clean-generic maintainer-clean-generic clean \
5625
+mostlyclean distclean maintainer-clean
5628
# Tell versions [3.59,3.63) of GNU make to not export all variables.
5630
+++ dossizola-1.0/dossizola/Makefile
5632
+# Generated automatically from Makefile.in by configure.
5633
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
5635
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
5636
+# This Makefile.in is free software; the Free Software Foundation
5637
+# gives unlimited permission to copy and/or distribute it,
5638
+# with or without modifications, as long as this notice is preserved.
5640
+# This program is distributed in the hope that it will be useful,
5641
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
5642
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
5643
+# PARTICULAR PURPOSE.
5645
+####### kdevelop will overwrite this part!!! (begin)##########
5652
+prefix = /usr/local
5653
+exec_prefix = ${prefix}
5655
+bindir = /usr/games
5656
+sbindir = ${exec_prefix}/sbin
5657
+libexecdir = ${exec_prefix}/libexec
5658
+datadir = /usr/share/games
5659
+sysconfdir = ${prefix}/etc
5660
+sharedstatedir = ${prefix}/com
5661
+localstatedir = ${prefix}/var
5662
+libdir = ${exec_prefix}/lib
5663
+infodir = ${prefix}/info
5664
+mandir = ${prefix}/man
5665
+includedir = ${prefix}/include
5666
+oldincludedir = /usr/include
5670
+pkgdatadir = $(datadir)/dossizola
5671
+pkglibdir = $(libdir)/dossizola
5672
+pkgincludedir = $(includedir)/dossizola
5676
+ACLOCAL = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing aclocal-1.4
5677
+AUTOCONF = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing autoconf
5678
+AUTOMAKE = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing automake-1.4
5679
+AUTOHEADER = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing autoheader
5681
+INSTALL = /usr/bin/install -c
5682
+INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
5683
+INSTALL_DATA = ${INSTALL} -m 644
5684
+INSTALL_SCRIPT = ${INSTALL_PROGRAM}
5690
+NORMAL_UNINSTALL = :
5693
+host_alias = i686-pc-linux-gnu
5694
+host_triplet = i686-pc-linux-gnu
5696
+HAVE_LIB = @HAVE_LIB@
5700
+MAKEINFO = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing makeinfo
5701
+PACKAGE = dossizola
5703
+SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
5704
+SDL_CONFIG = /usr/bin/sdl-config
5705
+SDL_LIBS = -L/usr/lib -lSDL
5708
+####### kdevelop will overwrite this part!!! (end)############
5709
+bin_PROGRAMS = dossizola
5710
+dossizola_SOURCES = menu.c jeu.c ia.c fct.c main.c
5711
+dossizola_LDADD = -lSDL_image
5715
+EXTRA_DIST = main.c isola.h fct.c ia.c jeu.c menu.c
5716
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
5717
+CONFIG_HEADER = ../config.h
5718
+CONFIG_CLEAN_FILES =
5719
+PROGRAMS = $(bin_PROGRAMS)
5722
+DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
5725
+LIBS = -L/usr/lib -lSDL
5726
+dossizola_OBJECTS = menu.o jeu.o ia.o fct.o main.o
5727
+dossizola_DEPENDENCIES =
5728
+dossizola_LDFLAGS =
5729
+CFLAGS = -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
5730
+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
5732
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
5733
+DIST_COMMON = Makefile.am Makefile.in
5736
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
5740
+DEP_FILES = .deps/fct.P .deps/ia.P .deps/jeu.P .deps/main.P \
5742
+SOURCES = $(dossizola_SOURCES)
5743
+OBJECTS = $(dossizola_OBJECTS)
5747
+.SUFFIXES: .S .c .o .s
5748
+$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
5749
+ cd $(top_srcdir) && $(AUTOMAKE) --gnu dossizola/Makefile
5751
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
5752
+ cd $(top_builddir) \
5753
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
5756
+mostlyclean-binPROGRAMS:
5759
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
5761
+distclean-binPROGRAMS:
5763
+maintainer-clean-binPROGRAMS:
5765
+install-binPROGRAMS: $(bin_PROGRAMS)
5766
+ @$(NORMAL_INSTALL)
5767
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
5768
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
5769
+ if test -f $$p; then \
5770
+ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
5771
+ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
5775
+uninstall-binPROGRAMS:
5776
+ @$(NORMAL_UNINSTALL)
5777
+ list='$(bin_PROGRAMS)'; for p in $$list; do \
5778
+ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
5787
+mostlyclean-compile:
5788
+ -rm -f *.o core *.core
5795
+maintainer-clean-compile:
5797
+dossizola: $(dossizola_OBJECTS) $(dossizola_DEPENDENCIES)
5799
+ $(LINK) $(dossizola_LDFLAGS) $(dossizola_OBJECTS) $(dossizola_LDADD) $(LIBS)
5801
+# This directory's subdirectories are mostly independent; you can cd
5802
+# into them and run `make' without going through this Makefile.
5803
+# To change the values of `make' variables: instead of editing Makefiles,
5804
+# (1) if the variable is set in `config.status', edit `config.status'
5805
+# (which will cause the Makefiles to be regenerated when you run `make');
5806
+# (2) otherwise, pass the desired values on the `make' command line.
5810
+all-recursive install-data-recursive install-exec-recursive \
5811
+installdirs-recursive install-recursive uninstall-recursive \
5812
+check-recursive installcheck-recursive info-recursive dvi-recursive:
5813
+ @set fnord $(MAKEFLAGS); amf=$$2; \
5815
+ target=`echo $@ | sed s/-recursive//`; \
5816
+ list='$(SUBDIRS)'; for subdir in $$list; do \
5817
+ echo "Making $$target in $$subdir"; \
5818
+ if test "$$subdir" = "."; then \
5820
+ local_target="$$target-am"; \
5822
+ local_target="$$target"; \
5824
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
5825
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
5827
+ if test "$$dot_seen" = "no"; then \
5828
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
5829
+ fi; test -z "$$fail"
5831
+mostlyclean-recursive clean-recursive distclean-recursive \
5832
+maintainer-clean-recursive:
5833
+ @set fnord $(MAKEFLAGS); amf=$$2; \
5835
+ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
5836
+ rev="$$subdir $$rev"; \
5837
+ test "$$subdir" != "." || dot_seen=yes; \
5839
+ test "$$dot_seen" = "no" && rev=". $$rev"; \
5840
+ target=`echo $@ | sed s/-recursive//`; \
5841
+ for subdir in $$rev; do \
5842
+ echo "Making $$target in $$subdir"; \
5843
+ if test "$$subdir" = "."; then \
5844
+ local_target="$$target-am"; \
5846
+ local_target="$$target"; \
5848
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
5849
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
5850
+ done && test -z "$$fail"
5852
+ list='$(SUBDIRS)'; for subdir in $$list; do \
5853
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
5858
+ID: $(HEADERS) $(SOURCES) $(LISP)
5859
+ list='$(SOURCES) $(HEADERS)'; \
5860
+ unique=`for i in $$list; do echo $$i; done | \
5861
+ awk ' { files[$$0] = 1; } \
5862
+ END { for (i in files) print i; }'`; \
5863
+ here=`pwd` && cd $(srcdir) \
5864
+ && mkid -f$$here/ID $$unique $(LISP)
5866
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
5869
+ list='$(SUBDIRS)'; for subdir in $$list; do \
5870
+ if test "$$subdir" = .; then :; else \
5871
+ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
5874
+ list='$(SOURCES) $(HEADERS)'; \
5875
+ unique=`for i in $$list; do echo $$i; done | \
5876
+ awk ' { files[$$0] = 1; } \
5877
+ END { for (i in files) print i; }'`; \
5878
+ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
5879
+ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
5888
+maintainer-clean-tags:
5890
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
5894
+distdir: $(DISTFILES)
5895
+ here=`cd $(top_builddir) && pwd`; \
5896
+ top_distdir=`cd $(top_distdir) && pwd`; \
5897
+ distdir=`cd $(distdir) && pwd`; \
5898
+ cd $(top_srcdir) \
5899
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu dossizola/Makefile
5900
+ @for file in $(DISTFILES); do \
5902
+ if test -d $$d/$$file; then \
5903
+ cp -pr $$d/$$file $(distdir)/$$file; \
5905
+ test -f $(distdir)/$$file \
5906
+ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
5907
+ || cp -p $$d/$$file $(distdir)/$$file || :; \
5910
+ for subdir in $(SUBDIRS); do \
5911
+ if test "$$subdir" = .; then :; else \
5912
+ test -d $(distdir)/$$subdir \
5913
+ || mkdir $(distdir)/$$subdir \
5915
+ chmod 777 $(distdir)/$$subdir; \
5916
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
5921
+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
5923
+-include $(DEP_FILES)
5925
+mostlyclean-depend:
5932
+maintainer-clean-depend:
5935
+ @echo '$(COMPILE) -c $<'; \
5936
+ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
5937
+ @-cp .deps/$(*F).pp .deps/$(*F).P; \
5938
+ tr ' ' '\012' < .deps/$(*F).pp \
5939
+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
5940
+ >> .deps/$(*F).P; \
5944
+ @echo '$(LTCOMPILE) -c $<'; \
5945
+ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
5946
+ @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
5947
+ < .deps/$(*F).pp > .deps/$(*F).P; \
5948
+ tr ' ' '\012' < .deps/$(*F).pp \
5949
+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
5950
+ >> .deps/$(*F).P; \
5951
+ rm -f .deps/$(*F).pp
5953
+info: info-recursive
5957
+check: check-recursive
5959
+installcheck: installcheck-recursive
5960
+install-exec-am: install-binPROGRAMS
5961
+install-exec: install-exec-recursive
5964
+install-data: install-data-recursive
5967
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
5968
+install: install-recursive
5969
+uninstall-am: uninstall-binPROGRAMS
5970
+uninstall: uninstall-recursive
5971
+all-am: Makefile $(PROGRAMS)
5972
+all-redirect: all-recursive
5974
+ $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
5975
+installdirs: installdirs-recursive
5977
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
5980
+mostlyclean-generic:
5985
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
5986
+ -rm -f config.cache config.log stamp-h stamp-h[0-9]*
5988
+maintainer-clean-generic:
5989
+mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
5990
+ mostlyclean-tags mostlyclean-depend mostlyclean-generic
5992
+mostlyclean: mostlyclean-recursive
5994
+clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \
5995
+ clean-generic mostlyclean-am
5997
+clean: clean-recursive
5999
+distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
6000
+ distclean-depend distclean-generic clean-am
6002
+distclean: distclean-recursive
6004
+maintainer-clean-am: maintainer-clean-binPROGRAMS \
6005
+ maintainer-clean-compile maintainer-clean-tags \
6006
+ maintainer-clean-depend maintainer-clean-generic \
6008
+ @echo "This command is intended for maintainers to use;"
6009
+ @echo "it deletes files that may require special tools to rebuild."
6011
+maintainer-clean: maintainer-clean-recursive
6013
+.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
6014
+maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
6015
+mostlyclean-compile distclean-compile clean-compile \
6016
+maintainer-clean-compile install-data-recursive \
6017
+uninstall-data-recursive install-exec-recursive \
6018
+uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
6019
+all-recursive check-recursive installcheck-recursive info-recursive \
6020
+dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
6021
+maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
6022
+distclean-tags clean-tags maintainer-clean-tags distdir \
6023
+mostlyclean-depend distclean-depend clean-depend \
6024
+maintainer-clean-depend info-am info dvi-am dvi check check-am \
6025
+installcheck-am installcheck install-exec-am install-exec \
6026
+install-data-am install-data install-am install uninstall-am uninstall \
6027
+all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
6028
+distclean-generic clean-generic maintainer-clean-generic clean \
6029
+mostlyclean distclean maintainer-clean
6032
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
6033
+# Otherwise a system limit (for SysV at least) may be exceeded.
6035
--- dossizola-1.0.orig/dossizola/images/Makefile.in
6036
+++ dossizola-1.0/dossizola/images/Makefile.in
6038
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
6039
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
6041
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
6042
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
6043
# This Makefile.in is free software; the Free Software Foundation
6044
# gives unlimited permission to copy and/or distribute it,
6045
# with or without modifications, as long as this notice is preserved.
6046
@@ -59,10 +59,19 @@ POST_INSTALL = :
6047
NORMAL_UNINSTALL = :
6050
+host_alias = @host_alias@
6051
+host_triplet = @host@
6053
+HAVE_LIB = @HAVE_LIB@
6057
MAKEINFO = @MAKEINFO@
6060
+SDL_CFLAGS = @SDL_CFLAGS@
6061
+SDL_CONFIG = @SDL_CONFIG@
6062
+SDL_LIBS = @SDL_LIBS@
6065
EXTRA_DIST = case.png dossa-ange.png dossa-attend-feu.png dossa-attend.png dossa-cours.png dossa-lance.png dossa-victoire.png dossi-ange.png dossi-attend-feu.png dossi-attend.png dossi-cours.png dossi-lance.png dossi-nivo.png dossi-victoire.png feu.png fond1.jpg fond2.jpg fond3.jpg fond4.jpg fond5.jpg menu.jpg police-jaune.png police-rouge.png police-verte.png
6066
@@ -74,14 +83,14 @@ DIST_COMMON = Makefile.am Makefile.in
6068
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
6075
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
6076
- cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps dossizola/images/Makefile
6077
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
6078
+ cd $(top_srcdir) && $(AUTOMAKE) --gnu dossizola/images/Makefile
6080
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
6081
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
6082
cd $(top_builddir) \
6083
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
6085
@@ -94,10 +103,15 @@ distdir = $(top_builddir)/$(PACKAGE)-$(V
6086
subdir = dossizola/images
6088
distdir: $(DISTFILES)
6089
+ here=`cd $(top_builddir) && pwd`; \
6090
+ top_distdir=`cd $(top_distdir) && pwd`; \
6091
+ distdir=`cd $(distdir) && pwd`; \
6092
+ cd $(top_srcdir) \
6093
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu dossizola/images/Makefile
6094
@for file in $(DISTFILES); do \
6096
if test -d $$d/$$file; then \
6097
- cp -pr $$/$$file $(distdir)/$$file; \
6098
+ cp -pr $$d/$$file $(distdir)/$$file; \
6100
test -f $(distdir)/$$file \
6101
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
6103
+++ dossizola-1.0/dossizola/images/Makefile
6105
+# Generated automatically from Makefile.in by configure.
6106
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
6108
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
6109
+# This Makefile.in is free software; the Free Software Foundation
6110
+# gives unlimited permission to copy and/or distribute it,
6111
+# with or without modifications, as long as this notice is preserved.
6113
+# This program is distributed in the hope that it will be useful,
6114
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
6115
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
6116
+# PARTICULAR PURPOSE.
6118
+####### kdevelop will overwrite this part!!! (begin)##########
6125
+prefix = /usr/local
6126
+exec_prefix = ${prefix}
6128
+bindir = /usr/games
6129
+sbindir = ${exec_prefix}/sbin
6130
+libexecdir = ${exec_prefix}/libexec
6131
+datadir = /usr/share/games
6132
+sysconfdir = ${prefix}/etc
6133
+sharedstatedir = ${prefix}/com
6134
+localstatedir = ${prefix}/var
6135
+libdir = ${exec_prefix}/lib
6136
+infodir = ${prefix}/info
6137
+mandir = ${prefix}/man
6138
+includedir = ${prefix}/include
6139
+oldincludedir = /usr/include
6143
+pkgdatadir = $(datadir)/dossizola
6144
+pkglibdir = $(libdir)/dossizola
6145
+pkgincludedir = $(includedir)/dossizola
6147
+top_builddir = ../..
6149
+ACLOCAL = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing aclocal-1.4
6150
+AUTOCONF = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing autoconf
6151
+AUTOMAKE = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing automake-1.4
6152
+AUTOHEADER = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing autoheader
6154
+INSTALL = /usr/bin/install -c
6155
+INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
6156
+INSTALL_DATA = ${INSTALL} -m 644
6157
+INSTALL_SCRIPT = ${INSTALL_PROGRAM}
6163
+NORMAL_UNINSTALL = :
6166
+host_alias = i686-pc-linux-gnu
6167
+host_triplet = i686-pc-linux-gnu
6169
+HAVE_LIB = @HAVE_LIB@
6173
+MAKEINFO = /home/tony/debian/sponsor/dossizola/dossizola-1.0/missing makeinfo
6174
+PACKAGE = dossizola
6176
+SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
6177
+SDL_CONFIG = /usr/bin/sdl-config
6178
+SDL_LIBS = -L/usr/lib -lSDL
6181
+EXTRA_DIST = case.png dossa-ange.png dossa-attend-feu.png dossa-attend.png dossa-cours.png dossa-lance.png dossa-victoire.png dossi-ange.png dossi-attend-feu.png dossi-attend.png dossi-cours.png dossi-lance.png dossi-nivo.png dossi-victoire.png feu.png fond1.jpg fond2.jpg fond3.jpg fond4.jpg fond5.jpg menu.jpg police-jaune.png police-rouge.png police-verte.png
6182
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
6183
+CONFIG_HEADER = ../../config.h
6184
+CONFIG_CLEAN_FILES =
6185
+DIST_COMMON = Makefile.am Makefile.in
6188
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
6194
+$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
6195
+ cd $(top_srcdir) && $(AUTOMAKE) --gnu dossizola/images/Makefile
6197
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
6198
+ cd $(top_builddir) \
6199
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
6205
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
6207
+subdir = dossizola/images
6209
+distdir: $(DISTFILES)
6210
+ here=`cd $(top_builddir) && pwd`; \
6211
+ top_distdir=`cd $(top_distdir) && pwd`; \
6212
+ distdir=`cd $(distdir) && pwd`; \
6213
+ cd $(top_srcdir) \
6214
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu dossizola/images/Makefile
6215
+ @for file in $(DISTFILES); do \
6217
+ if test -d $$d/$$file; then \
6218
+ cp -pr $$d/$$file $(distdir)/$$file; \
6220
+ test -f $(distdir)/$$file \
6221
+ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
6222
+ || cp -p $$d/$$file $(distdir)/$$file || :; \
6232
+installcheck: installcheck-am
6234
+install-exec: install-exec-am
6236
+install-data-am: install-data-local
6237
+install-data: install-data-am
6240
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
6241
+install: install-am
6242
+uninstall-am: uninstall-local
6243
+uninstall: uninstall-am
6245
+all-redirect: all-am
6247
+ $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
6251
+mostlyclean-generic:
6256
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
6257
+ -rm -f config.cache config.log stamp-h stamp-h[0-9]*
6259
+maintainer-clean-generic:
6260
+mostlyclean-am: mostlyclean-generic
6262
+mostlyclean: mostlyclean-am
6264
+clean-am: clean-generic mostlyclean-am
6268
+distclean-am: distclean-generic clean-am
6270
+distclean: distclean-am
6272
+maintainer-clean-am: maintainer-clean-generic distclean-am
6273
+ @echo "This command is intended for maintainers to use;"
6274
+ @echo "it deletes files that may require special tools to rebuild."
6276
+maintainer-clean: maintainer-clean-am
6278
+.PHONY: tags distdir info-am info dvi-am dvi check check-am \
6279
+installcheck-am installcheck install-exec-am install-exec \
6280
+install-data-local install-data-am install-data install-am install \
6281
+uninstall-local uninstall-am uninstall all-redirect all-am all \
6282
+installdirs mostlyclean-generic distclean-generic clean-generic \
6283
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
6286
+install-data-local:
6287
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6288
+ $(INSTALL_DATA) case.png $(prefix)/dossizola/images/case.png
6289
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6290
+ $(INSTALL_DATA) dossa-ange.png $(prefix)/dossizola/images/dossa-ange.png
6291
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6292
+ $(INSTALL_DATA) dossa-attend-feu.png $(prefix)/dossizola/images/dossa-attend-feu.png
6293
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6294
+ $(INSTALL_DATA) dossa-attend.png $(prefix)/dossizola/images/dossa-attend.png
6295
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6296
+ $(INSTALL_DATA) dossa-cours.png $(prefix)/dossizola/images/dossa-cours.png
6297
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6298
+ $(INSTALL_DATA) dossa-lance.png $(prefix)/dossizola/images/dossa-lance.png
6299
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6300
+ $(INSTALL_DATA) dossa-victoire.png $(prefix)/dossizola/images/dossa-victoire.png
6301
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6302
+ $(INSTALL_DATA) dossi-ange.png $(prefix)/dossizola/images/dossi-ange.png
6303
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6304
+ $(INSTALL_DATA) dossi-attend-feu.png $(prefix)/dossizola/images/dossi-attend-feu.png
6305
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6306
+ $(INSTALL_DATA) dossi-attend.png $(prefix)/dossizola/images/dossi-attend.png
6307
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6308
+ $(INSTALL_DATA) dossi-cours.png $(prefix)/dossizola/images/dossi-cours.png
6309
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6310
+ $(INSTALL_DATA) dossi-lance.png $(prefix)/dossizola/images/dossi-lance.png
6311
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6312
+ $(INSTALL_DATA) dossi-nivo.png $(prefix)/dossizola/images/dossi-nivo.png
6313
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6314
+ $(INSTALL_DATA) dossi-victoire.png $(prefix)/dossizola/images/dossi-victoire.png
6315
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6316
+ $(INSTALL_DATA) feu.png $(prefix)/dossizola/images/feu.png
6317
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6318
+ $(INSTALL_DATA) fond1.jpg $(prefix)/dossizola/images/fond1.jpg
6319
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6320
+ $(INSTALL_DATA) fond2.jpg $(prefix)/dossizola/images/fond2.jpg
6321
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6322
+ $(INSTALL_DATA) fond3.jpg $(prefix)/dossizola/images/fond3.jpg
6323
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6324
+ $(INSTALL_DATA) fond4.jpg $(prefix)/dossizola/images/fond4.jpg
6325
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6326
+ $(INSTALL_DATA) fond5.jpg $(prefix)/dossizola/images/fond5.jpg
6327
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6328
+ $(INSTALL_DATA) menu.jpg $(prefix)/dossizola/images/menu.jpg
6329
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6330
+ $(INSTALL_DATA) police-jaune.png $(prefix)/dossizola/images/police-jaune.png
6331
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6332
+ $(INSTALL_DATA) police-rouge.png $(prefix)/dossizola/images/police-rouge.png
6333
+ $(mkinstalldirs) $(prefix)/dossizola/images/
6334
+ $(INSTALL_DATA) police-verte.png $(prefix)/dossizola/images/police-verte.png
6337
+ -rm -f $(prefix)/dossizola/images/case.png
6338
+ -rm -f $(prefix)/dossizola/images/dossa-ange.png
6339
+ -rm -f $(prefix)/dossizola/images/dossa-attend-feu.png
6340
+ -rm -f $(prefix)/dossizola/images/dossa-attend.png
6341
+ -rm -f $(prefix)/dossizola/images/dossa-cours.png
6342
+ -rm -f $(prefix)/dossizola/images/dossa-lance.png
6343
+ -rm -f $(prefix)/dossizola/images/dossa-victoire.png
6344
+ -rm -f $(prefix)/dossizola/images/dossi-ange.png
6345
+ -rm -f $(prefix)/dossizola/images/dossi-attend-feu.png
6346
+ -rm -f $(prefix)/dossizola/images/dossi-attend.png
6347
+ -rm -f $(prefix)/dossizola/images/dossi-cours.png
6348
+ -rm -f $(prefix)/dossizola/images/dossi-lance.png
6349
+ -rm -f $(prefix)/dossizola/images/dossi-nivo.png
6350
+ -rm -f $(prefix)/dossizola/images/dossi-victoire.png
6351
+ -rm -f $(prefix)/dossizola/images/feu.png
6352
+ -rm -f $(prefix)/dossizola/images/fond1.jpg
6353
+ -rm -f $(prefix)/dossizola/images/fond2.jpg
6354
+ -rm -f $(prefix)/dossizola/images/fond3.jpg
6355
+ -rm -f $(prefix)/dossizola/images/fond4.jpg
6356
+ -rm -f $(prefix)/dossizola/images/fond5.jpg
6357
+ -rm -f $(prefix)/dossizola/images/menu.jpg
6358
+ -rm -f $(prefix)/dossizola/images/police-jaune.png
6359
+ -rm -f $(prefix)/dossizola/images/police-rouge.png
6360
+ -rm -f $(prefix)/dossizola/images/police-verte.png
6362
+####### kdevelop will overwrite this part!!! (end)############
6364
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
6365
+# Otherwise a system limit (for SysV at least) may be exceeded.