Mercurial > hg > early-roguelike
comparison rogue5/configure @ 33:f502bf60e6e4
Import Rogue 5.4 from the Roguelike Restoration Project (r1490)
author | elwin |
---|---|
date | Mon, 24 May 2010 20:10:59 +0000 |
parents | |
children | 655c317b6237 |
comparison
equal
deleted
inserted
replaced
32:2dcd75e6a736 | 33:f502bf60e6e4 |
---|---|
1 #! /bin/sh | |
2 # Guess values for system-dependent variables and create Makefiles. | |
3 # Generated by GNU Autoconf 2.61 for Rogue 5.4.5. | |
4 # | |
5 # Report bugs to <yendor@rogueforge.net>. | |
6 # | |
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
9 # This configure script is free software; the Free Software Foundation | |
10 # gives unlimited permission to copy, distribute and modify it. | |
11 ## --------------------- ## | |
12 ## M4sh Initialization. ## | |
13 ## --------------------- ## | |
14 | |
15 # Be more Bourne compatible | |
16 DUALCASE=1; export DUALCASE # for MKS sh | |
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
18 emulate sh | |
19 NULLCMD=: | |
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
21 # is contrary to our usage. Disable this feature. | |
22 alias -g '${1+"$@"}'='"$@"' | |
23 setopt NO_GLOB_SUBST | |
24 else | |
25 case `(set -o) 2>/dev/null` in | |
26 *posix*) set -o posix ;; | |
27 esac | |
28 | |
29 fi | |
30 | |
31 | |
32 | |
33 | |
34 # PATH needs CR | |
35 # Avoid depending upon Character Ranges. | |
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
39 as_cr_digits='0123456789' | |
40 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
41 | |
42 # The user is always right. | |
43 if test "${PATH_SEPARATOR+set}" != set; then | |
44 echo "#! /bin/sh" >conf$$.sh | |
45 echo "exit 0" >>conf$$.sh | |
46 chmod +x conf$$.sh | |
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
48 PATH_SEPARATOR=';' | |
49 else | |
50 PATH_SEPARATOR=: | |
51 fi | |
52 rm -f conf$$.sh | |
53 fi | |
54 | |
55 # Support unset when possible. | |
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
57 as_unset=unset | |
58 else | |
59 as_unset=false | |
60 fi | |
61 | |
62 | |
63 # IFS | |
64 # We need space, tab and new line, in precisely that order. Quoting is | |
65 # there to prevent editors from complaining about space-tab. | |
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
67 # splitting by setting IFS to empty value.) | |
68 as_nl=' | |
69 ' | |
70 IFS=" "" $as_nl" | |
71 | |
72 # Find who we are. Look in the path if we contain no directory separator. | |
73 case $0 in | |
74 *[\\/]* ) as_myself=$0 ;; | |
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
76 for as_dir in $PATH | |
77 do | |
78 IFS=$as_save_IFS | |
79 test -z "$as_dir" && as_dir=. | |
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
81 done | |
82 IFS=$as_save_IFS | |
83 | |
84 ;; | |
85 esac | |
86 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
87 # in which case we are not to be found in the path. | |
88 if test "x$as_myself" = x; then | |
89 as_myself=$0 | |
90 fi | |
91 if test ! -f "$as_myself"; then | |
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
93 { (exit 1); exit 1; } | |
94 fi | |
95 | |
96 # Work around bugs in pre-3.0 UWIN ksh. | |
97 for as_var in ENV MAIL MAILPATH | |
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
99 done | |
100 PS1='$ ' | |
101 PS2='> ' | |
102 PS4='+ ' | |
103 | |
104 # NLS nuisances. | |
105 for as_var in \ | |
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
108 LC_TELEPHONE LC_TIME | |
109 do | |
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
111 eval $as_var=C; export $as_var | |
112 else | |
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
114 fi | |
115 done | |
116 | |
117 # Required to use basename. | |
118 if expr a : '\(a\)' >/dev/null 2>&1 && | |
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
120 as_expr=expr | |
121 else | |
122 as_expr=false | |
123 fi | |
124 | |
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
126 as_basename=basename | |
127 else | |
128 as_basename=false | |
129 fi | |
130 | |
131 | |
132 # Name of the executable. | |
133 as_me=`$as_basename -- "$0" || | |
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
135 X"$0" : 'X\(//\)$' \| \ | |
136 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
137 echo X/"$0" | | |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
139 s//\1/ | |
140 q | |
141 } | |
142 /^X\/\(\/\/\)$/{ | |
143 s//\1/ | |
144 q | |
145 } | |
146 /^X\/\(\/\).*/{ | |
147 s//\1/ | |
148 q | |
149 } | |
150 s/.*/./; q'` | |
151 | |
152 # CDPATH. | |
153 $as_unset CDPATH | |
154 | |
155 | |
156 if test "x$CONFIG_SHELL" = x; then | |
157 if (eval ":") 2>/dev/null; then | |
158 as_have_required=yes | |
159 else | |
160 as_have_required=no | |
161 fi | |
162 | |
163 if test $as_have_required = yes && (eval ": | |
164 (as_func_return () { | |
165 (exit \$1) | |
166 } | |
167 as_func_success () { | |
168 as_func_return 0 | |
169 } | |
170 as_func_failure () { | |
171 as_func_return 1 | |
172 } | |
173 as_func_ret_success () { | |
174 return 0 | |
175 } | |
176 as_func_ret_failure () { | |
177 return 1 | |
178 } | |
179 | |
180 exitcode=0 | |
181 if as_func_success; then | |
182 : | |
183 else | |
184 exitcode=1 | |
185 echo as_func_success failed. | |
186 fi | |
187 | |
188 if as_func_failure; then | |
189 exitcode=1 | |
190 echo as_func_failure succeeded. | |
191 fi | |
192 | |
193 if as_func_ret_success; then | |
194 : | |
195 else | |
196 exitcode=1 | |
197 echo as_func_ret_success failed. | |
198 fi | |
199 | |
200 if as_func_ret_failure; then | |
201 exitcode=1 | |
202 echo as_func_ret_failure succeeded. | |
203 fi | |
204 | |
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
206 : | |
207 else | |
208 exitcode=1 | |
209 echo positional parameters were not saved. | |
210 fi | |
211 | |
212 test \$exitcode = 0) || { (exit 1); exit 1; } | |
213 | |
214 ( | |
215 as_lineno_1=\$LINENO | |
216 as_lineno_2=\$LINENO | |
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
219 ") 2> /dev/null; then | |
220 : | |
221 else | |
222 as_candidate_shells= | |
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
225 do | |
226 IFS=$as_save_IFS | |
227 test -z "$as_dir" && as_dir=. | |
228 case $as_dir in | |
229 /*) | |
230 for as_base in sh bash ksh sh5; do | |
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
232 done;; | |
233 esac | |
234 done | |
235 IFS=$as_save_IFS | |
236 | |
237 | |
238 for as_shell in $as_candidate_shells $SHELL; do | |
239 # Try only shells that exist, to save several forks. | |
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
241 { ("$as_shell") 2> /dev/null <<\_ASEOF | |
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
243 emulate sh | |
244 NULLCMD=: | |
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
246 # is contrary to our usage. Disable this feature. | |
247 alias -g '${1+"$@"}'='"$@"' | |
248 setopt NO_GLOB_SUBST | |
249 else | |
250 case `(set -o) 2>/dev/null` in | |
251 *posix*) set -o posix ;; | |
252 esac | |
253 | |
254 fi | |
255 | |
256 | |
257 : | |
258 _ASEOF | |
259 }; then | |
260 CONFIG_SHELL=$as_shell | |
261 as_have_required=yes | |
262 if { "$as_shell" 2> /dev/null <<\_ASEOF | |
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
264 emulate sh | |
265 NULLCMD=: | |
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
267 # is contrary to our usage. Disable this feature. | |
268 alias -g '${1+"$@"}'='"$@"' | |
269 setopt NO_GLOB_SUBST | |
270 else | |
271 case `(set -o) 2>/dev/null` in | |
272 *posix*) set -o posix ;; | |
273 esac | |
274 | |
275 fi | |
276 | |
277 | |
278 : | |
279 (as_func_return () { | |
280 (exit $1) | |
281 } | |
282 as_func_success () { | |
283 as_func_return 0 | |
284 } | |
285 as_func_failure () { | |
286 as_func_return 1 | |
287 } | |
288 as_func_ret_success () { | |
289 return 0 | |
290 } | |
291 as_func_ret_failure () { | |
292 return 1 | |
293 } | |
294 | |
295 exitcode=0 | |
296 if as_func_success; then | |
297 : | |
298 else | |
299 exitcode=1 | |
300 echo as_func_success failed. | |
301 fi | |
302 | |
303 if as_func_failure; then | |
304 exitcode=1 | |
305 echo as_func_failure succeeded. | |
306 fi | |
307 | |
308 if as_func_ret_success; then | |
309 : | |
310 else | |
311 exitcode=1 | |
312 echo as_func_ret_success failed. | |
313 fi | |
314 | |
315 if as_func_ret_failure; then | |
316 exitcode=1 | |
317 echo as_func_ret_failure succeeded. | |
318 fi | |
319 | |
320 if ( set x; as_func_ret_success y && test x = "$1" ); then | |
321 : | |
322 else | |
323 exitcode=1 | |
324 echo positional parameters were not saved. | |
325 fi | |
326 | |
327 test $exitcode = 0) || { (exit 1); exit 1; } | |
328 | |
329 ( | |
330 as_lineno_1=$LINENO | |
331 as_lineno_2=$LINENO | |
332 test "x$as_lineno_1" != "x$as_lineno_2" && | |
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
334 | |
335 _ASEOF | |
336 }; then | |
337 break | |
338 fi | |
339 | |
340 fi | |
341 | |
342 done | |
343 | |
344 if test "x$CONFIG_SHELL" != x; then | |
345 for as_var in BASH_ENV ENV | |
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
347 done | |
348 export CONFIG_SHELL | |
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
350 fi | |
351 | |
352 | |
353 if test $as_have_required = no; then | |
354 echo This script requires a shell more modern than all the | |
355 echo shells that I found on your system. Please install a | |
356 echo modern shell, or manually run the script under such a | |
357 echo shell if you do have one. | |
358 { (exit 1); exit 1; } | |
359 fi | |
360 | |
361 | |
362 fi | |
363 | |
364 fi | |
365 | |
366 | |
367 | |
368 (eval "as_func_return () { | |
369 (exit \$1) | |
370 } | |
371 as_func_success () { | |
372 as_func_return 0 | |
373 } | |
374 as_func_failure () { | |
375 as_func_return 1 | |
376 } | |
377 as_func_ret_success () { | |
378 return 0 | |
379 } | |
380 as_func_ret_failure () { | |
381 return 1 | |
382 } | |
383 | |