| @@ -1,176 +1,195 @@ | | | @@ -1,176 +1,195 @@ |
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 for nbsd-digest 20070803. | | 3 | # Generated by GNU Autoconf 2.62 for nbsd-digest 20080509. |
4 | # | | 4 | # |
5 | # Report bugs to <agc@netbsd.org>. | | 5 | # Report bugs to <agc@netbsd.org>. |
6 | # | | 6 | # |
7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | | 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | | 8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
9 | # This configure script is free software; the Free Software Foundation | | 9 | # This configure script is free software; the Free Software Foundation |
10 | # gives unlimited permission to copy, distribute and modify it. | | 10 | # gives unlimited permission to copy, distribute and modify it. |
11 | ## --------------------- ## | | 11 | ## --------------------- ## |
12 | ## M4sh Initialization. ## | | 12 | ## M4sh Initialization. ## |
13 | ## --------------------- ## | | 13 | ## --------------------- ## |
14 | | | 14 | |
15 | # Be more Bourne compatible | | 15 | # Be more Bourne compatible |
16 | DUALCASE=1; export DUALCASE # for MKS sh | | 16 | DUALCASE=1; export DUALCASE # for MKS sh |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | | 17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
18 | emulate sh | | 18 | emulate sh |
19 | NULLCMD=: | | 19 | NULLCMD=: |
20 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | | 20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
21 | # is contrary to our usage. Disable this feature. | | 21 | # is contrary to our usage. Disable this feature. |
22 | alias -g '${1+"$@"}'='"$@"' | | 22 | alias -g '${1+"$@"}'='"$@"' |
23 | setopt NO_GLOB_SUBST | | 23 | setopt NO_GLOB_SUBST |
24 | else | | 24 | else |
25 | case `(set -o) 2>/dev/null` in | | 25 | case `(set -o) 2>/dev/null` in |
26 | *posix*) set -o posix ;; | | 26 | *posix*) set -o posix ;; |
27 | esac | | 27 | esac |
28 | | | 28 | |
29 | fi | | 29 | fi |
30 | | | 30 | |
31 | | | 31 | |
32 | | | 32 | |
33 | | | 33 | |
34 | # PATH needs CR | | 34 | # PATH needs CR |
35 | # Avoid depending upon Character Ranges. | | 35 | # Avoid depending upon Character Ranges. |
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | | 36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | | 37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | | 38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
39 | as_cr_digits='0123456789' | | 39 | as_cr_digits='0123456789' |
40 | as_cr_alnum=$as_cr_Letters$as_cr_digits | | 40 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
41 | | | 41 | |
42 | # The user is always right. | | 42 | as_nl=' |
43 | if test "${PATH_SEPARATOR+set}" != set; then | | 43 | ' |
44 | echo "#! /bin/sh" >conf$$.sh | | 44 | export as_nl |
45 | echo "exit 0" >>conf$$.sh | | 45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
46 | chmod +x conf$$.sh | | 46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
47 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | | 47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
48 | PATH_SEPARATOR=';' | | 48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| | | 49 | if (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' |
49 | else | | 56 | else |
50 | PATH_SEPARATOR=: | | 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' |
51 | fi | | 69 | fi |
52 | rm -f conf$$.sh | | 70 | export as_echo_body |
| | | 71 | as_echo='sh -c $as_echo_body as_echo' |
| | | 72 | fi |
| | | 73 | |
| | | 74 | # The user is always right. |
| | | 75 | if test "${PATH_SEPARATOR+set}" != set; then |
| | | 76 | PATH_SEPARATOR=: |
| | | 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| | | 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| | | 79 | PATH_SEPARATOR=';' |
| | | 80 | } |
53 | fi | | 81 | fi |
54 | | | 82 | |
55 | # Support unset when possible. | | 83 | # Support unset when possible. |
56 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | | 84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
57 | as_unset=unset | | 85 | as_unset=unset |
58 | else | | 86 | else |
59 | as_unset=false | | 87 | as_unset=false |
60 | fi | | 88 | fi |
61 | | | 89 | |
62 | | | 90 | |
63 | # IFS | | 91 | # IFS |
64 | # We need space, tab and new line, in precisely that order. Quoting is | | 92 | # We need space, tab and new line, in precisely that order. Quoting is |
65 | # there to prevent editors from complaining about space-tab. | | 93 | # there to prevent editors from complaining about space-tab. |
66 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | | 94 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
67 | # splitting by setting IFS to empty value.) | | 95 | # splitting by setting IFS to empty value.) |
68 | as_nl=' | | | |
69 | ' | | | |
70 | IFS=" "" $as_nl" | | 96 | IFS=" "" $as_nl" |
71 | | | 97 | |
72 | # Find who we are. Look in the path if we contain no directory separator. | | 98 | # Find who we are. Look in the path if we contain no directory separator. |
73 | case $0 in | | 99 | case $0 in |
74 | *[\\/]* ) as_myself=$0 ;; | | 100 | *[\\/]* ) as_myself=$0 ;; |
75 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
76 | for as_dir in $PATH | | 102 | for as_dir in $PATH |
77 | do | | 103 | do |
78 | IFS=$as_save_IFS | | 104 | IFS=$as_save_IFS |
79 | test -z "$as_dir" && as_dir=. | | 105 | test -z "$as_dir" && as_dir=. |
80 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | | 106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
81 | done | | 107 | done |
82 | IFS=$as_save_IFS | | 108 | IFS=$as_save_IFS |
83 | | | 109 | |
84 | ;; | | 110 | ;; |
85 | esac | | 111 | esac |
86 | # We did not find ourselves, most probably we were run as `sh COMMAND' | | 112 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
87 | # in which case we are not to be found in the path. | | 113 | # in which case we are not to be found in the path. |
88 | if test "x$as_myself" = x; then | | 114 | if test "x$as_myself" = x; then |
89 | as_myself=$0 | | 115 | as_myself=$0 |
90 | fi | | 116 | fi |
91 | if test ! -f "$as_myself"; then | | 117 | if test ! -f "$as_myself"; then |
92 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | | 118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
93 | { (exit 1); exit 1; } | | 119 | { (exit 1); exit 1; } |
94 | fi | | 120 | fi |
95 | | | 121 | |
96 | # Work around bugs in pre-3.0 UWIN ksh. | | 122 | # Work around bugs in pre-3.0 UWIN ksh. |
97 | for as_var in ENV MAIL MAILPATH | | 123 | for as_var in ENV MAIL MAILPATH |
98 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | | 124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
99 | done | | 125 | done |
100 | PS1='$ ' | | 126 | PS1='$ ' |
101 | PS2='> ' | | 127 | PS2='> ' |
102 | PS4='+ ' | | 128 | PS4='+ ' |
103 | | | 129 | |
104 | # NLS nuisances. | | 130 | # NLS nuisances. |
105 | for as_var in \ | | 131 | LC_ALL=C |
106 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | | 132 | export LC_ALL |
107 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | | 133 | LANGUAGE=C |
108 | LC_TELEPHONE LC_TIME | | 134 | export LANGUAGE |
109 | do | | | |
110 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | | | |
111 | eval $as_var=C; export $as_var | | | |
112 | else | | | |
113 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | | | |
114 | fi | | | |
115 | done | | | |
116 | | | 135 | |
117 | # Required to use basename. | | 136 | # Required to use basename. |
118 | if expr a : '\(a\)' >/dev/null 2>&1 && | | 137 | if expr a : '\(a\)' >/dev/null 2>&1 && |
119 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | | 138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
120 | as_expr=expr | | 139 | as_expr=expr |
121 | else | | 140 | else |
122 | as_expr=false | | 141 | as_expr=false |
123 | fi | | 142 | fi |
124 | | | 143 | |
125 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | | 144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
126 | as_basename=basename | | 145 | as_basename=basename |
127 | else | | 146 | else |
128 | as_basename=false | | 147 | as_basename=false |
129 | fi | | 148 | fi |
130 | | | 149 | |
131 | | | 150 | |
132 | # Name of the executable. | | 151 | # Name of the executable. |
133 | as_me=`$as_basename -- "$0" || | | 152 | as_me=`$as_basename -- "$0" || |
134 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | | 153 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
135 | X"$0" : 'X\(//\)$' \| \ | | 154 | X"$0" : 'X\(//\)$' \| \ |
136 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | | 155 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
137 | echo X/"$0" | | | 156 | $as_echo X/"$0" | |
138 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | | 157 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
139 | s//\1/ | | 158 | s//\1/ |
140 | q | | 159 | q |
141 | } | | 160 | } |
142 | /^X\/\(\/\/\)$/{ | | 161 | /^X\/\(\/\/\)$/{ |
143 | s//\1/ | | 162 | s//\1/ |
144 | q | | 163 | q |
145 | } | | 164 | } |
146 | /^X\/\(\/\).*/{ | | 165 | /^X\/\(\/\).*/{ |
147 | s//\1/ | | 166 | s//\1/ |
148 | q | | 167 | q |
149 | } | | 168 | } |
150 | s/.*/./; q'` | | 169 | s/.*/./; q'` |
151 | | | 170 | |
152 | # CDPATH. | | 171 | # CDPATH. |
153 | $as_unset CDPATH | | 172 | $as_unset CDPATH |
154 | | | 173 | |
155 | | | 174 | |
156 | if test "x$CONFIG_SHELL" = x; then | | 175 | if test "x$CONFIG_SHELL" = x; then |
157 | if (eval ":") 2>/dev/null; then | | 176 | if (eval ":") 2>/dev/null; then |
158 | as_have_required=yes | | 177 | as_have_required=yes |
159 | else | | 178 | else |
160 | as_have_required=no | | 179 | as_have_required=no |
161 | fi | | 180 | fi |
162 | | | 181 | |
163 | if test $as_have_required = yes && (eval ": | | 182 | if test $as_have_required = yes && (eval ": |
164 | (as_func_return () { | | 183 | (as_func_return () { |
165 | (exit \$1) | | 184 | (exit \$1) |
166 | } | | 185 | } |
167 | as_func_success () { | | 186 | as_func_success () { |
168 | as_func_return 0 | | 187 | as_func_return 0 |
169 | } | | 188 | } |
170 | as_func_failure () { | | 189 | as_func_failure () { |
171 | as_func_return 1 | | 190 | as_func_return 1 |
172 | } | | 191 | } |
173 | as_func_ret_success () { | | 192 | as_func_ret_success () { |
174 | return 0 | | 193 | return 0 |
175 | } | | 194 | } |
176 | as_func_ret_failure () { | | 195 | as_func_ret_failure () { |
| @@ -232,48 +251,48 @@ do | | | @@ -232,48 +251,48 @@ do |
232 | done;; | | 251 | done;; |
233 | esac | | 252 | esac |
234 | done | | 253 | done |
235 | IFS=$as_save_IFS | | 254 | IFS=$as_save_IFS |
236 | | | 255 | |
237 | | | 256 | |
238 | for as_shell in $as_candidate_shells $SHELL; do | | 257 | for as_shell in $as_candidate_shells $SHELL; do |
239 | # Try only shells that exist, to save several forks. | | 258 | # Try only shells that exist, to save several forks. |
240 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | | 259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
241 | { ("$as_shell") 2> /dev/null <<\_ASEOF | | 260 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
242 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | | 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
243 | emulate sh | | 262 | emulate sh |
244 | NULLCMD=: | | 263 | NULLCMD=: |
245 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | | 264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
246 | # is contrary to our usage. Disable this feature. | | 265 | # is contrary to our usage. Disable this feature. |
247 | alias -g '${1+"$@"}'='"$@"' | | 266 | alias -g '${1+"$@"}'='"$@"' |
248 | setopt NO_GLOB_SUBST | | 267 | setopt NO_GLOB_SUBST |
249 | else | | 268 | else |
250 | case `(set -o) 2>/dev/null` in | | 269 | case `(set -o) 2>/dev/null` in |
251 | *posix*) set -o posix ;; | | 270 | *posix*) set -o posix ;; |
252 | esac | | 271 | esac |
253 | | | 272 | |
254 | fi | | 273 | fi |
255 | | | 274 | |
256 | | | 275 | |
257 | : | | 276 | : |
258 | _ASEOF | | 277 | _ASEOF |
259 | }; then | | 278 | }; then |
260 | CONFIG_SHELL=$as_shell | | 279 | CONFIG_SHELL=$as_shell |
261 | as_have_required=yes | | 280 | as_have_required=yes |
262 | if { "$as_shell" 2> /dev/null <<\_ASEOF | | 281 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
263 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | | 282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
264 | emulate sh | | 283 | emulate sh |
265 | NULLCMD=: | | 284 | NULLCMD=: |
266 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | | 285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
267 | # is contrary to our usage. Disable this feature. | | 286 | # is contrary to our usage. Disable this feature. |
268 | alias -g '${1+"$@"}'='"$@"' | | 287 | alias -g '${1+"$@"}'='"$@"' |
269 | setopt NO_GLOB_SUBST | | 288 | setopt NO_GLOB_SUBST |
270 | else | | 289 | else |
271 | case `(set -o) 2>/dev/null` in | | 290 | case `(set -o) 2>/dev/null` in |
272 | *posix*) set -o posix ;; | | 291 | *posix*) set -o posix ;; |
273 | esac | | 292 | esac |
274 | | | 293 | |
275 | fi | | 294 | fi |
276 | | | 295 | |
277 | | | 296 | |
278 | : | | 297 | : |
279 | (as_func_return () { | | 298 | (as_func_return () { |
| @@ -333,30 +352,30 @@ test $exitcode = 0) || { (exit 1); exit | | | @@ -333,30 +352,30 @@ test $exitcode = 0) || { (exit 1); exit |
333 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | | 352 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
334 | | | 353 | |
335 | _ASEOF | | 354 | _ASEOF |
336 | }; then | | 355 | }; then |
337 | break | | 356 | break |
338 | fi | | 357 | fi |
339 | | | 358 | |
340 | fi | | 359 | fi |
341 | | | 360 | |
342 | done | | 361 | done |
343 | | | 362 | |
344 | if test "x$CONFIG_SHELL" != x; then | | 363 | if test "x$CONFIG_SHELL" != x; then |
345 | for as_var in BASH_ENV ENV | | 364 | for as_var in BASH_ENV ENV |
346 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | | 365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
347 | done | | 366 | done |
348 | export CONFIG_SHELL | | 367 | export CONFIG_SHELL |
349 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | | 368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
350 | fi | | 369 | fi |
351 | | | 370 | |
352 | | | 371 | |
353 | if test $as_have_required = no; then | | 372 | if test $as_have_required = no; then |
354 | echo This script requires a shell more modern than all the | | 373 | echo This script requires a shell more modern than all the |
355 | echo shells that I found on your system. Please install a | | 374 | echo shells that I found on your system. Please install a |
356 | echo modern shell, or manually run the script under such a | | 375 | echo modern shell, or manually run the script under such a |
357 | echo shell if you do have one. | | 376 | echo shell if you do have one. |
358 | { (exit 1); exit 1; } | | 377 | { (exit 1); exit 1; } |
359 | fi | | 378 | fi |
360 | | | 379 | |
361 | | | 380 | |
362 | fi | | 381 | fi |
| @@ -405,29 +424,30 @@ if as_func_ret_failure; then | | | @@ -405,29 +424,30 @@ if as_func_ret_failure; then |
405 | exitcode=1 | | 424 | exitcode=1 |
406 | echo as_func_ret_failure succeeded. | | 425 | echo as_func_ret_failure succeeded. |
407 | fi | | 426 | fi |
408 | | | 427 | |
409 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | | 428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
410 | : | | 429 | : |
411 | else | | 430 | else |
412 | exitcode=1 | | 431 | exitcode=1 |
413 | echo positional parameters were not saved. | | 432 | echo positional parameters were not saved. |
414 | fi | | 433 | fi |
415 | | | 434 | |
416 | test \$exitcode = 0") || { | | 435 | test \$exitcode = 0") || { |
417 | echo No shell found that supports shell functions. | | 436 | echo No shell found that supports shell functions. |
418 | echo Please tell autoconf@gnu.org about your system, | | 437 | echo Please tell bug-autoconf@gnu.org about your system, |
419 | echo including any error possibly output before this | | 438 | echo including any error possibly output before this message. |
420 | echo message | | 439 | echo This can help us improve future autoconf versions. |
| | | 440 | echo Configuration will now proceed without shell functions. |
421 | } | | 441 | } |
422 | | | 442 | |
423 | | | 443 | |
424 | | | 444 | |
425 | as_lineno_1=$LINENO | | 445 | as_lineno_1=$LINENO |
426 | as_lineno_2=$LINENO | | 446 | as_lineno_2=$LINENO |
427 | test "x$as_lineno_1" != "x$as_lineno_2" && | | 447 | test "x$as_lineno_1" != "x$as_lineno_2" && |
428 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | | 448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
429 | | | 449 | |
430 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | | 450 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
431 | # uniformly replaced by the line number. The first 'sed' inserts a | | 451 | # uniformly replaced by the line number. The first 'sed' inserts a |
432 | # line-number line after each line using $LINENO; the second 'sed' | | 452 | # line-number line after each line using $LINENO; the second 'sed' |
433 | # does the real work. The second script uses 'N' to pair each | | 453 | # does the real work. The second script uses 'N' to pair each |
| @@ -443,27 +463,27 @@ test \$exitcode = 0") || { | | | @@ -443,27 +463,27 @@ test \$exitcode = 0") || { |
443 | ' <$as_myself | | | 463 | ' <$as_myself | |
444 | sed ' | | 464 | sed ' |
445 | s/[$]LINENO.*/&-/ | | 465 | s/[$]LINENO.*/&-/ |
446 | t lineno | | 466 | t lineno |
447 | b | | 467 | b |
448 | :lineno | | 468 | :lineno |
449 | N | | 469 | N |
450 | :loop | | 470 | :loop |
451 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | | 471 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
452 | t loop | | 472 | t loop |
453 | s/-\n.*// | | 473 | s/-\n.*// |
454 | ' >$as_me.lineno && | | 474 | ' >$as_me.lineno && |
455 | chmod +x "$as_me.lineno" || | | 475 | chmod +x "$as_me.lineno" || |
456 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | | 476 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
457 | { (exit 1); exit 1; }; } | | 477 | { (exit 1); exit 1; }; } |
458 | | | 478 | |
459 | # Don't try to exec as it changes $[0], causing all sort of problems | | 479 | # Don't try to exec as it changes $[0], causing all sort of problems |
460 | # (the dirname of $[0] is not the place where we might find the | | 480 | # (the dirname of $[0] is not the place where we might find the |
461 | # original and so on. Autoconf is especially sensitive to this). | | 481 | # original and so on. Autoconf is especially sensitive to this). |
462 | . "./$as_me.lineno" | | 482 | . "./$as_me.lineno" |
463 | # Exit status is that of the last command. | | 483 | # Exit status is that of the last command. |
464 | exit | | 484 | exit |
465 | } | | 485 | } |
466 | | | 486 | |
467 | | | 487 | |
468 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | | 488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
469 | as_dirname=dirname | | 489 | as_dirname=dirname |
| @@ -471,80 +491,82 @@ else | | | @@ -471,80 +491,82 @@ else |
471 | as_dirname=false | | 491 | as_dirname=false |
472 | fi | | 492 | fi |
473 | | | 493 | |
474 | ECHO_C= ECHO_N= ECHO_T= | | 494 | ECHO_C= ECHO_N= ECHO_T= |
475 | case `echo -n x` in | | 495 | case `echo -n x` in |
476 | -n*) | | 496 | -n*) |
477 | case `echo 'x\c'` in | | 497 | case `echo 'x\c'` in |
478 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | | 498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
479 | *) ECHO_C='\c';; | | 499 | *) ECHO_C='\c';; |
480 | esac;; | | 500 | esac;; |
481 | *) | | 501 | *) |
482 | ECHO_N='-n';; | | 502 | ECHO_N='-n';; |
483 | esac | | 503 | esac |
484 | | | | |
485 | if expr a : '\(a\)' >/dev/null 2>&1 && | | 504 | if expr a : '\(a\)' >/dev/null 2>&1 && |
486 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | | 505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
487 | as_expr=expr | | 506 | as_expr=expr |
488 | else | | 507 | else |
489 | as_expr=false | | 508 | as_expr=false |
490 | fi | | 509 | fi |
491 | | | 510 | |
492 | rm -f conf$$ conf$$.exe conf$$.file | | 511 | rm -f conf$$ conf$$.exe conf$$.file |
493 | if test -d conf$$.dir; then | | 512 | if test -d conf$$.dir; then |
494 | rm -f conf$$.dir/conf$$.file | | 513 | rm -f conf$$.dir/conf$$.file |
495 | else | | 514 | else |
496 | rm -f conf$$.dir | | 515 | rm -f conf$$.dir |
497 | mkdir conf$$.dir | | 516 | mkdir conf$$.dir 2>/dev/null |
498 | fi | | 517 | fi |
499 | echo >conf$$.file | | 518 | if (echo >conf$$.file) 2>/dev/null; then |
500 | if ln -s conf$$.file conf$$ 2>/dev/null; then | | 519 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
501 | as_ln_s='ln -s' | | 520 | as_ln_s='ln -s' |
502 | # ... but there are two gotchas: | | 521 | # ... but there are two gotchas: |
503 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | | 522 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
504 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | | 523 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
505 | # In both cases, we have to default to `cp -p'. | | 524 | # In both cases, we have to default to `cp -p'. |
506 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | | 525 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| | | 526 | as_ln_s='cp -p' |
| | | 527 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| | | 528 | as_ln_s=ln |
| | | 529 | else |
507 | as_ln_s='cp -p' | | 530 | as_ln_s='cp -p' |
508 | elif ln conf$$.file conf$$ 2>/dev/null; then | | 531 | fi |
509 | as_ln_s=ln | | | |
510 | else | | 532 | else |
511 | as_ln_s='cp -p' | | 533 | as_ln_s='cp -p' |
512 | fi | | 534 | fi |
513 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | | 535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
514 | rmdir conf$$.dir 2>/dev/null | | 536 | rmdir conf$$.dir 2>/dev/null |
515 | | | 537 | |
516 | if mkdir -p . 2>/dev/null; then | | 538 | if mkdir -p . 2>/dev/null; then |
517 | as_mkdir_p=: | | 539 | as_mkdir_p=: |
518 | else | | 540 | else |
519 | test -d ./-p && rmdir ./-p | | 541 | test -d ./-p && rmdir ./-p |
520 | as_mkdir_p=false | | 542 | as_mkdir_p=false |
521 | fi | | 543 | fi |
522 | | | 544 | |
523 | if test -x / >/dev/null 2>&1; then | | 545 | if test -x / >/dev/null 2>&1; then |
524 | as_test_x='test -x' | | 546 | as_test_x='test -x' |
525 | else | | 547 | else |
526 | if ls -dL / >/dev/null 2>&1; then | | 548 | if ls -dL / >/dev/null 2>&1; then |
527 | as_ls_L_option=L | | 549 | as_ls_L_option=L |
528 | else | | 550 | else |
529 | as_ls_L_option= | | 551 | as_ls_L_option= |
530 | fi | | 552 | fi |
531 | as_test_x=' | | 553 | as_test_x=' |
532 | eval sh -c '\'' | | 554 | eval sh -c '\'' |
533 | if test -d "$1"; then | | 555 | if test -d "$1"; then |
534 | test -d "$1/."; | | 556 | test -d "$1/."; |
535 | else | | 557 | else |
536 | case $1 in | | 558 | case $1 in |
537 | -*)set "./$1";; | | 559 | -*)set "./$1";; |
538 | esac; | | 560 | esac; |
539 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | | 561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
540 | ???[sx]*):;;*)false;;esac;fi | | 562 | ???[sx]*):;;*)false;;esac;fi |
541 | '\'' sh | | 563 | '\'' sh |
542 | ' | | 564 | ' |
543 | fi | | 565 | fi |
544 | as_executable_p=$as_test_x | | 566 | as_executable_p=$as_test_x |
545 | | | 567 | |
546 | # Sed expression to map a string onto a valid CPP name. | | 568 | # Sed expression to map a string onto a valid CPP name. |
547 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | | 569 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
548 | | | 570 | |
549 | # Sed expression to map a string onto a valid variable name. | | 571 | # Sed expression to map a string onto a valid variable name. |
550 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | | 572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| @@ -564,28 +586,28 @@ ac_hostname=`(hostname || uname -n) 2>/d | | | @@ -564,28 +586,28 @@ ac_hostname=`(hostname || uname -n) 2>/d |
564 | ac_default_prefix=/usr/local | | 586 | ac_default_prefix=/usr/local |
565 | ac_clean_files= | | 587 | ac_clean_files= |
566 | ac_config_libobj_dir=. | | 588 | ac_config_libobj_dir=. |
567 | LIBOBJS= | | 589 | LIBOBJS= |
568 | cross_compiling=no | | 590 | cross_compiling=no |
569 | subdirs= | | 591 | subdirs= |
570 | MFLAGS= | | 592 | MFLAGS= |
571 | MAKEFLAGS= | | 593 | MAKEFLAGS= |
572 | SHELL=${CONFIG_SHELL-/bin/sh} | | 594 | SHELL=${CONFIG_SHELL-/bin/sh} |
573 | | | 595 | |
574 | # Identity of this package. | | 596 | # Identity of this package. |
575 | PACKAGE_NAME='nbsd-digest' | | 597 | PACKAGE_NAME='nbsd-digest' |
576 | PACKAGE_TARNAME='nbsd-digest' | | 598 | PACKAGE_TARNAME='nbsd-digest' |
577 | PACKAGE_VERSION='20070803' | | 599 | PACKAGE_VERSION='20080509' |
578 | PACKAGE_STRING='nbsd-digest 20070803' | | 600 | PACKAGE_STRING='nbsd-digest 20080509' |
579 | PACKAGE_BUGREPORT='agc@netbsd.org' | | 601 | PACKAGE_BUGREPORT='agc@netbsd.org' |
580 | | | 602 | |
581 | ac_unique_file="digest.c" | | 603 | ac_unique_file="digest.c" |
582 | # Factoring default headers for most tests. | | 604 | # Factoring default headers for most tests. |
583 | ac_includes_default="\ | | 605 | ac_includes_default="\ |
584 | #include <stdio.h> | | 606 | #include <stdio.h> |
585 | #ifdef HAVE_SYS_TYPES_H | | 607 | #ifdef HAVE_SYS_TYPES_H |
586 | # include <sys/types.h> | | 608 | # include <sys/types.h> |
587 | #endif | | 609 | #endif |
588 | #ifdef HAVE_SYS_STAT_H | | 610 | #ifdef HAVE_SYS_STAT_H |
589 | # include <sys/stat.h> | | 611 | # include <sys/stat.h> |
590 | #endif | | 612 | #endif |
591 | #ifdef STDC_HEADERS | | 613 | #ifdef STDC_HEADERS |
| @@ -672,40 +694,45 @@ EXEEXT | | | @@ -672,40 +694,45 @@ EXEEXT |
672 | OBJEXT | | 694 | OBJEXT |
673 | INSTALL_PROGRAM | | 695 | INSTALL_PROGRAM |
674 | INSTALL_SCRIPT | | 696 | INSTALL_SCRIPT |
675 | INSTALL_DATA | | 697 | INSTALL_DATA |
676 | LN_S | | 698 | LN_S |
677 | AUTOCONF | | 699 | AUTOCONF |
678 | AUTOHEADER | | 700 | AUTOHEADER |
679 | CPP | | 701 | CPP |
680 | GREP | | 702 | GREP |
681 | EGREP | | 703 | EGREP |
682 | LIBOBJS | | 704 | LIBOBJS |
683 | LTLIBOBJS' | | 705 | LTLIBOBJS' |
684 | ac_subst_files='' | | 706 | ac_subst_files='' |
| | | 707 | ac_user_opts=' |
| | | 708 | enable_option_checking |
| | | 709 | ' |
685 | ac_precious_vars='build_alias | | 710 | ac_precious_vars='build_alias |
686 | host_alias | | 711 | host_alias |
687 | target_alias | | 712 | target_alias |
688 | CC | | 713 | CC |
689 | CFLAGS | | 714 | CFLAGS |
690 | LDFLAGS | | 715 | LDFLAGS |
691 | LIBS | | 716 | LIBS |
692 | CPPFLAGS | | 717 | CPPFLAGS |
693 | CPP' | | 718 | CPP' |
694 | | | 719 | |
695 | | | 720 | |
696 | # Initialize some variables set by options. | | 721 | # Initialize some variables set by options. |
697 | ac_init_help= | | 722 | ac_init_help= |
698 | ac_init_version=false | | 723 | ac_init_version=false |
| | | 724 | ac_unrecognized_opts= |
| | | 725 | ac_unrecognized_sep= |
699 | # The variables have the same names as the options, with | | 726 | # The variables have the same names as the options, with |
700 | # dashes changed to underlines. | | 727 | # dashes changed to underlines. |
701 | cache_file=/dev/null | | 728 | cache_file=/dev/null |
702 | exec_prefix=NONE | | 729 | exec_prefix=NONE |
703 | no_create= | | 730 | no_create= |
704 | no_recursion= | | 731 | no_recursion= |
705 | prefix=NONE | | 732 | prefix=NONE |
706 | program_prefix=NONE | | 733 | program_prefix=NONE |
707 | program_suffix=NONE | | 734 | program_suffix=NONE |
708 | program_transform_name=s,x,x, | | 735 | program_transform_name=s,x,x, |
709 | silent= | | 736 | silent= |
710 | site= | | 737 | site= |
711 | srcdir= | | 738 | srcdir= |
| @@ -784,52 +811,68 @@ do | | | @@ -784,52 +811,68 @@ do |
784 | -datadir | --datadir | --datadi | --datad) | | 811 | -datadir | --datadir | --datadi | --datad) |
785 | ac_prev=datadir ;; | | 812 | ac_prev=datadir ;; |
786 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | | 813 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
787 | datadir=$ac_optarg ;; | | 814 | datadir=$ac_optarg ;; |
788 | | | 815 | |
789 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | | 816 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
790 | | --dataroo | --dataro | --datar) | | 817 | | --dataroo | --dataro | --datar) |
791 | ac_prev=datarootdir ;; | | 818 | ac_prev=datarootdir ;; |
792 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | | 819 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
793 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | | 820 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
794 | datarootdir=$ac_optarg ;; | | 821 | datarootdir=$ac_optarg ;; |
795 | | | 822 | |
796 | -disable-* | --disable-*) | | 823 | -disable-* | --disable-*) |
797 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | | 824 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
798 | # Reject names that are not valid shell variable names. | | 825 | # Reject names that are not valid shell variable names. |
799 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | | 826 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
800 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | | 827 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
801 | { (exit 1); exit 1; }; } | | 828 | { (exit 1); exit 1; }; } |
802 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | | 829 | ac_useropt_orig=$ac_useropt |
803 | eval enable_$ac_feature=no ;; | | 830 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| | | 831 | case $ac_user_opts in |
| | | 832 | *" |
| | | 833 | "enable_$ac_useropt" |
| | | 834 | "*) ;; |
| | | 835 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| | | 836 | ac_unrecognized_sep=', ';; |
| | | 837 | esac |
| | | 838 | eval enable_$ac_useropt=no ;; |
804 | | | 839 | |
805 | -docdir | --docdir | --docdi | --doc | --do) | | 840 | -docdir | --docdir | --docdi | --doc | --do) |
806 | ac_prev=docdir ;; | | 841 | ac_prev=docdir ;; |
807 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | | 842 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
808 | docdir=$ac_optarg ;; | | 843 | docdir=$ac_optarg ;; |
809 | | | 844 | |
810 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | | 845 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
811 | ac_prev=dvidir ;; | | 846 | ac_prev=dvidir ;; |
812 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | | 847 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
813 | dvidir=$ac_optarg ;; | | 848 | dvidir=$ac_optarg ;; |
814 | | | 849 | |
815 | -enable-* | --enable-*) | | 850 | -enable-* | --enable-*) |
816 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | | 851 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
817 | # Reject names that are not valid shell variable names. | | 852 | # Reject names that are not valid shell variable names. |
818 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | | 853 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
819 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | | 854 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
820 | { (exit 1); exit 1; }; } | | 855 | { (exit 1); exit 1; }; } |
821 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | | 856 | ac_useropt_orig=$ac_useropt |
822 | eval enable_$ac_feature=\$ac_optarg ;; | | 857 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| | | 858 | case $ac_user_opts in |
| | | 859 | *" |
| | | 860 | "enable_$ac_useropt" |
| | | 861 | "*) ;; |
| | | 862 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| | | 863 | ac_unrecognized_sep=', ';; |
| | | 864 | esac |
| | | 865 | eval enable_$ac_useropt=\$ac_optarg ;; |
823 | | | 866 | |
824 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | | 867 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
825 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | | 868 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
826 | | --exec | --exe | --ex) | | 869 | | --exec | --exe | --ex) |
827 | ac_prev=exec_prefix ;; | | 870 | ac_prev=exec_prefix ;; |
828 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | | 871 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
829 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | | 872 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
830 | | --exec=* | --exe=* | --ex=*) | | 873 | | --exec=* | --exe=* | --ex=*) |
831 | exec_prefix=$ac_optarg ;; | | 874 | exec_prefix=$ac_optarg ;; |
832 | | | 875 | |
833 | -gas | --gas | --ga | --g) | | 876 | -gas | --gas | --ga | --g) |
834 | # Obsolete; use --with-gas. | | 877 | # Obsolete; use --with-gas. |
835 | with_gas=yes ;; | | 878 | with_gas=yes ;; |
| @@ -1000,313 +1043,347 @@ do | | | @@ -1000,313 +1043,347 @@ do |
1000 | | | 1043 | |
1001 | -target | --target | --targe | --targ | --tar | --ta | --t) | | 1044 | -target | --target | --targe | --targ | --tar | --ta | --t) |
1002 | ac_prev=target_alias ;; | | 1045 | ac_prev=target_alias ;; |
1003 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | | 1046 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1004 | target_alias=$ac_optarg ;; | | 1047 | target_alias=$ac_optarg ;; |
1005 | | | 1048 | |
1006 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | | 1049 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
1007 | verbose=yes ;; | | 1050 | verbose=yes ;; |
1008 | | | 1051 | |
1009 | -version | --version | --versio | --versi | --vers | -V) | | 1052 | -version | --version | --versio | --versi | --vers | -V) |
1010 | ac_init_version=: ;; | | 1053 | ac_init_version=: ;; |
1011 | | | 1054 | |
1012 | -with-* | --with-*) | | 1055 | -with-* | --with-*) |
1013 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | | 1056 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1014 | # Reject names that are not valid shell variable names. | | 1057 | # Reject names that are not valid shell variable names. |
1015 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | | 1058 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1016 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | | 1059 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1017 | { (exit 1); exit 1; }; } | | 1060 | { (exit 1); exit 1; }; } |
1018 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | | 1061 | ac_useropt_orig=$ac_useropt |
1019 | eval with_$ac_package=\$ac_optarg ;; | | 1062 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| | | 1063 | case $ac_user_opts in |
| | | 1064 | *" |
| | | 1065 | "with_$ac_useropt" |
| | | 1066 | "*) ;; |
| | | 1067 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| | | 1068 | ac_unrecognized_sep=', ';; |
| | | 1069 | esac |
| | | 1070 | eval with_$ac_useropt=\$ac_optarg ;; |
1020 | | | 1071 | |
1021 | -without-* | --without-*) | | 1072 | -without-* | --without-*) |
1022 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | | 1073 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1023 | # Reject names that are not valid shell variable names. | | 1074 | # Reject names that are not valid shell variable names. |
1024 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | | 1075 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1025 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | | 1076 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1026 | { (exit 1); exit 1; }; } | | 1077 | { (exit 1); exit 1; }; } |
1027 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | | 1078 | ac_useropt_orig=$ac_useropt |
1028 | eval with_$ac_package=no ;; | | 1079 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| | | 1080 | case $ac_user_opts in |
| | | 1081 | *" |
| | | 1082 | "with_$ac_useropt" |
| | | 1083 | "*) ;; |
| | | 1084 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| | | 1085 | ac_unrecognized_sep=', ';; |
| | | 1086 | esac |
| | | 1087 | eval with_$ac_useropt=no ;; |
1029 | | | 1088 | |
1030 | --x) | | 1089 | --x) |
1031 | # Obsolete; use --with-x. | | 1090 | # Obsolete; use --with-x. |
1032 | with_x=yes ;; | | 1091 | with_x=yes ;; |
1033 | | | 1092 | |
1034 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | | 1093 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1035 | | --x-incl | --x-inc | --x-in | --x-i) | | 1094 | | --x-incl | --x-inc | --x-in | --x-i) |
1036 | ac_prev=x_includes ;; | | 1095 | ac_prev=x_includes ;; |
1037 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | | 1096 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1038 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | | 1097 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1039 | x_includes=$ac_optarg ;; | | 1098 | x_includes=$ac_optarg ;; |
1040 | | | 1099 | |
1041 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | | 1100 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1042 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | | 1101 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1043 | ac_prev=x_libraries ;; | | 1102 | ac_prev=x_libraries ;; |
1044 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | | 1103 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1045 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | | 1104 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1046 | x_libraries=$ac_optarg ;; | | 1105 | x_libraries=$ac_optarg ;; |
1047 | | | 1106 | |
1048 | -*) { echo "$as_me: error: unrecognized option: $ac_option | | 1107 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
1049 | Try \`$0 --help' for more information." >&2 | | 1108 | Try \`$0 --help' for more information." >&2 |
1050 | { (exit 1); exit 1; }; } | | 1109 | { (exit 1); exit 1; }; } |
1051 | ;; | | 1110 | ;; |
1052 | | | 1111 | |
1053 | *=*) | | 1112 | *=*) |
1054 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | | 1113 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1055 | # Reject names that are not valid shell variable names. | | 1114 | # Reject names that are not valid shell variable names. |
1056 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | | 1115 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1057 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | | 1116 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1058 | { (exit 1); exit 1; }; } | | 1117 | { (exit 1); exit 1; }; } |
1059 | eval $ac_envvar=\$ac_optarg | | 1118 | eval $ac_envvar=\$ac_optarg |
1060 | export $ac_envvar ;; | | 1119 | export $ac_envvar ;; |
1061 | | | 1120 | |
1062 | *) | | 1121 | *) |
1063 | # FIXME: should be removed in autoconf 3.0. | | 1122 | # FIXME: should be removed in autoconf 3.0. |
1064 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | | 1123 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1065 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | | 1124 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1066 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | | 1125 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1067 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | | 1126 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1068 | ;; | | 1127 | ;; |
1069 | | | 1128 | |
1070 | esac | | 1129 | esac |
1071 | done | | 1130 | done |
1072 | | | 1131 | |
1073 | if test -n "$ac_prev"; then | | 1132 | if test -n "$ac_prev"; then |
1074 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | | 1133 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1075 | { echo "$as_me: error: missing argument to $ac_option" >&2 | | 1134 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
1076 | { (exit 1); exit 1; }; } | | 1135 | { (exit 1); exit 1; }; } |
1077 | fi | | 1136 | fi |
1078 | | | 1137 | |
1079 | # Be sure to have absolute directory names. | | 1138 | if test -n "$ac_unrecognized_opts"; then |
| | | 1139 | case $enable_option_checking in |
| | | 1140 | no) ;; |
| | | 1141 | fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 |
| | | 1142 | { (exit 1); exit 1; }; } ;; |
| | | 1143 | *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| | | 1144 | esac |
| | | 1145 | fi |
| | | 1146 | |
| | | 1147 | # Check all directory arguments for consistency. |
1080 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | | 1148 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1081 | datadir sysconfdir sharedstatedir localstatedir includedir \ | | 1149 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1082 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | | 1150 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1083 | libdir localedir mandir | | 1151 | libdir localedir mandir |
1084 | do | | 1152 | do |
1085 | eval ac_val=\$$ac_var | | 1153 | eval ac_val=\$$ac_var |
| | | 1154 | # Remove trailing slashes. |
| | | 1155 | case $ac_val in |
| | | 1156 | */ ) |
| | | 1157 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| | | 1158 | eval $ac_var=\$ac_val;; |
| | | 1159 | esac |
| | | 1160 | # Be sure to have absolute directory names. |
1086 | case $ac_val in | | 1161 | case $ac_val in |
1087 | [\\/$]* | ?:[\\/]* ) continue;; | | 1162 | [\\/$]* | ?:[\\/]* ) continue;; |
1088 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | | 1163 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1089 | esac | | 1164 | esac |
1090 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | | 1165 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1091 | { (exit 1); exit 1; }; } | | 1166 | { (exit 1); exit 1; }; } |
1092 | done | | 1167 | done |
1093 | | | 1168 | |
1094 | # There might be people who depend on the old broken behavior: `$host' | | 1169 | # There might be people who depend on the old broken behavior: `$host' |
1095 | # used to hold the argument of --host etc. | | 1170 | # used to hold the argument of --host etc. |
1096 | # FIXME: To remove some day. | | 1171 | # FIXME: To remove some day. |
1097 | build=$build_alias | | 1172 | build=$build_alias |
1098 | host=$host_alias | | 1173 | host=$host_alias |
1099 | target=$target_alias | | 1174 | target=$target_alias |
1100 | | | 1175 | |
1101 | # FIXME: To remove some day. | | 1176 | # FIXME: To remove some day. |
1102 | if test "x$host_alias" != x; then | | 1177 | if test "x$host_alias" != x; then |
1103 | if test "x$build_alias" = x; then | | 1178 | if test "x$build_alias" = x; then |
1104 | cross_compiling=maybe | | 1179 | cross_compiling=maybe |
1105 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | | 1180 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1106 | If a cross compiler is detected then cross compile mode will be used." >&2 | | 1181 | If a cross compiler is detected then cross compile mode will be used." >&2 |
1107 | elif test "x$build_alias" != "x$host_alias"; then | | 1182 | elif test "x$build_alias" != "x$host_alias"; then |
1108 | cross_compiling=yes | | 1183 | cross_compiling=yes |
1109 | fi | | 1184 | fi |
1110 | fi | | 1185 | fi |
1111 | | | 1186 | |
1112 | ac_tool_prefix= | | 1187 | ac_tool_prefix= |
1113 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | | 1188 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1114 | | | 1189 | |
1115 | test "$silent" = yes && exec 6>/dev/null | | 1190 | test "$silent" = yes && exec 6>/dev/null |
1116 | | | 1191 | |
1117 | | | 1192 | |
1118 | ac_pwd=`pwd` && test -n "$ac_pwd" && | | 1193 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1119 | ac_ls_di=`ls -di .` && | | 1194 | ac_ls_di=`ls -di .` && |
1120 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | | 1195 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1121 | { echo "$as_me: error: Working directory cannot be determined" >&2 | | 1196 | { $as_echo "$as_me: error: Working directory cannot be determined" >&2 |
1122 | { (exit 1); exit 1; }; } | | 1197 | { (exit 1); exit 1; }; } |
1123 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | | 1198 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1124 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | | 1199 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
1125 | { (exit 1); exit 1; }; } | | 1200 | { (exit 1); exit 1; }; } |
1126 | | | 1201 | |
1127 | | | 1202 | |
1128 | # Find the source files, if location was not specified. | | 1203 | # Find the source files, if location was not specified. |
1129 | if test -z "$srcdir"; then | | 1204 | if test -z "$srcdir"; then |
1130 | ac_srcdir_defaulted=yes | | 1205 | ac_srcdir_defaulted=yes |
1131 | # Try the directory containing this script, then the parent directory. | | 1206 | # Try the directory containing this script, then the parent directory. |
1132 | ac_confdir=`$as_dirname -- "$0" || | | 1207 | ac_confdir=`$as_dirname -- "$as_myself" || |
1133 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | | 1208 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1134 | X"$0" : 'X\(//\)[^/]' \| \ | | 1209 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1135 | X"$0" : 'X\(//\)$' \| \ | | 1210 | X"$as_myself" : 'X\(//\)$' \| \ |
1136 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | | 1211 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1137 | echo X"$0" | | | 1212 | $as_echo X"$as_myself" | |
1138 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | | 1213 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1139 | s//\1/ | | 1214 | s//\1/ |
1140 | q | | 1215 | q |
1141 | } | | 1216 | } |
1142 | /^X\(\/\/\)[^/].*/{ | | 1217 | /^X\(\/\/\)[^/].*/{ |
1143 | s//\1/ | | 1218 | s//\1/ |
1144 | q | | 1219 | q |
1145 | } | | 1220 | } |
1146 | /^X\(\/\/\)$/{ | | 1221 | /^X\(\/\/\)$/{ |
1147 | s//\1/ | | 1222 | s//\1/ |
1148 | q | | 1223 | q |
1149 | } | | 1224 | } |
1150 | /^X\(\/\).*/{ | | 1225 | /^X\(\/\).*/{ |
1151 | s//\1/ | | 1226 | s//\1/ |
1152 | q | | 1227 | q |
1153 | } | | 1228 | } |
1154 | s/.*/./; q'` | | 1229 | s/.*/./; q'` |
1155 | srcdir=$ac_confdir | | 1230 | srcdir=$ac_confdir |
1156 | if test ! -r "$srcdir/$ac_unique_file"; then | | 1231 | if test ! -r "$srcdir/$ac_unique_file"; then |
1157 | srcdir=.. | | 1232 | srcdir=.. |
1158 | fi | | 1233 | fi |
1159 | else | | 1234 | else |
1160 | ac_srcdir_defaulted=no | | 1235 | ac_srcdir_defaulted=no |
1161 | fi | | 1236 | fi |
1162 | if test ! -r "$srcdir/$ac_unique_file"; then | | 1237 | if test ! -r "$srcdir/$ac_unique_file"; then |
1163 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | | 1238 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1164 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | | 1239 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1165 | { (exit 1); exit 1; }; } | | 1240 | { (exit 1); exit 1; }; } |
1166 | fi | | 1241 | fi |
1167 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | | 1242 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1168 | ac_abs_confdir=`( | | 1243 | ac_abs_confdir=`( |
1169 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | | 1244 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
1170 | { (exit 1); exit 1; }; } | | 1245 | { (exit 1); exit 1; }; } |
1171 | pwd)` | | 1246 | pwd)` |
1172 | # When building in place, set srcdir=. | | 1247 | # When building in place, set srcdir=. |
1173 | if test "$ac_abs_confdir" = "$ac_pwd"; then | | 1248 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1174 | srcdir=. | | 1249 | srcdir=. |
1175 | fi | | 1250 | fi |
1176 | # Remove unnecessary trailing slashes from srcdir. | | 1251 | # Remove unnecessary trailing slashes from srcdir. |
1177 | # Double slashes in file names in object file debugging info | | 1252 | # Double slashes in file names in object file debugging info |
1178 | # mess up M-x gdb in Emacs. | | 1253 | # mess up M-x gdb in Emacs. |
1179 | case $srcdir in | | 1254 | case $srcdir in |
1180 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | | 1255 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1181 | esac | | 1256 | esac |
1182 | for ac_var in $ac_precious_vars; do | | 1257 | for ac_var in $ac_precious_vars; do |
1183 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | | 1258 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1184 | eval ac_env_${ac_var}_value=\$${ac_var} | | 1259 | eval ac_env_${ac_var}_value=\$${ac_var} |
1185 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | | 1260 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1186 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | | 1261 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1187 | done | | 1262 | done |
1188 | | | 1263 | |
1189 | # | | 1264 | # |
1190 | # Report the --help message. | | 1265 | # Report the --help message. |
1191 | # | | 1266 | # |
1192 | if test "$ac_init_help" = "long"; then | | 1267 | if test "$ac_init_help" = "long"; then |
1193 | # Omit some internal or obsolete options to make the list less imposing. | | 1268 | # Omit some internal or obsolete options to make the list less imposing. |
1194 | # This message is too long to be a string in the A/UX 3.1 sh. | | 1269 | # This message is too long to be a string in the A/UX 3.1 sh. |
1195 | cat <<_ACEOF | | 1270 | cat <<_ACEOF |
1196 | \`configure' configures nbsd-digest 20070803 to adapt to many kinds of systems. | | 1271 | \`configure' configures nbsd-digest 20080509 to adapt to many kinds of systems. |
1197 | | | 1272 | |
1198 | Usage: $0 [OPTION]... [VAR=VALUE]... | | 1273 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1199 | | | 1274 | |
1200 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | | 1275 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1201 | VAR=VALUE. See below for descriptions of some of the useful variables. | | 1276 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1202 | | | 1277 | |
1203 | Defaults for the options are specified in brackets. | | 1278 | Defaults for the options are specified in brackets. |
1204 | | | 1279 | |
1205 | Configuration: | | 1280 | Configuration: |
1206 | -h, --help display this help and exit | | 1281 | -h, --help display this help and exit |
1207 | --help=short display options specific to this package | | 1282 | --help=short display options specific to this package |
1208 | --help=recursive display the short help of all the included packages | | 1283 | --help=recursive display the short help of all the included packages |
1209 | -V, --version display version information and exit | | 1284 | -V, --version display version information and exit |
1210 | -q, --quiet, --silent do not print \`checking...' messages | | 1285 | -q, --quiet, --silent do not print \`checking...' messages |
1211 | --cache-file=FILE cache test results in FILE [disabled] | | 1286 | --cache-file=FILE cache test results in FILE [disabled] |
1212 | -C, --config-cache alias for \`--cache-file=config.cache' | | 1287 | -C, --config-cache alias for \`--cache-file=config.cache' |
1213 | -n, --no-create do not create output files | | 1288 | -n, --no-create do not create output files |
1214 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | | 1289 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1215 | | | 1290 | |
1216 | Installation directories: | | 1291 | Installation directories: |
1217 | --prefix=PREFIX install architecture-independent files in PREFIX | | 1292 | --prefix=PREFIX install architecture-independent files in PREFIX |
1218 | [$ac_default_prefix] | | 1293 | [$ac_default_prefix] |
1219 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | | 1294 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1220 | [PREFIX] | | 1295 | [PREFIX] |
1221 | | | 1296 | |
1222 | By default, \`make install' will install all the files in | | 1297 | By default, \`make install' will install all the files in |
1223 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | | 1298 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1224 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | | 1299 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1225 | for instance \`--prefix=\$HOME'. | | 1300 | for instance \`--prefix=\$HOME'. |
1226 | | | 1301 | |
1227 | For better control, use the options below. | | 1302 | For better control, use the options below. |
1228 | | | 1303 | |
1229 | Fine tuning of the installation directories: | | 1304 | Fine tuning of the installation directories: |
1230 | --bindir=DIR user executables [EPREFIX/bin] | | 1305 | --bindir=DIR user executables [EPREFIX/bin] |
1231 | --sbindir=DIR system admin executables [EPREFIX/sbin] | | 1306 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1232 | --libexecdir=DIR program executables [EPREFIX/libexec] | | 1307 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1233 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | | 1308 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1234 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | | 1309 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1235 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | | 1310 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1236 | --libdir=DIR object code libraries [EPREFIX/lib] | | 1311 | --libdir=DIR object code libraries [EPREFIX/lib] |
1237 | --includedir=DIR C header files [PREFIX/include] | | 1312 | --includedir=DIR C header files [PREFIX/include] |
1238 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | | 1313 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1239 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | | 1314 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1240 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | | 1315 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1241 | --infodir=DIR info documentation [DATAROOTDIR/info] | | 1316 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1242 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | | 1317 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1243 | --mandir=DIR man documentation [DATAROOTDIR/man] | | 1318 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1244 | --docdir=DIR documentation root [DATAROOTDIR/doc/nbsd-digest] | | 1319 | --docdir=DIR documentation root [DATAROOTDIR/doc/nbsd-digest] |
1245 | --htmldir=DIR html documentation [DOCDIR] | | 1320 | --htmldir=DIR html documentation [DOCDIR] |
1246 | --dvidir=DIR dvi documentation [DOCDIR] | | 1321 | --dvidir=DIR dvi documentation [DOCDIR] |
1247 | --pdfdir=DIR pdf documentation [DOCDIR] | | 1322 | --pdfdir=DIR pdf documentation [DOCDIR] |
1248 | --psdir=DIR ps documentation [DOCDIR] | | 1323 | --psdir=DIR ps documentation [DOCDIR] |
1249 | _ACEOF | | 1324 | _ACEOF |
1250 | | | 1325 | |
1251 | cat <<\_ACEOF | | 1326 | cat <<\_ACEOF |
1252 | | | 1327 | |
1253 | Program names: | | 1328 | Program names: |
1254 | --program-prefix=PREFIX prepend PREFIX to installed program names | | 1329 | --program-prefix=PREFIX prepend PREFIX to installed program names |
1255 | --program-suffix=SUFFIX append SUFFIX to installed program names | | 1330 | --program-suffix=SUFFIX append SUFFIX to installed program names |
1256 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | | 1331 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1257 | | | 1332 | |
1258 | System types: | | 1333 | System types: |
1259 | --build=BUILD configure for building on BUILD [guessed] | | 1334 | --build=BUILD configure for building on BUILD [guessed] |
1260 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | | 1335 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
1261 | _ACEOF | | 1336 | _ACEOF |
1262 | fi | | 1337 | fi |
1263 | | | 1338 | |
1264 | if test -n "$ac_init_help"; then | | 1339 | if test -n "$ac_init_help"; then |
1265 | case $ac_init_help in | | 1340 | case $ac_init_help in |
1266 | short | recursive ) echo "Configuration of nbsd-digest 20070803:";; | | 1341 | short | recursive ) echo "Configuration of nbsd-digest 20080509:";; |
1267 | esac | | 1342 | esac |
1268 | cat <<\_ACEOF | | 1343 | cat <<\_ACEOF |
1269 | | | 1344 | |
1270 | Some influential environment variables: | | 1345 | Some influential environment variables: |
1271 | CC C compiler command | | 1346 | CC C compiler command |
1272 | CFLAGS C compiler flags | | 1347 | CFLAGS C compiler flags |
1273 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | | 1348 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1274 | nonstandard directory <lib dir> | | 1349 | nonstandard directory <lib dir> |
1275 | LIBS libraries to pass to the linker, e.g. -l<library> | | 1350 | LIBS libraries to pass to the linker, e.g. -l<library> |
1276 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | | 1351 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1277 | you have headers in a nonstandard directory <include dir> | | 1352 | you have headers in a nonstandard directory <include dir> |
1278 | CPP C preprocessor | | 1353 | CPP C preprocessor |
1279 | | | 1354 | |
1280 | Use these variables to override the choices made by `configure' or to help | | 1355 | Use these variables to override the choices made by `configure' or to help |
1281 | it to find libraries and programs with nonstandard names/locations. | | 1356 | it to find libraries and programs with nonstandard names/locations. |
1282 | | | 1357 | |
1283 | Report bugs to <agc@netbsd.org>. | | 1358 | Report bugs to <agc@netbsd.org>. |
1284 | _ACEOF | | 1359 | _ACEOF |
1285 | ac_status=$? | | 1360 | ac_status=$? |
1286 | fi | | 1361 | fi |
1287 | | | 1362 | |
1288 | if test "$ac_init_help" = "recursive"; then | | 1363 | if test "$ac_init_help" = "recursive"; then |
1289 | # If there are subdirs, report their specific --help. | | 1364 | # If there are subdirs, report their specific --help. |
1290 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | | 1365 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1291 | test -d "$ac_dir" || continue | | 1366 | test -d "$ac_dir" || |
| | | 1367 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
| | | 1368 | continue |
1292 | ac_builddir=. | | 1369 | ac_builddir=. |
1293 | | | 1370 | |
1294 | case "$ac_dir" in | | 1371 | case "$ac_dir" in |
1295 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | | 1372 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1296 | *) | | 1373 | *) |
1297 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | | 1374 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1298 | # A ".." for each directory in $ac_dir_suffix. | | 1375 | # A ".." for each directory in $ac_dir_suffix. |
1299 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | | 1376 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1300 | case $ac_top_builddir_sub in | | 1377 | case $ac_top_builddir_sub in |
1301 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | | 1378 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1302 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | | 1379 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1303 | esac ;; | | 1380 | esac ;; |
1304 | esac | | 1381 | esac |
1305 | ac_abs_top_builddir=$ac_pwd | | 1382 | ac_abs_top_builddir=$ac_pwd |
1306 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | | 1383 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1307 | # for backward compatibility: | | 1384 | # for backward compatibility: |
1308 | ac_top_builddir=$ac_top_build_prefix | | 1385 | ac_top_builddir=$ac_top_build_prefix |
1309 | | | 1386 | |
1310 | case $srcdir in | | 1387 | case $srcdir in |
1311 | .) # We are building in place. | | 1388 | .) # We are building in place. |
1312 | ac_srcdir=. | | 1389 | ac_srcdir=. |
| @@ -1322,51 +1399,51 @@ case $srcdir in | | | @@ -1322,51 +1399,51 @@ case $srcdir in |
1322 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | | 1399 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1323 | esac | | 1400 | esac |
1324 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | | 1401 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1325 | | | 1402 | |
1326 | cd "$ac_dir" || { ac_status=$?; continue; } | | 1403 | cd "$ac_dir" || { ac_status=$?; continue; } |
1327 | # Check for guested configure. | | 1404 | # Check for guested configure. |
1328 | if test -f "$ac_srcdir/configure.gnu"; then | | 1405 | if test -f "$ac_srcdir/configure.gnu"; then |
1329 | echo && | | 1406 | echo && |
1330 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | | 1407 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1331 | elif test -f "$ac_srcdir/configure"; then | | 1408 | elif test -f "$ac_srcdir/configure"; then |
1332 | echo && | | 1409 | echo && |
1333 | $SHELL "$ac_srcdir/configure" --help=recursive | | 1410 | $SHELL "$ac_srcdir/configure" --help=recursive |
1334 | else | | 1411 | else |
1335 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | | 1412 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1336 | fi || ac_status=$? | | 1413 | fi || ac_status=$? |
1337 | cd "$ac_pwd" || { ac_status=$?; break; } | | 1414 | cd "$ac_pwd" || { ac_status=$?; break; } |
1338 | done | | 1415 | done |
1339 | fi | | 1416 | fi |
1340 | | | 1417 | |
1341 | test -n "$ac_init_help" && exit $ac_status | | 1418 | test -n "$ac_init_help" && exit $ac_status |
1342 | if $ac_init_version; then | | 1419 | if $ac_init_version; then |
1343 | cat <<\_ACEOF | | 1420 | cat <<\_ACEOF |
1344 | nbsd-digest configure 20070803 | | 1421 | nbsd-digest configure 20080509 |
1345 | generated by GNU Autoconf 2.61 | | 1422 | generated by GNU Autoconf 2.62 |
1346 | | | 1423 | |
1347 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | | 1424 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1348 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | | 1425 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
1349 | This configure script is free software; the Free Software Foundation | | 1426 | This configure script is free software; the Free Software Foundation |
1350 | gives unlimited permission to copy, distribute and modify it. | | 1427 | gives unlimited permission to copy, distribute and modify it. |
1351 | _ACEOF | | 1428 | _ACEOF |
1352 | exit | | 1429 | exit |
1353 | fi | | 1430 | fi |
1354 | cat >config.log <<_ACEOF | | 1431 | cat >config.log <<_ACEOF |
1355 | This file contains any messages produced by compilers while | | 1432 | This file contains any messages produced by compilers while |
1356 | running configure, to aid debugging if configure makes a mistake. | | 1433 | running configure, to aid debugging if configure makes a mistake. |
1357 | | | 1434 | |
1358 | It was created by nbsd-digest $as_me 20070803, which was | | 1435 | It was created by nbsd-digest $as_me 20080509, which was |
1359 | generated by GNU Autoconf 2.61. Invocation command line was | | 1436 | generated by GNU Autoconf 2.62. Invocation command line was |
1360 | | | 1437 | |
1361 | $ $0 $@ | | 1438 | $ $0 $@ |
1362 | | | 1439 | |
1363 | _ACEOF | | 1440 | _ACEOF |
1364 | exec 5>>config.log | | 1441 | exec 5>>config.log |
1365 | { | | 1442 | { |
1366 | cat <<_ASUNAME | | 1443 | cat <<_ASUNAME |
1367 | ## --------- ## | | 1444 | ## --------- ## |
1368 | ## Platform. ## | | 1445 | ## Platform. ## |
1369 | ## --------- ## | | 1446 | ## --------- ## |
1370 | | | 1447 | |
1371 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | | 1448 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1372 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | | 1449 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| @@ -1382,27 +1459,27 @@ uname -v = `(uname -v) 2>/dev/null || ec | | | @@ -1382,27 +1459,27 @@ uname -v = `(uname -v) 2>/dev/null || ec |
1382 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | | 1459 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1383 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | | 1460 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1384 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | | 1461 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1385 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | | 1462 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1386 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | | 1463 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1387 | | | 1464 | |
1388 | _ASUNAME | | 1465 | _ASUNAME |
1389 | | | 1466 | |
1390 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 1467 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1391 | for as_dir in $PATH | | 1468 | for as_dir in $PATH |
1392 | do | | 1469 | do |
1393 | IFS=$as_save_IFS | | 1470 | IFS=$as_save_IFS |
1394 | test -z "$as_dir" && as_dir=. | | 1471 | test -z "$as_dir" && as_dir=. |
1395 | echo "PATH: $as_dir" | | 1472 | $as_echo "PATH: $as_dir" |
1396 | done | | 1473 | done |
1397 | IFS=$as_save_IFS | | 1474 | IFS=$as_save_IFS |
1398 | | | 1475 | |
1399 | } >&5 | | 1476 | } >&5 |
1400 | | | 1477 | |
1401 | cat >&5 <<_ACEOF | | 1478 | cat >&5 <<_ACEOF |
1402 | | | 1479 | |
1403 | | | 1480 | |
1404 | ## ----------- ## | | 1481 | ## ----------- ## |
1405 | ## Core tests. ## | | 1482 | ## Core tests. ## |
1406 | ## ----------- ## | | 1483 | ## ----------- ## |
1407 | | | 1484 | |
1408 | _ACEOF | | 1485 | _ACEOF |
| @@ -1417,27 +1494,27 @@ ac_configure_args= | | | @@ -1417,27 +1494,27 @@ ac_configure_args= |
1417 | ac_configure_args0= | | 1494 | ac_configure_args0= |
1418 | ac_configure_args1= | | 1495 | ac_configure_args1= |
1419 | ac_must_keep_next=false | | 1496 | ac_must_keep_next=false |
1420 | for ac_pass in 1 2 | | 1497 | for ac_pass in 1 2 |
1421 | do | | 1498 | do |
1422 | for ac_arg | | 1499 | for ac_arg |
1423 | do | | 1500 | do |
1424 | case $ac_arg in | | 1501 | case $ac_arg in |
1425 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | | 1502 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1426 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | | 1503 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1427 | | -silent | --silent | --silen | --sile | --sil) | | 1504 | | -silent | --silent | --silen | --sile | --sil) |
1428 | continue ;; | | 1505 | continue ;; |
1429 | *\'*) | | 1506 | *\'*) |
1430 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | | 1507 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1431 | esac | | 1508 | esac |
1432 | case $ac_pass in | | 1509 | case $ac_pass in |
1433 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | | 1510 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1434 | 2) | | 1511 | 2) |
1435 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | | 1512 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1436 | if test $ac_must_keep_next = true; then | | 1513 | if test $ac_must_keep_next = true; then |
1437 | ac_must_keep_next=false # Got value, back to normal. | | 1514 | ac_must_keep_next=false # Got value, back to normal. |
1438 | else | | 1515 | else |
1439 | case $ac_arg in | | 1516 | case $ac_arg in |
1440 | *=* | --config-cache | -C | -disable-* | --disable-* \ | | 1517 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1441 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | | 1518 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1442 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | | 1519 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1443 | | -with-* | --with-* | -without-* | --without-* | --x) | | 1520 | | -with-* | --with-* | -without-* | --without-* | --x) |
| @@ -1469,31 +1546,32 @@ trap 'exit_status=$? | | | @@ -1469,31 +1546,32 @@ trap 'exit_status=$? |
1469 | cat <<\_ASBOX | | 1546 | cat <<\_ASBOX |
1470 | ## ---------------- ## | | 1547 | ## ---------------- ## |
1471 | ## Cache variables. ## | | 1548 | ## Cache variables. ## |
1472 | ## ---------------- ## | | 1549 | ## ---------------- ## |
1473 | _ASBOX | | 1550 | _ASBOX |
1474 | echo | | 1551 | echo |
1475 | # The following way of writing the cache mishandles newlines in values, | | 1552 | # The following way of writing the cache mishandles newlines in values, |
1476 | ( | | 1553 | ( |
1477 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | | 1554 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1478 | eval ac_val=\$$ac_var | | 1555 | eval ac_val=\$$ac_var |
1479 | case $ac_val in #( | | 1556 | case $ac_val in #( |
1480 | *${as_nl}*) | | 1557 | *${as_nl}*) |
1481 | case $ac_var in #( | | 1558 | case $ac_var in #( |
1482 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | | 1559 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
1483 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | | 1560 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
1484 | esac | | 1561 | esac |
1485 | case $ac_var in #( | | 1562 | case $ac_var in #( |
1486 | _ | IFS | as_nl) ;; #( | | 1563 | _ | IFS | as_nl) ;; #( |
| | | 1564 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1487 | *) $as_unset $ac_var ;; | | 1565 | *) $as_unset $ac_var ;; |
1488 | esac ;; | | 1566 | esac ;; |
1489 | esac | | 1567 | esac |
1490 | done | | 1568 | done |
1491 | (set) 2>&1 | | | 1569 | (set) 2>&1 | |
1492 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | | 1570 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1493 | *${as_nl}ac_space=\ *) | | 1571 | *${as_nl}ac_space=\ *) |
1494 | sed -n \ | | 1572 | sed -n \ |
1495 | "s/'\''/'\''\\\\'\'''\''/g; | | 1573 | "s/'\''/'\''\\\\'\'''\''/g; |
1496 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | | 1574 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1497 | ;; #( | | 1575 | ;; #( |
1498 | *) | | 1576 | *) |
1499 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | | 1577 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| @@ -1503,63 +1581,63 @@ echo "$as_me: WARNING: Cache variable $a | | | @@ -1503,63 +1581,63 @@ echo "$as_me: WARNING: Cache variable $a |
1503 | ) | | 1581 | ) |
1504 | echo | | 1582 | echo |
1505 | | | 1583 | |
1506 | cat <<\_ASBOX | | 1584 | cat <<\_ASBOX |
1507 | ## ----------------- ## | | 1585 | ## ----------------- ## |
1508 | ## Output variables. ## | | 1586 | ## Output variables. ## |
1509 | ## ----------------- ## | | 1587 | ## ----------------- ## |
1510 | _ASBOX | | 1588 | _ASBOX |
1511 | echo | | 1589 | echo |
1512 | for ac_var in $ac_subst_vars | | 1590 | for ac_var in $ac_subst_vars |
1513 | do | | 1591 | do |
1514 | eval ac_val=\$$ac_var | | 1592 | eval ac_val=\$$ac_var |
1515 | case $ac_val in | | 1593 | case $ac_val in |
1516 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | | 1594 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1517 | esac | | 1595 | esac |
1518 | echo "$ac_var='\''$ac_val'\''" | | 1596 | $as_echo "$ac_var='\''$ac_val'\''" |
1519 | done | sort | | 1597 | done | sort |
1520 | echo | | 1598 | echo |
1521 | | | 1599 | |
1522 | if test -n "$ac_subst_files"; then | | 1600 | if test -n "$ac_subst_files"; then |
1523 | cat <<\_ASBOX | | 1601 | cat <<\_ASBOX |
1524 | ## ------------------- ## | | 1602 | ## ------------------- ## |
1525 | ## File substitutions. ## | | 1603 | ## File substitutions. ## |
1526 | ## ------------------- ## | | 1604 | ## ------------------- ## |
1527 | _ASBOX | | 1605 | _ASBOX |
1528 | echo | | 1606 | echo |
1529 | for ac_var in $ac_subst_files | | 1607 | for ac_var in $ac_subst_files |
1530 | do | | 1608 | do |
1531 | eval ac_val=\$$ac_var | | 1609 | eval ac_val=\$$ac_var |
1532 | case $ac_val in | | 1610 | case $ac_val in |
1533 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | | 1611 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1534 | esac | | 1612 | esac |
1535 | echo "$ac_var='\''$ac_val'\''" | | 1613 | $as_echo "$ac_var='\''$ac_val'\''" |
1536 | done | sort | | 1614 | done | sort |
1537 | echo | | 1615 | echo |
1538 | fi | | 1616 | fi |
1539 | | | 1617 | |
1540 | if test -s confdefs.h; then | | 1618 | if test -s confdefs.h; then |
1541 | cat <<\_ASBOX | | 1619 | cat <<\_ASBOX |
1542 | ## ----------- ## | | 1620 | ## ----------- ## |
1543 | ## confdefs.h. ## | | 1621 | ## confdefs.h. ## |
1544 | ## ----------- ## | | 1622 | ## ----------- ## |
1545 | _ASBOX | | 1623 | _ASBOX |
1546 | echo | | 1624 | echo |
1547 | cat confdefs.h | | 1625 | cat confdefs.h |
1548 | echo | | 1626 | echo |
1549 | fi | | 1627 | fi |
1550 | test "$ac_signal" != 0 && | | 1628 | test "$ac_signal" != 0 && |
1551 | echo "$as_me: caught signal $ac_signal" | | 1629 | $as_echo "$as_me: caught signal $ac_signal" |
1552 | echo "$as_me: exit $exit_status" | | 1630 | $as_echo "$as_me: exit $exit_status" |
1553 | } >&5 | | 1631 | } >&5 |
1554 | rm -f core *.core core.conftest.* && | | 1632 | rm -f core *.core core.conftest.* && |
1555 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | | 1633 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1556 | exit $exit_status | | 1634 | exit $exit_status |
1557 | ' 0 | | 1635 | ' 0 |
1558 | for ac_signal in 1 2 13 15; do | | 1636 | for ac_signal in 1 2 13 15; do |
1559 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | | 1637 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1560 | done | | 1638 | done |
1561 | ac_signal=0 | | 1639 | ac_signal=0 |
1562 | | | 1640 | |
1563 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | | 1641 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1564 | rm -f -r conftest* confdefs.h | | 1642 | rm -f -r conftest* confdefs.h |
1565 | | | 1643 | |
| @@ -1581,109 +1659,121 @@ _ACEOF | | | @@ -1581,109 +1659,121 @@ _ACEOF |
1581 | | | 1659 | |
1582 | | | 1660 | |
1583 | cat >>confdefs.h <<_ACEOF | | 1661 | cat >>confdefs.h <<_ACEOF |
1584 | #define PACKAGE_STRING "$PACKAGE_STRING" | | 1662 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1585 | _ACEOF | | 1663 | _ACEOF |
1586 | | | 1664 | |
1587 | | | 1665 | |
1588 | cat >>confdefs.h <<_ACEOF | | 1666 | cat >>confdefs.h <<_ACEOF |
1589 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | | 1667 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1590 | _ACEOF | | 1668 | _ACEOF |
1591 | | | 1669 | |
1592 | | | 1670 | |
1593 | # Let the site file select an alternate cache file if it wants to. | | 1671 | # Let the site file select an alternate cache file if it wants to. |
1594 | # Prefer explicitly selected file to automatically selected ones. | | 1672 | # Prefer an explicitly selected file to automatically selected ones. |
| | | 1673 | ac_site_file1=NONE |
| | | 1674 | ac_site_file2=NONE |
1595 | if test -n "$CONFIG_SITE"; then | | 1675 | if test -n "$CONFIG_SITE"; then |
1596 | set x "$CONFIG_SITE" | | 1676 | ac_site_file1=$CONFIG_SITE |
1597 | elif test "x$prefix" != xNONE; then | | 1677 | elif test "x$prefix" != xNONE; then |
1598 | set x "$prefix/share/config.site" "$prefix/etc/config.site" | | 1678 | ac_site_file1=$prefix/share/config.site |
| | | 1679 | ac_site_file2=$prefix/etc/config.site |
1599 | else | | 1680 | else |
1600 | set x "$ac_default_prefix/share/config.site" \ | | 1681 | ac_site_file1=$ac_default_prefix/share/config.site |
1601 | "$ac_default_prefix/etc/config.site" | | 1682 | ac_site_file2=$ac_default_prefix/etc/config.site |
1602 | fi | | 1683 | fi |
1603 | shift | | 1684 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1604 | for ac_site_file | | | |
1605 | do | | 1685 | do |
| | | 1686 | test "x$ac_site_file" = xNONE && continue |
1606 | if test -r "$ac_site_file"; then | | 1687 | if test -r "$ac_site_file"; then |
1607 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | | 1688 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1608 | echo "$as_me: loading site script $ac_site_file" >&6;} | | 1689 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1609 | sed 's/^/| /' "$ac_site_file" >&5 | | 1690 | sed 's/^/| /' "$ac_site_file" >&5 |
1610 | . "$ac_site_file" | | 1691 | . "$ac_site_file" |
1611 | fi | | 1692 | fi |
1612 | done | | 1693 | done |
1613 | | | 1694 | |
1614 | if test -r "$cache_file"; then | | 1695 | if test -r "$cache_file"; then |
1615 | # Some versions of bash will fail to source /dev/null (special | | 1696 | # Some versions of bash will fail to source /dev/null (special |
1616 | # files actually), so we avoid doing that. | | 1697 | # files actually), so we avoid doing that. |
1617 | if test -f "$cache_file"; then | | 1698 | if test -f "$cache_file"; then |
1618 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | | 1699 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1619 | echo "$as_me: loading cache $cache_file" >&6;} | | 1700 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1620 | case $cache_file in | | 1701 | case $cache_file in |
1621 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | | 1702 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1622 | *) . "./$cache_file";; | | 1703 | *) . "./$cache_file";; |
1623 | esac | | 1704 | esac |
1624 | fi | | 1705 | fi |
1625 | else | | 1706 | else |
1626 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | | 1707 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1627 | echo "$as_me: creating cache $cache_file" >&6;} | | 1708 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
1628 | >$cache_file | | 1709 | >$cache_file |
1629 | fi | | 1710 | fi |
1630 | | | 1711 | |
1631 | # Check that the precious variables saved in the cache have kept the same | | 1712 | # Check that the precious variables saved in the cache have kept the same |
1632 | # value. | | 1713 | # value. |
1633 | ac_cache_corrupted=false | | 1714 | ac_cache_corrupted=false |
1634 | for ac_var in $ac_precious_vars; do | | 1715 | for ac_var in $ac_precious_vars; do |
1635 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | | 1716 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1636 | eval ac_new_set=\$ac_env_${ac_var}_set | | 1717 | eval ac_new_set=\$ac_env_${ac_var}_set |
1637 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | | 1718 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1638 | eval ac_new_val=\$ac_env_${ac_var}_value | | 1719 | eval ac_new_val=\$ac_env_${ac_var}_value |
1639 | case $ac_old_set,$ac_new_set in | | 1720 | case $ac_old_set,$ac_new_set in |
1640 | set,) | | 1721 | set,) |
1641 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | | 1722 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1642 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | | 1723 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1643 | ac_cache_corrupted=: ;; | | 1724 | ac_cache_corrupted=: ;; |
1644 | ,set) | | 1725 | ,set) |
1645 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | | 1726 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1646 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | | 1727 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1647 | ac_cache_corrupted=: ;; | | 1728 | ac_cache_corrupted=: ;; |
1648 | ,);; | | 1729 | ,);; |
1649 | *) | | 1730 | *) |
1650 | if test "x$ac_old_val" != "x$ac_new_val"; then | | 1731 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1651 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | | 1732 | # differences in whitespace do not lead to failure. |
1652 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | | 1733 | ac_old_val_w=`echo x $ac_old_val` |
1653 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | | 1734 | ac_new_val_w=`echo x $ac_new_val` |
1654 | echo "$as_me: former value: $ac_old_val" >&2;} | | 1735 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1655 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | | 1736 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1656 | echo "$as_me: current value: $ac_new_val" >&2;} | | 1737 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1657 | ac_cache_corrupted=: | | 1738 | ac_cache_corrupted=: |
| | | 1739 | else |
| | | 1740 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| | | 1741 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| | | 1742 | eval $ac_var=\$ac_old_val |
| | | 1743 | fi |
| | | 1744 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
| | | 1745 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| | | 1746 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
| | | 1747 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
1658 | fi;; | | 1748 | fi;; |
1659 | esac | | 1749 | esac |
1660 | # Pass precious variables to config.status. | | 1750 | # Pass precious variables to config.status. |
1661 | if test "$ac_new_set" = set; then | | 1751 | if test "$ac_new_set" = set; then |
1662 | case $ac_new_val in | | 1752 | case $ac_new_val in |
1663 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | | 1753 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1664 | *) ac_arg=$ac_var=$ac_new_val ;; | | 1754 | *) ac_arg=$ac_var=$ac_new_val ;; |
1665 | esac | | 1755 | esac |
1666 | case " $ac_configure_args " in | | 1756 | case " $ac_configure_args " in |
1667 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | | 1757 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1668 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | | 1758 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1669 | esac | | 1759 | esac |
1670 | fi | | 1760 | fi |
1671 | done | | 1761 | done |
1672 | if $ac_cache_corrupted; then | | 1762 | if $ac_cache_corrupted; then |
1673 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | | 1763 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1674 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | | 1764 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1675 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | | 1765 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1676 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | | 1766 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1677 | { (exit 1); exit 1; }; } | | 1767 | { (exit 1); exit 1; }; } |
1678 | fi | | 1768 | fi |
1679 | | | 1769 | |
1680 | | | 1770 | |
1681 | | | 1771 | |
1682 | | | 1772 | |
1683 | | | 1773 | |
1684 | | | 1774 | |
1685 | | | 1775 | |
1686 | | | 1776 | |
1687 | | | 1777 | |
1688 | | | 1778 | |
1689 | | | 1779 | |
| @@ -1706,1027 +1796,1036 @@ ac_cpp='$CPP $CPPFLAGS' | | | @@ -1706,1027 +1796,1036 @@ ac_cpp='$CPP $CPPFLAGS' |
1706 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 1796 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1707 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | 1797 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1708 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 1798 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1709 | | | 1799 | |
1710 | | | 1800 | |
1711 | | | 1801 | |
1712 | ac_config_headers="$ac_config_headers config.h" | | 1802 | ac_config_headers="$ac_config_headers config.h" |
1713 | | | 1803 | |
1714 | test "$program_prefix" != NONE && | | 1804 | test "$program_prefix" != NONE && |
1715 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | | 1805 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1716 | # Use a double $ so make ignores it. | | 1806 | # Use a double $ so make ignores it. |
1717 | test "$program_suffix" != NONE && | | 1807 | test "$program_suffix" != NONE && |
1718 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | | 1808 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1719 | # Double any \ or $. echo might interpret backslashes. | | 1809 | # Double any \ or $. |
1720 | # By default was `s,x,x', remove it if useless. | | 1810 | # By default was `s,x,x', remove it if useless. |
1721 | cat <<\_ACEOF >conftest.sed | | 1811 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
1722 | s/[\\$]/&&/g;s/;s,x,x,$// | | 1812 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
1723 | _ACEOF | | | |
1724 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | | | |
1725 | rm -f conftest.sed | | | |
1726 | | | 1813 | |
1727 | | | 1814 | |
1728 | ac_aux_dir= | | 1815 | ac_aux_dir= |
1729 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | | 1816 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1730 | if test -f "$ac_dir/install-sh"; then | | 1817 | if test -f "$ac_dir/install-sh"; then |
1731 | ac_aux_dir=$ac_dir | | 1818 | ac_aux_dir=$ac_dir |
1732 | ac_install_sh="$ac_aux_dir/install-sh -c" | | 1819 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1733 | break | | 1820 | break |
1734 | elif test -f "$ac_dir/install.sh"; then | | 1821 | elif test -f "$ac_dir/install.sh"; then |
1735 | ac_aux_dir=$ac_dir | | 1822 | ac_aux_dir=$ac_dir |
1736 | ac_install_sh="$ac_aux_dir/install.sh -c" | | 1823 | ac_install_sh="$ac_aux_dir/install.sh -c" |
1737 | break | | 1824 | break |
1738 | elif test -f "$ac_dir/shtool"; then | | 1825 | elif test -f "$ac_dir/shtool"; then |
1739 | ac_aux_dir=$ac_dir | | 1826 | ac_aux_dir=$ac_dir |
1740 | ac_install_sh="$ac_aux_dir/shtool install -c" | | 1827 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1741 | break | | 1828 | break |
1742 | fi | | 1829 | fi |
1743 | done | | 1830 | done |
1744 | if test -z "$ac_aux_dir"; then | | 1831 | if test -z "$ac_aux_dir"; then |
1745 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | | 1832 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
1746 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | | 1833 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
1747 | { (exit 1); exit 1; }; } | | 1834 | { (exit 1); exit 1; }; } |
1748 | fi | | 1835 | fi |
1749 | | | 1836 | |
1750 | # These three variables are undocumented and unsupported, | | 1837 | # These three variables are undocumented and unsupported, |
1751 | # and are intended to be withdrawn in a future Autoconf release. | | 1838 | # and are intended to be withdrawn in a future Autoconf release. |
1752 | # They can cause serious problems if a builder's source tree is in a directory | | 1839 | # They can cause serious problems if a builder's source tree is in a directory |
1753 | # whose full name contains unusual characters. | | 1840 | # whose full name contains unusual characters. |
1754 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | | 1841 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
1755 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | | 1842 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
1756 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | | 1843 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
1757 | | | 1844 | |
1758 | | | 1845 | |
1759 | # Make sure we can run config.sub. | | 1846 | # Make sure we can run config.sub. |
1760 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | | 1847 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
1761 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | | 1848 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
1762 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | | 1849 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
1763 | { (exit 1); exit 1; }; } | | 1850 | { (exit 1); exit 1; }; } |
1764 | | | 1851 | |
1765 | { echo "$as_me:$LINENO: checking build system type" >&5 | | 1852 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 |
1766 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } | | 1853 | $as_echo_n "checking build system type... " >&6; } |
1767 | if test "${ac_cv_build+set}" = set; then | | 1854 | if test "${ac_cv_build+set}" = set; then |
1768 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 1855 | $as_echo_n "(cached) " >&6 |
1769 | else | | 1856 | else |
1770 | ac_build_alias=$build_alias | | 1857 | ac_build_alias=$build_alias |
1771 | test "x$ac_build_alias" = x && | | 1858 | test "x$ac_build_alias" = x && |
1772 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | | 1859 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
1773 | test "x$ac_build_alias" = x && | | 1860 | test "x$ac_build_alias" = x && |
1774 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | | 1861 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1775 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | | 1862 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1776 | { (exit 1); exit 1; }; } | | 1863 | { (exit 1); exit 1; }; } |
1777 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | | 1864 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
1778 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | | 1865 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
1779 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | | 1866 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
1780 | { (exit 1); exit 1; }; } | | 1867 | { (exit 1); exit 1; }; } |
1781 | | | 1868 | |
1782 | fi | | 1869 | fi |
1783 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | | 1870 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1784 | echo "${ECHO_T}$ac_cv_build" >&6; } | | 1871 | $as_echo "$ac_cv_build" >&6; } |
1785 | case $ac_cv_build in | | 1872 | case $ac_cv_build in |
1786 | *-*-*) ;; | | 1873 | *-*-*) ;; |
1787 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | | 1874 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
1788 | echo "$as_me: error: invalid value of canonical build" >&2;} | | 1875 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} |
1789 | { (exit 1); exit 1; }; };; | | 1876 | { (exit 1); exit 1; }; };; |
1790 | esac | | 1877 | esac |
1791 | build=$ac_cv_build | | 1878 | build=$ac_cv_build |
1792 | ac_save_IFS=$IFS; IFS='-' | | 1879 | ac_save_IFS=$IFS; IFS='-' |
1793 | set x $ac_cv_build | | 1880 | set x $ac_cv_build |
1794 | shift | | 1881 | shift |
1795 | build_cpu=$1 | | 1882 | build_cpu=$1 |
1796 | build_vendor=$2 | | 1883 | build_vendor=$2 |
1797 | shift; shift | | 1884 | shift; shift |
1798 | # Remember, the first character of IFS is used to create $*, | | 1885 | # Remember, the first character of IFS is used to create $*, |
1799 | # except with old shells: | | 1886 | # except with old shells: |
1800 | build_os=$* | | 1887 | build_os=$* |
1801 | IFS=$ac_save_IFS | | 1888 | IFS=$ac_save_IFS |
1802 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | | 1889 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
1803 | | | 1890 | |
1804 | | | 1891 | |
1805 | { echo "$as_me:$LINENO: checking host system type" >&5 | | 1892 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 |
1806 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | | 1893 | $as_echo_n "checking host system type... " >&6; } |
1807 | if test "${ac_cv_host+set}" = set; then | | 1894 | if test "${ac_cv_host+set}" = set; then |
1808 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 1895 | $as_echo_n "(cached) " >&6 |
1809 | else | | 1896 | else |
1810 | if test "x$host_alias" = x; then | | 1897 | if test "x$host_alias" = x; then |
1811 | ac_cv_host=$ac_cv_build | | 1898 | ac_cv_host=$ac_cv_build |
1812 | else | | 1899 | else |
1813 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | | 1900 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
1814 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | | 1901 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
1815 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | | 1902 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
1816 | { (exit 1); exit 1; }; } | | 1903 | { (exit 1); exit 1; }; } |
1817 | fi | | 1904 | fi |
1818 | | | 1905 | |
1819 | fi | | 1906 | fi |
1820 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | | 1907 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1821 | echo "${ECHO_T}$ac_cv_host" >&6; } | | 1908 | $as_echo "$ac_cv_host" >&6; } |
1822 | case $ac_cv_host in | | 1909 | case $ac_cv_host in |
1823 | *-*-*) ;; | | 1910 | *-*-*) ;; |
1824 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | | 1911 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
1825 | echo "$as_me: error: invalid value of canonical host" >&2;} | | 1912 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} |
1826 | { (exit 1); exit 1; }; };; | | 1913 | { (exit 1); exit 1; }; };; |
1827 | esac | | 1914 | esac |
1828 | host=$ac_cv_host | | 1915 | host=$ac_cv_host |
1829 | ac_save_IFS=$IFS; IFS='-' | | 1916 | ac_save_IFS=$IFS; IFS='-' |
1830 | set x $ac_cv_host | | 1917 | set x $ac_cv_host |
1831 | shift | | 1918 | shift |
1832 | host_cpu=$1 | | 1919 | host_cpu=$1 |
1833 | host_vendor=$2 | | 1920 | host_vendor=$2 |
1834 | shift; shift | | 1921 | shift; shift |
1835 | # Remember, the first character of IFS is used to create $*, | | 1922 | # Remember, the first character of IFS is used to create $*, |
1836 | # except with old shells: | | 1923 | # except with old shells: |
1837 | host_os=$* | | 1924 | host_os=$* |
1838 | IFS=$ac_save_IFS | | 1925 | IFS=$ac_save_IFS |
1839 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | | 1926 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
1840 | | | 1927 | |
1841 | | | 1928 | |
1842 | CANONICAL_HOST=$host | | 1929 | CANONICAL_HOST=$host |
1843 | | | 1930 | |
1844 | | | 1931 | |
1845 | # Checks for programs. | | 1932 | # Checks for programs. |
1846 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | | 1933 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1847 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } | | 1934 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
1848 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | | 1935 | set x ${MAKE-make} |
| | | 1936 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
1849 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | | 1937 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
1850 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 1938 | $as_echo_n "(cached) " >&6 |
1851 | else | | 1939 | else |
1852 | cat >conftest.make <<\_ACEOF | | 1940 | cat >conftest.make <<\_ACEOF |
1853 | SHELL = /bin/sh | | 1941 | SHELL = /bin/sh |
1854 | all: | | 1942 | all: |
1855 | @echo '@@@%%%=$(MAKE)=@@@%%%' | | 1943 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
1856 | _ACEOF | | 1944 | _ACEOF |
1857 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | | 1945 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1858 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | | 1946 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
1859 | *@@@%%%=?*=@@@%%%*) | | 1947 | *@@@%%%=?*=@@@%%%*) |
1860 | eval ac_cv_prog_make_${ac_make}_set=yes;; | | 1948 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
1861 | *) | | 1949 | *) |
1862 | eval ac_cv_prog_make_${ac_make}_set=no;; | | 1950 | eval ac_cv_prog_make_${ac_make}_set=no;; |
1863 | esac | | 1951 | esac |
1864 | rm -f conftest.make | | 1952 | rm -f conftest.make |
1865 | fi | | 1953 | fi |
1866 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | | 1954 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
1867 | { echo "$as_me:$LINENO: result: yes" >&5 | | 1955 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
1868 | echo "${ECHO_T}yes" >&6; } | | 1956 | $as_echo "yes" >&6; } |
1869 | SET_MAKE= | | 1957 | SET_MAKE= |
1870 | else | | 1958 | else |
1871 | { echo "$as_me:$LINENO: result: no" >&5 | | 1959 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
1872 | echo "${ECHO_T}no" >&6; } | | 1960 | $as_echo "no" >&6; } |
1873 | SET_MAKE="MAKE=${MAKE-make}" | | 1961 | SET_MAKE="MAKE=${MAKE-make}" |
1874 | fi | | 1962 | fi |
1875 | | | 1963 | |
1876 | for ac_prog in gawk mawk nawk awk | | 1964 | for ac_prog in gawk mawk nawk awk |
1877 | do | | 1965 | do |
1878 | # Extract the first word of "$ac_prog", so it can be a program name with args. | | 1966 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1879 | set dummy $ac_prog; ac_word=$2 | | 1967 | set dummy $ac_prog; ac_word=$2 |
1880 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | | 1968 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1881 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | | 1969 | $as_echo_n "checking for $ac_word... " >&6; } |
1882 | if test "${ac_cv_prog_AWK+set}" = set; then | | 1970 | if test "${ac_cv_prog_AWK+set}" = set; then |
1883 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 1971 | $as_echo_n "(cached) " >&6 |
1884 | else | | 1972 | else |
1885 | if test -n "$AWK"; then | | 1973 | if test -n "$AWK"; then |
1886 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | | 1974 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
1887 | else | | 1975 | else |
1888 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 1976 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1889 | for as_dir in $PATH | | 1977 | for as_dir in $PATH |
1890 | do | | 1978 | do |
1891 | IFS=$as_save_IFS | | 1979 | IFS=$as_save_IFS |
1892 | test -z "$as_dir" && as_dir=. | | 1980 | test -z "$as_dir" && as_dir=. |
1893 | for ac_exec_ext in '' $ac_executable_extensions; do | | 1981 | for ac_exec_ext in '' $ac_executable_extensions; do |
1894 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 1982 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1895 | ac_cv_prog_AWK="$ac_prog" | | 1983 | ac_cv_prog_AWK="$ac_prog" |
1896 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | | 1984 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1897 | break 2 | | 1985 | break 2 |
1898 | fi | | 1986 | fi |
1899 | done | | 1987 | done |
1900 | done | | 1988 | done |
1901 | IFS=$as_save_IFS | | 1989 | IFS=$as_save_IFS |
1902 | | | 1990 | |
1903 | fi | | 1991 | fi |
1904 | fi | | 1992 | fi |
1905 | AWK=$ac_cv_prog_AWK | | 1993 | AWK=$ac_cv_prog_AWK |
1906 | if test -n "$AWK"; then | | 1994 | if test -n "$AWK"; then |
1907 | { echo "$as_me:$LINENO: result: $AWK" >&5 | | 1995 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
1908 | echo "${ECHO_T}$AWK" >&6; } | | 1996 | $as_echo "$AWK" >&6; } |
1909 | else | | 1997 | else |
1910 | { echo "$as_me:$LINENO: result: no" >&5 | | 1998 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
1911 | echo "${ECHO_T}no" >&6; } | | 1999 | $as_echo "no" >&6; } |
1912 | fi | | 2000 | fi |
1913 | | | 2001 | |
1914 | | | 2002 | |
1915 | test -n "$AWK" && break | | 2003 | test -n "$AWK" && break |
1916 | done | | 2004 | done |
1917 | | | 2005 | |
1918 | ac_ext=c | | 2006 | ac_ext=c |
1919 | ac_cpp='$CPP $CPPFLAGS' | | 2007 | ac_cpp='$CPP $CPPFLAGS' |
1920 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 2008 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1921 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | 2009 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1922 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 2010 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1923 | if test -n "$ac_tool_prefix"; then | | 2011 | if test -n "$ac_tool_prefix"; then |
1924 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | | 2012 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1925 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | | 2013 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1926 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | | 2014 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1927 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | | 2015 | $as_echo_n "checking for $ac_word... " >&6; } |
1928 | if test "${ac_cv_prog_CC+set}" = set; then | | 2016 | if test "${ac_cv_prog_CC+set}" = set; then |
1929 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2017 | $as_echo_n "(cached) " >&6 |
1930 | else | | 2018 | else |
1931 | if test -n "$CC"; then | | 2019 | if test -n "$CC"; then |
1932 | ac_cv_prog_CC="$CC" # Let the user override the test. | | 2020 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1933 | else | | 2021 | else |
1934 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2022 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1935 | for as_dir in $PATH | | 2023 | for as_dir in $PATH |
1936 | do | | 2024 | do |
1937 | IFS=$as_save_IFS | | 2025 | IFS=$as_save_IFS |
1938 | test -z "$as_dir" && as_dir=. | | 2026 | test -z "$as_dir" && as_dir=. |
1939 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2027 | for ac_exec_ext in '' $ac_executable_extensions; do |
1940 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2028 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1941 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | | 2029 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1942 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | | 2030 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1943 | break 2 | | 2031 | break 2 |
1944 | fi | | 2032 | fi |
1945 | done | | 2033 | done |
1946 | done | | 2034 | done |
1947 | IFS=$as_save_IFS | | 2035 | IFS=$as_save_IFS |
1948 | | | 2036 | |
1949 | fi | | 2037 | fi |
1950 | fi | | 2038 | fi |
1951 | CC=$ac_cv_prog_CC | | 2039 | CC=$ac_cv_prog_CC |
1952 | if test -n "$CC"; then | | 2040 | if test -n "$CC"; then |
1953 | { echo "$as_me:$LINENO: result: $CC" >&5 | | 2041 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
1954 | echo "${ECHO_T}$CC" >&6; } | | 2042 | $as_echo "$CC" >&6; } |
1955 | else | | 2043 | else |
1956 | { echo "$as_me:$LINENO: result: no" >&5 | | 2044 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
1957 | echo "${ECHO_T}no" >&6; } | | 2045 | $as_echo "no" >&6; } |
1958 | fi | | 2046 | fi |
1959 | | | 2047 | |
1960 | | | 2048 | |
1961 | fi | | 2049 | fi |
1962 | if test -z "$ac_cv_prog_CC"; then | | 2050 | if test -z "$ac_cv_prog_CC"; then |
1963 | ac_ct_CC=$CC | | 2051 | ac_ct_CC=$CC |
1964 | # Extract the first word of "gcc", so it can be a program name with args. | | 2052 | # Extract the first word of "gcc", so it can be a program name with args. |
1965 | set dummy gcc; ac_word=$2 | | 2053 | set dummy gcc; ac_word=$2 |
1966 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | | 2054 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1967 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | | 2055 | $as_echo_n "checking for $ac_word... " >&6; } |
1968 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | | 2056 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1969 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2057 | $as_echo_n "(cached) " >&6 |
1970 | else | | 2058 | else |
1971 | if test -n "$ac_ct_CC"; then | | 2059 | if test -n "$ac_ct_CC"; then |
1972 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | | 2060 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1973 | else | | 2061 | else |
1974 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2062 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1975 | for as_dir in $PATH | | 2063 | for as_dir in $PATH |
1976 | do | | 2064 | do |
1977 | IFS=$as_save_IFS | | 2065 | IFS=$as_save_IFS |
1978 | test -z "$as_dir" && as_dir=. | | 2066 | test -z "$as_dir" && as_dir=. |
1979 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2067 | for ac_exec_ext in '' $ac_executable_extensions; do |
1980 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2068 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1981 | ac_cv_prog_ac_ct_CC="gcc" | | 2069 | ac_cv_prog_ac_ct_CC="gcc" |
1982 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | | 2070 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1983 | break 2 | | 2071 | break 2 |
1984 | fi | | 2072 | fi |
1985 | done | | 2073 | done |
1986 | done | | 2074 | done |
1987 | IFS=$as_save_IFS | | 2075 | IFS=$as_save_IFS |
1988 | | | 2076 | |
1989 | fi | | 2077 | fi |
1990 | fi | | 2078 | fi |
1991 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | | 2079 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1992 | if test -n "$ac_ct_CC"; then | | 2080 | if test -n "$ac_ct_CC"; then |
1993 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | | 2081 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1994 | echo "${ECHO_T}$ac_ct_CC" >&6; } | | 2082 | $as_echo "$ac_ct_CC" >&6; } |
1995 | else | | 2083 | else |
1996 | { echo "$as_me:$LINENO: result: no" >&5 | | 2084 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
1997 | echo "${ECHO_T}no" >&6; } | | 2085 | $as_echo "no" >&6; } |
1998 | fi | | 2086 | fi |
1999 | | | 2087 | |
2000 | if test "x$ac_ct_CC" = x; then | | 2088 | if test "x$ac_ct_CC" = x; then |
2001 | CC="" | | 2089 | CC="" |
2002 | else | | 2090 | else |
2003 | case $cross_compiling:$ac_tool_warned in | | 2091 | case $cross_compiling:$ac_tool_warned in |
2004 | yes:) | | 2092 | yes:) |
2005 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | | 2093 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2006 | whose name does not start with the host triplet. If you think this | | 2094 | whose name does not start with the host triplet. If you think this |
2007 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | | 2095 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2008 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | | 2096 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
2009 | whose name does not start with the host triplet. If you think this | | 2097 | whose name does not start with the host triplet. If you think this |
2010 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | | 2098 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
2011 | ac_tool_warned=yes ;; | | 2099 | ac_tool_warned=yes ;; |
2012 | esac | | 2100 | esac |
2013 | CC=$ac_ct_CC | | 2101 | CC=$ac_ct_CC |
2014 | fi | | 2102 | fi |
2015 | else | | 2103 | else |
2016 | CC="$ac_cv_prog_CC" | | 2104 | CC="$ac_cv_prog_CC" |
2017 | fi | | 2105 | fi |
2018 | | | 2106 | |
2019 | if test -z "$CC"; then | | 2107 | if test -z "$CC"; then |
2020 | if test -n "$ac_tool_prefix"; then | | 2108 | if test -n "$ac_tool_prefix"; then |
2021 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | | 2109 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2022 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | | 2110 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2023 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | | 2111 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2024 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | | 2112 | $as_echo_n "checking for $ac_word... " >&6; } |
2025 | if test "${ac_cv_prog_CC+set}" = set; then | | 2113 | if test "${ac_cv_prog_CC+set}" = set; then |
2026 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2114 | $as_echo_n "(cached) " >&6 |
2027 | else | | 2115 | else |
2028 | if test -n "$CC"; then | | 2116 | if test -n "$CC"; then |
2029 | ac_cv_prog_CC="$CC" # Let the user override the test. | | 2117 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2030 | else | | 2118 | else |
2031 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2119 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2032 | for as_dir in $PATH | | 2120 | for as_dir in $PATH |
2033 | do | | 2121 | do |
2034 | IFS=$as_save_IFS | | 2122 | IFS=$as_save_IFS |
2035 | test -z "$as_dir" && as_dir=. | | 2123 | test -z "$as_dir" && as_dir=. |
2036 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2124 | for ac_exec_ext in '' $ac_executable_extensions; do |
2037 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2125 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2038 | ac_cv_prog_CC="${ac_tool_prefix}cc" | | 2126 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2039 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | | 2127 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2040 | break 2 | | 2128 | break 2 |
2041 | fi | | 2129 | fi |
2042 | done | | 2130 | done |
2043 | done | | 2131 | done |
2044 | IFS=$as_save_IFS | | 2132 | IFS=$as_save_IFS |
2045 | | | 2133 | |
2046 | fi | | 2134 | fi |
2047 | fi | | 2135 | fi |
2048 | CC=$ac_cv_prog_CC | | 2136 | CC=$ac_cv_prog_CC |
2049 | if test -n "$CC"; then | | 2137 | if test -n "$CC"; then |
2050 | { echo "$as_me:$LINENO: result: $CC" >&5 | | 2138 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2051 | echo "${ECHO_T}$CC" >&6; } | | 2139 | $as_echo "$CC" >&6; } |
2052 | else | | 2140 | else |
2053 | { echo "$as_me:$LINENO: result: no" >&5 | | 2141 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2054 | echo "${ECHO_T}no" >&6; } | | 2142 | $as_echo "no" >&6; } |
2055 | fi | | 2143 | fi |
2056 | | | 2144 | |
2057 | | | 2145 | |
2058 | fi | | 2146 | fi |
2059 | fi | | 2147 | fi |
2060 | if test -z "$CC"; then | | 2148 | if test -z "$CC"; then |
2061 | # Extract the first word of "cc", so it can be a program name with args. | | 2149 | # Extract the first word of "cc", so it can be a program name with args. |
2062 | set dummy cc; ac_word=$2 | | 2150 | set dummy cc; ac_word=$2 |
2063 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | | 2151 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2064 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | | 2152 | $as_echo_n "checking for $ac_word... " >&6; } |
2065 | if test "${ac_cv_prog_CC+set}" = set; then | | 2153 | if test "${ac_cv_prog_CC+set}" = set; then |
2066 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2154 | $as_echo_n "(cached) " >&6 |
2067 | else | | 2155 | else |
2068 | if test -n "$CC"; then | | 2156 | if test -n "$CC"; then |
2069 | ac_cv_prog_CC="$CC" # Let the user override the test. | | 2157 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2070 | else | | 2158 | else |
2071 | ac_prog_rejected=no | | 2159 | ac_prog_rejected=no |
2072 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2160 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2073 | for as_dir in $PATH | | 2161 | for as_dir in $PATH |
2074 | do | | 2162 | do |
2075 | IFS=$as_save_IFS | | 2163 | IFS=$as_save_IFS |
2076 | test -z "$as_dir" && as_dir=. | | 2164 | test -z "$as_dir" && as_dir=. |
2077 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2165 | for ac_exec_ext in '' $ac_executable_extensions; do |
2078 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2166 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2079 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | | 2167 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2080 | ac_prog_rejected=yes | | 2168 | ac_prog_rejected=yes |
2081 | continue | | 2169 | continue |
2082 | fi | | 2170 | fi |
2083 | ac_cv_prog_CC="cc" | | 2171 | ac_cv_prog_CC="cc" |
2084 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | | 2172 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2085 | break 2 | | 2173 | break 2 |
2086 | fi | | 2174 | fi |
2087 | done | | 2175 | done |
2088 | done | | 2176 | done |
2089 | IFS=$as_save_IFS | | 2177 | IFS=$as_save_IFS |
2090 | | | 2178 | |
2091 | if test $ac_prog_rejected = yes; then | | 2179 | if test $ac_prog_rejected = yes; then |
2092 | # We found a bogon in the path, so make sure we never use it. | | 2180 | # We found a bogon in the path, so make sure we never use it. |
2093 | set dummy $ac_cv_prog_CC | | 2181 | set dummy $ac_cv_prog_CC |
2094 | shift | | 2182 | shift |
2095 | if test $# != 0; then | | 2183 | if test $# != 0; then |
2096 | # We chose a different compiler from the bogus one. | | 2184 | # We chose a different compiler from the bogus one. |
2097 | # However, it has the same basename, so the bogon will be chosen | | 2185 | # However, it has the same basename, so the bogon will be chosen |
2098 | # first if we set CC to just the basename; use the full file name. | | 2186 | # first if we set CC to just the basename; use the full file name. |
2099 | shift | | 2187 | shift |
2100 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | | 2188 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
2101 | fi | | 2189 | fi |
2102 | fi | | 2190 | fi |
2103 | fi | | 2191 | fi |
2104 | fi | | 2192 | fi |
2105 | CC=$ac_cv_prog_CC | | 2193 | CC=$ac_cv_prog_CC |
2106 | if test -n "$CC"; then | | 2194 | if test -n "$CC"; then |
2107 | { echo "$as_me:$LINENO: result: $CC" >&5 | | 2195 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2108 | echo "${ECHO_T}$CC" >&6; } | | 2196 | $as_echo "$CC" >&6; } |
2109 | else | | 2197 | else |
2110 | { echo "$as_me:$LINENO: result: no" >&5 | | 2198 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2111 | echo "${ECHO_T}no" >&6; } | | 2199 | $as_echo "no" >&6; } |
2112 | fi | | 2200 | fi |
2113 | | | 2201 | |
2114 | | | 2202 | |
2115 | fi | | 2203 | fi |
2116 | if test -z "$CC"; then | | 2204 | if test -z "$CC"; then |
2117 | if test -n "$ac_tool_prefix"; then | | 2205 | if test -n "$ac_tool_prefix"; then |
2118 | for ac_prog in cl.exe | | 2206 | for ac_prog in cl.exe |
2119 | do | | 2207 | do |
2120 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | | 2208 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2121 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | | 2209 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2122 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | | 2210 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2123 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | | 2211 | $as_echo_n "checking for $ac_word... " >&6; } |
2124 | if test "${ac_cv_prog_CC+set}" = set; then | | 2212 | if test "${ac_cv_prog_CC+set}" = set; then |
2125 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2213 | $as_echo_n "(cached) " >&6 |
2126 | else | | 2214 | else |
2127 | if test -n "$CC"; then | | 2215 | if test -n "$CC"; then |
2128 | ac_cv_prog_CC="$CC" # Let the user override the test. | | 2216 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2129 | else | | 2217 | else |
2130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2218 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2131 | for as_dir in $PATH | | 2219 | for as_dir in $PATH |
2132 | do | | 2220 | do |
2133 | IFS=$as_save_IFS | | 2221 | IFS=$as_save_IFS |
2134 | test -z "$as_dir" && as_dir=. | | 2222 | test -z "$as_dir" && as_dir=. |
2135 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2223 | for ac_exec_ext in '' $ac_executable_extensions; do |
2136 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2224 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2137 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | | 2225 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2138 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | | 2226 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2139 | break 2 | | 2227 | break 2 |
2140 | fi | | 2228 | fi |
2141 | done | | 2229 | done |
2142 | done | | 2230 | done |
2143 | IFS=$as_save_IFS | | 2231 | IFS=$as_save_IFS |
2144 | | | 2232 | |
2145 | fi | | 2233 | fi |
2146 | fi | | 2234 | fi |
2147 | CC=$ac_cv_prog_CC | | 2235 | CC=$ac_cv_prog_CC |
2148 | if test -n "$CC"; then | | 2236 | if test -n "$CC"; then |
2149 | { echo "$as_me:$LINENO: result: $CC" >&5 | | 2237 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2150 | echo "${ECHO_T}$CC" >&6; } | | 2238 | $as_echo "$CC" >&6; } |
2151 | else | | 2239 | else |
2152 | { echo "$as_me:$LINENO: result: no" >&5 | | 2240 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2153 | echo "${ECHO_T}no" >&6; } | | 2241 | $as_echo "no" >&6; } |
2154 | fi | | 2242 | fi |
2155 | | | 2243 | |
2156 | | | 2244 | |
2157 | test -n "$CC" && break | | 2245 | test -n "$CC" && break |
2158 | done | | 2246 | done |
2159 | fi | | 2247 | fi |
2160 | if test -z "$CC"; then | | 2248 | if test -z "$CC"; then |
2161 | ac_ct_CC=$CC | | 2249 | ac_ct_CC=$CC |
2162 | for ac_prog in cl.exe | | 2250 | for ac_prog in cl.exe |
2163 | do | | 2251 | do |
2164 | # Extract the first word of "$ac_prog", so it can be a program name with args. | | 2252 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2165 | set dummy $ac_prog; ac_word=$2 | | 2253 | set dummy $ac_prog; ac_word=$2 |
2166 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | | 2254 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2167 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | | 2255 | $as_echo_n "checking for $ac_word... " >&6; } |
2168 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | | 2256 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2169 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2257 | $as_echo_n "(cached) " >&6 |
2170 | else | | 2258 | else |
2171 | if test -n "$ac_ct_CC"; then | | 2259 | if test -n "$ac_ct_CC"; then |
2172 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | | 2260 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2173 | else | | 2261 | else |
2174 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2262 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2175 | for as_dir in $PATH | | 2263 | for as_dir in $PATH |
2176 | do | | 2264 | do |
2177 | IFS=$as_save_IFS | | 2265 | IFS=$as_save_IFS |
2178 | test -z "$as_dir" && as_dir=. | | 2266 | test -z "$as_dir" && as_dir=. |
2179 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2267 | for ac_exec_ext in '' $ac_executable_extensions; do |
2180 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2268 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2181 | ac_cv_prog_ac_ct_CC="$ac_prog" | | 2269 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2182 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | | 2270 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2183 | break 2 | | 2271 | break 2 |
2184 | fi | | 2272 | fi |
2185 | done | | 2273 | done |
2186 | done | | 2274 | done |
2187 | IFS=$as_save_IFS | | 2275 | IFS=$as_save_IFS |
2188 | | | 2276 | |
2189 | fi | | 2277 | fi |
2190 | fi | | 2278 | fi |
2191 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | | 2279 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2192 | if test -n "$ac_ct_CC"; then | | 2280 | if test -n "$ac_ct_CC"; then |
2193 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | | 2281 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2194 | echo "${ECHO_T}$ac_ct_CC" >&6; } | | 2282 | $as_echo "$ac_ct_CC" >&6; } |
2195 | else | | 2283 | else |
2196 | { echo "$as_me:$LINENO: result: no" >&5 | | 2284 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2197 | echo "${ECHO_T}no" >&6; } | | 2285 | $as_echo "no" >&6; } |
2198 | fi | | 2286 | fi |
2199 | | | 2287 | |
2200 | | | 2288 | |
2201 | test -n "$ac_ct_CC" && break | | 2289 | test -n "$ac_ct_CC" && break |
2202 | done | | 2290 | done |
2203 | | | 2291 | |
2204 | if test "x$ac_ct_CC" = x; then | | 2292 | if test "x$ac_ct_CC" = x; then |
2205 | CC="" | | 2293 | CC="" |
2206 | else | | 2294 | else |
2207 | case $cross_compiling:$ac_tool_warned in | | 2295 | case $cross_compiling:$ac_tool_warned in |
2208 | yes:) | | 2296 | yes:) |
2209 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | | 2297 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2210 | whose name does not start with the host triplet. If you think this | | 2298 | whose name does not start with the host triplet. If you think this |
2211 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | | 2299 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2212 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | | 2300 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
2213 | whose name does not start with the host triplet. If you think this | | 2301 | whose name does not start with the host triplet. If you think this |
2214 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | | 2302 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
2215 | ac_tool_warned=yes ;; | | 2303 | ac_tool_warned=yes ;; |
2216 | esac | | 2304 | esac |
2217 | CC=$ac_ct_CC | | 2305 | CC=$ac_ct_CC |
2218 | fi | | 2306 | fi |
2219 | fi | | 2307 | fi |
2220 | | | 2308 | |
2221 | fi | | 2309 | fi |
2222 | | | 2310 | |
2223 | | | 2311 | |
2224 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | | 2312 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2225 | See \`config.log' for more details." >&5 | | 2313 | See \`config.log' for more details." >&5 |
2226 | echo "$as_me: error: no acceptable C compiler found in \$PATH | | 2314 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
2227 | See \`config.log' for more details." >&2;} | | 2315 | See \`config.log' for more details." >&2;} |
2228 | { (exit 1); exit 1; }; } | | 2316 | { (exit 1); exit 1; }; } |
2229 | | | 2317 | |
2230 | # Provide some information about the compiler. | | 2318 | # Provide some information about the compiler. |
2231 | echo "$as_me:$LINENO: checking for C compiler version" >&5 | | 2319 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2232 | ac_compiler=`set X $ac_compile; echo $2` | | 2320 | set X $ac_compile |
| | | 2321 | ac_compiler=$2 |
2233 | { (ac_try="$ac_compiler --version >&5" | | 2322 | { (ac_try="$ac_compiler --version >&5" |
2234 | case "(($ac_try" in | | 2323 | case "(($ac_try" in |
2235 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2324 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2236 | *) ac_try_echo=$ac_try;; | | 2325 | *) ac_try_echo=$ac_try;; |
2237 | esac | | 2326 | esac |
2238 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2327 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2328 | $as_echo "$ac_try_echo") >&5 |
2239 | (eval "$ac_compiler --version >&5") 2>&5 | | 2329 | (eval "$ac_compiler --version >&5") 2>&5 |
2240 | ac_status=$? | | 2330 | ac_status=$? |
2241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2331 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2242 | (exit $ac_status); } | | 2332 | (exit $ac_status); } |
2243 | { (ac_try="$ac_compiler -v >&5" | | 2333 | { (ac_try="$ac_compiler -v >&5" |
2244 | case "(($ac_try" in | | 2334 | case "(($ac_try" in |
2245 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2335 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2246 | *) ac_try_echo=$ac_try;; | | 2336 | *) ac_try_echo=$ac_try;; |
2247 | esac | | 2337 | esac |
2248 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2338 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2339 | $as_echo "$ac_try_echo") >&5 |
2249 | (eval "$ac_compiler -v >&5") 2>&5 | | 2340 | (eval "$ac_compiler -v >&5") 2>&5 |
2250 | ac_status=$? | | 2341 | ac_status=$? |
2251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2342 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2252 | (exit $ac_status); } | | 2343 | (exit $ac_status); } |
2253 | { (ac_try="$ac_compiler -V >&5" | | 2344 | { (ac_try="$ac_compiler -V >&5" |
2254 | case "(($ac_try" in | | 2345 | case "(($ac_try" in |
2255 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2346 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2256 | *) ac_try_echo=$ac_try;; | | 2347 | *) ac_try_echo=$ac_try;; |
2257 | esac | | 2348 | esac |
2258 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2349 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2350 | $as_echo "$ac_try_echo") >&5 |
2259 | (eval "$ac_compiler -V >&5") 2>&5 | | 2351 | (eval "$ac_compiler -V >&5") 2>&5 |
2260 | ac_status=$? | | 2352 | ac_status=$? |
2261 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2353 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2262 | (exit $ac_status); } | | 2354 | (exit $ac_status); } |
2263 | | | 2355 | |
2264 | cat >conftest.$ac_ext <<_ACEOF | | 2356 | cat >conftest.$ac_ext <<_ACEOF |
2265 | /* confdefs.h. */ | | 2357 | /* confdefs.h. */ |
2266 | _ACEOF | | 2358 | _ACEOF |
2267 | cat confdefs.h >>conftest.$ac_ext | | 2359 | cat confdefs.h >>conftest.$ac_ext |
2268 | cat >>conftest.$ac_ext <<_ACEOF | | 2360 | cat >>conftest.$ac_ext <<_ACEOF |
2269 | /* end confdefs.h. */ | | 2361 | /* end confdefs.h. */ |
2270 | | | 2362 | |
2271 | int | | 2363 | int |
2272 | main () | | 2364 | main () |
2273 | { | | 2365 | { |
2274 | | | 2366 | |
2275 | ; | | 2367 | ; |
2276 | return 0; | | 2368 | return 0; |
2277 | } | | 2369 | } |
2278 | _ACEOF | | 2370 | _ACEOF |
2279 | ac_clean_files_save=$ac_clean_files | | 2371 | ac_clean_files_save=$ac_clean_files |
2280 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | | 2372 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
2281 | # Try to create an executable without -o first, disregard a.out. | | 2373 | # Try to create an executable without -o first, disregard a.out. |
2282 | # It will help us diagnose broken compilers, and finding out an intuition | | 2374 | # It will help us diagnose broken compilers, and finding out an intuition |
2283 | # of exeext. | | 2375 | # of exeext. |
2284 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | | 2376 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2285 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } | | 2377 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
2286 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | | 2378 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2287 | # | | 2379 | |
2288 | # List of possible output files, starting from the most likely. | | 2380 | # The possible output files: |
2289 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | | 2381 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2290 | # only as a last resort. b.out is created by i960 compilers. | | 2382 | |
2291 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | | | |
2292 | # | | | |
2293 | # The IRIX 6 linker writes into existing files which may not be | | | |
2294 | # executable, retaining their permissions. Remove them first so a | | | |
2295 | # subsequent execution test works. | | | |
2296 | ac_rmfiles= | | 2383 | ac_rmfiles= |
2297 | for ac_file in $ac_files | | 2384 | for ac_file in $ac_files |
2298 | do | | 2385 | do |
2299 | case $ac_file in | | 2386 | case $ac_file in |
2300 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | | 2387 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2301 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | | 2388 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2302 | esac | | 2389 | esac |
2303 | done | | 2390 | done |
2304 | rm -f $ac_rmfiles | | 2391 | rm -f $ac_rmfiles |
2305 | | | 2392 | |
2306 | if { (ac_try="$ac_link_default" | | 2393 | if { (ac_try="$ac_link_default" |
2307 | case "(($ac_try" in | | 2394 | case "(($ac_try" in |
2308 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2395 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2309 | *) ac_try_echo=$ac_try;; | | 2396 | *) ac_try_echo=$ac_try;; |
2310 | esac | | 2397 | esac |
2311 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2398 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2399 | $as_echo "$ac_try_echo") >&5 |
2312 | (eval "$ac_link_default") 2>&5 | | 2400 | (eval "$ac_link_default") 2>&5 |
2313 | ac_status=$? | | 2401 | ac_status=$? |
2314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2402 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2315 | (exit $ac_status); }; then | | 2403 | (exit $ac_status); }; then |
2316 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | | 2404 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2317 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | | 2405 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2318 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | | 2406 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2319 | # so that the user can short-circuit this test for compilers unknown to | | 2407 | # so that the user can short-circuit this test for compilers unknown to |
2320 | # Autoconf. | | 2408 | # Autoconf. |
2321 | for ac_file in $ac_files '' | | 2409 | for ac_file in $ac_files '' |
2322 | do | | 2410 | do |
2323 | test -f "$ac_file" || continue | | 2411 | test -f "$ac_file" || continue |
2324 | case $ac_file in | | 2412 | case $ac_file in |
2325 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | | 2413 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2326 | ;; | | 2414 | ;; |
2327 | [ab].out ) | | 2415 | [ab].out ) |
2328 | # We found the default executable, but exeext='' is most | | 2416 | # We found the default executable, but exeext='' is most |
2329 | # certainly right. | | 2417 | # certainly right. |
2330 | break;; | | 2418 | break;; |
2331 | *.* ) | | 2419 | *.* ) |
2332 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | | 2420 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2333 | then :; else | | 2421 | then :; else |
2334 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | | 2422 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2335 | fi | | 2423 | fi |
2336 | # We set ac_cv_exeext here because the later test for it is not | | 2424 | # We set ac_cv_exeext here because the later test for it is not |
2337 | # safe: cross compilers may not add the suffix if given an `-o' | | 2425 | # safe: cross compilers may not add the suffix if given an `-o' |
2338 | # argument, so we may need to know it at that point already. | | 2426 | # argument, so we may need to know it at that point already. |
2339 | # Even if this section looks crufty: it has the advantage of | | 2427 | # Even if this section looks crufty: it has the advantage of |
2340 | # actually working. | | 2428 | # actually working. |
2341 | break;; | | 2429 | break;; |
2342 | * ) | | 2430 | * ) |
2343 | break;; | | 2431 | break;; |
2344 | esac | | 2432 | esac |
2345 | done | | 2433 | done |
2346 | test "$ac_cv_exeext" = no && ac_cv_exeext= | | 2434 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2347 | | | 2435 | |
2348 | else | | 2436 | else |
2349 | ac_file='' | | 2437 | ac_file='' |
2350 | fi | | 2438 | fi |
2351 | | | 2439 | |
2352 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | | 2440 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
2353 | echo "${ECHO_T}$ac_file" >&6; } | | 2441 | $as_echo "$ac_file" >&6; } |
2354 | if test -z "$ac_file"; then | | 2442 | if test -z "$ac_file"; then |
2355 | echo "$as_me: failed program was:" >&5 | | 2443 | $as_echo "$as_me: failed program was:" >&5 |
2356 | sed 's/^/| /' conftest.$ac_ext >&5 | | 2444 | sed 's/^/| /' conftest.$ac_ext >&5 |
2357 | | | 2445 | |
2358 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | | 2446 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
2359 | See \`config.log' for more details." >&5 | | 2447 | See \`config.log' for more details." >&5 |
2360 | echo "$as_me: error: C compiler cannot create executables | | 2448 | $as_echo "$as_me: error: C compiler cannot create executables |
2361 | See \`config.log' for more details." >&2;} | | 2449 | See \`config.log' for more details." >&2;} |
2362 | { (exit 77); exit 77; }; } | | 2450 | { (exit 77); exit 77; }; } |
2363 | fi | | 2451 | fi |
2364 | | | 2452 | |
2365 | ac_exeext=$ac_cv_exeext | | 2453 | ac_exeext=$ac_cv_exeext |
2366 | | | 2454 | |
2367 | # Check that the compiler produces executables we can run. If not, either | | 2455 | # Check that the compiler produces executables we can run. If not, either |
2368 | # the compiler is broken, or we cross compile. | | 2456 | # the compiler is broken, or we cross compile. |
2369 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | | 2457 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2370 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | | 2458 | $as_echo_n "checking whether the C compiler works... " >&6; } |
2371 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | | 2459 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2372 | # If not cross compiling, check that we can run a simple program. | | 2460 | # If not cross compiling, check that we can run a simple program. |
2373 | if test "$cross_compiling" != yes; then | | 2461 | if test "$cross_compiling" != yes; then |
2374 | if { ac_try='./$ac_file' | | 2462 | if { ac_try='./$ac_file' |
2375 | { (case "(($ac_try" in | | 2463 | { (case "(($ac_try" in |
2376 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2464 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2377 | *) ac_try_echo=$ac_try;; | | 2465 | *) ac_try_echo=$ac_try;; |
2378 | esac | | 2466 | esac |
2379 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2467 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2468 | $as_echo "$ac_try_echo") >&5 |
2380 | (eval "$ac_try") 2>&5 | | 2469 | (eval "$ac_try") 2>&5 |
2381 | ac_status=$? | | 2470 | ac_status=$? |
2382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2471 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2383 | (exit $ac_status); }; }; then | | 2472 | (exit $ac_status); }; }; then |
2384 | cross_compiling=no | | 2473 | cross_compiling=no |
2385 | else | | 2474 | else |
2386 | if test "$cross_compiling" = maybe; then | | 2475 | if test "$cross_compiling" = maybe; then |
2387 | cross_compiling=yes | | 2476 | cross_compiling=yes |
2388 | else | | 2477 | else |
2389 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | | 2478 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2390 | If you meant to cross compile, use \`--host'. | | 2479 | If you meant to cross compile, use \`--host'. |
2391 | See \`config.log' for more details." >&5 | | 2480 | See \`config.log' for more details." >&5 |
2392 | echo "$as_me: error: cannot run C compiled programs. | | 2481 | $as_echo "$as_me: error: cannot run C compiled programs. |
2393 | If you meant to cross compile, use \`--host'. | | 2482 | If you meant to cross compile, use \`--host'. |
2394 | See \`config.log' for more details." >&2;} | | 2483 | See \`config.log' for more details." >&2;} |
2395 | { (exit 1); exit 1; }; } | | 2484 | { (exit 1); exit 1; }; } |
2396 | fi | | 2485 | fi |
2397 | fi | | 2486 | fi |
2398 | fi | | 2487 | fi |
2399 | { echo "$as_me:$LINENO: result: yes" >&5 | | 2488 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
2400 | echo "${ECHO_T}yes" >&6; } | | 2489 | $as_echo "yes" >&6; } |
2401 | | | 2490 | |
2402 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | | 2491 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2403 | ac_clean_files=$ac_clean_files_save | | 2492 | ac_clean_files=$ac_clean_files_save |
2404 | # Check that the compiler produces executables we can run. If not, either | | 2493 | # Check that the compiler produces executables we can run. If not, either |
2405 | # the compiler is broken, or we cross compile. | | 2494 | # the compiler is broken, or we cross compile. |
2406 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | | 2495 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2407 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | | 2496 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
2408 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | | 2497 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2409 | echo "${ECHO_T}$cross_compiling" >&6; } | | 2498 | $as_echo "$cross_compiling" >&6; } |
2410 | | | 2499 | |
2411 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | | 2500 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2412 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | | 2501 | $as_echo_n "checking for suffix of executables... " >&6; } |
2413 | if { (ac_try="$ac_link" | | 2502 | if { (ac_try="$ac_link" |
2414 | case "(($ac_try" in | | 2503 | case "(($ac_try" in |
2415 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2504 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2416 | *) ac_try_echo=$ac_try;; | | 2505 | *) ac_try_echo=$ac_try;; |
2417 | esac | | 2506 | esac |
2418 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2507 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2508 | $as_echo "$ac_try_echo") >&5 |
2419 | (eval "$ac_link") 2>&5 | | 2509 | (eval "$ac_link") 2>&5 |
2420 | ac_status=$? | | 2510 | ac_status=$? |
2421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2511 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2422 | (exit $ac_status); }; then | | 2512 | (exit $ac_status); }; then |
2423 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | | 2513 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2424 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | | 2514 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2425 | # work properly (i.e., refer to `conftest.exe'), while it won't with | | 2515 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2426 | # `rm'. | | 2516 | # `rm'. |
2427 | for ac_file in conftest.exe conftest conftest.*; do | | 2517 | for ac_file in conftest.exe conftest conftest.*; do |
2428 | test -f "$ac_file" || continue | | 2518 | test -f "$ac_file" || continue |
2429 | case $ac_file in | | 2519 | case $ac_file in |
2430 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | | 2520 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2431 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | | 2521 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2432 | break;; | | 2522 | break;; |
2433 | * ) break;; | | 2523 | * ) break;; |
2434 | esac | | 2524 | esac |
2435 | done | | 2525 | done |
2436 | else | | 2526 | else |
2437 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | | 2527 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2438 | See \`config.log' for more details." >&5 | | 2528 | See \`config.log' for more details." >&5 |
2439 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | | 2529 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2440 | See \`config.log' for more details." >&2;} | | 2530 | See \`config.log' for more details." >&2;} |
2441 | { (exit 1); exit 1; }; } | | 2531 | { (exit 1); exit 1; }; } |
2442 | fi | | 2532 | fi |
2443 | | | 2533 | |
2444 | rm -f conftest$ac_cv_exeext | | 2534 | rm -f conftest$ac_cv_exeext |
2445 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | | 2535 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2446 | echo "${ECHO_T}$ac_cv_exeext" >&6; } | | 2536 | $as_echo "$ac_cv_exeext" >&6; } |
2447 | | | 2537 | |
2448 | rm -f conftest.$ac_ext | | 2538 | rm -f conftest.$ac_ext |
2449 | EXEEXT=$ac_cv_exeext | | 2539 | EXEEXT=$ac_cv_exeext |
2450 | ac_exeext=$EXEEXT | | 2540 | ac_exeext=$EXEEXT |
2451 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | | 2541 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2452 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | | 2542 | $as_echo_n "checking for suffix of object files... " >&6; } |
2453 | if test "${ac_cv_objext+set}" = set; then | | 2543 | if test "${ac_cv_objext+set}" = set; then |
2454 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2544 | $as_echo_n "(cached) " >&6 |
2455 | else | | 2545 | else |
2456 | cat >conftest.$ac_ext <<_ACEOF | | 2546 | cat >conftest.$ac_ext <<_ACEOF |
2457 | /* confdefs.h. */ | | 2547 | /* confdefs.h. */ |
2458 | _ACEOF | | 2548 | _ACEOF |
2459 | cat confdefs.h >>conftest.$ac_ext | | 2549 | cat confdefs.h >>conftest.$ac_ext |
2460 | cat >>conftest.$ac_ext <<_ACEOF | | 2550 | cat >>conftest.$ac_ext <<_ACEOF |
2461 | /* end confdefs.h. */ | | 2551 | /* end confdefs.h. */ |
2462 | | | 2552 | |
2463 | int | | 2553 | int |
2464 | main () | | 2554 | main () |
2465 | { | | 2555 | { |
2466 | | | 2556 | |
2467 | ; | | 2557 | ; |
2468 | return 0; | | 2558 | return 0; |
2469 | } | | 2559 | } |
2470 | _ACEOF | | 2560 | _ACEOF |
2471 | rm -f conftest.o conftest.obj | | 2561 | rm -f conftest.o conftest.obj |
2472 | if { (ac_try="$ac_compile" | | 2562 | if { (ac_try="$ac_compile" |
2473 | case "(($ac_try" in | | 2563 | case "(($ac_try" in |
2474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2475 | *) ac_try_echo=$ac_try;; | | 2565 | *) ac_try_echo=$ac_try;; |
2476 | esac | | 2566 | esac |
2477 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2567 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2568 | $as_echo "$ac_try_echo") >&5 |
2478 | (eval "$ac_compile") 2>&5 | | 2569 | (eval "$ac_compile") 2>&5 |
2479 | ac_status=$? | | 2570 | ac_status=$? |
2480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2571 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2481 | (exit $ac_status); }; then | | 2572 | (exit $ac_status); }; then |
2482 | for ac_file in conftest.o conftest.obj conftest.*; do | | 2573 | for ac_file in conftest.o conftest.obj conftest.*; do |
2483 | test -f "$ac_file" || continue; | | 2574 | test -f "$ac_file" || continue; |
2484 | case $ac_file in | | 2575 | case $ac_file in |
2485 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | | 2576 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2486 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | | 2577 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2487 | break;; | | 2578 | break;; |
2488 | esac | | 2579 | esac |
2489 | done | | 2580 | done |
2490 | else | | 2581 | else |
2491 | echo "$as_me: failed program was:" >&5 | | 2582 | $as_echo "$as_me: failed program was:" >&5 |
2492 | sed 's/^/| /' conftest.$ac_ext >&5 | | 2583 | sed 's/^/| /' conftest.$ac_ext >&5 |
2493 | | | 2584 | |
2494 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | | 2585 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2495 | See \`config.log' for more details." >&5 | | 2586 | See \`config.log' for more details." >&5 |
2496 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | | 2587 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2497 | See \`config.log' for more details." >&2;} | | 2588 | See \`config.log' for more details." >&2;} |
2498 | { (exit 1); exit 1; }; } | | 2589 | { (exit 1); exit 1; }; } |
2499 | fi | | 2590 | fi |
2500 | | | 2591 | |
2501 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | | 2592 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2502 | fi | | 2593 | fi |
2503 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | | 2594 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2504 | echo "${ECHO_T}$ac_cv_objext" >&6; } | | 2595 | $as_echo "$ac_cv_objext" >&6; } |
2505 | OBJEXT=$ac_cv_objext | | 2596 | OBJEXT=$ac_cv_objext |
2506 | ac_objext=$OBJEXT | | 2597 | ac_objext=$OBJEXT |
2507 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | | 2598 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2508 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | | 2599 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2509 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | | 2600 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2510 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2601 | $as_echo_n "(cached) " >&6 |
2511 | else | | 2602 | else |
2512 | cat >conftest.$ac_ext <<_ACEOF | | 2603 | cat >conftest.$ac_ext <<_ACEOF |
2513 | /* confdefs.h. */ | | 2604 | /* confdefs.h. */ |
2514 | _ACEOF | | 2605 | _ACEOF |
2515 | cat confdefs.h >>conftest.$ac_ext | | 2606 | cat confdefs.h >>conftest.$ac_ext |
2516 | cat >>conftest.$ac_ext <<_ACEOF | | 2607 | cat >>conftest.$ac_ext <<_ACEOF |
2517 | /* end confdefs.h. */ | | 2608 | /* end confdefs.h. */ |
2518 | | | 2609 | |
2519 | int | | 2610 | int |
2520 | main () | | 2611 | main () |
2521 | { | | 2612 | { |
2522 | #ifndef __GNUC__ | | 2613 | #ifndef __GNUC__ |
2523 | choke me | | 2614 | choke me |
2524 | #endif | | 2615 | #endif |
2525 | | | 2616 | |
2526 | ; | | 2617 | ; |
2527 | return 0; | | 2618 | return 0; |
2528 | } | | 2619 | } |
2529 | _ACEOF | | 2620 | _ACEOF |
2530 | rm -f conftest.$ac_objext | | 2621 | rm -f conftest.$ac_objext |
2531 | if { (ac_try="$ac_compile" | | 2622 | if { (ac_try="$ac_compile" |
2532 | case "(($ac_try" in | | 2623 | case "(($ac_try" in |
2533 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2624 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2534 | *) ac_try_echo=$ac_try;; | | 2625 | *) ac_try_echo=$ac_try;; |
2535 | esac | | 2626 | esac |
2536 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2627 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2628 | $as_echo "$ac_try_echo") >&5 |
2537 | (eval "$ac_compile") 2>conftest.er1 | | 2629 | (eval "$ac_compile") 2>conftest.er1 |
2538 | ac_status=$? | | 2630 | ac_status=$? |
2539 | grep -v '^ *+' conftest.er1 >conftest.err | | 2631 | grep -v '^ *+' conftest.er1 >conftest.err |
2540 | rm -f conftest.er1 | | 2632 | rm -f conftest.er1 |
2541 | cat conftest.err >&5 | | 2633 | cat conftest.err >&5 |
2542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2634 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2543 | (exit $ac_status); } && { | | 2635 | (exit $ac_status); } && { |
2544 | test -z "$ac_c_werror_flag" || | | 2636 | test -z "$ac_c_werror_flag" || |
2545 | test ! -s conftest.err | | 2637 | test ! -s conftest.err |
2546 | } && test -s conftest.$ac_objext; then | | 2638 | } && test -s conftest.$ac_objext; then |
2547 | ac_compiler_gnu=yes | | 2639 | ac_compiler_gnu=yes |
2548 | else | | 2640 | else |
2549 | echo "$as_me: failed program was:" >&5 | | 2641 | $as_echo "$as_me: failed program was:" >&5 |
2550 | sed 's/^/| /' conftest.$ac_ext >&5 | | 2642 | sed 's/^/| /' conftest.$ac_ext >&5 |
2551 | | | 2643 | |
2552 | ac_compiler_gnu=no | | 2644 | ac_compiler_gnu=no |
2553 | fi | | 2645 | fi |
2554 | | | 2646 | |
2555 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 2647 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2556 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | | 2648 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2557 | | | 2649 | |
2558 | fi | | 2650 | fi |
2559 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | | 2651 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2560 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | | 2652 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2561 | GCC=`test $ac_compiler_gnu = yes && echo yes` | | 2653 | if test $ac_compiler_gnu = yes; then |
| | | 2654 | GCC=yes |
| | | 2655 | else |
| | | 2656 | GCC= |
| | | 2657 | fi |
2562 | ac_test_CFLAGS=${CFLAGS+set} | | 2658 | ac_test_CFLAGS=${CFLAGS+set} |
2563 | ac_save_CFLAGS=$CFLAGS | | 2659 | ac_save_CFLAGS=$CFLAGS |
2564 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | | 2660 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2565 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | | 2661 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2566 | if test "${ac_cv_prog_cc_g+set}" = set; then | | 2662 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2567 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2663 | $as_echo_n "(cached) " >&6 |
2568 | else | | 2664 | else |
2569 | ac_save_c_werror_flag=$ac_c_werror_flag | | 2665 | ac_save_c_werror_flag=$ac_c_werror_flag |
2570 | ac_c_werror_flag=yes | | 2666 | ac_c_werror_flag=yes |
2571 | ac_cv_prog_cc_g=no | | 2667 | ac_cv_prog_cc_g=no |
2572 | CFLAGS="-g" | | 2668 | CFLAGS="-g" |
2573 | cat >conftest.$ac_ext <<_ACEOF | | 2669 | cat >conftest.$ac_ext <<_ACEOF |
2574 | /* confdefs.h. */ | | 2670 | /* confdefs.h. */ |
2575 | _ACEOF | | 2671 | _ACEOF |
2576 | cat confdefs.h >>conftest.$ac_ext | | 2672 | cat confdefs.h >>conftest.$ac_ext |
2577 | cat >>conftest.$ac_ext <<_ACEOF | | 2673 | cat >>conftest.$ac_ext <<_ACEOF |
2578 | /* end confdefs.h. */ | | 2674 | /* end confdefs.h. */ |
2579 | | | 2675 | |
2580 | int | | 2676 | int |
2581 | main () | | 2677 | main () |
2582 | { | | 2678 | { |
2583 | | | 2679 | |
2584 | ; | | 2680 | ; |
2585 | return 0; | | 2681 | return 0; |
2586 | } | | 2682 | } |
2587 | _ACEOF | | 2683 | _ACEOF |
2588 | rm -f conftest.$ac_objext | | 2684 | rm -f conftest.$ac_objext |
2589 | if { (ac_try="$ac_compile" | | 2685 | if { (ac_try="$ac_compile" |
2590 | case "(($ac_try" in | | 2686 | case "(($ac_try" in |
2591 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2687 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2592 | *) ac_try_echo=$ac_try;; | | 2688 | *) ac_try_echo=$ac_try;; |
2593 | esac | | 2689 | esac |
2594 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2690 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2691 | $as_echo "$ac_try_echo") >&5 |
2595 | (eval "$ac_compile") 2>conftest.er1 | | 2692 | (eval "$ac_compile") 2>conftest.er1 |
2596 | ac_status=$? | | 2693 | ac_status=$? |
2597 | grep -v '^ *+' conftest.er1 >conftest.err | | 2694 | grep -v '^ *+' conftest.er1 >conftest.err |
2598 | rm -f conftest.er1 | | 2695 | rm -f conftest.er1 |
2599 | cat conftest.err >&5 | | 2696 | cat conftest.err >&5 |
2600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2697 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2601 | (exit $ac_status); } && { | | 2698 | (exit $ac_status); } && { |
2602 | test -z "$ac_c_werror_flag" || | | 2699 | test -z "$ac_c_werror_flag" || |
2603 | test ! -s conftest.err | | 2700 | test ! -s conftest.err |
2604 | } && test -s conftest.$ac_objext; then | | 2701 | } && test -s conftest.$ac_objext; then |
2605 | ac_cv_prog_cc_g=yes | | 2702 | ac_cv_prog_cc_g=yes |
2606 | else | | 2703 | else |
2607 | echo "$as_me: failed program was:" >&5 | | 2704 | $as_echo "$as_me: failed program was:" >&5 |
2608 | sed 's/^/| /' conftest.$ac_ext >&5 | | 2705 | sed 's/^/| /' conftest.$ac_ext >&5 |
2609 | | | 2706 | |
2610 | CFLAGS="" | | 2707 | CFLAGS="" |
2611 | cat >conftest.$ac_ext <<_ACEOF | | 2708 | cat >conftest.$ac_ext <<_ACEOF |
2612 | /* confdefs.h. */ | | 2709 | /* confdefs.h. */ |
2613 | _ACEOF | | 2710 | _ACEOF |
2614 | cat confdefs.h >>conftest.$ac_ext | | 2711 | cat confdefs.h >>conftest.$ac_ext |
2615 | cat >>conftest.$ac_ext <<_ACEOF | | 2712 | cat >>conftest.$ac_ext <<_ACEOF |
2616 | /* end confdefs.h. */ | | 2713 | /* end confdefs.h. */ |
2617 | | | 2714 | |
2618 | int | | 2715 | int |
2619 | main () | | 2716 | main () |
2620 | { | | 2717 | { |
2621 | | | 2718 | |
2622 | ; | | 2719 | ; |
2623 | return 0; | | 2720 | return 0; |
2624 | } | | 2721 | } |
2625 | _ACEOF | | 2722 | _ACEOF |
2626 | rm -f conftest.$ac_objext | | 2723 | rm -f conftest.$ac_objext |
2627 | if { (ac_try="$ac_compile" | | 2724 | if { (ac_try="$ac_compile" |
2628 | case "(($ac_try" in | | 2725 | case "(($ac_try" in |
2629 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2726 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2630 | *) ac_try_echo=$ac_try;; | | 2727 | *) ac_try_echo=$ac_try;; |
2631 | esac | | 2728 | esac |
2632 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2729 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2730 | $as_echo "$ac_try_echo") >&5 |
2633 | (eval "$ac_compile") 2>conftest.er1 | | 2731 | (eval "$ac_compile") 2>conftest.er1 |
2634 | ac_status=$? | | 2732 | ac_status=$? |
2635 | grep -v '^ *+' conftest.er1 >conftest.err | | 2733 | grep -v '^ *+' conftest.er1 >conftest.err |
2636 | rm -f conftest.er1 | | 2734 | rm -f conftest.er1 |
2637 | cat conftest.err >&5 | | 2735 | cat conftest.err >&5 |
2638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2736 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2639 | (exit $ac_status); } && { | | 2737 | (exit $ac_status); } && { |
2640 | test -z "$ac_c_werror_flag" || | | 2738 | test -z "$ac_c_werror_flag" || |
2641 | test ! -s conftest.err | | 2739 | test ! -s conftest.err |
2642 | } && test -s conftest.$ac_objext; then | | 2740 | } && test -s conftest.$ac_objext; then |
2643 | : | | 2741 | : |
2644 | else | | 2742 | else |
2645 | echo "$as_me: failed program was:" >&5 | | 2743 | $as_echo "$as_me: failed program was:" >&5 |
2646 | sed 's/^/| /' conftest.$ac_ext >&5 | | 2744 | sed 's/^/| /' conftest.$ac_ext >&5 |
2647 | | | 2745 | |
2648 | ac_c_werror_flag=$ac_save_c_werror_flag | | 2746 | ac_c_werror_flag=$ac_save_c_werror_flag |
2649 | CFLAGS="-g" | | 2747 | CFLAGS="-g" |
2650 | cat >conftest.$ac_ext <<_ACEOF | | 2748 | cat >conftest.$ac_ext <<_ACEOF |
2651 | /* confdefs.h. */ | | 2749 | /* confdefs.h. */ |
2652 | _ACEOF | | 2750 | _ACEOF |
2653 | cat confdefs.h >>conftest.$ac_ext | | 2751 | cat confdefs.h >>conftest.$ac_ext |
2654 | cat >>conftest.$ac_ext <<_ACEOF | | 2752 | cat >>conftest.$ac_ext <<_ACEOF |
2655 | /* end confdefs.h. */ | | 2753 | /* end confdefs.h. */ |
2656 | | | 2754 | |
2657 | int | | 2755 | int |
2658 | main () | | 2756 | main () |
2659 | { | | 2757 | { |
2660 | | | 2758 | |
2661 | ; | | 2759 | ; |
2662 | return 0; | | 2760 | return 0; |
2663 | } | | 2761 | } |
2664 | _ACEOF | | 2762 | _ACEOF |
2665 | rm -f conftest.$ac_objext | | 2763 | rm -f conftest.$ac_objext |
2666 | if { (ac_try="$ac_compile" | | 2764 | if { (ac_try="$ac_compile" |
2667 | case "(($ac_try" in | | 2765 | case "(($ac_try" in |
2668 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2766 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2669 | *) ac_try_echo=$ac_try;; | | 2767 | *) ac_try_echo=$ac_try;; |
2670 | esac | | 2768 | esac |
2671 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2769 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2770 | $as_echo "$ac_try_echo") >&5 |
2672 | (eval "$ac_compile") 2>conftest.er1 | | 2771 | (eval "$ac_compile") 2>conftest.er1 |
2673 | ac_status=$? | | 2772 | ac_status=$? |
2674 | grep -v '^ *+' conftest.er1 >conftest.err | | 2773 | grep -v '^ *+' conftest.er1 >conftest.err |
2675 | rm -f conftest.er1 | | 2774 | rm -f conftest.er1 |
2676 | cat conftest.err >&5 | | 2775 | cat conftest.err >&5 |
2677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2776 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2678 | (exit $ac_status); } && { | | 2777 | (exit $ac_status); } && { |
2679 | test -z "$ac_c_werror_flag" || | | 2778 | test -z "$ac_c_werror_flag" || |
2680 | test ! -s conftest.err | | 2779 | test ! -s conftest.err |
2681 | } && test -s conftest.$ac_objext; then | | 2780 | } && test -s conftest.$ac_objext; then |
2682 | ac_cv_prog_cc_g=yes | | 2781 | ac_cv_prog_cc_g=yes |
2683 | else | | 2782 | else |
2684 | echo "$as_me: failed program was:" >&5 | | 2783 | $as_echo "$as_me: failed program was:" >&5 |
2685 | sed 's/^/| /' conftest.$ac_ext >&5 | | 2784 | sed 's/^/| /' conftest.$ac_ext >&5 |
2686 | | | 2785 | |
2687 | | | 2786 | |
2688 | fi | | 2787 | fi |
2689 | | | 2788 | |
2690 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 2789 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2691 | fi | | 2790 | fi |
2692 | | | 2791 | |
2693 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 2792 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2694 | fi | | 2793 | fi |
2695 | | | 2794 | |
2696 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 2795 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2697 | ac_c_werror_flag=$ac_save_c_werror_flag | | 2796 | ac_c_werror_flag=$ac_save_c_werror_flag |
2698 | fi | | 2797 | fi |
2699 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | | 2798 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2700 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | | 2799 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
2701 | if test "$ac_test_CFLAGS" = set; then | | 2800 | if test "$ac_test_CFLAGS" = set; then |
2702 | CFLAGS=$ac_save_CFLAGS | | 2801 | CFLAGS=$ac_save_CFLAGS |
2703 | elif test $ac_cv_prog_cc_g = yes; then | | 2802 | elif test $ac_cv_prog_cc_g = yes; then |
2704 | if test "$GCC" = yes; then | | 2803 | if test "$GCC" = yes; then |
2705 | CFLAGS="-g -O2" | | 2804 | CFLAGS="-g -O2" |
2706 | else | | 2805 | else |
2707 | CFLAGS="-g" | | 2806 | CFLAGS="-g" |
2708 | fi | | 2807 | fi |
2709 | else | | 2808 | else |
2710 | if test "$GCC" = yes; then | | 2809 | if test "$GCC" = yes; then |
2711 | CFLAGS="-O2" | | 2810 | CFLAGS="-O2" |
2712 | else | | 2811 | else |
2713 | CFLAGS= | | 2812 | CFLAGS= |
2714 | fi | | 2813 | fi |
2715 | fi | | 2814 | fi |
2716 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | | 2815 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2717 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | | 2816 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2718 | if test "${ac_cv_prog_cc_c89+set}" = set; then | | 2817 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
2719 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2818 | $as_echo_n "(cached) " >&6 |
2720 | else | | 2819 | else |
2721 | ac_cv_prog_cc_c89=no | | 2820 | ac_cv_prog_cc_c89=no |
2722 | ac_save_CC=$CC | | 2821 | ac_save_CC=$CC |
2723 | cat >conftest.$ac_ext <<_ACEOF | | 2822 | cat >conftest.$ac_ext <<_ACEOF |
2724 | /* confdefs.h. */ | | 2823 | /* confdefs.h. */ |
2725 | _ACEOF | | 2824 | _ACEOF |
2726 | cat confdefs.h >>conftest.$ac_ext | | 2825 | cat confdefs.h >>conftest.$ac_ext |
2727 | cat >>conftest.$ac_ext <<_ACEOF | | 2826 | cat >>conftest.$ac_ext <<_ACEOF |
2728 | /* end confdefs.h. */ | | 2827 | /* end confdefs.h. */ |
2729 | #include <stdarg.h> | | 2828 | #include <stdarg.h> |
2730 | #include <stdio.h> | | 2829 | #include <stdio.h> |
2731 | #include <sys/types.h> | | 2830 | #include <sys/types.h> |
2732 | #include <sys/stat.h> | | 2831 | #include <sys/stat.h> |
| @@ -2777,91 +2876,93 @@ return f (e, argv, 0) != argv[0] || f | | | @@ -2777,91 +2876,93 @@ return f (e, argv, 0) != argv[0] || f |
2777 | return 0; | | 2876 | return 0; |
2778 | } | | 2877 | } |
2779 | _ACEOF | | 2878 | _ACEOF |
2780 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | | 2879 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2781 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | | 2880 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2782 | do | | 2881 | do |
2783 | CC="$ac_save_CC $ac_arg" | | 2882 | CC="$ac_save_CC $ac_arg" |
2784 | rm -f conftest.$ac_objext | | 2883 | rm -f conftest.$ac_objext |
2785 | if { (ac_try="$ac_compile" | | 2884 | if { (ac_try="$ac_compile" |
2786 | case "(($ac_try" in | | 2885 | case "(($ac_try" in |
2787 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 2886 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2788 | *) ac_try_echo=$ac_try;; | | 2887 | *) ac_try_echo=$ac_try;; |
2789 | esac | | 2888 | esac |
2790 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 2889 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2890 | $as_echo "$ac_try_echo") >&5 |
2791 | (eval "$ac_compile") 2>conftest.er1 | | 2891 | (eval "$ac_compile") 2>conftest.er1 |
2792 | ac_status=$? | | 2892 | ac_status=$? |
2793 | grep -v '^ *+' conftest.er1 >conftest.err | | 2893 | grep -v '^ *+' conftest.er1 >conftest.err |
2794 | rm -f conftest.er1 | | 2894 | rm -f conftest.er1 |
2795 | cat conftest.err >&5 | | 2895 | cat conftest.err >&5 |
2796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 2896 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2797 | (exit $ac_status); } && { | | 2897 | (exit $ac_status); } && { |
2798 | test -z "$ac_c_werror_flag" || | | 2898 | test -z "$ac_c_werror_flag" || |
2799 | test ! -s conftest.err | | 2899 | test ! -s conftest.err |
2800 | } && test -s conftest.$ac_objext; then | | 2900 | } && test -s conftest.$ac_objext; then |
2801 | ac_cv_prog_cc_c89=$ac_arg | | 2901 | ac_cv_prog_cc_c89=$ac_arg |
2802 | else | | 2902 | else |
2803 | echo "$as_me: failed program was:" >&5 | | 2903 | $as_echo "$as_me: failed program was:" >&5 |
2804 | sed 's/^/| /' conftest.$ac_ext >&5 | | 2904 | sed 's/^/| /' conftest.$ac_ext >&5 |
2805 | | | 2905 | |
2806 | | | 2906 | |
2807 | fi | | 2907 | fi |
2808 | | | 2908 | |
2809 | rm -f core conftest.err conftest.$ac_objext | | 2909 | rm -f core conftest.err conftest.$ac_objext |
2810 | test "x$ac_cv_prog_cc_c89" != "xno" && break | | 2910 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
2811 | done | | 2911 | done |
2812 | rm -f conftest.$ac_ext | | 2912 | rm -f conftest.$ac_ext |
2813 | CC=$ac_save_CC | | 2913 | CC=$ac_save_CC |
2814 | | | 2914 | |
2815 | fi | | 2915 | fi |
2816 | # AC_CACHE_VAL | | 2916 | # AC_CACHE_VAL |
2817 | case "x$ac_cv_prog_cc_c89" in | | 2917 | case "x$ac_cv_prog_cc_c89" in |
2818 | x) | | 2918 | x) |
2819 | { echo "$as_me:$LINENO: result: none needed" >&5 | | 2919 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
2820 | echo "${ECHO_T}none needed" >&6; } ;; | | 2920 | $as_echo "none needed" >&6; } ;; |
2821 | xno) | | 2921 | xno) |
2822 | { echo "$as_me:$LINENO: result: unsupported" >&5 | | 2922 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
2823 | echo "${ECHO_T}unsupported" >&6; } ;; | | 2923 | $as_echo "unsupported" >&6; } ;; |
2824 | *) | | 2924 | *) |
2825 | CC="$CC $ac_cv_prog_cc_c89" | | 2925 | CC="$CC $ac_cv_prog_cc_c89" |
2826 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | | 2926 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
2827 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | | 2927 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
2828 | esac | | 2928 | esac |
2829 | | | 2929 | |
2830 | | | 2930 | |
2831 | ac_ext=c | | 2931 | ac_ext=c |
2832 | ac_cpp='$CPP $CPPFLAGS' | | 2932 | ac_cpp='$CPP $CPPFLAGS' |
2833 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 2933 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2834 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | 2934 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2835 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 2935 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2836 | | | 2936 | |
2837 | # Find a good install program. We prefer a C program (faster), | | 2937 | # Find a good install program. We prefer a C program (faster), |
2838 | # so one script is as good as another. But avoid the broken or | | 2938 | # so one script is as good as another. But avoid the broken or |
2839 | # incompatible versions: | | 2939 | # incompatible versions: |
2840 | # SysV /etc/install, /usr/sbin/install | | 2940 | # SysV /etc/install, /usr/sbin/install |
2841 | # SunOS /usr/etc/install | | 2941 | # SunOS /usr/etc/install |
2842 | # IRIX /sbin/install | | 2942 | # IRIX /sbin/install |
2843 | # AIX /bin/install | | 2943 | # AIX /bin/install |
2844 | # AmigaOS /C/install, which installs bootblocks on floppy discs | | 2944 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
2845 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | | 2945 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2846 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | | 2946 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2847 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | | 2947 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2848 | # OS/2's system install, which has a completely different semantic | | 2948 | # OS/2's system install, which has a completely different semantic |
2849 | # ./install, which can be erroneously created by make from ./install.sh. | | 2949 | # ./install, which can be erroneously created by make from ./install.sh. |
2850 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | | 2950 | # Reject install programs that cannot install multiple files. |
2851 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | | 2951 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| | | 2952 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2852 | if test -z "$INSTALL"; then | | 2953 | if test -z "$INSTALL"; then |
2853 | if test "${ac_cv_path_install+set}" = set; then | | 2954 | if test "${ac_cv_path_install+set}" = set; then |
2854 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 2955 | $as_echo_n "(cached) " >&6 |
2855 | else | | 2956 | else |
2856 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2957 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2857 | for as_dir in $PATH | | 2958 | for as_dir in $PATH |
2858 | do | | 2959 | do |
2859 | IFS=$as_save_IFS | | 2960 | IFS=$as_save_IFS |
2860 | test -z "$as_dir" && as_dir=. | | 2961 | test -z "$as_dir" && as_dir=. |
2861 | # Account for people who put trailing slashes in PATH elements. | | 2962 | # Account for people who put trailing slashes in PATH elements. |
2862 | case $as_dir/ in | | 2963 | case $as_dir/ in |
2863 | ./ | .// | /cC/* | \ | | 2964 | ./ | .// | /cC/* | \ |
2864 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | | 2965 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2865 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | | 2966 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2866 | /usr/ucb/* ) ;; | | 2967 | /usr/ucb/* ) ;; |
2867 | *) | | 2968 | *) |
| @@ -2870,92 +2971,104 @@ case $as_dir/ in | | | @@ -2870,92 +2971,104 @@ case $as_dir/ in |
2870 | # by default. | | 2971 | # by default. |
2871 | for ac_prog in ginstall scoinst install; do | | 2972 | for ac_prog in ginstall scoinst install; do |
2872 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2973 | for ac_exec_ext in '' $ac_executable_extensions; do |
2873 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | | 2974 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2874 | if test $ac_prog = install && | | 2975 | if test $ac_prog = install && |
2875 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | | 2976 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2876 | # AIX install. It has an incompatible calling convention. | | 2977 | # AIX install. It has an incompatible calling convention. |
2877 | : | | 2978 | : |
2878 | elif test $ac_prog = install && | | 2979 | elif test $ac_prog = install && |
2879 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | | 2980 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2880 | # program-specific install script used by HP pwplus--don't use. | | 2981 | # program-specific install script used by HP pwplus--don't use. |
2881 | : | | 2982 | : |
2882 | else | | 2983 | else |
2883 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | | 2984 | rm -rf conftest.one conftest.two conftest.dir |
2884 | break 3 | | 2985 | echo one > conftest.one |
| | | 2986 | echo two > conftest.two |
| | | 2987 | mkdir conftest.dir |
| | | 2988 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
| | | 2989 | test -s conftest.one && test -s conftest.two && |
| | | 2990 | test -s conftest.dir/conftest.one && |
| | | 2991 | test -s conftest.dir/conftest.two |
| | | 2992 | then |
| | | 2993 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| | | 2994 | break 3 |
| | | 2995 | fi |
2885 | fi | | 2996 | fi |
2886 | fi | | 2997 | fi |
2887 | done | | 2998 | done |
2888 | done | | 2999 | done |
2889 | ;; | | 3000 | ;; |
2890 | esac | | 3001 | esac |
| | | 3002 | |
2891 | done | | 3003 | done |
2892 | IFS=$as_save_IFS | | 3004 | IFS=$as_save_IFS |
2893 | | | 3005 | |
| | | 3006 | rm -rf conftest.one conftest.two conftest.dir |
2894 | | | 3007 | |
2895 | fi | | 3008 | fi |
2896 | if test "${ac_cv_path_install+set}" = set; then | | 3009 | if test "${ac_cv_path_install+set}" = set; then |
2897 | INSTALL=$ac_cv_path_install | | 3010 | INSTALL=$ac_cv_path_install |
2898 | else | | 3011 | else |
2899 | # As a last resort, use the slow shell script. Don't cache a | | 3012 | # As a last resort, use the slow shell script. Don't cache a |
2900 | # value for INSTALL within a source directory, because that will | | 3013 | # value for INSTALL within a source directory, because that will |
2901 | # break other packages using the cache if that directory is | | 3014 | # break other packages using the cache if that directory is |
2902 | # removed, or if the value is a relative name. | | 3015 | # removed, or if the value is a relative name. |
2903 | INSTALL=$ac_install_sh | | 3016 | INSTALL=$ac_install_sh |
2904 | fi | | 3017 | fi |
2905 | fi | | 3018 | fi |
2906 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 | | 3019 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2907 | echo "${ECHO_T}$INSTALL" >&6; } | | 3020 | $as_echo "$INSTALL" >&6; } |
2908 | | | 3021 | |
2909 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | | 3022 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2910 | # It thinks the first close brace ends the variable substitution. | | 3023 | # It thinks the first close brace ends the variable substitution. |
2911 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | | 3024 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2912 | | | 3025 | |
2913 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | | 3026 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2914 | | | 3027 | |
2915 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | | 3028 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2916 | | | 3029 | |
2917 | { echo "$as_me:$LINENO: checking whether ln -s works" >&5 | | 3030 | { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
2918 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } | | 3031 | $as_echo_n "checking whether ln -s works... " >&6; } |
2919 | LN_S=$as_ln_s | | 3032 | LN_S=$as_ln_s |
2920 | if test "$LN_S" = "ln -s"; then | | 3033 | if test "$LN_S" = "ln -s"; then |
2921 | { echo "$as_me:$LINENO: result: yes" >&5 | | 3034 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
2922 | echo "${ECHO_T}yes" >&6; } | | 3035 | $as_echo "yes" >&6; } |
2923 | else | | 3036 | else |
2924 | { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | | 3037 | { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
2925 | echo "${ECHO_T}no, using $LN_S" >&6; } | | 3038 | $as_echo "no, using $LN_S" >&6; } |
2926 | fi | | 3039 | fi |
2927 | | | 3040 | |
2928 | | | 3041 | |
2929 | AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} | | 3042 | AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} |
2930 | | | 3043 | |
2931 | AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} | | 3044 | AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} |
2932 | | | 3045 | |
2933 | | | 3046 | |
2934 | | | 3047 | |
2935 | ac_ext=c | | 3048 | ac_ext=c |
2936 | ac_cpp='$CPP $CPPFLAGS' | | 3049 | ac_cpp='$CPP $CPPFLAGS' |
2937 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 3050 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2938 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | 3051 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2939 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 3052 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2940 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | | 3053 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
2941 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | | 3054 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
2942 | # On Suns, sometimes $CPP names a directory. | | 3055 | # On Suns, sometimes $CPP names a directory. |
2943 | if test -n "$CPP" && test -d "$CPP"; then | | 3056 | if test -n "$CPP" && test -d "$CPP"; then |
2944 | CPP= | | 3057 | CPP= |
2945 | fi | | 3058 | fi |
2946 | if test -z "$CPP"; then | | 3059 | if test -z "$CPP"; then |
2947 | if test "${ac_cv_prog_CPP+set}" = set; then | | 3060 | if test "${ac_cv_prog_CPP+set}" = set; then |
2948 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3061 | $as_echo_n "(cached) " >&6 |
2949 | else | | 3062 | else |
2950 | # Double quotes because CPP needs to be expanded | | 3063 | # Double quotes because CPP needs to be expanded |
2951 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | | 3064 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2952 | do | | 3065 | do |
2953 | ac_preproc_ok=false | | 3066 | ac_preproc_ok=false |
2954 | for ac_c_preproc_warn_flag in '' yes | | 3067 | for ac_c_preproc_warn_flag in '' yes |
2955 | do | | 3068 | do |
2956 | # Use a header file that comes with gcc, so configuring glibc | | 3069 | # Use a header file that comes with gcc, so configuring glibc |
2957 | # with a fresh cross-compiler works. | | 3070 | # with a fresh cross-compiler works. |
2958 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | | 3071 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2959 | # <limits.h> exists even on freestanding compilers. | | 3072 | # <limits.h> exists even on freestanding compilers. |
2960 | # On the NeXT, cc -E runs the code through the compiler's parser, | | 3073 | # On the NeXT, cc -E runs the code through the compiler's parser, |
2961 | # not just through cpp. "Syntax error" is here to catch this case. | | 3074 | # not just through cpp. "Syntax error" is here to catch this case. |
| @@ -2967,104 +3080,106 @@ cat >>conftest.$ac_ext <<_ACEOF | | | @@ -2967,104 +3080,106 @@ cat >>conftest.$ac_ext <<_ACEOF |
2967 | /* end confdefs.h. */ | | 3080 | /* end confdefs.h. */ |
2968 | #ifdef __STDC__ | | 3081 | #ifdef __STDC__ |
2969 | # include <limits.h> | | 3082 | # include <limits.h> |
2970 | #else | | 3083 | #else |
2971 | # include <assert.h> | | 3084 | # include <assert.h> |
2972 | #endif | | 3085 | #endif |
2973 | Syntax error | | 3086 | Syntax error |
2974 | _ACEOF | | 3087 | _ACEOF |
2975 | if { (ac_try="$ac_cpp conftest.$ac_ext" | | 3088 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
2976 | case "(($ac_try" in | | 3089 | case "(($ac_try" in |
2977 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3090 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2978 | *) ac_try_echo=$ac_try;; | | 3091 | *) ac_try_echo=$ac_try;; |
2979 | esac | | 3092 | esac |
2980 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3093 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3094 | $as_echo "$ac_try_echo") >&5 |
2981 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | | 3095 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
2982 | ac_status=$? | | 3096 | ac_status=$? |
2983 | grep -v '^ *+' conftest.er1 >conftest.err | | 3097 | grep -v '^ *+' conftest.er1 >conftest.err |
2984 | rm -f conftest.er1 | | 3098 | rm -f conftest.er1 |
2985 | cat conftest.err >&5 | | 3099 | cat conftest.err >&5 |
2986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3100 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2987 | (exit $ac_status); } >/dev/null && { | | 3101 | (exit $ac_status); } >/dev/null && { |
2988 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | | 3102 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2989 | test ! -s conftest.err | | 3103 | test ! -s conftest.err |
2990 | }; then | | 3104 | }; then |
2991 | : | | 3105 | : |
2992 | else | | 3106 | else |
2993 | echo "$as_me: failed program was:" >&5 | | 3107 | $as_echo "$as_me: failed program was:" >&5 |
2994 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3108 | sed 's/^/| /' conftest.$ac_ext >&5 |
2995 | | | 3109 | |
2996 | # Broken: fails on valid input. | | 3110 | # Broken: fails on valid input. |
2997 | continue | | 3111 | continue |
2998 | fi | | 3112 | fi |
2999 | | | 3113 | |
3000 | rm -f conftest.err conftest.$ac_ext | | 3114 | rm -f conftest.err conftest.$ac_ext |
3001 | | | 3115 | |
3002 | # OK, works on sane cases. Now check whether nonexistent headers | | 3116 | # OK, works on sane cases. Now check whether nonexistent headers |
3003 | # can be detected and how. | | 3117 | # can be detected and how. |
3004 | cat >conftest.$ac_ext <<_ACEOF | | 3118 | cat >conftest.$ac_ext <<_ACEOF |
3005 | /* confdefs.h. */ | | 3119 | /* confdefs.h. */ |
3006 | _ACEOF | | 3120 | _ACEOF |
3007 | cat confdefs.h >>conftest.$ac_ext | | 3121 | cat confdefs.h >>conftest.$ac_ext |
3008 | cat >>conftest.$ac_ext <<_ACEOF | | 3122 | cat >>conftest.$ac_ext <<_ACEOF |
3009 | /* end confdefs.h. */ | | 3123 | /* end confdefs.h. */ |
3010 | #include <ac_nonexistent.h> | | 3124 | #include <ac_nonexistent.h> |
3011 | _ACEOF | | 3125 | _ACEOF |
3012 | if { (ac_try="$ac_cpp conftest.$ac_ext" | | 3126 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3013 | case "(($ac_try" in | | 3127 | case "(($ac_try" in |
3014 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3128 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3015 | *) ac_try_echo=$ac_try;; | | 3129 | *) ac_try_echo=$ac_try;; |
3016 | esac | | 3130 | esac |
3017 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3131 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3132 | $as_echo "$ac_try_echo") >&5 |
3018 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | | 3133 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3019 | ac_status=$? | | 3134 | ac_status=$? |
3020 | grep -v '^ *+' conftest.er1 >conftest.err | | 3135 | grep -v '^ *+' conftest.er1 >conftest.err |
3021 | rm -f conftest.er1 | | 3136 | rm -f conftest.er1 |
3022 | cat conftest.err >&5 | | 3137 | cat conftest.err >&5 |
3023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3138 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3024 | (exit $ac_status); } >/dev/null && { | | 3139 | (exit $ac_status); } >/dev/null && { |
3025 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | | 3140 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3026 | test ! -s conftest.err | | 3141 | test ! -s conftest.err |
3027 | }; then | | 3142 | }; then |
3028 | # Broken: success on invalid input. | | 3143 | # Broken: success on invalid input. |
3029 | continue | | 3144 | continue |
3030 | else | | 3145 | else |
3031 | echo "$as_me: failed program was:" >&5 | | 3146 | $as_echo "$as_me: failed program was:" >&5 |
3032 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3147 | sed 's/^/| /' conftest.$ac_ext >&5 |
3033 | | | 3148 | |
3034 | # Passes both tests. | | 3149 | # Passes both tests. |
3035 | ac_preproc_ok=: | | 3150 | ac_preproc_ok=: |
3036 | break | | 3151 | break |
3037 | fi | | 3152 | fi |
3038 | | | 3153 | |
3039 | rm -f conftest.err conftest.$ac_ext | | 3154 | rm -f conftest.err conftest.$ac_ext |
3040 | | | 3155 | |
3041 | done | | 3156 | done |
3042 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | | 3157 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3043 | rm -f conftest.err conftest.$ac_ext | | 3158 | rm -f conftest.err conftest.$ac_ext |
3044 | if $ac_preproc_ok; then | | 3159 | if $ac_preproc_ok; then |
3045 | break | | 3160 | break |
3046 | fi | | 3161 | fi |
3047 | | | 3162 | |
3048 | done | | 3163 | done |
3049 | ac_cv_prog_CPP=$CPP | | 3164 | ac_cv_prog_CPP=$CPP |
3050 | | | 3165 | |
3051 | fi | | 3166 | fi |
3052 | CPP=$ac_cv_prog_CPP | | 3167 | CPP=$ac_cv_prog_CPP |
3053 | else | | 3168 | else |
3054 | ac_cv_prog_CPP=$CPP | | 3169 | ac_cv_prog_CPP=$CPP |
3055 | fi | | 3170 | fi |
3056 | { echo "$as_me:$LINENO: result: $CPP" >&5 | | 3171 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
3057 | echo "${ECHO_T}$CPP" >&6; } | | 3172 | $as_echo "$CPP" >&6; } |
3058 | ac_preproc_ok=false | | 3173 | ac_preproc_ok=false |
3059 | for ac_c_preproc_warn_flag in '' yes | | 3174 | for ac_c_preproc_warn_flag in '' yes |
3060 | do | | 3175 | do |
3061 | # Use a header file that comes with gcc, so configuring glibc | | 3176 | # Use a header file that comes with gcc, so configuring glibc |
3062 | # with a fresh cross-compiler works. | | 3177 | # with a fresh cross-compiler works. |
3063 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | | 3178 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3064 | # <limits.h> exists even on freestanding compilers. | | 3179 | # <limits.h> exists even on freestanding compilers. |
3065 | # On the NeXT, cc -E runs the code through the compiler's parser, | | 3180 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3066 | # not just through cpp. "Syntax error" is here to catch this case. | | 3181 | # not just through cpp. "Syntax error" is here to catch this case. |
3067 | cat >conftest.$ac_ext <<_ACEOF | | 3182 | cat >conftest.$ac_ext <<_ACEOF |
3068 | /* confdefs.h. */ | | 3183 | /* confdefs.h. */ |
3069 | _ACEOF | | 3184 | _ACEOF |
3070 | cat confdefs.h >>conftest.$ac_ext | | 3185 | cat confdefs.h >>conftest.$ac_ext |
| @@ -3072,313 +3187,288 @@ cat >>conftest.$ac_ext <<_ACEOF | | | @@ -3072,313 +3187,288 @@ cat >>conftest.$ac_ext <<_ACEOF |
3072 | /* end confdefs.h. */ | | 3187 | /* end confdefs.h. */ |
3073 | #ifdef __STDC__ | | 3188 | #ifdef __STDC__ |
3074 | # include <limits.h> | | 3189 | # include <limits.h> |
3075 | #else | | 3190 | #else |
3076 | # include <assert.h> | | 3191 | # include <assert.h> |
3077 | #endif | | 3192 | #endif |
3078 | Syntax error | | 3193 | Syntax error |
3079 | _ACEOF | | 3194 | _ACEOF |
3080 | if { (ac_try="$ac_cpp conftest.$ac_ext" | | 3195 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3081 | case "(($ac_try" in | | 3196 | case "(($ac_try" in |
3082 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3197 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3083 | *) ac_try_echo=$ac_try;; | | 3198 | *) ac_try_echo=$ac_try;; |
3084 | esac | | 3199 | esac |
3085 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3200 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3201 | $as_echo "$ac_try_echo") >&5 |
3086 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | | 3202 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3087 | ac_status=$? | | 3203 | ac_status=$? |
3088 | grep -v '^ *+' conftest.er1 >conftest.err | | 3204 | grep -v '^ *+' conftest.er1 >conftest.err |
3089 | rm -f conftest.er1 | | 3205 | rm -f conftest.er1 |
3090 | cat conftest.err >&5 | | 3206 | cat conftest.err >&5 |
3091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3207 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3092 | (exit $ac_status); } >/dev/null && { | | 3208 | (exit $ac_status); } >/dev/null && { |
3093 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | | 3209 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3094 | test ! -s conftest.err | | 3210 | test ! -s conftest.err |
3095 | }; then | | 3211 | }; then |
3096 | : | | 3212 | : |
3097 | else | | 3213 | else |
3098 | echo "$as_me: failed program was:" >&5 | | 3214 | $as_echo "$as_me: failed program was:" >&5 |
3099 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3215 | sed 's/^/| /' conftest.$ac_ext >&5 |
3100 | | | 3216 | |
3101 | # Broken: fails on valid input. | | 3217 | # Broken: fails on valid input. |
3102 | continue | | 3218 | continue |
3103 | fi | | 3219 | fi |
3104 | | | 3220 | |
3105 | rm -f conftest.err conftest.$ac_ext | | 3221 | rm -f conftest.err conftest.$ac_ext |
3106 | | | 3222 | |
3107 | # OK, works on sane cases. Now check whether nonexistent headers | | 3223 | # OK, works on sane cases. Now check whether nonexistent headers |
3108 | # can be detected and how. | | 3224 | # can be detected and how. |
3109 | cat >conftest.$ac_ext <<_ACEOF | | 3225 | cat >conftest.$ac_ext <<_ACEOF |
3110 | /* confdefs.h. */ | | 3226 | /* confdefs.h. */ |
3111 | _ACEOF | | 3227 | _ACEOF |
3112 | cat confdefs.h >>conftest.$ac_ext | | 3228 | cat confdefs.h >>conftest.$ac_ext |
3113 | cat >>conftest.$ac_ext <<_ACEOF | | 3229 | cat >>conftest.$ac_ext <<_ACEOF |
3114 | /* end confdefs.h. */ | | 3230 | /* end confdefs.h. */ |
3115 | #include <ac_nonexistent.h> | | 3231 | #include <ac_nonexistent.h> |
3116 | _ACEOF | | 3232 | _ACEOF |
3117 | if { (ac_try="$ac_cpp conftest.$ac_ext" | | 3233 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3118 | case "(($ac_try" in | | 3234 | case "(($ac_try" in |
3119 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3235 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3120 | *) ac_try_echo=$ac_try;; | | 3236 | *) ac_try_echo=$ac_try;; |
3121 | esac | | 3237 | esac |
3122 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3238 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3239 | $as_echo "$ac_try_echo") >&5 |
3123 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | | 3240 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3124 | ac_status=$? | | 3241 | ac_status=$? |
3125 | grep -v '^ *+' conftest.er1 >conftest.err | | 3242 | grep -v '^ *+' conftest.er1 >conftest.err |
3126 | rm -f conftest.er1 | | 3243 | rm -f conftest.er1 |
3127 | cat conftest.err >&5 | | 3244 | cat conftest.err >&5 |
3128 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3245 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3129 | (exit $ac_status); } >/dev/null && { | | 3246 | (exit $ac_status); } >/dev/null && { |
3130 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | | 3247 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3131 | test ! -s conftest.err | | 3248 | test ! -s conftest.err |
3132 | }; then | | 3249 | }; then |
3133 | # Broken: success on invalid input. | | 3250 | # Broken: success on invalid input. |
3134 | continue | | 3251 | continue |
3135 | else | | 3252 | else |
3136 | echo "$as_me: failed program was:" >&5 | | 3253 | $as_echo "$as_me: failed program was:" >&5 |
3137 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3254 | sed 's/^/| /' conftest.$ac_ext >&5 |
3138 | | | 3255 | |
3139 | # Passes both tests. | | 3256 | # Passes both tests. |
3140 | ac_preproc_ok=: | | 3257 | ac_preproc_ok=: |
3141 | break | | 3258 | break |
3142 | fi | | 3259 | fi |
3143 | | | 3260 | |
3144 | rm -f conftest.err conftest.$ac_ext | | 3261 | rm -f conftest.err conftest.$ac_ext |
3145 | | | 3262 | |
3146 | done | | 3263 | done |
3147 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | | 3264 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3148 | rm -f conftest.err conftest.$ac_ext | | 3265 | rm -f conftest.err conftest.$ac_ext |
3149 | if $ac_preproc_ok; then | | 3266 | if $ac_preproc_ok; then |
3150 | : | | 3267 | : |
3151 | else | | 3268 | else |
3152 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | | 3269 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
3153 | See \`config.log' for more details." >&5 | | 3270 | See \`config.log' for more details." >&5 |
3154 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | | 3271 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3155 | See \`config.log' for more details." >&2;} | | 3272 | See \`config.log' for more details." >&2;} |
3156 | { (exit 1); exit 1; }; } | | 3273 | { (exit 1); exit 1; }; } |
3157 | fi | | 3274 | fi |
3158 | | | 3275 | |
3159 | ac_ext=c | | 3276 | ac_ext=c |
3160 | ac_cpp='$CPP $CPPFLAGS' | | 3277 | ac_cpp='$CPP $CPPFLAGS' |
3161 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 3278 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3162 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | 3279 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3163 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 3280 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3164 | | | 3281 | |
3165 | | | 3282 | |
3166 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | | 3283 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3167 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } | | 3284 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3168 | if test "${ac_cv_path_GREP+set}" = set; then | | | |
3169 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | | |
3170 | else | | | |
3171 | # Extract the first word of "grep ggrep" to use in msg output | | | |
3172 | if test -z "$GREP"; then | | | |
3173 | set dummy grep ggrep; ac_prog_name=$2 | | | |
3174 | if test "${ac_cv_path_GREP+set}" = set; then | | 3285 | if test "${ac_cv_path_GREP+set}" = set; then |
3175 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3286 | $as_echo_n "(cached) " >&6 |
3176 | else | | 3287 | else |
| | | 3288 | if test -z "$GREP"; then |
3177 | ac_path_GREP_found=false | | 3289 | ac_path_GREP_found=false |
3178 | # Loop through the user's path and test for each of PROGNAME-LIST | | 3290 | # Loop through the user's path and test for each of PROGNAME-LIST |
3179 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 3291 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3180 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | | 3292 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3181 | do | | 3293 | do |
3182 | IFS=$as_save_IFS | | 3294 | IFS=$as_save_IFS |
3183 | test -z "$as_dir" && as_dir=. | | 3295 | test -z "$as_dir" && as_dir=. |
3184 | for ac_prog in grep ggrep; do | | 3296 | for ac_prog in grep ggrep; do |
3185 | for ac_exec_ext in '' $ac_executable_extensions; do | | 3297 | for ac_exec_ext in '' $ac_executable_extensions; do |
3186 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | | 3298 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3187 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | | 3299 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3188 | # Check for GNU ac_path_GREP and select it if it is found. | | 3300 | # Check for GNU ac_path_GREP and select it if it is found. |
3189 | # Check for GNU $ac_path_GREP | | 3301 | # Check for GNU $ac_path_GREP |
3190 | case `"$ac_path_GREP" --version 2>&1` in | | 3302 | case `"$ac_path_GREP" --version 2>&1` in |
3191 | *GNU*) | | 3303 | *GNU*) |
3192 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | | 3304 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3193 | *) | | 3305 | *) |
3194 | ac_count=0 | | 3306 | ac_count=0 |
3195 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | | 3307 | $as_echo_n 0123456789 >"conftest.in" |
3196 | while : | | 3308 | while : |
3197 | do | | 3309 | do |
3198 | cat "conftest.in" "conftest.in" >"conftest.tmp" | | 3310 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3199 | mv "conftest.tmp" "conftest.in" | | 3311 | mv "conftest.tmp" "conftest.in" |
3200 | cp "conftest.in" "conftest.nl" | | 3312 | cp "conftest.in" "conftest.nl" |
3201 | echo 'GREP' >> "conftest.nl" | | 3313 | $as_echo 'GREP' >> "conftest.nl" |
3202 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | | 3314 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3203 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | | 3315 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3204 | ac_count=`expr $ac_count + 1` | | 3316 | ac_count=`expr $ac_count + 1` |
3205 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | | 3317 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3206 | # Best one so far, save it but keep looking for a better one | | 3318 | # Best one so far, save it but keep looking for a better one |
3207 | ac_cv_path_GREP="$ac_path_GREP" | | 3319 | ac_cv_path_GREP="$ac_path_GREP" |
3208 | ac_path_GREP_max=$ac_count | | 3320 | ac_path_GREP_max=$ac_count |
3209 | fi | | 3321 | fi |
3210 | # 10*(2^10) chars as input seems more than enough | | 3322 | # 10*(2^10) chars as input seems more than enough |
3211 | test $ac_count -gt 10 && break | | 3323 | test $ac_count -gt 10 && break |
3212 | done | | 3324 | done |
3213 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | | 3325 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3214 | esac | | 3326 | esac |
3215 | | | 3327 | |
3216 | | | 3328 | $ac_path_GREP_found && break 3 |
3217 | $ac_path_GREP_found && break 3 | | 3329 | done |
3218 | done | | 3330 | done |
3219 | done | | 3331 | done |
3220 | | | | |
3221 | done | | | |
3222 | IFS=$as_save_IFS | | 3332 | IFS=$as_save_IFS |
3223 | | | 3333 | if test -z "$ac_cv_path_GREP"; then |
3224 | | | 3334 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
3225 | fi | | 3335 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3226 | | | | |
3227 | GREP="$ac_cv_path_GREP" | | | |
3228 | if test -z "$GREP"; then | | | |
3229 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | | | |
3230 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | | | |
3231 | { (exit 1); exit 1; }; } | | 3336 | { (exit 1); exit 1; }; } |
3232 | fi | | 3337 | fi |
3233 | | | | |
3234 | else | | 3338 | else |
3235 | ac_cv_path_GREP=$GREP | | 3339 | ac_cv_path_GREP=$GREP |
3236 | fi | | 3340 | fi |
3237 | | | 3341 | |
3238 | | | | |
3239 | fi | | 3342 | fi |
3240 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | | 3343 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3241 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | | 3344 | $as_echo "$ac_cv_path_GREP" >&6; } |
3242 | GREP="$ac_cv_path_GREP" | | 3345 | GREP="$ac_cv_path_GREP" |
3243 | | | 3346 | |
3244 | | | 3347 | |
3245 | { echo "$as_me:$LINENO: checking for egrep" >&5 | | 3348 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
3246 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | | 3349 | $as_echo_n "checking for egrep... " >&6; } |
3247 | if test "${ac_cv_path_EGREP+set}" = set; then | | 3350 | if test "${ac_cv_path_EGREP+set}" = set; then |
3248 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3351 | $as_echo_n "(cached) " >&6 |
3249 | else | | 3352 | else |
3250 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | | 3353 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3251 | then ac_cv_path_EGREP="$GREP -E" | | 3354 | then ac_cv_path_EGREP="$GREP -E" |
3252 | else | | 3355 | else |
3253 | # Extract the first word of "egrep" to use in msg output | | 3356 | if test -z "$EGREP"; then |
3254 | if test -z "$EGREP"; then | | | |
3255 | set dummy egrep; ac_prog_name=$2 | | | |
3256 | if test "${ac_cv_path_EGREP+set}" = set; then | | | |
3257 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | | |
3258 | else | | | |
3259 | ac_path_EGREP_found=false | | 3357 | ac_path_EGREP_found=false |
3260 | # Loop through the user's path and test for each of PROGNAME-LIST | | 3358 | # Loop through the user's path and test for each of PROGNAME-LIST |
3261 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 3359 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3262 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | | 3360 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3263 | do | | 3361 | do |
3264 | IFS=$as_save_IFS | | 3362 | IFS=$as_save_IFS |
3265 | test -z "$as_dir" && as_dir=. | | 3363 | test -z "$as_dir" && as_dir=. |
3266 | for ac_prog in egrep; do | | 3364 | for ac_prog in egrep; do |
3267 | for ac_exec_ext in '' $ac_executable_extensions; do | | 3365 | for ac_exec_ext in '' $ac_executable_extensions; do |
3268 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | | 3366 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3269 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | | 3367 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3270 | # Check for GNU ac_path_EGREP and select it if it is found. | | 3368 | # Check for GNU ac_path_EGREP and select it if it is found. |
3271 | # Check for GNU $ac_path_EGREP | | 3369 | # Check for GNU $ac_path_EGREP |
3272 | case `"$ac_path_EGREP" --version 2>&1` in | | 3370 | case `"$ac_path_EGREP" --version 2>&1` in |
3273 | *GNU*) | | 3371 | *GNU*) |
3274 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | | 3372 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3275 | *) | | 3373 | *) |
3276 | ac_count=0 | | 3374 | ac_count=0 |
3277 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | | 3375 | $as_echo_n 0123456789 >"conftest.in" |
3278 | while : | | 3376 | while : |
3279 | do | | 3377 | do |
3280 | cat "conftest.in" "conftest.in" >"conftest.tmp" | | 3378 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3281 | mv "conftest.tmp" "conftest.in" | | 3379 | mv "conftest.tmp" "conftest.in" |
3282 | cp "conftest.in" "conftest.nl" | | 3380 | cp "conftest.in" "conftest.nl" |
3283 | echo 'EGREP' >> "conftest.nl" | | 3381 | $as_echo 'EGREP' >> "conftest.nl" |
3284 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | | 3382 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3285 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | | 3383 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3286 | ac_count=`expr $ac_count + 1` | | 3384 | ac_count=`expr $ac_count + 1` |
3287 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | | 3385 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3288 | # Best one so far, save it but keep looking for a better one | | 3386 | # Best one so far, save it but keep looking for a better one |
3289 | ac_cv_path_EGREP="$ac_path_EGREP" | | 3387 | ac_cv_path_EGREP="$ac_path_EGREP" |
3290 | ac_path_EGREP_max=$ac_count | | 3388 | ac_path_EGREP_max=$ac_count |
3291 | fi | | 3389 | fi |
3292 | # 10*(2^10) chars as input seems more than enough | | 3390 | # 10*(2^10) chars as input seems more than enough |
3293 | test $ac_count -gt 10 && break | | 3391 | test $ac_count -gt 10 && break |
3294 | done | | 3392 | done |
3295 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | | 3393 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3296 | esac | | 3394 | esac |
3297 | | | 3395 | |
3298 | | | 3396 | $ac_path_EGREP_found && break 3 |
3299 | $ac_path_EGREP_found && break 3 | | 3397 | done |
3300 | done | | 3398 | done |
3301 | done | | 3399 | done |
3302 | | | | |
3303 | done | | | |
3304 | IFS=$as_save_IFS | | 3400 | IFS=$as_save_IFS |
3305 | | | 3401 | if test -z "$ac_cv_path_EGREP"; then |
3306 | | | 3402 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
3307 | fi | | 3403 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3308 | | | | |
3309 | EGREP="$ac_cv_path_EGREP" | | | |
3310 | if test -z "$EGREP"; then | | | |
3311 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | | | |
3312 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | | | |
3313 | { (exit 1); exit 1; }; } | | 3404 | { (exit 1); exit 1; }; } |
3314 | fi | | 3405 | fi |
3315 | | | | |
3316 | else | | 3406 | else |
3317 | ac_cv_path_EGREP=$EGREP | | 3407 | ac_cv_path_EGREP=$EGREP |
3318 | fi | | 3408 | fi |
3319 | | | 3409 | |
3320 | | | | |
3321 | fi | | 3410 | fi |
3322 | fi | | 3411 | fi |
3323 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | | 3412 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
3324 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | | 3413 | $as_echo "$ac_cv_path_EGREP" >&6; } |
3325 | EGREP="$ac_cv_path_EGREP" | | 3414 | EGREP="$ac_cv_path_EGREP" |
3326 | | | 3415 | |
3327 | | | 3416 | |
3328 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | | 3417 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3329 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | | 3418 | $as_echo_n "checking for ANSI C header files... " >&6; } |
3330 | if test "${ac_cv_header_stdc+set}" = set; then | | 3419 | if test "${ac_cv_header_stdc+set}" = set; then |
3331 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3420 | $as_echo_n "(cached) " >&6 |
3332 | else | | 3421 | else |
3333 | cat >conftest.$ac_ext <<_ACEOF | | 3422 | cat >conftest.$ac_ext <<_ACEOF |
3334 | /* confdefs.h. */ | | 3423 | /* confdefs.h. */ |
3335 | _ACEOF | | 3424 | _ACEOF |
3336 | cat confdefs.h >>conftest.$ac_ext | | 3425 | cat confdefs.h >>conftest.$ac_ext |
3337 | cat >>conftest.$ac_ext <<_ACEOF | | 3426 | cat >>conftest.$ac_ext <<_ACEOF |
3338 | /* end confdefs.h. */ | | 3427 | /* end confdefs.h. */ |
3339 | #include <stdlib.h> | | 3428 | #include <stdlib.h> |
3340 | #include <stdarg.h> | | 3429 | #include <stdarg.h> |
3341 | #include <string.h> | | 3430 | #include <string.h> |
3342 | #include <float.h> | | 3431 | #include <float.h> |
3343 | | | 3432 | |
3344 | int | | 3433 | int |
3345 | main () | | 3434 | main () |
3346 | { | | 3435 | { |
3347 | | | 3436 | |
3348 | ; | | 3437 | ; |
3349 | return 0; | | 3438 | return 0; |
3350 | } | | 3439 | } |
3351 | _ACEOF | | 3440 | _ACEOF |
3352 | rm -f conftest.$ac_objext | | 3441 | rm -f conftest.$ac_objext |
3353 | if { (ac_try="$ac_compile" | | 3442 | if { (ac_try="$ac_compile" |
3354 | case "(($ac_try" in | | 3443 | case "(($ac_try" in |
3355 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3444 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3356 | *) ac_try_echo=$ac_try;; | | 3445 | *) ac_try_echo=$ac_try;; |
3357 | esac | | 3446 | esac |
3358 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3447 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3448 | $as_echo "$ac_try_echo") >&5 |
3359 | (eval "$ac_compile") 2>conftest.er1 | | 3449 | (eval "$ac_compile") 2>conftest.er1 |
3360 | ac_status=$? | | 3450 | ac_status=$? |
3361 | grep -v '^ *+' conftest.er1 >conftest.err | | 3451 | grep -v '^ *+' conftest.er1 >conftest.err |
3362 | rm -f conftest.er1 | | 3452 | rm -f conftest.er1 |
3363 | cat conftest.err >&5 | | 3453 | cat conftest.err >&5 |
3364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3454 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3365 | (exit $ac_status); } && { | | 3455 | (exit $ac_status); } && { |
3366 | test -z "$ac_c_werror_flag" || | | 3456 | test -z "$ac_c_werror_flag" || |
3367 | test ! -s conftest.err | | 3457 | test ! -s conftest.err |
3368 | } && test -s conftest.$ac_objext; then | | 3458 | } && test -s conftest.$ac_objext; then |
3369 | ac_cv_header_stdc=yes | | 3459 | ac_cv_header_stdc=yes |
3370 | else | | 3460 | else |
3371 | echo "$as_me: failed program was:" >&5 | | 3461 | $as_echo "$as_me: failed program was:" >&5 |
3372 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3462 | sed 's/^/| /' conftest.$ac_ext >&5 |
3373 | | | 3463 | |
3374 | ac_cv_header_stdc=no | | 3464 | ac_cv_header_stdc=no |
3375 | fi | | 3465 | fi |
3376 | | | 3466 | |
3377 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 3467 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3378 | | | 3468 | |
3379 | if test $ac_cv_header_stdc = yes; then | | 3469 | if test $ac_cv_header_stdc = yes; then |
3380 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | | 3470 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3381 | cat >conftest.$ac_ext <<_ACEOF | | 3471 | cat >conftest.$ac_ext <<_ACEOF |
3382 | /* confdefs.h. */ | | 3472 | /* confdefs.h. */ |
3383 | _ACEOF | | 3473 | _ACEOF |
3384 | cat confdefs.h >>conftest.$ac_ext | | 3474 | cat confdefs.h >>conftest.$ac_ext |
| @@ -3450,436 +3540,452 @@ main () | | | @@ -3450,436 +3540,452 @@ main () |
3450 | for (i = 0; i < 256; i++) | | 3540 | for (i = 0; i < 256; i++) |
3451 | if (XOR (islower (i), ISLOWER (i)) | | 3541 | if (XOR (islower (i), ISLOWER (i)) |
3452 | || toupper (i) != TOUPPER (i)) | | 3542 | || toupper (i) != TOUPPER (i)) |
3453 | return 2; | | 3543 | return 2; |
3454 | return 0; | | 3544 | return 0; |
3455 | } | | 3545 | } |
3456 | _ACEOF | | 3546 | _ACEOF |
3457 | rm -f conftest$ac_exeext | | 3547 | rm -f conftest$ac_exeext |
3458 | if { (ac_try="$ac_link" | | 3548 | if { (ac_try="$ac_link" |
3459 | case "(($ac_try" in | | 3549 | case "(($ac_try" in |
3460 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3550 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3461 | *) ac_try_echo=$ac_try;; | | 3551 | *) ac_try_echo=$ac_try;; |
3462 | esac | | 3552 | esac |
3463 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3553 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3554 | $as_echo "$ac_try_echo") >&5 |
3464 | (eval "$ac_link") 2>&5 | | 3555 | (eval "$ac_link") 2>&5 |
3465 | ac_status=$? | | 3556 | ac_status=$? |
3466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3557 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3467 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | | 3558 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3468 | { (case "(($ac_try" in | | 3559 | { (case "(($ac_try" in |
3469 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3470 | *) ac_try_echo=$ac_try;; | | 3561 | *) ac_try_echo=$ac_try;; |
3471 | esac | | 3562 | esac |
3472 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3563 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3564 | $as_echo "$ac_try_echo") >&5 |
3473 | (eval "$ac_try") 2>&5 | | 3565 | (eval "$ac_try") 2>&5 |
3474 | ac_status=$? | | 3566 | ac_status=$? |
3475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3567 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3476 | (exit $ac_status); }; }; then | | 3568 | (exit $ac_status); }; }; then |
3477 | : | | 3569 | : |
3478 | else | | 3570 | else |
3479 | echo "$as_me: program exited with status $ac_status" >&5 | | 3571 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
3480 | echo "$as_me: failed program was:" >&5 | | 3572 | $as_echo "$as_me: failed program was:" >&5 |
3481 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3573 | sed 's/^/| /' conftest.$ac_ext >&5 |
3482 | | | 3574 | |
3483 | ( exit $ac_status ) | | 3575 | ( exit $ac_status ) |
3484 | ac_cv_header_stdc=no | | 3576 | ac_cv_header_stdc=no |
3485 | fi | | 3577 | fi |
| | | 3578 | rm -rf conftest.dSYM |
3486 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | 3579 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3487 | fi | | 3580 | fi |
3488 | | | 3581 | |
3489 | | | 3582 | |
3490 | fi | | 3583 | fi |
3491 | fi | | 3584 | fi |
3492 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | | 3585 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3493 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | | 3586 | $as_echo "$ac_cv_header_stdc" >&6; } |
3494 | if test $ac_cv_header_stdc = yes; then | | 3587 | if test $ac_cv_header_stdc = yes; then |
3495 | | | 3588 | |
3496 | cat >>confdefs.h <<\_ACEOF | | 3589 | cat >>confdefs.h <<\_ACEOF |
3497 | #define STDC_HEADERS 1 | | 3590 | #define STDC_HEADERS 1 |
3498 | _ACEOF | | 3591 | _ACEOF |
3499 | | | 3592 | |
3500 | fi | | 3593 | fi |
3501 | | | 3594 | |
3502 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | | 3595 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3503 | | | 3596 | |
3504 | | | 3597 | |
3505 | | | 3598 | |
3506 | | | 3599 | |
3507 | | | 3600 | |
3508 | | | 3601 | |
3509 | | | 3602 | |
3510 | | | 3603 | |
3511 | | | 3604 | |
3512 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | | 3605 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3513 | inttypes.h stdint.h unistd.h | | 3606 | inttypes.h stdint.h unistd.h |
3514 | do | | 3607 | do |
3515 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 3608 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3516 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | | 3609 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3517 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | | 3610 | $as_echo_n "checking for $ac_header... " >&6; } |
3518 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 3611 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3519 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3612 | $as_echo_n "(cached) " >&6 |
3520 | else | | 3613 | else |
3521 | cat >conftest.$ac_ext <<_ACEOF | | 3614 | cat >conftest.$ac_ext <<_ACEOF |
3522 | /* confdefs.h. */ | | 3615 | /* confdefs.h. */ |
3523 | _ACEOF | | 3616 | _ACEOF |
3524 | cat confdefs.h >>conftest.$ac_ext | | 3617 | cat confdefs.h >>conftest.$ac_ext |
3525 | cat >>conftest.$ac_ext <<_ACEOF | | 3618 | cat >>conftest.$ac_ext <<_ACEOF |
3526 | /* end confdefs.h. */ | | 3619 | /* end confdefs.h. */ |
3527 | $ac_includes_default | | 3620 | $ac_includes_default |
3528 | | | 3621 | |
3529 | #include <$ac_header> | | 3622 | #include <$ac_header> |
3530 | _ACEOF | | 3623 | _ACEOF |
3531 | rm -f conftest.$ac_objext | | 3624 | rm -f conftest.$ac_objext |
3532 | if { (ac_try="$ac_compile" | | 3625 | if { (ac_try="$ac_compile" |
3533 | case "(($ac_try" in | | 3626 | case "(($ac_try" in |
3534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3627 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3535 | *) ac_try_echo=$ac_try;; | | 3628 | *) ac_try_echo=$ac_try;; |
3536 | esac | | 3629 | esac |
3537 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3630 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3631 | $as_echo "$ac_try_echo") >&5 |
3538 | (eval "$ac_compile") 2>conftest.er1 | | 3632 | (eval "$ac_compile") 2>conftest.er1 |
3539 | ac_status=$? | | 3633 | ac_status=$? |
3540 | grep -v '^ *+' conftest.er1 >conftest.err | | 3634 | grep -v '^ *+' conftest.er1 >conftest.err |
3541 | rm -f conftest.er1 | | 3635 | rm -f conftest.er1 |
3542 | cat conftest.err >&5 | | 3636 | cat conftest.err >&5 |
3543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3637 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3544 | (exit $ac_status); } && { | | 3638 | (exit $ac_status); } && { |
3545 | test -z "$ac_c_werror_flag" || | | 3639 | test -z "$ac_c_werror_flag" || |
3546 | test ! -s conftest.err | | 3640 | test ! -s conftest.err |
3547 | } && test -s conftest.$ac_objext; then | | 3641 | } && test -s conftest.$ac_objext; then |
3548 | eval "$as_ac_Header=yes" | | 3642 | eval "$as_ac_Header=yes" |
3549 | else | | 3643 | else |
3550 | echo "$as_me: failed program was:" >&5 | | 3644 | $as_echo "$as_me: failed program was:" >&5 |
3551 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3645 | sed 's/^/| /' conftest.$ac_ext >&5 |
3552 | | | 3646 | |
3553 | eval "$as_ac_Header=no" | | 3647 | eval "$as_ac_Header=no" |
3554 | fi | | 3648 | fi |
3555 | | | 3649 | |
3556 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 3650 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3557 | fi | | 3651 | fi |
3558 | ac_res=`eval echo '${'$as_ac_Header'}'` | | 3652 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
3559 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | | 3653 | $as_echo "$as_val"'` |
3560 | echo "${ECHO_T}$ac_res" >&6; } | | 3654 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
3561 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | | 3655 | $as_echo "$ac_res" >&6; } |
| | | 3656 | if test `eval 'as_val=${'$as_ac_Header'} |
| | | 3657 | $as_echo "$as_val"'` = yes; then |
3562 | cat >>confdefs.h <<_ACEOF | | 3658 | cat >>confdefs.h <<_ACEOF |
3563 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 3659 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3564 | _ACEOF | | 3660 | _ACEOF |
3565 | | | 3661 | |
3566 | fi | | 3662 | fi |
3567 | | | 3663 | |
3568 | done | | 3664 | done |
3569 | | | 3665 | |
3570 | | | 3666 | |
3571 | | | 3667 | |
3572 | | | 3668 | |
3573 | | | 3669 | |
3574 | | | 3670 | |
3575 | | | 3671 | |
3576 | for ac_header in errno.h fcntl.h inttypes.h locale.h stdlib.h | | 3672 | for ac_header in errno.h fcntl.h inttypes.h locale.h stdlib.h |
3577 | do | | 3673 | do |
3578 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 3674 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3579 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 3675 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3580 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | | 3676 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3581 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | | 3677 | $as_echo_n "checking for $ac_header... " >&6; } |
3582 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 3678 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3583 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3679 | $as_echo_n "(cached) " >&6 |
3584 | fi | | 3680 | fi |
3585 | ac_res=`eval echo '${'$as_ac_Header'}'` | | 3681 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
3586 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | | 3682 | $as_echo "$as_val"'` |
3587 | echo "${ECHO_T}$ac_res" >&6; } | | 3683 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 3684 | $as_echo "$ac_res" >&6; } |
3588 | else | | 3685 | else |
3589 | # Is the header compilable? | | 3686 | # Is the header compilable? |
3590 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | | 3687 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
3591 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | | 3688 | $as_echo_n "checking $ac_header usability... " >&6; } |
3592 | cat >conftest.$ac_ext <<_ACEOF | | 3689 | cat >conftest.$ac_ext <<_ACEOF |
3593 | /* confdefs.h. */ | | 3690 | /* confdefs.h. */ |
3594 | _ACEOF | | 3691 | _ACEOF |
3595 | cat confdefs.h >>conftest.$ac_ext | | 3692 | cat confdefs.h >>conftest.$ac_ext |
3596 | cat >>conftest.$ac_ext <<_ACEOF | | 3693 | cat >>conftest.$ac_ext <<_ACEOF |
3597 | /* end confdefs.h. */ | | 3694 | /* end confdefs.h. */ |
3598 | $ac_includes_default | | 3695 | $ac_includes_default |
3599 | #include <$ac_header> | | 3696 | #include <$ac_header> |
3600 | _ACEOF | | 3697 | _ACEOF |
3601 | rm -f conftest.$ac_objext | | 3698 | rm -f conftest.$ac_objext |
3602 | if { (ac_try="$ac_compile" | | 3699 | if { (ac_try="$ac_compile" |
3603 | case "(($ac_try" in | | 3700 | case "(($ac_try" in |
3604 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3701 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3605 | *) ac_try_echo=$ac_try;; | | 3702 | *) ac_try_echo=$ac_try;; |
3606 | esac | | 3703 | esac |
3607 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3704 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3705 | $as_echo "$ac_try_echo") >&5 |
3608 | (eval "$ac_compile") 2>conftest.er1 | | 3706 | (eval "$ac_compile") 2>conftest.er1 |
3609 | ac_status=$? | | 3707 | ac_status=$? |
3610 | grep -v '^ *+' conftest.er1 >conftest.err | | 3708 | grep -v '^ *+' conftest.er1 >conftest.err |
3611 | rm -f conftest.er1 | | 3709 | rm -f conftest.er1 |
3612 | cat conftest.err >&5 | | 3710 | cat conftest.err >&5 |
3613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3711 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3614 | (exit $ac_status); } && { | | 3712 | (exit $ac_status); } && { |
3615 | test -z "$ac_c_werror_flag" || | | 3713 | test -z "$ac_c_werror_flag" || |
3616 | test ! -s conftest.err | | 3714 | test ! -s conftest.err |
3617 | } && test -s conftest.$ac_objext; then | | 3715 | } && test -s conftest.$ac_objext; then |
3618 | ac_header_compiler=yes | | 3716 | ac_header_compiler=yes |
3619 | else | | 3717 | else |
3620 | echo "$as_me: failed program was:" >&5 | | 3718 | $as_echo "$as_me: failed program was:" >&5 |
3621 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3719 | sed 's/^/| /' conftest.$ac_ext >&5 |
3622 | | | 3720 | |
3623 | ac_header_compiler=no | | 3721 | ac_header_compiler=no |
3624 | fi | | 3722 | fi |
3625 | | | 3723 | |
3626 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 3724 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3627 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | | 3725 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3628 | echo "${ECHO_T}$ac_header_compiler" >&6; } | | 3726 | $as_echo "$ac_header_compiler" >&6; } |
3629 | | | 3727 | |
3630 | # Is the header present? | | 3728 | # Is the header present? |
3631 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | | 3729 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
3632 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | | 3730 | $as_echo_n "checking $ac_header presence... " >&6; } |
3633 | cat >conftest.$ac_ext <<_ACEOF | | 3731 | cat >conftest.$ac_ext <<_ACEOF |
3634 | /* confdefs.h. */ | | 3732 | /* confdefs.h. */ |
3635 | _ACEOF | | 3733 | _ACEOF |
3636 | cat confdefs.h >>conftest.$ac_ext | | 3734 | cat confdefs.h >>conftest.$ac_ext |
3637 | cat >>conftest.$ac_ext <<_ACEOF | | 3735 | cat >>conftest.$ac_ext <<_ACEOF |
3638 | /* end confdefs.h. */ | | 3736 | /* end confdefs.h. */ |
3639 | #include <$ac_header> | | 3737 | #include <$ac_header> |
3640 | _ACEOF | | 3738 | _ACEOF |
3641 | if { (ac_try="$ac_cpp conftest.$ac_ext" | | 3739 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3642 | case "(($ac_try" in | | 3740 | case "(($ac_try" in |
3643 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3741 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3644 | *) ac_try_echo=$ac_try;; | | 3742 | *) ac_try_echo=$ac_try;; |
3645 | esac | | 3743 | esac |
3646 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3744 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3745 | $as_echo "$ac_try_echo") >&5 |
3647 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | | 3746 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3648 | ac_status=$? | | 3747 | ac_status=$? |
3649 | grep -v '^ *+' conftest.er1 >conftest.err | | 3748 | grep -v '^ *+' conftest.er1 >conftest.err |
3650 | rm -f conftest.er1 | | 3749 | rm -f conftest.er1 |
3651 | cat conftest.err >&5 | | 3750 | cat conftest.err >&5 |
3652 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3751 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3653 | (exit $ac_status); } >/dev/null && { | | 3752 | (exit $ac_status); } >/dev/null && { |
3654 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | | 3753 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3655 | test ! -s conftest.err | | 3754 | test ! -s conftest.err |
3656 | }; then | | 3755 | }; then |
3657 | ac_header_preproc=yes | | 3756 | ac_header_preproc=yes |
3658 | else | | 3757 | else |
3659 | echo "$as_me: failed program was:" >&5 | | 3758 | $as_echo "$as_me: failed program was:" >&5 |
3660 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3759 | sed 's/^/| /' conftest.$ac_ext >&5 |
3661 | | | 3760 | |
3662 | ac_header_preproc=no | | 3761 | ac_header_preproc=no |
3663 | fi | | 3762 | fi |
3664 | | | 3763 | |
3665 | rm -f conftest.err conftest.$ac_ext | | 3764 | rm -f conftest.err conftest.$ac_ext |
3666 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | | 3765 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3667 | echo "${ECHO_T}$ac_header_preproc" >&6; } | | 3766 | $as_echo "$ac_header_preproc" >&6; } |
3668 | | | 3767 | |
3669 | # So? What about this header? | | 3768 | # So? What about this header? |
3670 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | | 3769 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
3671 | yes:no: ) | | 3770 | yes:no: ) |
3672 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | | 3771 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
3673 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | | 3772 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3674 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | | 3773 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
3675 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | | 3774 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
3676 | ac_header_preproc=yes | | 3775 | ac_header_preproc=yes |
3677 | ;; | | 3776 | ;; |
3678 | no:yes:* ) | | 3777 | no:yes:* ) |
3679 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | | 3778 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
3680 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | | 3779 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
3681 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | | 3780 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
3682 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | | 3781 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
3683 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | | 3782 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
3684 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | | 3783 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
3685 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | | 3784 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
3686 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | | 3785 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
3687 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | 3786 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
3688 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | | 3787 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
3689 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | | 3788 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
3690 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | | 3789 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
3691 | ( cat <<\_ASBOX | | 3790 | ( cat <<\_ASBOX |
3692 | ## ----------------------------- ## | | 3791 | ## ----------------------------- ## |
3693 | ## Report this to agc@netbsd.org ## | | 3792 | ## Report this to agc@netbsd.org ## |
3694 | ## ----------------------------- ## | | 3793 | ## ----------------------------- ## |
3695 | _ASBOX | | 3794 | _ASBOX |
3696 | ) | sed "s/^/$as_me: WARNING: /" >&2 | | 3795 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
3697 | ;; | | 3796 | ;; |
3698 | esac | | 3797 | esac |
3699 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | | 3798 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3700 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | | 3799 | $as_echo_n "checking for $ac_header... " >&6; } |
3701 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 3800 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3702 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3801 | $as_echo_n "(cached) " >&6 |
3703 | else | | 3802 | else |
3704 | eval "$as_ac_Header=\$ac_header_preproc" | | 3803 | eval "$as_ac_Header=\$ac_header_preproc" |
3705 | fi | | 3804 | fi |
3706 | ac_res=`eval echo '${'$as_ac_Header'}'` | | 3805 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
3707 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | | 3806 | $as_echo "$as_val"'` |
3708 | echo "${ECHO_T}$ac_res" >&6; } | | 3807 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 3808 | $as_echo "$ac_res" >&6; } |
3709 | | | 3809 | |
3710 | fi | | 3810 | fi |
3711 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | | 3811 | if test `eval 'as_val=${'$as_ac_Header'} |
| | | 3812 | $as_echo "$as_val"'` = yes; then |
3712 | cat >>confdefs.h <<_ACEOF | | 3813 | cat >>confdefs.h <<_ACEOF |
3713 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 3814 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3714 | _ACEOF | | 3815 | _ACEOF |
3715 | | | 3816 | |
3716 | fi | | 3817 | fi |
3717 | | | 3818 | |
3718 | done | | 3819 | done |
3719 | | | 3820 | |
3720 | | | 3821 | |
3721 | | | 3822 | |
3722 | | | 3823 | |
3723 | for ac_header in sys/cdefs.h sys/file.h sys/param.h | | 3824 | for ac_header in sys/cdefs.h sys/file.h sys/param.h |
3724 | do | | 3825 | do |
3725 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 3826 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3726 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 3827 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3727 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | | 3828 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3728 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | | 3829 | $as_echo_n "checking for $ac_header... " >&6; } |
3729 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 3830 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3730 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3831 | $as_echo_n "(cached) " >&6 |
3731 | fi | | 3832 | fi |
3732 | ac_res=`eval echo '${'$as_ac_Header'}'` | | 3833 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
3733 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | | 3834 | $as_echo "$as_val"'` |
3734 | echo "${ECHO_T}$ac_res" >&6; } | | 3835 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 3836 | $as_echo "$ac_res" >&6; } |
3735 | else | | 3837 | else |
3736 | # Is the header compilable? | | 3838 | # Is the header compilable? |
3737 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | | 3839 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
3738 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | | 3840 | $as_echo_n "checking $ac_header usability... " >&6; } |
3739 | cat >conftest.$ac_ext <<_ACEOF | | 3841 | cat >conftest.$ac_ext <<_ACEOF |
3740 | /* confdefs.h. */ | | 3842 | /* confdefs.h. */ |
3741 | _ACEOF | | 3843 | _ACEOF |
3742 | cat confdefs.h >>conftest.$ac_ext | | 3844 | cat confdefs.h >>conftest.$ac_ext |
3743 | cat >>conftest.$ac_ext <<_ACEOF | | 3845 | cat >>conftest.$ac_ext <<_ACEOF |
3744 | /* end confdefs.h. */ | | 3846 | /* end confdefs.h. */ |
3745 | $ac_includes_default | | 3847 | $ac_includes_default |
3746 | #include <$ac_header> | | 3848 | #include <$ac_header> |
3747 | _ACEOF | | 3849 | _ACEOF |
3748 | rm -f conftest.$ac_objext | | 3850 | rm -f conftest.$ac_objext |
3749 | if { (ac_try="$ac_compile" | | 3851 | if { (ac_try="$ac_compile" |
3750 | case "(($ac_try" in | | 3852 | case "(($ac_try" in |
3751 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3853 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3752 | *) ac_try_echo=$ac_try;; | | 3854 | *) ac_try_echo=$ac_try;; |
3753 | esac | | 3855 | esac |
3754 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3856 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3857 | $as_echo "$ac_try_echo") >&5 |
3755 | (eval "$ac_compile") 2>conftest.er1 | | 3858 | (eval "$ac_compile") 2>conftest.er1 |
3756 | ac_status=$? | | 3859 | ac_status=$? |
3757 | grep -v '^ *+' conftest.er1 >conftest.err | | 3860 | grep -v '^ *+' conftest.er1 >conftest.err |
3758 | rm -f conftest.er1 | | 3861 | rm -f conftest.er1 |
3759 | cat conftest.err >&5 | | 3862 | cat conftest.err >&5 |
3760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3863 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3761 | (exit $ac_status); } && { | | 3864 | (exit $ac_status); } && { |
3762 | test -z "$ac_c_werror_flag" || | | 3865 | test -z "$ac_c_werror_flag" || |
3763 | test ! -s conftest.err | | 3866 | test ! -s conftest.err |
3764 | } && test -s conftest.$ac_objext; then | | 3867 | } && test -s conftest.$ac_objext; then |
3765 | ac_header_compiler=yes | | 3868 | ac_header_compiler=yes |
3766 | else | | 3869 | else |
3767 | echo "$as_me: failed program was:" >&5 | | 3870 | $as_echo "$as_me: failed program was:" >&5 |
3768 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3871 | sed 's/^/| /' conftest.$ac_ext >&5 |
3769 | | | 3872 | |
3770 | ac_header_compiler=no | | 3873 | ac_header_compiler=no |
3771 | fi | | 3874 | fi |
3772 | | | 3875 | |
3773 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 3876 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3774 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | | 3877 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
3775 | echo "${ECHO_T}$ac_header_compiler" >&6; } | | 3878 | $as_echo "$ac_header_compiler" >&6; } |
3776 | | | 3879 | |
3777 | # Is the header present? | | 3880 | # Is the header present? |
3778 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | | 3881 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
3779 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | | 3882 | $as_echo_n "checking $ac_header presence... " >&6; } |
3780 | cat >conftest.$ac_ext <<_ACEOF | | 3883 | cat >conftest.$ac_ext <<_ACEOF |
3781 | /* confdefs.h. */ | | 3884 | /* confdefs.h. */ |
3782 | _ACEOF | | 3885 | _ACEOF |
3783 | cat confdefs.h >>conftest.$ac_ext | | 3886 | cat confdefs.h >>conftest.$ac_ext |
3784 | cat >>conftest.$ac_ext <<_ACEOF | | 3887 | cat >>conftest.$ac_ext <<_ACEOF |
3785 | /* end confdefs.h. */ | | 3888 | /* end confdefs.h. */ |
3786 | #include <$ac_header> | | 3889 | #include <$ac_header> |
3787 | _ACEOF | | 3890 | _ACEOF |
3788 | if { (ac_try="$ac_cpp conftest.$ac_ext" | | 3891 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3789 | case "(($ac_try" in | | 3892 | case "(($ac_try" in |
3790 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3893 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3791 | *) ac_try_echo=$ac_try;; | | 3894 | *) ac_try_echo=$ac_try;; |
3792 | esac | | 3895 | esac |
3793 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 3896 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3897 | $as_echo "$ac_try_echo") >&5 |
3794 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | | 3898 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3795 | ac_status=$? | | 3899 | ac_status=$? |
3796 | grep -v '^ *+' conftest.er1 >conftest.err | | 3900 | grep -v '^ *+' conftest.er1 >conftest.err |
3797 | rm -f conftest.er1 | | 3901 | rm -f conftest.er1 |
3798 | cat conftest.err >&5 | | 3902 | cat conftest.err >&5 |
3799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 3903 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3800 | (exit $ac_status); } >/dev/null && { | | 3904 | (exit $ac_status); } >/dev/null && { |
3801 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | | 3905 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3802 | test ! -s conftest.err | | 3906 | test ! -s conftest.err |
3803 | }; then | | 3907 | }; then |
3804 | ac_header_preproc=yes | | 3908 | ac_header_preproc=yes |
3805 | else | | 3909 | else |
3806 | echo "$as_me: failed program was:" >&5 | | 3910 | $as_echo "$as_me: failed program was:" >&5 |
3807 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3911 | sed 's/^/| /' conftest.$ac_ext >&5 |
3808 | | | 3912 | |
3809 | ac_header_preproc=no | | 3913 | ac_header_preproc=no |
3810 | fi | | 3914 | fi |
3811 | | | 3915 | |
3812 | rm -f conftest.err conftest.$ac_ext | | 3916 | rm -f conftest.err conftest.$ac_ext |
3813 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | | 3917 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3814 | echo "${ECHO_T}$ac_header_preproc" >&6; } | | 3918 | $as_echo "$ac_header_preproc" >&6; } |
3815 | | | 3919 | |
3816 | # So? What about this header? | | 3920 | # So? What about this header? |
3817 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | | 3921 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
3818 | yes:no: ) | | 3922 | yes:no: ) |
3819 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | | 3923 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
3820 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | | 3924 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3821 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | | 3925 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
3822 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | | 3926 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
3823 | ac_header_preproc=yes | | 3927 | ac_header_preproc=yes |
3824 | ;; | | 3928 | ;; |
3825 | no:yes:* ) | | 3929 | no:yes:* ) |
3826 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | | 3930 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
3827 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | | 3931 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
3828 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | | 3932 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
3829 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | | 3933 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
3830 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | | 3934 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
3831 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | | 3935 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
3832 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | | 3936 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
3833 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | | 3937 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
3834 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | | 3938 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
3835 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | | 3939 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
3836 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | | 3940 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
3837 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | | 3941 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
3838 | ( cat <<\_ASBOX | | 3942 | ( cat <<\_ASBOX |
3839 | ## ----------------------------- ## | | 3943 | ## ----------------------------- ## |
3840 | ## Report this to agc@netbsd.org ## | | 3944 | ## Report this to agc@netbsd.org ## |
3841 | ## ----------------------------- ## | | 3945 | ## ----------------------------- ## |
3842 | _ASBOX | | 3946 | _ASBOX |
3843 | ) | sed "s/^/$as_me: WARNING: /" >&2 | | 3947 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
3844 | ;; | | 3948 | ;; |
3845 | esac | | 3949 | esac |
3846 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | | 3950 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3847 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | | 3951 | $as_echo_n "checking for $ac_header... " >&6; } |
3848 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 3952 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3849 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3953 | $as_echo_n "(cached) " >&6 |
3850 | else | | 3954 | else |
3851 | eval "$as_ac_Header=\$ac_header_preproc" | | 3955 | eval "$as_ac_Header=\$ac_header_preproc" |
3852 | fi | | 3956 | fi |
3853 | ac_res=`eval echo '${'$as_ac_Header'}'` | | 3957 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
3854 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | | 3958 | $as_echo "$as_val"'` |
3855 | echo "${ECHO_T}$ac_res" >&6; } | | 3959 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 3960 | $as_echo "$ac_res" >&6; } |
3856 | | | 3961 | |
3857 | fi | | 3962 | fi |
3858 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | | 3963 | if test `eval 'as_val=${'$as_ac_Header'} |
| | | 3964 | $as_echo "$as_val"'` = yes; then |
3859 | cat >>confdefs.h <<_ACEOF | | 3965 | cat >>confdefs.h <<_ACEOF |
3860 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 3966 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3861 | _ACEOF | | 3967 | _ACEOF |
3862 | | | 3968 | |
3863 | fi | | 3969 | fi |
3864 | | | 3970 | |
3865 | done | | 3971 | done |
3866 | | | 3972 | |
3867 | | | 3973 | |
3868 | | | 3974 | |
3869 | { echo "$as_me:$LINENO: checking for uint8_t" >&5 | | 3975 | { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5 |
3870 | echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; } | | 3976 | $as_echo_n "checking for uint8_t... " >&6; } |
3871 | if test "${ac_cv_c_uint8_t+set}" = set; then | | 3977 | if test "${ac_cv_c_uint8_t+set}" = set; then |
3872 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 3978 | $as_echo_n "(cached) " >&6 |
3873 | else | | 3979 | else |
3874 | ac_cv_c_uint8_t=no | | 3980 | ac_cv_c_uint8_t=no |
3875 | for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \ | | 3981 | for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \ |
3876 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | | 3982 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
3877 | cat >conftest.$ac_ext <<_ACEOF | | 3983 | cat >conftest.$ac_ext <<_ACEOF |
3878 | /* confdefs.h. */ | | 3984 | /* confdefs.h. */ |
3879 | _ACEOF | | 3985 | _ACEOF |
3880 | cat confdefs.h >>conftest.$ac_ext | | 3986 | cat confdefs.h >>conftest.$ac_ext |
3881 | cat >>conftest.$ac_ext <<_ACEOF | | 3987 | cat >>conftest.$ac_ext <<_ACEOF |
3882 | /* end confdefs.h. */ | | 3988 | /* end confdefs.h. */ |
3883 | $ac_includes_default | | 3989 | $ac_includes_default |
3884 | int | | 3990 | int |
3885 | main () | | 3991 | main () |
| @@ -3887,75 +3993,76 @@ main () | | | @@ -3887,75 +3993,76 @@ main () |
3887 | static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; | | 3993 | static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; |
3888 | test_array [0] = 0 | | 3994 | test_array [0] = 0 |
3889 | | | 3995 | |
3890 | ; | | 3996 | ; |
3891 | return 0; | | 3997 | return 0; |
3892 | } | | 3998 | } |
3893 | _ACEOF | | 3999 | _ACEOF |
3894 | rm -f conftest.$ac_objext | | 4000 | rm -f conftest.$ac_objext |
3895 | if { (ac_try="$ac_compile" | | 4001 | if { (ac_try="$ac_compile" |
3896 | case "(($ac_try" in | | 4002 | case "(($ac_try" in |
3897 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4003 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3898 | *) ac_try_echo=$ac_try;; | | 4004 | *) ac_try_echo=$ac_try;; |
3899 | esac | | 4005 | esac |
3900 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4006 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4007 | $as_echo "$ac_try_echo") >&5 |
3901 | (eval "$ac_compile") 2>conftest.er1 | | 4008 | (eval "$ac_compile") 2>conftest.er1 |
3902 | ac_status=$? | | 4009 | ac_status=$? |
3903 | grep -v '^ *+' conftest.er1 >conftest.err | | 4010 | grep -v '^ *+' conftest.er1 >conftest.err |
3904 | rm -f conftest.er1 | | 4011 | rm -f conftest.er1 |
3905 | cat conftest.err >&5 | | 4012 | cat conftest.err >&5 |
3906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4013 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3907 | (exit $ac_status); } && { | | 4014 | (exit $ac_status); } && { |
3908 | test -z "$ac_c_werror_flag" || | | 4015 | test -z "$ac_c_werror_flag" || |
3909 | test ! -s conftest.err | | 4016 | test ! -s conftest.err |
3910 | } && test -s conftest.$ac_objext; then | | 4017 | } && test -s conftest.$ac_objext; then |
3911 | case $ac_type in | | 4018 | case $ac_type in |
3912 | uint8_t) ac_cv_c_uint8_t=yes ;; | | 4019 | uint8_t) ac_cv_c_uint8_t=yes ;; |
3913 | *) ac_cv_c_uint8_t=$ac_type ;; | | 4020 | *) ac_cv_c_uint8_t=$ac_type ;; |
3914 | esac | | 4021 | esac |
3915 | | | 4022 | |
3916 | else | | 4023 | else |
3917 | echo "$as_me: failed program was:" >&5 | | 4024 | $as_echo "$as_me: failed program was:" >&5 |
3918 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4025 | sed 's/^/| /' conftest.$ac_ext >&5 |
3919 | | | 4026 | |
3920 | | | 4027 | |
3921 | fi | | 4028 | fi |
3922 | | | 4029 | |
3923 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4030 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3924 | test "$ac_cv_c_uint8_t" != no && break | | 4031 | test "$ac_cv_c_uint8_t" != no && break |
3925 | done | | 4032 | done |
3926 | fi | | 4033 | fi |
3927 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5 | | 4034 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5 |
3928 | echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; } | | 4035 | $as_echo "$ac_cv_c_uint8_t" >&6; } |
3929 | case $ac_cv_c_uint8_t in #( | | 4036 | case $ac_cv_c_uint8_t in #( |
3930 | no|yes) ;; #( | | 4037 | no|yes) ;; #( |
3931 | *) | | 4038 | *) |
3932 | | | 4039 | |
3933 | cat >>confdefs.h <<\_ACEOF | | 4040 | cat >>confdefs.h <<\_ACEOF |
3934 | #define _UINT8_T 1 | | 4041 | #define _UINT8_T 1 |
3935 | _ACEOF | | 4042 | _ACEOF |
3936 | | | 4043 | |
3937 | | | 4044 | |
3938 | cat >>confdefs.h <<_ACEOF | | 4045 | cat >>confdefs.h <<_ACEOF |
3939 | #define uint8_t $ac_cv_c_uint8_t | | 4046 | #define uint8_t $ac_cv_c_uint8_t |
3940 | _ACEOF | | 4047 | _ACEOF |
3941 | ;; | | 4048 | ;; |
3942 | esac | | 4049 | esac |
3943 | | | 4050 | |
3944 | | | 4051 | |
3945 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 | | 4052 | { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5 |
3946 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } | | 4053 | $as_echo_n "checking for uint16_t... " >&6; } |
3947 | if test "${ac_cv_c_uint16_t+set}" = set; then | | 4054 | if test "${ac_cv_c_uint16_t+set}" = set; then |
3948 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 4055 | $as_echo_n "(cached) " >&6 |
3949 | else | | 4056 | else |
3950 | ac_cv_c_uint16_t=no | | 4057 | ac_cv_c_uint16_t=no |
3951 | for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ | | 4058 | for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ |
3952 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | | 4059 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
3953 | cat >conftest.$ac_ext <<_ACEOF | | 4060 | cat >conftest.$ac_ext <<_ACEOF |
3954 | /* confdefs.h. */ | | 4061 | /* confdefs.h. */ |
3955 | _ACEOF | | 4062 | _ACEOF |
3956 | cat confdefs.h >>conftest.$ac_ext | | 4063 | cat confdefs.h >>conftest.$ac_ext |
3957 | cat >>conftest.$ac_ext <<_ACEOF | | 4064 | cat >>conftest.$ac_ext <<_ACEOF |
3958 | /* end confdefs.h. */ | | 4065 | /* end confdefs.h. */ |
3959 | $ac_includes_default | | 4066 | $ac_includes_default |
3960 | int | | 4067 | int |
3961 | main () | | 4068 | main () |
| @@ -3963,71 +4070,72 @@ main () | | | @@ -3963,71 +4070,72 @@ main () |
3963 | static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; | | 4070 | static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; |
3964 | test_array [0] = 0 | | 4071 | test_array [0] = 0 |
3965 | | | 4072 | |
3966 | ; | | 4073 | ; |
3967 | return 0; | | 4074 | return 0; |
3968 | } | | 4075 | } |
3969 | _ACEOF | | 4076 | _ACEOF |
3970 | rm -f conftest.$ac_objext | | 4077 | rm -f conftest.$ac_objext |
3971 | if { (ac_try="$ac_compile" | | 4078 | if { (ac_try="$ac_compile" |
3972 | case "(($ac_try" in | | 4079 | case "(($ac_try" in |
3973 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3974 | *) ac_try_echo=$ac_try;; | | 4081 | *) ac_try_echo=$ac_try;; |
3975 | esac | | 4082 | esac |
3976 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4083 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4084 | $as_echo "$ac_try_echo") >&5 |
3977 | (eval "$ac_compile") 2>conftest.er1 | | 4085 | (eval "$ac_compile") 2>conftest.er1 |
3978 | ac_status=$? | | 4086 | ac_status=$? |
3979 | grep -v '^ *+' conftest.er1 >conftest.err | | 4087 | grep -v '^ *+' conftest.er1 >conftest.err |
3980 | rm -f conftest.er1 | | 4088 | rm -f conftest.er1 |
3981 | cat conftest.err >&5 | | 4089 | cat conftest.err >&5 |
3982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4090 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3983 | (exit $ac_status); } && { | | 4091 | (exit $ac_status); } && { |
3984 | test -z "$ac_c_werror_flag" || | | 4092 | test -z "$ac_c_werror_flag" || |
3985 | test ! -s conftest.err | | 4093 | test ! -s conftest.err |
3986 | } && test -s conftest.$ac_objext; then | | 4094 | } && test -s conftest.$ac_objext; then |
3987 | case $ac_type in | | 4095 | case $ac_type in |
3988 | uint16_t) ac_cv_c_uint16_t=yes ;; | | 4096 | uint16_t) ac_cv_c_uint16_t=yes ;; |
3989 | *) ac_cv_c_uint16_t=$ac_type ;; | | 4097 | *) ac_cv_c_uint16_t=$ac_type ;; |
3990 | esac | | 4098 | esac |
3991 | | | 4099 | |
3992 | else | | 4100 | else |
3993 | echo "$as_me: failed program was:" >&5 | | 4101 | $as_echo "$as_me: failed program was:" >&5 |
3994 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4102 | sed 's/^/| /' conftest.$ac_ext >&5 |
3995 | | | 4103 | |
3996 | | | 4104 | |
3997 | fi | | 4105 | fi |
3998 | | | 4106 | |
3999 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4107 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4000 | test "$ac_cv_c_uint16_t" != no && break | | 4108 | test "$ac_cv_c_uint16_t" != no && break |
4001 | done | | 4109 | done |
4002 | fi | | 4110 | fi |
4003 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 | | 4111 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 |
4004 | echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; } | | 4112 | $as_echo "$ac_cv_c_uint16_t" >&6; } |
4005 | case $ac_cv_c_uint16_t in #( | | 4113 | case $ac_cv_c_uint16_t in #( |
4006 | no|yes) ;; #( | | 4114 | no|yes) ;; #( |
4007 | *) | | 4115 | *) |
4008 | | | 4116 | |
4009 | | | 4117 | |
4010 | cat >>confdefs.h <<_ACEOF | | 4118 | cat >>confdefs.h <<_ACEOF |
4011 | #define uint16_t $ac_cv_c_uint16_t | | 4119 | #define uint16_t $ac_cv_c_uint16_t |
4012 | _ACEOF | | 4120 | _ACEOF |
4013 | ;; | | 4121 | ;; |
4014 | esac | | 4122 | esac |
4015 | | | 4123 | |
4016 | | | 4124 | |
4017 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 | | 4125 | { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5 |
4018 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } | | 4126 | $as_echo_n "checking for uint32_t... " >&6; } |
4019 | if test "${ac_cv_c_uint32_t+set}" = set; then | | 4127 | if test "${ac_cv_c_uint32_t+set}" = set; then |
4020 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 4128 | $as_echo_n "(cached) " >&6 |
4021 | else | | 4129 | else |
4022 | ac_cv_c_uint32_t=no | | 4130 | ac_cv_c_uint32_t=no |
4023 | for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ | | 4131 | for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ |
4024 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | | 4132 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
4025 | cat >conftest.$ac_ext <<_ACEOF | | 4133 | cat >conftest.$ac_ext <<_ACEOF |
4026 | /* confdefs.h. */ | | 4134 | /* confdefs.h. */ |
4027 | _ACEOF | | 4135 | _ACEOF |
4028 | cat confdefs.h >>conftest.$ac_ext | | 4136 | cat confdefs.h >>conftest.$ac_ext |
4029 | cat >>conftest.$ac_ext <<_ACEOF | | 4137 | cat >>conftest.$ac_ext <<_ACEOF |
4030 | /* end confdefs.h. */ | | 4138 | /* end confdefs.h. */ |
4031 | $ac_includes_default | | 4139 | $ac_includes_default |
4032 | int | | 4140 | int |
4033 | main () | | 4141 | main () |
| @@ -4035,75 +4143,76 @@ main () | | | @@ -4035,75 +4143,76 @@ main () |
4035 | static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; | | 4143 | static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; |
4036 | test_array [0] = 0 | | 4144 | test_array [0] = 0 |
4037 | | | 4145 | |
4038 | ; | | 4146 | ; |
4039 | return 0; | | 4147 | return 0; |
4040 | } | | 4148 | } |
4041 | _ACEOF | | 4149 | _ACEOF |
4042 | rm -f conftest.$ac_objext | | 4150 | rm -f conftest.$ac_objext |
4043 | if { (ac_try="$ac_compile" | | 4151 | if { (ac_try="$ac_compile" |
4044 | case "(($ac_try" in | | 4152 | case "(($ac_try" in |
4045 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4153 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4046 | *) ac_try_echo=$ac_try;; | | 4154 | *) ac_try_echo=$ac_try;; |
4047 | esac | | 4155 | esac |
4048 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4156 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4157 | $as_echo "$ac_try_echo") >&5 |
4049 | (eval "$ac_compile") 2>conftest.er1 | | 4158 | (eval "$ac_compile") 2>conftest.er1 |
4050 | ac_status=$? | | 4159 | ac_status=$? |
4051 | grep -v '^ *+' conftest.er1 >conftest.err | | 4160 | grep -v '^ *+' conftest.er1 >conftest.err |
4052 | rm -f conftest.er1 | | 4161 | rm -f conftest.er1 |
4053 | cat conftest.err >&5 | | 4162 | cat conftest.err >&5 |
4054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4163 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4055 | (exit $ac_status); } && { | | 4164 | (exit $ac_status); } && { |
4056 | test -z "$ac_c_werror_flag" || | | 4165 | test -z "$ac_c_werror_flag" || |
4057 | test ! -s conftest.err | | 4166 | test ! -s conftest.err |
4058 | } && test -s conftest.$ac_objext; then | | 4167 | } && test -s conftest.$ac_objext; then |
4059 | case $ac_type in | | 4168 | case $ac_type in |
4060 | uint32_t) ac_cv_c_uint32_t=yes ;; | | 4169 | uint32_t) ac_cv_c_uint32_t=yes ;; |
4061 | *) ac_cv_c_uint32_t=$ac_type ;; | | 4170 | *) ac_cv_c_uint32_t=$ac_type ;; |
4062 | esac | | 4171 | esac |
4063 | | | 4172 | |
4064 | else | | 4173 | else |
4065 | echo "$as_me: failed program was:" >&5 | | 4174 | $as_echo "$as_me: failed program was:" >&5 |
4066 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4175 | sed 's/^/| /' conftest.$ac_ext >&5 |
4067 | | | 4176 | |
4068 | | | 4177 | |
4069 | fi | | 4178 | fi |
4070 | | | 4179 | |
4071 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4180 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4072 | test "$ac_cv_c_uint32_t" != no && break | | 4181 | test "$ac_cv_c_uint32_t" != no && break |
4073 | done | | 4182 | done |
4074 | fi | | 4183 | fi |
4075 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 | | 4184 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 |
4076 | echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; } | | 4185 | $as_echo "$ac_cv_c_uint32_t" >&6; } |
4077 | case $ac_cv_c_uint32_t in #( | | 4186 | case $ac_cv_c_uint32_t in #( |
4078 | no|yes) ;; #( | | 4187 | no|yes) ;; #( |
4079 | *) | | 4188 | *) |
4080 | | | 4189 | |
4081 | cat >>confdefs.h <<\_ACEOF | | 4190 | cat >>confdefs.h <<\_ACEOF |
4082 | #define _UINT32_T 1 | | 4191 | #define _UINT32_T 1 |
4083 | _ACEOF | | 4192 | _ACEOF |
4084 | | | 4193 | |
4085 | | | 4194 | |
4086 | cat >>confdefs.h <<_ACEOF | | 4195 | cat >>confdefs.h <<_ACEOF |
4087 | #define uint32_t $ac_cv_c_uint32_t | | 4196 | #define uint32_t $ac_cv_c_uint32_t |
4088 | _ACEOF | | 4197 | _ACEOF |
4089 | ;; | | 4198 | ;; |
4090 | esac | | 4199 | esac |
4091 | | | 4200 | |
4092 | | | 4201 | |
4093 | { echo "$as_me:$LINENO: checking for uint64_t" >&5 | | 4202 | { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 |
4094 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } | | 4203 | $as_echo_n "checking for uint64_t... " >&6; } |
4095 | if test "${ac_cv_c_uint64_t+set}" = set; then | | 4204 | if test "${ac_cv_c_uint64_t+set}" = set; then |
4096 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 4205 | $as_echo_n "(cached) " >&6 |
4097 | else | | 4206 | else |
4098 | ac_cv_c_uint64_t=no | | 4207 | ac_cv_c_uint64_t=no |
4099 | for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \ | | 4208 | for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \ |
4100 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | | 4209 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
4101 | cat >conftest.$ac_ext <<_ACEOF | | 4210 | cat >conftest.$ac_ext <<_ACEOF |
4102 | /* confdefs.h. */ | | 4211 | /* confdefs.h. */ |
4103 | _ACEOF | | 4212 | _ACEOF |
4104 | cat confdefs.h >>conftest.$ac_ext | | 4213 | cat confdefs.h >>conftest.$ac_ext |
4105 | cat >>conftest.$ac_ext <<_ACEOF | | 4214 | cat >>conftest.$ac_ext <<_ACEOF |
4106 | /* end confdefs.h. */ | | 4215 | /* end confdefs.h. */ |
4107 | $ac_includes_default | | 4216 | $ac_includes_default |
4108 | int | | 4217 | int |
4109 | main () | | 4218 | main () |
| @@ -4111,385 +4220,546 @@ main () | | | @@ -4111,385 +4220,546 @@ main () |
4111 | static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)]; | | 4220 | static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)]; |
4112 | test_array [0] = 0 | | 4221 | test_array [0] = 0 |
4113 | | | 4222 | |
4114 | ; | | 4223 | ; |
4115 | return 0; | | 4224 | return 0; |
4116 | } | | 4225 | } |
4117 | _ACEOF | | 4226 | _ACEOF |
4118 | rm -f conftest.$ac_objext | | 4227 | rm -f conftest.$ac_objext |
4119 | if { (ac_try="$ac_compile" | | 4228 | if { (ac_try="$ac_compile" |
4120 | case "(($ac_try" in | | 4229 | case "(($ac_try" in |
4121 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4230 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4122 | *) ac_try_echo=$ac_try;; | | 4231 | *) ac_try_echo=$ac_try;; |
4123 | esac | | 4232 | esac |
4124 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4233 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4234 | $as_echo "$ac_try_echo") >&5 |
4125 | (eval "$ac_compile") 2>conftest.er1 | | 4235 | (eval "$ac_compile") 2>conftest.er1 |
4126 | ac_status=$? | | 4236 | ac_status=$? |
4127 | grep -v '^ *+' conftest.er1 >conftest.err | | 4237 | grep -v '^ *+' conftest.er1 >conftest.err |
4128 | rm -f conftest.er1 | | 4238 | rm -f conftest.er1 |
4129 | cat conftest.err >&5 | | 4239 | cat conftest.err >&5 |
4130 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4240 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4131 | (exit $ac_status); } && { | | 4241 | (exit $ac_status); } && { |
4132 | test -z "$ac_c_werror_flag" || | | 4242 | test -z "$ac_c_werror_flag" || |
4133 | test ! -s conftest.err | | 4243 | test ! -s conftest.err |
4134 | } && test -s conftest.$ac_objext; then | | 4244 | } && test -s conftest.$ac_objext; then |
4135 | case $ac_type in | | 4245 | case $ac_type in |
4136 | uint64_t) ac_cv_c_uint64_t=yes ;; | | 4246 | uint64_t) ac_cv_c_uint64_t=yes ;; |
4137 | *) ac_cv_c_uint64_t=$ac_type ;; | | 4247 | *) ac_cv_c_uint64_t=$ac_type ;; |
4138 | esac | | 4248 | esac |
4139 | | | 4249 | |
4140 | else | | 4250 | else |
4141 | echo "$as_me: failed program was:" >&5 | | 4251 | $as_echo "$as_me: failed program was:" >&5 |
4142 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4252 | sed 's/^/| /' conftest.$ac_ext >&5 |
4143 | | | 4253 | |
4144 | | | 4254 | |
4145 | fi | | 4255 | fi |
4146 | | | 4256 | |
4147 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4257 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4148 | test "$ac_cv_c_uint64_t" != no && break | | 4258 | test "$ac_cv_c_uint64_t" != no && break |
4149 | done | | 4259 | done |
4150 | fi | | 4260 | fi |
4151 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5 | | 4261 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5 |
4152 | echo "${ECHO_T}$ac_cv_c_uint64_t" >&6; } | | 4262 | $as_echo "$ac_cv_c_uint64_t" >&6; } |
4153 | case $ac_cv_c_uint64_t in #( | | 4263 | case $ac_cv_c_uint64_t in #( |
4154 | no|yes) ;; #( | | 4264 | no|yes) ;; #( |
4155 | *) | | 4265 | *) |
4156 | | | 4266 | |
4157 | cat >>confdefs.h <<\_ACEOF | | 4267 | cat >>confdefs.h <<\_ACEOF |
4158 | #define _UINT64_T 1 | | 4268 | #define _UINT64_T 1 |
4159 | _ACEOF | | 4269 | _ACEOF |
4160 | | | 4270 | |
4161 | | | 4271 | |
4162 | cat >>confdefs.h <<_ACEOF | | 4272 | cat >>confdefs.h <<_ACEOF |
4163 | #define uint64_t $ac_cv_c_uint64_t | | 4273 | #define uint64_t $ac_cv_c_uint64_t |
4164 | _ACEOF | | 4274 | _ACEOF |
4165 | ;; | | 4275 | ;; |
4166 | esac | | 4276 | esac |
4167 | | | 4277 | |
4168 | | | 4278 | |
4169 | { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | | 4279 | |
4170 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } | | 4280 | { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
| | | 4281 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
4171 | if test "${ac_cv_c_bigendian+set}" = set; then | | 4282 | if test "${ac_cv_c_bigendian+set}" = set; then |
4172 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 4283 | $as_echo_n "(cached) " >&6 |
4173 | else | | 4284 | else |
4174 | # See if sys/param.h defines the BYTE_ORDER macro. | | 4285 | ac_cv_c_bigendian=unknown |
4175 | cat >conftest.$ac_ext <<_ACEOF | | 4286 | # See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined. |
| | | 4287 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4288 | /* confdefs.h. */ |
| | | 4289 | _ACEOF |
| | | 4290 | cat confdefs.h >>conftest.$ac_ext |
| | | 4291 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 4292 | /* end confdefs.h. */ |
| | | 4293 | #if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__) |
| | | 4294 | neither is defined; |
| | | 4295 | #endif |
| | | 4296 | typedef int dummy; |
| | | 4297 | |
| | | 4298 | _ACEOF |
| | | 4299 | rm -f conftest.$ac_objext |
| | | 4300 | if { (ac_try="$ac_compile" |
| | | 4301 | case "(($ac_try" in |
| | | 4302 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4303 | *) ac_try_echo=$ac_try;; |
| | | 4304 | esac |
| | | 4305 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4306 | $as_echo "$ac_try_echo") >&5 |
| | | 4307 | (eval "$ac_compile") 2>conftest.er1 |
| | | 4308 | ac_status=$? |
| | | 4309 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4310 | rm -f conftest.er1 |
| | | 4311 | cat conftest.err >&5 |
| | | 4312 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4313 | (exit $ac_status); } && { |
| | | 4314 | test -z "$ac_c_werror_flag" || |
| | | 4315 | test ! -s conftest.err |
| | | 4316 | } && test -s conftest.$ac_objext; then |
| | | 4317 | ac_cv_c_bigendian=universal |
| | | 4318 | else |
| | | 4319 | $as_echo "$as_me: failed program was:" >&5 |
| | | 4320 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4321 | |
| | | 4322 | |
| | | 4323 | fi |
| | | 4324 | |
| | | 4325 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4326 | if test $ac_cv_c_bigendian = unknown; then |
| | | 4327 | # See if sys/param.h defines the BYTE_ORDER macro. |
| | | 4328 | cat >conftest.$ac_ext <<_ACEOF |
4176 | /* confdefs.h. */ | | 4329 | /* confdefs.h. */ |
4177 | _ACEOF | | 4330 | _ACEOF |
4178 | cat confdefs.h >>conftest.$ac_ext | | 4331 | cat confdefs.h >>conftest.$ac_ext |
4179 | cat >>conftest.$ac_ext <<_ACEOF | | 4332 | cat >>conftest.$ac_ext <<_ACEOF |
4180 | /* end confdefs.h. */ | | 4333 | /* end confdefs.h. */ |
4181 | #include <sys/types.h> | | 4334 | #include <sys/types.h> |
4182 | #include <sys/param.h> | | 4335 | #include <sys/param.h> |
4183 | | | 4336 | |
4184 | int | | 4337 | int |
4185 | main () | | 4338 | main () |
4186 | { | | 4339 | { |
4187 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ | | 4340 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
4188 | && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) | | 4341 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
4189 | bogus endian macros | | 4342 | && LITTLE_ENDIAN) |
4190 | #endif | | 4343 | bogus endian macros |
| | | 4344 | #endif |
4191 | | | 4345 | |
4192 | ; | | 4346 | ; |
4193 | return 0; | | 4347 | return 0; |
4194 | } | | 4348 | } |
4195 | _ACEOF | | 4349 | _ACEOF |
4196 | rm -f conftest.$ac_objext | | 4350 | rm -f conftest.$ac_objext |
4197 | if { (ac_try="$ac_compile" | | 4351 | if { (ac_try="$ac_compile" |
4198 | case "(($ac_try" in | | 4352 | case "(($ac_try" in |
4199 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4353 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4200 | *) ac_try_echo=$ac_try;; | | 4354 | *) ac_try_echo=$ac_try;; |
4201 | esac | | 4355 | esac |
4202 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4356 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4357 | $as_echo "$ac_try_echo") >&5 |
4203 | (eval "$ac_compile") 2>conftest.er1 | | 4358 | (eval "$ac_compile") 2>conftest.er1 |
4204 | ac_status=$? | | 4359 | ac_status=$? |
4205 | grep -v '^ *+' conftest.er1 >conftest.err | | 4360 | grep -v '^ *+' conftest.er1 >conftest.err |
4206 | rm -f conftest.er1 | | 4361 | rm -f conftest.er1 |
4207 | cat conftest.err >&5 | | 4362 | cat conftest.err >&5 |
4208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4363 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4209 | (exit $ac_status); } && { | | 4364 | (exit $ac_status); } && { |
4210 | test -z "$ac_c_werror_flag" || | | 4365 | test -z "$ac_c_werror_flag" || |
4211 | test ! -s conftest.err | | 4366 | test ! -s conftest.err |
4212 | } && test -s conftest.$ac_objext; then | | 4367 | } && test -s conftest.$ac_objext; then |
4213 | # It does; now see whether it defined to BIG_ENDIAN or not. | | 4368 | # It does; now see whether it defined to BIG_ENDIAN or not. |
4214 | cat >conftest.$ac_ext <<_ACEOF | | 4369 | cat >conftest.$ac_ext <<_ACEOF |
4215 | /* confdefs.h. */ | | 4370 | /* confdefs.h. */ |
4216 | _ACEOF | | 4371 | _ACEOF |
4217 | cat confdefs.h >>conftest.$ac_ext | | 4372 | cat confdefs.h >>conftest.$ac_ext |
4218 | cat >>conftest.$ac_ext <<_ACEOF | | 4373 | cat >>conftest.$ac_ext <<_ACEOF |
4219 | /* end confdefs.h. */ | | 4374 | /* end confdefs.h. */ |
4220 | #include <sys/types.h> | | 4375 | #include <sys/types.h> |
4221 | #include <sys/param.h> | | 4376 | #include <sys/param.h> |
4222 | | | 4377 | |
4223 | int | | 4378 | int |
4224 | main () | | 4379 | main () |
4225 | { | | 4380 | { |
4226 | #if BYTE_ORDER != BIG_ENDIAN | | 4381 | #if BYTE_ORDER != BIG_ENDIAN |
4227 | not big endian | | 4382 | not big endian |
4228 | #endif | | 4383 | #endif |
4229 | | | 4384 | |
4230 | ; | | 4385 | ; |
4231 | return 0; | | 4386 | return 0; |
4232 | } | | 4387 | } |
4233 | _ACEOF | | 4388 | _ACEOF |
4234 | rm -f conftest.$ac_objext | | 4389 | rm -f conftest.$ac_objext |
4235 | if { (ac_try="$ac_compile" | | 4390 | if { (ac_try="$ac_compile" |
4236 | case "(($ac_try" in | | 4391 | case "(($ac_try" in |
4237 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4392 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4238 | *) ac_try_echo=$ac_try;; | | 4393 | *) ac_try_echo=$ac_try;; |
4239 | esac | | 4394 | esac |
4240 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4395 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4396 | $as_echo "$ac_try_echo") >&5 |
4241 | (eval "$ac_compile") 2>conftest.er1 | | 4397 | (eval "$ac_compile") 2>conftest.er1 |
4242 | ac_status=$? | | 4398 | ac_status=$? |
4243 | grep -v '^ *+' conftest.er1 >conftest.err | | 4399 | grep -v '^ *+' conftest.er1 >conftest.err |
4244 | rm -f conftest.er1 | | 4400 | rm -f conftest.er1 |
4245 | cat conftest.err >&5 | | 4401 | cat conftest.err >&5 |
4246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4402 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4247 | (exit $ac_status); } && { | | 4403 | (exit $ac_status); } && { |
4248 | test -z "$ac_c_werror_flag" || | | 4404 | test -z "$ac_c_werror_flag" || |
4249 | test ! -s conftest.err | | 4405 | test ! -s conftest.err |
4250 | } && test -s conftest.$ac_objext; then | | 4406 | } && test -s conftest.$ac_objext; then |
4251 | ac_cv_c_bigendian=yes | | 4407 | ac_cv_c_bigendian=yes |
4252 | else | | 4408 | else |
4253 | echo "$as_me: failed program was:" >&5 | | 4409 | $as_echo "$as_me: failed program was:" >&5 |
4254 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4410 | sed 's/^/| /' conftest.$ac_ext >&5 |
4255 | | | 4411 | |
4256 | ac_cv_c_bigendian=no | | 4412 | ac_cv_c_bigendian=no |
4257 | fi | | 4413 | fi |
4258 | | | 4414 | |
4259 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4415 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4260 | else | | 4416 | else |
4261 | echo "$as_me: failed program was:" >&5 | | 4417 | $as_echo "$as_me: failed program was:" >&5 |
4262 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4418 | sed 's/^/| /' conftest.$ac_ext >&5 |
4263 | | | 4419 | |
4264 | # It does not; compile a test program. | | 4420 | |
4265 | if test "$cross_compiling" = yes; then | | 4421 | fi |
4266 | # try to guess the endianness by grepping values into an object file | | 4422 | |
4267 | ac_cv_c_bigendian=unknown | | 4423 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4268 | cat >conftest.$ac_ext <<_ACEOF | | 4424 | fi |
| | | 4425 | if test $ac_cv_c_bigendian = unknown; then |
| | | 4426 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
| | | 4427 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4428 | /* confdefs.h. */ |
| | | 4429 | _ACEOF |
| | | 4430 | cat confdefs.h >>conftest.$ac_ext |
| | | 4431 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 4432 | /* end confdefs.h. */ |
| | | 4433 | #include <limits.h> |
| | | 4434 | |
| | | 4435 | int |
| | | 4436 | main () |
| | | 4437 | { |
| | | 4438 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
| | | 4439 | bogus endian macros |
| | | 4440 | #endif |
| | | 4441 | |
| | | 4442 | ; |
| | | 4443 | return 0; |
| | | 4444 | } |
| | | 4445 | _ACEOF |
| | | 4446 | rm -f conftest.$ac_objext |
| | | 4447 | if { (ac_try="$ac_compile" |
| | | 4448 | case "(($ac_try" in |
| | | 4449 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4450 | *) ac_try_echo=$ac_try;; |
| | | 4451 | esac |
| | | 4452 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4453 | $as_echo "$ac_try_echo") >&5 |
| | | 4454 | (eval "$ac_compile") 2>conftest.er1 |
| | | 4455 | ac_status=$? |
| | | 4456 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4457 | rm -f conftest.er1 |
| | | 4458 | cat conftest.err >&5 |
| | | 4459 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4460 | (exit $ac_status); } && { |
| | | 4461 | test -z "$ac_c_werror_flag" || |
| | | 4462 | test ! -s conftest.err |
| | | 4463 | } && test -s conftest.$ac_objext; then |
| | | 4464 | # It does; now see whether it defined to _BIG_ENDIAN or not. |
| | | 4465 | cat >conftest.$ac_ext <<_ACEOF |
4269 | /* confdefs.h. */ | | 4466 | /* confdefs.h. */ |
4270 | _ACEOF | | 4467 | _ACEOF |
4271 | cat confdefs.h >>conftest.$ac_ext | | 4468 | cat confdefs.h >>conftest.$ac_ext |
4272 | cat >>conftest.$ac_ext <<_ACEOF | | 4469 | cat >>conftest.$ac_ext <<_ACEOF |
4273 | /* end confdefs.h. */ | | 4470 | /* end confdefs.h. */ |
4274 | short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | | 4471 | #include <limits.h> |
4275 | short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | | 4472 | |
4276 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | | | |
4277 | short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | | | |
4278 | short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | | | |
4279 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | | | |
4280 | int | | 4473 | int |
4281 | main () | | 4474 | main () |
4282 | { | | 4475 | { |
4283 | _ascii (); _ebcdic (); | | 4476 | #ifndef _BIG_ENDIAN |
| | | 4477 | not big endian |
| | | 4478 | #endif |
| | | 4479 | |
4284 | ; | | 4480 | ; |
4285 | return 0; | | 4481 | return 0; |
4286 | } | | 4482 | } |
4287 | _ACEOF | | 4483 | _ACEOF |
4288 | rm -f conftest.$ac_objext | | 4484 | rm -f conftest.$ac_objext |
4289 | if { (ac_try="$ac_compile" | | 4485 | if { (ac_try="$ac_compile" |
4290 | case "(($ac_try" in | | 4486 | case "(($ac_try" in |
4291 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4487 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4292 | *) ac_try_echo=$ac_try;; | | 4488 | *) ac_try_echo=$ac_try;; |
4293 | esac | | 4489 | esac |
4294 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4490 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4491 | $as_echo "$ac_try_echo") >&5 |
4295 | (eval "$ac_compile") 2>conftest.er1 | | 4492 | (eval "$ac_compile") 2>conftest.er1 |
4296 | ac_status=$? | | 4493 | ac_status=$? |
4297 | grep -v '^ *+' conftest.er1 >conftest.err | | 4494 | grep -v '^ *+' conftest.er1 >conftest.err |
4298 | rm -f conftest.er1 | | 4495 | rm -f conftest.er1 |
4299 | cat conftest.err >&5 | | 4496 | cat conftest.err >&5 |
4300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4497 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4301 | (exit $ac_status); } && { | | 4498 | (exit $ac_status); } && { |
4302 | test -z "$ac_c_werror_flag" || | | 4499 | test -z "$ac_c_werror_flag" || |
4303 | test ! -s conftest.err | | 4500 | test ! -s conftest.err |
4304 | } && test -s conftest.$ac_objext; then | | 4501 | } && test -s conftest.$ac_objext; then |
4305 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | | | |
4306 | ac_cv_c_bigendian=yes | | 4502 | ac_cv_c_bigendian=yes |
| | | 4503 | else |
| | | 4504 | $as_echo "$as_me: failed program was:" >&5 |
| | | 4505 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4506 | |
| | | 4507 | ac_cv_c_bigendian=no |
4307 | fi | | 4508 | fi |
4308 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | | 4509 | |
4309 | if test "$ac_cv_c_bigendian" = unknown; then | | 4510 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4310 | ac_cv_c_bigendian=no | | 4511 | else |
4311 | else | | 4512 | $as_echo "$as_me: failed program was:" >&5 |
4312 | # finding both strings is unlikely to happen, but who knows? | | 4513 | sed 's/^/| /' conftest.$ac_ext >&5 |
4313 | ac_cv_c_bigendian=unknown | | 4514 | |
4314 | fi | | 4515 | |
4315 | fi | | 4516 | fi |
| | | 4517 | |
| | | 4518 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4519 | fi |
| | | 4520 | if test $ac_cv_c_bigendian = unknown; then |
| | | 4521 | # Compile a test program. |
| | | 4522 | if test "$cross_compiling" = yes; then |
| | | 4523 | # Try to guess by grepping values from an object file. |
| | | 4524 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4525 | /* confdefs.h. */ |
| | | 4526 | _ACEOF |
| | | 4527 | cat confdefs.h >>conftest.$ac_ext |
| | | 4528 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 4529 | /* end confdefs.h. */ |
| | | 4530 | short int ascii_mm[] = |
| | | 4531 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| | | 4532 | short int ascii_ii[] = |
| | | 4533 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| | | 4534 | int use_ascii (int i) { |
| | | 4535 | return ascii_mm[i] + ascii_ii[i]; |
| | | 4536 | } |
| | | 4537 | short int ebcdic_ii[] = |
| | | 4538 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| | | 4539 | short int ebcdic_mm[] = |
| | | 4540 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| | | 4541 | int use_ebcdic (int i) { |
| | | 4542 | return ebcdic_mm[i] + ebcdic_ii[i]; |
| | | 4543 | } |
| | | 4544 | extern int foo; |
| | | 4545 | |
| | | 4546 | int |
| | | 4547 | main () |
| | | 4548 | { |
| | | 4549 | return use_ascii (foo) == use_ebcdic (foo); |
| | | 4550 | ; |
| | | 4551 | return 0; |
| | | 4552 | } |
| | | 4553 | _ACEOF |
| | | 4554 | rm -f conftest.$ac_objext |
| | | 4555 | if { (ac_try="$ac_compile" |
| | | 4556 | case "(($ac_try" in |
| | | 4557 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4558 | *) ac_try_echo=$ac_try;; |
| | | 4559 | esac |
| | | 4560 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4561 | $as_echo "$ac_try_echo") >&5 |
| | | 4562 | (eval "$ac_compile") 2>conftest.er1 |
| | | 4563 | ac_status=$? |
| | | 4564 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4565 | rm -f conftest.er1 |
| | | 4566 | cat conftest.err >&5 |
| | | 4567 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4568 | (exit $ac_status); } && { |
| | | 4569 | test -z "$ac_c_werror_flag" || |
| | | 4570 | test ! -s conftest.err |
| | | 4571 | } && test -s conftest.$ac_objext; then |
| | | 4572 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
| | | 4573 | ac_cv_c_bigendian=yes |
| | | 4574 | fi |
| | | 4575 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
| | | 4576 | if test "$ac_cv_c_bigendian" = unknown; then |
| | | 4577 | ac_cv_c_bigendian=no |
| | | 4578 | else |
| | | 4579 | # finding both strings is unlikely to happen, but who knows? |
| | | 4580 | ac_cv_c_bigendian=unknown |
| | | 4581 | fi |
| | | 4582 | fi |
4316 | else | | 4583 | else |
4317 | echo "$as_me: failed program was:" >&5 | | 4584 | $as_echo "$as_me: failed program was:" >&5 |
4318 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4585 | sed 's/^/| /' conftest.$ac_ext >&5 |
4319 | | | 4586 | |
4320 | | | 4587 | |
4321 | fi | | 4588 | fi |
4322 | | | 4589 | |
4323 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4590 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4324 | else | | 4591 | else |
4325 | cat >conftest.$ac_ext <<_ACEOF | | 4592 | cat >conftest.$ac_ext <<_ACEOF |
4326 | /* confdefs.h. */ | | 4593 | /* confdefs.h. */ |
4327 | _ACEOF | | 4594 | _ACEOF |
4328 | cat confdefs.h >>conftest.$ac_ext | | 4595 | cat confdefs.h >>conftest.$ac_ext |
4329 | cat >>conftest.$ac_ext <<_ACEOF | | 4596 | cat >>conftest.$ac_ext <<_ACEOF |
4330 | /* end confdefs.h. */ | | 4597 | /* end confdefs.h. */ |
4331 | $ac_includes_default | | 4598 | $ac_includes_default |
4332 | int | | 4599 | int |
4333 | main () | | 4600 | main () |
4334 | { | | 4601 | { |
4335 | | | 4602 | |
4336 | /* Are we little or big endian? From Harbison&Steele. */ | | 4603 | /* Are we little or big endian? From Harbison&Steele. */ |
4337 | union | | 4604 | union |
4338 | { | | 4605 | { |
4339 | long int l; | | 4606 | long int l; |
4340 | char c[sizeof (long int)]; | | 4607 | char c[sizeof (long int)]; |
4341 | } u; | | 4608 | } u; |
4342 | u.l = 1; | | 4609 | u.l = 1; |
4343 | return u.c[sizeof (long int) - 1] == 1; | | 4610 | return u.c[sizeof (long int) - 1] == 1; |
4344 | | | 4611 | |
4345 | ; | | 4612 | ; |
4346 | return 0; | | 4613 | return 0; |
4347 | } | | 4614 | } |
4348 | _ACEOF | | 4615 | _ACEOF |
4349 | rm -f conftest$ac_exeext | | 4616 | rm -f conftest$ac_exeext |
4350 | if { (ac_try="$ac_link" | | 4617 | if { (ac_try="$ac_link" |
4351 | case "(($ac_try" in | | 4618 | case "(($ac_try" in |
4352 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4619 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4353 | *) ac_try_echo=$ac_try;; | | 4620 | *) ac_try_echo=$ac_try;; |
4354 | esac | | 4621 | esac |
4355 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4622 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4623 | $as_echo "$ac_try_echo") >&5 |
4356 | (eval "$ac_link") 2>&5 | | 4624 | (eval "$ac_link") 2>&5 |
4357 | ac_status=$? | | 4625 | ac_status=$? |
4358 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4626 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4359 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | | 4627 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4360 | { (case "(($ac_try" in | | 4628 | { (case "(($ac_try" in |
4361 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4629 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4362 | *) ac_try_echo=$ac_try;; | | 4630 | *) ac_try_echo=$ac_try;; |
4363 | esac | | 4631 | esac |
4364 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4632 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4633 | $as_echo "$ac_try_echo") >&5 |
4365 | (eval "$ac_try") 2>&5 | | 4634 | (eval "$ac_try") 2>&5 |
4366 | ac_status=$? | | 4635 | ac_status=$? |
4367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4636 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4368 | (exit $ac_status); }; }; then | | 4637 | (exit $ac_status); }; }; then |
4369 | ac_cv_c_bigendian=no | | 4638 | ac_cv_c_bigendian=no |
4370 | else | | 4639 | else |
4371 | echo "$as_me: program exited with status $ac_status" >&5 | | 4640 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
4372 | echo "$as_me: failed program was:" >&5 | | 4641 | $as_echo "$as_me: failed program was:" >&5 |
4373 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4642 | sed 's/^/| /' conftest.$ac_ext >&5 |
4374 | | | 4643 | |
4375 | ( exit $ac_status ) | | 4644 | ( exit $ac_status ) |
4376 | ac_cv_c_bigendian=yes | | 4645 | ac_cv_c_bigendian=yes |
4377 | fi | | 4646 | fi |
| | | 4647 | rm -rf conftest.dSYM |
4378 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | 4648 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4379 | fi | | 4649 | fi |
4380 | | | 4650 | |
4381 | | | 4651 | |
| | | 4652 | fi |
4382 | fi | | 4653 | fi |
4383 | | | 4654 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
4384 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4655 | $as_echo "$ac_cv_c_bigendian" >&6; } |
4385 | fi | | 4656 | case $ac_cv_c_bigendian in #( |
4386 | { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | | 4657 | yes) |
4387 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } | | 4658 | cat >>confdefs.h <<\_ACEOF |
4388 | case $ac_cv_c_bigendian in | | | |
4389 | yes) | | | |
4390 | | | | |
4391 | cat >>confdefs.h <<\_ACEOF | | | |
4392 | #define WORDS_BIGENDIAN 1 | | 4659 | #define WORDS_BIGENDIAN 1 |
4393 | _ACEOF | | 4660 | _ACEOF |
4394 | ;; | | 4661 | ;; #( |
4395 | no) | | 4662 | no) |
4396 | ;; | | 4663 | ;; #( |
4397 | *) | | 4664 | universal) |
4398 | { { echo "$as_me:$LINENO: error: unknown endianness | | 4665 | ;; #( |
4399 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | | 4666 | *) |
4400 | echo "$as_me: error: unknown endianness | | 4667 | { { $as_echo "$as_me:$LINENO: error: unknown endianness |
4401 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | | 4668 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
| | | 4669 | $as_echo "$as_me: error: unknown endianness |
| | | 4670 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
4402 | { (exit 1); exit 1; }; } ;; | | 4671 | { (exit 1); exit 1; }; } ;; |
4403 | esac | | 4672 | esac |
4404 | | | 4673 | |
4405 | | | 4674 | |
4406 | # Checks for library functions. | | 4675 | # Checks for library functions. |
4407 | { echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 | | 4676 | { $as_echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 |
4408 | echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; } | | 4677 | $as_echo_n "checking whether strerror_r is declared... " >&6; } |
4409 | if test "${ac_cv_have_decl_strerror_r+set}" = set; then | | 4678 | if test "${ac_cv_have_decl_strerror_r+set}" = set; then |
4410 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 4679 | $as_echo_n "(cached) " >&6 |
4411 | else | | 4680 | else |
4412 | cat >conftest.$ac_ext <<_ACEOF | | 4681 | cat >conftest.$ac_ext <<_ACEOF |
4413 | /* confdefs.h. */ | | 4682 | /* confdefs.h. */ |
4414 | _ACEOF | | 4683 | _ACEOF |
4415 | cat confdefs.h >>conftest.$ac_ext | | 4684 | cat confdefs.h >>conftest.$ac_ext |
4416 | cat >>conftest.$ac_ext <<_ACEOF | | 4685 | cat >>conftest.$ac_ext <<_ACEOF |
4417 | /* end confdefs.h. */ | | 4686 | /* end confdefs.h. */ |
4418 | $ac_includes_default | | 4687 | $ac_includes_default |
4419 | int | | 4688 | int |
4420 | main () | | 4689 | main () |
4421 | { | | 4690 | { |
4422 | #ifndef strerror_r | | 4691 | #ifndef strerror_r |
4423 | (void) strerror_r; | | 4692 | (void) strerror_r; |
4424 | #endif | | 4693 | #endif |
4425 | | | 4694 | |
4426 | ; | | 4695 | ; |
4427 | return 0; | | 4696 | return 0; |
4428 | } | | 4697 | } |
4429 | _ACEOF | | 4698 | _ACEOF |
4430 | rm -f conftest.$ac_objext | | 4699 | rm -f conftest.$ac_objext |
4431 | if { (ac_try="$ac_compile" | | 4700 | if { (ac_try="$ac_compile" |
4432 | case "(($ac_try" in | | 4701 | case "(($ac_try" in |
4433 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4434 | *) ac_try_echo=$ac_try;; | | 4703 | *) ac_try_echo=$ac_try;; |
4435 | esac | | 4704 | esac |
4436 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4705 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4706 | $as_echo "$ac_try_echo") >&5 |
4437 | (eval "$ac_compile") 2>conftest.er1 | | 4707 | (eval "$ac_compile") 2>conftest.er1 |
4438 | ac_status=$? | | 4708 | ac_status=$? |
4439 | grep -v '^ *+' conftest.er1 >conftest.err | | 4709 | grep -v '^ *+' conftest.er1 >conftest.err |
4440 | rm -f conftest.er1 | | 4710 | rm -f conftest.er1 |
4441 | cat conftest.err >&5 | | 4711 | cat conftest.err >&5 |
4442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4712 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4443 | (exit $ac_status); } && { | | 4713 | (exit $ac_status); } && { |
4444 | test -z "$ac_c_werror_flag" || | | 4714 | test -z "$ac_c_werror_flag" || |
4445 | test ! -s conftest.err | | 4715 | test ! -s conftest.err |
4446 | } && test -s conftest.$ac_objext; then | | 4716 | } && test -s conftest.$ac_objext; then |
4447 | ac_cv_have_decl_strerror_r=yes | | 4717 | ac_cv_have_decl_strerror_r=yes |
4448 | else | | 4718 | else |
4449 | echo "$as_me: failed program was:" >&5 | | 4719 | $as_echo "$as_me: failed program was:" >&5 |
4450 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4720 | sed 's/^/| /' conftest.$ac_ext >&5 |
4451 | | | 4721 | |
4452 | ac_cv_have_decl_strerror_r=no | | 4722 | ac_cv_have_decl_strerror_r=no |
4453 | fi | | 4723 | fi |
4454 | | | 4724 | |
4455 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4725 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4456 | fi | | 4726 | fi |
4457 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 | | 4727 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 |
4458 | echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6; } | | 4728 | $as_echo "$ac_cv_have_decl_strerror_r" >&6; } |
4459 | if test $ac_cv_have_decl_strerror_r = yes; then | | 4729 | if test $ac_cv_have_decl_strerror_r = yes; then |
4460 | | | 4730 | |
4461 | cat >>confdefs.h <<_ACEOF | | 4731 | cat >>confdefs.h <<_ACEOF |
4462 | #define HAVE_DECL_STRERROR_R 1 | | 4732 | #define HAVE_DECL_STRERROR_R 1 |
4463 | _ACEOF | | 4733 | _ACEOF |
4464 | | | 4734 | |
4465 | | | 4735 | |
4466 | else | | 4736 | else |
4467 | cat >>confdefs.h <<_ACEOF | | 4737 | cat >>confdefs.h <<_ACEOF |
4468 | #define HAVE_DECL_STRERROR_R 0 | | 4738 | #define HAVE_DECL_STRERROR_R 0 |
4469 | _ACEOF | | 4739 | _ACEOF |
4470 | | | 4740 | |
4471 | | | 4741 | |
4472 | fi | | 4742 | fi |
4473 | | | 4743 | |
4474 | | | 4744 | |
4475 | | | 4745 | |
4476 | for ac_func in strerror_r | | 4746 | for ac_func in strerror_r |
4477 | do | | 4747 | do |
4478 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 4748 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4479 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | | 4749 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4480 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | | 4750 | $as_echo_n "checking for $ac_func... " >&6; } |
4481 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | | 4751 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
4482 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 4752 | $as_echo_n "(cached) " >&6 |
4483 | else | | 4753 | else |
4484 | cat >conftest.$ac_ext <<_ACEOF | | 4754 | cat >conftest.$ac_ext <<_ACEOF |
4485 | /* confdefs.h. */ | | 4755 | /* confdefs.h. */ |
4486 | _ACEOF | | 4756 | _ACEOF |
4487 | cat confdefs.h >>conftest.$ac_ext | | 4757 | cat confdefs.h >>conftest.$ac_ext |
4488 | cat >>conftest.$ac_ext <<_ACEOF | | 4758 | cat >>conftest.$ac_ext <<_ACEOF |
4489 | /* end confdefs.h. */ | | 4759 | /* end confdefs.h. */ |
4490 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | | 4760 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
4491 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | | 4761 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
4492 | #define $ac_func innocuous_$ac_func | | 4762 | #define $ac_func innocuous_$ac_func |
4493 | | | 4763 | |
4494 | /* System header to define __stub macros and hopefully few prototypes, | | 4764 | /* System header to define __stub macros and hopefully few prototypes, |
4495 | which can conflict with char $ac_func (); below. | | 4765 | which can conflict with char $ac_func (); below. |
| @@ -4522,64 +4792,70 @@ int | | | @@ -4522,64 +4792,70 @@ int |
4522 | main () | | 4792 | main () |
4523 | { | | 4793 | { |
4524 | return $ac_func (); | | 4794 | return $ac_func (); |
4525 | ; | | 4795 | ; |
4526 | return 0; | | 4796 | return 0; |
4527 | } | | 4797 | } |
4528 | _ACEOF | | 4798 | _ACEOF |
4529 | rm -f conftest.$ac_objext conftest$ac_exeext | | 4799 | rm -f conftest.$ac_objext conftest$ac_exeext |
4530 | if { (ac_try="$ac_link" | | 4800 | if { (ac_try="$ac_link" |
4531 | case "(($ac_try" in | | 4801 | case "(($ac_try" in |
4532 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4802 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4533 | *) ac_try_echo=$ac_try;; | | 4803 | *) ac_try_echo=$ac_try;; |
4534 | esac | | 4804 | esac |
4535 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4805 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4806 | $as_echo "$ac_try_echo") >&5 |
4536 | (eval "$ac_link") 2>conftest.er1 | | 4807 | (eval "$ac_link") 2>conftest.er1 |
4537 | ac_status=$? | | 4808 | ac_status=$? |
4538 | grep -v '^ *+' conftest.er1 >conftest.err | | 4809 | grep -v '^ *+' conftest.er1 >conftest.err |
4539 | rm -f conftest.er1 | | 4810 | rm -f conftest.er1 |
4540 | cat conftest.err >&5 | | 4811 | cat conftest.err >&5 |
4541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4812 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4542 | (exit $ac_status); } && { | | 4813 | (exit $ac_status); } && { |
4543 | test -z "$ac_c_werror_flag" || | | 4814 | test -z "$ac_c_werror_flag" || |
4544 | test ! -s conftest.err | | 4815 | test ! -s conftest.err |
4545 | } && test -s conftest$ac_exeext && | | 4816 | } && test -s conftest$ac_exeext && { |
4546 | $as_test_x conftest$ac_exeext; then | | 4817 | test "$cross_compiling" = yes || |
| | | 4818 | $as_test_x conftest$ac_exeext |
| | | 4819 | }; then |
4547 | eval "$as_ac_var=yes" | | 4820 | eval "$as_ac_var=yes" |
4548 | else | | 4821 | else |
4549 | echo "$as_me: failed program was:" >&5 | | 4822 | $as_echo "$as_me: failed program was:" >&5 |
4550 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4823 | sed 's/^/| /' conftest.$ac_ext >&5 |
4551 | | | 4824 | |
4552 | eval "$as_ac_var=no" | | 4825 | eval "$as_ac_var=no" |
4553 | fi | | 4826 | fi |
4554 | | | 4827 | |
| | | 4828 | rm -rf conftest.dSYM |
4555 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | | 4829 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4556 | conftest$ac_exeext conftest.$ac_ext | | 4830 | conftest$ac_exeext conftest.$ac_ext |
4557 | fi | | 4831 | fi |
4558 | ac_res=`eval echo '${'$as_ac_var'}'` | | 4832 | ac_res=`eval 'as_val=${'$as_ac_var'} |
4559 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | | 4833 | $as_echo "$as_val"'` |
4560 | echo "${ECHO_T}$ac_res" >&6; } | | 4834 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
4561 | if test `eval echo '${'$as_ac_var'}'` = yes; then | | 4835 | $as_echo "$ac_res" >&6; } |
| | | 4836 | if test `eval 'as_val=${'$as_ac_var'} |
| | | 4837 | $as_echo "$as_val"'` = yes; then |
4562 | cat >>confdefs.h <<_ACEOF | | 4838 | cat >>confdefs.h <<_ACEOF |
4563 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 4839 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4564 | _ACEOF | | 4840 | _ACEOF |
4565 | | | 4841 | |
4566 | fi | | 4842 | fi |
4567 | done | | 4843 | done |
4568 | | | 4844 | |
4569 | { echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 | | 4845 | { $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 |
4570 | echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6; } | | 4846 | $as_echo_n "checking whether strerror_r returns char *... " >&6; } |
4571 | if test "${ac_cv_func_strerror_r_char_p+set}" = set; then | | 4847 | if test "${ac_cv_func_strerror_r_char_p+set}" = set; then |
4572 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 4848 | $as_echo_n "(cached) " >&6 |
4573 | else | | 4849 | else |
4574 | | | 4850 | |
4575 | ac_cv_func_strerror_r_char_p=no | | 4851 | ac_cv_func_strerror_r_char_p=no |
4576 | if test $ac_cv_have_decl_strerror_r = yes; then | | 4852 | if test $ac_cv_have_decl_strerror_r = yes; then |
4577 | cat >conftest.$ac_ext <<_ACEOF | | 4853 | cat >conftest.$ac_ext <<_ACEOF |
4578 | /* confdefs.h. */ | | 4854 | /* confdefs.h. */ |
4579 | _ACEOF | | 4855 | _ACEOF |
4580 | cat confdefs.h >>conftest.$ac_ext | | 4856 | cat confdefs.h >>conftest.$ac_ext |
4581 | cat >>conftest.$ac_ext <<_ACEOF | | 4857 | cat >>conftest.$ac_ext <<_ACEOF |
4582 | /* end confdefs.h. */ | | 4858 | /* end confdefs.h. */ |
4583 | $ac_includes_default | | 4859 | $ac_includes_default |
4584 | int | | 4860 | int |
4585 | main () | | 4861 | main () |
| @@ -4590,40 +4866,41 @@ main () | | | @@ -4590,40 +4866,41 @@ main () |
4590 | char *p = strerror_r (0, buf, sizeof buf); | | 4866 | char *p = strerror_r (0, buf, sizeof buf); |
4591 | return !p || x; | | 4867 | return !p || x; |
4592 | | | 4868 | |
4593 | ; | | 4869 | ; |
4594 | return 0; | | 4870 | return 0; |
4595 | } | | 4871 | } |
4596 | _ACEOF | | 4872 | _ACEOF |
4597 | rm -f conftest.$ac_objext | | 4873 | rm -f conftest.$ac_objext |
4598 | if { (ac_try="$ac_compile" | | 4874 | if { (ac_try="$ac_compile" |
4599 | case "(($ac_try" in | | 4875 | case "(($ac_try" in |
4600 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4876 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4601 | *) ac_try_echo=$ac_try;; | | 4877 | *) ac_try_echo=$ac_try;; |
4602 | esac | | 4878 | esac |
4603 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4879 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4880 | $as_echo "$ac_try_echo") >&5 |
4604 | (eval "$ac_compile") 2>conftest.er1 | | 4881 | (eval "$ac_compile") 2>conftest.er1 |
4605 | ac_status=$? | | 4882 | ac_status=$? |
4606 | grep -v '^ *+' conftest.er1 >conftest.err | | 4883 | grep -v '^ *+' conftest.er1 >conftest.err |
4607 | rm -f conftest.er1 | | 4884 | rm -f conftest.er1 |
4608 | cat conftest.err >&5 | | 4885 | cat conftest.err >&5 |
4609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4886 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4610 | (exit $ac_status); } && { | | 4887 | (exit $ac_status); } && { |
4611 | test -z "$ac_c_werror_flag" || | | 4888 | test -z "$ac_c_werror_flag" || |
4612 | test ! -s conftest.err | | 4889 | test ! -s conftest.err |
4613 | } && test -s conftest.$ac_objext; then | | 4890 | } && test -s conftest.$ac_objext; then |
4614 | ac_cv_func_strerror_r_char_p=yes | | 4891 | ac_cv_func_strerror_r_char_p=yes |
4615 | else | | 4892 | else |
4616 | echo "$as_me: failed program was:" >&5 | | 4893 | $as_echo "$as_me: failed program was:" >&5 |
4617 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4894 | sed 's/^/| /' conftest.$ac_ext >&5 |
4618 | | | 4895 | |
4619 | | | 4896 | |
4620 | fi | | 4897 | fi |
4621 | | | 4898 | |
4622 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4899 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4623 | else | | 4900 | else |
4624 | # strerror_r is not declared. Choose between | | 4901 | # strerror_r is not declared. Choose between |
4625 | # systems that have relatively inaccessible declarations for the | | 4902 | # systems that have relatively inaccessible declarations for the |
4626 | # function. BeOS and DEC UNIX 4.0 fall in this category, but the | | 4903 | # function. BeOS and DEC UNIX 4.0 fall in this category, but the |
4627 | # former has a strerror_r that returns char*, while the latter | | 4904 | # former has a strerror_r that returns char*, while the latter |
4628 | # has a strerror_r that returns `int'. | | 4905 | # has a strerror_r that returns `int'. |
4629 | # This test should segfault on the DEC system. | | 4906 | # This test should segfault on the DEC system. |
| @@ -4644,72 +4921,75 @@ main () | | | @@ -4644,72 +4921,75 @@ main () |
4644 | char buf[100]; | | 4921 | char buf[100]; |
4645 | char x = *strerror_r (0, buf, sizeof buf); | | 4922 | char x = *strerror_r (0, buf, sizeof buf); |
4646 | return ! isalpha (x); | | 4923 | return ! isalpha (x); |
4647 | ; | | 4924 | ; |
4648 | return 0; | | 4925 | return 0; |
4649 | } | | 4926 | } |
4650 | _ACEOF | | 4927 | _ACEOF |
4651 | rm -f conftest$ac_exeext | | 4928 | rm -f conftest$ac_exeext |
4652 | if { (ac_try="$ac_link" | | 4929 | if { (ac_try="$ac_link" |
4653 | case "(($ac_try" in | | 4930 | case "(($ac_try" in |
4654 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4931 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4655 | *) ac_try_echo=$ac_try;; | | 4932 | *) ac_try_echo=$ac_try;; |
4656 | esac | | 4933 | esac |
4657 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4934 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4935 | $as_echo "$ac_try_echo") >&5 |
4658 | (eval "$ac_link") 2>&5 | | 4936 | (eval "$ac_link") 2>&5 |
4659 | ac_status=$? | | 4937 | ac_status=$? |
4660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4938 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4661 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | | 4939 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4662 | { (case "(($ac_try" in | | 4940 | { (case "(($ac_try" in |
4663 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 4941 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4664 | *) ac_try_echo=$ac_try;; | | 4942 | *) ac_try_echo=$ac_try;; |
4665 | esac | | 4943 | esac |
4666 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 4944 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4945 | $as_echo "$ac_try_echo") >&5 |
4667 | (eval "$ac_try") 2>&5 | | 4946 | (eval "$ac_try") 2>&5 |
4668 | ac_status=$? | | 4947 | ac_status=$? |
4669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 4948 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4670 | (exit $ac_status); }; }; then | | 4949 | (exit $ac_status); }; }; then |
4671 | ac_cv_func_strerror_r_char_p=yes | | 4950 | ac_cv_func_strerror_r_char_p=yes |
4672 | else | | 4951 | else |
4673 | echo "$as_me: program exited with status $ac_status" >&5 | | 4952 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
4674 | echo "$as_me: failed program was:" >&5 | | 4953 | $as_echo "$as_me: failed program was:" >&5 |
4675 | sed 's/^/| /' conftest.$ac_ext >&5 | | 4954 | sed 's/^/| /' conftest.$ac_ext >&5 |
4676 | | | 4955 | |
4677 | fi | | 4956 | fi |
| | | 4957 | rm -rf conftest.dSYM |
4678 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | 4958 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4679 | fi | | 4959 | fi |
4680 | | | 4960 | |
4681 | | | 4961 | |
4682 | fi | | 4962 | fi |
4683 | | | 4963 | |
4684 | fi | | 4964 | fi |
4685 | { echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 | | 4965 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 |
4686 | echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6; } | | 4966 | $as_echo "$ac_cv_func_strerror_r_char_p" >&6; } |
4687 | if test $ac_cv_func_strerror_r_char_p = yes; then | | 4967 | if test $ac_cv_func_strerror_r_char_p = yes; then |
4688 | | | 4968 | |
4689 | cat >>confdefs.h <<\_ACEOF | | 4969 | cat >>confdefs.h <<\_ACEOF |
4690 | #define STRERROR_R_CHAR_P 1 | | 4970 | #define STRERROR_R_CHAR_P 1 |
4691 | _ACEOF | | 4971 | _ACEOF |
4692 | | | 4972 | |
4693 | fi | | 4973 | fi |
4694 | | | 4974 | |
4695 | | | 4975 | |
4696 | for ac_func in vprintf | | 4976 | for ac_func in vprintf |
4697 | do | | 4977 | do |
4698 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 4978 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4699 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | | 4979 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4700 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | | 4980 | $as_echo_n "checking for $ac_func... " >&6; } |
4701 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | | 4981 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
4702 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 4982 | $as_echo_n "(cached) " >&6 |
4703 | else | | 4983 | else |
4704 | cat >conftest.$ac_ext <<_ACEOF | | 4984 | cat >conftest.$ac_ext <<_ACEOF |
4705 | /* confdefs.h. */ | | 4985 | /* confdefs.h. */ |
4706 | _ACEOF | | 4986 | _ACEOF |
4707 | cat confdefs.h >>conftest.$ac_ext | | 4987 | cat confdefs.h >>conftest.$ac_ext |
4708 | cat >>conftest.$ac_ext <<_ACEOF | | 4988 | cat >>conftest.$ac_ext <<_ACEOF |
4709 | /* end confdefs.h. */ | | 4989 | /* end confdefs.h. */ |
4710 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | | 4990 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
4711 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | | 4991 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
4712 | #define $ac_func innocuous_$ac_func | | 4992 | #define $ac_func innocuous_$ac_func |
4713 | | | 4993 | |
4714 | /* System header to define __stub macros and hopefully few prototypes, | | 4994 | /* System header to define __stub macros and hopefully few prototypes, |
4715 | which can conflict with char $ac_func (); below. | | 4995 | which can conflict with char $ac_func (); below. |
| @@ -4742,61 +5022,67 @@ int | | | @@ -4742,61 +5022,67 @@ int |
4742 | main () | | 5022 | main () |
4743 | { | | 5023 | { |
4744 | return $ac_func (); | | 5024 | return $ac_func (); |
4745 | ; | | 5025 | ; |
4746 | return 0; | | 5026 | return 0; |
4747 | } | | 5027 | } |
4748 | _ACEOF | | 5028 | _ACEOF |
4749 | rm -f conftest.$ac_objext conftest$ac_exeext | | 5029 | rm -f conftest.$ac_objext conftest$ac_exeext |
4750 | if { (ac_try="$ac_link" | | 5030 | if { (ac_try="$ac_link" |
4751 | case "(($ac_try" in | | 5031 | case "(($ac_try" in |
4752 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 5032 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4753 | *) ac_try_echo=$ac_try;; | | 5033 | *) ac_try_echo=$ac_try;; |
4754 | esac | | 5034 | esac |
4755 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 5035 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5036 | $as_echo "$ac_try_echo") >&5 |
4756 | (eval "$ac_link") 2>conftest.er1 | | 5037 | (eval "$ac_link") 2>conftest.er1 |
4757 | ac_status=$? | | 5038 | ac_status=$? |
4758 | grep -v '^ *+' conftest.er1 >conftest.err | | 5039 | grep -v '^ *+' conftest.er1 >conftest.err |
4759 | rm -f conftest.er1 | | 5040 | rm -f conftest.er1 |
4760 | cat conftest.err >&5 | | 5041 | cat conftest.err >&5 |
4761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 5042 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4762 | (exit $ac_status); } && { | | 5043 | (exit $ac_status); } && { |
4763 | test -z "$ac_c_werror_flag" || | | 5044 | test -z "$ac_c_werror_flag" || |
4764 | test ! -s conftest.err | | 5045 | test ! -s conftest.err |
4765 | } && test -s conftest$ac_exeext && | | 5046 | } && test -s conftest$ac_exeext && { |
4766 | $as_test_x conftest$ac_exeext; then | | 5047 | test "$cross_compiling" = yes || |
| | | 5048 | $as_test_x conftest$ac_exeext |
| | | 5049 | }; then |
4767 | eval "$as_ac_var=yes" | | 5050 | eval "$as_ac_var=yes" |
4768 | else | | 5051 | else |
4769 | echo "$as_me: failed program was:" >&5 | | 5052 | $as_echo "$as_me: failed program was:" >&5 |
4770 | sed 's/^/| /' conftest.$ac_ext >&5 | | 5053 | sed 's/^/| /' conftest.$ac_ext >&5 |
4771 | | | 5054 | |
4772 | eval "$as_ac_var=no" | | 5055 | eval "$as_ac_var=no" |
4773 | fi | | 5056 | fi |
4774 | | | 5057 | |
| | | 5058 | rm -rf conftest.dSYM |
4775 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | | 5059 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4776 | conftest$ac_exeext conftest.$ac_ext | | 5060 | conftest$ac_exeext conftest.$ac_ext |
4777 | fi | | 5061 | fi |
4778 | ac_res=`eval echo '${'$as_ac_var'}'` | | 5062 | ac_res=`eval 'as_val=${'$as_ac_var'} |
4779 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | | 5063 | $as_echo "$as_val"'` |
4780 | echo "${ECHO_T}$ac_res" >&6; } | | 5064 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
4781 | if test `eval echo '${'$as_ac_var'}'` = yes; then | | 5065 | $as_echo "$ac_res" >&6; } |
| | | 5066 | if test `eval 'as_val=${'$as_ac_var'} |
| | | 5067 | $as_echo "$as_val"'` = yes; then |
4782 | cat >>confdefs.h <<_ACEOF | | 5068 | cat >>confdefs.h <<_ACEOF |
4783 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 5069 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4784 | _ACEOF | | 5070 | _ACEOF |
4785 | | | 5071 | |
4786 | { echo "$as_me:$LINENO: checking for _doprnt" >&5 | | 5072 | { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 |
4787 | echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } | | 5073 | $as_echo_n "checking for _doprnt... " >&6; } |
4788 | if test "${ac_cv_func__doprnt+set}" = set; then | | 5074 | if test "${ac_cv_func__doprnt+set}" = set; then |
4789 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5075 | $as_echo_n "(cached) " >&6 |
4790 | else | | 5076 | else |
4791 | cat >conftest.$ac_ext <<_ACEOF | | 5077 | cat >conftest.$ac_ext <<_ACEOF |
4792 | /* confdefs.h. */ | | 5078 | /* confdefs.h. */ |
4793 | _ACEOF | | 5079 | _ACEOF |
4794 | cat confdefs.h >>conftest.$ac_ext | | 5080 | cat confdefs.h >>conftest.$ac_ext |
4795 | cat >>conftest.$ac_ext <<_ACEOF | | 5081 | cat >>conftest.$ac_ext <<_ACEOF |
4796 | /* end confdefs.h. */ | | 5082 | /* end confdefs.h. */ |
4797 | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. | | 5083 | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. |
4798 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | | 5084 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
4799 | #define _doprnt innocuous__doprnt | | 5085 | #define _doprnt innocuous__doprnt |
4800 | | | 5086 | |
4801 | /* System header to define __stub macros and hopefully few prototypes, | | 5087 | /* System header to define __stub macros and hopefully few prototypes, |
4802 | which can conflict with char _doprnt (); below. | | 5088 | which can conflict with char _doprnt (); below. |
| @@ -4829,75 +5115,79 @@ int | | | @@ -4829,75 +5115,79 @@ int |
4829 | main () | | 5115 | main () |
4830 | { | | 5116 | { |
4831 | return _doprnt (); | | 5117 | return _doprnt (); |
4832 | ; | | 5118 | ; |
4833 | return 0; | | 5119 | return 0; |
4834 | } | | 5120 | } |
4835 | _ACEOF | | 5121 | _ACEOF |
4836 | rm -f conftest.$ac_objext conftest$ac_exeext | | 5122 | rm -f conftest.$ac_objext conftest$ac_exeext |
4837 | if { (ac_try="$ac_link" | | 5123 | if { (ac_try="$ac_link" |
4838 | case "(($ac_try" in | | 5124 | case "(($ac_try" in |
4839 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 5125 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4840 | *) ac_try_echo=$ac_try;; | | 5126 | *) ac_try_echo=$ac_try;; |
4841 | esac | | 5127 | esac |
4842 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 5128 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5129 | $as_echo "$ac_try_echo") >&5 |
4843 | (eval "$ac_link") 2>conftest.er1 | | 5130 | (eval "$ac_link") 2>conftest.er1 |
4844 | ac_status=$? | | 5131 | ac_status=$? |
4845 | grep -v '^ *+' conftest.er1 >conftest.err | | 5132 | grep -v '^ *+' conftest.er1 >conftest.err |
4846 | rm -f conftest.er1 | | 5133 | rm -f conftest.er1 |
4847 | cat conftest.err >&5 | | 5134 | cat conftest.err >&5 |
4848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 5135 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4849 | (exit $ac_status); } && { | | 5136 | (exit $ac_status); } && { |
4850 | test -z "$ac_c_werror_flag" || | | 5137 | test -z "$ac_c_werror_flag" || |
4851 | test ! -s conftest.err | | 5138 | test ! -s conftest.err |
4852 | } && test -s conftest$ac_exeext && | | 5139 | } && test -s conftest$ac_exeext && { |
4853 | $as_test_x conftest$ac_exeext; then | | 5140 | test "$cross_compiling" = yes || |
| | | 5141 | $as_test_x conftest$ac_exeext |
| | | 5142 | }; then |
4854 | ac_cv_func__doprnt=yes | | 5143 | ac_cv_func__doprnt=yes |
4855 | else | | 5144 | else |
4856 | echo "$as_me: failed program was:" >&5 | | 5145 | $as_echo "$as_me: failed program was:" >&5 |
4857 | sed 's/^/| /' conftest.$ac_ext >&5 | | 5146 | sed 's/^/| /' conftest.$ac_ext >&5 |
4858 | | | 5147 | |
4859 | ac_cv_func__doprnt=no | | 5148 | ac_cv_func__doprnt=no |
4860 | fi | | 5149 | fi |
4861 | | | 5150 | |
| | | 5151 | rm -rf conftest.dSYM |
4862 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | | 5152 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4863 | conftest$ac_exeext conftest.$ac_ext | | 5153 | conftest$ac_exeext conftest.$ac_ext |
4864 | fi | | 5154 | fi |
4865 | { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 | | 5155 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 |
4866 | echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } | | 5156 | $as_echo "$ac_cv_func__doprnt" >&6; } |
4867 | if test $ac_cv_func__doprnt = yes; then | | 5157 | if test $ac_cv_func__doprnt = yes; then |
4868 | | | 5158 | |
4869 | cat >>confdefs.h <<\_ACEOF | | 5159 | cat >>confdefs.h <<\_ACEOF |
4870 | #define HAVE_DOPRNT 1 | | 5160 | #define HAVE_DOPRNT 1 |
4871 | _ACEOF | | 5161 | _ACEOF |
4872 | | | 5162 | |
4873 | fi | | 5163 | fi |
4874 | | | 5164 | |
4875 | fi | | 5165 | fi |
4876 | done | | 5166 | done |
4877 | | | 5167 | |
4878 | | | 5168 | |
4879 | | | 5169 | |
4880 | | | 5170 | |
4881 | | | 5171 | |
4882 | | | 5172 | |
4883 | | | 5173 | |
4884 | for ac_func in bcopy bzero memset memcpy setlocale | | 5174 | for ac_func in bcopy bzero memset memcpy setlocale |
4885 | do | | 5175 | do |
4886 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 5176 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4887 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | | 5177 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4888 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | | 5178 | $as_echo_n "checking for $ac_func... " >&6; } |
4889 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | | 5179 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
4890 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5180 | $as_echo_n "(cached) " >&6 |
4891 | else | | 5181 | else |
4892 | cat >conftest.$ac_ext <<_ACEOF | | 5182 | cat >conftest.$ac_ext <<_ACEOF |
4893 | /* confdefs.h. */ | | 5183 | /* confdefs.h. */ |
4894 | _ACEOF | | 5184 | _ACEOF |
4895 | cat confdefs.h >>conftest.$ac_ext | | 5185 | cat confdefs.h >>conftest.$ac_ext |
4896 | cat >>conftest.$ac_ext <<_ACEOF | | 5186 | cat >>conftest.$ac_ext <<_ACEOF |
4897 | /* end confdefs.h. */ | | 5187 | /* end confdefs.h. */ |
4898 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | | 5188 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
4899 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | | 5189 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
4900 | #define $ac_func innocuous_$ac_func | | 5190 | #define $ac_func innocuous_$ac_func |
4901 | | | 5191 | |
4902 | /* System header to define __stub macros and hopefully few prototypes, | | 5192 | /* System header to define __stub macros and hopefully few prototypes, |
4903 | which can conflict with char $ac_func (); below. | | 5193 | which can conflict with char $ac_func (); below. |
| @@ -4930,55 +5220,61 @@ int | | | @@ -4930,55 +5220,61 @@ int |
4930 | main () | | 5220 | main () |
4931 | { | | 5221 | { |
4932 | return $ac_func (); | | 5222 | return $ac_func (); |
4933 | ; | | 5223 | ; |
4934 | return 0; | | 5224 | return 0; |
4935 | } | | 5225 | } |
4936 | _ACEOF | | 5226 | _ACEOF |
4937 | rm -f conftest.$ac_objext conftest$ac_exeext | | 5227 | rm -f conftest.$ac_objext conftest$ac_exeext |
4938 | if { (ac_try="$ac_link" | | 5228 | if { (ac_try="$ac_link" |
4939 | case "(($ac_try" in | | 5229 | case "(($ac_try" in |
4940 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 5230 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4941 | *) ac_try_echo=$ac_try;; | | 5231 | *) ac_try_echo=$ac_try;; |
4942 | esac | | 5232 | esac |
4943 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 5233 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5234 | $as_echo "$ac_try_echo") >&5 |
4944 | (eval "$ac_link") 2>conftest.er1 | | 5235 | (eval "$ac_link") 2>conftest.er1 |
4945 | ac_status=$? | | 5236 | ac_status=$? |
4946 | grep -v '^ *+' conftest.er1 >conftest.err | | 5237 | grep -v '^ *+' conftest.er1 >conftest.err |
4947 | rm -f conftest.er1 | | 5238 | rm -f conftest.er1 |
4948 | cat conftest.err >&5 | | 5239 | cat conftest.err >&5 |
4949 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 5240 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4950 | (exit $ac_status); } && { | | 5241 | (exit $ac_status); } && { |
4951 | test -z "$ac_c_werror_flag" || | | 5242 | test -z "$ac_c_werror_flag" || |
4952 | test ! -s conftest.err | | 5243 | test ! -s conftest.err |
4953 | } && test -s conftest$ac_exeext && | | 5244 | } && test -s conftest$ac_exeext && { |
4954 | $as_test_x conftest$ac_exeext; then | | 5245 | test "$cross_compiling" = yes || |
| | | 5246 | $as_test_x conftest$ac_exeext |
| | | 5247 | }; then |
4955 | eval "$as_ac_var=yes" | | 5248 | eval "$as_ac_var=yes" |
4956 | else | | 5249 | else |
4957 | echo "$as_me: failed program was:" >&5 | | 5250 | $as_echo "$as_me: failed program was:" >&5 |
4958 | sed 's/^/| /' conftest.$ac_ext >&5 | | 5251 | sed 's/^/| /' conftest.$ac_ext >&5 |
4959 | | | 5252 | |
4960 | eval "$as_ac_var=no" | | 5253 | eval "$as_ac_var=no" |
4961 | fi | | 5254 | fi |
4962 | | | 5255 | |
| | | 5256 | rm -rf conftest.dSYM |
4963 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | | 5257 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4964 | conftest$ac_exeext conftest.$ac_ext | | 5258 | conftest$ac_exeext conftest.$ac_ext |
4965 | fi | | 5259 | fi |
4966 | ac_res=`eval echo '${'$as_ac_var'}'` | | 5260 | ac_res=`eval 'as_val=${'$as_ac_var'} |
4967 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | | 5261 | $as_echo "$as_val"'` |
4968 | echo "${ECHO_T}$ac_res" >&6; } | | 5262 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
4969 | if test `eval echo '${'$as_ac_var'}'` = yes; then | | 5263 | $as_echo "$ac_res" >&6; } |
| | | 5264 | if test `eval 'as_val=${'$as_ac_var'} |
| | | 5265 | $as_echo "$as_val"'` = yes; then |
4970 | cat >>confdefs.h <<_ACEOF | | 5266 | cat >>confdefs.h <<_ACEOF |
4971 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 5267 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4972 | _ACEOF | | 5268 | _ACEOF |
4973 | | | 5269 | |
4974 | fi | | 5270 | fi |
4975 | done | | 5271 | done |
4976 | | | 5272 | |
4977 | # | | 5273 | # |
4978 | | | 5274 | |
4979 | | | 5275 | |
4980 | | | 5276 | |
4981 | ac_config_files="$ac_config_files Makefile" | | 5277 | ac_config_files="$ac_config_files Makefile" |
4982 | | | 5278 | |
4983 | cat >confcache <<\_ACEOF | | 5279 | cat >confcache <<\_ACEOF |
4984 | # This file is a shell script that caches the results of configure | | 5280 | # This file is a shell script that caches the results of configure |
| @@ -4997,31 +5293,32 @@ cat >confcache <<\_ACEOF | | | @@ -4997,31 +5293,32 @@ cat >confcache <<\_ACEOF |
4997 | _ACEOF | | 5293 | _ACEOF |
4998 | | | 5294 | |
4999 | # The following way of writing the cache mishandles newlines in values, | | 5295 | # The following way of writing the cache mishandles newlines in values, |
5000 | # but we know of no workaround that is simple, portable, and efficient. | | 5296 | # but we know of no workaround that is simple, portable, and efficient. |
5001 | # So, we kill variables containing newlines. | | 5297 | # So, we kill variables containing newlines. |
5002 | # Ultrix sh set writes to stderr and can't be redirected directly, | | 5298 | # Ultrix sh set writes to stderr and can't be redirected directly, |
5003 | # and sets the high bit in the cache file unless we assign to the vars. | | 5299 | # and sets the high bit in the cache file unless we assign to the vars. |
5004 | ( | | 5300 | ( |
5005 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | | 5301 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
5006 | eval ac_val=\$$ac_var | | 5302 | eval ac_val=\$$ac_var |
5007 | case $ac_val in #( | | 5303 | case $ac_val in #( |
5008 | *${as_nl}*) | | 5304 | *${as_nl}*) |
5009 | case $ac_var in #( | | 5305 | case $ac_var in #( |
5010 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | | 5306 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
5011 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | | 5307 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
5012 | esac | | 5308 | esac |
5013 | case $ac_var in #( | | 5309 | case $ac_var in #( |
5014 | _ | IFS | as_nl) ;; #( | | 5310 | _ | IFS | as_nl) ;; #( |
| | | 5311 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
5015 | *) $as_unset $ac_var ;; | | 5312 | *) $as_unset $ac_var ;; |
5016 | esac ;; | | 5313 | esac ;; |
5017 | esac | | 5314 | esac |
5018 | done | | 5315 | done |
5019 | | | 5316 | |
5020 | (set) 2>&1 | | | 5317 | (set) 2>&1 | |
5021 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | | 5318 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
5022 | *${as_nl}ac_space=\ *) | | 5319 | *${as_nl}ac_space=\ *) |
5023 | # `set' does not quote correctly, so add quotes (double-quote | | 5320 | # `set' does not quote correctly, so add quotes (double-quote |
5024 | # substitution turns \\\\ into \\, and sed turns \\ into \). | | 5321 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
5025 | sed -n \ | | 5322 | sed -n \ |
5026 | "s/'/'\\\\''/g; | | 5323 | "s/'/'\\\\''/g; |
5027 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | | 5324 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| @@ -5034,205 +5331,225 @@ echo "$as_me: WARNING: Cache variable $a | | | @@ -5034,205 +5331,225 @@ echo "$as_me: WARNING: Cache variable $a |
5034 | sort | | 5331 | sort |
5035 | ) | | | 5332 | ) | |
5036 | sed ' | | 5333 | sed ' |
5037 | /^ac_cv_env_/b end | | 5334 | /^ac_cv_env_/b end |
5038 | t clear | | 5335 | t clear |
5039 | :clear | | 5336 | :clear |
5040 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | | 5337 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
5041 | t end | | 5338 | t end |
5042 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | | 5339 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5043 | :end' >>confcache | | 5340 | :end' >>confcache |
5044 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | | 5341 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5045 | if test -w "$cache_file"; then | | 5342 | if test -w "$cache_file"; then |
5046 | test "x$cache_file" != "x/dev/null" && | | 5343 | test "x$cache_file" != "x/dev/null" && |
5047 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | | 5344 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
5048 | echo "$as_me: updating cache $cache_file" >&6;} | | 5345 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
5049 | cat confcache >$cache_file | | 5346 | cat confcache >$cache_file |
5050 | else | | 5347 | else |
5051 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | | 5348 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
5052 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} | | 5349 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5053 | fi | | 5350 | fi |
5054 | fi | | 5351 | fi |
5055 | rm -f confcache | | 5352 | rm -f confcache |
5056 | | | 5353 | |
5057 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | | 5354 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
5058 | # Let make expand exec_prefix. | | 5355 | # Let make expand exec_prefix. |
5059 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | | 5356 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
5060 | | | 5357 | |
5061 | DEFS=-DHAVE_CONFIG_H | | 5358 | DEFS=-DHAVE_CONFIG_H |
5062 | | | 5359 | |
5063 | ac_libobjs= | | 5360 | ac_libobjs= |
5064 | ac_ltlibobjs= | | 5361 | ac_ltlibobjs= |
5065 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | | 5362 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
5066 | # 1. Remove the extension, and $U if already installed. | | 5363 | # 1. Remove the extension, and $U if already installed. |
5067 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | | 5364 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
5068 | ac_i=`echo "$ac_i" | sed "$ac_script"` | | 5365 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
5069 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | | 5366 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
5070 | # will be set to the directory where LIBOBJS objects are built. | | 5367 | # will be set to the directory where LIBOBJS objects are built. |
5071 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | | 5368 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
5072 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | | 5369 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
5073 | done | | 5370 | done |
5074 | LIBOBJS=$ac_libobjs | | 5371 | LIBOBJS=$ac_libobjs |
5075 | | | 5372 | |
5076 | LTLIBOBJS=$ac_ltlibobjs | | 5373 | LTLIBOBJS=$ac_ltlibobjs |
5077 | | | 5374 | |
5078 | | | 5375 | |
5079 | | | 5376 | |
5080 | : ${CONFIG_STATUS=./config.status} | | 5377 | : ${CONFIG_STATUS=./config.status} |
| | | 5378 | ac_write_fail=0 |
5081 | ac_clean_files_save=$ac_clean_files | | 5379 | ac_clean_files_save=$ac_clean_files |
5082 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | | 5380 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5083 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | | 5381 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
5084 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | | 5382 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5085 | cat >$CONFIG_STATUS <<_ACEOF | | 5383 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5086 | #! $SHELL | | 5384 | #! $SHELL |
5087 | # Generated by $as_me. | | 5385 | # Generated by $as_me. |
5088 | # Run this file to recreate the current configuration. | | 5386 | # Run this file to recreate the current configuration. |
5089 | # Compiler output produced by configure, useful for debugging | | 5387 | # Compiler output produced by configure, useful for debugging |
5090 | # configure, is in config.log if it exists. | | 5388 | # configure, is in config.log if it exists. |
5091 | | | 5389 | |
5092 | debug=false | | 5390 | debug=false |
5093 | ac_cs_recheck=false | | 5391 | ac_cs_recheck=false |
5094 | ac_cs_silent=false | | 5392 | ac_cs_silent=false |
5095 | SHELL=\${CONFIG_SHELL-$SHELL} | | 5393 | SHELL=\${CONFIG_SHELL-$SHELL} |
5096 | _ACEOF | | 5394 | _ACEOF |
5097 | | | 5395 | |
5098 | cat >>$CONFIG_STATUS <<\_ACEOF | | 5396 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5099 | ## --------------------- ## | | 5397 | ## --------------------- ## |
5100 | ## M4sh Initialization. ## | | 5398 | ## M4sh Initialization. ## |
5101 | ## --------------------- ## | | 5399 | ## --------------------- ## |
5102 | | | 5400 | |
5103 | # Be more Bourne compatible | | 5401 | # Be more Bourne compatible |
5104 | DUALCASE=1; export DUALCASE # for MKS sh | | 5402 | DUALCASE=1; export DUALCASE # for MKS sh |
5105 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | | 5403 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
5106 | emulate sh | | 5404 | emulate sh |
5107 | NULLCMD=: | | 5405 | NULLCMD=: |
5108 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | | 5406 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
5109 | # is contrary to our usage. Disable this feature. | | 5407 | # is contrary to our usage. Disable this feature. |
5110 | alias -g '${1+"$@"}'='"$@"' | | 5408 | alias -g '${1+"$@"}'='"$@"' |
5111 | setopt NO_GLOB_SUBST | | 5409 | setopt NO_GLOB_SUBST |
5112 | else | | 5410 | else |
5113 | case `(set -o) 2>/dev/null` in | | 5411 | case `(set -o) 2>/dev/null` in |
5114 | *posix*) set -o posix ;; | | 5412 | *posix*) set -o posix ;; |
5115 | esac | | 5413 | esac |
5116 | | | 5414 | |
5117 | fi | | 5415 | fi |
5118 | | | 5416 | |
5119 | | | 5417 | |
5120 | | | 5418 | |
5121 | | | 5419 | |
5122 | # PATH needs CR | | 5420 | # PATH needs CR |
5123 | # Avoid depending upon Character Ranges. | | 5421 | # Avoid depending upon Character Ranges. |
5124 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | | 5422 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
5125 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | | 5423 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
5126 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | | 5424 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
5127 | as_cr_digits='0123456789' | | 5425 | as_cr_digits='0123456789' |
5128 | as_cr_alnum=$as_cr_Letters$as_cr_digits | | 5426 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
5129 | | | 5427 | |
5130 | # The user is always right. | | 5428 | as_nl=' |
5131 | if test "${PATH_SEPARATOR+set}" != set; then | | 5429 | ' |
5132 | echo "#! /bin/sh" >conf$$.sh | | 5430 | export as_nl |
5133 | echo "exit 0" >>conf$$.sh | | 5431 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
5134 | chmod +x conf$$.sh | | 5432 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
5135 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | | 5433 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
5136 | PATH_SEPARATOR=';' | | 5434 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| | | 5435 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| | | 5436 | as_echo='printf %s\n' |
| | | 5437 | as_echo_n='printf %s' |
| | | 5438 | else |
| | | 5439 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| | | 5440 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| | | 5441 | as_echo_n='/usr/ucb/echo -n' |
5137 | else | | 5442 | else |
5138 | PATH_SEPARATOR=: | | 5443 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| | | 5444 | as_echo_n_body='eval |
| | | 5445 | arg=$1; |
| | | 5446 | case $arg in |
| | | 5447 | *"$as_nl"*) |
| | | 5448 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| | | 5449 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| | | 5450 | esac; |
| | | 5451 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| | | 5452 | ' |
| | | 5453 | export as_echo_n_body |
| | | 5454 | as_echo_n='sh -c $as_echo_n_body as_echo' |
5139 | fi | | 5455 | fi |
5140 | rm -f conf$$.sh | | 5456 | export as_echo_body |
| | | 5457 | as_echo='sh -c $as_echo_body as_echo' |
| | | 5458 | fi |
| | | 5459 | |
| | | 5460 | # The user is always right. |
| | | 5461 | if test "${PATH_SEPARATOR+set}" != set; then |
| | | 5462 | PATH_SEPARATOR=: |
| | | 5463 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| | | 5464 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| | | 5465 | PATH_SEPARATOR=';' |
| | | 5466 | } |
5141 | fi | | 5467 | fi |
5142 | | | 5468 | |
5143 | # Support unset when possible. | | 5469 | # Support unset when possible. |
5144 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | | 5470 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
5145 | as_unset=unset | | 5471 | as_unset=unset |
5146 | else | | 5472 | else |
5147 | as_unset=false | | 5473 | as_unset=false |
5148 | fi | | 5474 | fi |
5149 | | | 5475 | |
5150 | | | 5476 | |
5151 | # IFS | | 5477 | # IFS |
5152 | # We need space, tab and new line, in precisely that order. Quoting is | | 5478 | # We need space, tab and new line, in precisely that order. Quoting is |
5153 | # there to prevent editors from complaining about space-tab. | | 5479 | # there to prevent editors from complaining about space-tab. |
5154 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | | 5480 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
5155 | # splitting by setting IFS to empty value.) | | 5481 | # splitting by setting IFS to empty value.) |
5156 | as_nl=' | | | |
5157 | ' | | | |
5158 | IFS=" "" $as_nl" | | 5482 | IFS=" "" $as_nl" |
5159 | | | 5483 | |
5160 | # Find who we are. Look in the path if we contain no directory separator. | | 5484 | # Find who we are. Look in the path if we contain no directory separator. |
5161 | case $0 in | | 5485 | case $0 in |
5162 | *[\\/]* ) as_myself=$0 ;; | | 5486 | *[\\/]* ) as_myself=$0 ;; |
5163 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 5487 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5164 | for as_dir in $PATH | | 5488 | for as_dir in $PATH |
5165 | do | | 5489 | do |
5166 | IFS=$as_save_IFS | | 5490 | IFS=$as_save_IFS |
5167 | test -z "$as_dir" && as_dir=. | | 5491 | test -z "$as_dir" && as_dir=. |
5168 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | | 5492 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
5169 | done | | 5493 | done |
5170 | IFS=$as_save_IFS | | 5494 | IFS=$as_save_IFS |
5171 | | | 5495 | |
5172 | ;; | | 5496 | ;; |
5173 | esac | | 5497 | esac |
5174 | # We did not find ourselves, most probably we were run as `sh COMMAND' | | 5498 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
5175 | # in which case we are not to be found in the path. | | 5499 | # in which case we are not to be found in the path. |
5176 | if test "x$as_myself" = x; then | | 5500 | if test "x$as_myself" = x; then |
5177 | as_myself=$0 | | 5501 | as_myself=$0 |
5178 | fi | | 5502 | fi |
5179 | if test ! -f "$as_myself"; then | | 5503 | if test ! -f "$as_myself"; then |
5180 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | | 5504 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
5181 | { (exit 1); exit 1; } | | 5505 | { (exit 1); exit 1; } |
5182 | fi | | 5506 | fi |
5183 | | | 5507 | |
5184 | # Work around bugs in pre-3.0 UWIN ksh. | | 5508 | # Work around bugs in pre-3.0 UWIN ksh. |
5185 | for as_var in ENV MAIL MAILPATH | | 5509 | for as_var in ENV MAIL MAILPATH |
5186 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | | 5510 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
5187 | done | | 5511 | done |
5188 | PS1='$ ' | | 5512 | PS1='$ ' |
5189 | PS2='> ' | | 5513 | PS2='> ' |
5190 | PS4='+ ' | | 5514 | PS4='+ ' |
5191 | | | 5515 | |
5192 | # NLS nuisances. | | 5516 | # NLS nuisances. |
5193 | for as_var in \ | | 5517 | LC_ALL=C |
5194 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | | 5518 | export LC_ALL |
5195 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | | 5519 | LANGUAGE=C |
5196 | LC_TELEPHONE LC_TIME | | 5520 | export LANGUAGE |
5197 | do | | | |
5198 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | | | |
5199 | eval $as_var=C; export $as_var | | | |
5200 | else | | | |
5201 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | | | |
5202 | fi | | | |
5203 | done | | | |
5204 | | | 5521 | |
5205 | # Required to use basename. | | 5522 | # Required to use basename. |
5206 | if expr a : '\(a\)' >/dev/null 2>&1 && | | 5523 | if expr a : '\(a\)' >/dev/null 2>&1 && |
5207 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | | 5524 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
5208 | as_expr=expr | | 5525 | as_expr=expr |
5209 | else | | 5526 | else |
5210 | as_expr=false | | 5527 | as_expr=false |
5211 | fi | | 5528 | fi |
5212 | | | 5529 | |
5213 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | | 5530 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
5214 | as_basename=basename | | 5531 | as_basename=basename |
5215 | else | | 5532 | else |
5216 | as_basename=false | | 5533 | as_basename=false |
5217 | fi | | 5534 | fi |
5218 | | | 5535 | |
5219 | | | 5536 | |
5220 | # Name of the executable. | | 5537 | # Name of the executable. |
5221 | as_me=`$as_basename -- "$0" || | | 5538 | as_me=`$as_basename -- "$0" || |
5222 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | | 5539 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
5223 | X"$0" : 'X\(//\)$' \| \ | | 5540 | X"$0" : 'X\(//\)$' \| \ |
5224 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | | 5541 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
5225 | echo X/"$0" | | | 5542 | $as_echo X/"$0" | |
5226 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | | 5543 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
5227 | s//\1/ | | 5544 | s//\1/ |
5228 | q | | 5545 | q |
5229 | } | | 5546 | } |
5230 | /^X\/\(\/\/\)$/{ | | 5547 | /^X\/\(\/\/\)$/{ |
5231 | s//\1/ | | 5548 | s//\1/ |
5232 | q | | 5549 | q |
5233 | } | | 5550 | } |
5234 | /^X\/\(\/\).*/{ | | 5551 | /^X\/\(\/\).*/{ |
5235 | s//\1/ | | 5552 | s//\1/ |
5236 | q | | 5553 | q |
5237 | } | | 5554 | } |
5238 | s/.*/./; q'` | | 5555 | s/.*/./; q'` |
| @@ -5263,27 +5580,27 @@ $as_unset CDPATH | | | @@ -5263,27 +5580,27 @@ $as_unset CDPATH |
5263 | ' <$as_myself | | | 5580 | ' <$as_myself | |
5264 | sed ' | | 5581 | sed ' |
5265 | s/[$]LINENO.*/&-/ | | 5582 | s/[$]LINENO.*/&-/ |
5266 | t lineno | | 5583 | t lineno |
5267 | b | | 5584 | b |
5268 | :lineno | | 5585 | :lineno |
5269 | N | | 5586 | N |
5270 | :loop | | 5587 | :loop |
5271 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | | 5588 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
5272 | t loop | | 5589 | t loop |
5273 | s/-\n.*// | | 5590 | s/-\n.*// |
5274 | ' >$as_me.lineno && | | 5591 | ' >$as_me.lineno && |
5275 | chmod +x "$as_me.lineno" || | | 5592 | chmod +x "$as_me.lineno" || |
5276 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | | 5593 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
5277 | { (exit 1); exit 1; }; } | | 5594 | { (exit 1); exit 1; }; } |
5278 | | | 5595 | |
5279 | # Don't try to exec as it changes $[0], causing all sort of problems | | 5596 | # Don't try to exec as it changes $[0], causing all sort of problems |
5280 | # (the dirname of $[0] is not the place where we might find the | | 5597 | # (the dirname of $[0] is not the place where we might find the |
5281 | # original and so on. Autoconf is especially sensitive to this). | | 5598 | # original and so on. Autoconf is especially sensitive to this). |
5282 | . "./$as_me.lineno" | | 5599 | . "./$as_me.lineno" |
5283 | # Exit status is that of the last command. | | 5600 | # Exit status is that of the last command. |
5284 | exit | | 5601 | exit |
5285 | } | | 5602 | } |
5286 | | | 5603 | |
5287 | | | 5604 | |
5288 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | | 5605 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
5289 | as_dirname=dirname | | 5606 | as_dirname=dirname |
| @@ -5291,263 +5608,274 @@ else | | | @@ -5291,263 +5608,274 @@ else |
5291 | as_dirname=false | | 5608 | as_dirname=false |
5292 | fi | | 5609 | fi |
5293 | | | 5610 | |
5294 | ECHO_C= ECHO_N= ECHO_T= | | 5611 | ECHO_C= ECHO_N= ECHO_T= |
5295 | case `echo -n x` in | | 5612 | case `echo -n x` in |
5296 | -n*) | | 5613 | -n*) |
5297 | case `echo 'x\c'` in | | 5614 | case `echo 'x\c'` in |
5298 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | | 5615 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
5299 | *) ECHO_C='\c';; | | 5616 | *) ECHO_C='\c';; |
5300 | esac;; | | 5617 | esac;; |
5301 | *) | | 5618 | *) |
5302 | ECHO_N='-n';; | | 5619 | ECHO_N='-n';; |
5303 | esac | | 5620 | esac |
5304 | | | | |
5305 | if expr a : '\(a\)' >/dev/null 2>&1 && | | 5621 | if expr a : '\(a\)' >/dev/null 2>&1 && |
5306 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | | 5622 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
5307 | as_expr=expr | | 5623 | as_expr=expr |
5308 | else | | 5624 | else |
5309 | as_expr=false | | 5625 | as_expr=false |
5310 | fi | | 5626 | fi |
5311 | | | 5627 | |
5312 | rm -f conf$$ conf$$.exe conf$$.file | | 5628 | rm -f conf$$ conf$$.exe conf$$.file |
5313 | if test -d conf$$.dir; then | | 5629 | if test -d conf$$.dir; then |
5314 | rm -f conf$$.dir/conf$$.file | | 5630 | rm -f conf$$.dir/conf$$.file |
5315 | else | | 5631 | else |
5316 | rm -f conf$$.dir | | 5632 | rm -f conf$$.dir |
5317 | mkdir conf$$.dir | | 5633 | mkdir conf$$.dir 2>/dev/null |
5318 | fi | | 5634 | fi |
5319 | echo >conf$$.file | | 5635 | if (echo >conf$$.file) 2>/dev/null; then |
5320 | if ln -s conf$$.file conf$$ 2>/dev/null; then | | 5636 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
5321 | as_ln_s='ln -s' | | 5637 | as_ln_s='ln -s' |
5322 | # ... but there are two gotchas: | | 5638 | # ... but there are two gotchas: |
5323 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | | 5639 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
5324 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | | 5640 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
5325 | # In both cases, we have to default to `cp -p'. | | 5641 | # In both cases, we have to default to `cp -p'. |
5326 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | | 5642 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| | | 5643 | as_ln_s='cp -p' |
| | | 5644 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| | | 5645 | as_ln_s=ln |
| | | 5646 | else |
5327 | as_ln_s='cp -p' | | 5647 | as_ln_s='cp -p' |
5328 | elif ln conf$$.file conf$$ 2>/dev/null; then | | 5648 | fi |
5329 | as_ln_s=ln | | | |
5330 | else | | 5649 | else |
5331 | as_ln_s='cp -p' | | 5650 | as_ln_s='cp -p' |
5332 | fi | | 5651 | fi |
5333 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | | 5652 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
5334 | rmdir conf$$.dir 2>/dev/null | | 5653 | rmdir conf$$.dir 2>/dev/null |
5335 | | | 5654 | |
5336 | if mkdir -p . 2>/dev/null; then | | 5655 | if mkdir -p . 2>/dev/null; then |
5337 | as_mkdir_p=: | | 5656 | as_mkdir_p=: |
5338 | else | | 5657 | else |
5339 | test -d ./-p && rmdir ./-p | | 5658 | test -d ./-p && rmdir ./-p |
5340 | as_mkdir_p=false | | 5659 | as_mkdir_p=false |
5341 | fi | | 5660 | fi |
5342 | | | 5661 | |
5343 | if test -x / >/dev/null 2>&1; then | | 5662 | if test -x / >/dev/null 2>&1; then |
5344 | as_test_x='test -x' | | 5663 | as_test_x='test -x' |
5345 | else | | 5664 | else |
5346 | if ls -dL / >/dev/null 2>&1; then | | 5665 | if ls -dL / >/dev/null 2>&1; then |
5347 | as_ls_L_option=L | | 5666 | as_ls_L_option=L |
5348 | else | | 5667 | else |
5349 | as_ls_L_option= | | 5668 | as_ls_L_option= |
5350 | fi | | 5669 | fi |
5351 | as_test_x=' | | 5670 | as_test_x=' |
5352 | eval sh -c '\'' | | 5671 | eval sh -c '\'' |
5353 | if test -d "$1"; then | | 5672 | if test -d "$1"; then |
5354 | test -d "$1/."; | | 5673 | test -d "$1/."; |
5355 | else | | 5674 | else |
5356 | case $1 in | | 5675 | case $1 in |
5357 | -*)set "./$1";; | | 5676 | -*)set "./$1";; |
5358 | esac; | | 5677 | esac; |
5359 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | | 5678 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
5360 | ???[sx]*):;;*)false;;esac;fi | | 5679 | ???[sx]*):;;*)false;;esac;fi |
5361 | '\'' sh | | 5680 | '\'' sh |
5362 | ' | | 5681 | ' |
5363 | fi | | 5682 | fi |
5364 | as_executable_p=$as_test_x | | 5683 | as_executable_p=$as_test_x |
5365 | | | 5684 | |
5366 | # Sed expression to map a string onto a valid CPP name. | | 5685 | # Sed expression to map a string onto a valid CPP name. |
5367 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | | 5686 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
5368 | | | 5687 | |
5369 | # Sed expression to map a string onto a valid variable name. | | 5688 | # Sed expression to map a string onto a valid variable name. |
5370 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | | 5689 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
5371 | | | 5690 | |
5372 | | | 5691 | |
5373 | exec 6>&1 | | 5692 | exec 6>&1 |
5374 | | | 5693 | |
5375 | # Save the log message, to keep $[0] and so on meaningful, and to | | 5694 | # Save the log message, to keep $[0] and so on meaningful, and to |
5376 | # report actual input values of CONFIG_FILES etc. instead of their | | 5695 | # report actual input values of CONFIG_FILES etc. instead of their |
5377 | # values after options handling. | | 5696 | # values after options handling. |
5378 | ac_log=" | | 5697 | ac_log=" |
5379 | This file was extended by nbsd-digest $as_me 20070803, which was | | 5698 | This file was extended by nbsd-digest $as_me 20080509, which was |
5380 | generated by GNU Autoconf 2.61. Invocation command line was | | 5699 | generated by GNU Autoconf 2.62. Invocation command line was |
5381 | | | 5700 | |
5382 | CONFIG_FILES = $CONFIG_FILES | | 5701 | CONFIG_FILES = $CONFIG_FILES |
5383 | CONFIG_HEADERS = $CONFIG_HEADERS | | 5702 | CONFIG_HEADERS = $CONFIG_HEADERS |
5384 | CONFIG_LINKS = $CONFIG_LINKS | | 5703 | CONFIG_LINKS = $CONFIG_LINKS |
5385 | CONFIG_COMMANDS = $CONFIG_COMMANDS | | 5704 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
5386 | $ $0 $@ | | 5705 | $ $0 $@ |
5387 | | | 5706 | |
5388 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | | 5707 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
5389 | " | | 5708 | " |
5390 | | | 5709 | |
5391 | _ACEOF | | 5710 | _ACEOF |
5392 | | | 5711 | |
5393 | cat >>$CONFIG_STATUS <<_ACEOF | | 5712 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5394 | # Files that config.status was made for. | | 5713 | # Files that config.status was made for. |
5395 | config_files="$ac_config_files" | | 5714 | config_files="$ac_config_files" |
5396 | config_headers="$ac_config_headers" | | 5715 | config_headers="$ac_config_headers" |
5397 | | | 5716 | |
5398 | _ACEOF | | 5717 | _ACEOF |
5399 | | | 5718 | |
5400 | cat >>$CONFIG_STATUS <<\_ACEOF | | 5719 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5401 | ac_cs_usage="\ | | 5720 | ac_cs_usage="\ |
5402 | \`$as_me' instantiates files from templates according to the | | 5721 | \`$as_me' instantiates files from templates according to the |
5403 | current configuration. | | 5722 | current configuration. |
5404 | | | 5723 | |
5405 | Usage: $0 [OPTIONS] [FILE]... | | 5724 | Usage: $0 [OPTIONS] [FILE]... |
5406 | | | 5725 | |
5407 | -h, --help print this help, then exit | | 5726 | -h, --help print this help, then exit |
5408 | -V, --version print version number and configuration settings, then exit | | 5727 | -V, --version print version number and configuration settings, then exit |
5409 | -q, --quiet do not print progress messages | | 5728 | -q, --quiet do not print progress messages |
5410 | -d, --debug don't remove temporary files | | 5729 | -d, --debug don't remove temporary files |
5411 | --recheck update $as_me by reconfiguring in the same conditions | | 5730 | --recheck update $as_me by reconfiguring in the same conditions |
5412 | --file=FILE[:TEMPLATE] | | 5731 | --file=FILE[:TEMPLATE] |
5413 | instantiate the configuration file FILE | | 5732 | instantiate the configuration file FILE |
5414 | --header=FILE[:TEMPLATE] | | 5733 | --header=FILE[:TEMPLATE] |
5415 | instantiate the configuration header FILE | | 5734 | instantiate the configuration header FILE |
5416 | | | 5735 | |
5417 | Configuration files: | | 5736 | Configuration files: |
5418 | $config_files | | 5737 | $config_files |
5419 | | | 5738 | |
5420 | Configuration headers: | | 5739 | Configuration headers: |
5421 | $config_headers | | 5740 | $config_headers |
5422 | | | 5741 | |
5423 | Report bugs to <bug-autoconf@gnu.org>." | | 5742 | Report bugs to <bug-autoconf@gnu.org>." |
5424 | | | 5743 | |
5425 | _ACEOF | | 5744 | _ACEOF |
5426 | cat >>$CONFIG_STATUS <<_ACEOF | | 5745 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5427 | ac_cs_version="\\ | | 5746 | ac_cs_version="\\ |
5428 | nbsd-digest config.status 20070803 | | 5747 | nbsd-digest config.status 20080509 |
5429 | configured by $0, generated by GNU Autoconf 2.61, | | 5748 | configured by $0, generated by GNU Autoconf 2.62, |
5430 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | | 5749 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
5431 | | | 5750 | |
5432 | Copyright (C) 2006 Free Software Foundation, Inc. | | 5751 | Copyright (C) 2008 Free Software Foundation, Inc. |
5433 | This config.status script is free software; the Free Software Foundation | | 5752 | This config.status script is free software; the Free Software Foundation |
5434 | gives unlimited permission to copy, distribute and modify it." | | 5753 | gives unlimited permission to copy, distribute and modify it." |
5435 | | | 5754 | |
5436 | ac_pwd='$ac_pwd' | | 5755 | ac_pwd='$ac_pwd' |
5437 | srcdir='$srcdir' | | 5756 | srcdir='$srcdir' |
5438 | INSTALL='$INSTALL' | | 5757 | INSTALL='$INSTALL' |
| | | 5758 | AWK='$AWK' |
| | | 5759 | test -n "\$AWK" || AWK=awk |
5439 | _ACEOF | | 5760 | _ACEOF |
5440 | | | 5761 | |
5441 | cat >>$CONFIG_STATUS <<\_ACEOF | | 5762 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5442 | # If no file are specified by the user, then we need to provide default | | 5763 | # The default lists apply if the user does not specify any file. |
5443 | # value. By we need to know if files were specified by the user. | | | |
5444 | ac_need_defaults=: | | 5764 | ac_need_defaults=: |
5445 | while test $# != 0 | | 5765 | while test $# != 0 |
5446 | do | | 5766 | do |
5447 | case $1 in | | 5767 | case $1 in |
5448 | --*=*) | | 5768 | --*=*) |
5449 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | | 5769 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
5450 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | | 5770 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
5451 | ac_shift=: | | 5771 | ac_shift=: |
5452 | ;; | | 5772 | ;; |
5453 | *) | | 5773 | *) |
5454 | ac_option=$1 | | 5774 | ac_option=$1 |
5455 | ac_optarg=$2 | | 5775 | ac_optarg=$2 |
5456 | ac_shift=shift | | 5776 | ac_shift=shift |
5457 | ;; | | 5777 | ;; |
5458 | esac | | 5778 | esac |
5459 | | | 5779 | |
5460 | case $ac_option in | | 5780 | case $ac_option in |
5461 | # Handling of the options. | | 5781 | # Handling of the options. |
5462 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | | 5782 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
5463 | ac_cs_recheck=: ;; | | 5783 | ac_cs_recheck=: ;; |
5464 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | | 5784 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
5465 | echo "$ac_cs_version"; exit ;; | | 5785 | $as_echo "$ac_cs_version"; exit ;; |
5466 | --debug | --debu | --deb | --de | --d | -d ) | | 5786 | --debug | --debu | --deb | --de | --d | -d ) |
5467 | debug=: ;; | | 5787 | debug=: ;; |
5468 | --file | --fil | --fi | --f ) | | 5788 | --file | --fil | --fi | --f ) |
5469 | $ac_shift | | 5789 | $ac_shift |
5470 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | | 5790 | case $ac_optarg in |
| | | 5791 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| | | 5792 | esac |
| | | 5793 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
5471 | ac_need_defaults=false;; | | 5794 | ac_need_defaults=false;; |
5472 | --header | --heade | --head | --hea ) | | 5795 | --header | --heade | --head | --hea ) |
5473 | $ac_shift | | 5796 | $ac_shift |
5474 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | | 5797 | case $ac_optarg in |
| | | 5798 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| | | 5799 | esac |
| | | 5800 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
5475 | ac_need_defaults=false;; | | 5801 | ac_need_defaults=false;; |
5476 | --he | --h) | | 5802 | --he | --h) |
5477 | # Conflict between --help and --header | | 5803 | # Conflict between --help and --header |
5478 | { echo "$as_me: error: ambiguous option: $1 | | 5804 | { $as_echo "$as_me: error: ambiguous option: $1 |
5479 | Try \`$0 --help' for more information." >&2 | | 5805 | Try \`$0 --help' for more information." >&2 |
5480 | { (exit 1); exit 1; }; };; | | 5806 | { (exit 1); exit 1; }; };; |
5481 | --help | --hel | -h ) | | 5807 | --help | --hel | -h ) |
5482 | echo "$ac_cs_usage"; exit ;; | | 5808 | $as_echo "$ac_cs_usage"; exit ;; |
5483 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | | 5809 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
5484 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | | 5810 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
5485 | ac_cs_silent=: ;; | | 5811 | ac_cs_silent=: ;; |
5486 | | | 5812 | |
5487 | # This is an error. | | 5813 | # This is an error. |
5488 | -*) { echo "$as_me: error: unrecognized option: $1 | | 5814 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
5489 | Try \`$0 --help' for more information." >&2 | | 5815 | Try \`$0 --help' for more information." >&2 |
5490 | { (exit 1); exit 1; }; } ;; | | 5816 | { (exit 1); exit 1; }; } ;; |
5491 | | | 5817 | |
5492 | *) ac_config_targets="$ac_config_targets $1" | | 5818 | *) ac_config_targets="$ac_config_targets $1" |
5493 | ac_need_defaults=false ;; | | 5819 | ac_need_defaults=false ;; |
5494 | | | 5820 | |
5495 | esac | | 5821 | esac |
5496 | shift | | 5822 | shift |
5497 | done | | 5823 | done |
5498 | | | 5824 | |
5499 | ac_configure_extra_args= | | 5825 | ac_configure_extra_args= |
5500 | | | 5826 | |
5501 | if $ac_cs_silent; then | | 5827 | if $ac_cs_silent; then |
5502 | exec 6>/dev/null | | 5828 | exec 6>/dev/null |
5503 | ac_configure_extra_args="$ac_configure_extra_args --silent" | | 5829 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
5504 | fi | | 5830 | fi |
5505 | | | 5831 | |
5506 | _ACEOF | | 5832 | _ACEOF |
5507 | cat >>$CONFIG_STATUS <<_ACEOF | | 5833 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5508 | if \$ac_cs_recheck; then | | 5834 | if \$ac_cs_recheck; then |
5509 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | | 5835 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
5510 | CONFIG_SHELL=$SHELL | | 5836 | shift |
| | | 5837 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| | | 5838 | CONFIG_SHELL='$SHELL' |
5511 | export CONFIG_SHELL | | 5839 | export CONFIG_SHELL |
5512 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | | 5840 | exec "\$@" |
5513 | fi | | 5841 | fi |
5514 | | | 5842 | |
5515 | _ACEOF | | 5843 | _ACEOF |
5516 | cat >>$CONFIG_STATUS <<\_ACEOF | | 5844 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5517 | exec 5>>config.log | | 5845 | exec 5>>config.log |
5518 | { | | 5846 | { |
5519 | echo | | 5847 | echo |
5520 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | | 5848 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
5521 | ## Running $as_me. ## | | 5849 | ## Running $as_me. ## |
5522 | _ASBOX | | 5850 | _ASBOX |
5523 | echo "$ac_log" | | 5851 | $as_echo "$ac_log" |
5524 | } >&5 | | 5852 | } >&5 |
5525 | | | 5853 | |
5526 | _ACEOF | | 5854 | _ACEOF |
5527 | cat >>$CONFIG_STATUS <<_ACEOF | | 5855 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5528 | _ACEOF | | 5856 | _ACEOF |
5529 | | | 5857 | |
5530 | cat >>$CONFIG_STATUS <<\_ACEOF | | 5858 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5531 | | | 5859 | |
5532 | # Handling of arguments. | | 5860 | # Handling of arguments. |
5533 | for ac_config_target in $ac_config_targets | | 5861 | for ac_config_target in $ac_config_targets |
5534 | do | | 5862 | do |
5535 | case $ac_config_target in | | 5863 | case $ac_config_target in |
5536 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | | 5864 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
5537 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | | 5865 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
5538 | | | 5866 | |
5539 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | | 5867 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
5540 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | | 5868 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
5541 | { (exit 1); exit 1; }; };; | | 5869 | { (exit 1); exit 1; }; };; |
5542 | esac | | 5870 | esac |
5543 | done | | 5871 | done |
5544 | | | 5872 | |
5545 | | | 5873 | |
5546 | # If the user did not use the arguments to specify the items to instantiate, | | 5874 | # If the user did not use the arguments to specify the items to instantiate, |
5547 | # then the envvar interface is used. Set only those that are not. | | 5875 | # then the envvar interface is used. Set only those that are not. |
5548 | # We use the long form for the default assignment because of an extremely | | 5876 | # We use the long form for the default assignment because of an extremely |
5549 | # bizarre bug on SunOS 4.1.3. | | 5877 | # bizarre bug on SunOS 4.1.3. |
5550 | if $ac_need_defaults; then | | 5878 | if $ac_need_defaults; then |
5551 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | | 5879 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
5552 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | | 5880 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
5553 | fi | | 5881 | fi |
| @@ -5567,179 +5895,305 @@ $debug || | | | @@ -5567,179 +5895,305 @@ $debug || |
5567 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | | 5895 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
5568 | } | | 5896 | } |
5569 | # Create a (secure) tmp directory for tmp files. | | 5897 | # Create a (secure) tmp directory for tmp files. |
5570 | | | 5898 | |
5571 | { | | 5899 | { |
5572 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | | 5900 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
5573 | test -n "$tmp" && test -d "$tmp" | | 5901 | test -n "$tmp" && test -d "$tmp" |
5574 | } || | | 5902 | } || |
5575 | { | | 5903 | { |
5576 | tmp=./conf$$-$RANDOM | | 5904 | tmp=./conf$$-$RANDOM |
5577 | (umask 077 && mkdir "$tmp") | | 5905 | (umask 077 && mkdir "$tmp") |
5578 | } || | | 5906 | } || |
5579 | { | | 5907 | { |
5580 | echo "$me: cannot create a temporary directory in ." >&2 | | 5908 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 |
5581 | { (exit 1); exit 1; } | | 5909 | { (exit 1); exit 1; } |
5582 | } | | 5910 | } |
5583 | | | 5911 | |
5584 | # | | 5912 | # Set up the scripts for CONFIG_FILES section. |
5585 | # Set up the sed scripts for CONFIG_FILES section. | | 5913 | # No need to generate them if there are no CONFIG_FILES. |
5586 | # | | 5914 | # This happens for instance with `./config.status config.h'. |
5587 | | | | |
5588 | # No need to generate the scripts if there are no CONFIG_FILES. | | | |
5589 | # This happens for instance when ./config.status config.h | | | |
5590 | if test -n "$CONFIG_FILES"; then | | 5915 | if test -n "$CONFIG_FILES"; then |
5591 | | | 5916 | |
5592 | _ACEOF | | | |
5593 | | | 5917 | |
| | | 5918 | ac_cr='
' |
| | | 5919 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| | | 5920 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| | | 5921 | ac_cs_awk_cr='\\r' |
| | | 5922 | else |
| | | 5923 | ac_cs_awk_cr=$ac_cr |
| | | 5924 | fi |
| | | 5925 | |
| | | 5926 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
| | | 5927 | _ACEOF |
5594 | | | 5928 | |
5595 | | | 5929 | |
| | | 5930 | { |
| | | 5931 | echo "cat >conf$$subs.awk <<_ACEOF" && |
| | | 5932 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| | | 5933 | echo "_ACEOF" |
| | | 5934 | } >conf$$subs.sh || |
| | | 5935 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| | | 5936 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| | | 5937 | { (exit 1); exit 1; }; } |
| | | 5938 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
5596 | ac_delim='%!_!# ' | | 5939 | ac_delim='%!_!# ' |
5597 | for ac_last_try in false false false false false :; do | | 5940 | for ac_last_try in false false false false false :; do |
5598 | cat >conf$$subs.sed <<_ACEOF | | 5941 | . ./conf$$subs.sh || |
5599 | SHELL!$SHELL$ac_delim | | 5942 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
5600 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | | 5943 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
5601 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim | | 5944 | { (exit 1); exit 1; }; } |
5602 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | | | |
5603 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | | | |
5604 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim | | | |
5605 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | | | |
5606 | exec_prefix!$exec_prefix$ac_delim | | | |
5607 | prefix!$prefix$ac_delim | | | |
5608 | program_transform_name!$program_transform_name$ac_delim | | | |
5609 | bindir!$bindir$ac_delim | | | |
5610 | sbindir!$sbindir$ac_delim | | | |
5611 | libexecdir!$libexecdir$ac_delim | | | |
5612 | datarootdir!$datarootdir$ac_delim | | | |
5613 | datadir!$datadir$ac_delim | | | |
5614 | sysconfdir!$sysconfdir$ac_delim | | | |
5615 | sharedstatedir!$sharedstatedir$ac_delim | | | |
5616 | localstatedir!$localstatedir$ac_delim | | | |
5617 | includedir!$includedir$ac_delim | | | |
5618 | oldincludedir!$oldincludedir$ac_delim | | | |
5619 | docdir!$docdir$ac_delim | | | |
5620 | infodir!$infodir$ac_delim | | | |
5621 | htmldir!$htmldir$ac_delim | | | |
5622 | dvidir!$dvidir$ac_delim | | | |
5623 | pdfdir!$pdfdir$ac_delim | | | |
5624 | psdir!$psdir$ac_delim | | | |
5625 | libdir!$libdir$ac_delim | | | |
5626 | localedir!$localedir$ac_delim | | | |
5627 | mandir!$mandir$ac_delim | | | |
5628 | DEFS!$DEFS$ac_delim | | | |
5629 | ECHO_C!$ECHO_C$ac_delim | | | |
5630 | ECHO_N!$ECHO_N$ac_delim | | | |
5631 | ECHO_T!$ECHO_T$ac_delim | | | |
5632 | LIBS!$LIBS$ac_delim | | | |
5633 | build_alias!$build_alias$ac_delim | | | |
5634 | host_alias!$host_alias$ac_delim | | | |
5635 | target_alias!$target_alias$ac_delim | | | |
5636 | build!$build$ac_delim | | | |
5637 | build_cpu!$build_cpu$ac_delim | | | |
5638 | build_vendor!$build_vendor$ac_delim | | | |
5639 | build_os!$build_os$ac_delim | | | |
5640 | host!$host$ac_delim | | | |
5641 | host_cpu!$host_cpu$ac_delim | | | |
5642 | host_vendor!$host_vendor$ac_delim | | | |
5643 | host_os!$host_os$ac_delim | | | |
5644 | CANONICAL_HOST!$CANONICAL_HOST$ac_delim | | | |
5645 | SET_MAKE!$SET_MAKE$ac_delim | | | |
5646 | AWK!$AWK$ac_delim | | | |
5647 | CC!$CC$ac_delim | | | |
5648 | CFLAGS!$CFLAGS$ac_delim | | | |
5649 | LDFLAGS!$LDFLAGS$ac_delim | | | |
5650 | CPPFLAGS!$CPPFLAGS$ac_delim | | | |
5651 | ac_ct_CC!$ac_ct_CC$ac_delim | | | |
5652 | EXEEXT!$EXEEXT$ac_delim | | | |
5653 | OBJEXT!$OBJEXT$ac_delim | | | |
5654 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | | | |
5655 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | | | |
5656 | INSTALL_DATA!$INSTALL_DATA$ac_delim | | | |
5657 | LN_S!$LN_S$ac_delim | | | |
5658 | AUTOCONF!$AUTOCONF$ac_delim | | | |
5659 | AUTOHEADER!$AUTOHEADER$ac_delim | | | |
5660 | CPP!$CPP$ac_delim | | | |
5661 | GREP!$GREP$ac_delim | | | |
5662 | EGREP!$EGREP$ac_delim | | | |
5663 | LIBOBJS!$LIBOBJS$ac_delim | | | |
5664 | LTLIBOBJS!$LTLIBOBJS$ac_delim | | | |
5665 | _ACEOF | | | |
5666 | | | 5945 | |
5667 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then | | 5946 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then |
5668 | break | | 5947 | break |
5669 | elif $ac_last_try; then | | 5948 | elif $ac_last_try; then |
5670 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | | 5949 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
5671 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | | 5950 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
5672 | { (exit 1); exit 1; }; } | | 5951 | { (exit 1); exit 1; }; } |
5673 | else | | 5952 | else |
5674 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | | 5953 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
5675 | fi | | 5954 | fi |
5676 | done | | 5955 | done |
| | | 5956 | rm -f conf$$subs.sh |
5677 | | | 5957 | |
5678 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | | 5958 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5679 | if test -n "$ac_eof"; then | | 5959 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
5680 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | | | |
5681 | ac_eof=`expr $ac_eof + 1` | | | |
5682 | fi | | | |
5683 | | | | |
5684 | cat >>$CONFIG_STATUS <<_ACEOF | | | |
5685 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | | | |
5686 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | | | |
5687 | _ACEOF | | | |
5688 | sed ' | | | |
5689 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | | | |
5690 | s/^/s,@/; s/!/@,|#_!!_#|/ | | | |
5691 | :n | | | |
5692 | t n | | | |
5693 | s/'"$ac_delim"'$/,g/; t | | | |
5694 | s/$/\\/; p | | | |
5695 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | | | |
5696 | ' >>$CONFIG_STATUS <conf$$subs.sed | | | |
5697 | rm -f conf$$subs.sed | | | |
5698 | cat >>$CONFIG_STATUS <<_ACEOF | | | |
5699 | :end | | | |
5700 | s/|#_!!_#|//g | | | |
5701 | CEOF$ac_eof | | | |
5702 | _ACEOF | | 5960 | _ACEOF |
| | | 5961 | sed -n ' |
| | | 5962 | h |
| | | 5963 | s/^/S["/; s/!.*/"]=/ |
| | | 5964 | p |
| | | 5965 | g |
| | | 5966 | s/^[^!]*!// |
| | | 5967 | :repl |
| | | 5968 | t repl |
| | | 5969 | s/'"$ac_delim"'$// |
| | | 5970 | t delim |
| | | 5971 | :nl |
| | | 5972 | h |
| | | 5973 | s/\(.\{148\}\).*/\1/ |
| | | 5974 | t more1 |
| | | 5975 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| | | 5976 | p |
| | | 5977 | n |
| | | 5978 | b repl |
| | | 5979 | :more1 |
| | | 5980 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| | | 5981 | p |
| | | 5982 | g |
| | | 5983 | s/.\{148\}// |
| | | 5984 | t nl |
| | | 5985 | :delim |
| | | 5986 | h |
| | | 5987 | s/\(.\{148\}\).*/\1/ |
| | | 5988 | t more2 |
| | | 5989 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| | | 5990 | p |
| | | 5991 | b |
| | | 5992 | :more2 |
| | | 5993 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| | | 5994 | p |
| | | 5995 | g |
| | | 5996 | s/.\{148\}// |
| | | 5997 | t delim |
| | | 5998 | ' <conf$$subs.awk | sed ' |
| | | 5999 | /^[^""]/{ |
| | | 6000 | N |
| | | 6001 | s/\n// |
| | | 6002 | } |
| | | 6003 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| | | 6004 | rm -f conf$$subs.awk |
| | | 6005 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 6006 | _ACAWK |
| | | 6007 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
| | | 6008 | for (key in S) S_is_set[key] = 1 |
| | | 6009 | FS = "" |
5703 | | | 6010 | |
| | | 6011 | } |
| | | 6012 | { |
| | | 6013 | line = $ 0 |
| | | 6014 | nfields = split(line, field, "@") |
| | | 6015 | substed = 0 |
| | | 6016 | len = length(field[1]) |
| | | 6017 | for (i = 2; i < nfields; i++) { |
| | | 6018 | key = field[i] |
| | | 6019 | keylen = length(key) |
| | | 6020 | if (S_is_set[key]) { |
| | | 6021 | value = S[key] |
| | | 6022 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| | | 6023 | len += length(value) + length(field[++i]) |
| | | 6024 | substed = 1 |
| | | 6025 | } else |
| | | 6026 | len += 1 + keylen |
| | | 6027 | } |
| | | 6028 | |
| | | 6029 | print line |
| | | 6030 | } |
| | | 6031 | |
| | | 6032 | _ACAWK |
| | | 6033 | _ACEOF |
| | | 6034 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 6035 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| | | 6036 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| | | 6037 | else |
| | | 6038 | cat |
| | | 6039 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| | | 6040 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
| | | 6041 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} |
| | | 6042 | { (exit 1); exit 1; }; } |
| | | 6043 | _ACEOF |
5704 | | | 6044 | |
5705 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | | 6045 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
5706 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | | 6046 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
5707 | # trailing colons and then remove the whole line if VPATH becomes empty | | 6047 | # trailing colons and then remove the whole line if VPATH becomes empty |
5708 | # (actually we leave an empty line to preserve line numbers). | | 6048 | # (actually we leave an empty line to preserve line numbers). |
5709 | if test "x$srcdir" = x.; then | | 6049 | if test "x$srcdir" = x.; then |
5710 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | | 6050 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
5711 | s/:*\$(srcdir):*/:/ | | 6051 | s/:*\$(srcdir):*/:/ |
5712 | s/:*\${srcdir}:*/:/ | | 6052 | s/:*\${srcdir}:*/:/ |
5713 | s/:*@srcdir@:*/:/ | | 6053 | s/:*@srcdir@:*/:/ |
5714 | s/^\([^=]*=[ ]*\):*/\1/ | | 6054 | s/^\([^=]*=[ ]*\):*/\1/ |
5715 | s/:*$// | | 6055 | s/:*$// |
5716 | s/^[^=]*=[ ]*$// | | 6056 | s/^[^=]*=[ ]*$// |
5717 | }' | | 6057 | }' |
5718 | fi | | 6058 | fi |
5719 | | | 6059 | |
5720 | cat >>$CONFIG_STATUS <<\_ACEOF | | 6060 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5721 | fi # test -n "$CONFIG_FILES" | | 6061 | fi # test -n "$CONFIG_FILES" |
5722 | | | 6062 | |
| | | 6063 | # Set up the scripts for CONFIG_HEADERS section. |
| | | 6064 | # No need to generate them if there are no CONFIG_HEADERS. |
| | | 6065 | # This happens for instance with `./config.status Makefile'. |
| | | 6066 | if test -n "$CONFIG_HEADERS"; then |
| | | 6067 | cat >"$tmp/defines.awk" <<\_ACAWK || |
| | | 6068 | BEGIN { |
| | | 6069 | _ACEOF |
5723 | | | 6070 | |
5724 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS | | 6071 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
| | | 6072 | # here-document in config.status, that substitutes the proper values into |
| | | 6073 | # config.h.in to produce config.h. |
| | | 6074 | |
| | | 6075 | # Create a delimiter string that does not exist in confdefs.h, to ease |
| | | 6076 | # handling of long lines. |
| | | 6077 | ac_delim='%!_!# ' |
| | | 6078 | for ac_last_try in false false :; do |
| | | 6079 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
| | | 6080 | if test -z "$ac_t"; then |
| | | 6081 | break |
| | | 6082 | elif $ac_last_try; then |
| | | 6083 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
| | | 6084 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
| | | 6085 | { (exit 1); exit 1; }; } |
| | | 6086 | else |
| | | 6087 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| | | 6088 | fi |
| | | 6089 | done |
| | | 6090 | |
| | | 6091 | # For the awk script, D is an array of macro values keyed by name, |
| | | 6092 | # likewise P contains macro parameters if any. Preserve backslash |
| | | 6093 | # newline sequences. |
| | | 6094 | |
| | | 6095 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| | | 6096 | sed -n ' |
| | | 6097 | s/.\{148\}/&'"$ac_delim"'/g |
| | | 6098 | t rset |
| | | 6099 | :rset |
| | | 6100 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
| | | 6101 | t def |
| | | 6102 | d |
| | | 6103 | :def |
| | | 6104 | s/\\$// |
| | | 6105 | t bsnl |
| | | 6106 | s/["\\]/\\&/g |
| | | 6107 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| | | 6108 | D["\1"]=" \3"/p |
| | | 6109 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
| | | 6110 | d |
| | | 6111 | :bsnl |
| | | 6112 | s/["\\]/\\&/g |
| | | 6113 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| | | 6114 | D["\1"]=" \3\\\\\\n"\\/p |
| | | 6115 | t cont |
| | | 6116 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
| | | 6117 | t cont |
| | | 6118 | d |
| | | 6119 | :cont |
| | | 6120 | n |
| | | 6121 | s/.\{148\}/&'"$ac_delim"'/g |
| | | 6122 | t clear |
| | | 6123 | :clear |
| | | 6124 | s/\\$// |
| | | 6125 | t bsnlc |
| | | 6126 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
| | | 6127 | d |
| | | 6128 | :bsnlc |
| | | 6129 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
| | | 6130 | b cont |
| | | 6131 | ' <confdefs.h | sed ' |
| | | 6132 | s/'"$ac_delim"'/"\\\ |
| | | 6133 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
| | | 6134 | |
| | | 6135 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 6136 | for (key in D) D_is_set[key] = 1 |
| | | 6137 | FS = "" |
| | | 6138 | } |
| | | 6139 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
| | | 6140 | line = \$ 0 |
| | | 6141 | split(line, arg, " ") |
| | | 6142 | if (arg[1] == "#") { |
| | | 6143 | defundef = arg[2] |
| | | 6144 | mac1 = arg[3] |
| | | 6145 | } else { |
| | | 6146 | defundef = substr(arg[1], 2) |
| | | 6147 | mac1 = arg[2] |
| | | 6148 | } |
| | | 6149 | split(mac1, mac2, "(") #) |
| | | 6150 | macro = mac2[1] |
| | | 6151 | if (D_is_set[macro]) { |
| | | 6152 | # Preserve the white space surrounding the "#". |
| | | 6153 | prefix = substr(line, 1, index(line, defundef) - 1) |
| | | 6154 | print prefix "define", macro P[macro] D[macro] |
| | | 6155 | next |
| | | 6156 | } else { |
| | | 6157 | # Replace #undef with comments. This is necessary, for example, |
| | | 6158 | # in the case of _POSIX_SOURCE, which is predefined and required |
| | | 6159 | # on some systems where configure will not decide to define it. |
| | | 6160 | if (defundef == "undef") { |
| | | 6161 | print "/*", line, "*/" |
| | | 6162 | next |
| | | 6163 | } |
| | | 6164 | } |
| | | 6165 | } |
| | | 6166 | { print } |
| | | 6167 | _ACAWK |
| | | 6168 | _ACEOF |
| | | 6169 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 6170 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
| | | 6171 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
| | | 6172 | { (exit 1); exit 1; }; } |
| | | 6173 | fi # test -n "$CONFIG_HEADERS" |
| | | 6174 | |
| | | 6175 | |
| | | 6176 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
| | | 6177 | shift |
| | | 6178 | for ac_tag |
5725 | do | | 6179 | do |
5726 | case $ac_tag in | | 6180 | case $ac_tag in |
5727 | :[FHLC]) ac_mode=$ac_tag; continue;; | | 6181 | :[FHLC]) ac_mode=$ac_tag; continue;; |
5728 | esac | | 6182 | esac |
5729 | case $ac_mode$ac_tag in | | 6183 | case $ac_mode$ac_tag in |
5730 | :[FHL]*:*);; | | 6184 | :[FHL]*:*);; |
5731 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | | 6185 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
5732 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} | | 6186 | $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
5733 | { (exit 1); exit 1; }; };; | | 6187 | { (exit 1); exit 1; }; };; |
5734 | :[FH]-) ac_tag=-:-;; | | 6188 | :[FH]-) ac_tag=-:-;; |
5735 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | | 6189 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
5736 | esac | | 6190 | esac |
5737 | ac_save_IFS=$IFS | | 6191 | ac_save_IFS=$IFS |
5738 | IFS=: | | 6192 | IFS=: |
5739 | set x $ac_tag | | 6193 | set x $ac_tag |
5740 | IFS=$ac_save_IFS | | 6194 | IFS=$ac_save_IFS |
5741 | shift | | 6195 | shift |
5742 | ac_file=$1 | | 6196 | ac_file=$1 |
5743 | shift | | 6197 | shift |
5744 | | | 6198 | |
5745 | case $ac_mode in | | 6199 | case $ac_mode in |
| @@ -5748,122 +6202,134 @@ echo "$as_me: error: Invalid tag $ac_tag | | | @@ -5748,122 +6202,134 @@ echo "$as_me: error: Invalid tag $ac_tag |
5748 | ac_file_inputs= | | 6202 | ac_file_inputs= |
5749 | for ac_f | | 6203 | for ac_f |
5750 | do | | 6204 | do |
5751 | case $ac_f in | | 6205 | case $ac_f in |
5752 | -) ac_f="$tmp/stdin";; | | 6206 | -) ac_f="$tmp/stdin";; |
5753 | *) # Look for the file first in the build tree, then in the source tree | | 6207 | *) # Look for the file first in the build tree, then in the source tree |
5754 | # (if the path is not absolute). The absolute path cannot be DOS-style, | | 6208 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
5755 | # because $ac_f cannot contain `:'. | | 6209 | # because $ac_f cannot contain `:'. |
5756 | test -f "$ac_f" || | | 6210 | test -f "$ac_f" || |
5757 | case $ac_f in | | 6211 | case $ac_f in |
5758 | [\\/$]*) false;; | | 6212 | [\\/$]*) false;; |
5759 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | | 6213 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
5760 | esac || | | 6214 | esac || |
5761 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | | 6215 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
5762 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} | | 6216 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
5763 | { (exit 1); exit 1; }; };; | | 6217 | { (exit 1); exit 1; }; };; |
5764 | esac | | 6218 | esac |
5765 | ac_file_inputs="$ac_file_inputs $ac_f" | | 6219 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| | | 6220 | ac_file_inputs="$ac_file_inputs '$ac_f'" |
5766 | done | | 6221 | done |
5767 | | | 6222 | |
5768 | # Let's still pretend it is `configure' which instantiates (i.e., don't | | 6223 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
5769 | # use $as_me), people would be surprised to read: | | 6224 | # use $as_me), people would be surprised to read: |
5770 | # /* config.h. Generated by config.status. */ | | 6225 | # /* config.h. Generated by config.status. */ |
5771 | configure_input="Generated from "`IFS=: | | 6226 | configure_input='Generated from '` |
5772 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | | 6227 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| | | 6228 | `' by configure.' |
5773 | if test x"$ac_file" != x-; then | | 6229 | if test x"$ac_file" != x-; then |
5774 | configure_input="$ac_file. $configure_input" | | 6230 | configure_input="$ac_file. $configure_input" |
5775 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | | 6231 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
5776 | echo "$as_me: creating $ac_file" >&6;} | | 6232 | $as_echo "$as_me: creating $ac_file" >&6;} |
5777 | fi | | 6233 | fi |
| | | 6234 | # Neutralize special characters interpreted by sed in replacement strings. |
| | | 6235 | case $configure_input in #( |
| | | 6236 | *\&* | *\|* | *\\* ) |
| | | 6237 | ac_sed_conf_input=`$as_echo "$configure_input" | |
| | | 6238 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| | | 6239 | *) ac_sed_conf_input=$configure_input;; |
| | | 6240 | esac |
5778 | | | 6241 | |
5779 | case $ac_tag in | | 6242 | case $ac_tag in |
5780 | *:-:* | *:-) cat >"$tmp/stdin";; | | 6243 | *:-:* | *:-) cat >"$tmp/stdin" \ |
| | | 6244 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| | | 6245 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| | | 6246 | { (exit 1); exit 1; }; } ;; |
5781 | esac | | 6247 | esac |
5782 | ;; | | 6248 | ;; |
5783 | esac | | 6249 | esac |
5784 | | | 6250 | |
5785 | ac_dir=`$as_dirname -- "$ac_file" || | | 6251 | ac_dir=`$as_dirname -- "$ac_file" || |
5786 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | | 6252 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5787 | X"$ac_file" : 'X\(//\)[^/]' \| \ | | 6253 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
5788 | X"$ac_file" : 'X\(//\)$' \| \ | | 6254 | X"$ac_file" : 'X\(//\)$' \| \ |
5789 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | | 6255 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
5790 | echo X"$ac_file" | | | 6256 | $as_echo X"$ac_file" | |
5791 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | | 6257 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5792 | s//\1/ | | 6258 | s//\1/ |
5793 | q | | 6259 | q |
5794 | } | | 6260 | } |
5795 | /^X\(\/\/\)[^/].*/{ | | 6261 | /^X\(\/\/\)[^/].*/{ |
5796 | s//\1/ | | 6262 | s//\1/ |
5797 | q | | 6263 | q |
5798 | } | | 6264 | } |
5799 | /^X\(\/\/\)$/{ | | 6265 | /^X\(\/\/\)$/{ |
5800 | s//\1/ | | 6266 | s//\1/ |
5801 | q | | 6267 | q |
5802 | } | | 6268 | } |
5803 | /^X\(\/\).*/{ | | 6269 | /^X\(\/\).*/{ |
5804 | s//\1/ | | 6270 | s//\1/ |
5805 | q | | 6271 | q |
5806 | } | | 6272 | } |
5807 | s/.*/./; q'` | | 6273 | s/.*/./; q'` |
5808 | { as_dir="$ac_dir" | | 6274 | { as_dir="$ac_dir" |
5809 | case $as_dir in #( | | 6275 | case $as_dir in #( |
5810 | -*) as_dir=./$as_dir;; | | 6276 | -*) as_dir=./$as_dir;; |
5811 | esac | | 6277 | esac |
5812 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | | 6278 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
5813 | as_dirs= | | 6279 | as_dirs= |
5814 | while :; do | | 6280 | while :; do |
5815 | case $as_dir in #( | | 6281 | case $as_dir in #( |
5816 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | | 6282 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
5817 | *) as_qdir=$as_dir;; | | 6283 | *) as_qdir=$as_dir;; |
5818 | esac | | 6284 | esac |
5819 | as_dirs="'$as_qdir' $as_dirs" | | 6285 | as_dirs="'$as_qdir' $as_dirs" |
5820 | as_dir=`$as_dirname -- "$as_dir" || | | 6286 | as_dir=`$as_dirname -- "$as_dir" || |
5821 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | | 6287 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5822 | X"$as_dir" : 'X\(//\)[^/]' \| \ | | 6288 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
5823 | X"$as_dir" : 'X\(//\)$' \| \ | | 6289 | X"$as_dir" : 'X\(//\)$' \| \ |
5824 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | | 6290 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
5825 | echo X"$as_dir" | | | 6291 | $as_echo X"$as_dir" | |
5826 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | | 6292 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5827 | s//\1/ | | 6293 | s//\1/ |
5828 | q | | 6294 | q |
5829 | } | | 6295 | } |
5830 | /^X\(\/\/\)[^/].*/{ | | 6296 | /^X\(\/\/\)[^/].*/{ |
5831 | s//\1/ | | 6297 | s//\1/ |
5832 | q | | 6298 | q |
5833 | } | | 6299 | } |
5834 | /^X\(\/\/\)$/{ | | 6300 | /^X\(\/\/\)$/{ |
5835 | s//\1/ | | 6301 | s//\1/ |
5836 | q | | 6302 | q |
5837 | } | | 6303 | } |
5838 | /^X\(\/\).*/{ | | 6304 | /^X\(\/\).*/{ |
5839 | s//\1/ | | 6305 | s//\1/ |
5840 | q | | 6306 | q |
5841 | } | | 6307 | } |
5842 | s/.*/./; q'` | | 6308 | s/.*/./; q'` |
5843 | test -d "$as_dir" && break | | 6309 | test -d "$as_dir" && break |
5844 | done | | 6310 | done |
5845 | test -z "$as_dirs" || eval "mkdir $as_dirs" | | 6311 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
5846 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | | 6312 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
5847 | echo "$as_me: error: cannot create directory $as_dir" >&2;} | | 6313 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
5848 | { (exit 1); exit 1; }; }; } | | 6314 | { (exit 1); exit 1; }; }; } |
5849 | ac_builddir=. | | 6315 | ac_builddir=. |
5850 | | | 6316 | |
5851 | case "$ac_dir" in | | 6317 | case "$ac_dir" in |
5852 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | | 6318 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
5853 | *) | | 6319 | *) |
5854 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | | 6320 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
5855 | # A ".." for each directory in $ac_dir_suffix. | | 6321 | # A ".." for each directory in $ac_dir_suffix. |
5856 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | | 6322 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
5857 | case $ac_top_builddir_sub in | | 6323 | case $ac_top_builddir_sub in |
5858 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | | 6324 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
5859 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | | 6325 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
5860 | esac ;; | | 6326 | esac ;; |
5861 | esac | | 6327 | esac |
5862 | ac_abs_top_builddir=$ac_pwd | | 6328 | ac_abs_top_builddir=$ac_pwd |
5863 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | | 6329 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
5864 | # for backward compatibility: | | 6330 | # for backward compatibility: |
5865 | ac_top_builddir=$ac_top_build_prefix | | 6331 | ac_top_builddir=$ac_top_build_prefix |
5866 | | | 6332 | |
5867 | case $srcdir in | | 6333 | case $srcdir in |
5868 | .) # We are building in place. | | 6334 | .) # We are building in place. |
5869 | ac_srcdir=. | | 6335 | ac_srcdir=. |
| @@ -5883,213 +6349,164 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ | | | @@ -5883,213 +6349,164 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ |
5883 | | | 6349 | |
5884 | case $ac_mode in | | 6350 | case $ac_mode in |
5885 | :F) | | 6351 | :F) |
5886 | # | | 6352 | # |
5887 | # CONFIG_FILE | | 6353 | # CONFIG_FILE |
5888 | # | | 6354 | # |
5889 | | | 6355 | |
5890 | case $INSTALL in | | 6356 | case $INSTALL in |
5891 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | | 6357 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
5892 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | | 6358 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
5893 | esac | | 6359 | esac |
5894 | _ACEOF | | 6360 | _ACEOF |
5895 | | | 6361 | |
5896 | cat >>$CONFIG_STATUS <<\_ACEOF | | 6362 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5897 | # If the template does not know about datarootdir, expand it. | | 6363 | # If the template does not know about datarootdir, expand it. |
5898 | # FIXME: This hack should be removed a few years after 2.60. | | 6364 | # FIXME: This hack should be removed a few years after 2.60. |
5899 | ac_datarootdir_hack=; ac_datarootdir_seen= | | 6365 | ac_datarootdir_hack=; ac_datarootdir_seen= |
5900 | | | 6366 | |
5901 | case `sed -n '/datarootdir/ { | | 6367 | ac_sed_dataroot=' |
| | | 6368 | /datarootdir/ { |
5902 | p | | 6369 | p |
5903 | q | | 6370 | q |
5904 | } | | 6371 | } |
5905 | /@datadir@/p | | 6372 | /@datadir@/p |
5906 | /@docdir@/p | | 6373 | /@docdir@/p |
5907 | /@infodir@/p | | 6374 | /@infodir@/p |
5908 | /@localedir@/p | | 6375 | /@localedir@/p |
5909 | /@mandir@/p | | 6376 | /@mandir@/p |
5910 | ' $ac_file_inputs` in | | 6377 | ' |
| | | 6378 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
5911 | *datarootdir*) ac_datarootdir_seen=yes;; | | 6379 | *datarootdir*) ac_datarootdir_seen=yes;; |
5912 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | | 6380 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
5913 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | | 6381 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
5914 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | | 6382 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
5915 | _ACEOF | | 6383 | _ACEOF |
5916 | cat >>$CONFIG_STATUS <<_ACEOF | | 6384 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5917 | ac_datarootdir_hack=' | | 6385 | ac_datarootdir_hack=' |
5918 | s&@datadir@&$datadir&g | | 6386 | s&@datadir@&$datadir&g |
5919 | s&@docdir@&$docdir&g | | 6387 | s&@docdir@&$docdir&g |
5920 | s&@infodir@&$infodir&g | | 6388 | s&@infodir@&$infodir&g |
5921 | s&@localedir@&$localedir&g | | 6389 | s&@localedir@&$localedir&g |
5922 | s&@mandir@&$mandir&g | | 6390 | s&@mandir@&$mandir&g |
5923 | s&\\\${datarootdir}&$datarootdir&g' ;; | | 6391 | s&\\\${datarootdir}&$datarootdir&g' ;; |
5924 | esac | | 6392 | esac |
5925 | _ACEOF | | 6393 | _ACEOF |
5926 | | | 6394 | |
5927 | # Neutralize VPATH when `$srcdir' = `.'. | | 6395 | # Neutralize VPATH when `$srcdir' = `.'. |
5928 | # Shell code in configure.ac might set extrasub. | | 6396 | # Shell code in configure.ac might set extrasub. |
5929 | # FIXME: do we really want to maintain this feature? | | 6397 | # FIXME: do we really want to maintain this feature? |
5930 | cat >>$CONFIG_STATUS <<_ACEOF | | 6398 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5931 | sed "$ac_vpsub | | 6399 | ac_sed_extra="$ac_vpsub |
5932 | $extrasub | | 6400 | $extrasub |
5933 | _ACEOF | | 6401 | _ACEOF |
5934 | cat >>$CONFIG_STATUS <<\_ACEOF | | 6402 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
5935 | :t | | 6403 | :t |
5936 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | | 6404 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
5937 | s&@configure_input@&$configure_input&;t t | | 6405 | s|@configure_input@|$ac_sed_conf_input|;t t |
5938 | s&@top_builddir@&$ac_top_builddir_sub&;t t | | 6406 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| | | 6407 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
5939 | s&@srcdir@&$ac_srcdir&;t t | | 6408 | s&@srcdir@&$ac_srcdir&;t t |
5940 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | | 6409 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
5941 | s&@top_srcdir@&$ac_top_srcdir&;t t | | 6410 | s&@top_srcdir@&$ac_top_srcdir&;t t |
5942 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | | 6411 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
5943 | s&@builddir@&$ac_builddir&;t t | | 6412 | s&@builddir@&$ac_builddir&;t t |
5944 | s&@abs_builddir@&$ac_abs_builddir&;t t | | 6413 | s&@abs_builddir@&$ac_abs_builddir&;t t |
5945 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | | 6414 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
5946 | s&@INSTALL@&$ac_INSTALL&;t t | | 6415 | s&@INSTALL@&$ac_INSTALL&;t t |
5947 | $ac_datarootdir_hack | | 6416 | $ac_datarootdir_hack |
5948 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out | | 6417 | " |
| | | 6418 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| | | 6419 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| | | 6420 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| | | 6421 | { (exit 1); exit 1; }; } |
5949 | | | 6422 | |
5950 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | | 6423 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
5951 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | | 6424 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
5952 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | | 6425 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
5953 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | | 6426 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
5954 | which seems to be undefined. Please make sure it is defined." >&5 | | 6427 | which seems to be undefined. Please make sure it is defined." >&5 |
5955 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | | 6428 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
5956 | which seems to be undefined. Please make sure it is defined." >&2;} | | 6429 | which seems to be undefined. Please make sure it is defined." >&2;} |
5957 | | | 6430 | |
5958 | rm -f "$tmp/stdin" | | 6431 | rm -f "$tmp/stdin" |
5959 | case $ac_file in | | 6432 | case $ac_file in |
5960 | -) cat "$tmp/out"; rm -f "$tmp/out";; | | 6433 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
5961 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | | 6434 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
5962 | esac | | 6435 | esac \ |
| | | 6436 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| | | 6437 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| | | 6438 | { (exit 1); exit 1; }; } |
5963 | ;; | | 6439 | ;; |
5964 | :H) | | 6440 | :H) |
5965 | # | | 6441 | # |
5966 | # CONFIG_HEADER | | 6442 | # CONFIG_HEADER |
5967 | # | | 6443 | # |
5968 | _ACEOF | | | |
5969 | | | | |
5970 | # Transform confdefs.h into a sed script `conftest.defines', that | | | |
5971 | # substitutes the proper values into config.h.in to produce config.h. | | | |
5972 | rm -f conftest.defines conftest.tail | | | |
5973 | # First, append a space to every undef/define line, to ease matching. | | | |
5974 | echo 's/$/ /' >conftest.defines | | | |
5975 | # Then, protect against being on the right side of a sed subst, or in | | | |
5976 | # an unquoted here document, in config.status. If some macros were | | | |
5977 | # called several times there might be several #defines for the same | | | |
5978 | # symbol, which is useless. But do not sort them, since the last | | | |
5979 | # AC_DEFINE must be honored. | | | |
5980 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | | | |
5981 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | | | |
5982 | # NAME is the cpp macro being defined, VALUE is the value it is being given. | | | |
5983 | # PARAMS is the parameter list in the macro definition--in most cases, it's | | | |
5984 | # just an empty string. | | | |
5985 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | | | |
5986 | ac_dB='\\)[ (].*,\\1define\\2' | | | |
5987 | ac_dC=' ' | | | |
5988 | ac_dD=' ,' | | | |
5989 | | | | |
5990 | uniq confdefs.h | | | | |
5991 | sed -n ' | | | |
5992 | t rset | | | |
5993 | :rset | | | |
5994 | s/^[ ]*#[ ]*define[ ][ ]*// | | | |
5995 | t ok | | | |
5996 | d | | | |
5997 | :ok | | | |
5998 | s/[\\&,]/\\&/g | | | |
5999 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p | | | |
6000 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p | | | |
6001 | ' >>conftest.defines | | | |
6002 | | | | |
6003 | # Remove the space that was appended to ease matching. | | | |
6004 | # Then replace #undef with comments. This is necessary, for | | | |
6005 | # example, in the case of _POSIX_SOURCE, which is predefined and required | | | |
6006 | # on some systems where configure will not decide to define it. | | | |
6007 | # (The regexp can be short, since the line contains either #define or #undef.) | | | |
6008 | echo 's/ $// | | | |
6009 | s,^[ #]*u.*,/* & */,' >>conftest.defines | | | |
6010 | | | | |
6011 | # Break up conftest.defines: | | | |
6012 | ac_max_sed_lines=50 | | | |
6013 | | | | |
6014 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" | | | |
6015 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" | | | |
6016 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" | | | |
6017 | # et cetera. | | | |
6018 | ac_in='$ac_file_inputs' | | | |
6019 | ac_out='"$tmp/out1"' | | | |
6020 | ac_nxt='"$tmp/out2"' | | | |
6021 | | | | |
6022 | while : | | | |
6023 | do | | | |
6024 | # Write a here document: | | | |
6025 | cat >>$CONFIG_STATUS <<_ACEOF | | | |
6026 | # First, check the format of the line: | | | |
6027 | cat >"\$tmp/defines.sed" <<\\CEOF | | | |
6028 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def | | | |
6029 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def | | | |
6030 | b | | | |
6031 | :def | | | |
6032 | _ACEOF | | | |
6033 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | | | |
6034 | echo 'CEOF | | | |
6035 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS | | | |
6036 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in | | | |
6037 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail | | | |
6038 | grep . conftest.tail >/dev/null || break | | | |
6039 | rm -f conftest.defines | | | |
6040 | mv conftest.tail conftest.defines | | | |
6041 | done | | | |
6042 | rm -f conftest.defines conftest.tail | | | |
6043 | | | | |
6044 | echo "ac_result=$ac_in" >>$CONFIG_STATUS | | | |
6045 | cat >>$CONFIG_STATUS <<\_ACEOF | | | |
6046 | if test x"$ac_file" != x-; then | | 6444 | if test x"$ac_file" != x-; then |
6047 | echo "/* $configure_input */" >"$tmp/config.h" | | 6445 | { |
6048 | cat "$ac_result" >>"$tmp/config.h" | | 6446 | $as_echo "/* $configure_input */" \ |
6049 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | | 6447 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
6050 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | | 6448 | } >"$tmp/config.h" \ |
6051 | echo "$as_me: $ac_file is unchanged" >&6;} | | 6449 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| | | 6450 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| | | 6451 | { (exit 1); exit 1; }; } |
| | | 6452 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| | | 6453 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| | | 6454 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
6052 | else | | 6455 | else |
6053 | rm -f $ac_file | | 6456 | rm -f "$ac_file" |
6054 | mv "$tmp/config.h" $ac_file | | 6457 | mv "$tmp/config.h" "$ac_file" \ |
| | | 6458 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| | | 6459 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
| | | 6460 | { (exit 1); exit 1; }; } |
6055 | fi | | 6461 | fi |
6056 | else | | 6462 | else |
6057 | echo "/* $configure_input */" | | 6463 | $as_echo "/* $configure_input */" \ |
6058 | cat "$ac_result" | | 6464 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| | | 6465 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
| | | 6466 | $as_echo "$as_me: error: could not create -" >&2;} |
| | | 6467 | { (exit 1); exit 1; }; } |
6059 | fi | | 6468 | fi |
6060 | rm -f "$tmp/out12" | | | |
6061 | ;; | | 6469 | ;; |
6062 | | | 6470 | |
6063 | | | 6471 | |
6064 | esac | | 6472 | esac |
6065 | | | 6473 | |
6066 | done # for ac_tag | | 6474 | done # for ac_tag |
6067 | | | 6475 | |
6068 | | | 6476 | |
6069 | { (exit 0); exit 0; } | | 6477 | { (exit 0); exit 0; } |
6070 | _ACEOF | | 6478 | _ACEOF |
6071 | chmod +x $CONFIG_STATUS | | 6479 | chmod +x $CONFIG_STATUS |
6072 | ac_clean_files=$ac_clean_files_save | | 6480 | ac_clean_files=$ac_clean_files_save |
6073 | | | 6481 | |
| | | 6482 | test $ac_write_fail = 0 || |
| | | 6483 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
| | | 6484 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
| | | 6485 | { (exit 1); exit 1; }; } |
| | | 6486 | |
6074 | | | 6487 | |
6075 | # configure is writing to config.log, and then calls config.status. | | 6488 | # configure is writing to config.log, and then calls config.status. |
6076 | # config.status does its own redirection, appending to config.log. | | 6489 | # config.status does its own redirection, appending to config.log. |
6077 | # Unfortunately, on DOS this fails, as config.log is still kept open | | 6490 | # Unfortunately, on DOS this fails, as config.log is still kept open |
6078 | # by configure, so config.status won't be able to write to it; its | | 6491 | # by configure, so config.status won't be able to write to it; its |
6079 | # output is simply discarded. So we exec the FD to /dev/null, | | 6492 | # output is simply discarded. So we exec the FD to /dev/null, |
6080 | # effectively closing config.log, so it can be properly (re)opened and | | 6493 | # effectively closing config.log, so it can be properly (re)opened and |
6081 | # appended to by config.status. When coming back to configure, we | | 6494 | # appended to by config.status. When coming back to configure, we |
6082 | # need to make the FD available again. | | 6495 | # need to make the FD available again. |
6083 | if test "$no_create" != yes; then | | 6496 | if test "$no_create" != yes; then |
6084 | ac_cs_success=: | | 6497 | ac_cs_success=: |
6085 | ac_config_status_args= | | 6498 | ac_config_status_args= |
6086 | test "$silent" = yes && | | 6499 | test "$silent" = yes && |
6087 | ac_config_status_args="$ac_config_status_args --quiet" | | 6500 | ac_config_status_args="$ac_config_status_args --quiet" |
6088 | exec 5>/dev/null | | 6501 | exec 5>/dev/null |
6089 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | | 6502 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
6090 | exec 5>>config.log | | 6503 | exec 5>>config.log |
6091 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | | 6504 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6092 | # would make configure fail if this is the last instruction. | | 6505 | # would make configure fail if this is the last instruction. |
6093 | $ac_cs_success || { (exit 1); exit 1; } | | 6506 | $ac_cs_success || { (exit 1); exit 1; } |
6094 | fi | | 6507 | fi |
| | | 6508 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| | | 6509 | { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 |
| | | 6510 | $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} |
| | | 6511 | fi |
6095 | | | 6512 | |