adamc@378
|
1 #! /bin/sh
|
adamc@378
|
2 # Guess values for system-dependent variables and create Makefiles.
|
adamc@378
|
3 # Generated by GNU Autoconf 2.61.
|
adamc@378
|
4 #
|
adamc@378
|
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
adamc@378
|
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
adamc@378
|
7 # This configure script is free software; the Free Software Foundation
|
adamc@378
|
8 # gives unlimited permission to copy, distribute and modify it.
|
adamc@378
|
9 ## --------------------- ##
|
adamc@378
|
10 ## M4sh Initialization. ##
|
adamc@378
|
11 ## --------------------- ##
|
adamc@378
|
12
|
adamc@378
|
13 # Be more Bourne compatible
|
adamc@378
|
14 DUALCASE=1; export DUALCASE # for MKS sh
|
adamc@378
|
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
adamc@378
|
16 emulate sh
|
adamc@378
|
17 NULLCMD=:
|
adamc@378
|
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
adamc@378
|
19 # is contrary to our usage. Disable this feature.
|
adamc@378
|
20 alias -g '${1+"$@"}'='"$@"'
|
adamc@378
|
21 setopt NO_GLOB_SUBST
|
adamc@378
|
22 else
|
adamc@378
|
23 case `(set -o) 2>/dev/null` in
|
adamc@378
|
24 *posix*) set -o posix ;;
|
adamc@378
|
25 esac
|
adamc@378
|
26
|
adamc@378
|
27 fi
|
adamc@378
|
28
|
adamc@378
|
29
|
adamc@378
|
30
|
adamc@378
|
31
|
adamc@378
|
32 # PATH needs CR
|
adamc@378
|
33 # Avoid depending upon Character Ranges.
|
adamc@378
|
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
adamc@378
|
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
adamc@378
|
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
adamc@378
|
37 as_cr_digits='0123456789'
|
adamc@378
|
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
adamc@378
|
39
|
adamc@378
|
40 # The user is always right.
|
adamc@378
|
41 if test "${PATH_SEPARATOR+set}" != set; then
|
adamc@378
|
42 echo "#! /bin/sh" >conf$$.sh
|
adamc@378
|
43 echo "exit 0" >>conf$$.sh
|
adamc@378
|
44 chmod +x conf$$.sh
|
adamc@378
|
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
adamc@378
|
46 PATH_SEPARATOR=';'
|
adamc@378
|
47 else
|
adamc@378
|
48 PATH_SEPARATOR=:
|
adamc@378
|
49 fi
|
adamc@378
|
50 rm -f conf$$.sh
|
adamc@378
|
51 fi
|
adamc@378
|
52
|
adamc@378
|
53 # Support unset when possible.
|
adamc@378
|
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
adamc@378
|
55 as_unset=unset
|
adamc@378
|
56 else
|
adamc@378
|
57 as_unset=false
|
adamc@378
|
58 fi
|
adamc@378
|
59
|
adamc@378
|
60
|
adamc@378
|
61 # IFS
|
adamc@378
|
62 # We need space, tab and new line, in precisely that order. Quoting is
|
adamc@378
|
63 # there to prevent editors from complaining about space-tab.
|
adamc@378
|
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
adamc@378
|
65 # splitting by setting IFS to empty value.)
|
adamc@378
|
66 as_nl='
|
adamc@378
|
67 '
|
adamc@378
|
68 IFS=" "" $as_nl"
|
adamc@378
|
69
|
adamc@378
|
70 # Find who we are. Look in the path if we contain no directory separator.
|
adamc@378
|
71 case $0 in
|
adamc@378
|
72 *[\\/]* ) as_myself=$0 ;;
|
adamc@378
|
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adamc@378
|
74 for as_dir in $PATH
|
adamc@378
|
75 do
|
adamc@378
|
76 IFS=$as_save_IFS
|
adamc@378
|
77 test -z "$as_dir" && as_dir=.
|
adamc@378
|
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
adamc@378
|
79 done
|
adamc@378
|
80 IFS=$as_save_IFS
|
adamc@378
|
81
|
adamc@378
|
82 ;;
|
adamc@378
|
83 esac
|
adamc@378
|
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
adamc@378
|
85 # in which case we are not to be found in the path.
|
adamc@378
|
86 if test "x$as_myself" = x; then
|
adamc@378
|
87 as_myself=$0
|
adamc@378
|
88 fi
|
adamc@378
|
89 if test ! -f "$as_myself"; then
|
adamc@378
|
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
adamc@378
|
91 { (exit 1); exit 1; }
|
adamc@378
|
92 fi
|
adamc@378
|
93
|
adamc@378
|
94 # Work around bugs in pre-3.0 UWIN ksh.
|
adamc@378
|
95 for as_var in ENV MAIL MAILPATH
|
adamc@378
|
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
adamc@378
|
97 done
|
adamc@378
|
98 PS1='$ '
|
adamc@378
|
99 PS2='> '
|
adamc@378
|
100 PS4='+ '
|
adamc@378
|
101
|
adamc@378
|
102 # NLS nuisances.
|
adamc@378
|
103 for as_var in \
|
adamc@378
|
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
adamc@378
|
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
adamc@378
|
106 LC_TELEPHONE LC_TIME
|
adamc@378
|
107 do
|
adamc@378
|
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
adamc@378
|
109 eval $as_var=C; export $as_var
|
adamc@378
|
110 else
|
adamc@378
|
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
adamc@378
|
112 fi
|
adamc@378
|
113 done
|
adamc@378
|
114
|
adamc@378
|
115 # Required to use basename.
|
adamc@378
|
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
adamc@378
|
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
adamc@378
|
118 as_expr=expr
|
adamc@378
|
119 else
|
adamc@378
|
120 as_expr=false
|
adamc@378
|
121 fi
|
adamc@378
|
122
|
adamc@378
|
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
adamc@378
|
124 as_basename=basename
|
adamc@378
|
125 else
|
adamc@378
|
126 as_basename=false
|
adamc@378
|
127 fi
|
adamc@378
|
128
|
adamc@378
|
129
|
adamc@378
|
130 # Name of the executable.
|
adamc@378
|
131 as_me=`$as_basename -- "$0" ||
|
adamc@378
|
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
adamc@378
|
133 X"$0" : 'X\(//\)$' \| \
|
adamc@378
|
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
adamc@378
|
135 echo X/"$0" |
|
adamc@378
|
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
adamc@378
|
137 s//\1/
|
adamc@378
|
138 q
|
adamc@378
|
139 }
|
adamc@378
|
140 /^X\/\(\/\/\)$/{
|
adamc@378
|
141 s//\1/
|
adamc@378
|
142 q
|
adamc@378
|
143 }
|
adamc@378
|
144 /^X\/\(\/\).*/{
|
adamc@378
|
145 s//\1/
|
adamc@378
|
146 q
|
adamc@378
|
147 }
|
adamc@378
|
148 s/.*/./; q'`
|
adamc@378
|
149
|
adamc@378
|
150 # CDPATH.
|
adamc@378
|
151 $as_unset CDPATH
|
adamc@378
|
152
|
adamc@378
|
153
|
adamc@378
|
154 if test "x$CONFIG_SHELL" = x; then
|
adamc@378
|
155 if (eval ":") 2>/dev/null; then
|
adamc@378
|
156 as_have_required=yes
|
adamc@378
|
157 else
|
adamc@378
|
158 as_have_required=no
|
adamc@378
|
159 fi
|
adamc@378
|
160
|
adamc@378
|
161 if test $as_have_required = yes && (eval ":
|
adamc@378
|
162 (as_func_return () {
|
adamc@378
|
163 (exit \$1)
|
adamc@378
|
164 }
|
adamc@378
|
165 as_func_success () {
|
adamc@378
|
166 as_func_return 0
|
adamc@378
|
167 }
|
adamc@378
|
168 as_func_failure () {
|
adamc@378
|
169 as_func_return 1
|
adamc@378
|
170 }
|
adamc@378
|
171 as_func_ret_success () {
|
adamc@378
|
172 return 0
|
adamc@378
|
173 }
|
adamc@378
|
174 as_func_ret_failure () {
|
adamc@378
|
175 return 1
|
adamc@378
|
176 }
|
adamc@378
|
177
|
adamc@378
|
178 exitcode=0
|
adamc@378
|
179 if as_func_success; then
|
adamc@378
|
180 :
|
adamc@378
|
181 else
|
adamc@378
|
182 exitcode=1
|
adamc@378
|
183 echo as_func_success failed.
|
adamc@378
|
184 fi
|
adamc@378
|
185
|
adamc@378
|
186 if as_func_failure; then
|
adamc@378
|
187 exitcode=1
|
adamc@378
|
188 echo as_func_failure succeeded.
|
adamc@378
|
189 fi
|
adamc@378
|
190
|
adamc@378
|
191 if as_func_ret_success; then
|
adamc@378
|
192 :
|
adamc@378
|
193 else
|
adamc@378
|
194 exitcode=1
|
adamc@378
|
195 echo as_func_ret_success failed.
|
adamc@378
|
196 fi
|
adamc@378
|
197
|
adamc@378
|
198 if as_func_ret_failure; then
|
adamc@378
|
199 exitcode=1
|
adamc@378
|
200 echo as_func_ret_failure succeeded.
|
adamc@378
|
201 fi
|
adamc@378
|
202
|
adamc@378
|
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
adamc@378
|
204 :
|
adamc@378
|
205 else
|
adamc@378
|
206 exitcode=1
|
adamc@378
|
207 echo positional parameters were not saved.
|
adamc@378
|
208 fi
|
adamc@378
|
209
|
adamc@378
|
210 test \$exitcode = 0) || { (exit 1); exit 1; }
|
adamc@378
|
211
|
adamc@378
|
212 (
|
adamc@378
|
213 as_lineno_1=\$LINENO
|
adamc@378
|
214 as_lineno_2=\$LINENO
|
adamc@378
|
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
adamc@378
|
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
adamc@378
|
217 ") 2> /dev/null; then
|
adamc@378
|
218 :
|
adamc@378
|
219 else
|
adamc@378
|
220 as_candidate_shells=
|
adamc@378
|
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adamc@378
|
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
adamc@378
|
223 do
|
adamc@378
|
224 IFS=$as_save_IFS
|
adamc@378
|
225 test -z "$as_dir" && as_dir=.
|
adamc@378
|
226 case $as_dir in
|
adamc@378
|
227 /*)
|
adamc@378
|
228 for as_base in sh bash ksh sh5; do
|
adamc@378
|
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
adamc@378
|
230 done;;
|
adamc@378
|
231 esac
|
adamc@378
|
232 done
|
adamc@378
|
233 IFS=$as_save_IFS
|
adamc@378
|
234
|
adamc@378
|
235
|
adamc@378
|
236 for as_shell in $as_candidate_shells $SHELL; do
|
adamc@378
|
237 # Try only shells that exist, to save several forks.
|
adamc@378
|
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
adamc@378
|
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
|
adamc@378
|
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
adamc@378
|
241 emulate sh
|
adamc@378
|
242 NULLCMD=:
|
adamc@378
|
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
adamc@378
|
244 # is contrary to our usage. Disable this feature.
|
adamc@378
|
245 alias -g '${1+"$@"}'='"$@"'
|
adamc@378
|
246 setopt NO_GLOB_SUBST
|
adamc@378
|
247 else
|
adamc@378
|
248 case `(set -o) 2>/dev/null` in
|
adamc@378
|
249 *posix*) set -o posix ;;
|
adamc@378
|
250 esac
|
adamc@378
|
251
|
adamc@378
|
252 fi
|
adamc@378
|
253
|
adamc@378
|
254
|
adamc@378
|
255 :
|
adamc@378
|
256 _ASEOF
|
adamc@378
|
257 }; then
|
adamc@378
|
258 CONFIG_SHELL=$as_shell
|
adamc@378
|
259 as_have_required=yes
|
adamc@378
|
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
|
adamc@378
|
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
adamc@378
|
262 emulate sh
|
adamc@378
|
263 NULLCMD=:
|
adamc@378
|
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
adamc@378
|
265 # is contrary to our usage. Disable this feature.
|
adamc@378
|
266 alias -g '${1+"$@"}'='"$@"'
|
adamc@378
|
267 setopt NO_GLOB_SUBST
|
adamc@378
|
268 else
|
adamc@378
|
269 case `(set -o) 2>/dev/null` in
|
adamc@378
|
270 *posix*) set -o posix ;;
|
adamc@378
|
271 esac
|
adamc@378
|
272
|
adamc@378
|
273 fi
|
adamc@378
|
274
|
adamc@378
|
275
|
adamc@378
|
276 :
|
adamc@378
|
277 (as_func_return () {
|
adamc@378
|
278 (exit $1)
|
adamc@378
|
279 }
|
adamc@378
|
280 as_func_success () {
|
adamc@378
|
281 as_func_return 0
|
adamc@378
|
282 }
|
adamc@378
|
283 as_func_failure () {
|
adamc@378
|
284 as_func_return 1
|
adamc@378
|
285 }
|
adamc@378
|
286 as_func_ret_success () {
|
adamc@378
|
287 return 0
|
adamc@378
|
288 }
|
adamc@378
|
289 as_func_ret_failure () {
|
adamc@378
|
290 return 1
|
adamc@378
|
291 }
|
adamc@378
|
292
|
adamc@378
|
293 exitcode=0
|
adamc@378
|
294 if as_func_success; then
|
adamc@378
|
295 :
|
adamc@378
|
296 else
|
adamc@378
|
297 exitcode=1
|
adamc@378
|
298 echo as_func_success failed.
|
adamc@378
|
299 fi
|
adamc@378
|
300
|
adamc@378
|
301 if as_func_failure; then
|
adamc@378
|
302 exitcode=1
|
adamc@378
|
303 echo as_func_failure succeeded.
|
adamc@378
|
304 fi
|
adamc@378
|
305
|
adamc@378
|
306 if as_func_ret_success; then
|
adamc@378
|
307 :
|
adamc@378
|
308 else
|
adamc@378
|
309 exitcode=1
|
adamc@378
|
310 echo as_func_ret_success failed.
|
adamc@378
|
311 fi
|
adamc@378
|
312
|
adamc@378
|
313 if as_func_ret_failure; then
|
adamc@378
|
314 exitcode=1
|
adamc@378
|
315 echo as_func_ret_failure succeeded.
|
adamc@378
|
316 fi
|
adamc@378
|
317
|
adamc@378
|
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
|
adamc@378
|
319 :
|
adamc@378
|
320 else
|
adamc@378
|
321 exitcode=1
|
adamc@378
|
322 echo positional parameters were not saved.
|
adamc@378
|
323 fi
|
adamc@378
|
324
|
adamc@378
|
325 test $exitcode = 0) || { (exit 1); exit 1; }
|
adamc@378
|
326
|
adamc@378
|
327 (
|
adamc@378
|
328 as_lineno_1=$LINENO
|
adamc@378
|
329 as_lineno_2=$LINENO
|
adamc@378
|
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
adamc@378
|
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
adamc@378
|
332
|
adamc@378
|
333 _ASEOF
|
adamc@378
|
334 }; then
|
adamc@378
|
335 break
|
adamc@378
|
336 fi
|
adamc@378
|
337
|
adamc@378
|
338 fi
|
adamc@378
|
339
|
adamc@378
|
340 done
|
adamc@378
|
341
|
adamc@378
|
342 if test "x$CONFIG_SHELL" != x; then
|
adamc@378
|
343 for as_var in BASH_ENV ENV
|
adamc@378
|
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
adamc@378
|
345 done
|
adamc@378
|
346 export CONFIG_SHELL
|
adamc@378
|
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
adamc@378
|
348 fi
|
adamc@378
|
349
|
adamc@378
|
350
|
adamc@378
|
351 if test $as_have_required = no; then
|
adamc@378
|
352 echo This script requires a shell more modern than all the
|
adamc@378
|
353 echo shells that I found on your system. Please install a
|
adamc@378
|
354 echo modern shell, or manually run the script under such a
|
adamc@378
|
355 echo shell if you do have one.
|
adamc@378
|
356 { (exit 1); exit 1; }
|
adamc@378
|
357 fi
|
adamc@378
|
358
|
adamc@378
|
359
|
adamc@378
|
360 fi
|
adamc@378
|
361
|
adamc@378
|
362 fi
|
adamc@378
|
363
|
adamc@378
|
364
|
adamc@378
|
365
|
adamc@378
|
366 (eval "as_func_return () {
|
adamc@378
|
367 (exit \$1)
|
adamc@378
|
368 }
|
adamc@378
|
369 as_func_success () {
|
adamc@378
|
370 as_func_return 0
|
adamc@378
|
371 }
|
adamc@378
|
372 as_func_failure () {
|
adamc@378
|
373 as_func_return 1
|
adamc@378
|
374 }
|
adamc@378
|
375 as_func_ret_success () {
|
adamc@378
|
376 return 0
|
adamc@378
|
377 }
|
adamc@378
|
378 as_func_ret_failure () {
|
adamc@378
|
379 return 1
|
adamc@378
|
380 }
|
adamc@378
|
381
|
adamc@378
|
382 exitcode=0
|
adamc@378
|
383 if as_func_success; then
|
adamc@378
|
384 :
|
adamc@378
|
385 else
|
adamc@378
|
386 exitcode=1
|
adamc@378
|
387 echo as_func_success failed.
|
adamc@378
|
388 fi
|
adamc@378
|
389
|
adamc@378
|
390 if as_func_failure; then
|
adamc@378
|
391 exitcode=1
|
adamc@378
|
392 echo as_func_failure succeeded.
|
adamc@378
|
393 fi
|
adamc@378
|
394
|
adamc@378
|
395 if as_func_ret_success; then
|
adamc@378
|
396 :
|
adamc@378
|
397 else
|
adamc@378
|
398 exitcode=1
|
adamc@378
|
399 echo as_func_ret_success failed.
|
adamc@378
|
400 fi
|
adamc@378
|
401
|
adamc@378
|
402 if as_func_ret_failure; then
|
adamc@378
|
403 exitcode=1
|
adamc@378
|
404 echo as_func_ret_failure succeeded.
|
adamc@378
|
405 fi
|
adamc@378
|
406
|
adamc@378
|
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
adamc@378
|
408 :
|
adamc@378
|
409 else
|
adamc@378
|
410 exitcode=1
|
adamc@378
|
411 echo positional parameters were not saved.
|
adamc@378
|
412 fi
|
adamc@378
|
413
|
adamc@378
|
414 test \$exitcode = 0") || {
|
adamc@378
|
415 echo No shell found that supports shell functions.
|
adamc@378
|
416 echo Please tell autoconf@gnu.org about your system,
|
adamc@378
|
417 echo including any error possibly output before this
|
adamc@378
|
418 echo message
|
adamc@378
|
419 }
|
adamc@378
|
420
|
adamc@378
|
421
|
adamc@378
|
422
|
adamc@378
|
423 as_lineno_1=$LINENO
|
adamc@378
|
424 as_lineno_2=$LINENO
|
adamc@378
|
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
adamc@378
|
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
adamc@378
|
427
|
adamc@378
|
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
adamc@378
|
429 # uniformly replaced by the line number. The first 'sed' inserts a
|
adamc@378
|
430 # line-number line after each line using $LINENO; the second 'sed'
|
adamc@378
|
431 # does the real work. The second script uses 'N' to pair each
|
adamc@378
|
432 # line-number line with the line containing $LINENO, and appends
|
adamc@378
|
433 # trailing '-' during substitution so that $LINENO is not a special
|
adamc@378
|
434 # case at line end.
|
adamc@378
|
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
adamc@378
|
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
|
adamc@378
|
437 # E. McMahon (1931-1989) for sed's syntax. :-)
|
adamc@378
|
438 sed -n '
|
adamc@378
|
439 p
|
adamc@378
|
440 /[$]LINENO/=
|
adamc@378
|
441 ' <$as_myself |
|
adamc@378
|
442 sed '
|
adamc@378
|
443 s/[$]LINENO.*/&-/
|
adamc@378
|
444 t lineno
|
adamc@378
|
445 b
|
adamc@378
|
446 :lineno
|
adamc@378
|
447 N
|
adamc@378
|
448 :loop
|
adamc@378
|
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
adamc@378
|
450 t loop
|
adamc@378
|
451 s/-\n.*//
|
adamc@378
|
452 ' >$as_me.lineno &&
|
adamc@378
|
453 chmod +x "$as_me.lineno" ||
|
adamc@378
|
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
adamc@378
|
455 { (exit 1); exit 1; }; }
|
adamc@378
|
456
|
adamc@378
|
457 # Don't try to exec as it changes $[0], causing all sort of problems
|
adamc@378
|
458 # (the dirname of $[0] is not the place where we might find the
|
adamc@378
|
459 # original and so on. Autoconf is especially sensitive to this).
|
adamc@378
|
460 . "./$as_me.lineno"
|
adamc@378
|
461 # Exit status is that of the last command.
|
adamc@378
|
462 exit
|
adamc@378
|
463 }
|
adamc@378
|
464
|
adamc@378
|
465
|
adamc@378
|
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
adamc@378
|
467 as_dirname=dirname
|
adamc@378
|
468 else
|
adamc@378
|
469 as_dirname=false
|
adamc@378
|
470 fi
|
adamc@378
|
471
|
adamc@378
|
472 ECHO_C= ECHO_N= ECHO_T=
|
adamc@378
|
473 case `echo -n x` in
|
adamc@378
|
474 -n*)
|
adamc@378
|
475 case `echo 'x\c'` in
|
adamc@378
|
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
adamc@378
|
477 *) ECHO_C='\c';;
|
adamc@378
|
478 esac;;
|
adamc@378
|
479 *)
|
adamc@378
|
480 ECHO_N='-n';;
|
adamc@378
|
481 esac
|
adamc@378
|
482
|
adamc@378
|
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
adamc@378
|
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
adamc@378
|
485 as_expr=expr
|
adamc@378
|
486 else
|
adamc@378
|
487 as_expr=false
|
adamc@378
|
488 fi
|
adamc@378
|
489
|
adamc@378
|
490 rm -f conf$$ conf$$.exe conf$$.file
|
adamc@378
|
491 if test -d conf$$.dir; then
|
adamc@378
|
492 rm -f conf$$.dir/conf$$.file
|
adamc@378
|
493 else
|
adamc@378
|
494 rm -f conf$$.dir
|
adamc@378
|
495 mkdir conf$$.dir
|
adamc@378
|
496 fi
|
adamc@378
|
497 echo >conf$$.file
|
adamc@378
|
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
adamc@378
|
499 as_ln_s='ln -s'
|
adamc@378
|
500 # ... but there are two gotchas:
|
adamc@378
|
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
adamc@378
|
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
adamc@378
|
503 # In both cases, we have to default to `cp -p'.
|
adamc@378
|
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
adamc@378
|
505 as_ln_s='cp -p'
|
adamc@378
|
506 elif ln conf$$.file conf$$ 2>/dev/null; then
|
adamc@378
|
507 as_ln_s=ln
|
adamc@378
|
508 else
|
adamc@378
|
509 as_ln_s='cp -p'
|
adamc@378
|
510 fi
|
adamc@378
|
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
adamc@378
|
512 rmdir conf$$.dir 2>/dev/null
|
adamc@378
|
513
|
adamc@378
|
514 if mkdir -p . 2>/dev/null; then
|
adamc@378
|
515 as_mkdir_p=:
|
adamc@378
|
516 else
|
adamc@378
|
517 test -d ./-p && rmdir ./-p
|
adamc@378
|
518 as_mkdir_p=false
|
adamc@378
|
519 fi
|
adamc@378
|
520
|
adamc@378
|
521 if test -x / >/dev/null 2>&1; then
|
adamc@378
|
522 as_test_x='test -x'
|
adamc@378
|
523 else
|
adamc@378
|
524 if ls -dL / >/dev/null 2>&1; then
|
adamc@378
|
525 as_ls_L_option=L
|
adamc@378
|
526 else
|
adamc@378
|
527 as_ls_L_option=
|
adamc@378
|
528 fi
|
adamc@378
|
529 as_test_x='
|
adamc@378
|
530 eval sh -c '\''
|
adamc@378
|
531 if test -d "$1"; then
|
adamc@378
|
532 test -d "$1/.";
|
adamc@378
|
533 else
|
adamc@378
|
534 case $1 in
|
adamc@378
|
535 -*)set "./$1";;
|
adamc@378
|
536 esac;
|
adamc@378
|
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
adamc@378
|
538 ???[sx]*):;;*)false;;esac;fi
|
adamc@378
|
539 '\'' sh
|
adamc@378
|
540 '
|
adamc@378
|
541 fi
|
adamc@378
|
542 as_executable_p=$as_test_x
|
adamc@378
|
543
|
adamc@378
|
544 # Sed expression to map a string onto a valid CPP name.
|
adamc@378
|
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
adamc@378
|
546
|
adamc@378
|
547 # Sed expression to map a string onto a valid variable name.
|
adamc@378
|
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
adamc@378
|
549
|
adamc@378
|
550
|
adamc@378
|
551
|
adamc@378
|
552 exec 7<&0 </dev/null 6>&1
|
adamc@378
|
553
|
adamc@378
|
554 # Name of the host.
|
adamc@378
|
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
adamc@378
|
556 # so uname gets run too.
|
adamc@378
|
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
adamc@378
|
558
|
adamc@378
|
559 #
|
adamc@378
|
560 # Initializations.
|
adamc@378
|
561 #
|
adamc@378
|
562 ac_default_prefix=/usr/local
|
adamc@378
|
563 ac_clean_files=
|
adamc@378
|
564 ac_config_libobj_dir=.
|
adamc@378
|
565 LIBOBJS=
|
adamc@378
|
566 cross_compiling=no
|
adamc@378
|
567 subdirs=
|
adamc@378
|
568 MFLAGS=
|
adamc@378
|
569 MAKEFLAGS=
|
adamc@378
|
570 SHELL=${CONFIG_SHELL-/bin/sh}
|
adamc@378
|
571
|
adamc@378
|
572 # Identity of this package.
|
adamc@378
|
573 PACKAGE_NAME=
|
adamc@378
|
574 PACKAGE_TARNAME=
|
adamc@378
|
575 PACKAGE_VERSION=
|
adamc@378
|
576 PACKAGE_STRING=
|
adamc@378
|
577 PACKAGE_BUGREPORT=
|
adamc@378
|
578
|
adamc@378
|
579 ac_unique_file="THIS_IS_URWEB"
|
adamc@378
|
580 ac_subst_vars='SHELL
|
adamc@378
|
581 PATH_SEPARATOR
|
adamc@378
|
582 PACKAGE_NAME
|
adamc@378
|
583 PACKAGE_TARNAME
|
adamc@378
|
584 PACKAGE_VERSION
|
adamc@378
|
585 PACKAGE_STRING
|
adamc@378
|
586 PACKAGE_BUGREPORT
|
adamc@378
|
587 exec_prefix
|
adamc@378
|
588 prefix
|
adamc@378
|
589 program_transform_name
|
adamc@378
|
590 bindir
|
adamc@378
|
591 sbindir
|
adamc@378
|
592 libexecdir
|
adamc@378
|
593 datarootdir
|
adamc@378
|
594 datadir
|
adamc@378
|
595 sysconfdir
|
adamc@378
|
596 sharedstatedir
|
adamc@378
|
597 localstatedir
|
adamc@378
|
598 includedir
|
adamc@378
|
599 oldincludedir
|
adamc@378
|
600 docdir
|
adamc@378
|
601 infodir
|
adamc@378
|
602 htmldir
|
adamc@378
|
603 dvidir
|
adamc@378
|
604 pdfdir
|
adamc@378
|
605 psdir
|
adamc@378
|
606 libdir
|
adamc@378
|
607 localedir
|
adamc@378
|
608 mandir
|
adamc@378
|
609 DEFS
|
adamc@378
|
610 ECHO_C
|
adamc@378
|
611 ECHO_N
|
adamc@378
|
612 ECHO_T
|
adamc@378
|
613 LIBS
|
adamc@378
|
614 build_alias
|
adamc@378
|
615 host_alias
|
adamc@378
|
616 target_alias
|
adamc@378
|
617 BIN
|
adamc@378
|
618 LIB
|
adamc@378
|
619 INCLUDE
|
adamc@378
|
620 SITELISP
|
adamc@435
|
621 GCCARGS
|
adamc@378
|
622 do_not_edit
|
adamc@378
|
623 LIBOBJS
|
adamc@378
|
624 LTLIBOBJS'
|
adamc@378
|
625 ac_subst_files=''
|
adamc@378
|
626 ac_precious_vars='build_alias
|
adamc@378
|
627 host_alias
|
adamc@378
|
628 target_alias'
|
adamc@378
|
629
|
adamc@378
|
630
|
adamc@378
|
631 # Initialize some variables set by options.
|
adamc@378
|
632 ac_init_help=
|
adamc@378
|
633 ac_init_version=false
|
adamc@378
|
634 # The variables have the same names as the options, with
|
adamc@378
|
635 # dashes changed to underlines.
|
adamc@378
|
636 cache_file=/dev/null
|
adamc@378
|
637 exec_prefix=NONE
|
adamc@378
|
638 no_create=
|
adamc@378
|
639 no_recursion=
|
adamc@378
|
640 prefix=NONE
|
adamc@378
|
641 program_prefix=NONE
|
adamc@378
|
642 program_suffix=NONE
|
adamc@378
|
643 program_transform_name=s,x,x,
|
adamc@378
|
644 silent=
|
adamc@378
|
645 site=
|
adamc@378
|
646 srcdir=
|
adamc@378
|
647 verbose=
|
adamc@378
|
648 x_includes=NONE
|
adamc@378
|
649 x_libraries=NONE
|
adamc@378
|
650
|
adamc@378
|
651 # Installation directory options.
|
adamc@378
|
652 # These are left unexpanded so users can "make install exec_prefix=/foo"
|
adamc@378
|
653 # and all the variables that are supposed to be based on exec_prefix
|
adamc@378
|
654 # by default will actually change.
|
adamc@378
|
655 # Use braces instead of parens because sh, perl, etc. also accept them.
|
adamc@378
|
656 # (The list follows the same order as the GNU Coding Standards.)
|
adamc@378
|
657 bindir='${exec_prefix}/bin'
|
adamc@378
|
658 sbindir='${exec_prefix}/sbin'
|
adamc@378
|
659 libexecdir='${exec_prefix}/libexec'
|
adamc@378
|
660 datarootdir='${prefix}/share'
|
adamc@378
|
661 datadir='${datarootdir}'
|
adamc@378
|
662 sysconfdir='${prefix}/etc'
|
adamc@378
|
663 sharedstatedir='${prefix}/com'
|
adamc@378
|
664 localstatedir='${prefix}/var'
|
adamc@378
|
665 includedir='${prefix}/include'
|
adamc@378
|
666 oldincludedir='/usr/include'
|
adamc@378
|
667 docdir='${datarootdir}/doc/${PACKAGE}'
|
adamc@378
|
668 infodir='${datarootdir}/info'
|
adamc@378
|
669 htmldir='${docdir}'
|
adamc@378
|
670 dvidir='${docdir}'
|
adamc@378
|
671 pdfdir='${docdir}'
|
adamc@378
|
672 psdir='${docdir}'
|
adamc@378
|
673 libdir='${exec_prefix}/lib'
|
adamc@378
|
674 localedir='${datarootdir}/locale'
|
adamc@378
|
675 mandir='${datarootdir}/man'
|
adamc@378
|
676
|
adamc@378
|
677 ac_prev=
|
adamc@378
|
678 ac_dashdash=
|
adamc@378
|
679 for ac_option
|
adamc@378
|
680 do
|
adamc@378
|
681 # If the previous option needs an argument, assign it.
|
adamc@378
|
682 if test -n "$ac_prev"; then
|
adamc@378
|
683 eval $ac_prev=\$ac_option
|
adamc@378
|
684 ac_prev=
|
adamc@378
|
685 continue
|
adamc@378
|
686 fi
|
adamc@378
|
687
|
adamc@378
|
688 case $ac_option in
|
adamc@378
|
689 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
adamc@378
|
690 *) ac_optarg=yes ;;
|
adamc@378
|
691 esac
|
adamc@378
|
692
|
adamc@378
|
693 # Accept the important Cygnus configure options, so we can diagnose typos.
|
adamc@378
|
694
|
adamc@378
|
695 case $ac_dashdash$ac_option in
|
adamc@378
|
696 --)
|
adamc@378
|
697 ac_dashdash=yes ;;
|
adamc@378
|
698
|
adamc@378
|
699 -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
adamc@378
|
700 ac_prev=bindir ;;
|
adamc@378
|
701 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
adamc@378
|
702 bindir=$ac_optarg ;;
|
adamc@378
|
703
|
adamc@378
|
704 -build | --build | --buil | --bui | --bu)
|
adamc@378
|
705 ac_prev=build_alias ;;
|
adamc@378
|
706 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
adamc@378
|
707 build_alias=$ac_optarg ;;
|
adamc@378
|
708
|
adamc@378
|
709 -cache-file | --cache-file | --cache-fil | --cache-fi \
|
adamc@378
|
710 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
adamc@378
|
711 ac_prev=cache_file ;;
|
adamc@378
|
712 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
adamc@378
|
713 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
adamc@378
|
714 cache_file=$ac_optarg ;;
|
adamc@378
|
715
|
adamc@378
|
716 --config-cache | -C)
|
adamc@378
|
717 cache_file=config.cache ;;
|
adamc@378
|
718
|
adamc@378
|
719 -datadir | --datadir | --datadi | --datad)
|
adamc@378
|
720 ac_prev=datadir ;;
|
adamc@378
|
721 -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
adamc@378
|
722 datadir=$ac_optarg ;;
|
adamc@378
|
723
|
adamc@378
|
724 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
adamc@378
|
725 | --dataroo | --dataro | --datar)
|
adamc@378
|
726 ac_prev=datarootdir ;;
|
adamc@378
|
727 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
adamc@378
|
728 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
adamc@378
|
729 datarootdir=$ac_optarg ;;
|
adamc@378
|
730
|
adamc@378
|
731 -disable-* | --disable-*)
|
adamc@378
|
732 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
adamc@378
|
733 # Reject names that are not valid shell variable names.
|
adamc@378
|
734 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
adamc@378
|
735 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
adamc@378
|
736 { (exit 1); exit 1; }; }
|
adamc@378
|
737 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
adamc@378
|
738 eval enable_$ac_feature=no ;;
|
adamc@378
|
739
|
adamc@378
|
740 -docdir | --docdir | --docdi | --doc | --do)
|
adamc@378
|
741 ac_prev=docdir ;;
|
adamc@378
|
742 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
adamc@378
|
743 docdir=$ac_optarg ;;
|
adamc@378
|
744
|
adamc@378
|
745 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
adamc@378
|
746 ac_prev=dvidir ;;
|
adamc@378
|
747 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
adamc@378
|
748 dvidir=$ac_optarg ;;
|
adamc@378
|
749
|
adamc@378
|
750 -enable-* | --enable-*)
|
adamc@378
|
751 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
adamc@378
|
752 # Reject names that are not valid shell variable names.
|
adamc@378
|
753 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
adamc@378
|
754 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
adamc@378
|
755 { (exit 1); exit 1; }; }
|
adamc@378
|
756 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
adamc@378
|
757 eval enable_$ac_feature=\$ac_optarg ;;
|
adamc@378
|
758
|
adamc@378
|
759 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
adamc@378
|
760 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
adamc@378
|
761 | --exec | --exe | --ex)
|
adamc@378
|
762 ac_prev=exec_prefix ;;
|
adamc@378
|
763 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
adamc@378
|
764 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
adamc@378
|
765 | --exec=* | --exe=* | --ex=*)
|
adamc@378
|
766 exec_prefix=$ac_optarg ;;
|
adamc@378
|
767
|
adamc@378
|
768 -gas | --gas | --ga | --g)
|
adamc@378
|
769 # Obsolete; use --with-gas.
|
adamc@378
|
770 with_gas=yes ;;
|
adamc@378
|
771
|
adamc@378
|
772 -help | --help | --hel | --he | -h)
|
adamc@378
|
773 ac_init_help=long ;;
|
adamc@378
|
774 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
adamc@378
|
775 ac_init_help=recursive ;;
|
adamc@378
|
776 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
adamc@378
|
777 ac_init_help=short ;;
|
adamc@378
|
778
|
adamc@378
|
779 -host | --host | --hos | --ho)
|
adamc@378
|
780 ac_prev=host_alias ;;
|
adamc@378
|
781 -host=* | --host=* | --hos=* | --ho=*)
|
adamc@378
|
782 host_alias=$ac_optarg ;;
|
adamc@378
|
783
|
adamc@378
|
784 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
adamc@378
|
785 ac_prev=htmldir ;;
|
adamc@378
|
786 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
adamc@378
|
787 | --ht=*)
|
adamc@378
|
788 htmldir=$ac_optarg ;;
|
adamc@378
|
789
|
adamc@378
|
790 -includedir | --includedir | --includedi | --included | --include \
|
adamc@378
|
791 | --includ | --inclu | --incl | --inc)
|
adamc@378
|
792 ac_prev=includedir ;;
|
adamc@378
|
793 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
adamc@378
|
794 | --includ=* | --inclu=* | --incl=* | --inc=*)
|
adamc@378
|
795 includedir=$ac_optarg ;;
|
adamc@378
|
796
|
adamc@378
|
797 -infodir | --infodir | --infodi | --infod | --info | --inf)
|
adamc@378
|
798 ac_prev=infodir ;;
|
adamc@378
|
799 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
adamc@378
|
800 infodir=$ac_optarg ;;
|
adamc@378
|
801
|
adamc@378
|
802 -libdir | --libdir | --libdi | --libd)
|
adamc@378
|
803 ac_prev=libdir ;;
|
adamc@378
|
804 -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
adamc@378
|
805 libdir=$ac_optarg ;;
|
adamc@378
|
806
|
adamc@378
|
807 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
adamc@378
|
808 | --libexe | --libex | --libe)
|
adamc@378
|
809 ac_prev=libexecdir ;;
|
adamc@378
|
810 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
adamc@378
|
811 | --libexe=* | --libex=* | --libe=*)
|
adamc@378
|
812 libexecdir=$ac_optarg ;;
|
adamc@378
|
813
|
adamc@378
|
814 -localedir | --localedir | --localedi | --localed | --locale)
|
adamc@378
|
815 ac_prev=localedir ;;
|
adamc@378
|
816 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
adamc@378
|
817 localedir=$ac_optarg ;;
|
adamc@378
|
818
|
adamc@378
|
819 -localstatedir | --localstatedir | --localstatedi | --localstated \
|
adamc@378
|
820 | --localstate | --localstat | --localsta | --localst | --locals)
|
adamc@378
|
821 ac_prev=localstatedir ;;
|
adamc@378
|
822 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
adamc@378
|
823 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
adamc@378
|
824 localstatedir=$ac_optarg ;;
|
adamc@378
|
825
|
adamc@378
|
826 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
adamc@378
|
827 ac_prev=mandir ;;
|
adamc@378
|
828 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
adamc@378
|
829 mandir=$ac_optarg ;;
|
adamc@378
|
830
|
adamc@378
|
831 -nfp | --nfp | --nf)
|
adamc@378
|
832 # Obsolete; use --without-fp.
|
adamc@378
|
833 with_fp=no ;;
|
adamc@378
|
834
|
adamc@378
|
835 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
adamc@378
|
836 | --no-cr | --no-c | -n)
|
adamc@378
|
837 no_create=yes ;;
|
adamc@378
|
838
|
adamc@378
|
839 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
adamc@378
|
840 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
adamc@378
|
841 no_recursion=yes ;;
|
adamc@378
|
842
|
adamc@378
|
843 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
adamc@378
|
844 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
adamc@378
|
845 | --oldin | --oldi | --old | --ol | --o)
|
adamc@378
|
846 ac_prev=oldincludedir ;;
|
adamc@378
|
847 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
adamc@378
|
848 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
adamc@378
|
849 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
adamc@378
|
850 oldincludedir=$ac_optarg ;;
|
adamc@378
|
851
|
adamc@378
|
852 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
adamc@378
|
853 ac_prev=prefix ;;
|
adamc@378
|
854 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
adamc@378
|
855 prefix=$ac_optarg ;;
|
adamc@378
|
856
|
adamc@378
|
857 -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
adamc@378
|
858 | --program-pre | --program-pr | --program-p)
|
adamc@378
|
859 ac_prev=program_prefix ;;
|
adamc@378
|
860 -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
adamc@378
|
861 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
adamc@378
|
862 program_prefix=$ac_optarg ;;
|
adamc@378
|
863
|
adamc@378
|
864 -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
adamc@378
|
865 | --program-suf | --program-su | --program-s)
|
adamc@378
|
866 ac_prev=program_suffix ;;
|
adamc@378
|
867 -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
adamc@378
|
868 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
adamc@378
|
869 program_suffix=$ac_optarg ;;
|
adamc@378
|
870
|
adamc@378
|
871 -program-transform-name | --program-transform-name \
|
adamc@378
|
872 | --program-transform-nam | --program-transform-na \
|
adamc@378
|
873 | --program-transform-n | --program-transform- \
|
adamc@378
|
874 | --program-transform | --program-transfor \
|
adamc@378
|
875 | --program-transfo | --program-transf \
|
adamc@378
|
876 | --program-trans | --program-tran \
|
adamc@378
|
877 | --progr-tra | --program-tr | --program-t)
|
adamc@378
|
878 ac_prev=program_transform_name ;;
|
adamc@378
|
879 -program-transform-name=* | --program-transform-name=* \
|
adamc@378
|
880 | --program-transform-nam=* | --program-transform-na=* \
|
adamc@378
|
881 | --program-transform-n=* | --program-transform-=* \
|
adamc@378
|
882 | --program-transform=* | --program-transfor=* \
|
adamc@378
|
883 | --program-transfo=* | --program-transf=* \
|
adamc@378
|
884 | --program-trans=* | --program-tran=* \
|
adamc@378
|
885 | --progr-tra=* | --program-tr=* | --program-t=*)
|
adamc@378
|
886 program_transform_name=$ac_optarg ;;
|
adamc@378
|
887
|
adamc@378
|
888 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
adamc@378
|
889 ac_prev=pdfdir ;;
|
adamc@378
|
890 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
adamc@378
|
891 pdfdir=$ac_optarg ;;
|
adamc@378
|
892
|
adamc@378
|
893 -psdir | --psdir | --psdi | --psd | --ps)
|
adamc@378
|
894 ac_prev=psdir ;;
|
adamc@378
|
895 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
adamc@378
|
896 psdir=$ac_optarg ;;
|
adamc@378
|
897
|
adamc@378
|
898 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
adamc@378
|
899 | -silent | --silent | --silen | --sile | --sil)
|
adamc@378
|
900 silent=yes ;;
|
adamc@378
|
901
|
adamc@378
|
902 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
adamc@378
|
903 ac_prev=sbindir ;;
|
adamc@378
|
904 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
adamc@378
|
905 | --sbi=* | --sb=*)
|
adamc@378
|
906 sbindir=$ac_optarg ;;
|
adamc@378
|
907
|
adamc@378
|
908 -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
adamc@378
|
909 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
adamc@378
|
910 | --sharedst | --shareds | --shared | --share | --shar \
|
adamc@378
|
911 | --sha | --sh)
|
adamc@378
|
912 ac_prev=sharedstatedir ;;
|
adamc@378
|
913 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
adamc@378
|
914 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
adamc@378
|
915 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
adamc@378
|
916 | --sha=* | --sh=*)
|
adamc@378
|
917 sharedstatedir=$ac_optarg ;;
|
adamc@378
|
918
|
adamc@378
|
919 -site | --site | --sit)
|
adamc@378
|
920 ac_prev=site ;;
|
adamc@378
|
921 -site=* | --site=* | --sit=*)
|
adamc@378
|
922 site=$ac_optarg ;;
|
adamc@378
|
923
|
adamc@378
|
924 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
adamc@378
|
925 ac_prev=srcdir ;;
|
adamc@378
|
926 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
adamc@378
|
927 srcdir=$ac_optarg ;;
|
adamc@378
|
928
|
adamc@378
|
929 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
adamc@378
|
930 | --syscon | --sysco | --sysc | --sys | --sy)
|
adamc@378
|
931 ac_prev=sysconfdir ;;
|
adamc@378
|
932 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
adamc@378
|
933 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
adamc@378
|
934 sysconfdir=$ac_optarg ;;
|
adamc@378
|
935
|
adamc@378
|
936 -target | --target | --targe | --targ | --tar | --ta | --t)
|
adamc@378
|
937 ac_prev=target_alias ;;
|
adamc@378
|
938 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
adamc@378
|
939 target_alias=$ac_optarg ;;
|
adamc@378
|
940
|
adamc@378
|
941 -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
adamc@378
|
942 verbose=yes ;;
|
adamc@378
|
943
|
adamc@378
|
944 -version | --version | --versio | --versi | --vers | -V)
|
adamc@378
|
945 ac_init_version=: ;;
|
adamc@378
|
946
|
adamc@378
|
947 -with-* | --with-*)
|
adamc@378
|
948 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
adamc@378
|
949 # Reject names that are not valid shell variable names.
|
adamc@378
|
950 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
adamc@378
|
951 { echo "$as_me: error: invalid package name: $ac_package" >&2
|
adamc@378
|
952 { (exit 1); exit 1; }; }
|
adamc@378
|
953 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
adamc@378
|
954 eval with_$ac_package=\$ac_optarg ;;
|
adamc@378
|
955
|
adamc@378
|
956 -without-* | --without-*)
|
adamc@378
|
957 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
adamc@378
|
958 # Reject names that are not valid shell variable names.
|
adamc@378
|
959 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
adamc@378
|
960 { echo "$as_me: error: invalid package name: $ac_package" >&2
|
adamc@378
|
961 { (exit 1); exit 1; }; }
|
adamc@378
|
962 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
adamc@378
|
963 eval with_$ac_package=no ;;
|
adamc@378
|
964
|
adamc@378
|
965 --x)
|
adamc@378
|
966 # Obsolete; use --with-x.
|
adamc@378
|
967 with_x=yes ;;
|
adamc@378
|
968
|
adamc@378
|
969 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
adamc@378
|
970 | --x-incl | --x-inc | --x-in | --x-i)
|
adamc@378
|
971 ac_prev=x_includes ;;
|
adamc@378
|
972 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
adamc@378
|
973 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
adamc@378
|
974 x_includes=$ac_optarg ;;
|
adamc@378
|
975
|
adamc@378
|
976 -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
adamc@378
|
977 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
adamc@378
|
978 ac_prev=x_libraries ;;
|
adamc@378
|
979 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
adamc@378
|
980 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
adamc@378
|
981 x_libraries=$ac_optarg ;;
|
adamc@378
|
982
|
adamc@378
|
983 -*) { echo "$as_me: error: unrecognized option: $ac_option
|
adamc@378
|
984 Try \`$0 --help' for more information." >&2
|
adamc@378
|
985 { (exit 1); exit 1; }; }
|
adamc@378
|
986 ;;
|
adamc@378
|
987
|
adamc@378
|
988 *=*)
|
adamc@378
|
989 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
adamc@378
|
990 # Reject names that are not valid shell variable names.
|
adamc@378
|
991 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
adamc@378
|
992 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
adamc@378
|
993 { (exit 1); exit 1; }; }
|
adamc@378
|
994 eval $ac_envvar=\$ac_optarg
|
adamc@378
|
995 export $ac_envvar ;;
|
adamc@378
|
996
|
adamc@378
|
997 *)
|
adamc@378
|
998 # FIXME: should be removed in autoconf 3.0.
|
adamc@378
|
999 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
adamc@378
|
1000 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
adamc@378
|
1001 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
adamc@378
|
1002 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
adamc@378
|
1003 ;;
|
adamc@378
|
1004
|
adamc@378
|
1005 esac
|
adamc@378
|
1006 done
|
adamc@378
|
1007
|
adamc@378
|
1008 if test -n "$ac_prev"; then
|
adamc@378
|
1009 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
adamc@378
|
1010 { echo "$as_me: error: missing argument to $ac_option" >&2
|
adamc@378
|
1011 { (exit 1); exit 1; }; }
|
adamc@378
|
1012 fi
|
adamc@378
|
1013
|
adamc@378
|
1014 # Be sure to have absolute directory names.
|
adamc@378
|
1015 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
adamc@378
|
1016 datadir sysconfdir sharedstatedir localstatedir includedir \
|
adamc@378
|
1017 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
adamc@378
|
1018 libdir localedir mandir
|
adamc@378
|
1019 do
|
adamc@378
|
1020 eval ac_val=\$$ac_var
|
adamc@378
|
1021 case $ac_val in
|
adamc@378
|
1022 [\\/$]* | ?:[\\/]* ) continue;;
|
adamc@378
|
1023 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
adamc@378
|
1024 esac
|
adamc@378
|
1025 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
adamc@378
|
1026 { (exit 1); exit 1; }; }
|
adamc@378
|
1027 done
|
adamc@378
|
1028
|
adamc@378
|
1029 # There might be people who depend on the old broken behavior: `$host'
|
adamc@378
|
1030 # used to hold the argument of --host etc.
|
adamc@378
|
1031 # FIXME: To remove some day.
|
adamc@378
|
1032 build=$build_alias
|
adamc@378
|
1033 host=$host_alias
|
adamc@378
|
1034 target=$target_alias
|
adamc@378
|
1035
|
adamc@378
|
1036 # FIXME: To remove some day.
|
adamc@378
|
1037 if test "x$host_alias" != x; then
|
adamc@378
|
1038 if test "x$build_alias" = x; then
|
adamc@378
|
1039 cross_compiling=maybe
|
adamc@378
|
1040 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
adamc@378
|
1041 If a cross compiler is detected then cross compile mode will be used." >&2
|
adamc@378
|
1042 elif test "x$build_alias" != "x$host_alias"; then
|
adamc@378
|
1043 cross_compiling=yes
|
adamc@378
|
1044 fi
|
adamc@378
|
1045 fi
|
adamc@378
|
1046
|
adamc@378
|
1047 ac_tool_prefix=
|
adamc@378
|
1048 test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
adamc@378
|
1049
|
adamc@378
|
1050 test "$silent" = yes && exec 6>/dev/null
|
adamc@378
|
1051
|
adamc@378
|
1052
|
adamc@378
|
1053 ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
adamc@378
|
1054 ac_ls_di=`ls -di .` &&
|
adamc@378
|
1055 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
adamc@378
|
1056 { echo "$as_me: error: Working directory cannot be determined" >&2
|
adamc@378
|
1057 { (exit 1); exit 1; }; }
|
adamc@378
|
1058 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
adamc@378
|
1059 { echo "$as_me: error: pwd does not report name of working directory" >&2
|
adamc@378
|
1060 { (exit 1); exit 1; }; }
|
adamc@378
|
1061
|
adamc@378
|
1062
|
adamc@378
|
1063 # Find the source files, if location was not specified.
|
adamc@378
|
1064 if test -z "$srcdir"; then
|
adamc@378
|
1065 ac_srcdir_defaulted=yes
|
adamc@378
|
1066 # Try the directory containing this script, then the parent directory.
|
adamc@378
|
1067 ac_confdir=`$as_dirname -- "$0" ||
|
adamc@378
|
1068 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adamc@378
|
1069 X"$0" : 'X\(//\)[^/]' \| \
|
adamc@378
|
1070 X"$0" : 'X\(//\)$' \| \
|
adamc@378
|
1071 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
adamc@378
|
1072 echo X"$0" |
|
adamc@378
|
1073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adamc@378
|
1074 s//\1/
|
adamc@378
|
1075 q
|
adamc@378
|
1076 }
|
adamc@378
|
1077 /^X\(\/\/\)[^/].*/{
|
adamc@378
|
1078 s//\1/
|
adamc@378
|
1079 q
|
adamc@378
|
1080 }
|
adamc@378
|
1081 /^X\(\/\/\)$/{
|
adamc@378
|
1082 s//\1/
|
adamc@378
|
1083 q
|
adamc@378
|
1084 }
|
adamc@378
|
1085 /^X\(\/\).*/{
|
adamc@378
|
1086 s//\1/
|
adamc@378
|
1087 q
|
adamc@378
|
1088 }
|
adamc@378
|
1089 s/.*/./; q'`
|
adamc@378
|
1090 srcdir=$ac_confdir
|
adamc@378
|
1091 if test ! -r "$srcdir/$ac_unique_file"; then
|
adamc@378
|
1092 srcdir=..
|
adamc@378
|
1093 fi
|
adamc@378
|
1094 else
|
adamc@378
|
1095 ac_srcdir_defaulted=no
|
adamc@378
|
1096 fi
|
adamc@378
|
1097 if test ! -r "$srcdir/$ac_unique_file"; then
|
adamc@378
|
1098 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
adamc@378
|
1099 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
adamc@378
|
1100 { (exit 1); exit 1; }; }
|
adamc@378
|
1101 fi
|
adamc@378
|
1102 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
adamc@378
|
1103 ac_abs_confdir=`(
|
adamc@378
|
1104 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
adamc@378
|
1105 { (exit 1); exit 1; }; }
|
adamc@378
|
1106 pwd)`
|
adamc@378
|
1107 # When building in place, set srcdir=.
|
adamc@378
|
1108 if test "$ac_abs_confdir" = "$ac_pwd"; then
|
adamc@378
|
1109 srcdir=.
|
adamc@378
|
1110 fi
|
adamc@378
|
1111 # Remove unnecessary trailing slashes from srcdir.
|
adamc@378
|
1112 # Double slashes in file names in object file debugging info
|
adamc@378
|
1113 # mess up M-x gdb in Emacs.
|
adamc@378
|
1114 case $srcdir in
|
adamc@378
|
1115 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
adamc@378
|
1116 esac
|
adamc@378
|
1117 for ac_var in $ac_precious_vars; do
|
adamc@378
|
1118 eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
adamc@378
|
1119 eval ac_env_${ac_var}_value=\$${ac_var}
|
adamc@378
|
1120 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
adamc@378
|
1121 eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
adamc@378
|
1122 done
|
adamc@378
|
1123
|
adamc@378
|
1124 #
|
adamc@378
|
1125 # Report the --help message.
|
adamc@378
|
1126 #
|
adamc@378
|
1127 if test "$ac_init_help" = "long"; then
|
adamc@378
|
1128 # Omit some internal or obsolete options to make the list less imposing.
|
adamc@378
|
1129 # This message is too long to be a string in the A/UX 3.1 sh.
|
adamc@378
|
1130 cat <<_ACEOF
|
adamc@378
|
1131 \`configure' configures this package to adapt to many kinds of systems.
|
adamc@378
|
1132
|
adamc@378
|
1133 Usage: $0 [OPTION]... [VAR=VALUE]...
|
adamc@378
|
1134
|
adamc@378
|
1135 To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
adamc@378
|
1136 VAR=VALUE. See below for descriptions of some of the useful variables.
|
adamc@378
|
1137
|
adamc@378
|
1138 Defaults for the options are specified in brackets.
|
adamc@378
|
1139
|
adamc@378
|
1140 Configuration:
|
adamc@378
|
1141 -h, --help display this help and exit
|
adamc@378
|
1142 --help=short display options specific to this package
|
adamc@378
|
1143 --help=recursive display the short help of all the included packages
|
adamc@378
|
1144 -V, --version display version information and exit
|
adamc@378
|
1145 -q, --quiet, --silent do not print \`checking...' messages
|
adamc@378
|
1146 --cache-file=FILE cache test results in FILE [disabled]
|
adamc@378
|
1147 -C, --config-cache alias for \`--cache-file=config.cache'
|
adamc@378
|
1148 -n, --no-create do not create output files
|
adamc@378
|
1149 --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
adamc@378
|
1150
|
adamc@378
|
1151 Installation directories:
|
adamc@378
|
1152 --prefix=PREFIX install architecture-independent files in PREFIX
|
adamc@378
|
1153 [$ac_default_prefix]
|
adamc@378
|
1154 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
adamc@378
|
1155 [PREFIX]
|
adamc@378
|
1156
|
adamc@378
|
1157 By default, \`make install' will install all the files in
|
adamc@378
|
1158 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
adamc@378
|
1159 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
adamc@378
|
1160 for instance \`--prefix=\$HOME'.
|
adamc@378
|
1161
|
adamc@378
|
1162 For better control, use the options below.
|
adamc@378
|
1163
|
adamc@378
|
1164 Fine tuning of the installation directories:
|
adamc@378
|
1165 --bindir=DIR user executables [EPREFIX/bin]
|
adamc@378
|
1166 --sbindir=DIR system admin executables [EPREFIX/sbin]
|
adamc@378
|
1167 --libexecdir=DIR program executables [EPREFIX/libexec]
|
adamc@378
|
1168 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
adamc@378
|
1169 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
adamc@378
|
1170 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
adamc@378
|
1171 --libdir=DIR object code libraries [EPREFIX/lib]
|
adamc@378
|
1172 --includedir=DIR C header files [PREFIX/include]
|
adamc@378
|
1173 --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
adamc@378
|
1174 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
adamc@378
|
1175 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
adamc@378
|
1176 --infodir=DIR info documentation [DATAROOTDIR/info]
|
adamc@378
|
1177 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
adamc@378
|
1178 --mandir=DIR man documentation [DATAROOTDIR/man]
|
adamc@378
|
1179 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
adamc@378
|
1180 --htmldir=DIR html documentation [DOCDIR]
|
adamc@378
|
1181 --dvidir=DIR dvi documentation [DOCDIR]
|
adamc@378
|
1182 --pdfdir=DIR pdf documentation [DOCDIR]
|
adamc@378
|
1183 --psdir=DIR ps documentation [DOCDIR]
|
adamc@378
|
1184 _ACEOF
|
adamc@378
|
1185
|
adamc@378
|
1186 cat <<\_ACEOF
|
adamc@378
|
1187 _ACEOF
|
adamc@378
|
1188 fi
|
adamc@378
|
1189
|
adamc@378
|
1190 if test -n "$ac_init_help"; then
|
adamc@378
|
1191
|
adamc@378
|
1192 cat <<\_ACEOF
|
adamc@378
|
1193
|
adamc@378
|
1194 _ACEOF
|
adamc@378
|
1195 ac_status=$?
|
adamc@378
|
1196 fi
|
adamc@378
|
1197
|
adamc@378
|
1198 if test "$ac_init_help" = "recursive"; then
|
adamc@378
|
1199 # If there are subdirs, report their specific --help.
|
adamc@378
|
1200 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
adamc@378
|
1201 test -d "$ac_dir" || continue
|
adamc@378
|
1202 ac_builddir=.
|
adamc@378
|
1203
|
adamc@378
|
1204 case "$ac_dir" in
|
adamc@378
|
1205 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adamc@378
|
1206 *)
|
adamc@378
|
1207 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
adamc@378
|
1208 # A ".." for each directory in $ac_dir_suffix.
|
adamc@378
|
1209 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
adamc@378
|
1210 case $ac_top_builddir_sub in
|
adamc@378
|
1211 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adamc@378
|
1212 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
adamc@378
|
1213 esac ;;
|
adamc@378
|
1214 esac
|
adamc@378
|
1215 ac_abs_top_builddir=$ac_pwd
|
adamc@378
|
1216 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
adamc@378
|
1217 # for backward compatibility:
|
adamc@378
|
1218 ac_top_builddir=$ac_top_build_prefix
|
adamc@378
|
1219
|
adamc@378
|
1220 case $srcdir in
|
adamc@378
|
1221 .) # We are building in place.
|
adamc@378
|
1222 ac_srcdir=.
|
adamc@378
|
1223 ac_top_srcdir=$ac_top_builddir_sub
|
adamc@378
|
1224 ac_abs_top_srcdir=$ac_pwd ;;
|
adamc@378
|
1225 [\\/]* | ?:[\\/]* ) # Absolute name.
|
adamc@378
|
1226 ac_srcdir=$srcdir$ac_dir_suffix;
|
adamc@378
|
1227 ac_top_srcdir=$srcdir
|
adamc@378
|
1228 ac_abs_top_srcdir=$srcdir ;;
|
adamc@378
|
1229 *) # Relative name.
|
adamc@378
|
1230 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
adamc@378
|
1231 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
adamc@378
|
1232 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
adamc@378
|
1233 esac
|
adamc@378
|
1234 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
adamc@378
|
1235
|
adamc@378
|
1236 cd "$ac_dir" || { ac_status=$?; continue; }
|
adamc@378
|
1237 # Check for guested configure.
|
adamc@378
|
1238 if test -f "$ac_srcdir/configure.gnu"; then
|
adamc@378
|
1239 echo &&
|
adamc@378
|
1240 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
adamc@378
|
1241 elif test -f "$ac_srcdir/configure"; then
|
adamc@378
|
1242 echo &&
|
adamc@378
|
1243 $SHELL "$ac_srcdir/configure" --help=recursive
|
adamc@378
|
1244 else
|
adamc@378
|
1245 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
adamc@378
|
1246 fi || ac_status=$?
|
adamc@378
|
1247 cd "$ac_pwd" || { ac_status=$?; break; }
|
adamc@378
|
1248 done
|
adamc@378
|
1249 fi
|
adamc@378
|
1250
|
adamc@378
|
1251 test -n "$ac_init_help" && exit $ac_status
|
adamc@378
|
1252 if $ac_init_version; then
|
adamc@378
|
1253 cat <<\_ACEOF
|
adamc@378
|
1254 configure
|
adamc@378
|
1255 generated by GNU Autoconf 2.61
|
adamc@378
|
1256
|
adamc@378
|
1257 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
adamc@378
|
1258 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
adamc@378
|
1259 This configure script is free software; the Free Software Foundation
|
adamc@378
|
1260 gives unlimited permission to copy, distribute and modify it.
|
adamc@378
|
1261 _ACEOF
|
adamc@378
|
1262 exit
|
adamc@378
|
1263 fi
|
adamc@378
|
1264 cat >config.log <<_ACEOF
|
adamc@378
|
1265 This file contains any messages produced by compilers while
|
adamc@378
|
1266 running configure, to aid debugging if configure makes a mistake.
|
adamc@378
|
1267
|
adamc@378
|
1268 It was created by $as_me, which was
|
adamc@378
|
1269 generated by GNU Autoconf 2.61. Invocation command line was
|
adamc@378
|
1270
|
adamc@378
|
1271 $ $0 $@
|
adamc@378
|
1272
|
adamc@378
|
1273 _ACEOF
|
adamc@378
|
1274 exec 5>>config.log
|
adamc@378
|
1275 {
|
adamc@378
|
1276 cat <<_ASUNAME
|
adamc@378
|
1277 ## --------- ##
|
adamc@378
|
1278 ## Platform. ##
|
adamc@378
|
1279 ## --------- ##
|
adamc@378
|
1280
|
adamc@378
|
1281 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
adamc@378
|
1282 uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
adamc@378
|
1283 uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
adamc@378
|
1284 uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
adamc@378
|
1285 uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
adamc@378
|
1286
|
adamc@378
|
1287 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
adamc@378
|
1288 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
adamc@378
|
1289
|
adamc@378
|
1290 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
adamc@378
|
1291 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
adamc@378
|
1292 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
adamc@378
|
1293 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
adamc@378
|
1294 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
adamc@378
|
1295 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
adamc@378
|
1296 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
adamc@378
|
1297
|
adamc@378
|
1298 _ASUNAME
|
adamc@378
|
1299
|
adamc@378
|
1300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adamc@378
|
1301 for as_dir in $PATH
|
adamc@378
|
1302 do
|
adamc@378
|
1303 IFS=$as_save_IFS
|
adamc@378
|
1304 test -z "$as_dir" && as_dir=.
|
adamc@378
|
1305 echo "PATH: $as_dir"
|
adamc@378
|
1306 done
|
adamc@378
|
1307 IFS=$as_save_IFS
|
adamc@378
|
1308
|
adamc@378
|
1309 } >&5
|
adamc@378
|
1310
|
adamc@378
|
1311 cat >&5 <<_ACEOF
|
adamc@378
|
1312
|
adamc@378
|
1313
|
adamc@378
|
1314 ## ----------- ##
|
adamc@378
|
1315 ## Core tests. ##
|
adamc@378
|
1316 ## ----------- ##
|
adamc@378
|
1317
|
adamc@378
|
1318 _ACEOF
|
adamc@378
|
1319
|
adamc@378
|
1320
|
adamc@378
|
1321 # Keep a trace of the command line.
|
adamc@378
|
1322 # Strip out --no-create and --no-recursion so they do not pile up.
|
adamc@378
|
1323 # Strip out --silent because we don't want to record it for future runs.
|
adamc@378
|
1324 # Also quote any args containing shell meta-characters.
|
adamc@378
|
1325 # Make two passes to allow for proper duplicate-argument suppression.
|
adamc@378
|
1326 ac_configure_args=
|
adamc@378
|
1327 ac_configure_args0=
|
adamc@378
|
1328 ac_configure_args1=
|
adamc@378
|
1329 ac_must_keep_next=false
|
adamc@378
|
1330 for ac_pass in 1 2
|
adamc@378
|
1331 do
|
adamc@378
|
1332 for ac_arg
|
adamc@378
|
1333 do
|
adamc@378
|
1334 case $ac_arg in
|
adamc@378
|
1335 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
adamc@378
|
1336 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
adamc@378
|
1337 | -silent | --silent | --silen | --sile | --sil)
|
adamc@378
|
1338 continue ;;
|
adamc@378
|
1339 *\'*)
|
adamc@378
|
1340 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
adamc@378
|
1341 esac
|
adamc@378
|
1342 case $ac_pass in
|
adamc@378
|
1343 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
adamc@378
|
1344 2)
|
adamc@378
|
1345 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
adamc@378
|
1346 if test $ac_must_keep_next = true; then
|
adamc@378
|
1347 ac_must_keep_next=false # Got value, back to normal.
|
adamc@378
|
1348 else
|
adamc@378
|
1349 case $ac_arg in
|
adamc@378
|
1350 *=* | --config-cache | -C | -disable-* | --disable-* \
|
adamc@378
|
1351 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
adamc@378
|
1352 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
adamc@378
|
1353 | -with-* | --with-* | -without-* | --without-* | --x)
|
adamc@378
|
1354 case "$ac_configure_args0 " in
|
adamc@378
|
1355 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
adamc@378
|
1356 esac
|
adamc@378
|
1357 ;;
|
adamc@378
|
1358 -* ) ac_must_keep_next=true ;;
|
adamc@378
|
1359 esac
|
adamc@378
|
1360 fi
|
adamc@378
|
1361 ac_configure_args="$ac_configure_args '$ac_arg'"
|
adamc@378
|
1362 ;;
|
adamc@378
|
1363 esac
|
adamc@378
|
1364 done
|
adamc@378
|
1365 done
|
adamc@378
|
1366 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
adamc@378
|
1367 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
adamc@378
|
1368
|
adamc@378
|
1369 # When interrupted or exit'd, cleanup temporary files, and complete
|
adamc@378
|
1370 # config.log. We remove comments because anyway the quotes in there
|
adamc@378
|
1371 # would cause problems or look ugly.
|
adamc@378
|
1372 # WARNING: Use '\'' to represent an apostrophe within the trap.
|
adamc@378
|
1373 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
adamc@378
|
1374 trap 'exit_status=$?
|
adamc@378
|
1375 # Save into config.log some information that might help in debugging.
|
adamc@378
|
1376 {
|
adamc@378
|
1377 echo
|
adamc@378
|
1378
|
adamc@378
|
1379 cat <<\_ASBOX
|
adamc@378
|
1380 ## ---------------- ##
|
adamc@378
|
1381 ## Cache variables. ##
|
adamc@378
|
1382 ## ---------------- ##
|
adamc@378
|
1383 _ASBOX
|
adamc@378
|
1384 echo
|
adamc@378
|
1385 # The following way of writing the cache mishandles newlines in values,
|
adamc@378
|
1386 (
|
adamc@378
|
1387 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
adamc@378
|
1388 eval ac_val=\$$ac_var
|
adamc@378
|
1389 case $ac_val in #(
|
adamc@378
|
1390 *${as_nl}*)
|
adamc@378
|
1391 case $ac_var in #(
|
adamc@378
|
1392 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
adamc@378
|
1393 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
adamc@378
|
1394 esac
|
adamc@378
|
1395 case $ac_var in #(
|
adamc@378
|
1396 _ | IFS | as_nl) ;; #(
|
adamc@378
|
1397 *) $as_unset $ac_var ;;
|
adamc@378
|
1398 esac ;;
|
adamc@378
|
1399 esac
|
adamc@378
|
1400 done
|
adamc@378
|
1401 (set) 2>&1 |
|
adamc@378
|
1402 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
adamc@378
|
1403 *${as_nl}ac_space=\ *)
|
adamc@378
|
1404 sed -n \
|
adamc@378
|
1405 "s/'\''/'\''\\\\'\'''\''/g;
|
adamc@378
|
1406 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
adamc@378
|
1407 ;; #(
|
adamc@378
|
1408 *)
|
adamc@378
|
1409 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
adamc@378
|
1410 ;;
|
adamc@378
|
1411 esac |
|
adamc@378
|
1412 sort
|
adamc@378
|
1413 )
|
adamc@378
|
1414 echo
|
adamc@378
|
1415
|
adamc@378
|
1416 cat <<\_ASBOX
|
adamc@378
|
1417 ## ----------------- ##
|
adamc@378
|
1418 ## Output variables. ##
|
adamc@378
|
1419 ## ----------------- ##
|
adamc@378
|
1420 _ASBOX
|
adamc@378
|
1421 echo
|
adamc@378
|
1422 for ac_var in $ac_subst_vars
|
adamc@378
|
1423 do
|
adamc@378
|
1424 eval ac_val=\$$ac_var
|
adamc@378
|
1425 case $ac_val in
|
adamc@378
|
1426 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
adamc@378
|
1427 esac
|
adamc@378
|
1428 echo "$ac_var='\''$ac_val'\''"
|
adamc@378
|
1429 done | sort
|
adamc@378
|
1430 echo
|
adamc@378
|
1431
|
adamc@378
|
1432 if test -n "$ac_subst_files"; then
|
adamc@378
|
1433 cat <<\_ASBOX
|
adamc@378
|
1434 ## ------------------- ##
|
adamc@378
|
1435 ## File substitutions. ##
|
adamc@378
|
1436 ## ------------------- ##
|
adamc@378
|
1437 _ASBOX
|
adamc@378
|
1438 echo
|
adamc@378
|
1439 for ac_var in $ac_subst_files
|
adamc@378
|
1440 do
|
adamc@378
|
1441 eval ac_val=\$$ac_var
|
adamc@378
|
1442 case $ac_val in
|
adamc@378
|
1443 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
adamc@378
|
1444 esac
|
adamc@378
|
1445 echo "$ac_var='\''$ac_val'\''"
|
adamc@378
|
1446 done | sort
|
adamc@378
|
1447 echo
|
adamc@378
|
1448 fi
|
adamc@378
|
1449
|
adamc@378
|
1450 if test -s confdefs.h; then
|
adamc@378
|
1451 cat <<\_ASBOX
|
adamc@378
|
1452 ## ----------- ##
|
adamc@378
|
1453 ## confdefs.h. ##
|
adamc@378
|
1454 ## ----------- ##
|
adamc@378
|
1455 _ASBOX
|
adamc@378
|
1456 echo
|
adamc@378
|
1457 cat confdefs.h
|
adamc@378
|
1458 echo
|
adamc@378
|
1459 fi
|
adamc@378
|
1460 test "$ac_signal" != 0 &&
|
adamc@378
|
1461 echo "$as_me: caught signal $ac_signal"
|
adamc@378
|
1462 echo "$as_me: exit $exit_status"
|
adamc@378
|
1463 } >&5
|
adamc@378
|
1464 rm -f core *.core core.conftest.* &&
|
adamc@378
|
1465 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
adamc@378
|
1466 exit $exit_status
|
adamc@378
|
1467 ' 0
|
adamc@378
|
1468 for ac_signal in 1 2 13 15; do
|
adamc@378
|
1469 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
adamc@378
|
1470 done
|
adamc@378
|
1471 ac_signal=0
|
adamc@378
|
1472
|
adamc@378
|
1473 # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
adamc@378
|
1474 rm -f -r conftest* confdefs.h
|
adamc@378
|
1475
|
adamc@378
|
1476 # Predefined preprocessor variables.
|
adamc@378
|
1477
|
adamc@378
|
1478 cat >>confdefs.h <<_ACEOF
|
adamc@378
|
1479 #define PACKAGE_NAME "$PACKAGE_NAME"
|
adamc@378
|
1480 _ACEOF
|
adamc@378
|
1481
|
adamc@378
|
1482
|
adamc@378
|
1483 cat >>confdefs.h <<_ACEOF
|
adamc@378
|
1484 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
adamc@378
|
1485 _ACEOF
|
adamc@378
|
1486
|
adamc@378
|
1487
|
adamc@378
|
1488 cat >>confdefs.h <<_ACEOF
|
adamc@378
|
1489 #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
adamc@378
|
1490 _ACEOF
|
adamc@378
|
1491
|
adamc@378
|
1492
|
adamc@378
|
1493 cat >>confdefs.h <<_ACEOF
|
adamc@378
|
1494 #define PACKAGE_STRING "$PACKAGE_STRING"
|
adamc@378
|
1495 _ACEOF
|
adamc@378
|
1496
|
adamc@378
|
1497
|
adamc@378
|
1498 cat >>confdefs.h <<_ACEOF
|
adamc@378
|
1499 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
adamc@378
|
1500 _ACEOF
|
adamc@378
|
1501
|
adamc@378
|
1502
|
adamc@378
|
1503 # Let the site file select an alternate cache file if it wants to.
|
adamc@378
|
1504 # Prefer explicitly selected file to automatically selected ones.
|
adamc@378
|
1505 if test -n "$CONFIG_SITE"; then
|
adamc@378
|
1506 set x "$CONFIG_SITE"
|
adamc@378
|
1507 elif test "x$prefix" != xNONE; then
|
adamc@378
|
1508 set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
adamc@378
|
1509 else
|
adamc@378
|
1510 set x "$ac_default_prefix/share/config.site" \
|
adamc@378
|
1511 "$ac_default_prefix/etc/config.site"
|
adamc@378
|
1512 fi
|
adamc@378
|
1513 shift
|
adamc@378
|
1514 for ac_site_file
|
adamc@378
|
1515 do
|
adamc@378
|
1516 if test -r "$ac_site_file"; then
|
adamc@378
|
1517 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
adamc@378
|
1518 echo "$as_me: loading site script $ac_site_file" >&6;}
|
adamc@378
|
1519 sed 's/^/| /' "$ac_site_file" >&5
|
adamc@378
|
1520 . "$ac_site_file"
|
adamc@378
|
1521 fi
|
adamc@378
|
1522 done
|
adamc@378
|
1523
|
adamc@378
|
1524 if test -r "$cache_file"; then
|
adamc@378
|
1525 # Some versions of bash will fail to source /dev/null (special
|
adamc@378
|
1526 # files actually), so we avoid doing that.
|
adamc@378
|
1527 if test -f "$cache_file"; then
|
adamc@378
|
1528 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
adamc@378
|
1529 echo "$as_me: loading cache $cache_file" >&6;}
|
adamc@378
|
1530 case $cache_file in
|
adamc@378
|
1531 [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
adamc@378
|
1532 *) . "./$cache_file";;
|
adamc@378
|
1533 esac
|
adamc@378
|
1534 fi
|
adamc@378
|
1535 else
|
adamc@378
|
1536 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
adamc@378
|
1537 echo "$as_me: creating cache $cache_file" >&6;}
|
adamc@378
|
1538 >$cache_file
|
adamc@378
|
1539 fi
|
adamc@378
|
1540
|
adamc@378
|
1541 # Check that the precious variables saved in the cache have kept the same
|
adamc@378
|
1542 # value.
|
adamc@378
|
1543 ac_cache_corrupted=false
|
adamc@378
|
1544 for ac_var in $ac_precious_vars; do
|
adamc@378
|
1545 eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
adamc@378
|
1546 eval ac_new_set=\$ac_env_${ac_var}_set
|
adamc@378
|
1547 eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
adamc@378
|
1548 eval ac_new_val=\$ac_env_${ac_var}_value
|
adamc@378
|
1549 case $ac_old_set,$ac_new_set in
|
adamc@378
|
1550 set,)
|
adamc@378
|
1551 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
adamc@378
|
1552 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
adamc@378
|
1553 ac_cache_corrupted=: ;;
|
adamc@378
|
1554 ,set)
|
adamc@378
|
1555 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
adamc@378
|
1556 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
adamc@378
|
1557 ac_cache_corrupted=: ;;
|
adamc@378
|
1558 ,);;
|
adamc@378
|
1559 *)
|
adamc@378
|
1560 if test "x$ac_old_val" != "x$ac_new_val"; then
|
adamc@378
|
1561 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
adamc@378
|
1562 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
adamc@378
|
1563 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
adamc@378
|
1564 echo "$as_me: former value: $ac_old_val" >&2;}
|
adamc@378
|
1565 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
adamc@378
|
1566 echo "$as_me: current value: $ac_new_val" >&2;}
|
adamc@378
|
1567 ac_cache_corrupted=:
|
adamc@378
|
1568 fi;;
|
adamc@378
|
1569 esac
|
adamc@378
|
1570 # Pass precious variables to config.status.
|
adamc@378
|
1571 if test "$ac_new_set" = set; then
|
adamc@378
|
1572 case $ac_new_val in
|
adamc@378
|
1573 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
adamc@378
|
1574 *) ac_arg=$ac_var=$ac_new_val ;;
|
adamc@378
|
1575 esac
|
adamc@378
|
1576 case " $ac_configure_args " in
|
adamc@378
|
1577 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
adamc@378
|
1578 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
adamc@378
|
1579 esac
|
adamc@378
|
1580 fi
|
adamc@378
|
1581 done
|
adamc@378
|
1582 if $ac_cache_corrupted; then
|
adamc@378
|
1583 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
adamc@378
|
1584 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
adamc@378
|
1585 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
adamc@378
|
1586 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
adamc@378
|
1587 { (exit 1); exit 1; }; }
|
adamc@378
|
1588 fi
|
adamc@378
|
1589
|
adamc@378
|
1590
|
adamc@378
|
1591
|
adamc@378
|
1592
|
adamc@378
|
1593
|
adamc@378
|
1594
|
adamc@378
|
1595
|
adamc@378
|
1596
|
adamc@378
|
1597
|
adamc@378
|
1598
|
adamc@378
|
1599
|
adamc@378
|
1600
|
adamc@378
|
1601
|
adamc@378
|
1602
|
adamc@378
|
1603
|
adamc@378
|
1604
|
adamc@378
|
1605
|
adamc@378
|
1606 ac_ext=c
|
adamc@378
|
1607 ac_cpp='$CPP $CPPFLAGS'
|
adamc@378
|
1608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adamc@378
|
1609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adamc@378
|
1610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adamc@378
|
1611
|
adamc@378
|
1612
|
adamc@378
|
1613
|
adamc@378
|
1614
|
adamc@378
|
1615 # sm: require a late-enough autoconf; this is the version number
|
adamc@378
|
1616 # that's on manju, so I assume it's ok
|
adamc@378
|
1617
|
adamc@378
|
1618
|
adamc@378
|
1619 { echo "$as_me:$LINENO: Configuring Ur/Web" >&5
|
adamc@378
|
1620 echo "$as_me: Configuring Ur/Web" >&6;}
|
adamc@378
|
1621
|
adamc@378
|
1622 # make sure I haven't forgotten to run autoconf
|
adamc@378
|
1623 if test configure -ot configure.ac; then
|
adamc@378
|
1624 { { echo "$as_me:$LINENO: error: configure is older than configure.in; you forgot to run autoconf" >&5
|
adamc@378
|
1625 echo "$as_me: error: configure is older than configure.in; you forgot to run autoconf" >&2;}
|
adamc@378
|
1626 { (exit 1); exit 1; }; }
|
adamc@378
|
1627 fi
|
adamc@378
|
1628
|
adamc@378
|
1629 # ---------------- generic functions -----------------
|
adamc@378
|
1630 # debugging diagnostic; set to 'echo' to debug or 'true' for production
|
adamc@378
|
1631 diagnostic() {
|
adamc@378
|
1632 #echo "$@"
|
adamc@378
|
1633 true "$@"
|
adamc@378
|
1634 }
|
adamc@378
|
1635
|
adamc@429
|
1636 if test $prefix = "NONE"; then
|
adamc@429
|
1637 prefix=/usr/local
|
adamc@429
|
1638 fi
|
adamc@429
|
1639
|
adamc@378
|
1640 if test -z $BIN; then
|
adamc@429
|
1641 BIN=$prefix/bin
|
adamc@378
|
1642 fi
|
adamc@378
|
1643
|
adamc@378
|
1644 if test -z $LIB; then
|
adamc@429
|
1645 LIB=$prefix/lib/urweb
|
adamc@378
|
1646 fi
|
adamc@378
|
1647
|
adamc@378
|
1648 if test -z $INCLUDE; then
|
adamc@429
|
1649 INCLUDE=$prefix/include/urweb
|
adamc@378
|
1650 fi
|
adamc@378
|
1651
|
adamc@378
|
1652 if test -z $SITELISP; then
|
adamc@429
|
1653 SITELISP=$prefix/share/emacs/site-lisp/urweb-mode
|
adamc@378
|
1654 fi
|
adamc@378
|
1655
|
adamc@378
|
1656
|
adamc@378
|
1657 do_not_edit="Do not edit this file. It was generated automatically from"
|
adamc@378
|
1658
|
adamc@378
|
1659
|
adamc@378
|
1660 # ----------------- finish up -------------------
|
adamc@378
|
1661 # names of the variables that get substituted in files; for example,
|
adamc@378
|
1662 # write @ARCHOS@ somewhere in a written file to get it substituted
|
adamc@378
|
1663
|
adamc@378
|
1664
|
adamc@378
|
1665
|
adamc@378
|
1666
|
adamc@378
|
1667
|
adamc@378
|
1668
|
adamc@435
|
1669
|
adamc@378
|
1670 # finish the configure script and generate various files; ./configure
|
adamc@378
|
1671 # will apply variable substitutions to <filename>.in to generate <filename>;
|
adamc@378
|
1672 # I find it useful to mark generated files as read-only so I don't
|
adamc@378
|
1673 # accidentally edit them (and then lose my changes when ./configure
|
adamc@378
|
1674 # runs again); I had originally done the chmod after AC_OUTPUT, but
|
adamc@378
|
1675 # the problem is then the chmod doesn't run inside ./config.status
|
adamc@378
|
1676
|
adamc@378
|
1677 # MY_AC_CONFIG_FILES(filename)
|
adamc@378
|
1678 # do AC_CONFIG_FILES(filename, chmod a-w filename)
|
adamc@378
|
1679
|
adamc@378
|
1680
|
adamc@378
|
1681 {
|
adamc@378
|
1682 if test -f Makefile.in; then
|
adamc@378
|
1683 ac_config_files="$ac_config_files Makefile"
|
adamc@378
|
1684
|
adamc@378
|
1685 else
|
adamc@378
|
1686 true
|
adamc@378
|
1687 #echo "skipping [Makefile] because it's not in this distribution"
|
adamc@378
|
1688 fi
|
adamc@378
|
1689 }
|
adamc@378
|
1690 {
|
adamc@378
|
1691 if test -f src/config.sml.in; then
|
adamc@378
|
1692 ac_config_files="$ac_config_files src/config.sml"
|
adamc@378
|
1693
|
adamc@378
|
1694 else
|
adamc@378
|
1695 true
|
adamc@378
|
1696 #echo "skipping [src/config.sml] because it's not in this distribution"
|
adamc@378
|
1697 fi
|
adamc@378
|
1698 }
|
adamc@378
|
1699
|
adamc@378
|
1700 cat >confcache <<\_ACEOF
|
adamc@378
|
1701 # This file is a shell script that caches the results of configure
|
adamc@378
|
1702 # tests run on this system so they can be shared between configure
|
adamc@378
|
1703 # scripts and configure runs, see configure's option --config-cache.
|
adamc@378
|
1704 # It is not useful on other systems. If it contains results you don't
|
adamc@378
|
1705 # want to keep, you may remove or edit it.
|
adamc@378
|
1706 #
|
adamc@378
|
1707 # config.status only pays attention to the cache file if you give it
|
adamc@378
|
1708 # the --recheck option to rerun configure.
|
adamc@378
|
1709 #
|
adamc@378
|
1710 # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
adamc@378
|
1711 # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
adamc@378
|
1712 # following values.
|
adamc@378
|
1713
|
adamc@378
|
1714 _ACEOF
|
adamc@378
|
1715
|
adamc@378
|
1716 # The following way of writing the cache mishandles newlines in values,
|
adamc@378
|
1717 # but we know of no workaround that is simple, portable, and efficient.
|
adamc@378
|
1718 # So, we kill variables containing newlines.
|
adamc@378
|
1719 # Ultrix sh set writes to stderr and can't be redirected directly,
|
adamc@378
|
1720 # and sets the high bit in the cache file unless we assign to the vars.
|
adamc@378
|
1721 (
|
adamc@378
|
1722 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
adamc@378
|
1723 eval ac_val=\$$ac_var
|
adamc@378
|
1724 case $ac_val in #(
|
adamc@378
|
1725 *${as_nl}*)
|
adamc@378
|
1726 case $ac_var in #(
|
adamc@378
|
1727 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
adamc@378
|
1728 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
adamc@378
|
1729 esac
|
adamc@378
|
1730 case $ac_var in #(
|
adamc@378
|
1731 _ | IFS | as_nl) ;; #(
|
adamc@378
|
1732 *) $as_unset $ac_var ;;
|
adamc@378
|
1733 esac ;;
|
adamc@378
|
1734 esac
|
adamc@378
|
1735 done
|
adamc@378
|
1736
|
adamc@378
|
1737 (set) 2>&1 |
|
adamc@378
|
1738 case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
adamc@378
|
1739 *${as_nl}ac_space=\ *)
|
adamc@378
|
1740 # `set' does not quote correctly, so add quotes (double-quote
|
adamc@378
|
1741 # substitution turns \\\\ into \\, and sed turns \\ into \).
|
adamc@378
|
1742 sed -n \
|
adamc@378
|
1743 "s/'/'\\\\''/g;
|
adamc@378
|
1744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
adamc@378
|
1745 ;; #(
|
adamc@378
|
1746 *)
|
adamc@378
|
1747 # `set' quotes correctly as required by POSIX, so do not add quotes.
|
adamc@378
|
1748 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
adamc@378
|
1749 ;;
|
adamc@378
|
1750 esac |
|
adamc@378
|
1751 sort
|
adamc@378
|
1752 ) |
|
adamc@378
|
1753 sed '
|
adamc@378
|
1754 /^ac_cv_env_/b end
|
adamc@378
|
1755 t clear
|
adamc@378
|
1756 :clear
|
adamc@378
|
1757 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
adamc@378
|
1758 t end
|
adamc@378
|
1759 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
adamc@378
|
1760 :end' >>confcache
|
adamc@378
|
1761 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
adamc@378
|
1762 if test -w "$cache_file"; then
|
adamc@378
|
1763 test "x$cache_file" != "x/dev/null" &&
|
adamc@378
|
1764 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
adamc@378
|
1765 echo "$as_me: updating cache $cache_file" >&6;}
|
adamc@378
|
1766 cat confcache >$cache_file
|
adamc@378
|
1767 else
|
adamc@378
|
1768 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
adamc@378
|
1769 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
adamc@378
|
1770 fi
|
adamc@378
|
1771 fi
|
adamc@378
|
1772 rm -f confcache
|
adamc@378
|
1773
|
adamc@378
|
1774 test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
adamc@378
|
1775 # Let make expand exec_prefix.
|
adamc@378
|
1776 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
adamc@378
|
1777
|
adamc@378
|
1778 # Transform confdefs.h into DEFS.
|
adamc@378
|
1779 # Protect against shell expansion while executing Makefile rules.
|
adamc@378
|
1780 # Protect against Makefile macro expansion.
|
adamc@378
|
1781 #
|
adamc@378
|
1782 # If the first sed substitution is executed (which looks for macros that
|
adamc@378
|
1783 # take arguments), then branch to the quote section. Otherwise,
|
adamc@378
|
1784 # look for a macro that doesn't take arguments.
|
adamc@378
|
1785 ac_script='
|
adamc@378
|
1786 t clear
|
adamc@378
|
1787 :clear
|
adamc@378
|
1788 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
adamc@378
|
1789 t quote
|
adamc@378
|
1790 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
adamc@378
|
1791 t quote
|
adamc@378
|
1792 b any
|
adamc@378
|
1793 :quote
|
adamc@378
|
1794 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
adamc@378
|
1795 s/\[/\\&/g
|
adamc@378
|
1796 s/\]/\\&/g
|
adamc@378
|
1797 s/\$/$$/g
|
adamc@378
|
1798 H
|
adamc@378
|
1799 :any
|
adamc@378
|
1800 ${
|
adamc@378
|
1801 g
|
adamc@378
|
1802 s/^\n//
|
adamc@378
|
1803 s/\n/ /g
|
adamc@378
|
1804 p
|
adamc@378
|
1805 }
|
adamc@378
|
1806 '
|
adamc@378
|
1807 DEFS=`sed -n "$ac_script" confdefs.h`
|
adamc@378
|
1808
|
adamc@378
|
1809
|
adamc@378
|
1810 ac_libobjs=
|
adamc@378
|
1811 ac_ltlibobjs=
|
adamc@378
|
1812 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
adamc@378
|
1813 # 1. Remove the extension, and $U if already installed.
|
adamc@378
|
1814 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
adamc@378
|
1815 ac_i=`echo "$ac_i" | sed "$ac_script"`
|
adamc@378
|
1816 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
adamc@378
|
1817 # will be set to the directory where LIBOBJS objects are built.
|
adamc@378
|
1818 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
adamc@378
|
1819 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
adamc@378
|
1820 done
|
adamc@378
|
1821 LIBOBJS=$ac_libobjs
|
adamc@378
|
1822
|
adamc@378
|
1823 LTLIBOBJS=$ac_ltlibobjs
|
adamc@378
|
1824
|
adamc@378
|
1825
|
adamc@378
|
1826
|
adamc@378
|
1827 : ${CONFIG_STATUS=./config.status}
|
adamc@378
|
1828 ac_clean_files_save=$ac_clean_files
|
adamc@378
|
1829 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
adamc@378
|
1830 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
adamc@378
|
1831 echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
adamc@378
|
1832 cat >$CONFIG_STATUS <<_ACEOF
|
adamc@378
|
1833 #! $SHELL
|
adamc@378
|
1834 # Generated by $as_me.
|
adamc@378
|
1835 # Run this file to recreate the current configuration.
|
adamc@378
|
1836 # Compiler output produced by configure, useful for debugging
|
adamc@378
|
1837 # configure, is in config.log if it exists.
|
adamc@378
|
1838
|
adamc@378
|
1839 debug=false
|
adamc@378
|
1840 ac_cs_recheck=false
|
adamc@378
|
1841 ac_cs_silent=false
|
adamc@378
|
1842 SHELL=\${CONFIG_SHELL-$SHELL}
|
adamc@378
|
1843 _ACEOF
|
adamc@378
|
1844
|
adamc@378
|
1845 cat >>$CONFIG_STATUS <<\_ACEOF
|
adamc@378
|
1846 ## --------------------- ##
|
adamc@378
|
1847 ## M4sh Initialization. ##
|
adamc@378
|
1848 ## --------------------- ##
|
adamc@378
|
1849
|
adamc@378
|
1850 # Be more Bourne compatible
|
adamc@378
|
1851 DUALCASE=1; export DUALCASE # for MKS sh
|
adamc@378
|
1852 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
adamc@378
|
1853 emulate sh
|
adamc@378
|
1854 NULLCMD=:
|
adamc@378
|
1855 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
adamc@378
|
1856 # is contrary to our usage. Disable this feature.
|
adamc@378
|
1857 alias -g '${1+"$@"}'='"$@"'
|
adamc@378
|
1858 setopt NO_GLOB_SUBST
|
adamc@378
|
1859 else
|
adamc@378
|
1860 case `(set -o) 2>/dev/null` in
|
adamc@378
|
1861 *posix*) set -o posix ;;
|
adamc@378
|
1862 esac
|
adamc@378
|
1863
|
adamc@378
|
1864 fi
|
adamc@378
|
1865
|
adamc@378
|
1866
|
adamc@378
|
1867
|
adamc@378
|
1868
|
adamc@378
|
1869 # PATH needs CR
|
adamc@378
|
1870 # Avoid depending upon Character Ranges.
|
adamc@378
|
1871 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
adamc@378
|
1872 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
adamc@378
|
1873 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
adamc@378
|
1874 as_cr_digits='0123456789'
|
adamc@378
|
1875 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
adamc@378
|
1876
|
adamc@378
|
1877 # The user is always right.
|
adamc@378
|
1878 if test "${PATH_SEPARATOR+set}" != set; then
|
adamc@378
|
1879 echo "#! /bin/sh" >conf$$.sh
|
adamc@378
|
1880 echo "exit 0" >>conf$$.sh
|
adamc@378
|
1881 chmod +x conf$$.sh
|
adamc@378
|
1882 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
adamc@378
|
1883 PATH_SEPARATOR=';'
|
adamc@378
|
1884 else
|
adamc@378
|
1885 PATH_SEPARATOR=:
|
adamc@378
|
1886 fi
|
adamc@378
|
1887 rm -f conf$$.sh
|
adamc@378
|
1888 fi
|
adamc@378
|
1889
|
adamc@378
|
1890 # Support unset when possible.
|
adamc@378
|
1891 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
adamc@378
|
1892 as_unset=unset
|
adamc@378
|
1893 else
|
adamc@378
|
1894 as_unset=false
|
adamc@378
|
1895 fi
|
adamc@378
|
1896
|
adamc@378
|
1897
|
adamc@378
|
1898 # IFS
|
adamc@378
|
1899 # We need space, tab and new line, in precisely that order. Quoting is
|
adamc@378
|
1900 # there to prevent editors from complaining about space-tab.
|
adamc@378
|
1901 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
adamc@378
|
1902 # splitting by setting IFS to empty value.)
|
adamc@378
|
1903 as_nl='
|
adamc@378
|
1904 '
|
adamc@378
|
1905 IFS=" "" $as_nl"
|
adamc@378
|
1906
|
adamc@378
|
1907 # Find who we are. Look in the path if we contain no directory separator.
|
adamc@378
|
1908 case $0 in
|
adamc@378
|
1909 *[\\/]* ) as_myself=$0 ;;
|
adamc@378
|
1910 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adamc@378
|
1911 for as_dir in $PATH
|
adamc@378
|
1912 do
|
adamc@378
|
1913 IFS=$as_save_IFS
|
adamc@378
|
1914 test -z "$as_dir" && as_dir=.
|
adamc@378
|
1915 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
adamc@378
|
1916 done
|
adamc@378
|
1917 IFS=$as_save_IFS
|
adamc@378
|
1918
|
adamc@378
|
1919 ;;
|
adamc@378
|
1920 esac
|
adamc@378
|
1921 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
adamc@378
|
1922 # in which case we are not to be found in the path.
|
adamc@378
|
1923 if test "x$as_myself" = x; then
|
adamc@378
|
1924 as_myself=$0
|
adamc@378
|
1925 fi
|
adamc@378
|
1926 if test ! -f "$as_myself"; then
|
adamc@378
|
1927 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
adamc@378
|
1928 { (exit 1); exit 1; }
|
adamc@378
|
1929 fi
|
adamc@378
|
1930
|
adamc@378
|
1931 # Work around bugs in pre-3.0 UWIN ksh.
|
adamc@378
|
1932 for as_var in ENV MAIL MAILPATH
|
adamc@378
|
1933 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
adamc@378
|
1934 done
|
adamc@378
|
1935 PS1='$ '
|
adamc@378
|
1936 PS2='> '
|
adamc@378
|
1937 PS4='+ '
|
adamc@378
|
1938
|
adamc@378
|
1939 # NLS nuisances.
|
adamc@378
|
1940 for as_var in \
|
adamc@378
|
1941 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
adamc@378
|
1942 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
adamc@378
|
1943 LC_TELEPHONE LC_TIME
|
adamc@378
|
1944 do
|
adamc@378
|
1945 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
adamc@378
|
1946 eval $as_var=C; export $as_var
|
adamc@378
|
1947 else
|
adamc@378
|
1948 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
adamc@378
|
1949 fi
|
adamc@378
|
1950 done
|
adamc@378
|
1951
|
adamc@378
|
1952 # Required to use basename.
|
adamc@378
|
1953 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
adamc@378
|
1954 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
adamc@378
|
1955 as_expr=expr
|
adamc@378
|
1956 else
|
adamc@378
|
1957 as_expr=false
|
adamc@378
|
1958 fi
|
adamc@378
|
1959
|
adamc@378
|
1960 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
adamc@378
|
1961 as_basename=basename
|
adamc@378
|
1962 else
|
adamc@378
|
1963 as_basename=false
|
adamc@378
|
1964 fi
|
adamc@378
|
1965
|
adamc@378
|
1966
|
adamc@378
|
1967 # Name of the executable.
|
adamc@378
|
1968 as_me=`$as_basename -- "$0" ||
|
adamc@378
|
1969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
adamc@378
|
1970 X"$0" : 'X\(//\)$' \| \
|
adamc@378
|
1971 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
adamc@378
|
1972 echo X/"$0" |
|
adamc@378
|
1973 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
adamc@378
|
1974 s//\1/
|
adamc@378
|
1975 q
|
adamc@378
|
1976 }
|
adamc@378
|
1977 /^X\/\(\/\/\)$/{
|
adamc@378
|
1978 s//\1/
|
adamc@378
|
1979 q
|
adamc@378
|
1980 }
|
adamc@378
|
1981 /^X\/\(\/\).*/{
|
adamc@378
|
1982 s//\1/
|
adamc@378
|
1983 q
|
adamc@378
|
1984 }
|
adamc@378
|
1985 s/.*/./; q'`
|
adamc@378
|
1986
|
adamc@378
|
1987 # CDPATH.
|
adamc@378
|
1988 $as_unset CDPATH
|
adamc@378
|
1989
|
adamc@378
|
1990
|
adamc@378
|
1991
|
adamc@378
|
1992 as_lineno_1=$LINENO
|
adamc@378
|
1993 as_lineno_2=$LINENO
|
adamc@378
|
1994 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
adamc@378
|
1995 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
adamc@378
|
1996
|
adamc@378
|
1997 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
adamc@378
|
1998 # uniformly replaced by the line number. The first 'sed' inserts a
|
adamc@378
|
1999 # line-number line after each line using $LINENO; the second 'sed'
|
adamc@378
|
2000 # does the real work. The second script uses 'N' to pair each
|
adamc@378
|
2001 # line-number line with the line containing $LINENO, and appends
|
adamc@378
|
2002 # trailing '-' during substitution so that $LINENO is not a special
|
adamc@378
|
2003 # case at line end.
|
adamc@378
|
2004 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
adamc@378
|
2005 # scripts with optimization help from Paolo Bonzini. Blame Lee
|
adamc@378
|
2006 # E. McMahon (1931-1989) for sed's syntax. :-)
|
adamc@378
|
2007 sed -n '
|
adamc@378
|
2008 p
|
adamc@378
|
2009 /[$]LINENO/=
|
adamc@378
|
2010 ' <$as_myself |
|
adamc@378
|
2011 sed '
|
adamc@378
|
2012 s/[$]LINENO.*/&-/
|
adamc@378
|
2013 t lineno
|
adamc@378
|
2014 b
|
adamc@378
|
2015 :lineno
|
adamc@378
|
2016 N
|
adamc@378
|
2017 :loop
|
adamc@378
|
2018 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
adamc@378
|
2019 t loop
|
adamc@378
|
2020 s/-\n.*//
|
adamc@378
|
2021 ' >$as_me.lineno &&
|
adamc@378
|
2022 chmod +x "$as_me.lineno" ||
|
adamc@378
|
2023 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
adamc@378
|
2024 { (exit 1); exit 1; }; }
|
adamc@378
|
2025
|
adamc@378
|
2026 # Don't try to exec as it changes $[0], causing all sort of problems
|
adamc@378
|
2027 # (the dirname of $[0] is not the place where we might find the
|
adamc@378
|
2028 # original and so on. Autoconf is especially sensitive to this).
|
adamc@378
|
2029 . "./$as_me.lineno"
|
adamc@378
|
2030 # Exit status is that of the last command.
|
adamc@378
|
2031 exit
|
adamc@378
|
2032 }
|
adamc@378
|
2033
|
adamc@378
|
2034
|
adamc@378
|
2035 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
adamc@378
|
2036 as_dirname=dirname
|
adamc@378
|
2037 else
|
adamc@378
|
2038 as_dirname=false
|
adamc@378
|
2039 fi
|
adamc@378
|
2040
|
adamc@378
|
2041 ECHO_C= ECHO_N= ECHO_T=
|
adamc@378
|
2042 case `echo -n x` in
|
adamc@378
|
2043 -n*)
|
adamc@378
|
2044 case `echo 'x\c'` in
|
adamc@378
|
2045 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
adamc@378
|
2046 *) ECHO_C='\c';;
|
adamc@378
|
2047 esac;;
|
adamc@378
|
2048 *)
|
adamc@378
|
2049 ECHO_N='-n';;
|
adamc@378
|
2050 esac
|
adamc@378
|
2051
|
adamc@378
|
2052 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
adamc@378
|
2053 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
adamc@378
|
2054 as_expr=expr
|
adamc@378
|
2055 else
|
adamc@378
|
2056 as_expr=false
|
adamc@378
|
2057 fi
|
adamc@378
|
2058
|
adamc@378
|
2059 rm -f conf$$ conf$$.exe conf$$.file
|
adamc@378
|
2060 if test -d conf$$.dir; then
|
adamc@378
|
2061 rm -f conf$$.dir/conf$$.file
|
adamc@378
|
2062 else
|
adamc@378
|
2063 rm -f conf$$.dir
|
adamc@378
|
2064 mkdir conf$$.dir
|
adamc@378
|
2065 fi
|
adamc@378
|
2066 echo >conf$$.file
|
adamc@378
|
2067 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
adamc@378
|
2068 as_ln_s='ln -s'
|
adamc@378
|
2069 # ... but there are two gotchas:
|
adamc@378
|
2070 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
adamc@378
|
2071 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
adamc@378
|
2072 # In both cases, we have to default to `cp -p'.
|
adamc@378
|
2073 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
adamc@378
|
2074 as_ln_s='cp -p'
|
adamc@378
|
2075 elif ln conf$$.file conf$$ 2>/dev/null; then
|
adamc@378
|
2076 as_ln_s=ln
|
adamc@378
|
2077 else
|
adamc@378
|
2078 as_ln_s='cp -p'
|
adamc@378
|
2079 fi
|
adamc@378
|
2080 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
adamc@378
|
2081 rmdir conf$$.dir 2>/dev/null
|
adamc@378
|
2082
|
adamc@378
|
2083 if mkdir -p . 2>/dev/null; then
|
adamc@378
|
2084 as_mkdir_p=:
|
adamc@378
|
2085 else
|
adamc@378
|
2086 test -d ./-p && rmdir ./-p
|
adamc@378
|
2087 as_mkdir_p=false
|
adamc@378
|
2088 fi
|
adamc@378
|
2089
|
adamc@378
|
2090 if test -x / >/dev/null 2>&1; then
|
adamc@378
|
2091 as_test_x='test -x'
|
adamc@378
|
2092 else
|
adamc@378
|
2093 if ls -dL / >/dev/null 2>&1; then
|
adamc@378
|
2094 as_ls_L_option=L
|
adamc@378
|
2095 else
|
adamc@378
|
2096 as_ls_L_option=
|
adamc@378
|
2097 fi
|
adamc@378
|
2098 as_test_x='
|
adamc@378
|
2099 eval sh -c '\''
|
adamc@378
|
2100 if test -d "$1"; then
|
adamc@378
|
2101 test -d "$1/.";
|
adamc@378
|
2102 else
|
adamc@378
|
2103 case $1 in
|
adamc@378
|
2104 -*)set "./$1";;
|
adamc@378
|
2105 esac;
|
adamc@378
|
2106 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
adamc@378
|
2107 ???[sx]*):;;*)false;;esac;fi
|
adamc@378
|
2108 '\'' sh
|
adamc@378
|
2109 '
|
adamc@378
|
2110 fi
|
adamc@378
|
2111 as_executable_p=$as_test_x
|
adamc@378
|
2112
|
adamc@378
|
2113 # Sed expression to map a string onto a valid CPP name.
|
adamc@378
|
2114 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
adamc@378
|
2115
|
adamc@378
|
2116 # Sed expression to map a string onto a valid variable name.
|
adamc@378
|
2117 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
adamc@378
|
2118
|
adamc@378
|
2119
|
adamc@378
|
2120 exec 6>&1
|
adamc@378
|
2121
|
adamc@378
|
2122 # Save the log message, to keep $[0] and so on meaningful, and to
|
adamc@378
|
2123 # report actual input values of CONFIG_FILES etc. instead of their
|
adamc@378
|
2124 # values after options handling.
|
adamc@378
|
2125 ac_log="
|
adamc@378
|
2126 This file was extended by $as_me, which was
|
adamc@378
|
2127 generated by GNU Autoconf 2.61. Invocation command line was
|
adamc@378
|
2128
|
adamc@378
|
2129 CONFIG_FILES = $CONFIG_FILES
|
adamc@378
|
2130 CONFIG_HEADERS = $CONFIG_HEADERS
|
adamc@378
|
2131 CONFIG_LINKS = $CONFIG_LINKS
|
adamc@378
|
2132 CONFIG_COMMANDS = $CONFIG_COMMANDS
|
adamc@378
|
2133 $ $0 $@
|
adamc@378
|
2134
|
adamc@378
|
2135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
adamc@378
|
2136 "
|
adamc@378
|
2137
|
adamc@378
|
2138 _ACEOF
|
adamc@378
|
2139
|
adamc@378
|
2140 cat >>$CONFIG_STATUS <<_ACEOF
|
adamc@378
|
2141 # Files that config.status was made for.
|
adamc@378
|
2142 config_files="$ac_config_files"
|
adamc@378
|
2143
|
adamc@378
|
2144 _ACEOF
|
adamc@378
|
2145
|
adamc@378
|
2146 cat >>$CONFIG_STATUS <<\_ACEOF
|
adamc@378
|
2147 ac_cs_usage="\
|
adamc@378
|
2148 \`$as_me' instantiates files from templates according to the
|
adamc@378
|
2149 current configuration.
|
adamc@378
|
2150
|
adamc@378
|
2151 Usage: $0 [OPTIONS] [FILE]...
|
adamc@378
|
2152
|
adamc@378
|
2153 -h, --help print this help, then exit
|
adamc@378
|
2154 -V, --version print version number and configuration settings, then exit
|
adamc@378
|
2155 -q, --quiet do not print progress messages
|
adamc@378
|
2156 -d, --debug don't remove temporary files
|
adamc@378
|
2157 --recheck update $as_me by reconfiguring in the same conditions
|
adamc@378
|
2158 --file=FILE[:TEMPLATE]
|
adamc@378
|
2159 instantiate the configuration file FILE
|
adamc@378
|
2160
|
adamc@378
|
2161 Configuration files:
|
adamc@378
|
2162 $config_files
|
adamc@378
|
2163
|
adamc@378
|
2164 Report bugs to <bug-autoconf@gnu.org>."
|
adamc@378
|
2165
|
adamc@378
|
2166 _ACEOF
|
adamc@378
|
2167 cat >>$CONFIG_STATUS <<_ACEOF
|
adamc@378
|
2168 ac_cs_version="\\
|
adamc@378
|
2169 config.status
|
adamc@378
|
2170 configured by $0, generated by GNU Autoconf 2.61,
|
adamc@378
|
2171 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
adamc@378
|
2172
|
adamc@378
|
2173 Copyright (C) 2006 Free Software Foundation, Inc.
|
adamc@378
|
2174 This config.status script is free software; the Free Software Foundation
|
adamc@378
|
2175 gives unlimited permission to copy, distribute and modify it."
|
adamc@378
|
2176
|
adamc@378
|
2177 ac_pwd='$ac_pwd'
|
adamc@378
|
2178 srcdir='$srcdir'
|
adamc@378
|
2179 _ACEOF
|
adamc@378
|
2180
|
adamc@378
|
2181 cat >>$CONFIG_STATUS <<\_ACEOF
|
adamc@378
|
2182 # If no file are specified by the user, then we need to provide default
|
adamc@378
|
2183 # value. By we need to know if files were specified by the user.
|
adamc@378
|
2184 ac_need_defaults=:
|
adamc@378
|
2185 while test $# != 0
|
adamc@378
|
2186 do
|
adamc@378
|
2187 case $1 in
|
adamc@378
|
2188 --*=*)
|
adamc@378
|
2189 ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
adamc@378
|
2190 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
adamc@378
|
2191 ac_shift=:
|
adamc@378
|
2192 ;;
|
adamc@378
|
2193 *)
|
adamc@378
|
2194 ac_option=$1
|
adamc@378
|
2195 ac_optarg=$2
|
adamc@378
|
2196 ac_shift=shift
|
adamc@378
|
2197 ;;
|
adamc@378
|
2198 esac
|
adamc@378
|
2199
|
adamc@378
|
2200 case $ac_option in
|
adamc@378
|
2201 # Handling of the options.
|
adamc@378
|
2202 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
adamc@378
|
2203 ac_cs_recheck=: ;;
|
adamc@378
|
2204 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
adamc@378
|
2205 echo "$ac_cs_version"; exit ;;
|
adamc@378
|
2206 --debug | --debu | --deb | --de | --d | -d )
|
adamc@378
|
2207 debug=: ;;
|
adamc@378
|
2208 --file | --fil | --fi | --f )
|
adamc@378
|
2209 $ac_shift
|
adamc@378
|
2210 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
adamc@378
|
2211 ac_need_defaults=false;;
|
adamc@378
|
2212 --he | --h | --help | --hel | -h )
|
adamc@378
|
2213 echo "$ac_cs_usage"; exit ;;
|
adamc@378
|
2214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
adamc@378
|
2215 | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
adamc@378
|
2216 ac_cs_silent=: ;;
|
adamc@378
|
2217
|
adamc@378
|
2218 # This is an error.
|
adamc@378
|
2219 -*) { echo "$as_me: error: unrecognized option: $1
|
adamc@378
|
2220 Try \`$0 --help' for more information." >&2
|
adamc@378
|
2221 { (exit 1); exit 1; }; } ;;
|
adamc@378
|
2222
|
adamc@378
|
2223 *) ac_config_targets="$ac_config_targets $1"
|
adamc@378
|
2224 ac_need_defaults=false ;;
|
adamc@378
|
2225
|
adamc@378
|
2226 esac
|
adamc@378
|
2227 shift
|
adamc@378
|
2228 done
|
adamc@378
|
2229
|
adamc@378
|
2230 ac_configure_extra_args=
|
adamc@378
|
2231
|
adamc@378
|
2232 if $ac_cs_silent; then
|
adamc@378
|
2233 exec 6>/dev/null
|
adamc@378
|
2234 ac_configure_extra_args="$ac_configure_extra_args --silent"
|
adamc@378
|
2235 fi
|
adamc@378
|
2236
|
adamc@378
|
2237 _ACEOF
|
adamc@378
|
2238 cat >>$CONFIG_STATUS <<_ACEOF
|
adamc@378
|
2239 if \$ac_cs_recheck; then
|
adamc@378
|
2240 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
adamc@378
|
2241 CONFIG_SHELL=$SHELL
|
adamc@378
|
2242 export CONFIG_SHELL
|
adamc@378
|
2243 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
adamc@378
|
2244 fi
|
adamc@378
|
2245
|
adamc@378
|
2246 _ACEOF
|
adamc@378
|
2247 cat >>$CONFIG_STATUS <<\_ACEOF
|
adamc@378
|
2248 exec 5>>config.log
|
adamc@378
|
2249 {
|
adamc@378
|
2250 echo
|
adamc@378
|
2251 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
adamc@378
|
2252 ## Running $as_me. ##
|
adamc@378
|
2253 _ASBOX
|
adamc@378
|
2254 echo "$ac_log"
|
adamc@378
|
2255 } >&5
|
adamc@378
|
2256
|
adamc@378
|
2257 _ACEOF
|
adamc@378
|
2258 cat >>$CONFIG_STATUS <<_ACEOF
|
adamc@378
|
2259 _ACEOF
|
adamc@378
|
2260
|
adamc@378
|
2261 cat >>$CONFIG_STATUS <<\_ACEOF
|
adamc@378
|
2262
|
adamc@378
|
2263 # Handling of arguments.
|
adamc@378
|
2264 for ac_config_target in $ac_config_targets
|
adamc@378
|
2265 do
|
adamc@378
|
2266 case $ac_config_target in
|
adamc@378
|
2267 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
adamc@378
|
2268 "src/config.sml") CONFIG_FILES="$CONFIG_FILES src/config.sml" ;;
|
adamc@378
|
2269
|
adamc@378
|
2270 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
adamc@378
|
2271 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
adamc@378
|
2272 { (exit 1); exit 1; }; };;
|
adamc@378
|
2273 esac
|
adamc@378
|
2274 done
|
adamc@378
|
2275
|
adamc@378
|
2276
|
adamc@378
|
2277 # If the user did not use the arguments to specify the items to instantiate,
|
adamc@378
|
2278 # then the envvar interface is used. Set only those that are not.
|
adamc@378
|
2279 # We use the long form for the default assignment because of an extremely
|
adamc@378
|
2280 # bizarre bug on SunOS 4.1.3.
|
adamc@378
|
2281 if $ac_need_defaults; then
|
adamc@378
|
2282 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
adamc@378
|
2283 fi
|
adamc@378
|
2284
|
adamc@378
|
2285 # Have a temporary directory for convenience. Make it in the build tree
|
adamc@378
|
2286 # simply because there is no reason against having it here, and in addition,
|
adamc@378
|
2287 # creating and moving files from /tmp can sometimes cause problems.
|
adamc@378
|
2288 # Hook for its removal unless debugging.
|
adamc@378
|
2289 # Note that there is a small window in which the directory will not be cleaned:
|
adamc@378
|
2290 # after its creation but before its name has been assigned to `$tmp'.
|
adamc@378
|
2291 $debug ||
|
adamc@378
|
2292 {
|
adamc@378
|
2293 tmp=
|
adamc@378
|
2294 trap 'exit_status=$?
|
adamc@378
|
2295 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
adamc@378
|
2296 ' 0
|
adamc@378
|
2297 trap '{ (exit 1); exit 1; }' 1 2 13 15
|
adamc@378
|
2298 }
|
adamc@378
|
2299 # Create a (secure) tmp directory for tmp files.
|
adamc@378
|
2300
|
adamc@378
|
2301 {
|
adamc@378
|
2302 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
adamc@378
|
2303 test -n "$tmp" && test -d "$tmp"
|
adamc@378
|
2304 } ||
|
adamc@378
|
2305 {
|
adamc@378
|
2306 tmp=./conf$$-$RANDOM
|
adamc@378
|
2307 (umask 077 && mkdir "$tmp")
|
adamc@378
|
2308 } ||
|
adamc@378
|
2309 {
|
adamc@378
|
2310 echo "$me: cannot create a temporary directory in ." >&2
|
adamc@378
|
2311 { (exit 1); exit 1; }
|
adamc@378
|
2312 }
|
adamc@378
|
2313
|
adamc@378
|
2314 #
|
adamc@378
|
2315 # Set up the sed scripts for CONFIG_FILES section.
|
adamc@378
|
2316 #
|
adamc@378
|
2317
|
adamc@378
|
2318 # No need to generate the scripts if there are no CONFIG_FILES.
|
adamc@378
|
2319 # This happens for instance when ./config.status config.h
|
adamc@378
|
2320 if test -n "$CONFIG_FILES"; then
|
adamc@378
|
2321
|
adamc@378
|
2322 _ACEOF
|
adamc@378
|
2323
|
adamc@378
|
2324
|
adamc@378
|
2325
|
adamc@378
|
2326 ac_delim='%!_!# '
|
adamc@378
|
2327 for ac_last_try in false false false false false :; do
|
adamc@378
|
2328 cat >conf$$subs.sed <<_ACEOF
|
adamc@378
|
2329 SHELL!$SHELL$ac_delim
|
adamc@378
|
2330 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
adamc@378
|
2331 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
adamc@378
|
2332 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
adamc@378
|
2333 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
adamc@378
|
2334 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
adamc@378
|
2335 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
adamc@378
|
2336 exec_prefix!$exec_prefix$ac_delim
|
adamc@378
|
2337 prefix!$prefix$ac_delim
|
adamc@378
|
2338 program_transform_name!$program_transform_name$ac_delim
|
adamc@378
|
2339 bindir!$bindir$ac_delim
|
adamc@378
|
2340 sbindir!$sbindir$ac_delim
|
adamc@378
|
2341 libexecdir!$libexecdir$ac_delim
|
adamc@378
|
2342 datarootdir!$datarootdir$ac_delim
|
adamc@378
|
2343 datadir!$datadir$ac_delim
|
adamc@378
|
2344 sysconfdir!$sysconfdir$ac_delim
|
adamc@378
|
2345 sharedstatedir!$sharedstatedir$ac_delim
|
adamc@378
|
2346 localstatedir!$localstatedir$ac_delim
|
adamc@378
|
2347 includedir!$includedir$ac_delim
|
adamc@378
|
2348 oldincludedir!$oldincludedir$ac_delim
|
adamc@378
|
2349 docdir!$docdir$ac_delim
|
adamc@378
|
2350 infodir!$infodir$ac_delim
|
adamc@378
|
2351 htmldir!$htmldir$ac_delim
|
adamc@378
|
2352 dvidir!$dvidir$ac_delim
|
adamc@378
|
2353 pdfdir!$pdfdir$ac_delim
|
adamc@378
|
2354 psdir!$psdir$ac_delim
|
adamc@378
|
2355 libdir!$libdir$ac_delim
|
adamc@378
|
2356 localedir!$localedir$ac_delim
|
adamc@378
|
2357 mandir!$mandir$ac_delim
|
adamc@378
|
2358 DEFS!$DEFS$ac_delim
|
adamc@378
|
2359 ECHO_C!$ECHO_C$ac_delim
|
adamc@378
|
2360 ECHO_N!$ECHO_N$ac_delim
|
adamc@378
|
2361 ECHO_T!$ECHO_T$ac_delim
|
adamc@378
|
2362 LIBS!$LIBS$ac_delim
|
adamc@378
|
2363 build_alias!$build_alias$ac_delim
|
adamc@378
|
2364 host_alias!$host_alias$ac_delim
|
adamc@378
|
2365 target_alias!$target_alias$ac_delim
|
adamc@378
|
2366 BIN!$BIN$ac_delim
|
adamc@378
|
2367 LIB!$LIB$ac_delim
|
adamc@378
|
2368 INCLUDE!$INCLUDE$ac_delim
|
adamc@378
|
2369 SITELISP!$SITELISP$ac_delim
|
adamc@435
|
2370 GCCARGS!$GCCARGS$ac_delim
|
adamc@378
|
2371 do_not_edit!$do_not_edit$ac_delim
|
adamc@378
|
2372 LIBOBJS!$LIBOBJS$ac_delim
|
adamc@378
|
2373 LTLIBOBJS!$LTLIBOBJS$ac_delim
|
adamc@378
|
2374 _ACEOF
|
adamc@378
|
2375
|
adamc@435
|
2376 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
|
adamc@378
|
2377 break
|
adamc@378
|
2378 elif $ac_last_try; then
|
adamc@378
|
2379 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
adamc@378
|
2380 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
adamc@378
|
2381 { (exit 1); exit 1; }; }
|
adamc@378
|
2382 else
|
adamc@378
|
2383 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
adamc@378
|
2384 fi
|
adamc@378
|
2385 done
|
adamc@378
|
2386
|
adamc@378
|
2387 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
adamc@378
|
2388 if test -n "$ac_eof"; then
|
adamc@378
|
2389 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
adamc@378
|
2390 ac_eof=`expr $ac_eof + 1`
|
adamc@378
|
2391 fi
|
adamc@378
|
2392
|
adamc@378
|
2393 cat >>$CONFIG_STATUS <<_ACEOF
|
adamc@378
|
2394 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
adamc@378
|
2395 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
adamc@378
|
2396 _ACEOF
|
adamc@378
|
2397 sed '
|
adamc@378
|
2398 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
adamc@378
|
2399 s/^/s,@/; s/!/@,|#_!!_#|/
|
adamc@378
|
2400 :n
|
adamc@378
|
2401 t n
|
adamc@378
|
2402 s/'"$ac_delim"'$/,g/; t
|
adamc@378
|
2403 s/$/\\/; p
|
adamc@378
|
2404 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
adamc@378
|
2405 ' >>$CONFIG_STATUS <conf$$subs.sed
|
adamc@378
|
2406 rm -f conf$$subs.sed
|
adamc@378
|
2407 cat >>$CONFIG_STATUS <<_ACEOF
|
adamc@378
|
2408 :end
|
adamc@378
|
2409 s/|#_!!_#|//g
|
adamc@378
|
2410 CEOF$ac_eof
|
adamc@378
|
2411 _ACEOF
|
adamc@378
|
2412
|
adamc@378
|
2413
|
adamc@378
|
2414 # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
adamc@378
|
2415 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
adamc@378
|
2416 # trailing colons and then remove the whole line if VPATH becomes empty
|
adamc@378
|
2417 # (actually we leave an empty line to preserve line numbers).
|
adamc@378
|
2418 if test "x$srcdir" = x.; then
|
adamc@378
|
2419 ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
adamc@378
|
2420 s/:*\$(srcdir):*/:/
|
adamc@378
|
2421 s/:*\${srcdir}:*/:/
|
adamc@378
|
2422 s/:*@srcdir@:*/:/
|
adamc@378
|
2423 s/^\([^=]*=[ ]*\):*/\1/
|
adamc@378
|
2424 s/:*$//
|
adamc@378
|
2425 s/^[^=]*=[ ]*$//
|
adamc@378
|
2426 }'
|
adamc@378
|
2427 fi
|
adamc@378
|
2428
|
adamc@378
|
2429 cat >>$CONFIG_STATUS <<\_ACEOF
|
adamc@378
|
2430 fi # test -n "$CONFIG_FILES"
|
adamc@378
|
2431
|
adamc@378
|
2432
|
adamc@378
|
2433 for ac_tag in :F $CONFIG_FILES
|
adamc@378
|
2434 do
|
adamc@378
|
2435 case $ac_tag in
|
adamc@378
|
2436 :[FHLC]) ac_mode=$ac_tag; continue;;
|
adamc@378
|
2437 esac
|
adamc@378
|
2438 case $ac_mode$ac_tag in
|
adamc@378
|
2439 :[FHL]*:*);;
|
adamc@378
|
2440 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
adamc@378
|
2441 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
adamc@378
|
2442 { (exit 1); exit 1; }; };;
|
adamc@378
|
2443 :[FH]-) ac_tag=-:-;;
|
adamc@378
|
2444 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
adamc@378
|
2445 esac
|
adamc@378
|
2446 ac_save_IFS=$IFS
|
adamc@378
|
2447 IFS=:
|
adamc@378
|
2448 set x $ac_tag
|
adamc@378
|
2449 IFS=$ac_save_IFS
|
adamc@378
|
2450 shift
|
adamc@378
|
2451 ac_file=$1
|
adamc@378
|
2452 shift
|
adamc@378
|
2453
|
adamc@378
|
2454 case $ac_mode in
|
adamc@378
|
2455 :L) ac_source=$1;;
|
adamc@378
|
2456 :[FH])
|
adamc@378
|
2457 ac_file_inputs=
|
adamc@378
|
2458 for ac_f
|
adamc@378
|
2459 do
|
adamc@378
|
2460 case $ac_f in
|
adamc@378
|
2461 -) ac_f="$tmp/stdin";;
|
adamc@378
|
2462 *) # Look for the file first in the build tree, then in the source tree
|
adamc@378
|
2463 # (if the path is not absolute). The absolute path cannot be DOS-style,
|
adamc@378
|
2464 # because $ac_f cannot contain `:'.
|
adamc@378
|
2465 test -f "$ac_f" ||
|
adamc@378
|
2466 case $ac_f in
|
adamc@378
|
2467 [\\/$]*) false;;
|
adamc@378
|
2468 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
adamc@378
|
2469 esac ||
|
adamc@378
|
2470 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
adamc@378
|
2471 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
adamc@378
|
2472 { (exit 1); exit 1; }; };;
|
adamc@378
|
2473 esac
|
adamc@378
|
2474 ac_file_inputs="$ac_file_inputs $ac_f"
|
adamc@378
|
2475 done
|
adamc@378
|
2476
|
adamc@378
|
2477 # Let's still pretend it is `configure' which instantiates (i.e., don't
|
adamc@378
|
2478 # use $as_me), people would be surprised to read:
|
adamc@378
|
2479 # /* config.h. Generated by config.status. */
|
adamc@378
|
2480 configure_input="Generated from "`IFS=:
|
adamc@378
|
2481 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
adamc@378
|
2482 if test x"$ac_file" != x-; then
|
adamc@378
|
2483 configure_input="$ac_file. $configure_input"
|
adamc@378
|
2484 { echo "$as_me:$LINENO: creating $ac_file" >&5
|
adamc@378
|
2485 echo "$as_me: creating $ac_file" >&6;}
|
adamc@378
|
2486 fi
|
adamc@378
|
2487
|
adamc@378
|
2488 case $ac_tag in
|
adamc@378
|
2489 *:-:* | *:-) cat >"$tmp/stdin";;
|
adamc@378
|
2490 esac
|
adamc@378
|
2491 ;;
|
adamc@378
|
2492 esac
|
adamc@378
|
2493
|
adamc@378
|
2494 ac_dir=`$as_dirname -- "$ac_file" ||
|
adamc@378
|
2495 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adamc@378
|
2496 X"$ac_file" : 'X\(//\)[^/]' \| \
|
adamc@378
|
2497 X"$ac_file" : 'X\(//\)$' \| \
|
adamc@378
|
2498 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
adamc@378
|
2499 echo X"$ac_file" |
|
adamc@378
|
2500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adamc@378
|
2501 s//\1/
|
adamc@378
|
2502 q
|
adamc@378
|
2503 }
|
adamc@378
|
2504 /^X\(\/\/\)[^/].*/{
|
adamc@378
|
2505 s//\1/
|
adamc@378
|
2506 q
|
adamc@378
|
2507 }
|
adamc@378
|
2508 /^X\(\/\/\)$/{
|
adamc@378
|
2509 s//\1/
|
adamc@378
|
2510 q
|
adamc@378
|
2511 }
|
adamc@378
|
2512 /^X\(\/\).*/{
|
adamc@378
|
2513 s//\1/
|
adamc@378
|
2514 q
|
adamc@378
|
2515 }
|
adamc@378
|
2516 s/.*/./; q'`
|
adamc@378
|
2517 { as_dir="$ac_dir"
|
adamc@378
|
2518 case $as_dir in #(
|
adamc@378
|
2519 -*) as_dir=./$as_dir;;
|
adamc@378
|
2520 esac
|
adamc@378
|
2521 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
adamc@378
|
2522 as_dirs=
|
adamc@378
|
2523 while :; do
|
adamc@378
|
2524 case $as_dir in #(
|
adamc@378
|
2525 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
adamc@378
|
2526 *) as_qdir=$as_dir;;
|
adamc@378
|
2527 esac
|
adamc@378
|
2528 as_dirs="'$as_qdir' $as_dirs"
|
adamc@378
|
2529 as_dir=`$as_dirname -- "$as_dir" ||
|
adamc@378
|
2530 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adamc@378
|
2531 X"$as_dir" : 'X\(//\)[^/]' \| \
|
adamc@378
|
2532 X"$as_dir" : 'X\(//\)$' \| \
|
adamc@378
|
2533 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
adamc@378
|
2534 echo X"$as_dir" |
|
adamc@378
|
2535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adamc@378
|
2536 s//\1/
|
adamc@378
|
2537 q
|
adamc@378
|
2538 }
|
adamc@378
|
2539 /^X\(\/\/\)[^/].*/{
|
adamc@378
|
2540 s//\1/
|
adamc@378
|
2541 q
|
adamc@378
|
2542 }
|
adamc@378
|
2543 /^X\(\/\/\)$/{
|
adamc@378
|
2544 s//\1/
|
adamc@378
|
2545 q
|
adamc@378
|
2546 }
|
adamc@378
|
2547 /^X\(\/\).*/{
|
adamc@378
|
2548 s//\1/
|
adamc@378
|
2549 q
|
adamc@378
|
2550 }
|
adamc@378
|
2551 s/.*/./; q'`
|
adamc@378
|
2552 test -d "$as_dir" && break
|
adamc@378
|
2553 done
|
adamc@378
|
2554 test -z "$as_dirs" || eval "mkdir $as_dirs"
|
adamc@378
|
2555 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
adamc@378
|
2556 echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
adamc@378
|
2557 { (exit 1); exit 1; }; }; }
|
adamc@378
|
2558 ac_builddir=.
|
adamc@378
|
2559
|
adamc@378
|
2560 case "$ac_dir" in
|
adamc@378
|
2561 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adamc@378
|
2562 *)
|
adamc@378
|
2563 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
adamc@378
|
2564 # A ".." for each directory in $ac_dir_suffix.
|
adamc@378
|
2565 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
adamc@378
|
2566 case $ac_top_builddir_sub in
|
adamc@378
|
2567 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adamc@378
|
2568 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
adamc@378
|
2569 esac ;;
|
adamc@378
|
2570 esac
|
adamc@378
|
2571 ac_abs_top_builddir=$ac_pwd
|
adamc@378
|
2572 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
adamc@378
|
2573 # for backward compatibility:
|
adamc@378
|
2574 ac_top_builddir=$ac_top_build_prefix
|
adamc@378
|
2575
|
adamc@378
|
2576 case $srcdir in
|
adamc@378
|
2577 .) # We are building in place.
|
adamc@378
|
2578 ac_srcdir=.
|
adamc@378
|
2579 ac_top_srcdir=$ac_top_builddir_sub
|
adamc@378
|
2580 ac_abs_top_srcdir=$ac_pwd ;;
|
adamc@378
|
2581 [\\/]* | ?:[\\/]* ) # Absolute name.
|
adamc@378
|
2582 ac_srcdir=$srcdir$ac_dir_suffix;
|
adamc@378
|
2583 ac_top_srcdir=$srcdir
|
adamc@378
|
2584 ac_abs_top_srcdir=$srcdir ;;
|
adamc@378
|
2585 *) # Relative name.
|
adamc@378
|
2586 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
adamc@378
|
2587 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
adamc@378
|
2588 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
adamc@378
|
2589 esac
|
adamc@378
|
2590 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
adamc@378
|
2591
|
adamc@378
|
2592
|
adamc@378
|
2593 case $ac_mode in
|
adamc@378
|
2594 :F)
|
adamc@378
|
2595 #
|
adamc@378
|
2596 # CONFIG_FILE
|
adamc@378
|
2597 #
|
adamc@378
|
2598
|
adamc@378
|
2599 _ACEOF
|
adamc@378
|
2600
|
adamc@378
|
2601 cat >>$CONFIG_STATUS <<\_ACEOF
|
adamc@378
|
2602 # If the template does not know about datarootdir, expand it.
|
adamc@378
|
2603 # FIXME: This hack should be removed a few years after 2.60.
|
adamc@378
|
2604 ac_datarootdir_hack=; ac_datarootdir_seen=
|
adamc@378
|
2605
|
adamc@378
|
2606 case `sed -n '/datarootdir/ {
|
adamc@378
|
2607 p
|
adamc@378
|
2608 q
|
adamc@378
|
2609 }
|
adamc@378
|
2610 /@datadir@/p
|
adamc@378
|
2611 /@docdir@/p
|
adamc@378
|
2612 /@infodir@/p
|
adamc@378
|
2613 /@localedir@/p
|
adamc@378
|
2614 /@mandir@/p
|
adamc@378
|
2615 ' $ac_file_inputs` in
|
adamc@378
|
2616 *datarootdir*) ac_datarootdir_seen=yes;;
|
adamc@378
|
2617 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
adamc@378
|
2618 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
adamc@378
|
2619 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
adamc@378
|
2620 _ACEOF
|
adamc@378
|
2621 cat >>$CONFIG_STATUS <<_ACEOF
|
adamc@378
|
2622 ac_datarootdir_hack='
|
adamc@378
|
2623 s&@datadir@&$datadir&g
|
adamc@378
|
2624 s&@docdir@&$docdir&g
|
adamc@378
|
2625 s&@infodir@&$infodir&g
|
adamc@378
|
2626 s&@localedir@&$localedir&g
|
adamc@378
|
2627 s&@mandir@&$mandir&g
|
adamc@378
|
2628 s&\\\${datarootdir}&$datarootdir&g' ;;
|
adamc@378
|
2629 esac
|
adamc@378
|
2630 _ACEOF
|
adamc@378
|
2631
|
adamc@378
|
2632 # Neutralize VPATH when `$srcdir' = `.'.
|
adamc@378
|
2633 # Shell code in configure.ac might set extrasub.
|
adamc@378
|
2634 # FIXME: do we really want to maintain this feature?
|
adamc@378
|
2635 cat >>$CONFIG_STATUS <<_ACEOF
|
adamc@378
|
2636 sed "$ac_vpsub
|
adamc@378
|
2637 $extrasub
|
adamc@378
|
2638 _ACEOF
|
adamc@378
|
2639 cat >>$CONFIG_STATUS <<\_ACEOF
|
adamc@378
|
2640 :t
|
adamc@378
|
2641 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
adamc@378
|
2642 s&@configure_input@&$configure_input&;t t
|
adamc@378
|
2643 s&@top_builddir@&$ac_top_builddir_sub&;t t
|
adamc@378
|
2644 s&@srcdir@&$ac_srcdir&;t t
|
adamc@378
|
2645 s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
adamc@378
|
2646 s&@top_srcdir@&$ac_top_srcdir&;t t
|
adamc@378
|
2647 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
adamc@378
|
2648 s&@builddir@&$ac_builddir&;t t
|
adamc@378
|
2649 s&@abs_builddir@&$ac_abs_builddir&;t t
|
adamc@378
|
2650 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
adamc@378
|
2651 $ac_datarootdir_hack
|
adamc@378
|
2652 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
|
adamc@378
|
2653
|
adamc@378
|
2654 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
adamc@378
|
2655 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
adamc@378
|
2656 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
adamc@378
|
2657 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
adamc@378
|
2658 which seems to be undefined. Please make sure it is defined." >&5
|
adamc@378
|
2659 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
adamc@378
|
2660 which seems to be undefined. Please make sure it is defined." >&2;}
|
adamc@378
|
2661
|
adamc@378
|
2662 rm -f "$tmp/stdin"
|
adamc@378
|
2663 case $ac_file in
|
adamc@378
|
2664 -) cat "$tmp/out"; rm -f "$tmp/out";;
|
adamc@378
|
2665 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
adamc@378
|
2666 esac
|
adamc@378
|
2667 ;;
|
adamc@378
|
2668
|
adamc@378
|
2669
|
adamc@378
|
2670
|
adamc@378
|
2671 esac
|
adamc@378
|
2672
|
adamc@378
|
2673
|
adamc@378
|
2674 case $ac_file$ac_mode in
|
adamc@378
|
2675 "Makefile":F) chmod a-w Makefile ;;
|
adamc@378
|
2676 "src/config.sml":F) chmod a-w src/config.sml ;;
|
adamc@378
|
2677
|
adamc@378
|
2678 esac
|
adamc@378
|
2679 done # for ac_tag
|
adamc@378
|
2680
|
adamc@378
|
2681
|
adamc@378
|
2682 { (exit 0); exit 0; }
|
adamc@378
|
2683 _ACEOF
|
adamc@378
|
2684 chmod +x $CONFIG_STATUS
|
adamc@378
|
2685 ac_clean_files=$ac_clean_files_save
|
adamc@378
|
2686
|
adamc@378
|
2687
|
adamc@378
|
2688 # configure is writing to config.log, and then calls config.status.
|
adamc@378
|
2689 # config.status does its own redirection, appending to config.log.
|
adamc@378
|
2690 # Unfortunately, on DOS this fails, as config.log is still kept open
|
adamc@378
|
2691 # by configure, so config.status won't be able to write to it; its
|
adamc@378
|
2692 # output is simply discarded. So we exec the FD to /dev/null,
|
adamc@378
|
2693 # effectively closing config.log, so it can be properly (re)opened and
|
adamc@378
|
2694 # appended to by config.status. When coming back to configure, we
|
adamc@378
|
2695 # need to make the FD available again.
|
adamc@378
|
2696 if test "$no_create" != yes; then
|
adamc@378
|
2697 ac_cs_success=:
|
adamc@378
|
2698 ac_config_status_args=
|
adamc@378
|
2699 test "$silent" = yes &&
|
adamc@378
|
2700 ac_config_status_args="$ac_config_status_args --quiet"
|
adamc@378
|
2701 exec 5>/dev/null
|
adamc@378
|
2702 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
adamc@378
|
2703 exec 5>>config.log
|
adamc@378
|
2704 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
adamc@378
|
2705 # would make configure fail if this is the last instruction.
|
adamc@378
|
2706 $ac_cs_success || { (exit 1); exit 1; }
|
adamc@378
|
2707 fi
|
adamc@378
|
2708
|
adamc@378
|
2709
|
adamc@378
|
2710 # show the user what the variables have been set to
|
adamc@378
|
2711 cat <<EOF
|
adamc@378
|
2712
|
adamc@378
|
2713 Ur/Web configuration:
|
adamc@378
|
2714 bin directory: BIN $BIN
|
adamc@378
|
2715 lib directory: LIB $LIB
|
adamc@378
|
2716 include directory: INCLUDE $INCLUDE
|
adamc@378
|
2717 site-lisp directory: SITELISP $SITELISP
|
adamc@435
|
2718 Extra GCC args: GCCARGS $GCCARGS
|
adamc@378
|
2719 EOF
|