Mercurial > urweb
comparison configure @ 1095:bed675db3aff
Dynamic linking of the runtime system
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 27 Dec 2009 13:18:32 -0500 |
parents | f7b25375c0cf |
children | d4cd54a4ea06 |
comparison
equal
deleted
inserted
replaced
1094:db52c32dbe42 | 1095:bed675db3aff |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.61. | 3 # Generated by GNU Autoconf 2.65. |
4 # | |
4 # | 5 # |
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
8 # Inc. | |
9 # | |
10 # | |
7 # This configure script is free software; the Free Software Foundation | 11 # This configure script is free software; the Free Software Foundation |
8 # gives unlimited permission to copy, distribute and modify it. | 12 # gives unlimited permission to copy, distribute and modify it. |
9 ## --------------------- ## | 13 ## -------------------- ## |
10 ## M4sh Initialization. ## | 14 ## M4sh Initialization. ## |
11 ## --------------------- ## | 15 ## -------------------- ## |
12 | 16 |
13 # Be more Bourne compatible | 17 # Be more Bourne compatible |
14 DUALCASE=1; export DUALCASE # for MKS sh | 18 DUALCASE=1; export DUALCASE # for MKS sh |
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
16 emulate sh | 20 emulate sh |
17 NULLCMD=: | 21 NULLCMD=: |
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
19 # is contrary to our usage. Disable this feature. | 23 # is contrary to our usage. Disable this feature. |
20 alias -g '${1+"$@"}'='"$@"' | 24 alias -g '${1+"$@"}'='"$@"' |
21 setopt NO_GLOB_SUBST | 25 setopt NO_GLOB_SUBST |
22 else | 26 else |
23 case `(set -o) 2>/dev/null` in | 27 case `(set -o) 2>/dev/null` in #( |
24 *posix*) set -o posix ;; | 28 *posix*) : |
29 set -o posix ;; #( | |
30 *) : | |
31 ;; | |
25 esac | 32 esac |
26 | 33 fi |
27 fi | 34 |
28 | 35 |
29 | 36 as_nl=' |
30 | 37 ' |
31 | 38 export as_nl |
32 # PATH needs CR | 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
33 # Avoid depending upon Character Ranges. | 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 43 # Prefer a ksh shell builtin over an external printf program on Solaris, |
37 as_cr_digits='0123456789' | 44 # but without wasting forks for bash or zsh. |
38 as_cr_alnum=$as_cr_Letters$as_cr_digits | 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ |
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
47 as_echo='print -r --' | |
48 as_echo_n='print -rn --' | |
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
50 as_echo='printf %s\n' | |
51 as_echo_n='printf %s' | |
52 else | |
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
55 as_echo_n='/usr/ucb/echo -n' | |
56 else | |
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
58 as_echo_n_body='eval | |
59 arg=$1; | |
60 case $arg in #( | |
61 *"$as_nl"*) | |
62 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
64 esac; | |
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
66 ' | |
67 export as_echo_n_body | |
68 as_echo_n='sh -c $as_echo_n_body as_echo' | |
69 fi | |
70 export as_echo_body | |
71 as_echo='sh -c $as_echo_body as_echo' | |
72 fi | |
39 | 73 |
40 # The user is always right. | 74 # The user is always right. |
41 if test "${PATH_SEPARATOR+set}" != set; then | 75 if test "${PATH_SEPARATOR+set}" != set; then |
42 echo "#! /bin/sh" >conf$$.sh | 76 PATH_SEPARATOR=: |
43 echo "exit 0" >>conf$$.sh | 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
44 chmod +x conf$$.sh | 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 79 PATH_SEPARATOR=';' |
46 PATH_SEPARATOR=';' | 80 } |
47 else | |
48 PATH_SEPARATOR=: | |
49 fi | |
50 rm -f conf$$.sh | |
51 fi | |
52 | |
53 # Support unset when possible. | |
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
55 as_unset=unset | |
56 else | |
57 as_unset=false | |
58 fi | 81 fi |
59 | 82 |
60 | 83 |
61 # IFS | 84 # IFS |
62 # We need space, tab and new line, in precisely that order. Quoting is | 85 # We need space, tab and new line, in precisely that order. Quoting is |
63 # there to prevent editors from complaining about space-tab. | 86 # there to prevent editors from complaining about space-tab. |
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
65 # splitting by setting IFS to empty value.) | 88 # splitting by setting IFS to empty value.) |
66 as_nl=' | |
67 ' | |
68 IFS=" "" $as_nl" | 89 IFS=" "" $as_nl" |
69 | 90 |
70 # Find who we are. Look in the path if we contain no directory separator. | 91 # Find who we are. Look in the path if we contain no directory separator. |
71 case $0 in | 92 case $0 in #(( |
72 *[\\/]* ) as_myself=$0 ;; | 93 *[\\/]* ) as_myself=$0 ;; |
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
74 for as_dir in $PATH | 95 for as_dir in $PATH |
75 do | 96 do |
76 IFS=$as_save_IFS | 97 IFS=$as_save_IFS |
77 test -z "$as_dir" && as_dir=. | 98 test -z "$as_dir" && as_dir=. |
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
79 done | 100 done |
80 IFS=$as_save_IFS | 101 IFS=$as_save_IFS |
81 | 102 |
82 ;; | 103 ;; |
83 esac | 104 esac |
84 # We did not find ourselves, most probably we were run as `sh COMMAND' | 105 # We did not find ourselves, most probably we were run as `sh COMMAND' |
85 # in which case we are not to be found in the path. | 106 # in which case we are not to be found in the path. |
86 if test "x$as_myself" = x; then | 107 if test "x$as_myself" = x; then |
87 as_myself=$0 | 108 as_myself=$0 |
88 fi | 109 fi |
89 if test ! -f "$as_myself"; then | 110 if test ! -f "$as_myself"; then |
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
91 { (exit 1); exit 1; } | 112 exit 1 |
92 fi | 113 fi |
93 | 114 |
94 # Work around bugs in pre-3.0 UWIN ksh. | 115 # Unset variables that we do not need and which cause bugs (e.g. in |
95 for as_var in ENV MAIL MAILPATH | 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 117 # suppresses any "Segmentation fault" message there. '((' could |
118 # trigger a bug in pdksh 5.2.14. | |
119 for as_var in BASH_ENV ENV MAIL MAILPATH | |
120 do eval test x\${$as_var+set} = xset \ | |
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
97 done | 122 done |
98 PS1='$ ' | 123 PS1='$ ' |
99 PS2='> ' | 124 PS2='> ' |
100 PS4='+ ' | 125 PS4='+ ' |
101 | 126 |
102 # NLS nuisances. | 127 # NLS nuisances. |
103 for as_var in \ | 128 LC_ALL=C |
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 129 export LC_ALL |
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 130 LANGUAGE=C |
106 LC_TELEPHONE LC_TIME | 131 export LANGUAGE |
132 | |
133 # CDPATH. | |
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
135 | |
136 if test "x$CONFIG_SHELL" = x; then | |
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
138 emulate sh | |
139 NULLCMD=: | |
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
141 # is contrary to our usage. Disable this feature. | |
142 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
143 setopt NO_GLOB_SUBST | |
144 else | |
145 case \`(set -o) 2>/dev/null\` in #( | |
146 *posix*) : | |
147 set -o posix ;; #( | |
148 *) : | |
149 ;; | |
150 esac | |
151 fi | |
152 " | |
153 as_required="as_fn_return () { (exit \$1); } | |
154 as_fn_success () { as_fn_return 0; } | |
155 as_fn_failure () { as_fn_return 1; } | |
156 as_fn_ret_success () { return 0; } | |
157 as_fn_ret_failure () { return 1; } | |
158 | |
159 exitcode=0 | |
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
165 | |
166 else | |
167 exitcode=1; echo positional parameters were not saved. | |
168 fi | |
169 test x\$exitcode = x0 || exit 1" | |
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" | |
174 if (eval "$as_required") 2>/dev/null; then : | |
175 as_have_required=yes | |
176 else | |
177 as_have_required=no | |
178 fi | |
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
180 | |
181 else | |
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
183 as_found=false | |
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
107 do | 185 do |
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 186 IFS=$as_save_IFS |
109 eval $as_var=C; export $as_var | 187 test -z "$as_dir" && as_dir=. |
188 as_found=: | |
189 case $as_dir in #( | |
190 /*) | |
191 for as_base in sh bash ksh sh5; do | |
192 # Try only shells that exist, to save several forks. | |
193 as_shell=$as_dir/$as_base | |
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
196 CONFIG_SHELL=$as_shell as_have_required=yes | |
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
198 break 2 | |
199 fi | |
200 fi | |
201 done;; | |
202 esac | |
203 as_found=false | |
204 done | |
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
207 CONFIG_SHELL=$SHELL as_have_required=yes | |
208 fi; } | |
209 IFS=$as_save_IFS | |
210 | |
211 | |
212 if test "x$CONFIG_SHELL" != x; then : | |
213 # We cannot yet assume a decent shell, so we have to provide a | |
214 # neutralization value for shells without unset; and this also | |
215 # works around shells that cannot unset nonexistent variables. | |
216 BASH_ENV=/dev/null | |
217 ENV=/dev/null | |
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
219 export CONFIG_SHELL | |
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
221 fi | |
222 | |
223 if test x$as_have_required = xno; then : | |
224 $as_echo "$0: This script requires a shell more modern than all" | |
225 $as_echo "$0: the shells that I found on your system." | |
226 if test x${ZSH_VERSION+set} = xset ; then | |
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
110 else | 229 else |
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
231 $0: including any error possibly output before this | |
232 $0: message. Then install a modern shell, or manually run | |
233 $0: the script under such a shell if you do have one." | |
112 fi | 234 fi |
113 done | 235 exit 1 |
114 | 236 fi |
115 # Required to use basename. | 237 fi |
238 fi | |
239 SHELL=${CONFIG_SHELL-/bin/sh} | |
240 export SHELL | |
241 # Unset more variables known to interfere with behavior of common tools. | |
242 CLICOLOR_FORCE= GREP_OPTIONS= | |
243 unset CLICOLOR_FORCE GREP_OPTIONS | |
244 | |
245 ## --------------------- ## | |
246 ## M4sh Shell Functions. ## | |
247 ## --------------------- ## | |
248 # as_fn_unset VAR | |
249 # --------------- | |
250 # Portably unset VAR. | |
251 as_fn_unset () | |
252 { | |
253 { eval $1=; unset $1;} | |
254 } | |
255 as_unset=as_fn_unset | |
256 | |
257 # as_fn_set_status STATUS | |
258 # ----------------------- | |
259 # Set $? to STATUS, without forking. | |
260 as_fn_set_status () | |
261 { | |
262 return $1 | |
263 } # as_fn_set_status | |
264 | |
265 # as_fn_exit STATUS | |
266 # ----------------- | |
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
268 as_fn_exit () | |
269 { | |
270 set +e | |
271 as_fn_set_status $1 | |
272 exit $1 | |
273 } # as_fn_exit | |
274 | |
275 # as_fn_mkdir_p | |
276 # ------------- | |
277 # Create "$as_dir" as a directory, including parents if necessary. | |
278 as_fn_mkdir_p () | |
279 { | |
280 | |
281 case $as_dir in #( | |
282 -*) as_dir=./$as_dir;; | |
283 esac | |
284 test -d "$as_dir" || eval $as_mkdir_p || { | |
285 as_dirs= | |
286 while :; do | |
287 case $as_dir in #( | |
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
289 *) as_qdir=$as_dir;; | |
290 esac | |
291 as_dirs="'$as_qdir' $as_dirs" | |
292 as_dir=`$as_dirname -- "$as_dir" || | |
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
294 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
295 X"$as_dir" : 'X\(//\)$' \| \ | |
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
297 $as_echo X"$as_dir" | | |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
299 s//\1/ | |
300 q | |
301 } | |
302 /^X\(\/\/\)[^/].*/{ | |
303 s//\1/ | |
304 q | |
305 } | |
306 /^X\(\/\/\)$/{ | |
307 s//\1/ | |
308 q | |
309 } | |
310 /^X\(\/\).*/{ | |
311 s//\1/ | |
312 q | |
313 } | |
314 s/.*/./; q'` | |
315 test -d "$as_dir" && break | |
316 done | |
317 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
319 | |
320 | |
321 } # as_fn_mkdir_p | |
322 # as_fn_append VAR VALUE | |
323 # ---------------------- | |
324 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
325 # advantage of any shell optimizations that allow amortized linear growth over | |
326 # repeated appends, instead of the typical quadratic growth present in naive | |
327 # implementations. | |
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
329 eval 'as_fn_append () | |
330 { | |
331 eval $1+=\$2 | |
332 }' | |
333 else | |
334 as_fn_append () | |
335 { | |
336 eval $1=\$$1\$2 | |
337 } | |
338 fi # as_fn_append | |
339 | |
340 # as_fn_arith ARG... | |
341 # ------------------ | |
342 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
344 # must be portable across $(()) and expr. | |
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
346 eval 'as_fn_arith () | |
347 { | |
348 as_val=$(( $* )) | |
349 }' | |
350 else | |
351 as_fn_arith () | |
352 { | |
353 as_val=`expr "$@" || test $? -eq 1` | |
354 } | |
355 fi # as_fn_arith | |
356 | |
357 | |
358 # as_fn_error ERROR [LINENO LOG_FD] | |
359 # --------------------------------- | |
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
362 # script with status $?, using 1 if that was 0. | |
363 as_fn_error () | |
364 { | |
365 as_status=$?; test $as_status -eq 0 && as_status=1 | |
366 if test "$3"; then | |
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
369 fi | |
370 $as_echo "$as_me: error: $1" >&2 | |
371 as_fn_exit $as_status | |
372 } # as_fn_error | |
373 | |
116 if expr a : '\(a\)' >/dev/null 2>&1 && | 374 if expr a : '\(a\)' >/dev/null 2>&1 && |
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 375 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
118 as_expr=expr | 376 as_expr=expr |
119 else | 377 else |
120 as_expr=false | 378 as_expr=false |
124 as_basename=basename | 382 as_basename=basename |
125 else | 383 else |
126 as_basename=false | 384 as_basename=false |
127 fi | 385 fi |
128 | 386 |
129 | 387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
130 # Name of the executable. | 388 as_dirname=dirname |
389 else | |
390 as_dirname=false | |
391 fi | |
392 | |
131 as_me=`$as_basename -- "$0" || | 393 as_me=`$as_basename -- "$0" || |
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
133 X"$0" : 'X\(//\)$' \| \ | 395 X"$0" : 'X\(//\)$' \| \ |
134 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 396 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
135 echo X/"$0" | | 397 $as_echo X/"$0" | |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 398 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
137 s//\1/ | 399 s//\1/ |
138 q | 400 q |
139 } | 401 } |
140 /^X\/\(\/\/\)$/{ | 402 /^X\/\(\/\/\)$/{ |
145 s//\1/ | 407 s//\1/ |
146 q | 408 q |
147 } | 409 } |
148 s/.*/./; q'` | 410 s/.*/./; q'` |
149 | 411 |
150 # CDPATH. | 412 # Avoid depending upon Character Ranges. |
151 $as_unset CDPATH | 413 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
152 | 414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
153 | 415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
154 if test "x$CONFIG_SHELL" = x; then | 416 as_cr_digits='0123456789' |
155 if (eval ":") 2>/dev/null; then | 417 as_cr_alnum=$as_cr_Letters$as_cr_digits |
156 as_have_required=yes | 418 |
157 else | 419 |
158 as_have_required=no | 420 as_lineno_1=$LINENO as_lineno_1a=$LINENO |
159 fi | 421 as_lineno_2=$LINENO as_lineno_2a=$LINENO |
160 | 422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
161 if test $as_have_required = yes && (eval ": | 423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
162 (as_func_return () { | 424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
163 (exit \$1) | |
164 } | |
165 as_func_success () { | |
166 as_func_return 0 | |
167 } | |
168 as_func_failure () { | |
169 as_func_return 1 | |
170 } | |
171 as_func_ret_success () { | |
172 return 0 | |
173 } | |
174 as_func_ret_failure () { | |
175 return 1 | |
176 } | |
177 | |
178 exitcode=0 | |
179 if as_func_success; then | |
180 : | |
181 else | |
182 exitcode=1 | |
183 echo as_func_success failed. | |
184 fi | |
185 | |
186 if as_func_failure; then | |
187 exitcode=1 | |
188 echo as_func_failure succeeded. | |
189 fi | |
190 | |
191 if as_func_ret_success; then | |
192 : | |
193 else | |
194 exitcode=1 | |
195 echo as_func_ret_success failed. | |
196 fi | |
197 | |
198 if as_func_ret_failure; then | |
199 exitcode=1 | |
200 echo as_func_ret_failure succeeded. | |
201 fi | |
202 | |
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
204 : | |
205 else | |
206 exitcode=1 | |
207 echo positional parameters were not saved. | |
208 fi | |
209 | |
210 test \$exitcode = 0) || { (exit 1); exit 1; } | |
211 | |
212 ( | |
213 as_lineno_1=\$LINENO | |
214 as_lineno_2=\$LINENO | |
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
217 ") 2> /dev/null; then | |
218 : | |
219 else | |
220 as_candidate_shells= | |
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
223 do | |
224 IFS=$as_save_IFS | |
225 test -z "$as_dir" && as_dir=. | |
226 case $as_dir in | |
227 /*) | |
228 for as_base in sh bash ksh sh5; do | |
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
230 done;; | |
231 esac | |
232 done | |
233 IFS=$as_save_IFS | |
234 | |
235 | |
236 for as_shell in $as_candidate_shells $SHELL; do | |
237 # Try only shells that exist, to save several forks. | |
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
239 { ("$as_shell") 2> /dev/null <<\_ASEOF | |
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
241 emulate sh | |
242 NULLCMD=: | |
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
244 # is contrary to our usage. Disable this feature. | |
245 alias -g '${1+"$@"}'='"$@"' | |
246 setopt NO_GLOB_SUBST | |
247 else | |
248 case `(set -o) 2>/dev/null` in | |
249 *posix*) set -o posix ;; | |
250 esac | |
251 | |
252 fi | |
253 | |
254 | |
255 : | |
256 _ASEOF | |
257 }; then | |
258 CONFIG_SHELL=$as_shell | |
259 as_have_required=yes | |
260 if { "$as_shell" 2> /dev/null <<\_ASEOF | |
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
262 emulate sh | |
263 NULLCMD=: | |
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
265 # is contrary to our usage. Disable this feature. | |
266 alias -g '${1+"$@"}'='"$@"' | |
267 setopt NO_GLOB_SUBST | |
268 else | |
269 case `(set -o) 2>/dev/null` in | |
270 *posix*) set -o posix ;; | |
271 esac | |
272 | |
273 fi | |
274 | |
275 | |
276 : | |
277 (as_func_return () { | |
278 (exit $1) | |
279 } | |
280 as_func_success () { | |
281 as_func_return 0 | |
282 } | |
283 as_func_failure () { | |
284 as_func_return 1 | |
285 } | |
286 as_func_ret_success () { | |
287 return 0 | |
288 } | |
289 as_func_ret_failure () { | |
290 return 1 | |
291 } | |
292 | |
293 exitcode=0 | |
294 if as_func_success; then | |
295 : | |
296 else | |
297 exitcode=1 | |
298 echo as_func_success failed. | |
299 fi | |
300 | |
301 if as_func_failure; then | |
302 exitcode=1 | |
303 echo as_func_failure succeeded. | |
304 fi | |
305 | |
306 if as_func_ret_success; then | |
307 : | |
308 else | |
309 exitcode=1 | |
310 echo as_func_ret_success failed. | |
311 fi | |
312 | |
313 if as_func_ret_failure; then | |
314 exitcode=1 | |
315 echo as_func_ret_failure succeeded. | |
316 fi | |
317 | |
318 if ( set x; as_func_ret_success y && test x = "$1" ); then | |
319 : | |
320 else | |
321 exitcode=1 | |
322 echo positional parameters were not saved. | |
323 fi | |
324 | |
325 test $exitcode = 0) || { (exit 1); exit 1; } | |
326 | |
327 ( | |
328 as_lineno_1=$LINENO | |
329 as_lineno_2=$LINENO | |
330 test "x$as_lineno_1" != "x$as_lineno_2" && | |
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
332 | |
333 _ASEOF | |
334 }; then | |
335 break | |
336 fi | |
337 | |
338 fi | |
339 | |
340 done | |
341 | |
342 if test "x$CONFIG_SHELL" != x; then | |
343 for as_var in BASH_ENV ENV | |
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
345 done | |
346 export CONFIG_SHELL | |
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
348 fi | |
349 | |
350 | |
351 if test $as_have_required = no; then | |
352 echo This script requires a shell more modern than all the | |
353 echo shells that I found on your system. Please install a | |
354 echo modern shell, or manually run the script under such a | |
355 echo shell if you do have one. | |
356 { (exit 1); exit 1; } | |
357 fi | |
358 | |
359 | |
360 fi | |
361 | |
362 fi | |
363 | |
364 | |
365 | |
366 (eval "as_func_return () { | |
367 (exit \$1) | |
368 } | |
369 as_func_success () { | |
370 as_func_return 0 | |
371 } | |
372 as_func_failure () { | |
373 as_func_return 1 | |
374 } | |
375 as_func_ret_success () { | |
376 return 0 | |
377 } | |
378 as_func_ret_failure () { | |
379 return 1 | |
380 } | |
381 | |
382 exitcode=0 | |
383 if as_func_success; then | |
384 : | |
385 else | |
386 exitcode=1 | |
387 echo as_func_success failed. | |
388 fi | |
389 | |
390 if as_func_failure; then | |
391 exitcode=1 | |
392 echo as_func_failure succeeded. | |
393 fi | |
394 | |
395 if as_func_ret_success; then | |
396 : | |
397 else | |
398 exitcode=1 | |
399 echo as_func_ret_success failed. | |
400 fi | |
401 | |
402 if as_func_ret_failure; then | |
403 exitcode=1 | |
404 echo as_func_ret_failure succeeded. | |
405 fi | |
406 | |
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
408 : | |
409 else | |
410 exitcode=1 | |
411 echo positional parameters were not saved. | |
412 fi | |
413 | |
414 test \$exitcode = 0") || { | |
415 echo No shell found that supports shell functions. | |
416 echo Please tell autoconf@gnu.org about your system, | |
417 echo including any error possibly output before this | |
418 echo message | |
419 } | |
420 | |
421 | |
422 | |
423 as_lineno_1=$LINENO | |
424 as_lineno_2=$LINENO | |
425 test "x$as_lineno_1" != "x$as_lineno_2" && | |
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
427 | |
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
429 # uniformly replaced by the line number. The first 'sed' inserts a | |
430 # line-number line after each line using $LINENO; the second 'sed' | |
431 # does the real work. The second script uses 'N' to pair each | |
432 # line-number line with the line containing $LINENO, and appends | |
433 # trailing '-' during substitution so that $LINENO is not a special | |
434 # case at line end. | |
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
436 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
437 # E. McMahon (1931-1989) for sed's syntax. :-) | |
438 sed -n ' | 425 sed -n ' |
439 p | 426 p |
440 /[$]LINENO/= | 427 /[$]LINENO/= |
441 ' <$as_myself | | 428 ' <$as_myself | |
442 sed ' | 429 sed ' |
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
450 t loop | 437 t loop |
451 s/-\n.*// | 438 s/-\n.*// |
452 ' >$as_me.lineno && | 439 ' >$as_me.lineno && |
453 chmod +x "$as_me.lineno" || | 440 chmod +x "$as_me.lineno" || |
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
455 { (exit 1); exit 1; }; } | |
456 | 442 |
457 # Don't try to exec as it changes $[0], causing all sort of problems | 443 # Don't try to exec as it changes $[0], causing all sort of problems |
458 # (the dirname of $[0] is not the place where we might find the | 444 # (the dirname of $[0] is not the place where we might find the |
459 # original and so on. Autoconf is especially sensitive to this). | 445 # original and so on. Autoconf is especially sensitive to this). |
460 . "./$as_me.lineno" | 446 . "./$as_me.lineno" |
461 # Exit status is that of the last command. | 447 # Exit status is that of the last command. |
462 exit | 448 exit |
463 } | 449 } |
464 | 450 |
465 | |
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
467 as_dirname=dirname | |
468 else | |
469 as_dirname=false | |
470 fi | |
471 | |
472 ECHO_C= ECHO_N= ECHO_T= | 451 ECHO_C= ECHO_N= ECHO_T= |
473 case `echo -n x` in | 452 case `echo -n x` in #((((( |
474 -n*) | 453 -n*) |
475 case `echo 'x\c'` in | 454 case `echo 'xy\c'` in |
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 455 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
477 *) ECHO_C='\c';; | 456 xy) ECHO_C='\c';; |
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
458 ECHO_T=' ';; | |
478 esac;; | 459 esac;; |
479 *) | 460 *) |
480 ECHO_N='-n';; | 461 ECHO_N='-n';; |
481 esac | 462 esac |
482 | 463 |
483 if expr a : '\(a\)' >/dev/null 2>&1 && | |
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
485 as_expr=expr | |
486 else | |
487 as_expr=false | |
488 fi | |
489 | |
490 rm -f conf$$ conf$$.exe conf$$.file | 464 rm -f conf$$ conf$$.exe conf$$.file |
491 if test -d conf$$.dir; then | 465 if test -d conf$$.dir; then |
492 rm -f conf$$.dir/conf$$.file | 466 rm -f conf$$.dir/conf$$.file |
493 else | 467 else |
494 rm -f conf$$.dir | 468 rm -f conf$$.dir |
495 mkdir conf$$.dir | 469 mkdir conf$$.dir 2>/dev/null |
496 fi | 470 fi |
497 echo >conf$$.file | 471 if (echo >conf$$.file) 2>/dev/null; then |
498 if ln -s conf$$.file conf$$ 2>/dev/null; then | 472 if ln -s conf$$.file conf$$ 2>/dev/null; then |
499 as_ln_s='ln -s' | 473 as_ln_s='ln -s' |
500 # ... but there are two gotchas: | 474 # ... but there are two gotchas: |
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
503 # In both cases, we have to default to `cp -p'. | 477 # In both cases, we have to default to `cp -p'. |
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
479 as_ln_s='cp -p' | |
480 elif ln conf$$.file conf$$ 2>/dev/null; then | |
481 as_ln_s=ln | |
482 else | |
505 as_ln_s='cp -p' | 483 as_ln_s='cp -p' |
506 elif ln conf$$.file conf$$ 2>/dev/null; then | 484 fi |
507 as_ln_s=ln | |
508 else | 485 else |
509 as_ln_s='cp -p' | 486 as_ln_s='cp -p' |
510 fi | 487 fi |
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
512 rmdir conf$$.dir 2>/dev/null | 489 rmdir conf$$.dir 2>/dev/null |
513 | 490 |
514 if mkdir -p . 2>/dev/null; then | 491 if mkdir -p . 2>/dev/null; then |
515 as_mkdir_p=: | 492 as_mkdir_p='mkdir -p "$as_dir"' |
516 else | 493 else |
517 test -d ./-p && rmdir ./-p | 494 test -d ./-p && rmdir ./-p |
518 as_mkdir_p=false | 495 as_mkdir_p=false |
519 fi | 496 fi |
520 | 497 |
527 as_ls_L_option= | 504 as_ls_L_option= |
528 fi | 505 fi |
529 as_test_x=' | 506 as_test_x=' |
530 eval sh -c '\'' | 507 eval sh -c '\'' |
531 if test -d "$1"; then | 508 if test -d "$1"; then |
532 test -d "$1/."; | 509 test -d "$1/."; |
533 else | 510 else |
534 case $1 in | 511 case $1 in #( |
535 -*)set "./$1";; | 512 -*)set "./$1";; |
536 esac; | 513 esac; |
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | 514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
538 ???[sx]*):;;*)false;;esac;fi | 515 ???[sx]*):;;*)false;;esac;fi |
539 '\'' sh | 516 '\'' sh |
540 ' | 517 ' |
541 fi | 518 fi |
542 as_executable_p=$as_test_x | 519 as_executable_p=$as_test_x |
546 | 523 |
547 # Sed expression to map a string onto a valid variable name. | 524 # Sed expression to map a string onto a valid variable name. |
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
549 | 526 |
550 | 527 |
551 | 528 test -n "$DJDIR" || exec 7<&0 </dev/null |
552 exec 7<&0 </dev/null 6>&1 | 529 exec 6>&1 |
553 | 530 |
554 # Name of the host. | 531 # Name of the host. |
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
556 # so uname gets run too. | 533 # so uname gets run too. |
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
565 LIBOBJS= | 542 LIBOBJS= |
566 cross_compiling=no | 543 cross_compiling=no |
567 subdirs= | 544 subdirs= |
568 MFLAGS= | 545 MFLAGS= |
569 MAKEFLAGS= | 546 MAKEFLAGS= |
570 SHELL=${CONFIG_SHELL-/bin/sh} | |
571 | 547 |
572 # Identity of this package. | 548 # Identity of this package. |
573 PACKAGE_NAME= | 549 PACKAGE_NAME= |
574 PACKAGE_TARNAME= | 550 PACKAGE_TARNAME= |
575 PACKAGE_VERSION= | 551 PACKAGE_VERSION= |
576 PACKAGE_STRING= | 552 PACKAGE_STRING= |
577 PACKAGE_BUGREPORT= | 553 PACKAGE_BUGREPORT= |
554 PACKAGE_URL= | |
578 | 555 |
579 ac_unique_file="THIS_IS_URWEB" | 556 ac_unique_file="THIS_IS_URWEB" |
580 ac_subst_vars='SHELL | 557 ac_subst_vars='LTLIBOBJS |
558 LIBOBJS | |
559 do_not_edit | |
560 GCCARGS | |
561 SITELISP | |
562 INCLUDE | |
563 LIB | |
564 BIN | |
565 target_alias | |
566 host_alias | |
567 build_alias | |
568 LIBS | |
569 ECHO_T | |
570 ECHO_N | |
571 ECHO_C | |
572 DEFS | |
573 mandir | |
574 localedir | |
575 libdir | |
576 psdir | |
577 pdfdir | |
578 dvidir | |
579 htmldir | |
580 infodir | |
581 docdir | |
582 oldincludedir | |
583 includedir | |
584 localstatedir | |
585 sharedstatedir | |
586 sysconfdir | |
587 datadir | |
588 datarootdir | |
589 libexecdir | |
590 sbindir | |
591 bindir | |
592 program_transform_name | |
593 prefix | |
594 exec_prefix | |
595 PACKAGE_URL | |
596 PACKAGE_BUGREPORT | |
597 PACKAGE_STRING | |
598 PACKAGE_VERSION | |
599 PACKAGE_TARNAME | |
600 PACKAGE_NAME | |
581 PATH_SEPARATOR | 601 PATH_SEPARATOR |
582 PACKAGE_NAME | 602 SHELL' |
583 PACKAGE_TARNAME | |
584 PACKAGE_VERSION | |
585 PACKAGE_STRING | |
586 PACKAGE_BUGREPORT | |
587 exec_prefix | |
588 prefix | |
589 program_transform_name | |
590 bindir | |
591 sbindir | |
592 libexecdir | |
593 datarootdir | |
594 datadir | |
595 sysconfdir | |
596 sharedstatedir | |
597 localstatedir | |
598 includedir | |
599 oldincludedir | |
600 docdir | |
601 infodir | |
602 htmldir | |
603 dvidir | |
604 pdfdir | |
605 psdir | |
606 libdir | |
607 localedir | |
608 mandir | |
609 DEFS | |
610 ECHO_C | |
611 ECHO_N | |
612 ECHO_T | |
613 LIBS | |
614 build_alias | |
615 host_alias | |
616 target_alias | |
617 BIN | |
618 LIB | |
619 INCLUDE | |
620 SITELISP | |
621 GCCARGS | |
622 do_not_edit | |
623 LIBOBJS | |
624 LTLIBOBJS' | |
625 ac_subst_files='' | 603 ac_subst_files='' |
604 ac_user_opts=' | |
605 enable_option_checking | |
606 ' | |
626 ac_precious_vars='build_alias | 607 ac_precious_vars='build_alias |
627 host_alias | 608 host_alias |
628 target_alias' | 609 target_alias' |
629 | 610 |
630 | 611 |
631 # Initialize some variables set by options. | 612 # Initialize some variables set by options. |
632 ac_init_help= | 613 ac_init_help= |
633 ac_init_version=false | 614 ac_init_version=false |
615 ac_unrecognized_opts= | |
616 ac_unrecognized_sep= | |
634 # The variables have the same names as the options, with | 617 # The variables have the same names as the options, with |
635 # dashes changed to underlines. | 618 # dashes changed to underlines. |
636 cache_file=/dev/null | 619 cache_file=/dev/null |
637 exec_prefix=NONE | 620 exec_prefix=NONE |
638 no_create= | 621 no_create= |
727 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 710 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
728 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 711 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
729 datarootdir=$ac_optarg ;; | 712 datarootdir=$ac_optarg ;; |
730 | 713 |
731 -disable-* | --disable-*) | 714 -disable-* | --disable-*) |
732 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 715 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
733 # Reject names that are not valid shell variable names. | 716 # Reject names that are not valid shell variable names. |
734 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 717 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
735 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 718 as_fn_error "invalid feature name: $ac_useropt" |
736 { (exit 1); exit 1; }; } | 719 ac_useropt_orig=$ac_useropt |
737 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 720 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
738 eval enable_$ac_feature=no ;; | 721 case $ac_user_opts in |
722 *" | |
723 "enable_$ac_useropt" | |
724 "*) ;; | |
725 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
726 ac_unrecognized_sep=', ';; | |
727 esac | |
728 eval enable_$ac_useropt=no ;; | |
739 | 729 |
740 -docdir | --docdir | --docdi | --doc | --do) | 730 -docdir | --docdir | --docdi | --doc | --do) |
741 ac_prev=docdir ;; | 731 ac_prev=docdir ;; |
742 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 732 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
743 docdir=$ac_optarg ;; | 733 docdir=$ac_optarg ;; |
746 ac_prev=dvidir ;; | 736 ac_prev=dvidir ;; |
747 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 737 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
748 dvidir=$ac_optarg ;; | 738 dvidir=$ac_optarg ;; |
749 | 739 |
750 -enable-* | --enable-*) | 740 -enable-* | --enable-*) |
751 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 741 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
752 # Reject names that are not valid shell variable names. | 742 # Reject names that are not valid shell variable names. |
753 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 743 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
754 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 744 as_fn_error "invalid feature name: $ac_useropt" |
755 { (exit 1); exit 1; }; } | 745 ac_useropt_orig=$ac_useropt |
756 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 746 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
757 eval enable_$ac_feature=\$ac_optarg ;; | 747 case $ac_user_opts in |
748 *" | |
749 "enable_$ac_useropt" | |
750 "*) ;; | |
751 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
752 ac_unrecognized_sep=', ';; | |
753 esac | |
754 eval enable_$ac_useropt=\$ac_optarg ;; | |
758 | 755 |
759 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 756 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
760 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 757 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
761 | --exec | --exe | --ex) | 758 | --exec | --exe | --ex) |
762 ac_prev=exec_prefix ;; | 759 ac_prev=exec_prefix ;; |
943 | 940 |
944 -version | --version | --versio | --versi | --vers | -V) | 941 -version | --version | --versio | --versi | --vers | -V) |
945 ac_init_version=: ;; | 942 ac_init_version=: ;; |
946 | 943 |
947 -with-* | --with-*) | 944 -with-* | --with-*) |
948 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 945 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
949 # Reject names that are not valid shell variable names. | 946 # Reject names that are not valid shell variable names. |
950 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
951 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 948 as_fn_error "invalid package name: $ac_useropt" |
952 { (exit 1); exit 1; }; } | 949 ac_useropt_orig=$ac_useropt |
953 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
954 eval with_$ac_package=\$ac_optarg ;; | 951 case $ac_user_opts in |
952 *" | |
953 "with_$ac_useropt" | |
954 "*) ;; | |
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
956 ac_unrecognized_sep=', ';; | |
957 esac | |
958 eval with_$ac_useropt=\$ac_optarg ;; | |
955 | 959 |
956 -without-* | --without-*) | 960 -without-* | --without-*) |
957 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 961 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
958 # Reject names that are not valid shell variable names. | 962 # Reject names that are not valid shell variable names. |
959 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
960 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 964 as_fn_error "invalid package name: $ac_useropt" |
961 { (exit 1); exit 1; }; } | 965 ac_useropt_orig=$ac_useropt |
962 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
963 eval with_$ac_package=no ;; | 967 case $ac_user_opts in |
968 *" | |
969 "with_$ac_useropt" | |
970 "*) ;; | |
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
972 ac_unrecognized_sep=', ';; | |
973 esac | |
974 eval with_$ac_useropt=no ;; | |
964 | 975 |
965 --x) | 976 --x) |
966 # Obsolete; use --with-x. | 977 # Obsolete; use --with-x. |
967 with_x=yes ;; | 978 with_x=yes ;; |
968 | 979 |
978 ac_prev=x_libraries ;; | 989 ac_prev=x_libraries ;; |
979 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 990 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
980 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 991 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
981 x_libraries=$ac_optarg ;; | 992 x_libraries=$ac_optarg ;; |
982 | 993 |
983 -*) { echo "$as_me: error: unrecognized option: $ac_option | 994 -*) as_fn_error "unrecognized option: \`$ac_option' |
984 Try \`$0 --help' for more information." >&2 | 995 Try \`$0 --help' for more information." |
985 { (exit 1); exit 1; }; } | |
986 ;; | 996 ;; |
987 | 997 |
988 *=*) | 998 *=*) |
989 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 999 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
990 # Reject names that are not valid shell variable names. | 1000 # Reject names that are not valid shell variable names. |
991 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1001 case $ac_envvar in #( |
992 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1002 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
993 { (exit 1); exit 1; }; } | 1003 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1004 esac | |
994 eval $ac_envvar=\$ac_optarg | 1005 eval $ac_envvar=\$ac_optarg |
995 export $ac_envvar ;; | 1006 export $ac_envvar ;; |
996 | 1007 |
997 *) | 1008 *) |
998 # FIXME: should be removed in autoconf 3.0. | 1009 # FIXME: should be removed in autoconf 3.0. |
999 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1010 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1000 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1011 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1001 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1012 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1002 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1013 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1003 ;; | 1014 ;; |
1004 | 1015 |
1005 esac | 1016 esac |
1006 done | 1017 done |
1007 | 1018 |
1008 if test -n "$ac_prev"; then | 1019 if test -n "$ac_prev"; then |
1009 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1020 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1010 { echo "$as_me: error: missing argument to $ac_option" >&2 | 1021 as_fn_error "missing argument to $ac_option" |
1011 { (exit 1); exit 1; }; } | 1022 fi |
1012 fi | 1023 |
1013 | 1024 if test -n "$ac_unrecognized_opts"; then |
1014 # Be sure to have absolute directory names. | 1025 case $enable_option_checking in |
1026 no) ;; | |
1027 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | |
1028 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1029 esac | |
1030 fi | |
1031 | |
1032 # Check all directory arguments for consistency. | |
1015 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1033 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1016 datadir sysconfdir sharedstatedir localstatedir includedir \ | 1034 datadir sysconfdir sharedstatedir localstatedir includedir \ |
1017 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1035 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1018 libdir localedir mandir | 1036 libdir localedir mandir |
1019 do | 1037 do |
1020 eval ac_val=\$$ac_var | 1038 eval ac_val=\$$ac_var |
1039 # Remove trailing slashes. | |
1040 case $ac_val in | |
1041 */ ) | |
1042 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1043 eval $ac_var=\$ac_val;; | |
1044 esac | |
1045 # Be sure to have absolute directory names. | |
1021 case $ac_val in | 1046 case $ac_val in |
1022 [\\/$]* | ?:[\\/]* ) continue;; | 1047 [\\/$]* | ?:[\\/]* ) continue;; |
1023 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1048 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1024 esac | 1049 esac |
1025 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1050 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1026 { (exit 1); exit 1; }; } | |
1027 done | 1051 done |
1028 | 1052 |
1029 # There might be people who depend on the old broken behavior: `$host' | 1053 # There might be people who depend on the old broken behavior: `$host' |
1030 # used to hold the argument of --host etc. | 1054 # used to hold the argument of --host etc. |
1031 # FIXME: To remove some day. | 1055 # FIXME: To remove some day. |
1035 | 1059 |
1036 # FIXME: To remove some day. | 1060 # FIXME: To remove some day. |
1037 if test "x$host_alias" != x; then | 1061 if test "x$host_alias" != x; then |
1038 if test "x$build_alias" = x; then | 1062 if test "x$build_alias" = x; then |
1039 cross_compiling=maybe | 1063 cross_compiling=maybe |
1040 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1064 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1041 If a cross compiler is detected then cross compile mode will be used." >&2 | 1065 If a cross compiler is detected then cross compile mode will be used." >&2 |
1042 elif test "x$build_alias" != "x$host_alias"; then | 1066 elif test "x$build_alias" != "x$host_alias"; then |
1043 cross_compiling=yes | 1067 cross_compiling=yes |
1044 fi | 1068 fi |
1045 fi | 1069 fi |
1051 | 1075 |
1052 | 1076 |
1053 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1077 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1054 ac_ls_di=`ls -di .` && | 1078 ac_ls_di=`ls -di .` && |
1055 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1079 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1056 { echo "$as_me: error: Working directory cannot be determined" >&2 | 1080 as_fn_error "working directory cannot be determined" |
1057 { (exit 1); exit 1; }; } | |
1058 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1081 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1059 { echo "$as_me: error: pwd does not report name of working directory" >&2 | 1082 as_fn_error "pwd does not report name of working directory" |
1060 { (exit 1); exit 1; }; } | |
1061 | 1083 |
1062 | 1084 |
1063 # Find the source files, if location was not specified. | 1085 # Find the source files, if location was not specified. |
1064 if test -z "$srcdir"; then | 1086 if test -z "$srcdir"; then |
1065 ac_srcdir_defaulted=yes | 1087 ac_srcdir_defaulted=yes |
1066 # Try the directory containing this script, then the parent directory. | 1088 # Try the directory containing this script, then the parent directory. |
1067 ac_confdir=`$as_dirname -- "$0" || | 1089 ac_confdir=`$as_dirname -- "$as_myself" || |
1068 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1090 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1069 X"$0" : 'X\(//\)[^/]' \| \ | 1091 X"$as_myself" : 'X\(//\)[^/]' \| \ |
1070 X"$0" : 'X\(//\)$' \| \ | 1092 X"$as_myself" : 'X\(//\)$' \| \ |
1071 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 1093 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1072 echo X"$0" | | 1094 $as_echo X"$as_myself" | |
1073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 1095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1074 s//\1/ | 1096 s//\1/ |
1075 q | 1097 q |
1076 } | 1098 } |
1077 /^X\(\/\/\)[^/].*/{ | 1099 /^X\(\/\/\)[^/].*/{ |
1094 else | 1116 else |
1095 ac_srcdir_defaulted=no | 1117 ac_srcdir_defaulted=no |
1096 fi | 1118 fi |
1097 if test ! -r "$srcdir/$ac_unique_file"; then | 1119 if test ! -r "$srcdir/$ac_unique_file"; then |
1098 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1120 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1099 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1121 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1100 { (exit 1); exit 1; }; } | |
1101 fi | 1122 fi |
1102 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1123 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1103 ac_abs_confdir=`( | 1124 ac_abs_confdir=`( |
1104 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | 1125 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1105 { (exit 1); exit 1; }; } | |
1106 pwd)` | 1126 pwd)` |
1107 # When building in place, set srcdir=. | 1127 # When building in place, set srcdir=. |
1108 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1128 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1109 srcdir=. | 1129 srcdir=. |
1110 fi | 1130 fi |
1148 -n, --no-create do not create output files | 1168 -n, --no-create do not create output files |
1149 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1169 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1150 | 1170 |
1151 Installation directories: | 1171 Installation directories: |
1152 --prefix=PREFIX install architecture-independent files in PREFIX | 1172 --prefix=PREFIX install architecture-independent files in PREFIX |
1153 [$ac_default_prefix] | 1173 [$ac_default_prefix] |
1154 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1174 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1155 [PREFIX] | 1175 [PREFIX] |
1156 | 1176 |
1157 By default, \`make install' will install all the files in | 1177 By default, \`make install' will install all the files in |
1158 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1178 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1159 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 1179 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1160 for instance \`--prefix=\$HOME'. | 1180 for instance \`--prefix=\$HOME'. |
1161 | 1181 |
1162 For better control, use the options below. | 1182 For better control, use the options below. |
1163 | 1183 |
1164 Fine tuning of the installation directories: | 1184 Fine tuning of the installation directories: |
1165 --bindir=DIR user executables [EPREFIX/bin] | 1185 --bindir=DIR user executables [EPREFIX/bin] |
1166 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1186 --sbindir=DIR system admin executables [EPREFIX/sbin] |
1167 --libexecdir=DIR program executables [EPREFIX/libexec] | 1187 --libexecdir=DIR program executables [EPREFIX/libexec] |
1168 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1188 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1169 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1189 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1170 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1190 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1171 --libdir=DIR object code libraries [EPREFIX/lib] | 1191 --libdir=DIR object code libraries [EPREFIX/lib] |
1172 --includedir=DIR C header files [PREFIX/include] | 1192 --includedir=DIR C header files [PREFIX/include] |
1173 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1193 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1174 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1194 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1175 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1195 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1176 --infodir=DIR info documentation [DATAROOTDIR/info] | 1196 --infodir=DIR info documentation [DATAROOTDIR/info] |
1177 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1197 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1178 --mandir=DIR man documentation [DATAROOTDIR/man] | 1198 --mandir=DIR man documentation [DATAROOTDIR/man] |
1179 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | 1199 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1180 --htmldir=DIR html documentation [DOCDIR] | 1200 --htmldir=DIR html documentation [DOCDIR] |
1181 --dvidir=DIR dvi documentation [DOCDIR] | 1201 --dvidir=DIR dvi documentation [DOCDIR] |
1182 --pdfdir=DIR pdf documentation [DOCDIR] | 1202 --pdfdir=DIR pdf documentation [DOCDIR] |
1183 --psdir=DIR ps documentation [DOCDIR] | 1203 --psdir=DIR ps documentation [DOCDIR] |
1184 _ACEOF | 1204 _ACEOF |
1185 | 1205 |
1186 cat <<\_ACEOF | 1206 cat <<\_ACEOF |
1187 _ACEOF | 1207 _ACEOF |
1188 fi | 1208 fi |
1189 | 1209 |
1190 if test -n "$ac_init_help"; then | 1210 if test -n "$ac_init_help"; then |
1191 | 1211 |
1192 cat <<\_ACEOF | 1212 cat <<\_ACEOF |
1193 | 1213 |
1214 Report bugs to the package provider. | |
1194 _ACEOF | 1215 _ACEOF |
1195 ac_status=$? | 1216 ac_status=$? |
1196 fi | 1217 fi |
1197 | 1218 |
1198 if test "$ac_init_help" = "recursive"; then | 1219 if test "$ac_init_help" = "recursive"; then |
1199 # If there are subdirs, report their specific --help. | 1220 # If there are subdirs, report their specific --help. |
1200 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1221 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1201 test -d "$ac_dir" || continue | 1222 test -d "$ac_dir" || |
1223 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1224 continue | |
1202 ac_builddir=. | 1225 ac_builddir=. |
1203 | 1226 |
1204 case "$ac_dir" in | 1227 case "$ac_dir" in |
1205 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1228 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1206 *) | 1229 *) |
1207 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1230 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1208 # A ".." for each directory in $ac_dir_suffix. | 1231 # A ".." for each directory in $ac_dir_suffix. |
1209 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 1232 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1210 case $ac_top_builddir_sub in | 1233 case $ac_top_builddir_sub in |
1211 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1234 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1212 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 1235 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1213 esac ;; | 1236 esac ;; |
1214 esac | 1237 esac |
1240 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 1263 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1241 elif test -f "$ac_srcdir/configure"; then | 1264 elif test -f "$ac_srcdir/configure"; then |
1242 echo && | 1265 echo && |
1243 $SHELL "$ac_srcdir/configure" --help=recursive | 1266 $SHELL "$ac_srcdir/configure" --help=recursive |
1244 else | 1267 else |
1245 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1268 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1246 fi || ac_status=$? | 1269 fi || ac_status=$? |
1247 cd "$ac_pwd" || { ac_status=$?; break; } | 1270 cd "$ac_pwd" || { ac_status=$?; break; } |
1248 done | 1271 done |
1249 fi | 1272 fi |
1250 | 1273 |
1251 test -n "$ac_init_help" && exit $ac_status | 1274 test -n "$ac_init_help" && exit $ac_status |
1252 if $ac_init_version; then | 1275 if $ac_init_version; then |
1253 cat <<\_ACEOF | 1276 cat <<\_ACEOF |
1254 configure | 1277 configure |
1255 generated by GNU Autoconf 2.61 | 1278 generated by GNU Autoconf 2.65 |
1256 | 1279 |
1257 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 1280 Copyright (C) 2009 Free Software Foundation, Inc. |
1258 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
1259 This configure script is free software; the Free Software Foundation | 1281 This configure script is free software; the Free Software Foundation |
1260 gives unlimited permission to copy, distribute and modify it. | 1282 gives unlimited permission to copy, distribute and modify it. |
1261 _ACEOF | 1283 _ACEOF |
1262 exit | 1284 exit |
1263 fi | 1285 fi |
1286 | |
1287 ## ------------------------ ## | |
1288 ## Autoconf initialization. ## | |
1289 ## ------------------------ ## | |
1264 cat >config.log <<_ACEOF | 1290 cat >config.log <<_ACEOF |
1265 This file contains any messages produced by compilers while | 1291 This file contains any messages produced by compilers while |
1266 running configure, to aid debugging if configure makes a mistake. | 1292 running configure, to aid debugging if configure makes a mistake. |
1267 | 1293 |
1268 It was created by $as_me, which was | 1294 It was created by $as_me, which was |
1269 generated by GNU Autoconf 2.61. Invocation command line was | 1295 generated by GNU Autoconf 2.65. Invocation command line was |
1270 | 1296 |
1271 $ $0 $@ | 1297 $ $0 $@ |
1272 | 1298 |
1273 _ACEOF | 1299 _ACEOF |
1274 exec 5>>config.log | 1300 exec 5>>config.log |
1300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1301 for as_dir in $PATH | 1327 for as_dir in $PATH |
1302 do | 1328 do |
1303 IFS=$as_save_IFS | 1329 IFS=$as_save_IFS |
1304 test -z "$as_dir" && as_dir=. | 1330 test -z "$as_dir" && as_dir=. |
1305 echo "PATH: $as_dir" | 1331 $as_echo "PATH: $as_dir" |
1306 done | 1332 done |
1307 IFS=$as_save_IFS | 1333 IFS=$as_save_IFS |
1308 | 1334 |
1309 } >&5 | 1335 } >&5 |
1310 | 1336 |
1311 cat >&5 <<_ACEOF | 1337 cat >&5 <<_ACEOF |
1335 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 1361 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1336 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1362 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1337 | -silent | --silent | --silen | --sile | --sil) | 1363 | -silent | --silent | --silen | --sile | --sil) |
1338 continue ;; | 1364 continue ;; |
1339 *\'*) | 1365 *\'*) |
1340 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1366 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1341 esac | 1367 esac |
1342 case $ac_pass in | 1368 case $ac_pass in |
1343 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 1369 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1344 2) | 1370 2) |
1345 ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 1371 as_fn_append ac_configure_args1 " '$ac_arg'" |
1346 if test $ac_must_keep_next = true; then | 1372 if test $ac_must_keep_next = true; then |
1347 ac_must_keep_next=false # Got value, back to normal. | 1373 ac_must_keep_next=false # Got value, back to normal. |
1348 else | 1374 else |
1349 case $ac_arg in | 1375 case $ac_arg in |
1350 *=* | --config-cache | -C | -disable-* | --disable-* \ | 1376 *=* | --config-cache | -C | -disable-* | --disable-* \ |
1356 esac | 1382 esac |
1357 ;; | 1383 ;; |
1358 -* ) ac_must_keep_next=true ;; | 1384 -* ) ac_must_keep_next=true ;; |
1359 esac | 1385 esac |
1360 fi | 1386 fi |
1361 ac_configure_args="$ac_configure_args '$ac_arg'" | 1387 as_fn_append ac_configure_args " '$ac_arg'" |
1362 ;; | 1388 ;; |
1363 esac | 1389 esac |
1364 done | 1390 done |
1365 done | 1391 done |
1366 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 1392 { ac_configure_args0=; unset ac_configure_args0;} |
1367 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 1393 { ac_configure_args1=; unset ac_configure_args1;} |
1368 | 1394 |
1369 # When interrupted or exit'd, cleanup temporary files, and complete | 1395 # When interrupted or exit'd, cleanup temporary files, and complete |
1370 # config.log. We remove comments because anyway the quotes in there | 1396 # config.log. We remove comments because anyway the quotes in there |
1371 # would cause problems or look ugly. | 1397 # would cause problems or look ugly. |
1372 # WARNING: Use '\'' to represent an apostrophe within the trap. | 1398 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1387 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1413 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1388 eval ac_val=\$$ac_var | 1414 eval ac_val=\$$ac_var |
1389 case $ac_val in #( | 1415 case $ac_val in #( |
1390 *${as_nl}*) | 1416 *${as_nl}*) |
1391 case $ac_var in #( | 1417 case $ac_var in #( |
1392 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 1418 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1393 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 1419 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1394 esac | 1420 esac |
1395 case $ac_var in #( | 1421 case $ac_var in #( |
1396 _ | IFS | as_nl) ;; #( | 1422 _ | IFS | as_nl) ;; #( |
1397 *) $as_unset $ac_var ;; | 1423 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1424 *) { eval $ac_var=; unset $ac_var;} ;; | |
1398 esac ;; | 1425 esac ;; |
1399 esac | 1426 esac |
1400 done | 1427 done |
1401 (set) 2>&1 | | 1428 (set) 2>&1 | |
1402 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 1429 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1421 echo | 1448 echo |
1422 for ac_var in $ac_subst_vars | 1449 for ac_var in $ac_subst_vars |
1423 do | 1450 do |
1424 eval ac_val=\$$ac_var | 1451 eval ac_val=\$$ac_var |
1425 case $ac_val in | 1452 case $ac_val in |
1426 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1453 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1427 esac | 1454 esac |
1428 echo "$ac_var='\''$ac_val'\''" | 1455 $as_echo "$ac_var='\''$ac_val'\''" |
1429 done | sort | 1456 done | sort |
1430 echo | 1457 echo |
1431 | 1458 |
1432 if test -n "$ac_subst_files"; then | 1459 if test -n "$ac_subst_files"; then |
1433 cat <<\_ASBOX | 1460 cat <<\_ASBOX |
1438 echo | 1465 echo |
1439 for ac_var in $ac_subst_files | 1466 for ac_var in $ac_subst_files |
1440 do | 1467 do |
1441 eval ac_val=\$$ac_var | 1468 eval ac_val=\$$ac_var |
1442 case $ac_val in | 1469 case $ac_val in |
1443 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1470 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1444 esac | 1471 esac |
1445 echo "$ac_var='\''$ac_val'\''" | 1472 $as_echo "$ac_var='\''$ac_val'\''" |
1446 done | sort | 1473 done | sort |
1447 echo | 1474 echo |
1448 fi | 1475 fi |
1449 | 1476 |
1450 if test -s confdefs.h; then | 1477 if test -s confdefs.h; then |
1456 echo | 1483 echo |
1457 cat confdefs.h | 1484 cat confdefs.h |
1458 echo | 1485 echo |
1459 fi | 1486 fi |
1460 test "$ac_signal" != 0 && | 1487 test "$ac_signal" != 0 && |
1461 echo "$as_me: caught signal $ac_signal" | 1488 $as_echo "$as_me: caught signal $ac_signal" |
1462 echo "$as_me: exit $exit_status" | 1489 $as_echo "$as_me: exit $exit_status" |
1463 } >&5 | 1490 } >&5 |
1464 rm -f core *.core core.conftest.* && | 1491 rm -f core *.core core.conftest.* && |
1465 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 1492 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1466 exit $exit_status | 1493 exit $exit_status |
1467 ' 0 | 1494 ' 0 |
1468 for ac_signal in 1 2 13 15; do | 1495 for ac_signal in 1 2 13 15; do |
1469 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1496 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1470 done | 1497 done |
1471 ac_signal=0 | 1498 ac_signal=0 |
1472 | 1499 |
1473 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1500 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1474 rm -f -r conftest* confdefs.h | 1501 rm -f -r conftest* confdefs.h |
1475 | 1502 |
1503 $as_echo "/* confdefs.h */" > confdefs.h | |
1504 | |
1476 # Predefined preprocessor variables. | 1505 # Predefined preprocessor variables. |
1477 | 1506 |
1478 cat >>confdefs.h <<_ACEOF | 1507 cat >>confdefs.h <<_ACEOF |
1479 #define PACKAGE_NAME "$PACKAGE_NAME" | 1508 #define PACKAGE_NAME "$PACKAGE_NAME" |
1480 _ACEOF | 1509 _ACEOF |
1481 | 1510 |
1482 | |
1483 cat >>confdefs.h <<_ACEOF | 1511 cat >>confdefs.h <<_ACEOF |
1484 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1512 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1485 _ACEOF | 1513 _ACEOF |
1486 | 1514 |
1487 | |
1488 cat >>confdefs.h <<_ACEOF | 1515 cat >>confdefs.h <<_ACEOF |
1489 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1516 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1490 _ACEOF | 1517 _ACEOF |
1491 | 1518 |
1492 | |
1493 cat >>confdefs.h <<_ACEOF | 1519 cat >>confdefs.h <<_ACEOF |
1494 #define PACKAGE_STRING "$PACKAGE_STRING" | 1520 #define PACKAGE_STRING "$PACKAGE_STRING" |
1495 _ACEOF | 1521 _ACEOF |
1496 | 1522 |
1497 | |
1498 cat >>confdefs.h <<_ACEOF | 1523 cat >>confdefs.h <<_ACEOF |
1499 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 1524 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1500 _ACEOF | 1525 _ACEOF |
1501 | 1526 |
1527 cat >>confdefs.h <<_ACEOF | |
1528 #define PACKAGE_URL "$PACKAGE_URL" | |
1529 _ACEOF | |
1530 | |
1502 | 1531 |
1503 # Let the site file select an alternate cache file if it wants to. | 1532 # Let the site file select an alternate cache file if it wants to. |
1504 # Prefer explicitly selected file to automatically selected ones. | 1533 # Prefer an explicitly selected file to automatically selected ones. |
1534 ac_site_file1=NONE | |
1535 ac_site_file2=NONE | |
1505 if test -n "$CONFIG_SITE"; then | 1536 if test -n "$CONFIG_SITE"; then |
1506 set x "$CONFIG_SITE" | 1537 ac_site_file1=$CONFIG_SITE |
1507 elif test "x$prefix" != xNONE; then | 1538 elif test "x$prefix" != xNONE; then |
1508 set x "$prefix/share/config.site" "$prefix/etc/config.site" | 1539 ac_site_file1=$prefix/share/config.site |
1509 else | 1540 ac_site_file2=$prefix/etc/config.site |
1510 set x "$ac_default_prefix/share/config.site" \ | 1541 else |
1511 "$ac_default_prefix/etc/config.site" | 1542 ac_site_file1=$ac_default_prefix/share/config.site |
1512 fi | 1543 ac_site_file2=$ac_default_prefix/etc/config.site |
1513 shift | 1544 fi |
1514 for ac_site_file | 1545 for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1515 do | 1546 do |
1516 if test -r "$ac_site_file"; then | 1547 test "x$ac_site_file" = xNONE && continue |
1517 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 1548 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
1518 echo "$as_me: loading site script $ac_site_file" >&6;} | 1549 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1550 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1519 sed 's/^/| /' "$ac_site_file" >&5 | 1551 sed 's/^/| /' "$ac_site_file" >&5 |
1520 . "$ac_site_file" | 1552 . "$ac_site_file" |
1521 fi | 1553 fi |
1522 done | 1554 done |
1523 | 1555 |
1524 if test -r "$cache_file"; then | 1556 if test -r "$cache_file"; then |
1525 # Some versions of bash will fail to source /dev/null (special | 1557 # Some versions of bash will fail to source /dev/null (special files |
1526 # files actually), so we avoid doing that. | 1558 # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1527 if test -f "$cache_file"; then | 1559 if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1528 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 1560 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1529 echo "$as_me: loading cache $cache_file" >&6;} | 1561 $as_echo "$as_me: loading cache $cache_file" >&6;} |
1530 case $cache_file in | 1562 case $cache_file in |
1531 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1563 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1532 *) . "./$cache_file";; | 1564 *) . "./$cache_file";; |
1533 esac | 1565 esac |
1534 fi | 1566 fi |
1535 else | 1567 else |
1536 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 1568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1537 echo "$as_me: creating cache $cache_file" >&6;} | 1569 $as_echo "$as_me: creating cache $cache_file" >&6;} |
1538 >$cache_file | 1570 >$cache_file |
1539 fi | 1571 fi |
1540 | 1572 |
1541 # Check that the precious variables saved in the cache have kept the same | 1573 # Check that the precious variables saved in the cache have kept the same |
1542 # value. | 1574 # value. |
1546 eval ac_new_set=\$ac_env_${ac_var}_set | 1578 eval ac_new_set=\$ac_env_${ac_var}_set |
1547 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 1579 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1548 eval ac_new_val=\$ac_env_${ac_var}_value | 1580 eval ac_new_val=\$ac_env_${ac_var}_value |
1549 case $ac_old_set,$ac_new_set in | 1581 case $ac_old_set,$ac_new_set in |
1550 set,) | 1582 set,) |
1551 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1583 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1552 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1584 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1553 ac_cache_corrupted=: ;; | 1585 ac_cache_corrupted=: ;; |
1554 ,set) | 1586 ,set) |
1555 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 1587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1556 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1588 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1557 ac_cache_corrupted=: ;; | 1589 ac_cache_corrupted=: ;; |
1558 ,);; | 1590 ,);; |
1559 *) | 1591 *) |
1560 if test "x$ac_old_val" != "x$ac_new_val"; then | 1592 if test "x$ac_old_val" != "x$ac_new_val"; then |
1561 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 1593 # differences in whitespace do not lead to failure. |
1562 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1594 ac_old_val_w=`echo x $ac_old_val` |
1563 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 1595 ac_new_val_w=`echo x $ac_new_val` |
1564 echo "$as_me: former value: $ac_old_val" >&2;} | 1596 if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1565 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 1597 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1566 echo "$as_me: current value: $ac_new_val" >&2;} | 1598 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1567 ac_cache_corrupted=: | 1599 ac_cache_corrupted=: |
1600 else | |
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
1602 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
1603 eval $ac_var=\$ac_old_val | |
1604 fi | |
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
1606 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
1608 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1568 fi;; | 1609 fi;; |
1569 esac | 1610 esac |
1570 # Pass precious variables to config.status. | 1611 # Pass precious variables to config.status. |
1571 if test "$ac_new_set" = set; then | 1612 if test "$ac_new_set" = set; then |
1572 case $ac_new_val in | 1613 case $ac_new_val in |
1573 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 1614 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1574 *) ac_arg=$ac_var=$ac_new_val ;; | 1615 *) ac_arg=$ac_var=$ac_new_val ;; |
1575 esac | 1616 esac |
1576 case " $ac_configure_args " in | 1617 case " $ac_configure_args " in |
1577 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1618 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1578 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 1619 *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1579 esac | 1620 esac |
1580 fi | 1621 fi |
1581 done | 1622 done |
1582 if $ac_cache_corrupted; then | 1623 if $ac_cache_corrupted; then |
1583 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 1624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1584 echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 1625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1585 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1586 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 1627 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1587 { (exit 1); exit 1; }; } | 1628 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1588 fi | 1629 fi |
1589 | 1630 ## -------------------- ## |
1590 | 1631 ## Main body of script. ## |
1591 | 1632 ## -------------------- ## |
1592 | |
1593 | |
1594 | |
1595 | |
1596 | |
1597 | |
1598 | |
1599 | |
1600 | |
1601 | |
1602 | |
1603 | |
1604 | |
1605 | 1633 |
1606 ac_ext=c | 1634 ac_ext=c |
1607 ac_cpp='$CPP $CPPFLAGS' | 1635 ac_cpp='$CPP $CPPFLAGS' |
1608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1614 | 1642 |
1615 # sm: require a late-enough autoconf; this is the version number | 1643 # sm: require a late-enough autoconf; this is the version number |
1616 # that's on manju, so I assume it's ok | 1644 # that's on manju, so I assume it's ok |
1617 | 1645 |
1618 | 1646 |
1619 { echo "$as_me:$LINENO: Configuring Ur/Web" >&5 | 1647 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ur/Web" >&5 |
1620 echo "$as_me: Configuring Ur/Web" >&6;} | 1648 $as_echo "$as_me: Configuring Ur/Web" >&6;} |
1621 | 1649 |
1622 # make sure I haven't forgotten to run autoconf | 1650 # make sure I haven't forgotten to run autoconf |
1623 if test configure -ot configure.ac; then | 1651 if test configure -ot configure.ac; then |
1624 { { echo "$as_me:$LINENO: error: configure is older than configure.in; you forgot to run autoconf" >&5 | 1652 as_fn_error "configure is older than configure.in; you forgot to run autoconf" "$LINENO" 5 |
1625 echo "$as_me: error: configure is older than configure.in; you forgot to run autoconf" >&2;} | |
1626 { (exit 1); exit 1; }; } | |
1627 fi | 1653 fi |
1628 | 1654 |
1629 # ---------------- generic functions ----------------- | 1655 # ---------------- generic functions ----------------- |
1630 # debugging diagnostic; set to 'echo' to debug or 'true' for production | 1656 # debugging diagnostic; set to 'echo' to debug or 'true' for production |
1631 diagnostic() { | 1657 diagnostic() { |
1722 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 1748 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
1723 eval ac_val=\$$ac_var | 1749 eval ac_val=\$$ac_var |
1724 case $ac_val in #( | 1750 case $ac_val in #( |
1725 *${as_nl}*) | 1751 *${as_nl}*) |
1726 case $ac_var in #( | 1752 case $ac_var in #( |
1727 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 1753 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1728 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 1754 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1729 esac | 1755 esac |
1730 case $ac_var in #( | 1756 case $ac_var in #( |
1731 _ | IFS | as_nl) ;; #( | 1757 _ | IFS | as_nl) ;; #( |
1732 *) $as_unset $ac_var ;; | 1758 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1759 *) { eval $ac_var=; unset $ac_var;} ;; | |
1733 esac ;; | 1760 esac ;; |
1734 esac | 1761 esac |
1735 done | 1762 done |
1736 | 1763 |
1737 (set) 2>&1 | | 1764 (set) 2>&1 | |
1738 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 1765 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
1739 *${as_nl}ac_space=\ *) | 1766 *${as_nl}ac_space=\ *) |
1740 # `set' does not quote correctly, so add quotes (double-quote | 1767 # `set' does not quote correctly, so add quotes: double-quote |
1741 # substitution turns \\\\ into \\, and sed turns \\ into \). | 1768 # substitution turns \\\\ into \\, and sed turns \\ into \. |
1742 sed -n \ | 1769 sed -n \ |
1743 "s/'/'\\\\''/g; | 1770 "s/'/'\\\\''/g; |
1744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 1771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
1745 ;; #( | 1772 ;; #( |
1746 *) | 1773 *) |
1759 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 1786 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
1760 :end' >>confcache | 1787 :end' >>confcache |
1761 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 1788 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
1762 if test -w "$cache_file"; then | 1789 if test -w "$cache_file"; then |
1763 test "x$cache_file" != "x/dev/null" && | 1790 test "x$cache_file" != "x/dev/null" && |
1764 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
1765 echo "$as_me: updating cache $cache_file" >&6;} | 1792 $as_echo "$as_me: updating cache $cache_file" >&6;} |
1766 cat confcache >$cache_file | 1793 cat confcache >$cache_file |
1767 else | 1794 else |
1768 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
1769 echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 1796 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
1770 fi | 1797 fi |
1771 fi | 1798 fi |
1772 rm -f confcache | 1799 rm -f confcache |
1773 | 1800 |
1774 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 1801 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
1781 # | 1808 # |
1782 # If the first sed substitution is executed (which looks for macros that | 1809 # If the first sed substitution is executed (which looks for macros that |
1783 # take arguments), then branch to the quote section. Otherwise, | 1810 # take arguments), then branch to the quote section. Otherwise, |
1784 # look for a macro that doesn't take arguments. | 1811 # look for a macro that doesn't take arguments. |
1785 ac_script=' | 1812 ac_script=' |
1813 :mline | |
1814 /\\$/{ | |
1815 N | |
1816 s,\\\n,, | |
1817 b mline | |
1818 } | |
1786 t clear | 1819 t clear |
1787 :clear | 1820 :clear |
1788 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | 1821 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
1789 t quote | 1822 t quote |
1790 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | 1823 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
1810 ac_libobjs= | 1843 ac_libobjs= |
1811 ac_ltlibobjs= | 1844 ac_ltlibobjs= |
1812 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 1845 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
1813 # 1. Remove the extension, and $U if already installed. | 1846 # 1. Remove the extension, and $U if already installed. |
1814 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 1847 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
1815 ac_i=`echo "$ac_i" | sed "$ac_script"` | 1848 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
1816 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 1849 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
1817 # will be set to the directory where LIBOBJS objects are built. | 1850 # will be set to the directory where LIBOBJS objects are built. |
1818 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 1851 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
1819 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | 1852 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
1820 done | 1853 done |
1821 LIBOBJS=$ac_libobjs | 1854 LIBOBJS=$ac_libobjs |
1822 | 1855 |
1823 LTLIBOBJS=$ac_ltlibobjs | 1856 LTLIBOBJS=$ac_ltlibobjs |
1824 | 1857 |
1825 | 1858 |
1826 | 1859 |
1827 : ${CONFIG_STATUS=./config.status} | 1860 : ${CONFIG_STATUS=./config.status} |
1861 ac_write_fail=0 | |
1828 ac_clean_files_save=$ac_clean_files | 1862 ac_clean_files_save=$ac_clean_files |
1829 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 1863 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
1830 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 1864 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
1831 echo "$as_me: creating $CONFIG_STATUS" >&6;} | 1865 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
1832 cat >$CONFIG_STATUS <<_ACEOF | 1866 as_write_fail=0 |
1867 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
1833 #! $SHELL | 1868 #! $SHELL |
1834 # Generated by $as_me. | 1869 # Generated by $as_me. |
1835 # Run this file to recreate the current configuration. | 1870 # Run this file to recreate the current configuration. |
1836 # Compiler output produced by configure, useful for debugging | 1871 # Compiler output produced by configure, useful for debugging |
1837 # configure, is in config.log if it exists. | 1872 # configure, is in config.log if it exists. |
1838 | 1873 |
1839 debug=false | 1874 debug=false |
1840 ac_cs_recheck=false | 1875 ac_cs_recheck=false |
1841 ac_cs_silent=false | 1876 ac_cs_silent=false |
1877 | |
1842 SHELL=\${CONFIG_SHELL-$SHELL} | 1878 SHELL=\${CONFIG_SHELL-$SHELL} |
1843 _ACEOF | 1879 export SHELL |
1844 | 1880 _ASEOF |
1845 cat >>$CONFIG_STATUS <<\_ACEOF | 1881 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
1846 ## --------------------- ## | 1882 ## -------------------- ## |
1847 ## M4sh Initialization. ## | 1883 ## M4sh Initialization. ## |
1848 ## --------------------- ## | 1884 ## -------------------- ## |
1849 | 1885 |
1850 # Be more Bourne compatible | 1886 # Be more Bourne compatible |
1851 DUALCASE=1; export DUALCASE # for MKS sh | 1887 DUALCASE=1; export DUALCASE # for MKS sh |
1852 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 1888 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
1853 emulate sh | 1889 emulate sh |
1854 NULLCMD=: | 1890 NULLCMD=: |
1855 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 1891 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
1856 # is contrary to our usage. Disable this feature. | 1892 # is contrary to our usage. Disable this feature. |
1857 alias -g '${1+"$@"}'='"$@"' | 1893 alias -g '${1+"$@"}'='"$@"' |
1858 setopt NO_GLOB_SUBST | 1894 setopt NO_GLOB_SUBST |
1859 else | 1895 else |
1860 case `(set -o) 2>/dev/null` in | 1896 case `(set -o) 2>/dev/null` in #( |
1861 *posix*) set -o posix ;; | 1897 *posix*) : |
1898 set -o posix ;; #( | |
1899 *) : | |
1900 ;; | |
1862 esac | 1901 esac |
1863 | 1902 fi |
1864 fi | 1903 |
1865 | 1904 |
1866 | 1905 as_nl=' |
1867 | 1906 ' |
1868 | 1907 export as_nl |
1869 # PATH needs CR | 1908 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
1870 # Avoid depending upon Character Ranges. | 1909 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
1871 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 1910 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
1872 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 1911 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
1873 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 1912 # Prefer a ksh shell builtin over an external printf program on Solaris, |
1874 as_cr_digits='0123456789' | 1913 # but without wasting forks for bash or zsh. |
1875 as_cr_alnum=$as_cr_Letters$as_cr_digits | 1914 if test -z "$BASH_VERSION$ZSH_VERSION" \ |
1915 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
1916 as_echo='print -r --' | |
1917 as_echo_n='print -rn --' | |
1918 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
1919 as_echo='printf %s\n' | |
1920 as_echo_n='printf %s' | |
1921 else | |
1922 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
1923 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
1924 as_echo_n='/usr/ucb/echo -n' | |
1925 else | |
1926 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
1927 as_echo_n_body='eval | |
1928 arg=$1; | |
1929 case $arg in #( | |
1930 *"$as_nl"*) | |
1931 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
1932 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
1933 esac; | |
1934 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
1935 ' | |
1936 export as_echo_n_body | |
1937 as_echo_n='sh -c $as_echo_n_body as_echo' | |
1938 fi | |
1939 export as_echo_body | |
1940 as_echo='sh -c $as_echo_body as_echo' | |
1941 fi | |
1876 | 1942 |
1877 # The user is always right. | 1943 # The user is always right. |
1878 if test "${PATH_SEPARATOR+set}" != set; then | 1944 if test "${PATH_SEPARATOR+set}" != set; then |
1879 echo "#! /bin/sh" >conf$$.sh | 1945 PATH_SEPARATOR=: |
1880 echo "exit 0" >>conf$$.sh | 1946 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
1881 chmod +x conf$$.sh | 1947 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
1882 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 1948 PATH_SEPARATOR=';' |
1883 PATH_SEPARATOR=';' | 1949 } |
1884 else | |
1885 PATH_SEPARATOR=: | |
1886 fi | |
1887 rm -f conf$$.sh | |
1888 fi | |
1889 | |
1890 # Support unset when possible. | |
1891 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
1892 as_unset=unset | |
1893 else | |
1894 as_unset=false | |
1895 fi | 1950 fi |
1896 | 1951 |
1897 | 1952 |
1898 # IFS | 1953 # IFS |
1899 # We need space, tab and new line, in precisely that order. Quoting is | 1954 # We need space, tab and new line, in precisely that order. Quoting is |
1900 # there to prevent editors from complaining about space-tab. | 1955 # there to prevent editors from complaining about space-tab. |
1901 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 1956 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
1902 # splitting by setting IFS to empty value.) | 1957 # splitting by setting IFS to empty value.) |
1903 as_nl=' | |
1904 ' | |
1905 IFS=" "" $as_nl" | 1958 IFS=" "" $as_nl" |
1906 | 1959 |
1907 # Find who we are. Look in the path if we contain no directory separator. | 1960 # Find who we are. Look in the path if we contain no directory separator. |
1908 case $0 in | 1961 case $0 in #(( |
1909 *[\\/]* ) as_myself=$0 ;; | 1962 *[\\/]* ) as_myself=$0 ;; |
1910 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1963 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1911 for as_dir in $PATH | 1964 for as_dir in $PATH |
1912 do | 1965 do |
1913 IFS=$as_save_IFS | 1966 IFS=$as_save_IFS |
1914 test -z "$as_dir" && as_dir=. | 1967 test -z "$as_dir" && as_dir=. |
1915 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 1968 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
1916 done | 1969 done |
1917 IFS=$as_save_IFS | 1970 IFS=$as_save_IFS |
1918 | 1971 |
1919 ;; | 1972 ;; |
1920 esac | 1973 esac |
1921 # We did not find ourselves, most probably we were run as `sh COMMAND' | 1974 # We did not find ourselves, most probably we were run as `sh COMMAND' |
1922 # in which case we are not to be found in the path. | 1975 # in which case we are not to be found in the path. |
1923 if test "x$as_myself" = x; then | 1976 if test "x$as_myself" = x; then |
1924 as_myself=$0 | 1977 as_myself=$0 |
1925 fi | 1978 fi |
1926 if test ! -f "$as_myself"; then | 1979 if test ! -f "$as_myself"; then |
1927 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 1980 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1928 { (exit 1); exit 1; } | 1981 exit 1 |
1929 fi | 1982 fi |
1930 | 1983 |
1931 # Work around bugs in pre-3.0 UWIN ksh. | 1984 # Unset variables that we do not need and which cause bugs (e.g. in |
1932 for as_var in ENV MAIL MAILPATH | 1985 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
1933 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 1986 # suppresses any "Segmentation fault" message there. '((' could |
1987 # trigger a bug in pdksh 5.2.14. | |
1988 for as_var in BASH_ENV ENV MAIL MAILPATH | |
1989 do eval test x\${$as_var+set} = xset \ | |
1990 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
1934 done | 1991 done |
1935 PS1='$ ' | 1992 PS1='$ ' |
1936 PS2='> ' | 1993 PS2='> ' |
1937 PS4='+ ' | 1994 PS4='+ ' |
1938 | 1995 |
1939 # NLS nuisances. | 1996 # NLS nuisances. |
1940 for as_var in \ | 1997 LC_ALL=C |
1941 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 1998 export LC_ALL |
1942 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 1999 LANGUAGE=C |
1943 LC_TELEPHONE LC_TIME | 2000 export LANGUAGE |
1944 do | 2001 |
1945 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 2002 # CDPATH. |
1946 eval $as_var=C; export $as_var | 2003 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
1947 else | 2004 |
1948 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 2005 |
2006 # as_fn_error ERROR [LINENO LOG_FD] | |
2007 # --------------------------------- | |
2008 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
2009 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
2010 # script with status $?, using 1 if that was 0. | |
2011 as_fn_error () | |
2012 { | |
2013 as_status=$?; test $as_status -eq 0 && as_status=1 | |
2014 if test "$3"; then | |
2015 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2016 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
1949 fi | 2017 fi |
1950 done | 2018 $as_echo "$as_me: error: $1" >&2 |
1951 | 2019 as_fn_exit $as_status |
1952 # Required to use basename. | 2020 } # as_fn_error |
2021 | |
2022 | |
2023 # as_fn_set_status STATUS | |
2024 # ----------------------- | |
2025 # Set $? to STATUS, without forking. | |
2026 as_fn_set_status () | |
2027 { | |
2028 return $1 | |
2029 } # as_fn_set_status | |
2030 | |
2031 # as_fn_exit STATUS | |
2032 # ----------------- | |
2033 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
2034 as_fn_exit () | |
2035 { | |
2036 set +e | |
2037 as_fn_set_status $1 | |
2038 exit $1 | |
2039 } # as_fn_exit | |
2040 | |
2041 # as_fn_unset VAR | |
2042 # --------------- | |
2043 # Portably unset VAR. | |
2044 as_fn_unset () | |
2045 { | |
2046 { eval $1=; unset $1;} | |
2047 } | |
2048 as_unset=as_fn_unset | |
2049 # as_fn_append VAR VALUE | |
2050 # ---------------------- | |
2051 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
2052 # advantage of any shell optimizations that allow amortized linear growth over | |
2053 # repeated appends, instead of the typical quadratic growth present in naive | |
2054 # implementations. | |
2055 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
2056 eval 'as_fn_append () | |
2057 { | |
2058 eval $1+=\$2 | |
2059 }' | |
2060 else | |
2061 as_fn_append () | |
2062 { | |
2063 eval $1=\$$1\$2 | |
2064 } | |
2065 fi # as_fn_append | |
2066 | |
2067 # as_fn_arith ARG... | |
2068 # ------------------ | |
2069 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
2070 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
2071 # must be portable across $(()) and expr. | |
2072 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
2073 eval 'as_fn_arith () | |
2074 { | |
2075 as_val=$(( $* )) | |
2076 }' | |
2077 else | |
2078 as_fn_arith () | |
2079 { | |
2080 as_val=`expr "$@" || test $? -eq 1` | |
2081 } | |
2082 fi # as_fn_arith | |
2083 | |
2084 | |
1953 if expr a : '\(a\)' >/dev/null 2>&1 && | 2085 if expr a : '\(a\)' >/dev/null 2>&1 && |
1954 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 2086 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
1955 as_expr=expr | 2087 as_expr=expr |
1956 else | 2088 else |
1957 as_expr=false | 2089 as_expr=false |
1961 as_basename=basename | 2093 as_basename=basename |
1962 else | 2094 else |
1963 as_basename=false | 2095 as_basename=false |
1964 fi | 2096 fi |
1965 | 2097 |
1966 | 2098 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
1967 # Name of the executable. | 2099 as_dirname=dirname |
2100 else | |
2101 as_dirname=false | |
2102 fi | |
2103 | |
1968 as_me=`$as_basename -- "$0" || | 2104 as_me=`$as_basename -- "$0" || |
1969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 2105 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
1970 X"$0" : 'X\(//\)$' \| \ | 2106 X"$0" : 'X\(//\)$' \| \ |
1971 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 2107 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1972 echo X/"$0" | | 2108 $as_echo X/"$0" | |
1973 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 2109 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
1974 s//\1/ | 2110 s//\1/ |
1975 q | 2111 q |
1976 } | 2112 } |
1977 /^X\/\(\/\/\)$/{ | 2113 /^X\/\(\/\/\)$/{ |
1982 s//\1/ | 2118 s//\1/ |
1983 q | 2119 q |
1984 } | 2120 } |
1985 s/.*/./; q'` | 2121 s/.*/./; q'` |
1986 | 2122 |
1987 # CDPATH. | 2123 # Avoid depending upon Character Ranges. |
1988 $as_unset CDPATH | 2124 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
1989 | 2125 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
1990 | 2126 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
1991 | 2127 as_cr_digits='0123456789' |
1992 as_lineno_1=$LINENO | 2128 as_cr_alnum=$as_cr_Letters$as_cr_digits |
1993 as_lineno_2=$LINENO | |
1994 test "x$as_lineno_1" != "x$as_lineno_2" && | |
1995 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
1996 | |
1997 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
1998 # uniformly replaced by the line number. The first 'sed' inserts a | |
1999 # line-number line after each line using $LINENO; the second 'sed' | |
2000 # does the real work. The second script uses 'N' to pair each | |
2001 # line-number line with the line containing $LINENO, and appends | |
2002 # trailing '-' during substitution so that $LINENO is not a special | |
2003 # case at line end. | |
2004 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
2005 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
2006 # E. McMahon (1931-1989) for sed's syntax. :-) | |
2007 sed -n ' | |
2008 p | |
2009 /[$]LINENO/= | |
2010 ' <$as_myself | | |
2011 sed ' | |
2012 s/[$]LINENO.*/&-/ | |
2013 t lineno | |
2014 b | |
2015 :lineno | |
2016 N | |
2017 :loop | |
2018 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
2019 t loop | |
2020 s/-\n.*// | |
2021 ' >$as_me.lineno && | |
2022 chmod +x "$as_me.lineno" || | |
2023 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
2024 { (exit 1); exit 1; }; } | |
2025 | |
2026 # Don't try to exec as it changes $[0], causing all sort of problems | |
2027 # (the dirname of $[0] is not the place where we might find the | |
2028 # original and so on. Autoconf is especially sensitive to this). | |
2029 . "./$as_me.lineno" | |
2030 # Exit status is that of the last command. | |
2031 exit | |
2032 } | |
2033 | |
2034 | |
2035 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
2036 as_dirname=dirname | |
2037 else | |
2038 as_dirname=false | |
2039 fi | |
2040 | 2129 |
2041 ECHO_C= ECHO_N= ECHO_T= | 2130 ECHO_C= ECHO_N= ECHO_T= |
2042 case `echo -n x` in | 2131 case `echo -n x` in #((((( |
2043 -n*) | 2132 -n*) |
2044 case `echo 'x\c'` in | 2133 case `echo 'xy\c'` in |
2045 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 2134 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
2046 *) ECHO_C='\c';; | 2135 xy) ECHO_C='\c';; |
2136 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
2137 ECHO_T=' ';; | |
2047 esac;; | 2138 esac;; |
2048 *) | 2139 *) |
2049 ECHO_N='-n';; | 2140 ECHO_N='-n';; |
2050 esac | 2141 esac |
2051 | 2142 |
2052 if expr a : '\(a\)' >/dev/null 2>&1 && | |
2053 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
2054 as_expr=expr | |
2055 else | |
2056 as_expr=false | |
2057 fi | |
2058 | |
2059 rm -f conf$$ conf$$.exe conf$$.file | 2143 rm -f conf$$ conf$$.exe conf$$.file |
2060 if test -d conf$$.dir; then | 2144 if test -d conf$$.dir; then |
2061 rm -f conf$$.dir/conf$$.file | 2145 rm -f conf$$.dir/conf$$.file |
2062 else | 2146 else |
2063 rm -f conf$$.dir | 2147 rm -f conf$$.dir |
2064 mkdir conf$$.dir | 2148 mkdir conf$$.dir 2>/dev/null |
2065 fi | 2149 fi |
2066 echo >conf$$.file | 2150 if (echo >conf$$.file) 2>/dev/null; then |
2067 if ln -s conf$$.file conf$$ 2>/dev/null; then | 2151 if ln -s conf$$.file conf$$ 2>/dev/null; then |
2068 as_ln_s='ln -s' | 2152 as_ln_s='ln -s' |
2069 # ... but there are two gotchas: | 2153 # ... but there are two gotchas: |
2070 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 2154 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
2071 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 2155 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
2072 # In both cases, we have to default to `cp -p'. | 2156 # In both cases, we have to default to `cp -p'. |
2073 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 2157 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
2158 as_ln_s='cp -p' | |
2159 elif ln conf$$.file conf$$ 2>/dev/null; then | |
2160 as_ln_s=ln | |
2161 else | |
2074 as_ln_s='cp -p' | 2162 as_ln_s='cp -p' |
2075 elif ln conf$$.file conf$$ 2>/dev/null; then | 2163 fi |
2076 as_ln_s=ln | |
2077 else | 2164 else |
2078 as_ln_s='cp -p' | 2165 as_ln_s='cp -p' |
2079 fi | 2166 fi |
2080 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 2167 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
2081 rmdir conf$$.dir 2>/dev/null | 2168 rmdir conf$$.dir 2>/dev/null |
2082 | 2169 |
2083 if mkdir -p . 2>/dev/null; then | 2170 |
2084 as_mkdir_p=: | 2171 # as_fn_mkdir_p |
2085 else | 2172 # ------------- |
2086 test -d ./-p && rmdir ./-p | 2173 # Create "$as_dir" as a directory, including parents if necessary. |
2087 as_mkdir_p=false | 2174 as_fn_mkdir_p () |
2088 fi | |
2089 | |
2090 if test -x / >/dev/null 2>&1; then | |
2091 as_test_x='test -x' | |
2092 else | |
2093 if ls -dL / >/dev/null 2>&1; then | |
2094 as_ls_L_option=L | |
2095 else | |
2096 as_ls_L_option= | |
2097 fi | |
2098 as_test_x=' | |
2099 eval sh -c '\'' | |
2100 if test -d "$1"; then | |
2101 test -d "$1/."; | |
2102 else | |
2103 case $1 in | |
2104 -*)set "./$1";; | |
2105 esac; | |
2106 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
2107 ???[sx]*):;;*)false;;esac;fi | |
2108 '\'' sh | |
2109 ' | |
2110 fi | |
2111 as_executable_p=$as_test_x | |
2112 | |
2113 # Sed expression to map a string onto a valid CPP name. | |
2114 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
2115 | |
2116 # Sed expression to map a string onto a valid variable name. | |
2117 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
2118 | |
2119 | |
2120 exec 6>&1 | |
2121 | |
2122 # Save the log message, to keep $[0] and so on meaningful, and to | |
2123 # report actual input values of CONFIG_FILES etc. instead of their | |
2124 # values after options handling. | |
2125 ac_log=" | |
2126 This file was extended by $as_me, which was | |
2127 generated by GNU Autoconf 2.61. Invocation command line was | |
2128 | |
2129 CONFIG_FILES = $CONFIG_FILES | |
2130 CONFIG_HEADERS = $CONFIG_HEADERS | |
2131 CONFIG_LINKS = $CONFIG_LINKS | |
2132 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
2133 $ $0 $@ | |
2134 | |
2135 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
2136 " | |
2137 | |
2138 _ACEOF | |
2139 | |
2140 cat >>$CONFIG_STATUS <<_ACEOF | |
2141 # Files that config.status was made for. | |
2142 config_files="$ac_config_files" | |
2143 | |
2144 _ACEOF | |
2145 | |
2146 cat >>$CONFIG_STATUS <<\_ACEOF | |
2147 ac_cs_usage="\ | |
2148 \`$as_me' instantiates files from templates according to the | |
2149 current configuration. | |
2150 | |
2151 Usage: $0 [OPTIONS] [FILE]... | |
2152 | |
2153 -h, --help print this help, then exit | |
2154 -V, --version print version number and configuration settings, then exit | |
2155 -q, --quiet do not print progress messages | |
2156 -d, --debug don't remove temporary files | |
2157 --recheck update $as_me by reconfiguring in the same conditions | |
2158 --file=FILE[:TEMPLATE] | |
2159 instantiate the configuration file FILE | |
2160 | |
2161 Configuration files: | |
2162 $config_files | |
2163 | |
2164 Report bugs to <bug-autoconf@gnu.org>." | |
2165 | |
2166 _ACEOF | |
2167 cat >>$CONFIG_STATUS <<_ACEOF | |
2168 ac_cs_version="\\ | |
2169 config.status | |
2170 configured by $0, generated by GNU Autoconf 2.61, | |
2171 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
2172 | |
2173 Copyright (C) 2006 Free Software Foundation, Inc. | |
2174 This config.status script is free software; the Free Software Foundation | |
2175 gives unlimited permission to copy, distribute and modify it." | |
2176 | |
2177 ac_pwd='$ac_pwd' | |
2178 srcdir='$srcdir' | |
2179 _ACEOF | |
2180 | |
2181 cat >>$CONFIG_STATUS <<\_ACEOF | |
2182 # If no file are specified by the user, then we need to provide default | |
2183 # value. By we need to know if files were specified by the user. | |
2184 ac_need_defaults=: | |
2185 while test $# != 0 | |
2186 do | |
2187 case $1 in | |
2188 --*=*) | |
2189 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
2190 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
2191 ac_shift=: | |
2192 ;; | |
2193 *) | |
2194 ac_option=$1 | |
2195 ac_optarg=$2 | |
2196 ac_shift=shift | |
2197 ;; | |
2198 esac | |
2199 | |
2200 case $ac_option in | |
2201 # Handling of the options. | |
2202 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
2203 ac_cs_recheck=: ;; | |
2204 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
2205 echo "$ac_cs_version"; exit ;; | |
2206 --debug | --debu | --deb | --de | --d | -d ) | |
2207 debug=: ;; | |
2208 --file | --fil | --fi | --f ) | |
2209 $ac_shift | |
2210 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
2211 ac_need_defaults=false;; | |
2212 --he | --h | --help | --hel | -h ) | |
2213 echo "$ac_cs_usage"; exit ;; | |
2214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
2215 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
2216 ac_cs_silent=: ;; | |
2217 | |
2218 # This is an error. | |
2219 -*) { echo "$as_me: error: unrecognized option: $1 | |
2220 Try \`$0 --help' for more information." >&2 | |
2221 { (exit 1); exit 1; }; } ;; | |
2222 | |
2223 *) ac_config_targets="$ac_config_targets $1" | |
2224 ac_need_defaults=false ;; | |
2225 | |
2226 esac | |
2227 shift | |
2228 done | |
2229 | |
2230 ac_configure_extra_args= | |
2231 | |
2232 if $ac_cs_silent; then | |
2233 exec 6>/dev/null | |
2234 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
2235 fi | |
2236 | |
2237 _ACEOF | |
2238 cat >>$CONFIG_STATUS <<_ACEOF | |
2239 if \$ac_cs_recheck; then | |
2240 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
2241 CONFIG_SHELL=$SHELL | |
2242 export CONFIG_SHELL | |
2243 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
2244 fi | |
2245 | |
2246 _ACEOF | |
2247 cat >>$CONFIG_STATUS <<\_ACEOF | |
2248 exec 5>>config.log | |
2249 { | 2175 { |
2250 echo | 2176 |
2251 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
2252 ## Running $as_me. ## | |
2253 _ASBOX | |
2254 echo "$ac_log" | |
2255 } >&5 | |
2256 | |
2257 _ACEOF | |
2258 cat >>$CONFIG_STATUS <<_ACEOF | |
2259 _ACEOF | |
2260 | |
2261 cat >>$CONFIG_STATUS <<\_ACEOF | |
2262 | |
2263 # Handling of arguments. | |
2264 for ac_config_target in $ac_config_targets | |
2265 do | |
2266 case $ac_config_target in | |
2267 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
2268 "src/config.sml") CONFIG_FILES="$CONFIG_FILES src/config.sml" ;; | |
2269 | |
2270 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
2271 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
2272 { (exit 1); exit 1; }; };; | |
2273 esac | |
2274 done | |
2275 | |
2276 | |
2277 # If the user did not use the arguments to specify the items to instantiate, | |
2278 # then the envvar interface is used. Set only those that are not. | |
2279 # We use the long form for the default assignment because of an extremely | |
2280 # bizarre bug on SunOS 4.1.3. | |
2281 if $ac_need_defaults; then | |
2282 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
2283 fi | |
2284 | |
2285 # Have a temporary directory for convenience. Make it in the build tree | |
2286 # simply because there is no reason against having it here, and in addition, | |
2287 # creating and moving files from /tmp can sometimes cause problems. | |
2288 # Hook for its removal unless debugging. | |
2289 # Note that there is a small window in which the directory will not be cleaned: | |
2290 # after its creation but before its name has been assigned to `$tmp'. | |
2291 $debug || | |
2292 { | |
2293 tmp= | |
2294 trap 'exit_status=$? | |
2295 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
2296 ' 0 | |
2297 trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
2298 } | |
2299 # Create a (secure) tmp directory for tmp files. | |
2300 | |
2301 { | |
2302 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
2303 test -n "$tmp" && test -d "$tmp" | |
2304 } || | |
2305 { | |
2306 tmp=./conf$$-$RANDOM | |
2307 (umask 077 && mkdir "$tmp") | |
2308 } || | |
2309 { | |
2310 echo "$me: cannot create a temporary directory in ." >&2 | |
2311 { (exit 1); exit 1; } | |
2312 } | |
2313 | |
2314 # | |
2315 # Set up the sed scripts for CONFIG_FILES section. | |
2316 # | |
2317 | |
2318 # No need to generate the scripts if there are no CONFIG_FILES. | |
2319 # This happens for instance when ./config.status config.h | |
2320 if test -n "$CONFIG_FILES"; then | |
2321 | |
2322 _ACEOF | |
2323 | |
2324 | |
2325 | |
2326 ac_delim='%!_!# ' | |
2327 for ac_last_try in false false false false false :; do | |
2328 cat >conf$$subs.sed <<_ACEOF | |
2329 SHELL!$SHELL$ac_delim | |
2330 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
2331 PACKAGE_NAME!$PACKAGE_NAME$ac_delim | |
2332 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | |
2333 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | |
2334 PACKAGE_STRING!$PACKAGE_STRING$ac_delim | |
2335 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | |
2336 exec_prefix!$exec_prefix$ac_delim | |
2337 prefix!$prefix$ac_delim | |
2338 program_transform_name!$program_transform_name$ac_delim | |
2339 bindir!$bindir$ac_delim | |
2340 sbindir!$sbindir$ac_delim | |
2341 libexecdir!$libexecdir$ac_delim | |
2342 datarootdir!$datarootdir$ac_delim | |
2343 datadir!$datadir$ac_delim | |
2344 sysconfdir!$sysconfdir$ac_delim | |
2345 sharedstatedir!$sharedstatedir$ac_delim | |
2346 localstatedir!$localstatedir$ac_delim | |
2347 includedir!$includedir$ac_delim | |
2348 oldincludedir!$oldincludedir$ac_delim | |
2349 docdir!$docdir$ac_delim | |
2350 infodir!$infodir$ac_delim | |
2351 htmldir!$htmldir$ac_delim | |
2352 dvidir!$dvidir$ac_delim | |
2353 pdfdir!$pdfdir$ac_delim | |
2354 psdir!$psdir$ac_delim | |
2355 libdir!$libdir$ac_delim | |
2356 localedir!$localedir$ac_delim | |
2357 mandir!$mandir$ac_delim | |
2358 DEFS!$DEFS$ac_delim | |
2359 ECHO_C!$ECHO_C$ac_delim | |
2360 ECHO_N!$ECHO_N$ac_delim | |
2361 ECHO_T!$ECHO_T$ac_delim | |
2362 LIBS!$LIBS$ac_delim | |
2363 build_alias!$build_alias$ac_delim | |
2364 host_alias!$host_alias$ac_delim | |
2365 target_alias!$target_alias$ac_delim | |
2366 BIN!$BIN$ac_delim | |
2367 LIB!$LIB$ac_delim | |
2368 INCLUDE!$INCLUDE$ac_delim | |
2369 SITELISP!$SITELISP$ac_delim | |
2370 GCCARGS!$GCCARGS$ac_delim | |
2371 do_not_edit!$do_not_edit$ac_delim | |
2372 LIBOBJS!$LIBOBJS$ac_delim | |
2373 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
2374 _ACEOF | |
2375 | |
2376 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then | |
2377 break | |
2378 elif $ac_last_try; then | |
2379 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
2380 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
2381 { (exit 1); exit 1; }; } | |
2382 else | |
2383 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
2384 fi | |
2385 done | |
2386 | |
2387 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
2388 if test -n "$ac_eof"; then | |
2389 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
2390 ac_eof=`expr $ac_eof + 1` | |
2391 fi | |
2392 | |
2393 cat >>$CONFIG_STATUS <<_ACEOF | |
2394 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
2395 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
2396 _ACEOF | |
2397 sed ' | |
2398 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
2399 s/^/s,@/; s/!/@,|#_!!_#|/ | |
2400 :n | |
2401 t n | |
2402 s/'"$ac_delim"'$/,g/; t | |
2403 s/$/\\/; p | |
2404 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
2405 ' >>$CONFIG_STATUS <conf$$subs.sed | |
2406 rm -f conf$$subs.sed | |
2407 cat >>$CONFIG_STATUS <<_ACEOF | |
2408 :end | |
2409 s/|#_!!_#|//g | |
2410 CEOF$ac_eof | |
2411 _ACEOF | |
2412 | |
2413 | |
2414 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
2415 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
2416 # trailing colons and then remove the whole line if VPATH becomes empty | |
2417 # (actually we leave an empty line to preserve line numbers). | |
2418 if test "x$srcdir" = x.; then | |
2419 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
2420 s/:*\$(srcdir):*/:/ | |
2421 s/:*\${srcdir}:*/:/ | |
2422 s/:*@srcdir@:*/:/ | |
2423 s/^\([^=]*=[ ]*\):*/\1/ | |
2424 s/:*$// | |
2425 s/^[^=]*=[ ]*$// | |
2426 }' | |
2427 fi | |
2428 | |
2429 cat >>$CONFIG_STATUS <<\_ACEOF | |
2430 fi # test -n "$CONFIG_FILES" | |
2431 | |
2432 | |
2433 for ac_tag in :F $CONFIG_FILES | |
2434 do | |
2435 case $ac_tag in | |
2436 :[FHLC]) ac_mode=$ac_tag; continue;; | |
2437 esac | |
2438 case $ac_mode$ac_tag in | |
2439 :[FHL]*:*);; | |
2440 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
2441 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
2442 { (exit 1); exit 1; }; };; | |
2443 :[FH]-) ac_tag=-:-;; | |
2444 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
2445 esac | |
2446 ac_save_IFS=$IFS | |
2447 IFS=: | |
2448 set x $ac_tag | |
2449 IFS=$ac_save_IFS | |
2450 shift | |
2451 ac_file=$1 | |
2452 shift | |
2453 | |
2454 case $ac_mode in | |
2455 :L) ac_source=$1;; | |
2456 :[FH]) | |
2457 ac_file_inputs= | |
2458 for ac_f | |
2459 do | |
2460 case $ac_f in | |
2461 -) ac_f="$tmp/stdin";; | |
2462 *) # Look for the file first in the build tree, then in the source tree | |
2463 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
2464 # because $ac_f cannot contain `:'. | |
2465 test -f "$ac_f" || | |
2466 case $ac_f in | |
2467 [\\/$]*) false;; | |
2468 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
2469 esac || | |
2470 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
2471 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
2472 { (exit 1); exit 1; }; };; | |
2473 esac | |
2474 ac_file_inputs="$ac_file_inputs $ac_f" | |
2475 done | |
2476 | |
2477 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
2478 # use $as_me), people would be surprised to read: | |
2479 # /* config.h. Generated by config.status. */ | |
2480 configure_input="Generated from "`IFS=: | |
2481 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
2482 if test x"$ac_file" != x-; then | |
2483 configure_input="$ac_file. $configure_input" | |
2484 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
2485 echo "$as_me: creating $ac_file" >&6;} | |
2486 fi | |
2487 | |
2488 case $ac_tag in | |
2489 *:-:* | *:-) cat >"$tmp/stdin";; | |
2490 esac | |
2491 ;; | |
2492 esac | |
2493 | |
2494 ac_dir=`$as_dirname -- "$ac_file" || | |
2495 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
2496 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
2497 X"$ac_file" : 'X\(//\)$' \| \ | |
2498 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
2499 echo X"$ac_file" | | |
2500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
2501 s//\1/ | |
2502 q | |
2503 } | |
2504 /^X\(\/\/\)[^/].*/{ | |
2505 s//\1/ | |
2506 q | |
2507 } | |
2508 /^X\(\/\/\)$/{ | |
2509 s//\1/ | |
2510 q | |
2511 } | |
2512 /^X\(\/\).*/{ | |
2513 s//\1/ | |
2514 q | |
2515 } | |
2516 s/.*/./; q'` | |
2517 { as_dir="$ac_dir" | |
2518 case $as_dir in #( | 2177 case $as_dir in #( |
2519 -*) as_dir=./$as_dir;; | 2178 -*) as_dir=./$as_dir;; |
2520 esac | 2179 esac |
2521 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | 2180 test -d "$as_dir" || eval $as_mkdir_p || { |
2522 as_dirs= | 2181 as_dirs= |
2523 while :; do | 2182 while :; do |
2524 case $as_dir in #( | 2183 case $as_dir in #( |
2525 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | 2184 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
2526 *) as_qdir=$as_dir;; | 2185 *) as_qdir=$as_dir;; |
2527 esac | 2186 esac |
2528 as_dirs="'$as_qdir' $as_dirs" | 2187 as_dirs="'$as_qdir' $as_dirs" |
2529 as_dir=`$as_dirname -- "$as_dir" || | 2188 as_dir=`$as_dirname -- "$as_dir" || |
2530 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 2189 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
2531 X"$as_dir" : 'X\(//\)[^/]' \| \ | 2190 X"$as_dir" : 'X\(//\)[^/]' \| \ |
2532 X"$as_dir" : 'X\(//\)$' \| \ | 2191 X"$as_dir" : 'X\(//\)$' \| \ |
2533 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 2192 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
2534 echo X"$as_dir" | | 2193 $as_echo X"$as_dir" | |
2535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 2194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
2536 s//\1/ | 2195 s//\1/ |
2537 q | 2196 q |
2538 } | 2197 } |
2539 /^X\(\/\/\)[^/].*/{ | 2198 /^X\(\/\/\)[^/].*/{ |
2550 } | 2209 } |
2551 s/.*/./; q'` | 2210 s/.*/./; q'` |
2552 test -d "$as_dir" && break | 2211 test -d "$as_dir" && break |
2553 done | 2212 done |
2554 test -z "$as_dirs" || eval "mkdir $as_dirs" | 2213 test -z "$as_dirs" || eval "mkdir $as_dirs" |
2555 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | 2214 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
2556 echo "$as_me: error: cannot create directory $as_dir" >&2;} | 2215 |
2557 { (exit 1); exit 1; }; }; } | 2216 |
2217 } # as_fn_mkdir_p | |
2218 if mkdir -p . 2>/dev/null; then | |
2219 as_mkdir_p='mkdir -p "$as_dir"' | |
2220 else | |
2221 test -d ./-p && rmdir ./-p | |
2222 as_mkdir_p=false | |
2223 fi | |
2224 | |
2225 if test -x / >/dev/null 2>&1; then | |
2226 as_test_x='test -x' | |
2227 else | |
2228 if ls -dL / >/dev/null 2>&1; then | |
2229 as_ls_L_option=L | |
2230 else | |
2231 as_ls_L_option= | |
2232 fi | |
2233 as_test_x=' | |
2234 eval sh -c '\'' | |
2235 if test -d "$1"; then | |
2236 test -d "$1/."; | |
2237 else | |
2238 case $1 in #( | |
2239 -*)set "./$1";; | |
2240 esac; | |
2241 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
2242 ???[sx]*):;;*)false;;esac;fi | |
2243 '\'' sh | |
2244 ' | |
2245 fi | |
2246 as_executable_p=$as_test_x | |
2247 | |
2248 # Sed expression to map a string onto a valid CPP name. | |
2249 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
2250 | |
2251 # Sed expression to map a string onto a valid variable name. | |
2252 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
2253 | |
2254 | |
2255 exec 6>&1 | |
2256 ## ----------------------------------- ## | |
2257 ## Main body of $CONFIG_STATUS script. ## | |
2258 ## ----------------------------------- ## | |
2259 _ASEOF | |
2260 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
2261 | |
2262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2263 # Save the log message, to keep $0 and so on meaningful, and to | |
2264 # report actual input values of CONFIG_FILES etc. instead of their | |
2265 # values after options handling. | |
2266 ac_log=" | |
2267 This file was extended by $as_me, which was | |
2268 generated by GNU Autoconf 2.65. Invocation command line was | |
2269 | |
2270 CONFIG_FILES = $CONFIG_FILES | |
2271 CONFIG_HEADERS = $CONFIG_HEADERS | |
2272 CONFIG_LINKS = $CONFIG_LINKS | |
2273 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
2274 $ $0 $@ | |
2275 | |
2276 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
2277 " | |
2278 | |
2279 _ACEOF | |
2280 | |
2281 case $ac_config_files in *" | |
2282 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
2283 esac | |
2284 | |
2285 | |
2286 | |
2287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2288 # Files that config.status was made for. | |
2289 config_files="$ac_config_files" | |
2290 | |
2291 _ACEOF | |
2292 | |
2293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2294 ac_cs_usage="\ | |
2295 \`$as_me' instantiates files and other configuration actions | |
2296 from templates according to the current configuration. Unless the files | |
2297 and actions are specified as TAGs, all are instantiated by default. | |
2298 | |
2299 Usage: $0 [OPTION]... [TAG]... | |
2300 | |
2301 -h, --help print this help, then exit | |
2302 -V, --version print version number and configuration settings, then exit | |
2303 --config print configuration, then exit | |
2304 -q, --quiet, --silent | |
2305 do not print progress messages | |
2306 -d, --debug don't remove temporary files | |
2307 --recheck update $as_me by reconfiguring in the same conditions | |
2308 --file=FILE[:TEMPLATE] | |
2309 instantiate the configuration file FILE | |
2310 | |
2311 Configuration files: | |
2312 $config_files | |
2313 | |
2314 Report bugs to the package provider." | |
2315 | |
2316 _ACEOF | |
2317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2318 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
2319 ac_cs_version="\\ | |
2320 config.status | |
2321 configured by $0, generated by GNU Autoconf 2.65, | |
2322 with options \\"\$ac_cs_config\\" | |
2323 | |
2324 Copyright (C) 2009 Free Software Foundation, Inc. | |
2325 This config.status script is free software; the Free Software Foundation | |
2326 gives unlimited permission to copy, distribute and modify it." | |
2327 | |
2328 ac_pwd='$ac_pwd' | |
2329 srcdir='$srcdir' | |
2330 test -n "\$AWK" || AWK=awk | |
2331 _ACEOF | |
2332 | |
2333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2334 # The default lists apply if the user does not specify any file. | |
2335 ac_need_defaults=: | |
2336 while test $# != 0 | |
2337 do | |
2338 case $1 in | |
2339 --*=*) | |
2340 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
2341 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
2342 ac_shift=: | |
2343 ;; | |
2344 *) | |
2345 ac_option=$1 | |
2346 ac_optarg=$2 | |
2347 ac_shift=shift | |
2348 ;; | |
2349 esac | |
2350 | |
2351 case $ac_option in | |
2352 # Handling of the options. | |
2353 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
2354 ac_cs_recheck=: ;; | |
2355 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
2356 $as_echo "$ac_cs_version"; exit ;; | |
2357 --config | --confi | --conf | --con | --co | --c ) | |
2358 $as_echo "$ac_cs_config"; exit ;; | |
2359 --debug | --debu | --deb | --de | --d | -d ) | |
2360 debug=: ;; | |
2361 --file | --fil | --fi | --f ) | |
2362 $ac_shift | |
2363 case $ac_optarg in | |
2364 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
2365 esac | |
2366 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
2367 ac_need_defaults=false;; | |
2368 --he | --h | --help | --hel | -h ) | |
2369 $as_echo "$ac_cs_usage"; exit ;; | |
2370 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
2371 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
2372 ac_cs_silent=: ;; | |
2373 | |
2374 # This is an error. | |
2375 -*) as_fn_error "unrecognized option: \`$1' | |
2376 Try \`$0 --help' for more information." ;; | |
2377 | |
2378 *) as_fn_append ac_config_targets " $1" | |
2379 ac_need_defaults=false ;; | |
2380 | |
2381 esac | |
2382 shift | |
2383 done | |
2384 | |
2385 ac_configure_extra_args= | |
2386 | |
2387 if $ac_cs_silent; then | |
2388 exec 6>/dev/null | |
2389 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
2390 fi | |
2391 | |
2392 _ACEOF | |
2393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2394 if \$ac_cs_recheck; then | |
2395 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
2396 shift | |
2397 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
2398 CONFIG_SHELL='$SHELL' | |
2399 export CONFIG_SHELL | |
2400 exec "\$@" | |
2401 fi | |
2402 | |
2403 _ACEOF | |
2404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2405 exec 5>>config.log | |
2406 { | |
2407 echo | |
2408 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
2409 ## Running $as_me. ## | |
2410 _ASBOX | |
2411 $as_echo "$ac_log" | |
2412 } >&5 | |
2413 | |
2414 _ACEOF | |
2415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2416 _ACEOF | |
2417 | |
2418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2419 | |
2420 # Handling of arguments. | |
2421 for ac_config_target in $ac_config_targets | |
2422 do | |
2423 case $ac_config_target in | |
2424 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
2425 "src/config.sml") CONFIG_FILES="$CONFIG_FILES src/config.sml" ;; | |
2426 | |
2427 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
2428 esac | |
2429 done | |
2430 | |
2431 | |
2432 # If the user did not use the arguments to specify the items to instantiate, | |
2433 # then the envvar interface is used. Set only those that are not. | |
2434 # We use the long form for the default assignment because of an extremely | |
2435 # bizarre bug on SunOS 4.1.3. | |
2436 if $ac_need_defaults; then | |
2437 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
2438 fi | |
2439 | |
2440 # Have a temporary directory for convenience. Make it in the build tree | |
2441 # simply because there is no reason against having it here, and in addition, | |
2442 # creating and moving files from /tmp can sometimes cause problems. | |
2443 # Hook for its removal unless debugging. | |
2444 # Note that there is a small window in which the directory will not be cleaned: | |
2445 # after its creation but before its name has been assigned to `$tmp'. | |
2446 $debug || | |
2447 { | |
2448 tmp= | |
2449 trap 'exit_status=$? | |
2450 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
2451 ' 0 | |
2452 trap 'as_fn_exit 1' 1 2 13 15 | |
2453 } | |
2454 # Create a (secure) tmp directory for tmp files. | |
2455 | |
2456 { | |
2457 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
2458 test -n "$tmp" && test -d "$tmp" | |
2459 } || | |
2460 { | |
2461 tmp=./conf$$-$RANDOM | |
2462 (umask 077 && mkdir "$tmp") | |
2463 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | |
2464 | |
2465 # Set up the scripts for CONFIG_FILES section. | |
2466 # No need to generate them if there are no CONFIG_FILES. | |
2467 # This happens for instance with `./config.status config.h'. | |
2468 if test -n "$CONFIG_FILES"; then | |
2469 | |
2470 | |
2471 ac_cr=`echo X | tr X '\015'` | |
2472 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
2473 # But we know of no other shell where ac_cr would be empty at this | |
2474 # point, so we can use a bashism as a fallback. | |
2475 if test "x$ac_cr" = x; then | |
2476 eval ac_cr=\$\'\\r\' | |
2477 fi | |
2478 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
2479 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
2480 ac_cs_awk_cr='\r' | |
2481 else | |
2482 ac_cs_awk_cr=$ac_cr | |
2483 fi | |
2484 | |
2485 echo 'BEGIN {' >"$tmp/subs1.awk" && | |
2486 _ACEOF | |
2487 | |
2488 | |
2489 { | |
2490 echo "cat >conf$$subs.awk <<_ACEOF" && | |
2491 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
2492 echo "_ACEOF" | |
2493 } >conf$$subs.sh || | |
2494 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
2495 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | |
2496 ac_delim='%!_!# ' | |
2497 for ac_last_try in false false false false false :; do | |
2498 . ./conf$$subs.sh || | |
2499 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
2500 | |
2501 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
2502 if test $ac_delim_n = $ac_delim_num; then | |
2503 break | |
2504 elif $ac_last_try; then | |
2505 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
2506 else | |
2507 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
2508 fi | |
2509 done | |
2510 rm -f conf$$subs.sh | |
2511 | |
2512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2513 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
2514 _ACEOF | |
2515 sed -n ' | |
2516 h | |
2517 s/^/S["/; s/!.*/"]=/ | |
2518 p | |
2519 g | |
2520 s/^[^!]*!// | |
2521 :repl | |
2522 t repl | |
2523 s/'"$ac_delim"'$// | |
2524 t delim | |
2525 :nl | |
2526 h | |
2527 s/\(.\{148\}\)..*/\1/ | |
2528 t more1 | |
2529 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
2530 p | |
2531 n | |
2532 b repl | |
2533 :more1 | |
2534 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
2535 p | |
2536 g | |
2537 s/.\{148\}// | |
2538 t nl | |
2539 :delim | |
2540 h | |
2541 s/\(.\{148\}\)..*/\1/ | |
2542 t more2 | |
2543 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
2544 p | |
2545 b | |
2546 :more2 | |
2547 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
2548 p | |
2549 g | |
2550 s/.\{148\}// | |
2551 t delim | |
2552 ' <conf$$subs.awk | sed ' | |
2553 /^[^""]/{ | |
2554 N | |
2555 s/\n// | |
2556 } | |
2557 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
2558 rm -f conf$$subs.awk | |
2559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
2560 _ACAWK | |
2561 cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
2562 for (key in S) S_is_set[key] = 1 | |
2563 FS = "" | |
2564 | |
2565 } | |
2566 { | |
2567 line = $ 0 | |
2568 nfields = split(line, field, "@") | |
2569 substed = 0 | |
2570 len = length(field[1]) | |
2571 for (i = 2; i < nfields; i++) { | |
2572 key = field[i] | |
2573 keylen = length(key) | |
2574 if (S_is_set[key]) { | |
2575 value = S[key] | |
2576 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
2577 len += length(value) + length(field[++i]) | |
2578 substed = 1 | |
2579 } else | |
2580 len += 1 + keylen | |
2581 } | |
2582 | |
2583 print line | |
2584 } | |
2585 | |
2586 _ACAWK | |
2587 _ACEOF | |
2588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2589 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
2590 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
2591 else | |
2592 cat | |
2593 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
2594 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | |
2595 _ACEOF | |
2596 | |
2597 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
2598 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
2599 # trailing colons and then remove the whole line if VPATH becomes empty | |
2600 # (actually we leave an empty line to preserve line numbers). | |
2601 if test "x$srcdir" = x.; then | |
2602 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
2603 s/:*\$(srcdir):*/:/ | |
2604 s/:*\${srcdir}:*/:/ | |
2605 s/:*@srcdir@:*/:/ | |
2606 s/^\([^=]*=[ ]*\):*/\1/ | |
2607 s/:*$// | |
2608 s/^[^=]*=[ ]*$// | |
2609 }' | |
2610 fi | |
2611 | |
2612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
2613 fi # test -n "$CONFIG_FILES" | |
2614 | |
2615 | |
2616 eval set X " :F $CONFIG_FILES " | |
2617 shift | |
2618 for ac_tag | |
2619 do | |
2620 case $ac_tag in | |
2621 :[FHLC]) ac_mode=$ac_tag; continue;; | |
2622 esac | |
2623 case $ac_mode$ac_tag in | |
2624 :[FHL]*:*);; | |
2625 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
2626 :[FH]-) ac_tag=-:-;; | |
2627 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
2628 esac | |
2629 ac_save_IFS=$IFS | |
2630 IFS=: | |
2631 set x $ac_tag | |
2632 IFS=$ac_save_IFS | |
2633 shift | |
2634 ac_file=$1 | |
2635 shift | |
2636 | |
2637 case $ac_mode in | |
2638 :L) ac_source=$1;; | |
2639 :[FH]) | |
2640 ac_file_inputs= | |
2641 for ac_f | |
2642 do | |
2643 case $ac_f in | |
2644 -) ac_f="$tmp/stdin";; | |
2645 *) # Look for the file first in the build tree, then in the source tree | |
2646 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
2647 # because $ac_f cannot contain `:'. | |
2648 test -f "$ac_f" || | |
2649 case $ac_f in | |
2650 [\\/$]*) false;; | |
2651 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
2652 esac || | |
2653 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
2654 esac | |
2655 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
2656 as_fn_append ac_file_inputs " '$ac_f'" | |
2657 done | |
2658 | |
2659 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
2660 # use $as_me), people would be surprised to read: | |
2661 # /* config.h. Generated by config.status. */ | |
2662 configure_input='Generated from '` | |
2663 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
2664 `' by configure.' | |
2665 if test x"$ac_file" != x-; then | |
2666 configure_input="$ac_file. $configure_input" | |
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
2668 $as_echo "$as_me: creating $ac_file" >&6;} | |
2669 fi | |
2670 # Neutralize special characters interpreted by sed in replacement strings. | |
2671 case $configure_input in #( | |
2672 *\&* | *\|* | *\\* ) | |
2673 ac_sed_conf_input=`$as_echo "$configure_input" | | |
2674 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
2675 *) ac_sed_conf_input=$configure_input;; | |
2676 esac | |
2677 | |
2678 case $ac_tag in | |
2679 *:-:* | *:-) cat >"$tmp/stdin" \ | |
2680 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | |
2681 esac | |
2682 ;; | |
2683 esac | |
2684 | |
2685 ac_dir=`$as_dirname -- "$ac_file" || | |
2686 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
2687 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
2688 X"$ac_file" : 'X\(//\)$' \| \ | |
2689 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
2690 $as_echo X"$ac_file" | | |
2691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
2692 s//\1/ | |
2693 q | |
2694 } | |
2695 /^X\(\/\/\)[^/].*/{ | |
2696 s//\1/ | |
2697 q | |
2698 } | |
2699 /^X\(\/\/\)$/{ | |
2700 s//\1/ | |
2701 q | |
2702 } | |
2703 /^X\(\/\).*/{ | |
2704 s//\1/ | |
2705 q | |
2706 } | |
2707 s/.*/./; q'` | |
2708 as_dir="$ac_dir"; as_fn_mkdir_p | |
2558 ac_builddir=. | 2709 ac_builddir=. |
2559 | 2710 |
2560 case "$ac_dir" in | 2711 case "$ac_dir" in |
2561 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 2712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
2562 *) | 2713 *) |
2563 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 2714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
2564 # A ".." for each directory in $ac_dir_suffix. | 2715 # A ".." for each directory in $ac_dir_suffix. |
2565 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 2716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
2566 case $ac_top_builddir_sub in | 2717 case $ac_top_builddir_sub in |
2567 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 2718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
2568 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 2719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
2569 esac ;; | 2720 esac ;; |
2570 esac | 2721 esac |
2596 # CONFIG_FILE | 2747 # CONFIG_FILE |
2597 # | 2748 # |
2598 | 2749 |
2599 _ACEOF | 2750 _ACEOF |
2600 | 2751 |
2601 cat >>$CONFIG_STATUS <<\_ACEOF | 2752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
2602 # If the template does not know about datarootdir, expand it. | 2753 # If the template does not know about datarootdir, expand it. |
2603 # FIXME: This hack should be removed a few years after 2.60. | 2754 # FIXME: This hack should be removed a few years after 2.60. |
2604 ac_datarootdir_hack=; ac_datarootdir_seen= | 2755 ac_datarootdir_hack=; ac_datarootdir_seen= |
2605 | 2756 ac_sed_dataroot=' |
2606 case `sed -n '/datarootdir/ { | 2757 /datarootdir/ { |
2607 p | 2758 p |
2608 q | 2759 q |
2609 } | 2760 } |
2610 /@datadir@/p | 2761 /@datadir@/p |
2611 /@docdir@/p | 2762 /@docdir@/p |
2612 /@infodir@/p | 2763 /@infodir@/p |
2613 /@localedir@/p | 2764 /@localedir@/p |
2614 /@mandir@/p | 2765 /@mandir@/p' |
2615 ' $ac_file_inputs` in | 2766 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
2616 *datarootdir*) ac_datarootdir_seen=yes;; | 2767 *datarootdir*) ac_datarootdir_seen=yes;; |
2617 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 2768 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
2618 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 2769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
2619 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 2770 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
2620 _ACEOF | 2771 _ACEOF |
2621 cat >>$CONFIG_STATUS <<_ACEOF | 2772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2622 ac_datarootdir_hack=' | 2773 ac_datarootdir_hack=' |
2623 s&@datadir@&$datadir&g | 2774 s&@datadir@&$datadir&g |
2624 s&@docdir@&$docdir&g | 2775 s&@docdir@&$docdir&g |
2625 s&@infodir@&$infodir&g | 2776 s&@infodir@&$infodir&g |
2626 s&@localedir@&$localedir&g | 2777 s&@localedir@&$localedir&g |
2627 s&@mandir@&$mandir&g | 2778 s&@mandir@&$mandir&g |
2628 s&\\\${datarootdir}&$datarootdir&g' ;; | 2779 s&\\\${datarootdir}&$datarootdir&g' ;; |
2629 esac | 2780 esac |
2630 _ACEOF | 2781 _ACEOF |
2631 | 2782 |
2632 # Neutralize VPATH when `$srcdir' = `.'. | 2783 # Neutralize VPATH when `$srcdir' = `.'. |
2633 # Shell code in configure.ac might set extrasub. | 2784 # Shell code in configure.ac might set extrasub. |
2634 # FIXME: do we really want to maintain this feature? | 2785 # FIXME: do we really want to maintain this feature? |
2635 cat >>$CONFIG_STATUS <<_ACEOF | 2786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
2636 sed "$ac_vpsub | 2787 ac_sed_extra="$ac_vpsub |
2637 $extrasub | 2788 $extrasub |
2638 _ACEOF | 2789 _ACEOF |
2639 cat >>$CONFIG_STATUS <<\_ACEOF | 2790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
2640 :t | 2791 :t |
2641 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 2792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
2642 s&@configure_input@&$configure_input&;t t | 2793 s|@configure_input@|$ac_sed_conf_input|;t t |
2643 s&@top_builddir@&$ac_top_builddir_sub&;t t | 2794 s&@top_builddir@&$ac_top_builddir_sub&;t t |
2795 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
2644 s&@srcdir@&$ac_srcdir&;t t | 2796 s&@srcdir@&$ac_srcdir&;t t |
2645 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 2797 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
2646 s&@top_srcdir@&$ac_top_srcdir&;t t | 2798 s&@top_srcdir@&$ac_top_srcdir&;t t |
2647 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 2799 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
2648 s&@builddir@&$ac_builddir&;t t | 2800 s&@builddir@&$ac_builddir&;t t |
2649 s&@abs_builddir@&$ac_abs_builddir&;t t | 2801 s&@abs_builddir@&$ac_abs_builddir&;t t |
2650 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 2802 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
2651 $ac_datarootdir_hack | 2803 $ac_datarootdir_hack |
2652 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out | 2804 " |
2805 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
2806 || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
2653 | 2807 |
2654 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 2808 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
2655 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 2809 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
2656 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 2810 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
2657 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 2811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
2658 which seems to be undefined. Please make sure it is defined." >&5 | 2812 which seems to be undefined. Please make sure it is defined." >&5 |
2659 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 2813 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
2660 which seems to be undefined. Please make sure it is defined." >&2;} | 2814 which seems to be undefined. Please make sure it is defined." >&2;} |
2661 | 2815 |
2662 rm -f "$tmp/stdin" | 2816 rm -f "$tmp/stdin" |
2663 case $ac_file in | 2817 case $ac_file in |
2664 -) cat "$tmp/out"; rm -f "$tmp/out";; | 2818 -) cat "$tmp/out" && rm -f "$tmp/out";; |
2665 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | 2819 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
2666 esac | 2820 esac \ |
2821 || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
2667 ;; | 2822 ;; |
2668 | 2823 |
2669 | 2824 |
2670 | 2825 |
2671 esac | 2826 esac |
2677 | 2832 |
2678 esac | 2833 esac |
2679 done # for ac_tag | 2834 done # for ac_tag |
2680 | 2835 |
2681 | 2836 |
2682 { (exit 0); exit 0; } | 2837 as_fn_exit 0 |
2683 _ACEOF | 2838 _ACEOF |
2684 chmod +x $CONFIG_STATUS | |
2685 ac_clean_files=$ac_clean_files_save | 2839 ac_clean_files=$ac_clean_files_save |
2840 | |
2841 test $ac_write_fail = 0 || | |
2842 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
2686 | 2843 |
2687 | 2844 |
2688 # configure is writing to config.log, and then calls config.status. | 2845 # configure is writing to config.log, and then calls config.status. |
2689 # config.status does its own redirection, appending to config.log. | 2846 # config.status does its own redirection, appending to config.log. |
2690 # Unfortunately, on DOS this fails, as config.log is still kept open | 2847 # Unfortunately, on DOS this fails, as config.log is still kept open |
2701 exec 5>/dev/null | 2858 exec 5>/dev/null |
2702 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 2859 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
2703 exec 5>>config.log | 2860 exec 5>>config.log |
2704 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 2861 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
2705 # would make configure fail if this is the last instruction. | 2862 # would make configure fail if this is the last instruction. |
2706 $ac_cs_success || { (exit 1); exit 1; } | 2863 $ac_cs_success || as_fn_exit $? |
2864 fi | |
2865 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
2867 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
2707 fi | 2868 fi |
2708 | 2869 |
2709 | 2870 |
2710 # show the user what the variables have been set to | 2871 # show the user what the variables have been set to |
2711 cat <<EOF | 2872 cat <<EOF |