Mercurial > hg > chrpath
comparison configure @ 1:bbbfb3f97919
implement 32 and 64 bit support
author | Peter Meerwald <p.meerwald@bct-electronic.com> |
---|---|
date | Fri, 20 Jul 2012 11:26:24 +0200 |
parents | b8f7423e385c |
children |
comparison
equal
deleted
inserted
replaced
0:b8f7423e385c | 1:bbbfb3f97919 |
---|---|
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.57 for "chrpath" "0.13". | 3 # Generated by GNU Autoconf 2.68 for "chrpath" "0.13". |
4 # | 4 # |
5 # Report bugs to <pere@hungry.com>. | 5 # Report bugs to <pere@hungry.com>. |
6 # | 6 # |
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 7 # |
8 # Free Software Foundation, Inc. | 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
10 # Foundation, Inc. | |
11 # | |
12 # | |
9 # This configure script is free software; the Free Software Foundation | 13 # This configure script is free software; the Free Software Foundation |
10 # gives unlimited permission to copy, distribute and modify it. | 14 # gives unlimited permission to copy, distribute and modify it. |
11 ## --------------------- ## | 15 ## -------------------- ## |
12 ## M4sh Initialization. ## | 16 ## M4sh Initialization. ## |
13 ## --------------------- ## | 17 ## -------------------- ## |
14 | 18 |
15 # Be Bourne compatible | 19 # Be more Bourne compatible |
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 20 DUALCASE=1; export DUALCASE # for MKS sh |
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
17 emulate sh | 22 emulate sh |
18 NULLCMD=: | 23 NULLCMD=: |
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
20 # is contrary to our usage. Disable this feature. | 25 # is contrary to our usage. Disable this feature. |
21 alias -g '${1+"$@"}'='"$@"' | 26 alias -g '${1+"$@"}'='"$@"' |
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 27 setopt NO_GLOB_SUBST |
23 set -o posix | 28 else |
24 fi | 29 case `(set -o) 2>/dev/null` in #( |
25 | 30 *posix*) : |
26 # Support unset when possible. | 31 set -o posix ;; #( |
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 32 *) : |
28 as_unset=unset | 33 ;; |
29 else | 34 esac |
30 as_unset=false | 35 fi |
31 fi | 36 |
32 | 37 |
33 | 38 as_nl=' |
34 # Work around bugs in pre-3.0 UWIN ksh. | 39 ' |
35 $as_unset ENV MAIL MAILPATH | 40 export as_nl |
41 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
45 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
46 # but without wasting forks for bash or zsh. | |
47 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
49 as_echo='print -r --' | |
50 as_echo_n='print -rn --' | |
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
52 as_echo='printf %s\n' | |
53 as_echo_n='printf %s' | |
54 else | |
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
57 as_echo_n='/usr/ucb/echo -n' | |
58 else | |
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
60 as_echo_n_body='eval | |
61 arg=$1; | |
62 case $arg in #( | |
63 *"$as_nl"*) | |
64 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
66 esac; | |
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
68 ' | |
69 export as_echo_n_body | |
70 as_echo_n='sh -c $as_echo_n_body as_echo' | |
71 fi | |
72 export as_echo_body | |
73 as_echo='sh -c $as_echo_body as_echo' | |
74 fi | |
75 | |
76 # The user is always right. | |
77 if test "${PATH_SEPARATOR+set}" != set; then | |
78 PATH_SEPARATOR=: | |
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
81 PATH_SEPARATOR=';' | |
82 } | |
83 fi | |
84 | |
85 | |
86 # IFS | |
87 # We need space, tab and new line, in precisely that order. Quoting is | |
88 # there to prevent editors from complaining about space-tab. | |
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
90 # splitting by setting IFS to empty value.) | |
91 IFS=" "" $as_nl" | |
92 | |
93 # Find who we are. Look in the path if we contain no directory separator. | |
94 as_myself= | |
95 case $0 in #(( | |
96 *[\\/]* ) as_myself=$0 ;; | |
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
98 for as_dir in $PATH | |
99 do | |
100 IFS=$as_save_IFS | |
101 test -z "$as_dir" && as_dir=. | |
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
103 done | |
104 IFS=$as_save_IFS | |
105 | |
106 ;; | |
107 esac | |
108 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
109 # in which case we are not to be found in the path. | |
110 if test "x$as_myself" = x; then | |
111 as_myself=$0 | |
112 fi | |
113 if test ! -f "$as_myself"; then | |
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
115 exit 1 | |
116 fi | |
117 | |
118 # Unset variables that we do not need and which cause bugs (e.g. in | |
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
120 # suppresses any "Segmentation fault" message there. '((' could | |
121 # trigger a bug in pdksh 5.2.14. | |
122 for as_var in BASH_ENV ENV MAIL MAILPATH | |
123 do eval test x\${$as_var+set} = xset \ | |
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
125 done | |
36 PS1='$ ' | 126 PS1='$ ' |
37 PS2='> ' | 127 PS2='> ' |
38 PS4='+ ' | 128 PS4='+ ' |
39 | 129 |
40 # NLS nuisances. | 130 # NLS nuisances. |
41 for as_var in \ | 131 LC_ALL=C |
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 132 export LC_ALL |
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 133 LANGUAGE=C |
44 LC_TELEPHONE LC_TIME | 134 export LANGUAGE |
135 | |
136 # CDPATH. | |
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
138 | |
139 if test "x$CONFIG_SHELL" = x; then | |
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
141 emulate sh | |
142 NULLCMD=: | |
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
144 # is contrary to our usage. Disable this feature. | |
145 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
146 setopt NO_GLOB_SUBST | |
147 else | |
148 case \`(set -o) 2>/dev/null\` in #( | |
149 *posix*) : | |
150 set -o posix ;; #( | |
151 *) : | |
152 ;; | |
153 esac | |
154 fi | |
155 " | |
156 as_required="as_fn_return () { (exit \$1); } | |
157 as_fn_success () { as_fn_return 0; } | |
158 as_fn_failure () { as_fn_return 1; } | |
159 as_fn_ret_success () { return 0; } | |
160 as_fn_ret_failure () { return 1; } | |
161 | |
162 exitcode=0 | |
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
168 | |
169 else | |
170 exitcode=1; echo positional parameters were not saved. | |
171 fi | |
172 test x\$exitcode = x0 || exit 1" | |
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
177 test \$(( 1 + 1 )) = 2 || exit 1" | |
178 if (eval "$as_required") 2>/dev/null; then : | |
179 as_have_required=yes | |
180 else | |
181 as_have_required=no | |
182 fi | |
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
184 | |
185 else | |
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
187 as_found=false | |
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
45 do | 189 do |
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | 190 IFS=$as_save_IFS |
47 eval $as_var=C; export $as_var | 191 test -z "$as_dir" && as_dir=. |
192 as_found=: | |
193 case $as_dir in #( | |
194 /*) | |
195 for as_base in sh bash ksh sh5; do | |
196 # Try only shells that exist, to save several forks. | |
197 as_shell=$as_dir/$as_base | |
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
200 CONFIG_SHELL=$as_shell as_have_required=yes | |
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
202 break 2 | |
203 fi | |
204 fi | |
205 done;; | |
206 esac | |
207 as_found=false | |
208 done | |
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
211 CONFIG_SHELL=$SHELL as_have_required=yes | |
212 fi; } | |
213 IFS=$as_save_IFS | |
214 | |
215 | |
216 if test "x$CONFIG_SHELL" != x; then : | |
217 # We cannot yet assume a decent shell, so we have to provide a | |
218 # neutralization value for shells without unset; and this also | |
219 # works around shells that cannot unset nonexistent variables. | |
220 # Preserve -v and -x to the replacement shell. | |
221 BASH_ENV=/dev/null | |
222 ENV=/dev/null | |
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
224 export CONFIG_SHELL | |
225 case $- in # (((( | |
226 *v*x* | *x*v* ) as_opts=-vx ;; | |
227 *v* ) as_opts=-v ;; | |
228 *x* ) as_opts=-x ;; | |
229 * ) as_opts= ;; | |
230 esac | |
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
232 fi | |
233 | |
234 if test x$as_have_required = xno; then : | |
235 $as_echo "$0: This script requires a shell more modern than all" | |
236 $as_echo "$0: the shells that I found on your system." | |
237 if test x${ZSH_VERSION+set} = xset ; then | |
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
48 else | 240 else |
49 $as_unset $as_var | 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and pere@hungry.com |
242 $0: about your system, including any error possibly output | |
243 $0: before this message. Then install a modern shell, or | |
244 $0: manually run the script under such a shell if you do | |
245 $0: have one." | |
50 fi | 246 fi |
51 done | 247 exit 1 |
52 | 248 fi |
53 # Required to use basename. | 249 fi |
54 if expr a : '\(a\)' >/dev/null 2>&1; then | 250 fi |
251 SHELL=${CONFIG_SHELL-/bin/sh} | |
252 export SHELL | |
253 # Unset more variables known to interfere with behavior of common tools. | |
254 CLICOLOR_FORCE= GREP_OPTIONS= | |
255 unset CLICOLOR_FORCE GREP_OPTIONS | |
256 | |
257 ## --------------------- ## | |
258 ## M4sh Shell Functions. ## | |
259 ## --------------------- ## | |
260 # as_fn_unset VAR | |
261 # --------------- | |
262 # Portably unset VAR. | |
263 as_fn_unset () | |
264 { | |
265 { eval $1=; unset $1;} | |
266 } | |
267 as_unset=as_fn_unset | |
268 | |
269 # as_fn_set_status STATUS | |
270 # ----------------------- | |
271 # Set $? to STATUS, without forking. | |
272 as_fn_set_status () | |
273 { | |
274 return $1 | |
275 } # as_fn_set_status | |
276 | |
277 # as_fn_exit STATUS | |
278 # ----------------- | |
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
280 as_fn_exit () | |
281 { | |
282 set +e | |
283 as_fn_set_status $1 | |
284 exit $1 | |
285 } # as_fn_exit | |
286 | |
287 # as_fn_mkdir_p | |
288 # ------------- | |
289 # Create "$as_dir" as a directory, including parents if necessary. | |
290 as_fn_mkdir_p () | |
291 { | |
292 | |
293 case $as_dir in #( | |
294 -*) as_dir=./$as_dir;; | |
295 esac | |
296 test -d "$as_dir" || eval $as_mkdir_p || { | |
297 as_dirs= | |
298 while :; do | |
299 case $as_dir in #( | |
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
301 *) as_qdir=$as_dir;; | |
302 esac | |
303 as_dirs="'$as_qdir' $as_dirs" | |
304 as_dir=`$as_dirname -- "$as_dir" || | |
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
306 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
307 X"$as_dir" : 'X\(//\)$' \| \ | |
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
309 $as_echo X"$as_dir" | | |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
311 s//\1/ | |
312 q | |
313 } | |
314 /^X\(\/\/\)[^/].*/{ | |
315 s//\1/ | |
316 q | |
317 } | |
318 /^X\(\/\/\)$/{ | |
319 s//\1/ | |
320 q | |
321 } | |
322 /^X\(\/\).*/{ | |
323 s//\1/ | |
324 q | |
325 } | |
326 s/.*/./; q'` | |
327 test -d "$as_dir" && break | |
328 done | |
329 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
331 | |
332 | |
333 } # as_fn_mkdir_p | |
334 # as_fn_append VAR VALUE | |
335 # ---------------------- | |
336 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
337 # advantage of any shell optimizations that allow amortized linear growth over | |
338 # repeated appends, instead of the typical quadratic growth present in naive | |
339 # implementations. | |
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
341 eval 'as_fn_append () | |
342 { | |
343 eval $1+=\$2 | |
344 }' | |
345 else | |
346 as_fn_append () | |
347 { | |
348 eval $1=\$$1\$2 | |
349 } | |
350 fi # as_fn_append | |
351 | |
352 # as_fn_arith ARG... | |
353 # ------------------ | |
354 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
356 # must be portable across $(()) and expr. | |
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
358 eval 'as_fn_arith () | |
359 { | |
360 as_val=$(( $* )) | |
361 }' | |
362 else | |
363 as_fn_arith () | |
364 { | |
365 as_val=`expr "$@" || test $? -eq 1` | |
366 } | |
367 fi # as_fn_arith | |
368 | |
369 | |
370 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
371 # ---------------------------------------- | |
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
374 # script with STATUS, using 1 if that was 0. | |
375 as_fn_error () | |
376 { | |
377 as_status=$1; test $as_status -eq 0 && as_status=1 | |
378 if test "$4"; then | |
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
381 fi | |
382 $as_echo "$as_me: error: $2" >&2 | |
383 as_fn_exit $as_status | |
384 } # as_fn_error | |
385 | |
386 if expr a : '\(a\)' >/dev/null 2>&1 && | |
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
55 as_expr=expr | 388 as_expr=expr |
56 else | 389 else |
57 as_expr=false | 390 as_expr=false |
58 fi | 391 fi |
59 | 392 |
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
61 as_basename=basename | 394 as_basename=basename |
62 else | 395 else |
63 as_basename=false | 396 as_basename=false |
64 fi | 397 fi |
65 | 398 |
66 | 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
67 # Name of the executable. | 400 as_dirname=dirname |
68 as_me=`$as_basename "$0" || | 401 else |
402 as_dirname=false | |
403 fi | |
404 | |
405 as_me=`$as_basename -- "$0" || | |
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
70 X"$0" : 'X\(//\)$' \| \ | 407 X"$0" : 'X\(//\)$' \| \ |
71 X"$0" : 'X\(/\)$' \| \ | 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
72 . : '\(.\)' 2>/dev/null || | 409 $as_echo X/"$0" | |
73 echo X/"$0" | | 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 411 s//\1/ |
75 /^X\/\(\/\/\)$/{ s//\1/; q; } | 412 q |
76 /^X\/\(\/\).*/{ s//\1/; q; } | 413 } |
77 s/.*/./; q'` | 414 /^X\/\(\/\/\)$/{ |
78 | 415 s//\1/ |
79 | 416 q |
80 # PATH needs CR, and LINENO needs CR and PATH. | 417 } |
418 /^X\/\(\/\).*/{ | |
419 s//\1/ | |
420 q | |
421 } | |
422 s/.*/./; q'` | |
423 | |
81 # Avoid depending upon Character Ranges. | 424 # Avoid depending upon Character Ranges. |
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 425 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
85 as_cr_digits='0123456789' | 428 as_cr_digits='0123456789' |
86 as_cr_alnum=$as_cr_Letters$as_cr_digits | 429 as_cr_alnum=$as_cr_Letters$as_cr_digits |
87 | 430 |
88 # The user is always right. | 431 |
89 if test "${PATH_SEPARATOR+set}" != set; then | 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO |
90 echo "#! /bin/sh" >conf$$.sh | 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO |
91 echo "exit 0" >>conf$$.sh | 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
92 chmod +x conf$$.sh | 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
94 PATH_SEPARATOR=';' | 437 sed -n ' |
95 else | 438 p |
96 PATH_SEPARATOR=: | 439 /[$]LINENO/= |
97 fi | 440 ' <$as_myself | |
98 rm -f conf$$.sh | |
99 fi | |
100 | |
101 | |
102 as_lineno_1=$LINENO | |
103 as_lineno_2=$LINENO | |
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
105 test "x$as_lineno_1" != "x$as_lineno_2" && | |
106 test "x$as_lineno_3" = "x$as_lineno_2" || { | |
107 # Find who we are. Look in the path if we contain no path at all | |
108 # relative or not. | |
109 case $0 in | |
110 *[\\/]* ) as_myself=$0 ;; | |
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
112 for as_dir in $PATH | |
113 do | |
114 IFS=$as_save_IFS | |
115 test -z "$as_dir" && as_dir=. | |
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
117 done | |
118 | |
119 ;; | |
120 esac | |
121 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
122 # in which case we are not to be found in the path. | |
123 if test "x$as_myself" = x; then | |
124 as_myself=$0 | |
125 fi | |
126 if test ! -f "$as_myself"; then | |
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | |
128 { (exit 1); exit 1; }; } | |
129 fi | |
130 case $CONFIG_SHELL in | |
131 '') | |
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
134 do | |
135 IFS=$as_save_IFS | |
136 test -z "$as_dir" && as_dir=. | |
137 for as_base in sh bash ksh sh5; do | |
138 case $as_dir in | |
139 /*) | |
140 if ("$as_dir/$as_base" -c ' | |
141 as_lineno_1=$LINENO | |
142 as_lineno_2=$LINENO | |
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
144 test "x$as_lineno_1" != "x$as_lineno_2" && | |
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
148 CONFIG_SHELL=$as_dir/$as_base | |
149 export CONFIG_SHELL | |
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
151 fi;; | |
152 esac | |
153 done | |
154 done | |
155 ;; | |
156 esac | |
157 | |
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
159 # uniformly replaced by the line number. The first 'sed' inserts a | |
160 # line-number line before each line; the second 'sed' does the real | |
161 # work. The second script uses 'N' to pair each line-number line | |
162 # with the numbered line, and appends trailing '-' during | |
163 # substitution so that $LINENO is not a special case at line end. | |
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
166 sed '=' <$as_myself | | |
167 sed ' | 441 sed ' |
442 s/[$]LINENO.*/&-/ | |
443 t lineno | |
444 b | |
445 :lineno | |
168 N | 446 N |
169 s,$,-, | 447 :loop |
170 : loop | 448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
172 t loop | 449 t loop |
173 s,-$,, | 450 s/-\n.*// |
174 s,^['$as_cr_digits']*\n,, | |
175 ' >$as_me.lineno && | 451 ' >$as_me.lineno && |
176 chmod +x $as_me.lineno || | 452 chmod +x "$as_me.lineno" || |
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
178 { (exit 1); exit 1; }; } | |
179 | 454 |
180 # Don't try to exec as it changes $[0], causing all sort of problems | 455 # Don't try to exec as it changes $[0], causing all sort of problems |
181 # (the dirname of $[0] is not the place where we might find the | 456 # (the dirname of $[0] is not the place where we might find the |
182 # original and so on. Autoconf is especially sensible to this). | 457 # original and so on. Autoconf is especially sensitive to this). |
183 . ./$as_me.lineno | 458 . "./$as_me.lineno" |
184 # Exit status is that of the last command. | 459 # Exit status is that of the last command. |
185 exit | 460 exit |
186 } | 461 } |
187 | 462 |
188 | 463 ECHO_C= ECHO_N= ECHO_T= |
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 464 case `echo -n x` in #((((( |
190 *c*,-n*) ECHO_N= ECHO_C=' | 465 -n*) |
191 ' ECHO_T=' ' ;; | 466 case `echo 'xy\c'` in |
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 468 xy) ECHO_C='\c';; |
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
470 ECHO_T=' ';; | |
471 esac;; | |
472 *) | |
473 ECHO_N='-n';; | |
194 esac | 474 esac |
195 | 475 |
196 if expr a : '\(a\)' >/dev/null 2>&1; then | |
197 as_expr=expr | |
198 else | |
199 as_expr=false | |
200 fi | |
201 | |
202 rm -f conf$$ conf$$.exe conf$$.file | 476 rm -f conf$$ conf$$.exe conf$$.file |
203 echo >conf$$.file | 477 if test -d conf$$.dir; then |
204 if ln -s conf$$.file conf$$ 2>/dev/null; then | 478 rm -f conf$$.dir/conf$$.file |
205 # We could just check for DJGPP; but this test a) works b) is more generic | 479 else |
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 480 rm -f conf$$.dir |
207 if test -f conf$$.exe; then | 481 mkdir conf$$.dir 2>/dev/null |
208 # Don't use ln at all; we don't have any links | 482 fi |
483 if (echo >conf$$.file) 2>/dev/null; then | |
484 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
485 as_ln_s='ln -s' | |
486 # ... but there are two gotchas: | |
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
489 # In both cases, we have to default to `cp -p'. | |
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
491 as_ln_s='cp -p' | |
492 elif ln conf$$.file conf$$ 2>/dev/null; then | |
493 as_ln_s=ln | |
494 else | |
209 as_ln_s='cp -p' | 495 as_ln_s='cp -p' |
496 fi | |
497 else | |
498 as_ln_s='cp -p' | |
499 fi | |
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
501 rmdir conf$$.dir 2>/dev/null | |
502 | |
503 if mkdir -p . 2>/dev/null; then | |
504 as_mkdir_p='mkdir -p "$as_dir"' | |
505 else | |
506 test -d ./-p && rmdir ./-p | |
507 as_mkdir_p=false | |
508 fi | |
509 | |
510 if test -x / >/dev/null 2>&1; then | |
511 as_test_x='test -x' | |
512 else | |
513 if ls -dL / >/dev/null 2>&1; then | |
514 as_ls_L_option=L | |
210 else | 515 else |
211 as_ln_s='ln -s' | 516 as_ls_L_option= |
212 fi | 517 fi |
213 elif ln conf$$.file conf$$ 2>/dev/null; then | 518 as_test_x=' |
214 as_ln_s=ln | 519 eval sh -c '\'' |
215 else | 520 if test -d "$1"; then |
216 as_ln_s='cp -p' | 521 test -d "$1/."; |
217 fi | 522 else |
218 rm -f conf$$ conf$$.exe conf$$.file | 523 case $1 in #( |
219 | 524 -*)set "./$1";; |
220 if mkdir -p . 2>/dev/null; then | 525 esac; |
221 as_mkdir_p=: | 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
222 else | 527 ???[sx]*):;;*)false;;esac;fi |
223 as_mkdir_p=false | 528 '\'' sh |
224 fi | 529 ' |
225 | 530 fi |
226 as_executable_p="test -f" | 531 as_executable_p=$as_test_x |
227 | 532 |
228 # Sed expression to map a string onto a valid CPP name. | 533 # Sed expression to map a string onto a valid CPP name. |
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
230 | 535 |
231 # Sed expression to map a string onto a valid variable name. | 536 # Sed expression to map a string onto a valid variable name. |
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
233 | 538 |
234 | 539 |
235 # IFS | 540 test -n "$DJDIR" || exec 7<&0 </dev/null |
236 # We need space, tab and new line, in precisely that order. | 541 exec 6>&1 |
237 as_nl=' | |
238 ' | |
239 IFS=" $as_nl" | |
240 | |
241 # CDPATH. | |
242 $as_unset CDPATH | |
243 | |
244 | 542 |
245 # Name of the host. | 543 # Name of the host. |
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
247 # so uname gets run too. | 545 # so uname gets run too. |
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
249 | |
250 exec 6>&1 | |
251 | 547 |
252 # | 548 # |
253 # Initializations. | 549 # Initializations. |
254 # | 550 # |
255 ac_default_prefix=/usr/local | 551 ac_default_prefix=/usr/local |
552 ac_clean_files= | |
256 ac_config_libobj_dir=. | 553 ac_config_libobj_dir=. |
554 LIBOBJS= | |
257 cross_compiling=no | 555 cross_compiling=no |
258 subdirs= | 556 subdirs= |
259 MFLAGS= | 557 MFLAGS= |
260 MAKEFLAGS= | 558 MAKEFLAGS= |
261 SHELL=${CONFIG_SHELL-/bin/sh} | |
262 | |
263 # Maximum number of lines to put in a shell here document. | |
264 # This variable seems obsolete. It should probably be removed, and | |
265 # only ac_max_sed_lines should be used. | |
266 : ${ac_max_here_lines=38} | |
267 | 559 |
268 # Identity of this package. | 560 # Identity of this package. |
269 PACKAGE_NAME='"chrpath"' | 561 PACKAGE_NAME='"chrpath"' |
270 PACKAGE_TARNAME='-chrpath-' | 562 PACKAGE_TARNAME='-chrpath-' |
271 PACKAGE_VERSION='"0.13"' | 563 PACKAGE_VERSION='"0.13"' |
272 PACKAGE_STRING='"chrpath" "0.13"' | 564 PACKAGE_STRING='"chrpath" "0.13"' |
273 PACKAGE_BUGREPORT='pere@hungry.com' | 565 PACKAGE_BUGREPORT='pere@hungry.com' |
566 PACKAGE_URL='' | |
274 | 567 |
275 ac_unique_file="chrpath.c" | 568 ac_unique_file="chrpath.c" |
276 # Factoring default headers for most tests. | 569 # Factoring default headers for most tests. |
277 ac_includes_default="\ | 570 ac_includes_default="\ |
278 #include <stdio.h> | 571 #include <stdio.h> |
279 #if HAVE_SYS_TYPES_H | 572 #ifdef HAVE_SYS_TYPES_H |
280 # include <sys/types.h> | 573 # include <sys/types.h> |
281 #endif | 574 #endif |
282 #if HAVE_SYS_STAT_H | 575 #ifdef HAVE_SYS_STAT_H |
283 # include <sys/stat.h> | 576 # include <sys/stat.h> |
284 #endif | 577 #endif |
285 #if STDC_HEADERS | 578 #ifdef STDC_HEADERS |
286 # include <stdlib.h> | 579 # include <stdlib.h> |
287 # include <stddef.h> | 580 # include <stddef.h> |
288 #else | 581 #else |
289 # if HAVE_STDLIB_H | 582 # ifdef HAVE_STDLIB_H |
290 # include <stdlib.h> | 583 # include <stdlib.h> |
291 # endif | 584 # endif |
292 #endif | 585 #endif |
293 #if HAVE_STRING_H | 586 #ifdef HAVE_STRING_H |
294 # if !STDC_HEADERS && HAVE_MEMORY_H | 587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
295 # include <memory.h> | 588 # include <memory.h> |
296 # endif | 589 # endif |
297 # include <string.h> | 590 # include <string.h> |
298 #endif | 591 #endif |
299 #if HAVE_STRINGS_H | 592 #ifdef HAVE_STRINGS_H |
300 # include <strings.h> | 593 # include <strings.h> |
301 #endif | 594 #endif |
302 #if HAVE_INTTYPES_H | 595 #ifdef HAVE_INTTYPES_H |
303 # include <inttypes.h> | 596 # include <inttypes.h> |
304 #else | |
305 # if HAVE_STDINT_H | |
306 # include <stdint.h> | |
307 # endif | |
308 #endif | 597 #endif |
309 #if HAVE_UNISTD_H | 598 #ifdef HAVE_STDINT_H |
599 # include <stdint.h> | |
600 #endif | |
601 #ifdef HAVE_UNISTD_H | |
310 # include <unistd.h> | 602 # include <unistd.h> |
311 #endif" | 603 #endif" |
312 | 604 |
313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LDRPATH CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS LTLIBOBJS' | 605 ac_subst_vars='am__EXEEXT_FALSE |
606 am__EXEEXT_TRUE | |
607 LTLIBOBJS | |
608 LIBOBJS | |
609 EGREP | |
610 GREP | |
611 CPP | |
612 am__fastdepCC_FALSE | |
613 am__fastdepCC_TRUE | |
614 CCDEPMODE | |
615 AMDEPBACKSLASH | |
616 AMDEP_FALSE | |
617 AMDEP_TRUE | |
618 am__quote | |
619 am__include | |
620 DEPDIR | |
621 OBJEXT | |
622 EXEEXT | |
623 ac_ct_CC | |
624 CPPFLAGS | |
625 LDFLAGS | |
626 CFLAGS | |
627 CC | |
628 LDRPATH | |
629 MAINT | |
630 MAINTAINER_MODE_FALSE | |
631 MAINTAINER_MODE_TRUE | |
632 am__untar | |
633 am__tar | |
634 AMTAR | |
635 am__leading_dot | |
636 SET_MAKE | |
637 AWK | |
638 mkdir_p | |
639 MKDIR_P | |
640 INSTALL_STRIP_PROGRAM | |
641 STRIP | |
642 install_sh | |
643 MAKEINFO | |
644 AUTOHEADER | |
645 AUTOMAKE | |
646 AUTOCONF | |
647 ACLOCAL | |
648 VERSION | |
649 PACKAGE | |
650 CYGPATH_W | |
651 am__isrc | |
652 INSTALL_DATA | |
653 INSTALL_SCRIPT | |
654 INSTALL_PROGRAM | |
655 target_os | |
656 target_vendor | |
657 target_cpu | |
658 target | |
659 host_os | |
660 host_vendor | |
661 host_cpu | |
662 host | |
663 build_os | |
664 build_vendor | |
665 build_cpu | |
666 build | |
667 target_alias | |
668 host_alias | |
669 build_alias | |
670 LIBS | |
671 ECHO_T | |
672 ECHO_N | |
673 ECHO_C | |
674 DEFS | |
675 mandir | |
676 localedir | |
677 libdir | |
678 psdir | |
679 pdfdir | |
680 dvidir | |
681 htmldir | |
682 infodir | |
683 docdir | |
684 oldincludedir | |
685 includedir | |
686 localstatedir | |
687 sharedstatedir | |
688 sysconfdir | |
689 datadir | |
690 datarootdir | |
691 libexecdir | |
692 sbindir | |
693 bindir | |
694 program_transform_name | |
695 prefix | |
696 exec_prefix | |
697 PACKAGE_URL | |
698 PACKAGE_BUGREPORT | |
699 PACKAGE_STRING | |
700 PACKAGE_VERSION | |
701 PACKAGE_TARNAME | |
702 PACKAGE_NAME | |
703 PATH_SEPARATOR | |
704 SHELL' | |
314 ac_subst_files='' | 705 ac_subst_files='' |
706 ac_user_opts=' | |
707 enable_option_checking | |
708 enable_maintainer_mode | |
709 enable_dependency_tracking | |
710 with_coverage | |
711 ' | |
712 ac_precious_vars='build_alias | |
713 host_alias | |
714 target_alias | |
715 CC | |
716 CFLAGS | |
717 LDFLAGS | |
718 LIBS | |
719 CPPFLAGS | |
720 CPP' | |
721 | |
315 | 722 |
316 # Initialize some variables set by options. | 723 # Initialize some variables set by options. |
317 ac_init_help= | 724 ac_init_help= |
318 ac_init_version=false | 725 ac_init_version=false |
726 ac_unrecognized_opts= | |
727 ac_unrecognized_sep= | |
319 # The variables have the same names as the options, with | 728 # The variables have the same names as the options, with |
320 # dashes changed to underlines. | 729 # dashes changed to underlines. |
321 cache_file=/dev/null | 730 cache_file=/dev/null |
322 exec_prefix=NONE | 731 exec_prefix=NONE |
323 no_create= | 732 no_create= |
336 # Installation directory options. | 745 # Installation directory options. |
337 # These are left unexpanded so users can "make install exec_prefix=/foo" | 746 # These are left unexpanded so users can "make install exec_prefix=/foo" |
338 # and all the variables that are supposed to be based on exec_prefix | 747 # and all the variables that are supposed to be based on exec_prefix |
339 # by default will actually change. | 748 # by default will actually change. |
340 # Use braces instead of parens because sh, perl, etc. also accept them. | 749 # Use braces instead of parens because sh, perl, etc. also accept them. |
750 # (The list follows the same order as the GNU Coding Standards.) | |
341 bindir='${exec_prefix}/bin' | 751 bindir='${exec_prefix}/bin' |
342 sbindir='${exec_prefix}/sbin' | 752 sbindir='${exec_prefix}/sbin' |
343 libexecdir='${exec_prefix}/libexec' | 753 libexecdir='${exec_prefix}/libexec' |
344 datadir='${prefix}/share' | 754 datarootdir='${prefix}/share' |
755 datadir='${datarootdir}' | |
345 sysconfdir='${prefix}/etc' | 756 sysconfdir='${prefix}/etc' |
346 sharedstatedir='${prefix}/com' | 757 sharedstatedir='${prefix}/com' |
347 localstatedir='${prefix}/var' | 758 localstatedir='${prefix}/var' |
348 libdir='${exec_prefix}/lib' | |
349 includedir='${prefix}/include' | 759 includedir='${prefix}/include' |
350 oldincludedir='/usr/include' | 760 oldincludedir='/usr/include' |
351 infodir='${prefix}/info' | 761 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
352 mandir='${prefix}/man' | 762 infodir='${datarootdir}/info' |
763 htmldir='${docdir}' | |
764 dvidir='${docdir}' | |
765 pdfdir='${docdir}' | |
766 psdir='${docdir}' | |
767 libdir='${exec_prefix}/lib' | |
768 localedir='${datarootdir}/locale' | |
769 mandir='${datarootdir}/man' | |
353 | 770 |
354 ac_prev= | 771 ac_prev= |
772 ac_dashdash= | |
355 for ac_option | 773 for ac_option |
356 do | 774 do |
357 # If the previous option needs an argument, assign it. | 775 # If the previous option needs an argument, assign it. |
358 if test -n "$ac_prev"; then | 776 if test -n "$ac_prev"; then |
359 eval "$ac_prev=\$ac_option" | 777 eval $ac_prev=\$ac_option |
360 ac_prev= | 778 ac_prev= |
361 continue | 779 continue |
362 fi | 780 fi |
363 | 781 |
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 782 case $ac_option in |
783 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
784 *=) ac_optarg= ;; | |
785 *) ac_optarg=yes ;; | |
786 esac | |
365 | 787 |
366 # Accept the important Cygnus configure options, so we can diagnose typos. | 788 # Accept the important Cygnus configure options, so we can diagnose typos. |
367 | 789 |
368 case $ac_option in | 790 case $ac_dashdash$ac_option in |
791 --) | |
792 ac_dashdash=yes ;; | |
369 | 793 |
370 -bindir | --bindir | --bindi | --bind | --bin | --bi) | 794 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
371 ac_prev=bindir ;; | 795 ac_prev=bindir ;; |
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 796 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
373 bindir=$ac_optarg ;; | 797 bindir=$ac_optarg ;; |
385 cache_file=$ac_optarg ;; | 809 cache_file=$ac_optarg ;; |
386 | 810 |
387 --config-cache | -C) | 811 --config-cache | -C) |
388 cache_file=config.cache ;; | 812 cache_file=config.cache ;; |
389 | 813 |
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 814 -datadir | --datadir | --datadi | --datad) |
391 ac_prev=datadir ;; | 815 ac_prev=datadir ;; |
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 816 -datadir=* | --datadir=* | --datadi=* | --datad=*) |
393 | --da=*) | |
394 datadir=$ac_optarg ;; | 817 datadir=$ac_optarg ;; |
395 | 818 |
819 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
820 | --dataroo | --dataro | --datar) | |
821 ac_prev=datarootdir ;; | |
822 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
823 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
824 datarootdir=$ac_optarg ;; | |
825 | |
396 -disable-* | --disable-*) | 826 -disable-* | --disable-*) |
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 827 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
398 # Reject names that are not valid shell variable names. | 828 # Reject names that are not valid shell variable names. |
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 830 as_fn_error $? "invalid feature name: $ac_useropt" |
401 { (exit 1); exit 1; }; } | 831 ac_useropt_orig=$ac_useropt |
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
403 eval "enable_$ac_feature=no" ;; | 833 case $ac_user_opts in |
834 *" | |
835 "enable_$ac_useropt" | |
836 "*) ;; | |
837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
838 ac_unrecognized_sep=', ';; | |
839 esac | |
840 eval enable_$ac_useropt=no ;; | |
841 | |
842 -docdir | --docdir | --docdi | --doc | --do) | |
843 ac_prev=docdir ;; | |
844 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
845 docdir=$ac_optarg ;; | |
846 | |
847 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
848 ac_prev=dvidir ;; | |
849 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
850 dvidir=$ac_optarg ;; | |
404 | 851 |
405 -enable-* | --enable-*) | 852 -enable-* | --enable-*) |
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 853 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
407 # Reject names that are not valid shell variable names. | 854 # Reject names that are not valid shell variable names. |
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 856 as_fn_error $? "invalid feature name: $ac_useropt" |
410 { (exit 1); exit 1; }; } | 857 ac_useropt_orig=$ac_useropt |
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
412 case $ac_option in | 859 case $ac_user_opts in |
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 860 *" |
414 *) ac_optarg=yes ;; | 861 "enable_$ac_useropt" |
862 "*) ;; | |
863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
864 ac_unrecognized_sep=', ';; | |
415 esac | 865 esac |
416 eval "enable_$ac_feature='$ac_optarg'" ;; | 866 eval enable_$ac_useropt=\$ac_optarg ;; |
417 | 867 |
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 868 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 869 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
420 | --exec | --exe | --ex) | 870 | --exec | --exe | --ex) |
421 ac_prev=exec_prefix ;; | 871 ac_prev=exec_prefix ;; |
438 -host | --host | --hos | --ho) | 888 -host | --host | --hos | --ho) |
439 ac_prev=host_alias ;; | 889 ac_prev=host_alias ;; |
440 -host=* | --host=* | --hos=* | --ho=*) | 890 -host=* | --host=* | --hos=* | --ho=*) |
441 host_alias=$ac_optarg ;; | 891 host_alias=$ac_optarg ;; |
442 | 892 |
893 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
894 ac_prev=htmldir ;; | |
895 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
896 | --ht=*) | |
897 htmldir=$ac_optarg ;; | |
898 | |
443 -includedir | --includedir | --includedi | --included | --include \ | 899 -includedir | --includedir | --includedi | --included | --include \ |
444 | --includ | --inclu | --incl | --inc) | 900 | --includ | --inclu | --incl | --inc) |
445 ac_prev=includedir ;; | 901 ac_prev=includedir ;; |
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 902 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
447 | --includ=* | --inclu=* | --incl=* | --inc=*) | 903 | --includ=* | --inclu=* | --incl=* | --inc=*) |
462 ac_prev=libexecdir ;; | 918 ac_prev=libexecdir ;; |
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 919 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
464 | --libexe=* | --libex=* | --libe=*) | 920 | --libexe=* | --libex=* | --libe=*) |
465 libexecdir=$ac_optarg ;; | 921 libexecdir=$ac_optarg ;; |
466 | 922 |
923 -localedir | --localedir | --localedi | --localed | --locale) | |
924 ac_prev=localedir ;; | |
925 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
926 localedir=$ac_optarg ;; | |
927 | |
467 -localstatedir | --localstatedir | --localstatedi | --localstated \ | 928 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
468 | --localstate | --localstat | --localsta | --localst \ | 929 | --localstate | --localstat | --localsta | --localst | --locals) |
469 | --locals | --local | --loca | --loc | --lo) | |
470 ac_prev=localstatedir ;; | 930 ac_prev=localstatedir ;; |
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 931 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 932 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
474 localstatedir=$ac_optarg ;; | 933 localstatedir=$ac_optarg ;; |
475 | 934 |
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 935 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
477 ac_prev=mandir ;; | 936 ac_prev=mandir ;; |
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 937 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
533 | --program-transfo=* | --program-transf=* \ | 992 | --program-transfo=* | --program-transf=* \ |
534 | --program-trans=* | --program-tran=* \ | 993 | --program-trans=* | --program-tran=* \ |
535 | --progr-tra=* | --program-tr=* | --program-t=*) | 994 | --progr-tra=* | --program-tr=* | --program-t=*) |
536 program_transform_name=$ac_optarg ;; | 995 program_transform_name=$ac_optarg ;; |
537 | 996 |
997 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
998 ac_prev=pdfdir ;; | |
999 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1000 pdfdir=$ac_optarg ;; | |
1001 | |
1002 -psdir | --psdir | --psdi | --psd | --ps) | |
1003 ac_prev=psdir ;; | |
1004 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1005 psdir=$ac_optarg ;; | |
1006 | |
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
539 | -silent | --silent | --silen | --sile | --sil) | 1008 | -silent | --silent | --silen | --sile | --sil) |
540 silent=yes ;; | 1009 silent=yes ;; |
541 | 1010 |
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 1011 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
583 | 1052 |
584 -version | --version | --versio | --versi | --vers | -V) | 1053 -version | --version | --versio | --versi | --vers | -V) |
585 ac_init_version=: ;; | 1054 ac_init_version=: ;; |
586 | 1055 |
587 -with-* | --with-*) | 1056 -with-* | --with-*) |
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1057 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
589 # Reject names that are not valid shell variable names. | 1058 # Reject names that are not valid shell variable names. |
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
591 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1060 as_fn_error $? "invalid package name: $ac_useropt" |
592 { (exit 1); exit 1; }; } | 1061 ac_useropt_orig=$ac_useropt |
593 ac_package=`echo $ac_package| sed 's/-/_/g'` | 1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
594 case $ac_option in | 1063 case $ac_user_opts in |
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 1064 *" |
596 *) ac_optarg=yes ;; | 1065 "with_$ac_useropt" |
1066 "*) ;; | |
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1068 ac_unrecognized_sep=', ';; | |
597 esac | 1069 esac |
598 eval "with_$ac_package='$ac_optarg'" ;; | 1070 eval with_$ac_useropt=\$ac_optarg ;; |
599 | 1071 |
600 -without-* | --without-*) | 1072 -without-* | --without-*) |
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1073 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
602 # Reject names that are not valid shell variable names. | 1074 # Reject names that are not valid shell variable names. |
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
604 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1076 as_fn_error $? "invalid package name: $ac_useropt" |
605 { (exit 1); exit 1; }; } | 1077 ac_useropt_orig=$ac_useropt |
606 ac_package=`echo $ac_package | sed 's/-/_/g'` | 1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
607 eval "with_$ac_package=no" ;; | 1079 case $ac_user_opts in |
1080 *" | |
1081 "with_$ac_useropt" | |
1082 "*) ;; | |
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1084 ac_unrecognized_sep=', ';; | |
1085 esac | |
1086 eval with_$ac_useropt=no ;; | |
608 | 1087 |
609 --x) | 1088 --x) |
610 # Obsolete; use --with-x. | 1089 # Obsolete; use --with-x. |
611 with_x=yes ;; | 1090 with_x=yes ;; |
612 | 1091 |
622 ac_prev=x_libraries ;; | 1101 ac_prev=x_libraries ;; |
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1102 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1103 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
625 x_libraries=$ac_optarg ;; | 1104 x_libraries=$ac_optarg ;; |
626 | 1105 |
627 -*) { echo "$as_me: error: unrecognized option: $ac_option | 1106 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
628 Try \`$0 --help' for more information." >&2 | 1107 Try \`$0 --help' for more information" |
629 { (exit 1); exit 1; }; } | |
630 ;; | 1108 ;; |
631 | 1109 |
632 *=*) | 1110 *=*) |
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1111 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
634 # Reject names that are not valid shell variable names. | 1112 # Reject names that are not valid shell variable names. |
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1113 case $ac_envvar in #( |
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1114 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
637 { (exit 1); exit 1; }; } | 1115 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 1116 esac |
639 eval "$ac_envvar='$ac_optarg'" | 1117 eval $ac_envvar=\$ac_optarg |
640 export $ac_envvar ;; | 1118 export $ac_envvar ;; |
641 | 1119 |
642 *) | 1120 *) |
643 # FIXME: should be removed in autoconf 3.0. | 1121 # FIXME: should be removed in autoconf 3.0. |
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1122 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1123 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1124 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1125 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
648 ;; | 1126 ;; |
649 | 1127 |
650 esac | 1128 esac |
651 done | 1129 done |
652 | 1130 |
653 if test -n "$ac_prev"; then | 1131 if test -n "$ac_prev"; then |
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1132 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
655 { echo "$as_me: error: missing argument to $ac_option" >&2 | 1133 as_fn_error $? "missing argument to $ac_option" |
656 { (exit 1); exit 1; }; } | 1134 fi |
657 fi | 1135 |
658 | 1136 if test -n "$ac_unrecognized_opts"; then |
659 # Be sure to have absolute paths. | 1137 case $enable_option_checking in |
660 for ac_var in exec_prefix prefix | 1138 no) ;; |
1139 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1140 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1141 esac | |
1142 fi | |
1143 | |
1144 # Check all directory arguments for consistency. | |
1145 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1146 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1147 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1148 libdir localedir mandir | |
661 do | 1149 do |
662 eval ac_val=$`echo $ac_var` | 1150 eval ac_val=\$$ac_var |
1151 # Remove trailing slashes. | |
663 case $ac_val in | 1152 case $ac_val in |
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 1153 */ ) |
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1154 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
666 { (exit 1); exit 1; }; };; | 1155 eval $ac_var=\$ac_val;; |
667 esac | 1156 esac |
668 done | 1157 # Be sure to have absolute directory names. |
669 | |
670 # Be sure to have absolute paths. | |
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
672 localstatedir libdir includedir oldincludedir infodir mandir | |
673 do | |
674 eval ac_val=$`echo $ac_var` | |
675 case $ac_val in | 1158 case $ac_val in |
676 [\\/$]* | ?:[\\/]* ) ;; | 1159 [\\/$]* | ?:[\\/]* ) continue;; |
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1160 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
678 { (exit 1); exit 1; }; };; | |
679 esac | 1161 esac |
1162 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
680 done | 1163 done |
681 | 1164 |
682 # There might be people who depend on the old broken behavior: `$host' | 1165 # There might be people who depend on the old broken behavior: `$host' |
683 # used to hold the argument of --host etc. | 1166 # used to hold the argument of --host etc. |
684 # FIXME: To remove some day. | 1167 # FIXME: To remove some day. |
688 | 1171 |
689 # FIXME: To remove some day. | 1172 # FIXME: To remove some day. |
690 if test "x$host_alias" != x; then | 1173 if test "x$host_alias" != x; then |
691 if test "x$build_alias" = x; then | 1174 if test "x$build_alias" = x; then |
692 cross_compiling=maybe | 1175 cross_compiling=maybe |
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1176 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
694 If a cross compiler is detected then cross compile mode will be used." >&2 | 1177 If a cross compiler is detected then cross compile mode will be used" >&2 |
695 elif test "x$build_alias" != "x$host_alias"; then | 1178 elif test "x$build_alias" != "x$host_alias"; then |
696 cross_compiling=yes | 1179 cross_compiling=yes |
697 fi | 1180 fi |
698 fi | 1181 fi |
699 | 1182 |
701 test -n "$host_alias" && ac_tool_prefix=$host_alias- | 1184 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
702 | 1185 |
703 test "$silent" = yes && exec 6>/dev/null | 1186 test "$silent" = yes && exec 6>/dev/null |
704 | 1187 |
705 | 1188 |
1189 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1190 ac_ls_di=`ls -di .` && | |
1191 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1192 as_fn_error $? "working directory cannot be determined" | |
1193 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1194 as_fn_error $? "pwd does not report name of working directory" | |
1195 | |
1196 | |
706 # Find the source files, if location was not specified. | 1197 # Find the source files, if location was not specified. |
707 if test -z "$srcdir"; then | 1198 if test -z "$srcdir"; then |
708 ac_srcdir_defaulted=yes | 1199 ac_srcdir_defaulted=yes |
709 # Try the directory containing this script, then its parent. | 1200 # Try the directory containing this script, then the parent directory. |
710 ac_confdir=`(dirname "$0") 2>/dev/null || | 1201 ac_confdir=`$as_dirname -- "$as_myself" || |
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1202 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
712 X"$0" : 'X\(//\)[^/]' \| \ | 1203 X"$as_myself" : 'X\(//\)[^/]' \| \ |
713 X"$0" : 'X\(//\)$' \| \ | 1204 X"$as_myself" : 'X\(//\)$' \| \ |
714 X"$0" : 'X\(/\)' \| \ | 1205 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
715 . : '\(.\)' 2>/dev/null || | 1206 $as_echo X"$as_myself" | |
716 echo X"$0" | | 1207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 1208 s//\1/ |
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 1209 q |
719 /^X\(\/\/\)$/{ s//\1/; q; } | 1210 } |
720 /^X\(\/\).*/{ s//\1/; q; } | 1211 /^X\(\/\/\)[^/].*/{ |
721 s/.*/./; q'` | 1212 s//\1/ |
1213 q | |
1214 } | |
1215 /^X\(\/\/\)$/{ | |
1216 s//\1/ | |
1217 q | |
1218 } | |
1219 /^X\(\/\).*/{ | |
1220 s//\1/ | |
1221 q | |
1222 } | |
1223 s/.*/./; q'` | |
722 srcdir=$ac_confdir | 1224 srcdir=$ac_confdir |
723 if test ! -r $srcdir/$ac_unique_file; then | 1225 if test ! -r "$srcdir/$ac_unique_file"; then |
724 srcdir=.. | 1226 srcdir=.. |
725 fi | 1227 fi |
726 else | 1228 else |
727 ac_srcdir_defaulted=no | 1229 ac_srcdir_defaulted=no |
728 fi | 1230 fi |
729 if test ! -r $srcdir/$ac_unique_file; then | 1231 if test ! -r "$srcdir/$ac_unique_file"; then |
730 if test "$ac_srcdir_defaulted" = yes; then | 1232 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 1233 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
732 { (exit 1); exit 1; }; } | 1234 fi |
733 else | 1235 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1236 ac_abs_confdir=`( |
735 { (exit 1); exit 1; }; } | 1237 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
736 fi | 1238 pwd)` |
737 fi | 1239 # When building in place, set srcdir=. |
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 1240 if test "$ac_abs_confdir" = "$ac_pwd"; then |
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 1241 srcdir=. |
740 { (exit 1); exit 1; }; } | 1242 fi |
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 1243 # Remove unnecessary trailing slashes from srcdir. |
742 ac_env_build_alias_set=${build_alias+set} | 1244 # Double slashes in file names in object file debugging info |
743 ac_env_build_alias_value=$build_alias | 1245 # mess up M-x gdb in Emacs. |
744 ac_cv_env_build_alias_set=${build_alias+set} | 1246 case $srcdir in |
745 ac_cv_env_build_alias_value=$build_alias | 1247 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
746 ac_env_host_alias_set=${host_alias+set} | 1248 esac |
747 ac_env_host_alias_value=$host_alias | 1249 for ac_var in $ac_precious_vars; do |
748 ac_cv_env_host_alias_set=${host_alias+set} | 1250 eval ac_env_${ac_var}_set=\${${ac_var}+set} |
749 ac_cv_env_host_alias_value=$host_alias | 1251 eval ac_env_${ac_var}_value=\$${ac_var} |
750 ac_env_target_alias_set=${target_alias+set} | 1252 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
751 ac_env_target_alias_value=$target_alias | 1253 eval ac_cv_env_${ac_var}_value=\$${ac_var} |
752 ac_cv_env_target_alias_set=${target_alias+set} | 1254 done |
753 ac_cv_env_target_alias_value=$target_alias | |
754 ac_env_CC_set=${CC+set} | |
755 ac_env_CC_value=$CC | |
756 ac_cv_env_CC_set=${CC+set} | |
757 ac_cv_env_CC_value=$CC | |
758 ac_env_CFLAGS_set=${CFLAGS+set} | |
759 ac_env_CFLAGS_value=$CFLAGS | |
760 ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
761 ac_cv_env_CFLAGS_value=$CFLAGS | |
762 ac_env_LDFLAGS_set=${LDFLAGS+set} | |
763 ac_env_LDFLAGS_value=$LDFLAGS | |
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
765 ac_cv_env_LDFLAGS_value=$LDFLAGS | |
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
767 ac_env_CPPFLAGS_value=$CPPFLAGS | |
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
770 ac_env_CPP_set=${CPP+set} | |
771 ac_env_CPP_value=$CPP | |
772 ac_cv_env_CPP_set=${CPP+set} | |
773 ac_cv_env_CPP_value=$CPP | |
774 | 1255 |
775 # | 1256 # |
776 # Report the --help message. | 1257 # Report the --help message. |
777 # | 1258 # |
778 if test "$ac_init_help" = "long"; then | 1259 if test "$ac_init_help" = "long"; then |
791 Configuration: | 1272 Configuration: |
792 -h, --help display this help and exit | 1273 -h, --help display this help and exit |
793 --help=short display options specific to this package | 1274 --help=short display options specific to this package |
794 --help=recursive display the short help of all the included packages | 1275 --help=recursive display the short help of all the included packages |
795 -V, --version display version information and exit | 1276 -V, --version display version information and exit |
796 -q, --quiet, --silent do not print \`checking...' messages | 1277 -q, --quiet, --silent do not print \`checking ...' messages |
797 --cache-file=FILE cache test results in FILE [disabled] | 1278 --cache-file=FILE cache test results in FILE [disabled] |
798 -C, --config-cache alias for \`--cache-file=config.cache' | 1279 -C, --config-cache alias for \`--cache-file=config.cache' |
799 -n, --no-create do not create output files | 1280 -n, --no-create do not create output files |
800 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1281 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
801 | 1282 |
802 _ACEOF | |
803 | |
804 cat <<_ACEOF | |
805 Installation directories: | 1283 Installation directories: |
806 --prefix=PREFIX install architecture-independent files in PREFIX | 1284 --prefix=PREFIX install architecture-independent files in PREFIX |
807 [$ac_default_prefix] | 1285 [$ac_default_prefix] |
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1286 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
809 [PREFIX] | 1287 [PREFIX] |
814 for instance \`--prefix=\$HOME'. | 1292 for instance \`--prefix=\$HOME'. |
815 | 1293 |
816 For better control, use the options below. | 1294 For better control, use the options below. |
817 | 1295 |
818 Fine tuning of the installation directories: | 1296 Fine tuning of the installation directories: |
819 --bindir=DIR user executables [EPREFIX/bin] | 1297 --bindir=DIR user executables [EPREFIX/bin] |
820 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1298 --sbindir=DIR system admin executables [EPREFIX/sbin] |
821 --libexecdir=DIR program executables [EPREFIX/libexec] | 1299 --libexecdir=DIR program executables [EPREFIX/libexec] |
822 --datadir=DIR read-only architecture-independent data [PREFIX/share] | 1300 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1301 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1302 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1303 --libdir=DIR object code libraries [EPREFIX/lib] |
826 --libdir=DIR object code libraries [EPREFIX/lib] | 1304 --includedir=DIR C header files [PREFIX/include] |
827 --includedir=DIR C header files [PREFIX/include] | 1305 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
828 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1306 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
829 --infodir=DIR info documentation [PREFIX/info] | 1307 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
830 --mandir=DIR man documentation [PREFIX/man] | 1308 --infodir=DIR info documentation [DATAROOTDIR/info] |
1309 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1310 --mandir=DIR man documentation [DATAROOTDIR/man] | |
1311 --docdir=DIR documentation root [DATAROOTDIR/doc/-chrpath-] | |
1312 --htmldir=DIR html documentation [DOCDIR] | |
1313 --dvidir=DIR dvi documentation [DOCDIR] | |
1314 --pdfdir=DIR pdf documentation [DOCDIR] | |
1315 --psdir=DIR ps documentation [DOCDIR] | |
831 _ACEOF | 1316 _ACEOF |
832 | 1317 |
833 cat <<\_ACEOF | 1318 cat <<\_ACEOF |
834 | 1319 |
835 Program names: | 1320 Program names: |
849 short | recursive ) echo "Configuration of "chrpath" "0.13":";; | 1334 short | recursive ) echo "Configuration of "chrpath" "0.13":";; |
850 esac | 1335 esac |
851 cat <<\_ACEOF | 1336 cat <<\_ACEOF |
852 | 1337 |
853 Optional Features: | 1338 Optional Features: |
1339 --disable-option-checking ignore unrecognized --enable/--with options | |
854 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1340 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
855 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1341 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
856 --enable-maintainer-mode enable make rules and dependencies not useful | 1342 --enable-maintainer-mode enable make rules and dependencies not useful |
857 (and sometimes confusing) to the casual installer | 1343 (and sometimes confusing) to the casual installer |
1344 --disable-dependency-tracking speeds up one-time build | |
1345 --enable-dependency-tracking do not reject slow dependency extractors | |
858 | 1346 |
859 Optional Packages: | 1347 Optional Packages: |
860 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1348 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
861 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1349 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
862 Enable coverage testing | 1350 Enable coverage testing |
864 Some influential environment variables: | 1352 Some influential environment variables: |
865 CC C compiler command | 1353 CC C compiler command |
866 CFLAGS C compiler flags | 1354 CFLAGS C compiler flags |
867 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1355 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
868 nonstandard directory <lib dir> | 1356 nonstandard directory <lib dir> |
869 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | 1357 LIBS libraries to pass to the linker, e.g. -l<library> |
870 headers in a nonstandard directory <include dir> | 1358 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1359 you have headers in a nonstandard directory <include dir> | |
871 CPP C preprocessor | 1360 CPP C preprocessor |
872 | 1361 |
873 Use these variables to override the choices made by `configure' or to help | 1362 Use these variables to override the choices made by `configure' or to help |
874 it to find libraries and programs with nonstandard names/locations. | 1363 it to find libraries and programs with nonstandard names/locations. |
875 | 1364 |
876 Report bugs to <pere@hungry.com>. | 1365 Report bugs to <pere@hungry.com>. |
877 _ACEOF | 1366 _ACEOF |
1367 ac_status=$? | |
878 fi | 1368 fi |
879 | 1369 |
880 if test "$ac_init_help" = "recursive"; then | 1370 if test "$ac_init_help" = "recursive"; then |
881 # If there are subdirs, report their specific --help. | 1371 # If there are subdirs, report their specific --help. |
882 ac_popdir=`pwd` | |
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1372 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
884 test -d $ac_dir || continue | 1373 test -d "$ac_dir" || |
1374 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1375 continue | |
885 ac_builddir=. | 1376 ac_builddir=. |
886 | 1377 |
887 if test "$ac_dir" != .; then | 1378 case "$ac_dir" in |
888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
889 # A "../" for each directory in $ac_dir_suffix. | 1380 *) |
890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 1381 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
891 else | 1382 # A ".." for each directory in $ac_dir_suffix. |
892 ac_dir_suffix= ac_top_builddir= | 1383 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
893 fi | 1384 case $ac_top_builddir_sub in |
1385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1387 esac ;; | |
1388 esac | |
1389 ac_abs_top_builddir=$ac_pwd | |
1390 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1391 # for backward compatibility: | |
1392 ac_top_builddir=$ac_top_build_prefix | |
894 | 1393 |
895 case $srcdir in | 1394 case $srcdir in |
896 .) # No --srcdir option. We are building in place. | 1395 .) # We are building in place. |
897 ac_srcdir=. | 1396 ac_srcdir=. |
898 if test -z "$ac_top_builddir"; then | 1397 ac_top_srcdir=$ac_top_builddir_sub |
899 ac_top_srcdir=. | 1398 ac_abs_top_srcdir=$ac_pwd ;; |
1399 [\\/]* | ?:[\\/]* ) # Absolute name. | |
1400 ac_srcdir=$srcdir$ac_dir_suffix; | |
1401 ac_top_srcdir=$srcdir | |
1402 ac_abs_top_srcdir=$srcdir ;; | |
1403 *) # Relative name. | |
1404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1405 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1407 esac | |
1408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1409 | |
1410 cd "$ac_dir" || { ac_status=$?; continue; } | |
1411 # Check for guested configure. | |
1412 if test -f "$ac_srcdir/configure.gnu"; then | |
1413 echo && | |
1414 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1415 elif test -f "$ac_srcdir/configure"; then | |
1416 echo && | |
1417 $SHELL "$ac_srcdir/configure" --help=recursive | |
900 else | 1418 else |
901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 1419 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
902 fi ;; | 1420 fi || ac_status=$? |
903 [\\/]* | ?:[\\/]* ) # Absolute path. | 1421 cd "$ac_pwd" || { ac_status=$?; break; } |
904 ac_srcdir=$srcdir$ac_dir_suffix; | |
905 ac_top_srcdir=$srcdir ;; | |
906 *) # Relative path. | |
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
908 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
909 esac | |
910 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
911 # absolute. | |
912 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
913 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
914 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
915 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
916 | |
917 cd $ac_dir | |
918 # Check for guested configure; otherwise get Cygnus style configure. | |
919 if test -f $ac_srcdir/configure.gnu; then | |
920 echo | |
921 $SHELL $ac_srcdir/configure.gnu --help=recursive | |
922 elif test -f $ac_srcdir/configure; then | |
923 echo | |
924 $SHELL $ac_srcdir/configure --help=recursive | |
925 elif test -f $ac_srcdir/configure.ac || | |
926 test -f $ac_srcdir/configure.in; then | |
927 echo | |
928 $ac_configure --help | |
929 else | |
930 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
931 fi | |
932 cd "$ac_popdir" | |
933 done | 1422 done |
934 fi | 1423 fi |
935 | 1424 |
936 test -n "$ac_init_help" && exit 0 | 1425 test -n "$ac_init_help" && exit $ac_status |
937 if $ac_init_version; then | 1426 if $ac_init_version; then |
938 cat <<\_ACEOF | 1427 cat <<\_ACEOF |
939 "chrpath" configure "0.13" | 1428 "chrpath" configure "0.13" |
940 generated by GNU Autoconf 2.57 | 1429 generated by GNU Autoconf 2.68 |
941 | 1430 |
942 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 1431 Copyright (C) 2010 Free Software Foundation, Inc. |
943 Free Software Foundation, Inc. | |
944 This configure script is free software; the Free Software Foundation | 1432 This configure script is free software; the Free Software Foundation |
945 gives unlimited permission to copy, distribute and modify it. | 1433 gives unlimited permission to copy, distribute and modify it. |
946 _ACEOF | 1434 _ACEOF |
947 exit 0 | 1435 exit |
948 fi | 1436 fi |
949 exec 5>config.log | 1437 |
950 cat >&5 <<_ACEOF | 1438 ## ------------------------ ## |
1439 ## Autoconf initialization. ## | |
1440 ## ------------------------ ## | |
1441 | |
1442 # ac_fn_c_try_compile LINENO | |
1443 # -------------------------- | |
1444 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1445 ac_fn_c_try_compile () | |
1446 { | |
1447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1448 rm -f conftest.$ac_objext | |
1449 if { { ac_try="$ac_compile" | |
1450 case "(($ac_try" in | |
1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1452 *) ac_try_echo=$ac_try;; | |
1453 esac | |
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1455 $as_echo "$ac_try_echo"; } >&5 | |
1456 (eval "$ac_compile") 2>conftest.err | |
1457 ac_status=$? | |
1458 if test -s conftest.err; then | |
1459 grep -v '^ *+' conftest.err >conftest.er1 | |
1460 cat conftest.er1 >&5 | |
1461 mv -f conftest.er1 conftest.err | |
1462 fi | |
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1464 test $ac_status = 0; } && { | |
1465 test -z "$ac_c_werror_flag" || | |
1466 test ! -s conftest.err | |
1467 } && test -s conftest.$ac_objext; then : | |
1468 ac_retval=0 | |
1469 else | |
1470 $as_echo "$as_me: failed program was:" >&5 | |
1471 sed 's/^/| /' conftest.$ac_ext >&5 | |
1472 | |
1473 ac_retval=1 | |
1474 fi | |
1475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1476 as_fn_set_status $ac_retval | |
1477 | |
1478 } # ac_fn_c_try_compile | |
1479 | |
1480 # ac_fn_c_try_cpp LINENO | |
1481 # ---------------------- | |
1482 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1483 ac_fn_c_try_cpp () | |
1484 { | |
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1486 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1487 case "(($ac_try" in | |
1488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1489 *) ac_try_echo=$ac_try;; | |
1490 esac | |
1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1492 $as_echo "$ac_try_echo"; } >&5 | |
1493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1494 ac_status=$? | |
1495 if test -s conftest.err; then | |
1496 grep -v '^ *+' conftest.err >conftest.er1 | |
1497 cat conftest.er1 >&5 | |
1498 mv -f conftest.er1 conftest.err | |
1499 fi | |
1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1501 test $ac_status = 0; } > conftest.i && { | |
1502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1503 test ! -s conftest.err | |
1504 }; then : | |
1505 ac_retval=0 | |
1506 else | |
1507 $as_echo "$as_me: failed program was:" >&5 | |
1508 sed 's/^/| /' conftest.$ac_ext >&5 | |
1509 | |
1510 ac_retval=1 | |
1511 fi | |
1512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1513 as_fn_set_status $ac_retval | |
1514 | |
1515 } # ac_fn_c_try_cpp | |
1516 | |
1517 # ac_fn_c_try_run LINENO | |
1518 # ---------------------- | |
1519 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1520 # that executables *can* be run. | |
1521 ac_fn_c_try_run () | |
1522 { | |
1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1524 if { { ac_try="$ac_link" | |
1525 case "(($ac_try" in | |
1526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1527 *) ac_try_echo=$ac_try;; | |
1528 esac | |
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1530 $as_echo "$ac_try_echo"; } >&5 | |
1531 (eval "$ac_link") 2>&5 | |
1532 ac_status=$? | |
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1534 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1535 { { case "(($ac_try" in | |
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1537 *) ac_try_echo=$ac_try;; | |
1538 esac | |
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1540 $as_echo "$ac_try_echo"; } >&5 | |
1541 (eval "$ac_try") 2>&5 | |
1542 ac_status=$? | |
1543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1544 test $ac_status = 0; }; }; then : | |
1545 ac_retval=0 | |
1546 else | |
1547 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1548 $as_echo "$as_me: failed program was:" >&5 | |
1549 sed 's/^/| /' conftest.$ac_ext >&5 | |
1550 | |
1551 ac_retval=$ac_status | |
1552 fi | |
1553 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1555 as_fn_set_status $ac_retval | |
1556 | |
1557 } # ac_fn_c_try_run | |
1558 | |
1559 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1560 # ------------------------------------------------------- | |
1561 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1562 # the include files in INCLUDES and setting the cache variable VAR | |
1563 # accordingly. | |
1564 ac_fn_c_check_header_mongrel () | |
1565 { | |
1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1567 if eval \${$3+:} false; then : | |
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1569 $as_echo_n "checking for $2... " >&6; } | |
1570 if eval \${$3+:} false; then : | |
1571 $as_echo_n "(cached) " >&6 | |
1572 fi | |
1573 eval ac_res=\$$3 | |
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1575 $as_echo "$ac_res" >&6; } | |
1576 else | |
1577 # Is the header compilable? | |
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1579 $as_echo_n "checking $2 usability... " >&6; } | |
1580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1581 /* end confdefs.h. */ | |
1582 $4 | |
1583 #include <$2> | |
1584 _ACEOF | |
1585 if ac_fn_c_try_compile "$LINENO"; then : | |
1586 ac_header_compiler=yes | |
1587 else | |
1588 ac_header_compiler=no | |
1589 fi | |
1590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1592 $as_echo "$ac_header_compiler" >&6; } | |
1593 | |
1594 # Is the header present? | |
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1596 $as_echo_n "checking $2 presence... " >&6; } | |
1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1598 /* end confdefs.h. */ | |
1599 #include <$2> | |
1600 _ACEOF | |
1601 if ac_fn_c_try_cpp "$LINENO"; then : | |
1602 ac_header_preproc=yes | |
1603 else | |
1604 ac_header_preproc=no | |
1605 fi | |
1606 rm -f conftest.err conftest.i conftest.$ac_ext | |
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1608 $as_echo "$ac_header_preproc" >&6; } | |
1609 | |
1610 # So? What about this header? | |
1611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1612 yes:no: ) | |
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1614 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1616 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1617 ;; | |
1618 no:yes:* ) | |
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1620 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1622 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1624 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1626 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1628 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1629 ( $as_echo "## ------------------------------ ## | |
1630 ## Report this to pere@hungry.com ## | |
1631 ## ------------------------------ ##" | |
1632 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
1633 ;; | |
1634 esac | |
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1636 $as_echo_n "checking for $2... " >&6; } | |
1637 if eval \${$3+:} false; then : | |
1638 $as_echo_n "(cached) " >&6 | |
1639 else | |
1640 eval "$3=\$ac_header_compiler" | |
1641 fi | |
1642 eval ac_res=\$$3 | |
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1644 $as_echo "$ac_res" >&6; } | |
1645 fi | |
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1647 | |
1648 } # ac_fn_c_check_header_mongrel | |
1649 | |
1650 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1651 # ------------------------------------------------------- | |
1652 # Tests whether HEADER exists and can be compiled using the include files in | |
1653 # INCLUDES, setting the cache variable VAR accordingly. | |
1654 ac_fn_c_check_header_compile () | |
1655 { | |
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1658 $as_echo_n "checking for $2... " >&6; } | |
1659 if eval \${$3+:} false; then : | |
1660 $as_echo_n "(cached) " >&6 | |
1661 else | |
1662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1663 /* end confdefs.h. */ | |
1664 $4 | |
1665 #include <$2> | |
1666 _ACEOF | |
1667 if ac_fn_c_try_compile "$LINENO"; then : | |
1668 eval "$3=yes" | |
1669 else | |
1670 eval "$3=no" | |
1671 fi | |
1672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1673 fi | |
1674 eval ac_res=\$$3 | |
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1676 $as_echo "$ac_res" >&6; } | |
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1678 | |
1679 } # ac_fn_c_check_header_compile | |
1680 | |
1681 # ac_fn_c_try_link LINENO | |
1682 # ----------------------- | |
1683 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1684 ac_fn_c_try_link () | |
1685 { | |
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1687 rm -f conftest.$ac_objext conftest$ac_exeext | |
1688 if { { ac_try="$ac_link" | |
1689 case "(($ac_try" in | |
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1691 *) ac_try_echo=$ac_try;; | |
1692 esac | |
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1694 $as_echo "$ac_try_echo"; } >&5 | |
1695 (eval "$ac_link") 2>conftest.err | |
1696 ac_status=$? | |
1697 if test -s conftest.err; then | |
1698 grep -v '^ *+' conftest.err >conftest.er1 | |
1699 cat conftest.er1 >&5 | |
1700 mv -f conftest.er1 conftest.err | |
1701 fi | |
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1703 test $ac_status = 0; } && { | |
1704 test -z "$ac_c_werror_flag" || | |
1705 test ! -s conftest.err | |
1706 } && test -s conftest$ac_exeext && { | |
1707 test "$cross_compiling" = yes || | |
1708 $as_test_x conftest$ac_exeext | |
1709 }; then : | |
1710 ac_retval=0 | |
1711 else | |
1712 $as_echo "$as_me: failed program was:" >&5 | |
1713 sed 's/^/| /' conftest.$ac_ext >&5 | |
1714 | |
1715 ac_retval=1 | |
1716 fi | |
1717 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1718 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1719 # interfere with the next link command; also delete a directory that is | |
1720 # left behind by Apple's compiler. We do this before executing the actions. | |
1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1723 as_fn_set_status $ac_retval | |
1724 | |
1725 } # ac_fn_c_try_link | |
1726 | |
1727 # ac_fn_c_check_func LINENO FUNC VAR | |
1728 # ---------------------------------- | |
1729 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
1730 ac_fn_c_check_func () | |
1731 { | |
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1734 $as_echo_n "checking for $2... " >&6; } | |
1735 if eval \${$3+:} false; then : | |
1736 $as_echo_n "(cached) " >&6 | |
1737 else | |
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1739 /* end confdefs.h. */ | |
1740 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
1741 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
1742 #define $2 innocuous_$2 | |
1743 | |
1744 /* System header to define __stub macros and hopefully few prototypes, | |
1745 which can conflict with char $2 (); below. | |
1746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
1747 <limits.h> exists even on freestanding compilers. */ | |
1748 | |
1749 #ifdef __STDC__ | |
1750 # include <limits.h> | |
1751 #else | |
1752 # include <assert.h> | |
1753 #endif | |
1754 | |
1755 #undef $2 | |
1756 | |
1757 /* Override any GCC internal prototype to avoid an error. | |
1758 Use char because int might match the return type of a GCC | |
1759 builtin and then its argument prototype would still apply. */ | |
1760 #ifdef __cplusplus | |
1761 extern "C" | |
1762 #endif | |
1763 char $2 (); | |
1764 /* The GNU C library defines this for functions which it implements | |
1765 to always fail with ENOSYS. Some functions are actually named | |
1766 something starting with __ and the normal name is an alias. */ | |
1767 #if defined __stub_$2 || defined __stub___$2 | |
1768 choke me | |
1769 #endif | |
1770 | |
1771 int | |
1772 main () | |
1773 { | |
1774 return $2 (); | |
1775 ; | |
1776 return 0; | |
1777 } | |
1778 _ACEOF | |
1779 if ac_fn_c_try_link "$LINENO"; then : | |
1780 eval "$3=yes" | |
1781 else | |
1782 eval "$3=no" | |
1783 fi | |
1784 rm -f core conftest.err conftest.$ac_objext \ | |
1785 conftest$ac_exeext conftest.$ac_ext | |
1786 fi | |
1787 eval ac_res=\$$3 | |
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1789 $as_echo "$ac_res" >&6; } | |
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1791 | |
1792 } # ac_fn_c_check_func | |
1793 cat >config.log <<_ACEOF | |
951 This file contains any messages produced by compilers while | 1794 This file contains any messages produced by compilers while |
952 running configure, to aid debugging if configure makes a mistake. | 1795 running configure, to aid debugging if configure makes a mistake. |
953 | 1796 |
954 It was created by "chrpath" $as_me "0.13", which was | 1797 It was created by "chrpath" $as_me "0.13", which was |
955 generated by GNU Autoconf 2.57. Invocation command line was | 1798 generated by GNU Autoconf 2.68. Invocation command line was |
956 | 1799 |
957 $ $0 $@ | 1800 $ $0 $@ |
958 | 1801 |
959 _ACEOF | 1802 _ACEOF |
1803 exec 5>>config.log | |
960 { | 1804 { |
961 cat <<_ASUNAME | 1805 cat <<_ASUNAME |
962 ## --------- ## | 1806 ## --------- ## |
963 ## Platform. ## | 1807 ## Platform. ## |
964 ## --------- ## | 1808 ## --------- ## |
973 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | 1817 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
974 | 1818 |
975 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1819 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
976 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1820 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
977 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1821 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
978 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | 1822 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
979 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1823 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
980 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1824 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
981 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1825 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
982 | 1826 |
983 _ASUNAME | 1827 _ASUNAME |
985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
986 for as_dir in $PATH | 1830 for as_dir in $PATH |
987 do | 1831 do |
988 IFS=$as_save_IFS | 1832 IFS=$as_save_IFS |
989 test -z "$as_dir" && as_dir=. | 1833 test -z "$as_dir" && as_dir=. |
990 echo "PATH: $as_dir" | 1834 $as_echo "PATH: $as_dir" |
991 done | 1835 done |
1836 IFS=$as_save_IFS | |
992 | 1837 |
993 } >&5 | 1838 } >&5 |
994 | 1839 |
995 cat >&5 <<_ACEOF | 1840 cat >&5 <<_ACEOF |
996 | 1841 |
1008 # Also quote any args containing shell meta-characters. | 1853 # Also quote any args containing shell meta-characters. |
1009 # Make two passes to allow for proper duplicate-argument suppression. | 1854 # Make two passes to allow for proper duplicate-argument suppression. |
1010 ac_configure_args= | 1855 ac_configure_args= |
1011 ac_configure_args0= | 1856 ac_configure_args0= |
1012 ac_configure_args1= | 1857 ac_configure_args1= |
1013 ac_sep= | |
1014 ac_must_keep_next=false | 1858 ac_must_keep_next=false |
1015 for ac_pass in 1 2 | 1859 for ac_pass in 1 2 |
1016 do | 1860 do |
1017 for ac_arg | 1861 for ac_arg |
1018 do | 1862 do |
1019 case $ac_arg in | 1863 case $ac_arg in |
1020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 1864 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1022 | -silent | --silent | --silen | --sile | --sil) | 1866 | -silent | --silent | --silen | --sile | --sil) |
1023 continue ;; | 1867 continue ;; |
1024 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1868 *\'*) |
1025 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1869 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1026 esac | 1870 esac |
1027 case $ac_pass in | 1871 case $ac_pass in |
1028 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 1872 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1029 2) | 1873 2) |
1030 ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 1874 as_fn_append ac_configure_args1 " '$ac_arg'" |
1031 if test $ac_must_keep_next = true; then | 1875 if test $ac_must_keep_next = true; then |
1032 ac_must_keep_next=false # Got value, back to normal. | 1876 ac_must_keep_next=false # Got value, back to normal. |
1033 else | 1877 else |
1034 case $ac_arg in | 1878 case $ac_arg in |
1035 *=* | --config-cache | -C | -disable-* | --disable-* \ | 1879 *=* | --config-cache | -C | -disable-* | --disable-* \ |
1036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 1880 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 1881 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1038 | -with-* | --with-* | -without-* | --without-* | --x) | 1882 | -with-* | --with-* | -without-* | --without-* | --x) |
1039 case "$ac_configure_args0 " in | 1883 case "$ac_configure_args0 " in |
1040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 1884 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1041 esac | 1885 esac |
1042 ;; | 1886 ;; |
1043 -* ) ac_must_keep_next=true ;; | 1887 -* ) ac_must_keep_next=true ;; |
1044 esac | 1888 esac |
1045 fi | 1889 fi |
1046 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 1890 as_fn_append ac_configure_args " '$ac_arg'" |
1047 # Get rid of the leading space. | |
1048 ac_sep=" " | |
1049 ;; | 1891 ;; |
1050 esac | 1892 esac |
1051 done | 1893 done |
1052 done | 1894 done |
1053 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 1895 { ac_configure_args0=; unset ac_configure_args0;} |
1054 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 1896 { ac_configure_args1=; unset ac_configure_args1;} |
1055 | 1897 |
1056 # When interrupted or exit'd, cleanup temporary files, and complete | 1898 # When interrupted or exit'd, cleanup temporary files, and complete |
1057 # config.log. We remove comments because anyway the quotes in there | 1899 # config.log. We remove comments because anyway the quotes in there |
1058 # would cause problems or look ugly. | 1900 # would cause problems or look ugly. |
1059 # WARNING: Be sure not to use single quotes in there, as some shells, | 1901 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1060 # such as our DU 5.0 friend, will then `close' the trap. | 1902 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1061 trap 'exit_status=$? | 1903 trap 'exit_status=$? |
1062 # Save into config.log some information that might help in debugging. | 1904 # Save into config.log some information that might help in debugging. |
1063 { | 1905 { |
1064 echo | 1906 echo |
1065 | 1907 |
1066 cat <<\_ASBOX | 1908 $as_echo "## ---------------- ## |
1067 ## ---------------- ## | |
1068 ## Cache variables. ## | 1909 ## Cache variables. ## |
1069 ## ---------------- ## | 1910 ## ---------------- ##" |
1070 _ASBOX | |
1071 echo | 1911 echo |
1072 # The following way of writing the cache mishandles newlines in values, | 1912 # The following way of writing the cache mishandles newlines in values, |
1073 { | 1913 ( |
1914 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1915 eval ac_val=\$$ac_var | |
1916 case $ac_val in #( | |
1917 *${as_nl}*) | |
1918 case $ac_var in #( | |
1919 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
1920 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1921 esac | |
1922 case $ac_var in #( | |
1923 _ | IFS | as_nl) ;; #( | |
1924 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
1925 *) { eval $ac_var=; unset $ac_var;} ;; | |
1926 esac ;; | |
1927 esac | |
1928 done | |
1074 (set) 2>&1 | | 1929 (set) 2>&1 | |
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 1930 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1076 *ac_space=\ *) | 1931 *${as_nl}ac_space=\ *) |
1077 sed -n \ | 1932 sed -n \ |
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 1933 "s/'\''/'\''\\\\'\'''\''/g; |
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 1934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1935 ;; #( | |
1936 *) | |
1937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1080 ;; | 1938 ;; |
1081 *) | 1939 esac | |
1082 sed -n \ | 1940 sort |
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 1941 ) |
1084 ;; | |
1085 esac; | |
1086 } | |
1087 echo | 1942 echo |
1088 | 1943 |
1089 cat <<\_ASBOX | 1944 $as_echo "## ----------------- ## |
1090 ## ----------------- ## | |
1091 ## Output variables. ## | 1945 ## Output variables. ## |
1092 ## ----------------- ## | 1946 ## ----------------- ##" |
1093 _ASBOX | |
1094 echo | 1947 echo |
1095 for ac_var in $ac_subst_vars | 1948 for ac_var in $ac_subst_vars |
1096 do | 1949 do |
1097 eval ac_val=$`echo $ac_var` | 1950 eval ac_val=\$$ac_var |
1098 echo "$ac_var='"'"'$ac_val'"'"'" | 1951 case $ac_val in |
1952 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1953 esac | |
1954 $as_echo "$ac_var='\''$ac_val'\''" | |
1099 done | sort | 1955 done | sort |
1100 echo | 1956 echo |
1101 | 1957 |
1102 if test -n "$ac_subst_files"; then | 1958 if test -n "$ac_subst_files"; then |
1103 cat <<\_ASBOX | 1959 $as_echo "## ------------------- ## |
1104 ## ------------- ## | 1960 ## File substitutions. ## |
1105 ## Output files. ## | 1961 ## ------------------- ##" |
1106 ## ------------- ## | |
1107 _ASBOX | |
1108 echo | 1962 echo |
1109 for ac_var in $ac_subst_files | 1963 for ac_var in $ac_subst_files |
1110 do | 1964 do |
1111 eval ac_val=$`echo $ac_var` | 1965 eval ac_val=\$$ac_var |
1112 echo "$ac_var='"'"'$ac_val'"'"'" | 1966 case $ac_val in |
1967 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1968 esac | |
1969 $as_echo "$ac_var='\''$ac_val'\''" | |
1113 done | sort | 1970 done | sort |
1114 echo | 1971 echo |
1115 fi | 1972 fi |
1116 | 1973 |
1117 if test -s confdefs.h; then | 1974 if test -s confdefs.h; then |
1118 cat <<\_ASBOX | 1975 $as_echo "## ----------- ## |
1119 ## ----------- ## | |
1120 ## confdefs.h. ## | 1976 ## confdefs.h. ## |
1121 ## ----------- ## | 1977 ## ----------- ##" |
1122 _ASBOX | |
1123 echo | 1978 echo |
1124 sed "/^$/d" confdefs.h | sort | 1979 cat confdefs.h |
1125 echo | 1980 echo |
1126 fi | 1981 fi |
1127 test "$ac_signal" != 0 && | 1982 test "$ac_signal" != 0 && |
1128 echo "$as_me: caught signal $ac_signal" | 1983 $as_echo "$as_me: caught signal $ac_signal" |
1129 echo "$as_me: exit $exit_status" | 1984 $as_echo "$as_me: exit $exit_status" |
1130 } >&5 | 1985 } >&5 |
1131 rm -f core *.core && | 1986 rm -f core *.core core.conftest.* && |
1132 rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 1987 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1133 exit $exit_status | 1988 exit $exit_status |
1134 ' 0 | 1989 ' 0 |
1135 for ac_signal in 1 2 13 15; do | 1990 for ac_signal in 1 2 13 15; do |
1136 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1991 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1137 done | 1992 done |
1138 ac_signal=0 | 1993 ac_signal=0 |
1139 | 1994 |
1140 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1995 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1141 rm -rf conftest* confdefs.h | 1996 rm -f -r conftest* confdefs.h |
1142 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 1997 |
1143 echo >confdefs.h | 1998 $as_echo "/* confdefs.h */" > confdefs.h |
1144 | 1999 |
1145 # Predefined preprocessor variables. | 2000 # Predefined preprocessor variables. |
1146 | 2001 |
1147 cat >>confdefs.h <<_ACEOF | 2002 cat >>confdefs.h <<_ACEOF |
1148 #define PACKAGE_NAME "$PACKAGE_NAME" | 2003 #define PACKAGE_NAME "$PACKAGE_NAME" |
1149 _ACEOF | 2004 _ACEOF |
1150 | 2005 |
1151 | |
1152 cat >>confdefs.h <<_ACEOF | 2006 cat >>confdefs.h <<_ACEOF |
1153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 2007 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1154 _ACEOF | 2008 _ACEOF |
1155 | 2009 |
1156 | |
1157 cat >>confdefs.h <<_ACEOF | 2010 cat >>confdefs.h <<_ACEOF |
1158 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 2011 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1159 _ACEOF | 2012 _ACEOF |
1160 | 2013 |
1161 | |
1162 cat >>confdefs.h <<_ACEOF | 2014 cat >>confdefs.h <<_ACEOF |
1163 #define PACKAGE_STRING "$PACKAGE_STRING" | 2015 #define PACKAGE_STRING "$PACKAGE_STRING" |
1164 _ACEOF | 2016 _ACEOF |
1165 | 2017 |
1166 | |
1167 cat >>confdefs.h <<_ACEOF | 2018 cat >>confdefs.h <<_ACEOF |
1168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 2019 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1169 _ACEOF | 2020 _ACEOF |
1170 | 2021 |
2022 cat >>confdefs.h <<_ACEOF | |
2023 #define PACKAGE_URL "$PACKAGE_URL" | |
2024 _ACEOF | |
2025 | |
1171 | 2026 |
1172 # Let the site file select an alternate cache file if it wants to. | 2027 # Let the site file select an alternate cache file if it wants to. |
1173 # Prefer explicitly selected file to automatically selected ones. | 2028 # Prefer an explicitly selected file to automatically selected ones. |
1174 if test -z "$CONFIG_SITE"; then | 2029 ac_site_file1=NONE |
1175 if test "x$prefix" != xNONE; then | 2030 ac_site_file2=NONE |
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 2031 if test -n "$CONFIG_SITE"; then |
1177 else | 2032 # We do not want a PATH search for config.site. |
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 2033 case $CONFIG_SITE in #(( |
1179 fi | 2034 -*) ac_site_file1=./$CONFIG_SITE;; |
1180 fi | 2035 */*) ac_site_file1=$CONFIG_SITE;; |
1181 for ac_site_file in $CONFIG_SITE; do | 2036 *) ac_site_file1=./$CONFIG_SITE;; |
1182 if test -r "$ac_site_file"; then | 2037 esac |
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 2038 elif test "x$prefix" != xNONE; then |
1184 echo "$as_me: loading site script $ac_site_file" >&6;} | 2039 ac_site_file1=$prefix/share/config.site |
2040 ac_site_file2=$prefix/etc/config.site | |
2041 else | |
2042 ac_site_file1=$ac_default_prefix/share/config.site | |
2043 ac_site_file2=$ac_default_prefix/etc/config.site | |
2044 fi | |
2045 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
2046 do | |
2047 test "x$ac_site_file" = xNONE && continue | |
2048 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
2050 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1185 sed 's/^/| /' "$ac_site_file" >&5 | 2051 sed 's/^/| /' "$ac_site_file" >&5 |
1186 . "$ac_site_file" | 2052 . "$ac_site_file" \ |
2053 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2055 as_fn_error $? "failed to load site script $ac_site_file | |
2056 See \`config.log' for more details" "$LINENO" 5; } | |
1187 fi | 2057 fi |
1188 done | 2058 done |
1189 | 2059 |
1190 if test -r "$cache_file"; then | 2060 if test -r "$cache_file"; then |
1191 # Some versions of bash will fail to source /dev/null (special | 2061 # Some versions of bash will fail to source /dev/null (special files |
1192 # files actually), so we avoid doing that. | 2062 # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1193 if test -f "$cache_file"; then | 2063 if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 2064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1195 echo "$as_me: loading cache $cache_file" >&6;} | 2065 $as_echo "$as_me: loading cache $cache_file" >&6;} |
1196 case $cache_file in | 2066 case $cache_file in |
1197 [\\/]* | ?:[\\/]* ) . $cache_file;; | 2067 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1198 *) . ./$cache_file;; | 2068 *) . "./$cache_file";; |
1199 esac | 2069 esac |
1200 fi | 2070 fi |
1201 else | 2071 else |
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 2072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1203 echo "$as_me: creating cache $cache_file" >&6;} | 2073 $as_echo "$as_me: creating cache $cache_file" >&6;} |
1204 >$cache_file | 2074 >$cache_file |
1205 fi | 2075 fi |
1206 | 2076 |
1207 # Check that the precious variables saved in the cache have kept the same | 2077 # Check that the precious variables saved in the cache have kept the same |
1208 # value. | 2078 # value. |
1209 ac_cache_corrupted=false | 2079 ac_cache_corrupted=false |
1210 for ac_var in `(set) 2>&1 | | 2080 for ac_var in $ac_precious_vars; do |
1211 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 2081 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1213 eval ac_new_set=\$ac_env_${ac_var}_set | 2082 eval ac_new_set=\$ac_env_${ac_var}_set |
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 2083 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1215 eval ac_new_val="\$ac_env_${ac_var}_value" | 2084 eval ac_new_val=\$ac_env_${ac_var}_value |
1216 case $ac_old_set,$ac_new_set in | 2085 case $ac_old_set,$ac_new_set in |
1217 set,) | 2086 set,) |
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1219 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 2088 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1220 ac_cache_corrupted=: ;; | 2089 ac_cache_corrupted=: ;; |
1221 ,set) | 2090 ,set) |
1222 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1223 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 2092 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1224 ac_cache_corrupted=: ;; | 2093 ac_cache_corrupted=: ;; |
1225 ,);; | 2094 ,);; |
1226 *) | 2095 *) |
1227 if test "x$ac_old_val" != "x$ac_new_val"; then | 2096 if test "x$ac_old_val" != "x$ac_new_val"; then |
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 2097 # differences in whitespace do not lead to failure. |
1229 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 2098 ac_old_val_w=`echo x $ac_old_val` |
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 2099 ac_new_val_w=`echo x $ac_new_val` |
1231 echo "$as_me: former value: $ac_old_val" >&2;} | 2100 if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 2101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1233 echo "$as_me: current value: $ac_new_val" >&2;} | 2102 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1234 ac_cache_corrupted=: | 2103 ac_cache_corrupted=: |
2104 else | |
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
2106 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
2107 eval $ac_var=\$ac_old_val | |
2108 fi | |
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
2110 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
2112 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1235 fi;; | 2113 fi;; |
1236 esac | 2114 esac |
1237 # Pass precious variables to config.status. | 2115 # Pass precious variables to config.status. |
1238 if test "$ac_new_set" = set; then | 2116 if test "$ac_new_set" = set; then |
1239 case $ac_new_val in | 2117 case $ac_new_val in |
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 2118 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1241 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1242 *) ac_arg=$ac_var=$ac_new_val ;; | 2119 *) ac_arg=$ac_var=$ac_new_val ;; |
1243 esac | 2120 esac |
1244 case " $ac_configure_args " in | 2121 case " $ac_configure_args " in |
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2122 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 2123 *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1247 esac | 2124 esac |
1248 fi | 2125 fi |
1249 done | 2126 done |
1250 if $ac_cache_corrupted; then | 2127 if $ac_cache_corrupted; then |
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1252 echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1253 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1254 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 2131 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1255 { (exit 1); exit 1; }; } | 2132 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1256 fi | 2133 fi |
2134 ## -------------------- ## | |
2135 ## Main body of script. ## | |
2136 ## -------------------- ## | |
1257 | 2137 |
1258 ac_ext=c | 2138 ac_ext=c |
1259 ac_cpp='$CPP $CPPFLAGS' | 2139 ac_cpp='$CPP $CPPFLAGS' |
1260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1262 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2142 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1263 | 2143 |
1264 | 2144 |
1265 | 2145 |
1266 | |
1267 | |
1268 | |
1269 | |
1270 | |
1271 | |
1272 | |
1273 | |
1274 | |
1275 | |
1276 | |
1277 | |
1278 | |
1279 | |
1280 | |
1281 | |
1282 | |
1283 | |
1284 | |
1285 | |
1286 | |
1287 | |
1288 | |
1289 | |
1290 | |
1291 ac_aux_dir= | 2146 ac_aux_dir= |
1292 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 2147 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1293 if test -f $ac_dir/install-sh; then | 2148 if test -f "$ac_dir/install-sh"; then |
1294 ac_aux_dir=$ac_dir | 2149 ac_aux_dir=$ac_dir |
1295 ac_install_sh="$ac_aux_dir/install-sh -c" | 2150 ac_install_sh="$ac_aux_dir/install-sh -c" |
1296 break | 2151 break |
1297 elif test -f $ac_dir/install.sh; then | 2152 elif test -f "$ac_dir/install.sh"; then |
1298 ac_aux_dir=$ac_dir | 2153 ac_aux_dir=$ac_dir |
1299 ac_install_sh="$ac_aux_dir/install.sh -c" | 2154 ac_install_sh="$ac_aux_dir/install.sh -c" |
1300 break | 2155 break |
1301 elif test -f $ac_dir/shtool; then | 2156 elif test -f "$ac_dir/shtool"; then |
1302 ac_aux_dir=$ac_dir | 2157 ac_aux_dir=$ac_dir |
1303 ac_install_sh="$ac_aux_dir/shtool install -c" | 2158 ac_install_sh="$ac_aux_dir/shtool install -c" |
1304 break | 2159 break |
1305 fi | 2160 fi |
1306 done | 2161 done |
1307 if test -z "$ac_aux_dir"; then | 2162 if test -z "$ac_aux_dir"; then |
1308 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 2163 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
1309 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 2164 fi |
1310 { (exit 1); exit 1; }; } | 2165 |
1311 fi | 2166 # These three variables are undocumented and unsupported, |
1312 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 2167 # and are intended to be withdrawn in a future Autoconf release. |
1313 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 2168 # They can cause serious problems if a builder's source tree is in a directory |
1314 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 2169 # whose full name contains unusual characters. |
2170 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
2171 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
2172 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
2173 | |
1315 | 2174 |
1316 # Make sure we can run config.sub. | 2175 # Make sure we can run config.sub. |
1317 $ac_config_sub sun4 >/dev/null 2>&1 || | 2176 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
1318 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 2177 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
1319 echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 2178 |
1320 { (exit 1); exit 1; }; } | 2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
1321 | 2180 $as_echo_n "checking build system type... " >&6; } |
1322 echo "$as_me:$LINENO: checking build system type" >&5 | 2181 if ${ac_cv_build+:} false; then : |
1323 echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 2182 $as_echo_n "(cached) " >&6 |
1324 if test "${ac_cv_build+set}" = set; then | 2183 else |
1325 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2184 ac_build_alias=$build_alias |
1326 else | 2185 test "x$ac_build_alias" = x && |
1327 ac_cv_build_alias=$build_alias | 2186 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
1328 test -z "$ac_cv_build_alias" && | 2187 test "x$ac_build_alias" = x && |
1329 ac_cv_build_alias=`$ac_config_guess` | 2188 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
1330 test -z "$ac_cv_build_alias" && | 2189 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
1331 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 2190 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
1332 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 2191 |
1333 { (exit 1); exit 1; }; } | 2192 fi |
1334 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
1335 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 2194 $as_echo "$ac_cv_build" >&6; } |
1336 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 2195 case $ac_cv_build in |
1337 { (exit 1); exit 1; }; } | 2196 *-*-*) ;; |
1338 | 2197 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
1339 fi | 2198 esac |
1340 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
1341 echo "${ECHO_T}$ac_cv_build" >&6 | |
1342 build=$ac_cv_build | 2199 build=$ac_cv_build |
1343 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 2200 ac_save_IFS=$IFS; IFS='-' |
1344 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 2201 set x $ac_cv_build |
1345 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 2202 shift |
1346 | 2203 build_cpu=$1 |
1347 | 2204 build_vendor=$2 |
1348 echo "$as_me:$LINENO: checking host system type" >&5 | 2205 shift; shift |
1349 echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 2206 # Remember, the first character of IFS is used to create $*, |
1350 if test "${ac_cv_host+set}" = set; then | 2207 # except with old shells: |
1351 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2208 build_os=$* |
1352 else | 2209 IFS=$ac_save_IFS |
1353 ac_cv_host_alias=$host_alias | 2210 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
1354 test -z "$ac_cv_host_alias" && | 2211 |
1355 ac_cv_host_alias=$ac_cv_build_alias | 2212 |
1356 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
1357 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 2214 $as_echo_n "checking host system type... " >&6; } |
1358 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 2215 if ${ac_cv_host+:} false; then : |
1359 { (exit 1); exit 1; }; } | 2216 $as_echo_n "(cached) " >&6 |
1360 | 2217 else |
1361 fi | 2218 if test "x$host_alias" = x; then |
1362 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 2219 ac_cv_host=$ac_cv_build |
1363 echo "${ECHO_T}$ac_cv_host" >&6 | 2220 else |
2221 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
2222 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | |
2223 fi | |
2224 | |
2225 fi | |
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | |
2227 $as_echo "$ac_cv_host" >&6; } | |
2228 case $ac_cv_host in | |
2229 *-*-*) ;; | |
2230 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | |
2231 esac | |
1364 host=$ac_cv_host | 2232 host=$ac_cv_host |
1365 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 2233 ac_save_IFS=$IFS; IFS='-' |
1366 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 2234 set x $ac_cv_host |
1367 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 2235 shift |
1368 | 2236 host_cpu=$1 |
1369 | 2237 host_vendor=$2 |
1370 echo "$as_me:$LINENO: checking target system type" >&5 | 2238 shift; shift |
1371 echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 2239 # Remember, the first character of IFS is used to create $*, |
1372 if test "${ac_cv_target+set}" = set; then | 2240 # except with old shells: |
1373 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2241 host_os=$* |
1374 else | 2242 IFS=$ac_save_IFS |
1375 ac_cv_target_alias=$target_alias | 2243 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
1376 test "x$ac_cv_target_alias" = "x" && | 2244 |
1377 ac_cv_target_alias=$ac_cv_host_alias | 2245 |
1378 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
1379 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 2247 $as_echo_n "checking target system type... " >&6; } |
1380 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 2248 if ${ac_cv_target+:} false; then : |
1381 { (exit 1); exit 1; }; } | 2249 $as_echo_n "(cached) " >&6 |
1382 | 2250 else |
1383 fi | 2251 if test "x$target_alias" = x; then |
1384 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 2252 ac_cv_target=$ac_cv_host |
1385 echo "${ECHO_T}$ac_cv_target" >&6 | 2253 else |
2254 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | |
2255 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | |
2256 fi | |
2257 | |
2258 fi | |
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | |
2260 $as_echo "$ac_cv_target" >&6; } | |
2261 case $ac_cv_target in | |
2262 *-*-*) ;; | |
2263 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; | |
2264 esac | |
1386 target=$ac_cv_target | 2265 target=$ac_cv_target |
1387 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 2266 ac_save_IFS=$IFS; IFS='-' |
1388 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 2267 set x $ac_cv_target |
1389 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 2268 shift |
2269 target_cpu=$1 | |
2270 target_vendor=$2 | |
2271 shift; shift | |
2272 # Remember, the first character of IFS is used to create $*, | |
2273 # except with old shells: | |
2274 target_os=$* | |
2275 IFS=$ac_save_IFS | |
2276 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | |
1390 | 2277 |
1391 | 2278 |
1392 # The aliases save the names the user supplied, while $host etc. | 2279 # The aliases save the names the user supplied, while $host etc. |
1393 # will get canonicalized. | 2280 # will get canonicalized. |
1394 test -n "$target_alias" && | 2281 test -n "$target_alias" && |
1395 test "$program_prefix$program_suffix$program_transform_name" = \ | 2282 test "$program_prefix$program_suffix$program_transform_name" = \ |
1396 NONENONEs,x,x, && | 2283 NONENONEs,x,x, && |
1397 program_prefix=${target_alias}- | 2284 program_prefix=${target_alias}- |
2285 | |
2286 am__api_version='1.11' | |
1398 | 2287 |
1399 # Find a good install program. We prefer a C program (faster), | 2288 # Find a good install program. We prefer a C program (faster), |
1400 # so one script is as good as another. But avoid the broken or | 2289 # so one script is as good as another. But avoid the broken or |
1401 # incompatible versions: | 2290 # incompatible versions: |
1402 # SysV /etc/install, /usr/sbin/install | 2291 # SysV /etc/install, /usr/sbin/install |
1405 # AIX /bin/install | 2294 # AIX /bin/install |
1406 # AmigaOS /C/install, which installs bootblocks on floppy discs | 2295 # AmigaOS /C/install, which installs bootblocks on floppy discs |
1407 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2296 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1408 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2297 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1409 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2298 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2299 # OS/2's system install, which has a completely different semantic | |
1410 # ./install, which can be erroneously created by make from ./install.sh. | 2300 # ./install, which can be erroneously created by make from ./install.sh. |
1411 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 2301 # Reject install programs that cannot install multiple files. |
1412 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2303 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
1413 if test -z "$INSTALL"; then | 2304 if test -z "$INSTALL"; then |
1414 if test "${ac_cv_path_install+set}" = set; then | 2305 if ${ac_cv_path_install+:} false; then : |
1415 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2306 $as_echo_n "(cached) " >&6 |
1416 else | 2307 else |
1417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1418 for as_dir in $PATH | 2309 for as_dir in $PATH |
1419 do | 2310 do |
1420 IFS=$as_save_IFS | 2311 IFS=$as_save_IFS |
1421 test -z "$as_dir" && as_dir=. | 2312 test -z "$as_dir" && as_dir=. |
1422 # Account for people who put trailing slashes in PATH elements. | 2313 # Account for people who put trailing slashes in PATH elements. |
1423 case $as_dir/ in | 2314 case $as_dir/ in #(( |
1424 ./ | .// | /cC/* | \ | 2315 ./ | .// | /[cC]/* | \ |
1425 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 2316 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2317 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
1426 /usr/ucb/* ) ;; | 2318 /usr/ucb/* ) ;; |
1427 *) | 2319 *) |
1428 # OSF1 and SCO ODT 3.0 have their own names for install. | 2320 # OSF1 and SCO ODT 3.0 have their own names for install. |
1429 # Don't use installbsd from OSF since it installs stuff as root | 2321 # Don't use installbsd from OSF since it installs stuff as root |
1430 # by default. | 2322 # by default. |
1431 for ac_prog in ginstall scoinst install; do | 2323 for ac_prog in ginstall scoinst install; do |
1432 for ac_exec_ext in '' $ac_executable_extensions; do | 2324 for ac_exec_ext in '' $ac_executable_extensions; do |
1433 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 2325 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1434 if test $ac_prog = install && | 2326 if test $ac_prog = install && |
1435 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2327 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1436 # AIX install. It has an incompatible calling convention. | 2328 # AIX install. It has an incompatible calling convention. |
1437 : | 2329 : |
1438 elif test $ac_prog = install && | 2330 elif test $ac_prog = install && |
1439 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2331 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1440 # program-specific install script used by HP pwplus--don't use. | 2332 # program-specific install script used by HP pwplus--don't use. |
1441 : | 2333 : |
1442 else | 2334 else |
1443 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 2335 rm -rf conftest.one conftest.two conftest.dir |
1444 break 3 | 2336 echo one > conftest.one |
1445 fi | 2337 echo two > conftest.two |
1446 fi | 2338 mkdir conftest.dir |
2339 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
2340 test -s conftest.one && test -s conftest.two && | |
2341 test -s conftest.dir/conftest.one && | |
2342 test -s conftest.dir/conftest.two | |
2343 then | |
2344 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2345 break 3 | |
2346 fi | |
2347 fi | |
2348 fi | |
1447 done | 2349 done |
1448 done | 2350 done |
1449 ;; | 2351 ;; |
1450 esac | 2352 esac |
1451 done | 2353 |
1452 | 2354 done |
2355 IFS=$as_save_IFS | |
2356 | |
2357 rm -rf conftest.one conftest.two conftest.dir | |
1453 | 2358 |
1454 fi | 2359 fi |
1455 if test "${ac_cv_path_install+set}" = set; then | 2360 if test "${ac_cv_path_install+set}" = set; then |
1456 INSTALL=$ac_cv_path_install | 2361 INSTALL=$ac_cv_path_install |
1457 else | 2362 else |
1458 # As a last resort, use the slow shell script. We don't cache a | 2363 # As a last resort, use the slow shell script. Don't cache a |
1459 # path for INSTALL within a source directory, because that will | 2364 # value for INSTALL within a source directory, because that will |
1460 # break other packages using the cache if that directory is | 2365 # break other packages using the cache if that directory is |
1461 # removed, or if the path is relative. | 2366 # removed, or if the value is a relative name. |
1462 INSTALL=$ac_install_sh | 2367 INSTALL=$ac_install_sh |
1463 fi | 2368 fi |
1464 fi | 2369 fi |
1465 echo "$as_me:$LINENO: result: $INSTALL" >&5 | 2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
1466 echo "${ECHO_T}$INSTALL" >&6 | 2371 $as_echo "$INSTALL" >&6; } |
1467 | 2372 |
1468 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2373 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1469 # It thinks the first close brace ends the variable substitution. | 2374 # It thinks the first close brace ends the variable substitution. |
1470 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 2375 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1471 | 2376 |
1472 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 2377 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1473 | 2378 |
1474 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 2379 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1475 | 2380 |
1476 echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
1477 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 2382 $as_echo_n "checking whether build environment is sane... " >&6; } |
1478 # Just in case | 2383 # Just in case |
1479 sleep 1 | 2384 sleep 1 |
1480 echo timestamp > conftestfile | 2385 echo timestamp > conftest.file |
2386 # Reject unsafe characters in $srcdir or the absolute working directory | |
2387 # name. Accept space and tab only in the latter. | |
2388 am_lf=' | |
2389 ' | |
2390 case `pwd` in | |
2391 *[\\\"\#\$\&\'\`$am_lf]*) | |
2392 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
2393 esac | |
2394 case $srcdir in | |
2395 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
2396 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
2397 esac | |
2398 | |
1481 # Do `set' in a subshell so we don't clobber the current shell's | 2399 # Do `set' in a subshell so we don't clobber the current shell's |
1482 # arguments. Must try -L first in case configure is actually a | 2400 # arguments. Must try -L first in case configure is actually a |
1483 # symlink; some systems play weird games with the mod time of symlinks | 2401 # symlink; some systems play weird games with the mod time of symlinks |
1484 # (eg FreeBSD returns the mod time of the symlink's containing | 2402 # (eg FreeBSD returns the mod time of the symlink's containing |
1485 # directory). | 2403 # directory). |
1486 if ( | 2404 if ( |
1487 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` | 2405 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
1488 if test "$*" = "X"; then | 2406 if test "$*" = "X"; then |
1489 # -L didn't work. | 2407 # -L didn't work. |
1490 set X `ls -t $srcdir/configure conftestfile` | 2408 set X `ls -t "$srcdir/configure" conftest.file` |
1491 fi | 2409 fi |
1492 if test "$*" != "X $srcdir/configure conftestfile" \ | 2410 rm -f conftest.file |
1493 && test "$*" != "X conftestfile $srcdir/configure"; then | 2411 if test "$*" != "X $srcdir/configure conftest.file" \ |
2412 && test "$*" != "X conftest.file $srcdir/configure"; then | |
1494 | 2413 |
1495 # If neither matched, then we have a broken ls. This can happen | 2414 # If neither matched, then we have a broken ls. This can happen |
1496 # if, for instance, CONFIG_SHELL is bash and it inherits a | 2415 # if, for instance, CONFIG_SHELL is bash and it inherits a |
1497 # broken ls alias from the environment. This has actually | 2416 # broken ls alias from the environment. This has actually |
1498 # happened. Such a system could not be considered "sane". | 2417 # happened. Such a system could not be considered "sane". |
1499 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | 2418 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
1500 alias in your environment" >&5 | 2419 alias in your environment" "$LINENO" 5 |
1501 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | |
1502 alias in your environment" >&2;} | |
1503 { (exit 1); exit 1; }; } | |
1504 fi | 2420 fi |
1505 | 2421 |
1506 test "$2" = conftestfile | 2422 test "$2" = conftest.file |
1507 ) | 2423 ) |
1508 then | 2424 then |
1509 # Ok. | 2425 # Ok. |
1510 : | 2426 : |
1511 else | 2427 else |
1512 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | 2428 as_fn_error $? "newly created file is older than distributed files! |
1513 Check your system clock" >&5 | 2429 Check your system clock" "$LINENO" 5 |
1514 echo "$as_me: error: newly created file is older than distributed files! | 2430 fi |
1515 Check your system clock" >&2;} | 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1516 { (exit 1); exit 1; }; } | 2432 $as_echo "yes" >&6; } |
1517 fi | |
1518 rm -f conftest* | |
1519 echo "$as_me:$LINENO: result: yes" >&5 | |
1520 echo "${ECHO_T}yes" >&6 | |
1521 test "$program_prefix" != NONE && | 2433 test "$program_prefix" != NONE && |
1522 program_transform_name="s,^,$program_prefix,;$program_transform_name" | 2434 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1523 # Use a double $ so make ignores it. | 2435 # Use a double $ so make ignores it. |
1524 test "$program_suffix" != NONE && | 2436 test "$program_suffix" != NONE && |
1525 program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 2437 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1526 # Double any \ or $. echo might interpret backslashes. | 2438 # Double any \ or $. |
1527 # By default was `s,x,x', remove it if useless. | 2439 # By default was `s,x,x', remove it if useless. |
1528 cat <<\_ACEOF >conftest.sed | 2440 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
1529 s/[\\$]/&&/g;s/;s,x,x,$// | 2441 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
1530 _ACEOF | 2442 |
1531 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 2443 # expand $ac_aux_dir to an absolute path |
1532 rm conftest.sed | 2444 am_aux_dir=`cd $ac_aux_dir && pwd` |
1533 | 2445 |
1534 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 2446 if test x"${MISSING+set}" != xset; then |
1535 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 2447 case $am_aux_dir in |
1536 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | 2448 *\ * | *\ *) |
1537 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 2449 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
1538 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2450 *) |
2451 MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2452 esac | |
2453 fi | |
2454 # Use eval to expand $SHELL | |
2455 if eval "$MISSING --run true"; then | |
2456 am_missing_run="$MISSING --run " | |
2457 else | |
2458 am_missing_run= | |
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | |
2460 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
2461 fi | |
2462 | |
2463 if test x"${install_sh}" != xset; then | |
2464 case $am_aux_dir in | |
2465 *\ * | *\ *) | |
2466 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
2467 *) | |
2468 install_sh="\${SHELL} $am_aux_dir/install-sh" | |
2469 esac | |
2470 fi | |
2471 | |
2472 # Installed binaries are usually stripped using `strip' when the user | |
2473 # run `make install-strip'. However `strip' might not be the right | |
2474 # tool to use in cross-compilation environments, therefore Automake | |
2475 # will honor the `STRIP' environment variable to overrule this program. | |
2476 if test "$cross_compiling" != no; then | |
2477 if test -n "$ac_tool_prefix"; then | |
2478 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2479 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2481 $as_echo_n "checking for $ac_word... " >&6; } | |
2482 if ${ac_cv_prog_STRIP+:} false; then : | |
2483 $as_echo_n "(cached) " >&6 | |
2484 else | |
2485 if test -n "$STRIP"; then | |
2486 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2487 else | |
2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2489 for as_dir in $PATH | |
2490 do | |
2491 IFS=$as_save_IFS | |
2492 test -z "$as_dir" && as_dir=. | |
2493 for ac_exec_ext in '' $ac_executable_extensions; do | |
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2495 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2497 break 2 | |
2498 fi | |
2499 done | |
2500 done | |
2501 IFS=$as_save_IFS | |
2502 | |
2503 fi | |
2504 fi | |
2505 STRIP=$ac_cv_prog_STRIP | |
2506 if test -n "$STRIP"; then | |
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
2508 $as_echo "$STRIP" >&6; } | |
2509 else | |
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2511 $as_echo "no" >&6; } | |
2512 fi | |
2513 | |
2514 | |
2515 fi | |
2516 if test -z "$ac_cv_prog_STRIP"; then | |
2517 ac_ct_STRIP=$STRIP | |
2518 # Extract the first word of "strip", so it can be a program name with args. | |
2519 set dummy strip; ac_word=$2 | |
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2521 $as_echo_n "checking for $ac_word... " >&6; } | |
2522 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
2523 $as_echo_n "(cached) " >&6 | |
2524 else | |
2525 if test -n "$ac_ct_STRIP"; then | |
2526 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2527 else | |
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2529 for as_dir in $PATH | |
2530 do | |
2531 IFS=$as_save_IFS | |
2532 test -z "$as_dir" && as_dir=. | |
2533 for ac_exec_ext in '' $ac_executable_extensions; do | |
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2535 ac_cv_prog_ac_ct_STRIP="strip" | |
2536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2537 break 2 | |
2538 fi | |
2539 done | |
2540 done | |
2541 IFS=$as_save_IFS | |
2542 | |
2543 fi | |
2544 fi | |
2545 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2546 if test -n "$ac_ct_STRIP"; then | |
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
2548 $as_echo "$ac_ct_STRIP" >&6; } | |
2549 else | |
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2551 $as_echo "no" >&6; } | |
2552 fi | |
2553 | |
2554 if test "x$ac_ct_STRIP" = x; then | |
2555 STRIP=":" | |
2556 else | |
2557 case $cross_compiling:$ac_tool_warned in | |
2558 yes:) | |
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2561 ac_tool_warned=yes ;; | |
2562 esac | |
2563 STRIP=$ac_ct_STRIP | |
2564 fi | |
2565 else | |
2566 STRIP="$ac_cv_prog_STRIP" | |
2567 fi | |
2568 | |
2569 fi | |
2570 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2571 | |
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | |
2573 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2574 if test -z "$MKDIR_P"; then | |
2575 if ${ac_cv_path_mkdir+:} false; then : | |
2576 $as_echo_n "(cached) " >&6 | |
2577 else | |
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2579 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
2580 do | |
2581 IFS=$as_save_IFS | |
2582 test -z "$as_dir" && as_dir=. | |
2583 for ac_prog in mkdir gmkdir; do | |
2584 for ac_exec_ext in '' $ac_executable_extensions; do | |
2585 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2586 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
2587 'mkdir (GNU coreutils) '* | \ | |
2588 'mkdir (coreutils) '* | \ | |
2589 'mkdir (fileutils) '4.1*) | |
2590 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
2591 break 3;; | |
2592 esac | |
2593 done | |
2594 done | |
2595 done | |
2596 IFS=$as_save_IFS | |
2597 | |
2598 fi | |
2599 | |
2600 test -d ./--version && rmdir ./--version | |
2601 if test "${ac_cv_path_mkdir+set}" = set; then | |
2602 MKDIR_P="$ac_cv_path_mkdir -p" | |
2603 else | |
2604 # As a last resort, use the slow shell script. Don't cache a | |
2605 # value for MKDIR_P within a source directory, because that will | |
2606 # break other packages using the cache if that directory is | |
2607 # removed, or if the value is a relative name. | |
2608 MKDIR_P="$ac_install_sh -d" | |
2609 fi | |
2610 fi | |
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
2612 $as_echo "$MKDIR_P" >&6; } | |
2613 | |
2614 mkdir_p="$MKDIR_P" | |
2615 case $mkdir_p in | |
2616 [\\/$]* | ?:[\\/]*) ;; | |
2617 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
2618 esac | |
2619 | |
2620 for ac_prog in gawk mawk nawk awk | |
2621 do | |
2622 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2623 set dummy $ac_prog; ac_word=$2 | |
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2625 $as_echo_n "checking for $ac_word... " >&6; } | |
2626 if ${ac_cv_prog_AWK+:} false; then : | |
2627 $as_echo_n "(cached) " >&6 | |
2628 else | |
2629 if test -n "$AWK"; then | |
2630 ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
2631 else | |
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2633 for as_dir in $PATH | |
2634 do | |
2635 IFS=$as_save_IFS | |
2636 test -z "$as_dir" && as_dir=. | |
2637 for ac_exec_ext in '' $ac_executable_extensions; do | |
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2639 ac_cv_prog_AWK="$ac_prog" | |
2640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2641 break 2 | |
2642 fi | |
2643 done | |
2644 done | |
2645 IFS=$as_save_IFS | |
2646 | |
2647 fi | |
2648 fi | |
2649 AWK=$ac_cv_prog_AWK | |
2650 if test -n "$AWK"; then | |
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
2652 $as_echo "$AWK" >&6; } | |
2653 else | |
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2655 $as_echo "no" >&6; } | |
2656 fi | |
2657 | |
2658 | |
2659 test -n "$AWK" && break | |
2660 done | |
2661 | |
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
2663 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
2664 set x ${MAKE-make} | |
2665 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
2666 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | |
2667 $as_echo_n "(cached) " >&6 | |
1539 else | 2668 else |
1540 cat >conftest.make <<\_ACEOF | 2669 cat >conftest.make <<\_ACEOF |
2670 SHELL = /bin/sh | |
1541 all: | 2671 all: |
1542 @echo 'ac_maketemp="$(MAKE)"' | 2672 @echo '@@@%%%=$(MAKE)=@@@%%%' |
1543 _ACEOF | 2673 _ACEOF |
1544 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 2674 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
1545 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 2675 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
1546 if test -n "$ac_maketemp"; then | 2676 *@@@%%%=?*=@@@%%%*) |
1547 eval ac_cv_prog_make_${ac_make}_set=yes | 2677 eval ac_cv_prog_make_${ac_make}_set=yes;; |
1548 else | 2678 *) |
1549 eval ac_cv_prog_make_${ac_make}_set=no | 2679 eval ac_cv_prog_make_${ac_make}_set=no;; |
1550 fi | 2680 esac |
1551 rm -f conftest.make | 2681 rm -f conftest.make |
1552 fi | 2682 fi |
1553 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 2683 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
1554 echo "$as_me:$LINENO: result: yes" >&5 | 2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1555 echo "${ECHO_T}yes" >&6 | 2685 $as_echo "yes" >&6; } |
1556 SET_MAKE= | 2686 SET_MAKE= |
1557 else | 2687 else |
1558 echo "$as_me:$LINENO: result: no" >&5 | 2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1559 echo "${ECHO_T}no" >&6 | 2689 $as_echo "no" >&6; } |
1560 SET_MAKE="MAKE=${MAKE-make}" | 2690 SET_MAKE="MAKE=${MAKE-make}" |
1561 fi | 2691 fi |
1562 | 2692 |
1563 | 2693 rm -rf .tst 2>/dev/null |
1564 PACKAGE="chrpath" | 2694 mkdir .tst 2>/dev/null |
1565 | 2695 if test -d .tst; then |
1566 VERSION="0.13" | 2696 am__leading_dot=. |
1567 | 2697 else |
1568 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 2698 am__leading_dot=_ |
1569 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | 2699 fi |
1570 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 2700 rmdir .tst 2>/dev/null |
1571 { (exit 1); exit 1; }; } | 2701 |
1572 fi | 2702 if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2703 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
2704 # is not polluted with repeated "-I." | |
2705 am__isrc=' -I$(srcdir)' | |
2706 # test to see if srcdir already configured | |
2707 if test -f $srcdir/config.status; then | |
2708 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
2709 fi | |
2710 fi | |
2711 | |
2712 # test whether we have cygpath | |
2713 if test -z "$CYGPATH_W"; then | |
2714 if (cygpath --version) >/dev/null 2>/dev/null; then | |
2715 CYGPATH_W='cygpath -w' | |
2716 else | |
2717 CYGPATH_W=echo | |
2718 fi | |
2719 fi | |
2720 | |
2721 | |
2722 # Define the identity of the package. | |
2723 PACKAGE="chrpath" | |
2724 VERSION="0.13" | |
2725 | |
1573 | 2726 |
1574 cat >>confdefs.h <<_ACEOF | 2727 cat >>confdefs.h <<_ACEOF |
1575 #define PACKAGE "$PACKAGE" | 2728 #define PACKAGE "$PACKAGE" |
1576 _ACEOF | 2729 _ACEOF |
1577 | 2730 |
1578 | 2731 |
1579 cat >>confdefs.h <<_ACEOF | 2732 cat >>confdefs.h <<_ACEOF |
1580 #define VERSION "$VERSION" | 2733 #define VERSION "$VERSION" |
1581 _ACEOF | 2734 _ACEOF |
1582 | 2735 |
1583 | 2736 # Some tools Automake needs. |
1584 | 2737 |
1585 missing_dir=`cd $ac_aux_dir && pwd` | 2738 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
1586 echo "$as_me:$LINENO: checking for working aclocal" >&5 | 2739 |
1587 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6 | 2740 |
1588 # Run test in a subshell; some versions of sh will print an error if | 2741 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
1589 # an executable is not found, even if stderr is redirected. | 2742 |
1590 # Redirect stdin to placate older versions of autoconf. Sigh. | 2743 |
1591 if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 2744 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
1592 ACLOCAL=aclocal | 2745 |
1593 echo "$as_me:$LINENO: result: found" >&5 | 2746 |
1594 echo "${ECHO_T}found" >&6 | 2747 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
1595 else | 2748 |
1596 ACLOCAL="$missing_dir/missing aclocal" | 2749 |
1597 echo "$as_me:$LINENO: result: missing" >&5 | 2750 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
1598 echo "${ECHO_T}missing" >&6 | 2751 |
1599 fi | 2752 # We need awk for the "check" target. The system "awk" is bad on |
1600 | 2753 # some platforms. |
1601 echo "$as_me:$LINENO: checking for working autoconf" >&5 | 2754 # Always define AMTAR for backward compatibility. |
1602 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 | 2755 |
1603 # Run test in a subshell; some versions of sh will print an error if | 2756 AMTAR=${AMTAR-"${am_missing_run}tar"} |
1604 # an executable is not found, even if stderr is redirected. | 2757 |
1605 # Redirect stdin to placate older versions of autoconf. Sigh. | 2758 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
1606 if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 2759 |
1607 AUTOCONF=autoconf | 2760 |
1608 echo "$as_me:$LINENO: result: found" >&5 | 2761 |
1609 echo "${ECHO_T}found" >&6 | 2762 |
1610 else | 2763 |
1611 AUTOCONF="$missing_dir/missing autoconf" | 2764 |
1612 echo "$as_me:$LINENO: result: missing" >&5 | 2765 |
1613 echo "${ECHO_T}missing" >&6 | 2766 ac_config_headers="$ac_config_headers config.h" |
1614 fi | 2767 |
1615 | 2768 |
1616 echo "$as_me:$LINENO: checking for working automake" >&5 | 2769 |
1617 echo $ECHO_N "checking for working automake... $ECHO_C" >&6 | 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
1618 # Run test in a subshell; some versions of sh will print an error if | 2771 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
1619 # an executable is not found, even if stderr is redirected. | 2772 # Check whether --enable-maintainer-mode was given. |
1620 # Redirect stdin to placate older versions of autoconf. Sigh. | 2773 if test "${enable_maintainer_mode+set}" = set; then : |
1621 if (automake --version) < /dev/null > /dev/null 2>&1; then | 2774 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
1622 AUTOMAKE=automake | |
1623 echo "$as_me:$LINENO: result: found" >&5 | |
1624 echo "${ECHO_T}found" >&6 | |
1625 else | |
1626 AUTOMAKE="$missing_dir/missing automake" | |
1627 echo "$as_me:$LINENO: result: missing" >&5 | |
1628 echo "${ECHO_T}missing" >&6 | |
1629 fi | |
1630 | |
1631 echo "$as_me:$LINENO: checking for working autoheader" >&5 | |
1632 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 | |
1633 # Run test in a subshell; some versions of sh will print an error if | |
1634 # an executable is not found, even if stderr is redirected. | |
1635 # Redirect stdin to placate older versions of autoconf. Sigh. | |
1636 if (autoheader --version) < /dev/null > /dev/null 2>&1; then | |
1637 AUTOHEADER=autoheader | |
1638 echo "$as_me:$LINENO: result: found" >&5 | |
1639 echo "${ECHO_T}found" >&6 | |
1640 else | |
1641 AUTOHEADER="$missing_dir/missing autoheader" | |
1642 echo "$as_me:$LINENO: result: missing" >&5 | |
1643 echo "${ECHO_T}missing" >&6 | |
1644 fi | |
1645 | |
1646 echo "$as_me:$LINENO: checking for working makeinfo" >&5 | |
1647 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 | |
1648 # Run test in a subshell; some versions of sh will print an error if | |
1649 # an executable is not found, even if stderr is redirected. | |
1650 # Redirect stdin to placate older versions of autoconf. Sigh. | |
1651 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | |
1652 MAKEINFO=makeinfo | |
1653 echo "$as_me:$LINENO: result: found" >&5 | |
1654 echo "${ECHO_T}found" >&6 | |
1655 else | |
1656 MAKEINFO="$missing_dir/missing makeinfo" | |
1657 echo "$as_me:$LINENO: result: missing" >&5 | |
1658 echo "${ECHO_T}missing" >&6 | |
1659 fi | |
1660 | |
1661 | |
1662 | |
1663 | |
1664 | |
1665 ac_config_headers="$ac_config_headers config.h" | |
1666 | |
1667 ac_config_commands="$ac_config_commands default-1" | |
1668 | |
1669 | |
1670 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 | |
1671 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 | |
1672 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | |
1673 if test "${enable_maintainer_mode+set}" = set; then | |
1674 enableval="$enable_maintainer_mode" | |
1675 USE_MAINTAINER_MODE=$enableval | |
1676 else | 2775 else |
1677 USE_MAINTAINER_MODE=no | 2776 USE_MAINTAINER_MODE=no |
1678 fi; | 2777 fi |
1679 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 | 2778 |
1680 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 | 2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
1681 | 2780 $as_echo "$USE_MAINTAINER_MODE" >&6; } |
1682 | 2781 if test $USE_MAINTAINER_MODE = yes; then |
1683 if test $USE_MAINTAINER_MODE = yes; then | |
1684 MAINTAINER_MODE_TRUE= | 2782 MAINTAINER_MODE_TRUE= |
1685 MAINTAINER_MODE_FALSE='#' | 2783 MAINTAINER_MODE_FALSE='#' |
1686 else | 2784 else |
1687 MAINTAINER_MODE_TRUE='#' | 2785 MAINTAINER_MODE_TRUE='#' |
1688 MAINTAINER_MODE_FALSE= | 2786 MAINTAINER_MODE_FALSE= |
1689 fi | 2787 fi |
2788 | |
1690 MAINT=$MAINTAINER_MODE_TRUE | 2789 MAINT=$MAINTAINER_MODE_TRUE |
1691 | 2790 |
1692 | 2791 |
1693 | 2792 |
1694 case "$target" in | 2793 case "$target" in |
1719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1720 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2819 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1721 if test -n "$ac_tool_prefix"; then | 2820 if test -n "$ac_tool_prefix"; then |
1722 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2821 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1723 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2822 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2824 $as_echo_n "checking for $ac_word... " >&6; } |
1726 if test "${ac_cv_prog_CC+set}" = set; then | 2825 if ${ac_cv_prog_CC+:} false; then : |
1727 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2826 $as_echo_n "(cached) " >&6 |
1728 else | 2827 else |
1729 if test -n "$CC"; then | 2828 if test -n "$CC"; then |
1730 ac_cv_prog_CC="$CC" # Let the user override the test. | 2829 ac_cv_prog_CC="$CC" # Let the user override the test. |
1731 else | 2830 else |
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1733 for as_dir in $PATH | 2832 for as_dir in $PATH |
1734 do | 2833 do |
1735 IFS=$as_save_IFS | 2834 IFS=$as_save_IFS |
1736 test -z "$as_dir" && as_dir=. | 2835 test -z "$as_dir" && as_dir=. |
1737 for ac_exec_ext in '' $ac_executable_extensions; do | 2836 for ac_exec_ext in '' $ac_executable_extensions; do |
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1739 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2838 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1741 break 2 | 2840 break 2 |
1742 fi | 2841 fi |
1743 done | 2842 done |
1744 done | 2843 done |
2844 IFS=$as_save_IFS | |
1745 | 2845 |
1746 fi | 2846 fi |
1747 fi | 2847 fi |
1748 CC=$ac_cv_prog_CC | 2848 CC=$ac_cv_prog_CC |
1749 if test -n "$CC"; then | 2849 if test -n "$CC"; then |
1750 echo "$as_me:$LINENO: result: $CC" >&5 | 2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1751 echo "${ECHO_T}$CC" >&6 | 2851 $as_echo "$CC" >&6; } |
1752 else | 2852 else |
1753 echo "$as_me:$LINENO: result: no" >&5 | 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1754 echo "${ECHO_T}no" >&6 | 2854 $as_echo "no" >&6; } |
1755 fi | 2855 fi |
2856 | |
1756 | 2857 |
1757 fi | 2858 fi |
1758 if test -z "$ac_cv_prog_CC"; then | 2859 if test -z "$ac_cv_prog_CC"; then |
1759 ac_ct_CC=$CC | 2860 ac_ct_CC=$CC |
1760 # Extract the first word of "gcc", so it can be a program name with args. | 2861 # Extract the first word of "gcc", so it can be a program name with args. |
1761 set dummy gcc; ac_word=$2 | 2862 set dummy gcc; ac_word=$2 |
1762 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2864 $as_echo_n "checking for $ac_word... " >&6; } |
1764 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2865 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1765 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2866 $as_echo_n "(cached) " >&6 |
1766 else | 2867 else |
1767 if test -n "$ac_ct_CC"; then | 2868 if test -n "$ac_ct_CC"; then |
1768 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2869 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1769 else | 2870 else |
1770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1771 for as_dir in $PATH | 2872 for as_dir in $PATH |
1772 do | 2873 do |
1773 IFS=$as_save_IFS | 2874 IFS=$as_save_IFS |
1774 test -z "$as_dir" && as_dir=. | 2875 test -z "$as_dir" && as_dir=. |
1775 for ac_exec_ext in '' $ac_executable_extensions; do | 2876 for ac_exec_ext in '' $ac_executable_extensions; do |
1776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1777 ac_cv_prog_ac_ct_CC="gcc" | 2878 ac_cv_prog_ac_ct_CC="gcc" |
1778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1779 break 2 | 2880 break 2 |
1780 fi | 2881 fi |
1781 done | 2882 done |
1782 done | 2883 done |
2884 IFS=$as_save_IFS | |
1783 | 2885 |
1784 fi | 2886 fi |
1785 fi | 2887 fi |
1786 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2888 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1787 if test -n "$ac_ct_CC"; then | 2889 if test -n "$ac_ct_CC"; then |
1788 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1789 echo "${ECHO_T}$ac_ct_CC" >&6 | 2891 $as_echo "$ac_ct_CC" >&6; } |
1790 else | 2892 else |
1791 echo "$as_me:$LINENO: result: no" >&5 | 2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1792 echo "${ECHO_T}no" >&6 | 2894 $as_echo "no" >&6; } |
1793 fi | 2895 fi |
1794 | 2896 |
1795 CC=$ac_ct_CC | 2897 if test "x$ac_ct_CC" = x; then |
2898 CC="" | |
2899 else | |
2900 case $cross_compiling:$ac_tool_warned in | |
2901 yes:) | |
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2904 ac_tool_warned=yes ;; | |
2905 esac | |
2906 CC=$ac_ct_CC | |
2907 fi | |
1796 else | 2908 else |
1797 CC="$ac_cv_prog_CC" | 2909 CC="$ac_cv_prog_CC" |
1798 fi | 2910 fi |
1799 | 2911 |
1800 if test -z "$CC"; then | 2912 if test -z "$CC"; then |
1801 if test -n "$ac_tool_prefix"; then | 2913 if test -n "$ac_tool_prefix"; then |
1802 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2914 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1803 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2915 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1804 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2917 $as_echo_n "checking for $ac_word... " >&6; } |
1806 if test "${ac_cv_prog_CC+set}" = set; then | 2918 if ${ac_cv_prog_CC+:} false; then : |
1807 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2919 $as_echo_n "(cached) " >&6 |
1808 else | 2920 else |
1809 if test -n "$CC"; then | 2921 if test -n "$CC"; then |
1810 ac_cv_prog_CC="$CC" # Let the user override the test. | 2922 ac_cv_prog_CC="$CC" # Let the user override the test. |
1811 else | 2923 else |
1812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1813 for as_dir in $PATH | 2925 for as_dir in $PATH |
1814 do | 2926 do |
1815 IFS=$as_save_IFS | 2927 IFS=$as_save_IFS |
1816 test -z "$as_dir" && as_dir=. | 2928 test -z "$as_dir" && as_dir=. |
1817 for ac_exec_ext in '' $ac_executable_extensions; do | 2929 for ac_exec_ext in '' $ac_executable_extensions; do |
1818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1819 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2931 ac_cv_prog_CC="${ac_tool_prefix}cc" |
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1821 break 2 | 2933 break 2 |
1822 fi | 2934 fi |
1823 done | 2935 done |
1824 done | 2936 done |
2937 IFS=$as_save_IFS | |
1825 | 2938 |
1826 fi | 2939 fi |
1827 fi | 2940 fi |
1828 CC=$ac_cv_prog_CC | 2941 CC=$ac_cv_prog_CC |
1829 if test -n "$CC"; then | 2942 if test -n "$CC"; then |
1830 echo "$as_me:$LINENO: result: $CC" >&5 | 2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1831 echo "${ECHO_T}$CC" >&6 | 2944 $as_echo "$CC" >&6; } |
1832 else | 2945 else |
1833 echo "$as_me:$LINENO: result: no" >&5 | 2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1834 echo "${ECHO_T}no" >&6 | 2947 $as_echo "no" >&6; } |
1835 fi | 2948 fi |
1836 | 2949 |
1837 fi | 2950 |
1838 if test -z "$ac_cv_prog_CC"; then | |
1839 ac_ct_CC=$CC | |
1840 # Extract the first word of "cc", so it can be a program name with args. | |
1841 set dummy cc; ac_word=$2 | |
1842 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1844 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1845 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1846 else | |
1847 if test -n "$ac_ct_CC"; then | |
1848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1849 else | |
1850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1851 for as_dir in $PATH | |
1852 do | |
1853 IFS=$as_save_IFS | |
1854 test -z "$as_dir" && as_dir=. | |
1855 for ac_exec_ext in '' $ac_executable_extensions; do | |
1856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1857 ac_cv_prog_ac_ct_CC="cc" | |
1858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1859 break 2 | |
1860 fi | 2951 fi |
1861 done | |
1862 done | |
1863 | |
1864 fi | |
1865 fi | |
1866 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1867 if test -n "$ac_ct_CC"; then | |
1868 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1869 echo "${ECHO_T}$ac_ct_CC" >&6 | |
1870 else | |
1871 echo "$as_me:$LINENO: result: no" >&5 | |
1872 echo "${ECHO_T}no" >&6 | |
1873 fi | |
1874 | |
1875 CC=$ac_ct_CC | |
1876 else | |
1877 CC="$ac_cv_prog_CC" | |
1878 fi | |
1879 | |
1880 fi | 2952 fi |
1881 if test -z "$CC"; then | 2953 if test -z "$CC"; then |
1882 # Extract the first word of "cc", so it can be a program name with args. | 2954 # Extract the first word of "cc", so it can be a program name with args. |
1883 set dummy cc; ac_word=$2 | 2955 set dummy cc; ac_word=$2 |
1884 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2957 $as_echo_n "checking for $ac_word... " >&6; } |
1886 if test "${ac_cv_prog_CC+set}" = set; then | 2958 if ${ac_cv_prog_CC+:} false; then : |
1887 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2959 $as_echo_n "(cached) " >&6 |
1888 else | 2960 else |
1889 if test -n "$CC"; then | 2961 if test -n "$CC"; then |
1890 ac_cv_prog_CC="$CC" # Let the user override the test. | 2962 ac_cv_prog_CC="$CC" # Let the user override the test. |
1891 else | 2963 else |
1892 ac_prog_rejected=no | 2964 ac_prog_rejected=no |
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1894 for as_dir in $PATH | 2966 for as_dir in $PATH |
1895 do | 2967 do |
1896 IFS=$as_save_IFS | 2968 IFS=$as_save_IFS |
1897 test -z "$as_dir" && as_dir=. | 2969 test -z "$as_dir" && as_dir=. |
1898 for ac_exec_ext in '' $ac_executable_extensions; do | 2970 for ac_exec_ext in '' $ac_executable_extensions; do |
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1900 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2972 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1901 ac_prog_rejected=yes | 2973 ac_prog_rejected=yes |
1902 continue | 2974 continue |
1903 fi | 2975 fi |
1904 ac_cv_prog_CC="cc" | 2976 ac_cv_prog_CC="cc" |
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1906 break 2 | 2978 break 2 |
1907 fi | 2979 fi |
1908 done | 2980 done |
1909 done | 2981 done |
2982 IFS=$as_save_IFS | |
1910 | 2983 |
1911 if test $ac_prog_rejected = yes; then | 2984 if test $ac_prog_rejected = yes; then |
1912 # We found a bogon in the path, so make sure we never use it. | 2985 # We found a bogon in the path, so make sure we never use it. |
1913 set dummy $ac_cv_prog_CC | 2986 set dummy $ac_cv_prog_CC |
1914 shift | 2987 shift |
1922 fi | 2995 fi |
1923 fi | 2996 fi |
1924 fi | 2997 fi |
1925 CC=$ac_cv_prog_CC | 2998 CC=$ac_cv_prog_CC |
1926 if test -n "$CC"; then | 2999 if test -n "$CC"; then |
1927 echo "$as_me:$LINENO: result: $CC" >&5 | 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1928 echo "${ECHO_T}$CC" >&6 | 3001 $as_echo "$CC" >&6; } |
1929 else | 3002 else |
1930 echo "$as_me:$LINENO: result: no" >&5 | 3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1931 echo "${ECHO_T}no" >&6 | 3004 $as_echo "no" >&6; } |
1932 fi | 3005 fi |
3006 | |
1933 | 3007 |
1934 fi | 3008 fi |
1935 if test -z "$CC"; then | 3009 if test -z "$CC"; then |
1936 if test -n "$ac_tool_prefix"; then | 3010 if test -n "$ac_tool_prefix"; then |
1937 for ac_prog in cl | 3011 for ac_prog in cl.exe |
1938 do | 3012 do |
1939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1940 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3014 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1941 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3016 $as_echo_n "checking for $ac_word... " >&6; } |
1943 if test "${ac_cv_prog_CC+set}" = set; then | 3017 if ${ac_cv_prog_CC+:} false; then : |
1944 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3018 $as_echo_n "(cached) " >&6 |
1945 else | 3019 else |
1946 if test -n "$CC"; then | 3020 if test -n "$CC"; then |
1947 ac_cv_prog_CC="$CC" # Let the user override the test. | 3021 ac_cv_prog_CC="$CC" # Let the user override the test. |
1948 else | 3022 else |
1949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1950 for as_dir in $PATH | 3024 for as_dir in $PATH |
1951 do | 3025 do |
1952 IFS=$as_save_IFS | 3026 IFS=$as_save_IFS |
1953 test -z "$as_dir" && as_dir=. | 3027 test -z "$as_dir" && as_dir=. |
1954 for ac_exec_ext in '' $ac_executable_extensions; do | 3028 for ac_exec_ext in '' $ac_executable_extensions; do |
1955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1956 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3030 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1958 break 2 | 3032 break 2 |
1959 fi | 3033 fi |
1960 done | 3034 done |
1961 done | 3035 done |
3036 IFS=$as_save_IFS | |
1962 | 3037 |
1963 fi | 3038 fi |
1964 fi | 3039 fi |
1965 CC=$ac_cv_prog_CC | 3040 CC=$ac_cv_prog_CC |
1966 if test -n "$CC"; then | 3041 if test -n "$CC"; then |
1967 echo "$as_me:$LINENO: result: $CC" >&5 | 3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1968 echo "${ECHO_T}$CC" >&6 | 3043 $as_echo "$CC" >&6; } |
1969 else | 3044 else |
1970 echo "$as_me:$LINENO: result: no" >&5 | 3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1971 echo "${ECHO_T}no" >&6 | 3046 $as_echo "no" >&6; } |
1972 fi | 3047 fi |
3048 | |
1973 | 3049 |
1974 test -n "$CC" && break | 3050 test -n "$CC" && break |
1975 done | 3051 done |
1976 fi | 3052 fi |
1977 if test -z "$CC"; then | 3053 if test -z "$CC"; then |
1978 ac_ct_CC=$CC | 3054 ac_ct_CC=$CC |
1979 for ac_prog in cl | 3055 for ac_prog in cl.exe |
1980 do | 3056 do |
1981 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3057 # Extract the first word of "$ac_prog", so it can be a program name with args. |
1982 set dummy $ac_prog; ac_word=$2 | 3058 set dummy $ac_prog; ac_word=$2 |
1983 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3060 $as_echo_n "checking for $ac_word... " >&6; } |
1985 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3061 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1986 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3062 $as_echo_n "(cached) " >&6 |
1987 else | 3063 else |
1988 if test -n "$ac_ct_CC"; then | 3064 if test -n "$ac_ct_CC"; then |
1989 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3065 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1990 else | 3066 else |
1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1992 for as_dir in $PATH | 3068 for as_dir in $PATH |
1993 do | 3069 do |
1994 IFS=$as_save_IFS | 3070 IFS=$as_save_IFS |
1995 test -z "$as_dir" && as_dir=. | 3071 test -z "$as_dir" && as_dir=. |
1996 for ac_exec_ext in '' $ac_executable_extensions; do | 3072 for ac_exec_ext in '' $ac_executable_extensions; do |
1997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1998 ac_cv_prog_ac_ct_CC="$ac_prog" | 3074 ac_cv_prog_ac_ct_CC="$ac_prog" |
1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2000 break 2 | 3076 break 2 |
2001 fi | 3077 fi |
2002 done | 3078 done |
2003 done | 3079 done |
3080 IFS=$as_save_IFS | |
2004 | 3081 |
2005 fi | 3082 fi |
2006 fi | 3083 fi |
2007 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3084 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2008 if test -n "$ac_ct_CC"; then | 3085 if test -n "$ac_ct_CC"; then |
2009 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2010 echo "${ECHO_T}$ac_ct_CC" >&6 | 3087 $as_echo "$ac_ct_CC" >&6; } |
2011 else | 3088 else |
2012 echo "$as_me:$LINENO: result: no" >&5 | 3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2013 echo "${ECHO_T}no" >&6 | 3090 $as_echo "no" >&6; } |
2014 fi | 3091 fi |
3092 | |
2015 | 3093 |
2016 test -n "$ac_ct_CC" && break | 3094 test -n "$ac_ct_CC" && break |
2017 done | 3095 done |
2018 | 3096 |
2019 CC=$ac_ct_CC | 3097 if test "x$ac_ct_CC" = x; then |
2020 fi | 3098 CC="" |
2021 | 3099 else |
2022 fi | 3100 case $cross_compiling:$ac_tool_warned in |
2023 | 3101 yes:) |
2024 | 3102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2025 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 3103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2026 See \`config.log' for more details." >&5 | 3104 ac_tool_warned=yes ;; |
2027 echo "$as_me: error: no acceptable C compiler found in \$PATH | 3105 esac |
2028 See \`config.log' for more details." >&2;} | 3106 CC=$ac_ct_CC |
2029 { (exit 1); exit 1; }; } | 3107 fi |
3108 fi | |
3109 | |
3110 fi | |
3111 | |
3112 | |
3113 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3115 as_fn_error $? "no acceptable C compiler found in \$PATH | |
3116 See \`config.log' for more details" "$LINENO" 5; } | |
2030 | 3117 |
2031 # Provide some information about the compiler. | 3118 # Provide some information about the compiler. |
2032 echo "$as_me:$LINENO:" \ | 3119 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2033 "checking for C compiler version" >&5 | 3120 set X $ac_compile |
2034 ac_compiler=`set X $ac_compile; echo $2` | 3121 ac_compiler=$2 |
2035 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 3122 for ac_option in --version -v -V -qversion; do |
2036 (eval $ac_compiler --version </dev/null >&5) 2>&5 | 3123 { { ac_try="$ac_compiler $ac_option >&5" |
3124 case "(($ac_try" in | |
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3126 *) ac_try_echo=$ac_try;; | |
3127 esac | |
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3129 $as_echo "$ac_try_echo"; } >&5 | |
3130 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2037 ac_status=$? | 3131 ac_status=$? |
2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3132 if test -s conftest.err; then |
2039 (exit $ac_status); } | 3133 sed '10a\ |
2040 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 3134 ... rest of stderr output deleted ... |
2041 (eval $ac_compiler -v </dev/null >&5) 2>&5 | 3135 10q' conftest.err >conftest.er1 |
2042 ac_status=$? | 3136 cat conftest.er1 >&5 |
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3137 fi |
2044 (exit $ac_status); } | 3138 rm -f conftest.er1 conftest.err |
2045 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 3139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2046 (eval $ac_compiler -V </dev/null >&5) 2>&5 | 3140 test $ac_status = 0; } |
2047 ac_status=$? | 3141 done |
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3142 |
2049 (exit $ac_status); } | 3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2050 | |
2051 cat >conftest.$ac_ext <<_ACEOF | |
2052 #line $LINENO "configure" | |
2053 /* confdefs.h. */ | |
2054 _ACEOF | |
2055 cat confdefs.h >>conftest.$ac_ext | |
2056 cat >>conftest.$ac_ext <<_ACEOF | |
2057 /* end confdefs.h. */ | 3144 /* end confdefs.h. */ |
2058 | 3145 |
2059 int | 3146 int |
2060 main () | 3147 main () |
2061 { | 3148 { |
2063 ; | 3150 ; |
2064 return 0; | 3151 return 0; |
2065 } | 3152 } |
2066 _ACEOF | 3153 _ACEOF |
2067 ac_clean_files_save=$ac_clean_files | 3154 ac_clean_files_save=$ac_clean_files |
2068 ac_clean_files="$ac_clean_files a.out a.exe b.out" | 3155 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
2069 # Try to create an executable without -o first, disregard a.out. | 3156 # Try to create an executable without -o first, disregard a.out. |
2070 # It will help us diagnose broken compilers, and finding out an intuition | 3157 # It will help us diagnose broken compilers, and finding out an intuition |
2071 # of exeext. | 3158 # of exeext. |
2072 echo "$as_me:$LINENO: checking for C compiler default output" >&5 | 3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
2073 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 3160 $as_echo_n "checking whether the C compiler works... " >&6; } |
2074 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3161 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2075 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 3162 |
2076 (eval $ac_link_default) 2>&5 | 3163 # The possible output files: |
3164 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
3165 | |
3166 ac_rmfiles= | |
3167 for ac_file in $ac_files | |
3168 do | |
3169 case $ac_file in | |
3170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
3171 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
3172 esac | |
3173 done | |
3174 rm -f $ac_rmfiles | |
3175 | |
3176 if { { ac_try="$ac_link_default" | |
3177 case "(($ac_try" in | |
3178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3179 *) ac_try_echo=$ac_try;; | |
3180 esac | |
3181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3182 $as_echo "$ac_try_echo"; } >&5 | |
3183 (eval "$ac_link_default") 2>&5 | |
2077 ac_status=$? | 3184 ac_status=$? |
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2079 (exit $ac_status); }; then | 3186 test $ac_status = 0; }; then : |
2080 # Find the output, starting from the most likely. This scheme is | 3187 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2081 # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 3188 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2082 # resort. | 3189 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2083 | 3190 # so that the user can short-circuit this test for compilers unknown to |
2084 # Be careful to initialize this variable, since it used to be cached. | 3191 # Autoconf. |
2085 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 3192 for ac_file in $ac_files '' |
2086 ac_cv_exeext= | |
2087 # b.out is created by i960 compilers. | |
2088 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | |
2089 do | 3193 do |
2090 test -f "$ac_file" || continue | 3194 test -f "$ac_file" || continue |
2091 case $ac_file in | 3195 case $ac_file in |
2092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 3196 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2093 ;; | 3197 ;; |
2094 conftest.$ac_ext ) | |
2095 # This is the source file. | |
2096 ;; | |
2097 [ab].out ) | 3198 [ab].out ) |
2098 # We found the default executable, but exeext='' is most | 3199 # We found the default executable, but exeext='' is most |
2099 # certainly right. | 3200 # certainly right. |
2100 break;; | 3201 break;; |
2101 *.* ) | 3202 *.* ) |
2102 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3203 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2103 # FIXME: I believe we export ac_cv_exeext for Libtool, | 3204 then :; else |
2104 # but it would be cool to find out if it's true. Does anybody | 3205 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2105 # maintain Libtool? --akim. | 3206 fi |
2106 export ac_cv_exeext | 3207 # We set ac_cv_exeext here because the later test for it is not |
2107 break;; | 3208 # safe: cross compilers may not add the suffix if given an `-o' |
3209 # argument, so we may need to know it at that point already. | |
3210 # Even if this section looks crufty: it has the advantage of | |
3211 # actually working. | |
3212 break;; | |
2108 * ) | 3213 * ) |
2109 break;; | 3214 break;; |
2110 esac | 3215 esac |
2111 done | 3216 done |
2112 else | 3217 test "$ac_cv_exeext" = no && ac_cv_exeext= |
2113 echo "$as_me: failed program was:" >&5 | 3218 |
3219 else | |
3220 ac_file='' | |
3221 fi | |
3222 if test -z "$ac_file"; then : | |
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3224 $as_echo "no" >&6; } | |
3225 $as_echo "$as_me: failed program was:" >&5 | |
2114 sed 's/^/| /' conftest.$ac_ext >&5 | 3226 sed 's/^/| /' conftest.$ac_ext >&5 |
2115 | 3227 |
2116 { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 3228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2117 See \`config.log' for more details." >&5 | 3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2118 echo "$as_me: error: C compiler cannot create executables | 3230 as_fn_error 77 "C compiler cannot create executables |
2119 See \`config.log' for more details." >&2;} | 3231 See \`config.log' for more details" "$LINENO" 5; } |
2120 { (exit 77); exit 77; }; } | 3232 else |
2121 fi | 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2122 | 3234 $as_echo "yes" >&6; } |
3235 fi | |
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3237 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3239 $as_echo "$ac_file" >&6; } | |
2123 ac_exeext=$ac_cv_exeext | 3240 ac_exeext=$ac_cv_exeext |
2124 echo "$as_me:$LINENO: result: $ac_file" >&5 | 3241 |
2125 echo "${ECHO_T}$ac_file" >&6 | 3242 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2126 | 3243 ac_clean_files=$ac_clean_files_save |
2127 # Check the compiler produces executables we can run. If not, either | 3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2128 # the compiler is broken, or we cross compile. | 3245 $as_echo_n "checking for suffix of executables... " >&6; } |
2129 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 3246 if { { ac_try="$ac_link" |
2130 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 3247 case "(($ac_try" in |
2131 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2132 # If not cross compiling, check that we can run a simple program. | 3249 *) ac_try_echo=$ac_try;; |
2133 if test "$cross_compiling" != yes; then | 3250 esac |
2134 if { ac_try='./$ac_file' | 3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3252 $as_echo "$ac_try_echo"; } >&5 |
2136 (eval $ac_try) 2>&5 | 3253 (eval "$ac_link") 2>&5 |
2137 ac_status=$? | 3254 ac_status=$? |
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2139 (exit $ac_status); }; }; then | 3256 test $ac_status = 0; }; then : |
2140 cross_compiling=no | |
2141 else | |
2142 if test "$cross_compiling" = maybe; then | |
2143 cross_compiling=yes | |
2144 else | |
2145 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
2146 If you meant to cross compile, use \`--host'. | |
2147 See \`config.log' for more details." >&5 | |
2148 echo "$as_me: error: cannot run C compiled programs. | |
2149 If you meant to cross compile, use \`--host'. | |
2150 See \`config.log' for more details." >&2;} | |
2151 { (exit 1); exit 1; }; } | |
2152 fi | |
2153 fi | |
2154 fi | |
2155 echo "$as_me:$LINENO: result: yes" >&5 | |
2156 echo "${ECHO_T}yes" >&6 | |
2157 | |
2158 rm -f a.out a.exe conftest$ac_cv_exeext b.out | |
2159 ac_clean_files=$ac_clean_files_save | |
2160 # Check the compiler produces executables we can run. If not, either | |
2161 # the compiler is broken, or we cross compile. | |
2162 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | |
2163 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | |
2164 echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
2165 echo "${ECHO_T}$cross_compiling" >&6 | |
2166 | |
2167 echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
2168 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | |
2169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
2170 (eval $ac_link) 2>&5 | |
2171 ac_status=$? | |
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2173 (exit $ac_status); }; then | |
2174 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3257 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2175 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3258 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2176 # work properly (i.e., refer to `conftest.exe'), while it won't with | 3259 # work properly (i.e., refer to `conftest.exe'), while it won't with |
2177 # `rm'. | 3260 # `rm'. |
2178 for ac_file in conftest.exe conftest conftest.*; do | 3261 for ac_file in conftest.exe conftest conftest.*; do |
2179 test -f "$ac_file" || continue | 3262 test -f "$ac_file" || continue |
2180 case $ac_file in | 3263 case $ac_file in |
2181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 3264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2182 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3265 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2183 export ac_cv_exeext | 3266 break;; |
2184 break;; | |
2185 * ) break;; | 3267 * ) break;; |
2186 esac | 3268 esac |
2187 done | 3269 done |
2188 else | 3270 else |
2189 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 3271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2190 See \`config.log' for more details." >&5 | 3272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2191 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 3273 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2192 See \`config.log' for more details." >&2;} | 3274 See \`config.log' for more details" "$LINENO" 5; } |
2193 { (exit 1); exit 1; }; } | 3275 fi |
2194 fi | 3276 rm -f conftest conftest$ac_cv_exeext |
2195 | 3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2196 rm -f conftest$ac_cv_exeext | 3278 $as_echo "$ac_cv_exeext" >&6; } |
2197 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
2198 echo "${ECHO_T}$ac_cv_exeext" >&6 | |
2199 | 3279 |
2200 rm -f conftest.$ac_ext | 3280 rm -f conftest.$ac_ext |
2201 EXEEXT=$ac_cv_exeext | 3281 EXEEXT=$ac_cv_exeext |
2202 ac_exeext=$EXEEXT | 3282 ac_exeext=$EXEEXT |
2203 echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2204 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | |
2205 if test "${ac_cv_objext+set}" = set; then | |
2206 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2207 else | |
2208 cat >conftest.$ac_ext <<_ACEOF | |
2209 #line $LINENO "configure" | |
2210 /* confdefs.h. */ | |
2211 _ACEOF | |
2212 cat confdefs.h >>conftest.$ac_ext | |
2213 cat >>conftest.$ac_ext <<_ACEOF | |
2214 /* end confdefs.h. */ | 3284 /* end confdefs.h. */ |
2215 | 3285 #include <stdio.h> |
2216 int | 3286 int |
2217 main () | 3287 main () |
2218 { | 3288 { |
3289 FILE *f = fopen ("conftest.out", "w"); | |
3290 return ferror (f) || fclose (f) != 0; | |
2219 | 3291 |
2220 ; | 3292 ; |
2221 return 0; | 3293 return 0; |
2222 } | 3294 } |
2223 _ACEOF | 3295 _ACEOF |
3296 ac_clean_files="$ac_clean_files conftest.out" | |
3297 # Check that the compiler produces executables we can run. If not, either | |
3298 # the compiler is broken, or we cross compile. | |
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3300 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3301 if test "$cross_compiling" != yes; then | |
3302 { { ac_try="$ac_link" | |
3303 case "(($ac_try" in | |
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3305 *) ac_try_echo=$ac_try;; | |
3306 esac | |
3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3308 $as_echo "$ac_try_echo"; } >&5 | |
3309 (eval "$ac_link") 2>&5 | |
3310 ac_status=$? | |
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3312 test $ac_status = 0; } | |
3313 if { ac_try='./conftest$ac_cv_exeext' | |
3314 { { case "(($ac_try" in | |
3315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3316 *) ac_try_echo=$ac_try;; | |
3317 esac | |
3318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3319 $as_echo "$ac_try_echo"; } >&5 | |
3320 (eval "$ac_try") 2>&5 | |
3321 ac_status=$? | |
3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3323 test $ac_status = 0; }; }; then | |
3324 cross_compiling=no | |
3325 else | |
3326 if test "$cross_compiling" = maybe; then | |
3327 cross_compiling=yes | |
3328 else | |
3329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3331 as_fn_error $? "cannot run C compiled programs. | |
3332 If you meant to cross compile, use \`--host'. | |
3333 See \`config.log' for more details" "$LINENO" 5; } | |
3334 fi | |
3335 fi | |
3336 fi | |
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3338 $as_echo "$cross_compiling" >&6; } | |
3339 | |
3340 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3341 ac_clean_files=$ac_clean_files_save | |
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3343 $as_echo_n "checking for suffix of object files... " >&6; } | |
3344 if ${ac_cv_objext+:} false; then : | |
3345 $as_echo_n "(cached) " >&6 | |
3346 else | |
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3348 /* end confdefs.h. */ | |
3349 | |
3350 int | |
3351 main () | |
3352 { | |
3353 | |
3354 ; | |
3355 return 0; | |
3356 } | |
3357 _ACEOF | |
2224 rm -f conftest.o conftest.obj | 3358 rm -f conftest.o conftest.obj |
2225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3359 if { { ac_try="$ac_compile" |
2226 (eval $ac_compile) 2>&5 | 3360 case "(($ac_try" in |
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3362 *) ac_try_echo=$ac_try;; | |
3363 esac | |
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3365 $as_echo "$ac_try_echo"; } >&5 | |
3366 (eval "$ac_compile") 2>&5 | |
2227 ac_status=$? | 3367 ac_status=$? |
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2229 (exit $ac_status); }; then | 3369 test $ac_status = 0; }; then : |
2230 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 3370 for ac_file in conftest.o conftest.obj conftest.*; do |
3371 test -f "$ac_file" || continue; | |
2231 case $ac_file in | 3372 case $ac_file in |
2232 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 3373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2233 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3374 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2234 break;; | 3375 break;; |
2235 esac | 3376 esac |
2236 done | 3377 done |
2237 else | 3378 else |
2238 echo "$as_me: failed program was:" >&5 | 3379 $as_echo "$as_me: failed program was:" >&5 |
2239 sed 's/^/| /' conftest.$ac_ext >&5 | 3380 sed 's/^/| /' conftest.$ac_ext >&5 |
2240 | 3381 |
2241 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 3382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2242 See \`config.log' for more details." >&5 | 3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2243 echo "$as_me: error: cannot compute suffix of object files: cannot compile | 3384 as_fn_error $? "cannot compute suffix of object files: cannot compile |
2244 See \`config.log' for more details." >&2;} | 3385 See \`config.log' for more details" "$LINENO" 5; } |
2245 { (exit 1); exit 1; }; } | 3386 fi |
2246 fi | |
2247 | |
2248 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3387 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2249 fi | 3388 fi |
2250 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2251 echo "${ECHO_T}$ac_cv_objext" >&6 | 3390 $as_echo "$ac_cv_objext" >&6; } |
2252 OBJEXT=$ac_cv_objext | 3391 OBJEXT=$ac_cv_objext |
2253 ac_objext=$OBJEXT | 3392 ac_objext=$OBJEXT |
2254 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2255 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 3394 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2256 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 3395 if ${ac_cv_c_compiler_gnu+:} false; then : |
2257 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3396 $as_echo_n "(cached) " >&6 |
2258 else | 3397 else |
2259 cat >conftest.$ac_ext <<_ACEOF | 3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2260 #line $LINENO "configure" | |
2261 /* confdefs.h. */ | |
2262 _ACEOF | |
2263 cat confdefs.h >>conftest.$ac_ext | |
2264 cat >>conftest.$ac_ext <<_ACEOF | |
2265 /* end confdefs.h. */ | 3399 /* end confdefs.h. */ |
2266 | 3400 |
2267 int | 3401 int |
2268 main () | 3402 main () |
2269 { | 3403 { |
2273 | 3407 |
2274 ; | 3408 ; |
2275 return 0; | 3409 return 0; |
2276 } | 3410 } |
2277 _ACEOF | 3411 _ACEOF |
2278 rm -f conftest.$ac_objext | 3412 if ac_fn_c_try_compile "$LINENO"; then : |
2279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2280 (eval $ac_compile) 2>&5 | |
2281 ac_status=$? | |
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2283 (exit $ac_status); } && | |
2284 { ac_try='test -s conftest.$ac_objext' | |
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2286 (eval $ac_try) 2>&5 | |
2287 ac_status=$? | |
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2289 (exit $ac_status); }; }; then | |
2290 ac_compiler_gnu=yes | 3413 ac_compiler_gnu=yes |
2291 else | 3414 else |
2292 echo "$as_me: failed program was:" >&5 | 3415 ac_compiler_gnu=no |
2293 sed 's/^/| /' conftest.$ac_ext >&5 | 3416 fi |
2294 | 3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2295 ac_compiler_gnu=no | |
2296 fi | |
2297 rm -f conftest.$ac_objext conftest.$ac_ext | |
2298 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3418 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2299 | 3419 |
2300 fi | 3420 fi |
2301 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
2302 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 3422 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2303 GCC=`test $ac_compiler_gnu = yes && echo yes` | 3423 if test $ac_compiler_gnu = yes; then |
3424 GCC=yes | |
3425 else | |
3426 GCC= | |
3427 fi | |
2304 ac_test_CFLAGS=${CFLAGS+set} | 3428 ac_test_CFLAGS=${CFLAGS+set} |
2305 ac_save_CFLAGS=$CFLAGS | 3429 ac_save_CFLAGS=$CFLAGS |
2306 CFLAGS="-g" | 3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2307 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 3431 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2308 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 3432 if ${ac_cv_prog_cc_g+:} false; then : |
2309 if test "${ac_cv_prog_cc_g+set}" = set; then | 3433 $as_echo_n "(cached) " >&6 |
2310 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3434 else |
2311 else | 3435 ac_save_c_werror_flag=$ac_c_werror_flag |
2312 cat >conftest.$ac_ext <<_ACEOF | 3436 ac_c_werror_flag=yes |
2313 #line $LINENO "configure" | 3437 ac_cv_prog_cc_g=no |
2314 /* confdefs.h. */ | 3438 CFLAGS="-g" |
2315 _ACEOF | 3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2316 cat confdefs.h >>conftest.$ac_ext | |
2317 cat >>conftest.$ac_ext <<_ACEOF | |
2318 /* end confdefs.h. */ | 3440 /* end confdefs.h. */ |
2319 | 3441 |
2320 int | 3442 int |
2321 main () | 3443 main () |
2322 { | 3444 { |
2323 | 3445 |
2324 ; | 3446 ; |
2325 return 0; | 3447 return 0; |
2326 } | 3448 } |
2327 _ACEOF | 3449 _ACEOF |
2328 rm -f conftest.$ac_objext | 3450 if ac_fn_c_try_compile "$LINENO"; then : |
2329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2330 (eval $ac_compile) 2>&5 | |
2331 ac_status=$? | |
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2333 (exit $ac_status); } && | |
2334 { ac_try='test -s conftest.$ac_objext' | |
2335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2336 (eval $ac_try) 2>&5 | |
2337 ac_status=$? | |
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2339 (exit $ac_status); }; }; then | |
2340 ac_cv_prog_cc_g=yes | 3451 ac_cv_prog_cc_g=yes |
2341 else | 3452 else |
2342 echo "$as_me: failed program was:" >&5 | 3453 CFLAGS="" |
2343 sed 's/^/| /' conftest.$ac_ext >&5 | 3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2344 | 3455 /* end confdefs.h. */ |
2345 ac_cv_prog_cc_g=no | 3456 |
2346 fi | 3457 int |
2347 rm -f conftest.$ac_objext conftest.$ac_ext | 3458 main () |
2348 fi | 3459 { |
2349 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 3460 |
2350 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 3461 ; |
3462 return 0; | |
3463 } | |
3464 _ACEOF | |
3465 if ac_fn_c_try_compile "$LINENO"; then : | |
3466 | |
3467 else | |
3468 ac_c_werror_flag=$ac_save_c_werror_flag | |
3469 CFLAGS="-g" | |
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3471 /* end confdefs.h. */ | |
3472 | |
3473 int | |
3474 main () | |
3475 { | |
3476 | |
3477 ; | |
3478 return 0; | |
3479 } | |
3480 _ACEOF | |
3481 if ac_fn_c_try_compile "$LINENO"; then : | |
3482 ac_cv_prog_cc_g=yes | |
3483 fi | |
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3485 fi | |
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3487 fi | |
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3489 ac_c_werror_flag=$ac_save_c_werror_flag | |
3490 fi | |
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
3492 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
2351 if test "$ac_test_CFLAGS" = set; then | 3493 if test "$ac_test_CFLAGS" = set; then |
2352 CFLAGS=$ac_save_CFLAGS | 3494 CFLAGS=$ac_save_CFLAGS |
2353 elif test $ac_cv_prog_cc_g = yes; then | 3495 elif test $ac_cv_prog_cc_g = yes; then |
2354 if test "$GCC" = yes; then | 3496 if test "$GCC" = yes; then |
2355 CFLAGS="-g -O2" | 3497 CFLAGS="-g -O2" |
2361 CFLAGS="-O2" | 3503 CFLAGS="-O2" |
2362 else | 3504 else |
2363 CFLAGS= | 3505 CFLAGS= |
2364 fi | 3506 fi |
2365 fi | 3507 fi |
2366 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2367 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 3509 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2368 if test "${ac_cv_prog_cc_stdc+set}" = set; then | 3510 if ${ac_cv_prog_cc_c89+:} false; then : |
2369 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3511 $as_echo_n "(cached) " >&6 |
2370 else | 3512 else |
2371 ac_cv_prog_cc_stdc=no | 3513 ac_cv_prog_cc_c89=no |
2372 ac_save_CC=$CC | 3514 ac_save_CC=$CC |
2373 cat >conftest.$ac_ext <<_ACEOF | 3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2374 #line $LINENO "configure" | |
2375 /* confdefs.h. */ | |
2376 _ACEOF | |
2377 cat confdefs.h >>conftest.$ac_ext | |
2378 cat >>conftest.$ac_ext <<_ACEOF | |
2379 /* end confdefs.h. */ | 3516 /* end confdefs.h. */ |
2380 #include <stdarg.h> | 3517 #include <stdarg.h> |
2381 #include <stdio.h> | 3518 #include <stdio.h> |
2382 #include <sys/types.h> | 3519 #include <sys/types.h> |
2383 #include <sys/stat.h> | 3520 #include <sys/stat.h> |
2397 va_start (v,p); | 3534 va_start (v,p); |
2398 s = g (p, va_arg (v,int)); | 3535 s = g (p, va_arg (v,int)); |
2399 va_end (v); | 3536 va_end (v); |
2400 return s; | 3537 return s; |
2401 } | 3538 } |
3539 | |
3540 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3541 function prototypes and stuff, but not '\xHH' hex character constants. | |
3542 These don't provoke an error unfortunately, instead are silently treated | |
3543 as 'x'. The following induces an error, until -std is added to get | |
3544 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
3545 array size at least. It's necessary to write '\x00'==0 to get something | |
3546 that's true only with -std. */ | |
3547 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
3548 | |
3549 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
3550 inside strings and character constants. */ | |
3551 #define FOO(x) 'x' | |
3552 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3553 | |
2402 int test (int i, double x); | 3554 int test (int i, double x); |
2403 struct s1 {int (*f) (int a);}; | 3555 struct s1 {int (*f) (int a);}; |
2404 struct s2 {int (*f) (double a);}; | 3556 struct s2 {int (*f) (double a);}; |
2405 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 3557 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2406 int argc; | 3558 int argc; |
2411 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 3563 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2412 ; | 3564 ; |
2413 return 0; | 3565 return 0; |
2414 } | 3566 } |
2415 _ACEOF | 3567 _ACEOF |
2416 # Don't try gcc -ansi; that turns off useful extensions and | 3568 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2417 # breaks some systems' header files. | 3569 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2418 # AIX -qlanglvl=ansi | |
2419 # Ultrix and OSF/1 -std1 | |
2420 # HP-UX 10.20 and later -Ae | |
2421 # HP-UX older versions -Aa -D_HPUX_SOURCE | |
2422 # SVR4 -Xc -D__EXTENSIONS__ | |
2423 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
2424 do | 3570 do |
2425 CC="$ac_save_CC $ac_arg" | 3571 CC="$ac_save_CC $ac_arg" |
2426 rm -f conftest.$ac_objext | 3572 if ac_fn_c_try_compile "$LINENO"; then : |
2427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3573 ac_cv_prog_cc_c89=$ac_arg |
2428 (eval $ac_compile) 2>&5 | 3574 fi |
2429 ac_status=$? | 3575 rm -f core conftest.err conftest.$ac_objext |
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3576 test "x$ac_cv_prog_cc_c89" != "xno" && break |
2431 (exit $ac_status); } && | |
2432 { ac_try='test -s conftest.$ac_objext' | |
2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2434 (eval $ac_try) 2>&5 | |
2435 ac_status=$? | |
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2437 (exit $ac_status); }; }; then | |
2438 ac_cv_prog_cc_stdc=$ac_arg | |
2439 break | |
2440 else | |
2441 echo "$as_me: failed program was:" >&5 | |
2442 sed 's/^/| /' conftest.$ac_ext >&5 | |
2443 | |
2444 fi | |
2445 rm -f conftest.$ac_objext | |
2446 done | 3577 done |
2447 rm -f conftest.$ac_ext conftest.$ac_objext | 3578 rm -f conftest.$ac_ext |
2448 CC=$ac_save_CC | 3579 CC=$ac_save_CC |
2449 | 3580 |
2450 fi | 3581 fi |
2451 | 3582 # AC_CACHE_VAL |
2452 case "x$ac_cv_prog_cc_stdc" in | 3583 case "x$ac_cv_prog_cc_c89" in |
2453 x|xno) | 3584 x) |
2454 echo "$as_me:$LINENO: result: none needed" >&5 | 3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
2455 echo "${ECHO_T}none needed" >&6 ;; | 3586 $as_echo "none needed" >&6; } ;; |
3587 xno) | |
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
3589 $as_echo "unsupported" >&6; } ;; | |
2456 *) | 3590 *) |
2457 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 3591 CC="$CC $ac_cv_prog_cc_c89" |
2458 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
2459 CC="$CC $ac_cv_prog_cc_stdc" ;; | 3593 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
2460 esac | 3594 esac |
2461 | 3595 if test "x$ac_cv_prog_cc_c89" != xno; then : |
2462 # Some people use a C++ compiler to compile C. Since we use `exit', | 3596 |
2463 # in C++ we need to declare it. In case someone uses the same compiler | 3597 fi |
2464 # for both compiling C and C++ we need to have the C++ compiler decide | 3598 |
2465 # the declaration of exit, since it's the most demanding environment. | |
2466 cat >conftest.$ac_ext <<_ACEOF | |
2467 #ifndef __cplusplus | |
2468 choke me | |
2469 #endif | |
2470 _ACEOF | |
2471 rm -f conftest.$ac_objext | |
2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2473 (eval $ac_compile) 2>&5 | |
2474 ac_status=$? | |
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2476 (exit $ac_status); } && | |
2477 { ac_try='test -s conftest.$ac_objext' | |
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2479 (eval $ac_try) 2>&5 | |
2480 ac_status=$? | |
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2482 (exit $ac_status); }; }; then | |
2483 for ac_declaration in \ | |
2484 '' \ | |
2485 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
2486 'extern "C" void std::exit (int); using std::exit;' \ | |
2487 'extern "C" void exit (int) throw ();' \ | |
2488 'extern "C" void exit (int);' \ | |
2489 'void exit (int);' | |
2490 do | |
2491 cat >conftest.$ac_ext <<_ACEOF | |
2492 #line $LINENO "configure" | |
2493 /* confdefs.h. */ | |
2494 _ACEOF | |
2495 cat confdefs.h >>conftest.$ac_ext | |
2496 cat >>conftest.$ac_ext <<_ACEOF | |
2497 /* end confdefs.h. */ | |
2498 $ac_declaration | |
2499 #include <stdlib.h> | |
2500 int | |
2501 main () | |
2502 { | |
2503 exit (42); | |
2504 ; | |
2505 return 0; | |
2506 } | |
2507 _ACEOF | |
2508 rm -f conftest.$ac_objext | |
2509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2510 (eval $ac_compile) 2>&5 | |
2511 ac_status=$? | |
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2513 (exit $ac_status); } && | |
2514 { ac_try='test -s conftest.$ac_objext' | |
2515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2516 (eval $ac_try) 2>&5 | |
2517 ac_status=$? | |
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2519 (exit $ac_status); }; }; then | |
2520 : | |
2521 else | |
2522 echo "$as_me: failed program was:" >&5 | |
2523 sed 's/^/| /' conftest.$ac_ext >&5 | |
2524 | |
2525 continue | |
2526 fi | |
2527 rm -f conftest.$ac_objext conftest.$ac_ext | |
2528 cat >conftest.$ac_ext <<_ACEOF | |
2529 #line $LINENO "configure" | |
2530 /* confdefs.h. */ | |
2531 _ACEOF | |
2532 cat confdefs.h >>conftest.$ac_ext | |
2533 cat >>conftest.$ac_ext <<_ACEOF | |
2534 /* end confdefs.h. */ | |
2535 $ac_declaration | |
2536 int | |
2537 main () | |
2538 { | |
2539 exit (42); | |
2540 ; | |
2541 return 0; | |
2542 } | |
2543 _ACEOF | |
2544 rm -f conftest.$ac_objext | |
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2546 (eval $ac_compile) 2>&5 | |
2547 ac_status=$? | |
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2549 (exit $ac_status); } && | |
2550 { ac_try='test -s conftest.$ac_objext' | |
2551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2552 (eval $ac_try) 2>&5 | |
2553 ac_status=$? | |
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2555 (exit $ac_status); }; }; then | |
2556 break | |
2557 else | |
2558 echo "$as_me: failed program was:" >&5 | |
2559 sed 's/^/| /' conftest.$ac_ext >&5 | |
2560 | |
2561 fi | |
2562 rm -f conftest.$ac_objext conftest.$ac_ext | |
2563 done | |
2564 rm -f conftest* | |
2565 if test -n "$ac_declaration"; then | |
2566 echo '#ifdef __cplusplus' >>confdefs.h | |
2567 echo $ac_declaration >>confdefs.h | |
2568 echo '#endif' >>confdefs.h | |
2569 fi | |
2570 | |
2571 else | |
2572 echo "$as_me: failed program was:" >&5 | |
2573 sed 's/^/| /' conftest.$ac_ext >&5 | |
2574 | |
2575 fi | |
2576 rm -f conftest.$ac_objext conftest.$ac_ext | |
2577 ac_ext=c | 3599 ac_ext=c |
2578 ac_cpp='$CPP $CPPFLAGS' | 3600 ac_cpp='$CPP $CPPFLAGS' |
2579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2581 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2582 | 3604 DEPDIR="${am__leading_dot}deps" |
2583 # Find a good install program. We prefer a C program (faster), | 3605 |
2584 # so one script is as good as another. But avoid the broken or | 3606 ac_config_commands="$ac_config_commands depfiles" |
2585 # incompatible versions: | 3607 |
2586 # SysV /etc/install, /usr/sbin/install | 3608 |
2587 # SunOS /usr/etc/install | 3609 am_make=${MAKE-make} |
2588 # IRIX /sbin/install | 3610 cat > confinc << 'END' |
2589 # AIX /bin/install | 3611 am__doit: |
2590 # AmigaOS /C/install, which installs bootblocks on floppy discs | 3612 @echo this is the am__doit target |
2591 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3613 .PHONY: am__doit |
2592 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3614 END |
2593 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3615 # If we don't find an include directive, just comment out the code. |
2594 # ./install, which can be erroneously created by make from ./install.sh. | 3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
2595 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 3617 $as_echo_n "checking for style of include used by $am_make... " >&6; } |
2596 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 3618 am__include="#" |
2597 if test -z "$INSTALL"; then | 3619 am__quote= |
2598 if test "${ac_cv_path_install+set}" = set; then | 3620 _am_result=none |
2599 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3621 # First try GNU make style include. |
2600 else | 3622 echo "include confinc" > confmf |
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3623 # Ignore all kinds of additional output from `make'. |
2602 for as_dir in $PATH | 3624 case `$am_make -s -f confmf 2> /dev/null` in #( |
2603 do | 3625 *the\ am__doit\ target*) |
2604 IFS=$as_save_IFS | 3626 am__include=include |
2605 test -z "$as_dir" && as_dir=. | 3627 am__quote= |
2606 # Account for people who put trailing slashes in PATH elements. | 3628 _am_result=GNU |
2607 case $as_dir/ in | 3629 ;; |
2608 ./ | .// | /cC/* | \ | 3630 esac |
2609 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 3631 # Now try BSD make style include. |
2610 /usr/ucb/* ) ;; | 3632 if test "$am__include" = "#"; then |
2611 *) | 3633 echo '.include "confinc"' > confmf |
2612 # OSF1 and SCO ODT 3.0 have their own names for install. | 3634 case `$am_make -s -f confmf 2> /dev/null` in #( |
2613 # Don't use installbsd from OSF since it installs stuff as root | 3635 *the\ am__doit\ target*) |
2614 # by default. | 3636 am__include=.include |
2615 for ac_prog in ginstall scoinst install; do | 3637 am__quote="\"" |
2616 for ac_exec_ext in '' $ac_executable_extensions; do | 3638 _am_result=BSD |
2617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 3639 ;; |
2618 if test $ac_prog = install && | 3640 esac |
2619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3641 fi |
2620 # AIX install. It has an incompatible calling convention. | 3642 |
2621 : | 3643 |
2622 elif test $ac_prog = install && | 3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
2623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3645 $as_echo "$_am_result" >&6; } |
2624 # program-specific install script used by HP pwplus--don't use. | 3646 rm -f confinc confmf |
2625 : | 3647 |
2626 else | 3648 # Check whether --enable-dependency-tracking was given. |
2627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 3649 if test "${enable_dependency_tracking+set}" = set; then : |
2628 break 3 | 3650 enableval=$enable_dependency_tracking; |
2629 fi | 3651 fi |
2630 fi | 3652 |
2631 done | 3653 if test "x$enable_dependency_tracking" != xno; then |
3654 am_depcomp="$ac_aux_dir/depcomp" | |
3655 AMDEPBACKSLASH='\' | |
3656 fi | |
3657 if test "x$enable_dependency_tracking" != xno; then | |
3658 AMDEP_TRUE= | |
3659 AMDEP_FALSE='#' | |
3660 else | |
3661 AMDEP_TRUE='#' | |
3662 AMDEP_FALSE= | |
3663 fi | |
3664 | |
3665 | |
3666 | |
3667 depcc="$CC" am_compiler_list= | |
3668 | |
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | |
3670 $as_echo_n "checking dependency style of $depcc... " >&6; } | |
3671 if ${am_cv_CC_dependencies_compiler_type+:} false; then : | |
3672 $as_echo_n "(cached) " >&6 | |
3673 else | |
3674 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
3675 # We make a subdir and do the tests there. Otherwise we can end up | |
3676 # making bogus files that we don't know about and never remove. For | |
3677 # instance it was reported that on HP-UX the gcc test will end up | |
3678 # making a dummy file named `D' -- because `-MD' means `put the output | |
3679 # in D'. | |
3680 mkdir conftest.dir | |
3681 # Copy depcomp to subdir because otherwise we won't find it if we're | |
3682 # using a relative directory. | |
3683 cp "$am_depcomp" conftest.dir | |
3684 cd conftest.dir | |
3685 # We will build objects and dependencies in a subdirectory because | |
3686 # it helps to detect inapplicable dependency modes. For instance | |
3687 # both Tru64's cc and ICC support -MD to output dependencies as a | |
3688 # side effect of compilation, but ICC will put the dependencies in | |
3689 # the current directory while Tru64 will put them in the object | |
3690 # directory. | |
3691 mkdir sub | |
3692 | |
3693 am_cv_CC_dependencies_compiler_type=none | |
3694 if test "$am_compiler_list" = ""; then | |
3695 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
3696 fi | |
3697 am__universal=false | |
3698 case " $depcc " in #( | |
3699 *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
3700 esac | |
3701 | |
3702 for depmode in $am_compiler_list; do | |
3703 # Setup a source with many dependencies, because some compilers | |
3704 # like to wrap large dependency lists on column 80 (with \), and | |
3705 # we should not choose a depcomp mode which is confused by this. | |
3706 # | |
3707 # We need to recreate these files for each test, as the compiler may | |
3708 # overwrite some of them when testing with obscure command lines. | |
3709 # This happens at least with the AIX C compiler. | |
3710 : > sub/conftest.c | |
3711 for i in 1 2 3 4 5 6; do | |
3712 echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
3713 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
3714 # Solaris 8's {/usr,}/bin/sh. | |
3715 touch sub/conftst$i.h | |
2632 done | 3716 done |
2633 ;; | 3717 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
2634 esac | 3718 |
2635 done | 3719 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
2636 | 3720 # mode. It turns out that the SunPro C++ compiler does not properly |
2637 | 3721 # handle `-M -o', and we need to detect this. Also, some Intel |
2638 fi | 3722 # versions had trouble with output in subdirs |
2639 if test "${ac_cv_path_install+set}" = set; then | 3723 am__obj=sub/conftest.${OBJEXT-o} |
2640 INSTALL=$ac_cv_path_install | 3724 am__minus_obj="-o $am__obj" |
2641 else | 3725 case $depmode in |
2642 # As a last resort, use the slow shell script. We don't cache a | 3726 gcc) |
2643 # path for INSTALL within a source directory, because that will | 3727 # This depmode causes a compiler race in universal mode. |
2644 # break other packages using the cache if that directory is | 3728 test "$am__universal" = false || continue |
2645 # removed, or if the path is relative. | 3729 ;; |
2646 INSTALL=$ac_install_sh | 3730 nosideeffect) |
2647 fi | 3731 # after this tag, mechanisms are not by side-effect, so they'll |
2648 fi | 3732 # only be used when explicitly requested |
2649 echo "$as_me:$LINENO: result: $INSTALL" >&5 | 3733 if test "x$enable_dependency_tracking" = xyes; then |
2650 echo "${ECHO_T}$INSTALL" >&6 | 3734 continue |
2651 | 3735 else |
2652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3736 break |
2653 # It thinks the first close brace ends the variable substitution. | 3737 fi |
2654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3738 ;; |
2655 | 3739 msvisualcpp | msvcmsys) |
2656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 3740 # This compiler won't grok `-c -o', but also, the minuso test has |
2657 | 3741 # not run yet. These depmodes are late enough in the game, and |
2658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3742 # so weak that their functioning should not be impacted. |
3743 am__obj=conftest.${OBJEXT-o} | |
3744 am__minus_obj= | |
3745 ;; | |
3746 none) break ;; | |
3747 esac | |
3748 if depmode=$depmode \ | |
3749 source=sub/conftest.c object=$am__obj \ | |
3750 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
3751 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
3752 >/dev/null 2>conftest.err && | |
3753 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
3754 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
3755 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
3756 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
3757 # icc doesn't choke on unknown options, it will just issue warnings | |
3758 # or remarks (even with -Werror). So we grep stderr for any message | |
3759 # that says an option was ignored or not supported. | |
3760 # When given -MP, icc 7.0 and 7.1 complain thusly: | |
3761 # icc: Command line warning: ignoring option '-M'; no argument required | |
3762 # The diagnosis changed in icc 8.0: | |
3763 # icc: Command line remark: option '-MP' not supported | |
3764 if (grep 'ignoring option' conftest.err || | |
3765 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
3766 am_cv_CC_dependencies_compiler_type=$depmode | |
3767 break | |
3768 fi | |
3769 fi | |
3770 done | |
3771 | |
3772 cd .. | |
3773 rm -rf conftest.dir | |
3774 else | |
3775 am_cv_CC_dependencies_compiler_type=none | |
3776 fi | |
3777 | |
3778 fi | |
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
3780 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
3781 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
3782 | |
3783 if | |
3784 test "x$enable_dependency_tracking" != xno \ | |
3785 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
3786 am__fastdepCC_TRUE= | |
3787 am__fastdepCC_FALSE='#' | |
3788 else | |
3789 am__fastdepCC_TRUE='#' | |
3790 am__fastdepCC_FALSE= | |
3791 fi | |
3792 | |
3793 | |
2659 | 3794 |
2660 | 3795 |
2661 | 3796 |
2662 | 3797 |
2663 ac_ext=c | 3798 ac_ext=c |
2664 ac_cpp='$CPP $CPPFLAGS' | 3799 ac_cpp='$CPP $CPPFLAGS' |
2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3802 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2668 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
2669 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 3804 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
2670 # On Suns, sometimes $CPP names a directory. | 3805 # On Suns, sometimes $CPP names a directory. |
2671 if test -n "$CPP" && test -d "$CPP"; then | 3806 if test -n "$CPP" && test -d "$CPP"; then |
2672 CPP= | 3807 CPP= |
2673 fi | 3808 fi |
2674 if test -z "$CPP"; then | 3809 if test -z "$CPP"; then |
2675 if test "${ac_cv_prog_CPP+set}" = set; then | 3810 if ${ac_cv_prog_CPP+:} false; then : |
2676 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3811 $as_echo_n "(cached) " >&6 |
2677 else | 3812 else |
2678 # Double quotes because CPP needs to be expanded | 3813 # Double quotes because CPP needs to be expanded |
2679 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3814 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2680 do | 3815 do |
2681 ac_preproc_ok=false | 3816 ac_preproc_ok=false |
2685 # with a fresh cross-compiler works. | 3820 # with a fresh cross-compiler works. |
2686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2687 # <limits.h> exists even on freestanding compilers. | 3822 # <limits.h> exists even on freestanding compilers. |
2688 # On the NeXT, cc -E runs the code through the compiler's parser, | 3823 # On the NeXT, cc -E runs the code through the compiler's parser, |
2689 # not just through cpp. "Syntax error" is here to catch this case. | 3824 # not just through cpp. "Syntax error" is here to catch this case. |
2690 cat >conftest.$ac_ext <<_ACEOF | 3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2691 #line $LINENO "configure" | |
2692 /* confdefs.h. */ | |
2693 _ACEOF | |
2694 cat confdefs.h >>conftest.$ac_ext | |
2695 cat >>conftest.$ac_ext <<_ACEOF | |
2696 /* end confdefs.h. */ | 3826 /* end confdefs.h. */ |
2697 #ifdef __STDC__ | 3827 #ifdef __STDC__ |
2698 # include <limits.h> | 3828 # include <limits.h> |
2699 #else | 3829 #else |
2700 # include <assert.h> | 3830 # include <assert.h> |
2701 #endif | 3831 #endif |
2702 Syntax error | 3832 Syntax error |
2703 _ACEOF | 3833 _ACEOF |
2704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3834 if ac_fn_c_try_cpp "$LINENO"; then : |
2705 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3835 |
2706 ac_status=$? | 3836 else |
2707 grep -v '^ *+' conftest.er1 >conftest.err | |
2708 rm -f conftest.er1 | |
2709 cat conftest.err >&5 | |
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2711 (exit $ac_status); } >/dev/null; then | |
2712 if test -s conftest.err; then | |
2713 ac_cpp_err=$ac_c_preproc_warn_flag | |
2714 else | |
2715 ac_cpp_err= | |
2716 fi | |
2717 else | |
2718 ac_cpp_err=yes | |
2719 fi | |
2720 if test -z "$ac_cpp_err"; then | |
2721 : | |
2722 else | |
2723 echo "$as_me: failed program was:" >&5 | |
2724 sed 's/^/| /' conftest.$ac_ext >&5 | |
2725 | |
2726 # Broken: fails on valid input. | 3837 # Broken: fails on valid input. |
2727 continue | 3838 continue |
2728 fi | 3839 fi |
2729 rm -f conftest.err conftest.$ac_ext | 3840 rm -f conftest.err conftest.i conftest.$ac_ext |
2730 | 3841 |
2731 # OK, works on sane cases. Now check whether non-existent headers | 3842 # OK, works on sane cases. Now check whether nonexistent headers |
2732 # can be detected and how. | 3843 # can be detected and how. |
2733 cat >conftest.$ac_ext <<_ACEOF | 3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2734 #line $LINENO "configure" | |
2735 /* confdefs.h. */ | |
2736 _ACEOF | |
2737 cat confdefs.h >>conftest.$ac_ext | |
2738 cat >>conftest.$ac_ext <<_ACEOF | |
2739 /* end confdefs.h. */ | 3845 /* end confdefs.h. */ |
2740 #include <ac_nonexistent.h> | 3846 #include <ac_nonexistent.h> |
2741 _ACEOF | 3847 _ACEOF |
2742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3848 if ac_fn_c_try_cpp "$LINENO"; then : |
2743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2744 ac_status=$? | |
2745 grep -v '^ *+' conftest.er1 >conftest.err | |
2746 rm -f conftest.er1 | |
2747 cat conftest.err >&5 | |
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2749 (exit $ac_status); } >/dev/null; then | |
2750 if test -s conftest.err; then | |
2751 ac_cpp_err=$ac_c_preproc_warn_flag | |
2752 else | |
2753 ac_cpp_err= | |
2754 fi | |
2755 else | |
2756 ac_cpp_err=yes | |
2757 fi | |
2758 if test -z "$ac_cpp_err"; then | |
2759 # Broken: success on invalid input. | 3849 # Broken: success on invalid input. |
2760 continue | 3850 continue |
2761 else | 3851 else |
2762 echo "$as_me: failed program was:" >&5 | |
2763 sed 's/^/| /' conftest.$ac_ext >&5 | |
2764 | |
2765 # Passes both tests. | 3852 # Passes both tests. |
2766 ac_preproc_ok=: | 3853 ac_preproc_ok=: |
2767 break | 3854 break |
2768 fi | 3855 fi |
2769 rm -f conftest.err conftest.$ac_ext | 3856 rm -f conftest.err conftest.i conftest.$ac_ext |
2770 | 3857 |
2771 done | 3858 done |
2772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2773 rm -f conftest.err conftest.$ac_ext | 3860 rm -f conftest.i conftest.err conftest.$ac_ext |
2774 if $ac_preproc_ok; then | 3861 if $ac_preproc_ok; then : |
2775 break | 3862 break |
2776 fi | 3863 fi |
2777 | 3864 |
2778 done | 3865 done |
2779 ac_cv_prog_CPP=$CPP | 3866 ac_cv_prog_CPP=$CPP |
2781 fi | 3868 fi |
2782 CPP=$ac_cv_prog_CPP | 3869 CPP=$ac_cv_prog_CPP |
2783 else | 3870 else |
2784 ac_cv_prog_CPP=$CPP | 3871 ac_cv_prog_CPP=$CPP |
2785 fi | 3872 fi |
2786 echo "$as_me:$LINENO: result: $CPP" >&5 | 3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
2787 echo "${ECHO_T}$CPP" >&6 | 3874 $as_echo "$CPP" >&6; } |
2788 ac_preproc_ok=false | 3875 ac_preproc_ok=false |
2789 for ac_c_preproc_warn_flag in '' yes | 3876 for ac_c_preproc_warn_flag in '' yes |
2790 do | 3877 do |
2791 # Use a header file that comes with gcc, so configuring glibc | 3878 # Use a header file that comes with gcc, so configuring glibc |
2792 # with a fresh cross-compiler works. | 3879 # with a fresh cross-compiler works. |
2793 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3880 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2794 # <limits.h> exists even on freestanding compilers. | 3881 # <limits.h> exists even on freestanding compilers. |
2795 # On the NeXT, cc -E runs the code through the compiler's parser, | 3882 # On the NeXT, cc -E runs the code through the compiler's parser, |
2796 # not just through cpp. "Syntax error" is here to catch this case. | 3883 # not just through cpp. "Syntax error" is here to catch this case. |
2797 cat >conftest.$ac_ext <<_ACEOF | 3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2798 #line $LINENO "configure" | |
2799 /* confdefs.h. */ | |
2800 _ACEOF | |
2801 cat confdefs.h >>conftest.$ac_ext | |
2802 cat >>conftest.$ac_ext <<_ACEOF | |
2803 /* end confdefs.h. */ | 3885 /* end confdefs.h. */ |
2804 #ifdef __STDC__ | 3886 #ifdef __STDC__ |
2805 # include <limits.h> | 3887 # include <limits.h> |
2806 #else | 3888 #else |
2807 # include <assert.h> | 3889 # include <assert.h> |
2808 #endif | 3890 #endif |
2809 Syntax error | 3891 Syntax error |
2810 _ACEOF | 3892 _ACEOF |
2811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3893 if ac_fn_c_try_cpp "$LINENO"; then : |
2812 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3894 |
2813 ac_status=$? | 3895 else |
2814 grep -v '^ *+' conftest.er1 >conftest.err | |
2815 rm -f conftest.er1 | |
2816 cat conftest.err >&5 | |
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2818 (exit $ac_status); } >/dev/null; then | |
2819 if test -s conftest.err; then | |
2820 ac_cpp_err=$ac_c_preproc_warn_flag | |
2821 else | |
2822 ac_cpp_err= | |
2823 fi | |
2824 else | |
2825 ac_cpp_err=yes | |
2826 fi | |
2827 if test -z "$ac_cpp_err"; then | |
2828 : | |
2829 else | |
2830 echo "$as_me: failed program was:" >&5 | |
2831 sed 's/^/| /' conftest.$ac_ext >&5 | |
2832 | |
2833 # Broken: fails on valid input. | 3896 # Broken: fails on valid input. |
2834 continue | 3897 continue |
2835 fi | 3898 fi |
2836 rm -f conftest.err conftest.$ac_ext | 3899 rm -f conftest.err conftest.i conftest.$ac_ext |
2837 | 3900 |
2838 # OK, works on sane cases. Now check whether non-existent headers | 3901 # OK, works on sane cases. Now check whether nonexistent headers |
2839 # can be detected and how. | 3902 # can be detected and how. |
2840 cat >conftest.$ac_ext <<_ACEOF | 3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2841 #line $LINENO "configure" | |
2842 /* confdefs.h. */ | |
2843 _ACEOF | |
2844 cat confdefs.h >>conftest.$ac_ext | |
2845 cat >>conftest.$ac_ext <<_ACEOF | |
2846 /* end confdefs.h. */ | 3904 /* end confdefs.h. */ |
2847 #include <ac_nonexistent.h> | 3905 #include <ac_nonexistent.h> |
2848 _ACEOF | 3906 _ACEOF |
2849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3907 if ac_fn_c_try_cpp "$LINENO"; then : |
2850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2851 ac_status=$? | |
2852 grep -v '^ *+' conftest.er1 >conftest.err | |
2853 rm -f conftest.er1 | |
2854 cat conftest.err >&5 | |
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2856 (exit $ac_status); } >/dev/null; then | |
2857 if test -s conftest.err; then | |
2858 ac_cpp_err=$ac_c_preproc_warn_flag | |
2859 else | |
2860 ac_cpp_err= | |
2861 fi | |
2862 else | |
2863 ac_cpp_err=yes | |
2864 fi | |
2865 if test -z "$ac_cpp_err"; then | |
2866 # Broken: success on invalid input. | 3908 # Broken: success on invalid input. |
2867 continue | 3909 continue |
2868 else | 3910 else |
2869 echo "$as_me: failed program was:" >&5 | |
2870 sed 's/^/| /' conftest.$ac_ext >&5 | |
2871 | |
2872 # Passes both tests. | 3911 # Passes both tests. |
2873 ac_preproc_ok=: | 3912 ac_preproc_ok=: |
2874 break | 3913 break |
2875 fi | 3914 fi |
2876 rm -f conftest.err conftest.$ac_ext | 3915 rm -f conftest.err conftest.i conftest.$ac_ext |
2877 | 3916 |
2878 done | 3917 done |
2879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3918 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2880 rm -f conftest.err conftest.$ac_ext | 3919 rm -f conftest.i conftest.err conftest.$ac_ext |
2881 if $ac_preproc_ok; then | 3920 if $ac_preproc_ok; then : |
2882 : | 3921 |
2883 else | 3922 else |
2884 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 3923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2885 See \`config.log' for more details." >&5 | 3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2886 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 3925 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
2887 See \`config.log' for more details." >&2;} | 3926 See \`config.log' for more details" "$LINENO" 5; } |
2888 { (exit 1); exit 1; }; } | |
2889 fi | 3927 fi |
2890 | 3928 |
2891 ac_ext=c | 3929 ac_ext=c |
2892 ac_cpp='$CPP $CPPFLAGS' | 3930 ac_cpp='$CPP $CPPFLAGS' |
2893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2895 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3933 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2896 | 3934 |
2897 | 3935 |
2898 echo "$as_me:$LINENO: checking for egrep" >&5 | 3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
2899 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 3937 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
2900 if test "${ac_cv_prog_egrep+set}" = set; then | 3938 if ${ac_cv_path_GREP+:} false; then : |
2901 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3939 $as_echo_n "(cached) " >&6 |
2902 else | 3940 else |
2903 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 3941 if test -z "$GREP"; then |
2904 then ac_cv_prog_egrep='grep -E' | 3942 ac_path_GREP_found=false |
2905 else ac_cv_prog_egrep='egrep' | 3943 # Loop through the user's path and test for each of PROGNAME-LIST |
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3945 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3946 do | |
3947 IFS=$as_save_IFS | |
3948 test -z "$as_dir" && as_dir=. | |
3949 for ac_prog in grep ggrep; do | |
3950 for ac_exec_ext in '' $ac_executable_extensions; do | |
3951 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
3952 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
3953 # Check for GNU ac_path_GREP and select it if it is found. | |
3954 # Check for GNU $ac_path_GREP | |
3955 case `"$ac_path_GREP" --version 2>&1` in | |
3956 *GNU*) | |
3957 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
3958 *) | |
3959 ac_count=0 | |
3960 $as_echo_n 0123456789 >"conftest.in" | |
3961 while : | |
3962 do | |
3963 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3964 mv "conftest.tmp" "conftest.in" | |
3965 cp "conftest.in" "conftest.nl" | |
3966 $as_echo 'GREP' >> "conftest.nl" | |
3967 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3968 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3969 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
3970 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
3971 # Best one so far, save it but keep looking for a better one | |
3972 ac_cv_path_GREP="$ac_path_GREP" | |
3973 ac_path_GREP_max=$ac_count | |
2906 fi | 3974 fi |
2907 fi | 3975 # 10*(2^10) chars as input seems more than enough |
2908 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 3976 test $ac_count -gt 10 && break |
2909 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 3977 done |
2910 EGREP=$ac_cv_prog_egrep | 3978 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
2911 | 3979 esac |
2912 | 3980 |
2913 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 3981 $ac_path_GREP_found && break 3 |
2914 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 3982 done |
2915 if test "${ac_cv_header_stdc+set}" = set; then | 3983 done |
2916 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3984 done |
2917 else | 3985 IFS=$as_save_IFS |
2918 cat >conftest.$ac_ext <<_ACEOF | 3986 if test -z "$ac_cv_path_GREP"; then |
2919 #line $LINENO "configure" | 3987 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
2920 /* confdefs.h. */ | 3988 fi |
2921 _ACEOF | 3989 else |
2922 cat confdefs.h >>conftest.$ac_ext | 3990 ac_cv_path_GREP=$GREP |
2923 cat >>conftest.$ac_ext <<_ACEOF | 3991 fi |
3992 | |
3993 fi | |
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
3995 $as_echo "$ac_cv_path_GREP" >&6; } | |
3996 GREP="$ac_cv_path_GREP" | |
3997 | |
3998 | |
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
4000 $as_echo_n "checking for egrep... " >&6; } | |
4001 if ${ac_cv_path_EGREP+:} false; then : | |
4002 $as_echo_n "(cached) " >&6 | |
4003 else | |
4004 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
4005 then ac_cv_path_EGREP="$GREP -E" | |
4006 else | |
4007 if test -z "$EGREP"; then | |
4008 ac_path_EGREP_found=false | |
4009 # Loop through the user's path and test for each of PROGNAME-LIST | |
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4011 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4012 do | |
4013 IFS=$as_save_IFS | |
4014 test -z "$as_dir" && as_dir=. | |
4015 for ac_prog in egrep; do | |
4016 for ac_exec_ext in '' $ac_executable_extensions; do | |
4017 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
4018 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
4019 # Check for GNU ac_path_EGREP and select it if it is found. | |
4020 # Check for GNU $ac_path_EGREP | |
4021 case `"$ac_path_EGREP" --version 2>&1` in | |
4022 *GNU*) | |
4023 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
4024 *) | |
4025 ac_count=0 | |
4026 $as_echo_n 0123456789 >"conftest.in" | |
4027 while : | |
4028 do | |
4029 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4030 mv "conftest.tmp" "conftest.in" | |
4031 cp "conftest.in" "conftest.nl" | |
4032 $as_echo 'EGREP' >> "conftest.nl" | |
4033 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4034 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4035 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
4036 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
4037 # Best one so far, save it but keep looking for a better one | |
4038 ac_cv_path_EGREP="$ac_path_EGREP" | |
4039 ac_path_EGREP_max=$ac_count | |
4040 fi | |
4041 # 10*(2^10) chars as input seems more than enough | |
4042 test $ac_count -gt 10 && break | |
4043 done | |
4044 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4045 esac | |
4046 | |
4047 $ac_path_EGREP_found && break 3 | |
4048 done | |
4049 done | |
4050 done | |
4051 IFS=$as_save_IFS | |
4052 if test -z "$ac_cv_path_EGREP"; then | |
4053 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4054 fi | |
4055 else | |
4056 ac_cv_path_EGREP=$EGREP | |
4057 fi | |
4058 | |
4059 fi | |
4060 fi | |
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
4062 $as_echo "$ac_cv_path_EGREP" >&6; } | |
4063 EGREP="$ac_cv_path_EGREP" | |
4064 | |
4065 | |
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
4067 $as_echo_n "checking for ANSI C header files... " >&6; } | |
4068 if ${ac_cv_header_stdc+:} false; then : | |
4069 $as_echo_n "(cached) " >&6 | |
4070 else | |
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2924 /* end confdefs.h. */ | 4072 /* end confdefs.h. */ |
2925 #include <stdlib.h> | 4073 #include <stdlib.h> |
2926 #include <stdarg.h> | 4074 #include <stdarg.h> |
2927 #include <string.h> | 4075 #include <string.h> |
2928 #include <float.h> | 4076 #include <float.h> |
2933 | 4081 |
2934 ; | 4082 ; |
2935 return 0; | 4083 return 0; |
2936 } | 4084 } |
2937 _ACEOF | 4085 _ACEOF |
2938 rm -f conftest.$ac_objext | 4086 if ac_fn_c_try_compile "$LINENO"; then : |
2939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2940 (eval $ac_compile) 2>&5 | |
2941 ac_status=$? | |
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2943 (exit $ac_status); } && | |
2944 { ac_try='test -s conftest.$ac_objext' | |
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2946 (eval $ac_try) 2>&5 | |
2947 ac_status=$? | |
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2949 (exit $ac_status); }; }; then | |
2950 ac_cv_header_stdc=yes | 4087 ac_cv_header_stdc=yes |
2951 else | 4088 else |
2952 echo "$as_me: failed program was:" >&5 | 4089 ac_cv_header_stdc=no |
2953 sed 's/^/| /' conftest.$ac_ext >&5 | 4090 fi |
2954 | 4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2955 ac_cv_header_stdc=no | |
2956 fi | |
2957 rm -f conftest.$ac_objext conftest.$ac_ext | |
2958 | 4092 |
2959 if test $ac_cv_header_stdc = yes; then | 4093 if test $ac_cv_header_stdc = yes; then |
2960 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4094 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2961 cat >conftest.$ac_ext <<_ACEOF | 4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2962 #line $LINENO "configure" | |
2963 /* confdefs.h. */ | |
2964 _ACEOF | |
2965 cat confdefs.h >>conftest.$ac_ext | |
2966 cat >>conftest.$ac_ext <<_ACEOF | |
2967 /* end confdefs.h. */ | 4096 /* end confdefs.h. */ |
2968 #include <string.h> | 4097 #include <string.h> |
2969 | 4098 |
2970 _ACEOF | 4099 _ACEOF |
2971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2972 $EGREP "memchr" >/dev/null 2>&1; then | 4101 $EGREP "memchr" >/dev/null 2>&1; then : |
2973 : | 4102 |
2974 else | 4103 else |
2975 ac_cv_header_stdc=no | 4104 ac_cv_header_stdc=no |
2976 fi | 4105 fi |
2977 rm -f conftest* | 4106 rm -f conftest* |
2978 | 4107 |
2979 fi | 4108 fi |
2980 | 4109 |
2981 if test $ac_cv_header_stdc = yes; then | 4110 if test $ac_cv_header_stdc = yes; then |
2982 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4111 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2983 cat >conftest.$ac_ext <<_ACEOF | 4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2984 #line $LINENO "configure" | |
2985 /* confdefs.h. */ | |
2986 _ACEOF | |
2987 cat confdefs.h >>conftest.$ac_ext | |
2988 cat >>conftest.$ac_ext <<_ACEOF | |
2989 /* end confdefs.h. */ | 4113 /* end confdefs.h. */ |
2990 #include <stdlib.h> | 4114 #include <stdlib.h> |
2991 | 4115 |
2992 _ACEOF | 4116 _ACEOF |
2993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2994 $EGREP "free" >/dev/null 2>&1; then | 4118 $EGREP "free" >/dev/null 2>&1; then : |
2995 : | 4119 |
2996 else | 4120 else |
2997 ac_cv_header_stdc=no | 4121 ac_cv_header_stdc=no |
2998 fi | 4122 fi |
2999 rm -f conftest* | 4123 rm -f conftest* |
3000 | 4124 |
3001 fi | 4125 fi |
3002 | 4126 |
3003 if test $ac_cv_header_stdc = yes; then | 4127 if test $ac_cv_header_stdc = yes; then |
3004 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4128 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3005 if test "$cross_compiling" = yes; then | 4129 if test "$cross_compiling" = yes; then : |
3006 : | 4130 : |
3007 else | 4131 else |
3008 cat >conftest.$ac_ext <<_ACEOF | 4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3009 #line $LINENO "configure" | |
3010 /* confdefs.h. */ | |
3011 _ACEOF | |
3012 cat confdefs.h >>conftest.$ac_ext | |
3013 cat >>conftest.$ac_ext <<_ACEOF | |
3014 /* end confdefs.h. */ | 4133 /* end confdefs.h. */ |
3015 #include <ctype.h> | 4134 #include <ctype.h> |
4135 #include <stdlib.h> | |
3016 #if ((' ' & 0x0FF) == 0x020) | 4136 #if ((' ' & 0x0FF) == 0x020) |
3017 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4137 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3018 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 4138 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3019 #else | 4139 #else |
3020 # define ISLOWER(c) \ | 4140 # define ISLOWER(c) \ |
3021 (('a' <= (c) && (c) <= 'i') \ | 4141 (('a' <= (c) && (c) <= 'i') \ |
3022 || ('j' <= (c) && (c) <= 'r') \ | 4142 || ('j' <= (c) && (c) <= 'r') \ |
3023 || ('s' <= (c) && (c) <= 'z')) | 4143 || ('s' <= (c) && (c) <= 'z')) |
3024 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 4144 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
3025 #endif | 4145 #endif |
3026 | 4146 |
3027 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 4147 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3028 int | 4148 int |
3029 main () | 4149 main () |
3030 { | 4150 { |
3031 int i; | 4151 int i; |
3032 for (i = 0; i < 256; i++) | 4152 for (i = 0; i < 256; i++) |
3033 if (XOR (islower (i), ISLOWER (i)) | 4153 if (XOR (islower (i), ISLOWER (i)) |
3034 || toupper (i) != TOUPPER (i)) | 4154 || toupper (i) != TOUPPER (i)) |
3035 exit(2); | 4155 return 2; |
3036 exit (0); | 4156 return 0; |
3037 } | 4157 } |
3038 _ACEOF | 4158 _ACEOF |
3039 rm -f conftest$ac_exeext | 4159 if ac_fn_c_try_run "$LINENO"; then : |
3040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4160 |
3041 (eval $ac_link) 2>&5 | 4161 else |
3042 ac_status=$? | 4162 ac_cv_header_stdc=no |
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4163 fi |
3044 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 4164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4165 conftest.$ac_objext conftest.beam conftest.$ac_ext |
3046 (eval $ac_try) 2>&5 | 4166 fi |
3047 ac_status=$? | 4167 |
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4168 fi |
3049 (exit $ac_status); }; }; then | 4169 fi |
3050 : | 4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
3051 else | 4171 $as_echo "$ac_cv_header_stdc" >&6; } |
3052 echo "$as_me: program exited with status $ac_status" >&5 | |
3053 echo "$as_me: failed program was:" >&5 | |
3054 sed 's/^/| /' conftest.$ac_ext >&5 | |
3055 | |
3056 ( exit $ac_status ) | |
3057 ac_cv_header_stdc=no | |
3058 fi | |
3059 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
3060 fi | |
3061 fi | |
3062 fi | |
3063 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
3064 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | |
3065 if test $ac_cv_header_stdc = yes; then | 4172 if test $ac_cv_header_stdc = yes; then |
3066 | 4173 |
3067 cat >>confdefs.h <<\_ACEOF | 4174 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
3068 #define STDC_HEADERS 1 | |
3069 _ACEOF | |
3070 | 4175 |
3071 fi | 4176 fi |
3072 | 4177 |
3073 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4178 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3074 | |
3075 | |
3076 | |
3077 | |
3078 | |
3079 | |
3080 | |
3081 | |
3082 | |
3083 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4179 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3084 inttypes.h stdint.h unistd.h | 4180 inttypes.h stdint.h unistd.h |
3085 do | 4181 do : |
3086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3087 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 4183 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
3088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 4184 " |
3089 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 4185 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3090 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3091 else | |
3092 cat >conftest.$ac_ext <<_ACEOF | |
3093 #line $LINENO "configure" | |
3094 /* confdefs.h. */ | |
3095 _ACEOF | |
3096 cat confdefs.h >>conftest.$ac_ext | |
3097 cat >>conftest.$ac_ext <<_ACEOF | |
3098 /* end confdefs.h. */ | |
3099 $ac_includes_default | |
3100 | |
3101 #include <$ac_header> | |
3102 _ACEOF | |
3103 rm -f conftest.$ac_objext | |
3104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3105 (eval $ac_compile) 2>&5 | |
3106 ac_status=$? | |
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3108 (exit $ac_status); } && | |
3109 { ac_try='test -s conftest.$ac_objext' | |
3110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3111 (eval $ac_try) 2>&5 | |
3112 ac_status=$? | |
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3114 (exit $ac_status); }; }; then | |
3115 eval "$as_ac_Header=yes" | |
3116 else | |
3117 echo "$as_me: failed program was:" >&5 | |
3118 sed 's/^/| /' conftest.$ac_ext >&5 | |
3119 | |
3120 eval "$as_ac_Header=no" | |
3121 fi | |
3122 rm -f conftest.$ac_objext conftest.$ac_ext | |
3123 fi | |
3124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
3125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
3126 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
3127 cat >>confdefs.h <<_ACEOF | 4186 cat >>confdefs.h <<_ACEOF |
3128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4187 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3129 _ACEOF | 4188 _ACEOF |
3130 | 4189 |
3131 fi | 4190 fi |
3132 | 4191 |
3133 done | 4192 done |
3134 | 4193 |
3135 | 4194 |
3136 | |
3137 | |
3138 | |
3139 | |
3140 | |
3141 | |
3142 for ac_header in getopt.h elf.h fcntl.h unistd.h link.h sys/link.h | 4195 for ac_header in getopt.h elf.h fcntl.h unistd.h link.h sys/link.h |
3143 do | 4196 do : |
3144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4197 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3145 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 4198 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
3146 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 4199 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
3148 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
3149 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3150 fi | |
3151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
3152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
3153 else | |
3154 # Is the header compilable? | |
3155 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
3156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
3157 cat >conftest.$ac_ext <<_ACEOF | |
3158 #line $LINENO "configure" | |
3159 /* confdefs.h. */ | |
3160 _ACEOF | |
3161 cat confdefs.h >>conftest.$ac_ext | |
3162 cat >>conftest.$ac_ext <<_ACEOF | |
3163 /* end confdefs.h. */ | |
3164 $ac_includes_default | |
3165 #include <$ac_header> | |
3166 _ACEOF | |
3167 rm -f conftest.$ac_objext | |
3168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3169 (eval $ac_compile) 2>&5 | |
3170 ac_status=$? | |
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3172 (exit $ac_status); } && | |
3173 { ac_try='test -s conftest.$ac_objext' | |
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3175 (eval $ac_try) 2>&5 | |
3176 ac_status=$? | |
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3178 (exit $ac_status); }; }; then | |
3179 ac_header_compiler=yes | |
3180 else | |
3181 echo "$as_me: failed program was:" >&5 | |
3182 sed 's/^/| /' conftest.$ac_ext >&5 | |
3183 | |
3184 ac_header_compiler=no | |
3185 fi | |
3186 rm -f conftest.$ac_objext conftest.$ac_ext | |
3187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
3188 echo "${ECHO_T}$ac_header_compiler" >&6 | |
3189 | |
3190 # Is the header present? | |
3191 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
3192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
3193 cat >conftest.$ac_ext <<_ACEOF | |
3194 #line $LINENO "configure" | |
3195 /* confdefs.h. */ | |
3196 _ACEOF | |
3197 cat confdefs.h >>conftest.$ac_ext | |
3198 cat >>conftest.$ac_ext <<_ACEOF | |
3199 /* end confdefs.h. */ | |
3200 #include <$ac_header> | |
3201 _ACEOF | |
3202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3204 ac_status=$? | |
3205 grep -v '^ *+' conftest.er1 >conftest.err | |
3206 rm -f conftest.er1 | |
3207 cat conftest.err >&5 | |
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3209 (exit $ac_status); } >/dev/null; then | |
3210 if test -s conftest.err; then | |
3211 ac_cpp_err=$ac_c_preproc_warn_flag | |
3212 else | |
3213 ac_cpp_err= | |
3214 fi | |
3215 else | |
3216 ac_cpp_err=yes | |
3217 fi | |
3218 if test -z "$ac_cpp_err"; then | |
3219 ac_header_preproc=yes | |
3220 else | |
3221 echo "$as_me: failed program was:" >&5 | |
3222 sed 's/^/| /' conftest.$ac_ext >&5 | |
3223 | |
3224 ac_header_preproc=no | |
3225 fi | |
3226 rm -f conftest.err conftest.$ac_ext | |
3227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
3228 echo "${ECHO_T}$ac_header_preproc" >&6 | |
3229 | |
3230 # So? What about this header? | |
3231 case $ac_header_compiler:$ac_header_preproc in | |
3232 yes:no ) | |
3233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
3234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
3235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
3236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
3237 ( | |
3238 cat <<\_ASBOX | |
3239 ## ------------------------------------ ## | |
3240 ## Report this to bug-autoconf@gnu.org. ## | |
3241 ## ------------------------------------ ## | |
3242 _ASBOX | |
3243 ) | | |
3244 sed "s/^/$as_me: WARNING: /" >&2 | |
3245 ;; | |
3246 no:yes ) | |
3247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
3248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
3249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
3250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
3251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
3252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
3253 ( | |
3254 cat <<\_ASBOX | |
3255 ## ------------------------------------ ## | |
3256 ## Report this to bug-autoconf@gnu.org. ## | |
3257 ## ------------------------------------ ## | |
3258 _ASBOX | |
3259 ) | | |
3260 sed "s/^/$as_me: WARNING: /" >&2 | |
3261 ;; | |
3262 esac | |
3263 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
3264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
3265 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
3266 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3267 else | |
3268 eval "$as_ac_Header=$ac_header_preproc" | |
3269 fi | |
3270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
3271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
3272 | |
3273 fi | |
3274 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
3275 cat >>confdefs.h <<_ACEOF | 4200 cat >>confdefs.h <<_ACEOF |
3276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4201 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3277 _ACEOF | 4202 _ACEOF |
3278 | 4203 |
3279 fi | 4204 fi |
3280 | 4205 |
3281 done | 4206 done |
3282 | 4207 |
3283 | 4208 |
3284 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
3285 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 4210 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
3286 if test "${ac_cv_c_const+set}" = set; then | 4211 if ${ac_cv_c_const+:} false; then : |
3287 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4212 $as_echo_n "(cached) " >&6 |
3288 else | 4213 else |
3289 cat >conftest.$ac_ext <<_ACEOF | 4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3290 #line $LINENO "configure" | |
3291 /* confdefs.h. */ | |
3292 _ACEOF | |
3293 cat confdefs.h >>conftest.$ac_ext | |
3294 cat >>conftest.$ac_ext <<_ACEOF | |
3295 /* end confdefs.h. */ | 4215 /* end confdefs.h. */ |
3296 | 4216 |
3297 int | 4217 int |
3298 main () | 4218 main () |
3299 { | 4219 { |
3300 /* FIXME: Include the comments suggested by Paul. */ | 4220 /* FIXME: Include the comments suggested by Paul. */ |
3301 #ifndef __cplusplus | 4221 #ifndef __cplusplus |
3302 /* Ultrix mips cc rejects this. */ | 4222 /* Ultrix mips cc rejects this. */ |
3303 typedef int charset[2]; | 4223 typedef int charset[2]; |
3304 const charset x; | 4224 const charset cs; |
3305 /* SunOS 4.1.1 cc rejects this. */ | 4225 /* SunOS 4.1.1 cc rejects this. */ |
3306 char const *const *ccp; | 4226 char const *const *pcpcc; |
3307 char **p; | 4227 char **ppc; |
3308 /* NEC SVR4.0.2 mips cc rejects this. */ | 4228 /* NEC SVR4.0.2 mips cc rejects this. */ |
3309 struct point {int x, y;}; | 4229 struct point {int x, y;}; |
3310 static struct point const zero = {0,0}; | 4230 static struct point const zero = {0,0}; |
3311 /* AIX XL C 1.02.0.0 rejects this. | 4231 /* AIX XL C 1.02.0.0 rejects this. |
3312 It does not let you subtract one const X* pointer from another in | 4232 It does not let you subtract one const X* pointer from another in |
3313 an arm of an if-expression whose if-part is not a constant | 4233 an arm of an if-expression whose if-part is not a constant |
3314 expression */ | 4234 expression */ |
3315 const char *g = "string"; | 4235 const char *g = "string"; |
3316 ccp = &g + (g ? g-g : 0); | 4236 pcpcc = &g + (g ? g-g : 0); |
3317 /* HPUX 7.0 cc rejects these. */ | 4237 /* HPUX 7.0 cc rejects these. */ |
3318 ++ccp; | 4238 ++pcpcc; |
3319 p = (char**) ccp; | 4239 ppc = (char**) pcpcc; |
3320 ccp = (char const *const *) p; | 4240 pcpcc = (char const *const *) ppc; |
3321 { /* SCO 3.2v4 cc rejects this. */ | 4241 { /* SCO 3.2v4 cc rejects this. */ |
3322 char *t; | 4242 char *t; |
3323 char const *s = 0 ? (char *) 0 : (char const *) 0; | 4243 char const *s = 0 ? (char *) 0 : (char const *) 0; |
3324 | 4244 |
3325 *t++ = 0; | 4245 *t++ = 0; |
4246 if (s) return 0; | |
3326 } | 4247 } |
3327 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | 4248 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
3328 int x[] = {25, 17}; | 4249 int x[] = {25, 17}; |
3329 const int *foo = &x[0]; | 4250 const int *foo = &x[0]; |
3330 ++foo; | 4251 ++foo; |
3339 struct s { int j; const int *ap[3]; }; | 4260 struct s { int j; const int *ap[3]; }; |
3340 struct s *b; b->j = 5; | 4261 struct s *b; b->j = 5; |
3341 } | 4262 } |
3342 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 4263 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
3343 const int foo = 10; | 4264 const int foo = 10; |
4265 if (!foo) return 0; | |
3344 } | 4266 } |
4267 return !cs[0] && !zero.x; | |
3345 #endif | 4268 #endif |
3346 | 4269 |
3347 ; | 4270 ; |
3348 return 0; | 4271 return 0; |
3349 } | 4272 } |
3350 _ACEOF | 4273 _ACEOF |
3351 rm -f conftest.$ac_objext | 4274 if ac_fn_c_try_compile "$LINENO"; then : |
3352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3353 (eval $ac_compile) 2>&5 | |
3354 ac_status=$? | |
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3356 (exit $ac_status); } && | |
3357 { ac_try='test -s conftest.$ac_objext' | |
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3359 (eval $ac_try) 2>&5 | |
3360 ac_status=$? | |
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3362 (exit $ac_status); }; }; then | |
3363 ac_cv_c_const=yes | 4275 ac_cv_c_const=yes |
3364 else | 4276 else |
3365 echo "$as_me: failed program was:" >&5 | 4277 ac_cv_c_const=no |
3366 sed 's/^/| /' conftest.$ac_ext >&5 | 4278 fi |
3367 | 4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3368 ac_cv_c_const=no | 4280 fi |
3369 fi | 4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
3370 rm -f conftest.$ac_objext conftest.$ac_ext | 4282 $as_echo "$ac_cv_c_const" >&6; } |
3371 fi | |
3372 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | |
3373 echo "${ECHO_T}$ac_cv_c_const" >&6 | |
3374 if test $ac_cv_c_const = no; then | 4283 if test $ac_cv_c_const = no; then |
3375 | 4284 |
3376 cat >>confdefs.h <<\_ACEOF | 4285 $as_echo "#define const /**/" >>confdefs.h |
3377 #define const | 4286 |
3378 _ACEOF | 4287 fi |
3379 | 4288 |
3380 fi | 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
3381 | 4290 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
3382 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | 4291 if ${ac_cv_c_bigendian+:} false; then : |
3383 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | 4292 $as_echo_n "(cached) " >&6 |
3384 if test "${ac_cv_c_bigendian+set}" = set; then | 4293 else |
3385 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4294 ac_cv_c_bigendian=unknown |
3386 else | 4295 # See if we're dealing with a universal compiler. |
3387 # See if sys/param.h defines the BYTE_ORDER macro. | 4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3388 cat >conftest.$ac_ext <<_ACEOF | 4297 /* end confdefs.h. */ |
3389 #line $LINENO "configure" | 4298 #ifndef __APPLE_CC__ |
3390 /* confdefs.h. */ | 4299 not a universal capable compiler |
3391 _ACEOF | 4300 #endif |
3392 cat confdefs.h >>conftest.$ac_ext | 4301 typedef int dummy; |
3393 cat >>conftest.$ac_ext <<_ACEOF | 4302 |
4303 _ACEOF | |
4304 if ac_fn_c_try_compile "$LINENO"; then : | |
4305 | |
4306 # Check for potential -arch flags. It is not universal unless | |
4307 # there are at least two -arch flags with different values. | |
4308 ac_arch= | |
4309 ac_prev= | |
4310 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do | |
4311 if test -n "$ac_prev"; then | |
4312 case $ac_word in | |
4313 i?86 | x86_64 | ppc | ppc64) | |
4314 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then | |
4315 ac_arch=$ac_word | |
4316 else | |
4317 ac_cv_c_bigendian=universal | |
4318 break | |
4319 fi | |
4320 ;; | |
4321 esac | |
4322 ac_prev= | |
4323 elif test "x$ac_word" = "x-arch"; then | |
4324 ac_prev=arch | |
4325 fi | |
4326 done | |
4327 fi | |
4328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4329 if test $ac_cv_c_bigendian = unknown; then | |
4330 # See if sys/param.h defines the BYTE_ORDER macro. | |
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3394 /* end confdefs.h. */ | 4332 /* end confdefs.h. */ |
3395 #include <sys/types.h> | 4333 #include <sys/types.h> |
3396 #include <sys/param.h> | 4334 #include <sys/param.h> |
3397 | 4335 |
3398 int | 4336 int |
3399 main () | 4337 main () |
3400 { | 4338 { |
3401 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4339 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
3402 bogus endian macros | 4340 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
3403 #endif | 4341 && LITTLE_ENDIAN) |
4342 bogus endian macros | |
4343 #endif | |
3404 | 4344 |
3405 ; | 4345 ; |
3406 return 0; | 4346 return 0; |
3407 } | 4347 } |
3408 _ACEOF | 4348 _ACEOF |
3409 rm -f conftest.$ac_objext | 4349 if ac_fn_c_try_compile "$LINENO"; then : |
3410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3411 (eval $ac_compile) 2>&5 | |
3412 ac_status=$? | |
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3414 (exit $ac_status); } && | |
3415 { ac_try='test -s conftest.$ac_objext' | |
3416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3417 (eval $ac_try) 2>&5 | |
3418 ac_status=$? | |
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3420 (exit $ac_status); }; }; then | |
3421 # It does; now see whether it defined to BIG_ENDIAN or not. | 4350 # It does; now see whether it defined to BIG_ENDIAN or not. |
3422 cat >conftest.$ac_ext <<_ACEOF | 4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3423 #line $LINENO "configure" | |
3424 /* confdefs.h. */ | |
3425 _ACEOF | |
3426 cat confdefs.h >>conftest.$ac_ext | |
3427 cat >>conftest.$ac_ext <<_ACEOF | |
3428 /* end confdefs.h. */ | 4352 /* end confdefs.h. */ |
3429 #include <sys/types.h> | 4353 #include <sys/types.h> |
3430 #include <sys/param.h> | 4354 #include <sys/param.h> |
3431 | 4355 |
3432 int | 4356 int |
3433 main () | 4357 main () |
3434 { | 4358 { |
3435 #if BYTE_ORDER != BIG_ENDIAN | 4359 #if BYTE_ORDER != BIG_ENDIAN |
3436 not big endian | 4360 not big endian |
3437 #endif | 4361 #endif |
3438 | 4362 |
3439 ; | 4363 ; |
3440 return 0; | 4364 return 0; |
3441 } | 4365 } |
3442 _ACEOF | 4366 _ACEOF |
3443 rm -f conftest.$ac_objext | 4367 if ac_fn_c_try_compile "$LINENO"; then : |
3444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3445 (eval $ac_compile) 2>&5 | |
3446 ac_status=$? | |
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3448 (exit $ac_status); } && | |
3449 { ac_try='test -s conftest.$ac_objext' | |
3450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3451 (eval $ac_try) 2>&5 | |
3452 ac_status=$? | |
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3454 (exit $ac_status); }; }; then | |
3455 ac_cv_c_bigendian=yes | 4368 ac_cv_c_bigendian=yes |
3456 else | 4369 else |
3457 echo "$as_me: failed program was:" >&5 | 4370 ac_cv_c_bigendian=no |
3458 sed 's/^/| /' conftest.$ac_ext >&5 | 4371 fi |
3459 | 4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3460 ac_cv_c_bigendian=no | 4373 fi |
3461 fi | 4374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3462 rm -f conftest.$ac_objext conftest.$ac_ext | 4375 fi |
3463 else | 4376 if test $ac_cv_c_bigendian = unknown; then |
3464 echo "$as_me: failed program was:" >&5 | 4377 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
3465 sed 's/^/| /' conftest.$ac_ext >&5 | 4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3466 | |
3467 # It does not; compile a test program. | |
3468 if test "$cross_compiling" = yes; then | |
3469 # try to guess the endianness by grepping values into an object file | |
3470 ac_cv_c_bigendian=unknown | |
3471 cat >conftest.$ac_ext <<_ACEOF | |
3472 #line $LINENO "configure" | |
3473 /* confdefs.h. */ | |
3474 _ACEOF | |
3475 cat confdefs.h >>conftest.$ac_ext | |
3476 cat >>conftest.$ac_ext <<_ACEOF | |
3477 /* end confdefs.h. */ | 4379 /* end confdefs.h. */ |
3478 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 4380 #include <limits.h> |
3479 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 4381 |
3480 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | |
3481 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | |
3482 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | |
3483 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | |
3484 int | 4382 int |
3485 main () | 4383 main () |
3486 { | 4384 { |
3487 _ascii (); _ebcdic (); | 4385 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
4386 bogus endian macros | |
4387 #endif | |
4388 | |
3488 ; | 4389 ; |
3489 return 0; | 4390 return 0; |
3490 } | 4391 } |
3491 _ACEOF | 4392 _ACEOF |
3492 rm -f conftest.$ac_objext | 4393 if ac_fn_c_try_compile "$LINENO"; then : |
3493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4394 # It does; now see whether it defined to _BIG_ENDIAN or not. |
3494 (eval $ac_compile) 2>&5 | 4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3495 ac_status=$? | |
3496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3497 (exit $ac_status); } && | |
3498 { ac_try='test -s conftest.$ac_objext' | |
3499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3500 (eval $ac_try) 2>&5 | |
3501 ac_status=$? | |
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3503 (exit $ac_status); }; }; then | |
3504 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | |
3505 ac_cv_c_bigendian=yes | |
3506 fi | |
3507 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | |
3508 if test "$ac_cv_c_bigendian" = unknown; then | |
3509 ac_cv_c_bigendian=no | |
3510 else | |
3511 # finding both strings is unlikely to happen, but who knows? | |
3512 ac_cv_c_bigendian=unknown | |
3513 fi | |
3514 fi | |
3515 else | |
3516 echo "$as_me: failed program was:" >&5 | |
3517 sed 's/^/| /' conftest.$ac_ext >&5 | |
3518 | |
3519 fi | |
3520 rm -f conftest.$ac_objext conftest.$ac_ext | |
3521 else | |
3522 cat >conftest.$ac_ext <<_ACEOF | |
3523 #line $LINENO "configure" | |
3524 /* confdefs.h. */ | |
3525 _ACEOF | |
3526 cat confdefs.h >>conftest.$ac_ext | |
3527 cat >>conftest.$ac_ext <<_ACEOF | |
3528 /* end confdefs.h. */ | 4396 /* end confdefs.h. */ |
4397 #include <limits.h> | |
4398 | |
3529 int | 4399 int |
3530 main () | 4400 main () |
3531 { | 4401 { |
3532 /* Are we little or big endian? From Harbison&Steele. */ | 4402 #ifndef _BIG_ENDIAN |
3533 union | 4403 not big endian |
3534 { | 4404 #endif |
3535 long l; | 4405 |
3536 char c[sizeof (long)]; | 4406 ; |
3537 } u; | 4407 return 0; |
3538 u.l = 1; | |
3539 exit (u.c[sizeof (long) - 1] == 1); | |
3540 } | 4408 } |
3541 _ACEOF | 4409 _ACEOF |
3542 rm -f conftest$ac_exeext | 4410 if ac_fn_c_try_compile "$LINENO"; then : |
3543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4411 ac_cv_c_bigendian=yes |
3544 (eval $ac_link) 2>&5 | 4412 else |
3545 ac_status=$? | |
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3547 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3549 (eval $ac_try) 2>&5 | |
3550 ac_status=$? | |
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3552 (exit $ac_status); }; }; then | |
3553 ac_cv_c_bigendian=no | 4413 ac_cv_c_bigendian=no |
3554 else | 4414 fi |
3555 echo "$as_me: program exited with status $ac_status" >&5 | 4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3556 echo "$as_me: failed program was:" >&5 | 4416 fi |
3557 sed 's/^/| /' conftest.$ac_ext >&5 | 4417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3558 | 4418 fi |
3559 ( exit $ac_status ) | 4419 if test $ac_cv_c_bigendian = unknown; then |
3560 ac_cv_c_bigendian=yes | 4420 # Compile a test program. |
3561 fi | 4421 if test "$cross_compiling" = yes; then : |
3562 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 4422 # Try to guess by grepping values from an object file. |
3563 fi | 4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3564 fi | 4424 /* end confdefs.h. */ |
3565 rm -f conftest.$ac_objext conftest.$ac_ext | 4425 short int ascii_mm[] = |
3566 fi | 4426 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
3567 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | 4427 short int ascii_ii[] = |
3568 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | 4428 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
3569 case $ac_cv_c_bigendian in | 4429 int use_ascii (int i) { |
3570 yes) | 4430 return ascii_mm[i] + ascii_ii[i]; |
3571 | 4431 } |
3572 cat >>confdefs.h <<\_ACEOF | 4432 short int ebcdic_ii[] = |
3573 #define WORDS_BIGENDIAN 1 | 4433 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
3574 _ACEOF | 4434 short int ebcdic_mm[] = |
3575 ;; | 4435 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
3576 no) | 4436 int use_ebcdic (int i) { |
3577 ;; | 4437 return ebcdic_mm[i] + ebcdic_ii[i]; |
3578 *) | 4438 } |
3579 { { echo "$as_me:$LINENO: error: unknown endianness | 4439 extern int foo; |
3580 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | 4440 |
3581 echo "$as_me: error: unknown endianness | 4441 int |
3582 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | 4442 main () |
3583 { (exit 1); exit 1; }; } ;; | 4443 { |
3584 esac | 4444 return use_ascii (foo) == use_ebcdic (foo); |
3585 | 4445 ; |
3586 echo "$as_me:$LINENO: checking for void *" >&5 | 4446 return 0; |
3587 echo $ECHO_N "checking for void *... $ECHO_C" >&6 | 4447 } |
3588 if test "${ac_cv_type_void_p+set}" = set; then | 4448 _ACEOF |
3589 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4449 if ac_fn_c_try_compile "$LINENO"; then : |
3590 else | 4450 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
3591 cat >conftest.$ac_ext <<_ACEOF | 4451 ac_cv_c_bigendian=yes |
3592 #line $LINENO "configure" | 4452 fi |
3593 /* confdefs.h. */ | 4453 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
3594 _ACEOF | 4454 if test "$ac_cv_c_bigendian" = unknown; then |
3595 cat confdefs.h >>conftest.$ac_ext | 4455 ac_cv_c_bigendian=no |
3596 cat >>conftest.$ac_ext <<_ACEOF | 4456 else |
4457 # finding both strings is unlikely to happen, but who knows? | |
4458 ac_cv_c_bigendian=unknown | |
4459 fi | |
4460 fi | |
4461 fi | |
4462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4463 else | |
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3597 /* end confdefs.h. */ | 4465 /* end confdefs.h. */ |
3598 $ac_includes_default | 4466 $ac_includes_default |
3599 int | 4467 int |
3600 main () | 4468 main () |
3601 { | 4469 { |
3602 if ((void * *) 0) | 4470 |
3603 return 0; | 4471 /* Are we little or big endian? From Harbison&Steele. */ |
3604 if (sizeof (void *)) | 4472 union |
3605 return 0; | 4473 { |
4474 long int l; | |
4475 char c[sizeof (long int)]; | |
4476 } u; | |
4477 u.l = 1; | |
4478 return u.c[sizeof (long int) - 1] == 1; | |
4479 | |
3606 ; | 4480 ; |
3607 return 0; | 4481 return 0; |
3608 } | 4482 } |
3609 _ACEOF | 4483 _ACEOF |
3610 rm -f conftest.$ac_objext | 4484 if ac_fn_c_try_run "$LINENO"; then : |
3611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4485 ac_cv_c_bigendian=no |
3612 (eval $ac_compile) 2>&5 | 4486 else |
3613 ac_status=$? | 4487 ac_cv_c_bigendian=yes |
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4488 fi |
3615 (exit $ac_status); } && | 4489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
3616 { ac_try='test -s conftest.$ac_objext' | 4490 conftest.$ac_objext conftest.beam conftest.$ac_ext |
3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4491 fi |
3618 (eval $ac_try) 2>&5 | 4492 |
3619 ac_status=$? | 4493 fi |
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4494 fi |
3621 (exit $ac_status); }; }; then | 4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
3622 ac_cv_type_void_p=yes | 4496 $as_echo "$ac_cv_c_bigendian" >&6; } |
3623 else | 4497 case $ac_cv_c_bigendian in #( |
3624 echo "$as_me: failed program was:" >&5 | 4498 yes) |
3625 sed 's/^/| /' conftest.$ac_ext >&5 | 4499 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
3626 | 4500 ;; #( |
3627 ac_cv_type_void_p=no | 4501 no) |
3628 fi | 4502 ;; #( |
3629 rm -f conftest.$ac_objext conftest.$ac_ext | 4503 universal) |
3630 fi | 4504 |
3631 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5 | 4505 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
3632 echo "${ECHO_T}$ac_cv_type_void_p" >&6 | 4506 |
3633 | 4507 ;; #( |
3634 echo "$as_me:$LINENO: checking size of void *" >&5 | 4508 *) |
3635 echo $ECHO_N "checking size of void *... $ECHO_C" >&6 | 4509 as_fn_error $? "unknown endianness |
3636 if test "${ac_cv_sizeof_void_p+set}" = set; then | 4510 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
3637 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4511 esac |
3638 else | |
3639 if test "$ac_cv_type_void_p" = yes; then | |
3640 # The cast to unsigned long works around a bug in the HP C Compiler | |
3641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | |
3642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | |
3643 # This bug is HP SR number 8606223364. | |
3644 if test "$cross_compiling" = yes; then | |
3645 # Depending upon the size, compute the lo and hi bounds. | |
3646 cat >conftest.$ac_ext <<_ACEOF | |
3647 #line $LINENO "configure" | |
3648 /* confdefs.h. */ | |
3649 _ACEOF | |
3650 cat confdefs.h >>conftest.$ac_ext | |
3651 cat >>conftest.$ac_ext <<_ACEOF | |
3652 /* end confdefs.h. */ | |
3653 $ac_includes_default | |
3654 int | |
3655 main () | |
3656 { | |
3657 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)]; | |
3658 test_array [0] = 0 | |
3659 | |
3660 ; | |
3661 return 0; | |
3662 } | |
3663 _ACEOF | |
3664 rm -f conftest.$ac_objext | |
3665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3666 (eval $ac_compile) 2>&5 | |
3667 ac_status=$? | |
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3669 (exit $ac_status); } && | |
3670 { ac_try='test -s conftest.$ac_objext' | |
3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3672 (eval $ac_try) 2>&5 | |
3673 ac_status=$? | |
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3675 (exit $ac_status); }; }; then | |
3676 ac_lo=0 ac_mid=0 | |
3677 while :; do | |
3678 cat >conftest.$ac_ext <<_ACEOF | |
3679 #line $LINENO "configure" | |
3680 /* confdefs.h. */ | |
3681 _ACEOF | |
3682 cat confdefs.h >>conftest.$ac_ext | |
3683 cat >>conftest.$ac_ext <<_ACEOF | |
3684 /* end confdefs.h. */ | |
3685 $ac_includes_default | |
3686 int | |
3687 main () | |
3688 { | |
3689 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; | |
3690 test_array [0] = 0 | |
3691 | |
3692 ; | |
3693 return 0; | |
3694 } | |
3695 _ACEOF | |
3696 rm -f conftest.$ac_objext | |
3697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3698 (eval $ac_compile) 2>&5 | |
3699 ac_status=$? | |
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3701 (exit $ac_status); } && | |
3702 { ac_try='test -s conftest.$ac_objext' | |
3703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3704 (eval $ac_try) 2>&5 | |
3705 ac_status=$? | |
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3707 (exit $ac_status); }; }; then | |
3708 ac_hi=$ac_mid; break | |
3709 else | |
3710 echo "$as_me: failed program was:" >&5 | |
3711 sed 's/^/| /' conftest.$ac_ext >&5 | |
3712 | |
3713 ac_lo=`expr $ac_mid + 1` | |
3714 if test $ac_lo -le $ac_mid; then | |
3715 ac_lo= ac_hi= | |
3716 break | |
3717 fi | |
3718 ac_mid=`expr 2 '*' $ac_mid + 1` | |
3719 fi | |
3720 rm -f conftest.$ac_objext conftest.$ac_ext | |
3721 done | |
3722 else | |
3723 echo "$as_me: failed program was:" >&5 | |
3724 sed 's/^/| /' conftest.$ac_ext >&5 | |
3725 | |
3726 cat >conftest.$ac_ext <<_ACEOF | |
3727 #line $LINENO "configure" | |
3728 /* confdefs.h. */ | |
3729 _ACEOF | |
3730 cat confdefs.h >>conftest.$ac_ext | |
3731 cat >>conftest.$ac_ext <<_ACEOF | |
3732 /* end confdefs.h. */ | |
3733 $ac_includes_default | |
3734 int | |
3735 main () | |
3736 { | |
3737 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)]; | |
3738 test_array [0] = 0 | |
3739 | |
3740 ; | |
3741 return 0; | |
3742 } | |
3743 _ACEOF | |
3744 rm -f conftest.$ac_objext | |
3745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3746 (eval $ac_compile) 2>&5 | |
3747 ac_status=$? | |
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3749 (exit $ac_status); } && | |
3750 { ac_try='test -s conftest.$ac_objext' | |
3751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3752 (eval $ac_try) 2>&5 | |
3753 ac_status=$? | |
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3755 (exit $ac_status); }; }; then | |
3756 ac_hi=-1 ac_mid=-1 | |
3757 while :; do | |
3758 cat >conftest.$ac_ext <<_ACEOF | |
3759 #line $LINENO "configure" | |
3760 /* confdefs.h. */ | |
3761 _ACEOF | |
3762 cat confdefs.h >>conftest.$ac_ext | |
3763 cat >>conftest.$ac_ext <<_ACEOF | |
3764 /* end confdefs.h. */ | |
3765 $ac_includes_default | |
3766 int | |
3767 main () | |
3768 { | |
3769 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)]; | |
3770 test_array [0] = 0 | |
3771 | |
3772 ; | |
3773 return 0; | |
3774 } | |
3775 _ACEOF | |
3776 rm -f conftest.$ac_objext | |
3777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3778 (eval $ac_compile) 2>&5 | |
3779 ac_status=$? | |
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3781 (exit $ac_status); } && | |
3782 { ac_try='test -s conftest.$ac_objext' | |
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3784 (eval $ac_try) 2>&5 | |
3785 ac_status=$? | |
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3787 (exit $ac_status); }; }; then | |
3788 ac_lo=$ac_mid; break | |
3789 else | |
3790 echo "$as_me: failed program was:" >&5 | |
3791 sed 's/^/| /' conftest.$ac_ext >&5 | |
3792 | |
3793 ac_hi=`expr '(' $ac_mid ')' - 1` | |
3794 if test $ac_mid -le $ac_hi; then | |
3795 ac_lo= ac_hi= | |
3796 break | |
3797 fi | |
3798 ac_mid=`expr 2 '*' $ac_mid` | |
3799 fi | |
3800 rm -f conftest.$ac_objext conftest.$ac_ext | |
3801 done | |
3802 else | |
3803 echo "$as_me: failed program was:" >&5 | |
3804 sed 's/^/| /' conftest.$ac_ext >&5 | |
3805 | |
3806 ac_lo= ac_hi= | |
3807 fi | |
3808 rm -f conftest.$ac_objext conftest.$ac_ext | |
3809 fi | |
3810 rm -f conftest.$ac_objext conftest.$ac_ext | |
3811 # Binary search between lo and hi bounds. | |
3812 while test "x$ac_lo" != "x$ac_hi"; do | |
3813 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | |
3814 cat >conftest.$ac_ext <<_ACEOF | |
3815 #line $LINENO "configure" | |
3816 /* confdefs.h. */ | |
3817 _ACEOF | |
3818 cat confdefs.h >>conftest.$ac_ext | |
3819 cat >>conftest.$ac_ext <<_ACEOF | |
3820 /* end confdefs.h. */ | |
3821 $ac_includes_default | |
3822 int | |
3823 main () | |
3824 { | |
3825 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; | |
3826 test_array [0] = 0 | |
3827 | |
3828 ; | |
3829 return 0; | |
3830 } | |
3831 _ACEOF | |
3832 rm -f conftest.$ac_objext | |
3833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3834 (eval $ac_compile) 2>&5 | |
3835 ac_status=$? | |
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3837 (exit $ac_status); } && | |
3838 { ac_try='test -s conftest.$ac_objext' | |
3839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3840 (eval $ac_try) 2>&5 | |
3841 ac_status=$? | |
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3843 (exit $ac_status); }; }; then | |
3844 ac_hi=$ac_mid | |
3845 else | |
3846 echo "$as_me: failed program was:" >&5 | |
3847 sed 's/^/| /' conftest.$ac_ext >&5 | |
3848 | |
3849 ac_lo=`expr '(' $ac_mid ')' + 1` | |
3850 fi | |
3851 rm -f conftest.$ac_objext conftest.$ac_ext | |
3852 done | |
3853 case $ac_lo in | |
3854 ?*) ac_cv_sizeof_void_p=$ac_lo;; | |
3855 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 | |
3856 See \`config.log' for more details." >&5 | |
3857 echo "$as_me: error: cannot compute sizeof (void *), 77 | |
3858 See \`config.log' for more details." >&2;} | |
3859 { (exit 1); exit 1; }; } ;; | |
3860 esac | |
3861 else | |
3862 if test "$cross_compiling" = yes; then | |
3863 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | |
3864 See \`config.log' for more details." >&5 | |
3865 echo "$as_me: error: cannot run test program while cross compiling | |
3866 See \`config.log' for more details." >&2;} | |
3867 { (exit 1); exit 1; }; } | |
3868 else | |
3869 cat >conftest.$ac_ext <<_ACEOF | |
3870 #line $LINENO "configure" | |
3871 /* confdefs.h. */ | |
3872 _ACEOF | |
3873 cat confdefs.h >>conftest.$ac_ext | |
3874 cat >>conftest.$ac_ext <<_ACEOF | |
3875 /* end confdefs.h. */ | |
3876 $ac_includes_default | |
3877 long longval () { return (long) (sizeof (void *)); } | |
3878 unsigned long ulongval () { return (long) (sizeof (void *)); } | |
3879 #include <stdio.h> | |
3880 #include <stdlib.h> | |
3881 int | |
3882 main () | |
3883 { | |
3884 | |
3885 FILE *f = fopen ("conftest.val", "w"); | |
3886 if (! f) | |
3887 exit (1); | |
3888 if (((long) (sizeof (void *))) < 0) | |
3889 { | |
3890 long i = longval (); | |
3891 if (i != ((long) (sizeof (void *)))) | |
3892 exit (1); | |
3893 fprintf (f, "%ld\n", i); | |
3894 } | |
3895 else | |
3896 { | |
3897 unsigned long i = ulongval (); | |
3898 if (i != ((long) (sizeof (void *)))) | |
3899 exit (1); | |
3900 fprintf (f, "%lu\n", i); | |
3901 } | |
3902 exit (ferror (f) || fclose (f) != 0); | |
3903 | |
3904 ; | |
3905 return 0; | |
3906 } | |
3907 _ACEOF | |
3908 rm -f conftest$ac_exeext | |
3909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
3910 (eval $ac_link) 2>&5 | |
3911 ac_status=$? | |
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3915 (eval $ac_try) 2>&5 | |
3916 ac_status=$? | |
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3918 (exit $ac_status); }; }; then | |
3919 ac_cv_sizeof_void_p=`cat conftest.val` | |
3920 else | |
3921 echo "$as_me: program exited with status $ac_status" >&5 | |
3922 echo "$as_me: failed program was:" >&5 | |
3923 sed 's/^/| /' conftest.$ac_ext >&5 | |
3924 | |
3925 ( exit $ac_status ) | |
3926 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77 | |
3927 See \`config.log' for more details." >&5 | |
3928 echo "$as_me: error: cannot compute sizeof (void *), 77 | |
3929 See \`config.log' for more details." >&2;} | |
3930 { (exit 1); exit 1; }; } | |
3931 fi | |
3932 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
3933 fi | |
3934 fi | |
3935 rm -f conftest.val | |
3936 else | |
3937 ac_cv_sizeof_void_p=0 | |
3938 fi | |
3939 fi | |
3940 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 | |
3941 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6 | |
3942 cat >>confdefs.h <<_ACEOF | |
3943 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p | |
3944 _ACEOF | |
3945 | |
3946 | |
3947 | 4512 |
3948 | 4513 |
3949 for ac_func in getopt_long | 4514 for ac_func in getopt_long |
3950 do | 4515 do : |
3951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4516 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" |
3952 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 4517 if test "x$ac_cv_func_getopt_long" = xyes; then : |
3953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
3954 if eval "test \"\${$as_ac_var+set}\" = set"; then | |
3955 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3956 else | |
3957 cat >conftest.$ac_ext <<_ACEOF | |
3958 #line $LINENO "configure" | |
3959 /* confdefs.h. */ | |
3960 _ACEOF | |
3961 cat confdefs.h >>conftest.$ac_ext | |
3962 cat >>conftest.$ac_ext <<_ACEOF | |
3963 /* end confdefs.h. */ | |
3964 /* System header to define __stub macros and hopefully few prototypes, | |
3965 which can conflict with char $ac_func (); below. | |
3966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3967 <limits.h> exists even on freestanding compilers. */ | |
3968 #ifdef __STDC__ | |
3969 # include <limits.h> | |
3970 #else | |
3971 # include <assert.h> | |
3972 #endif | |
3973 /* Override any gcc2 internal prototype to avoid an error. */ | |
3974 #ifdef __cplusplus | |
3975 extern "C" | |
3976 { | |
3977 #endif | |
3978 /* We use char because int might match the return type of a gcc2 | |
3979 builtin and then its argument prototype would still apply. */ | |
3980 char $ac_func (); | |
3981 /* The GNU C library defines this for functions which it implements | |
3982 to always fail with ENOSYS. Some functions are actually named | |
3983 something starting with __ and the normal name is an alias. */ | |
3984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
3985 choke me | |
3986 #else | |
3987 char (*f) () = $ac_func; | |
3988 #endif | |
3989 #ifdef __cplusplus | |
3990 } | |
3991 #endif | |
3992 | |
3993 int | |
3994 main () | |
3995 { | |
3996 return f != $ac_func; | |
3997 ; | |
3998 return 0; | |
3999 } | |
4000 _ACEOF | |
4001 rm -f conftest.$ac_objext conftest$ac_exeext | |
4002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
4003 (eval $ac_link) 2>&5 | |
4004 ac_status=$? | |
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4006 (exit $ac_status); } && | |
4007 { ac_try='test -s conftest$ac_exeext' | |
4008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4009 (eval $ac_try) 2>&5 | |
4010 ac_status=$? | |
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4012 (exit $ac_status); }; }; then | |
4013 eval "$as_ac_var=yes" | |
4014 else | |
4015 echo "$as_me: failed program was:" >&5 | |
4016 sed 's/^/| /' conftest.$ac_ext >&5 | |
4017 | |
4018 eval "$as_ac_var=no" | |
4019 fi | |
4020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
4021 fi | |
4022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | |
4023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
4024 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
4025 cat >>confdefs.h <<_ACEOF | 4518 cat >>confdefs.h <<_ACEOF |
4026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 4519 #define HAVE_GETOPT_LONG 1 |
4027 _ACEOF | 4520 _ACEOF |
4028 | 4521 |
4029 fi | 4522 fi |
4030 done | 4523 done |
4031 | 4524 |
4056 | 4549 |
4057 done | 4550 done |
4058 fi | 4551 fi |
4059 | 4552 |
4060 | 4553 |
4061 # Check whether --with-coverage or --without-coverage was given. | 4554 # Check whether --with-coverage was given. |
4062 if test "${with_coverage+set}" = set; then | 4555 if test "${with_coverage+set}" = set; then : |
4063 withval="$with_coverage" | 4556 withval=$with_coverage; |
4064 | |
4065 case "$CFLAGS" in | 4557 case "$CFLAGS" in |
4066 "-g" | "-g "* | *" -g" | *" -g "* ) | 4558 "-g" | "-g "* | *" -g" | *" -g "* ) |
4067 : | 4559 : |
4068 ;; | 4560 ;; |
4069 *) | 4561 *) |
4088 CFLAGS="$CFLAGS -ftest-coverage" | 4580 CFLAGS="$CFLAGS -ftest-coverage" |
4089 ;; | 4581 ;; |
4090 esac | 4582 esac |
4091 | 4583 |
4092 | 4584 |
4093 fi; | 4585 fi |
4094 | 4586 |
4095 ac_config_files="$ac_config_files Makefile testsuite/Makefile deb/Makefile" | 4587 |
4588 ac_config_files="$ac_config_files Makefile testsuite/Makefile deb/Makefile" | |
4096 | 4589 |
4097 cat >confcache <<\_ACEOF | 4590 cat >confcache <<\_ACEOF |
4098 # This file is a shell script that caches the results of configure | 4591 # This file is a shell script that caches the results of configure |
4099 # tests run on this system so they can be shared between configure | 4592 # tests run on this system so they can be shared between configure |
4100 # scripts and configure runs, see configure's option --config-cache. | 4593 # scripts and configure runs, see configure's option --config-cache. |
4110 | 4603 |
4111 _ACEOF | 4604 _ACEOF |
4112 | 4605 |
4113 # The following way of writing the cache mishandles newlines in values, | 4606 # The following way of writing the cache mishandles newlines in values, |
4114 # but we know of no workaround that is simple, portable, and efficient. | 4607 # but we know of no workaround that is simple, portable, and efficient. |
4115 # So, don't put newlines in cache variables' values. | 4608 # So, we kill variables containing newlines. |
4116 # Ultrix sh set writes to stderr and can't be redirected directly, | 4609 # Ultrix sh set writes to stderr and can't be redirected directly, |
4117 # and sets the high bit in the cache file unless we assign to the vars. | 4610 # and sets the high bit in the cache file unless we assign to the vars. |
4118 { | 4611 ( |
4612 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
4613 eval ac_val=\$$ac_var | |
4614 case $ac_val in #( | |
4615 *${as_nl}*) | |
4616 case $ac_var in #( | |
4617 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
4618 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
4619 esac | |
4620 case $ac_var in #( | |
4621 _ | IFS | as_nl) ;; #( | |
4622 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
4623 *) { eval $ac_var=; unset $ac_var;} ;; | |
4624 esac ;; | |
4625 esac | |
4626 done | |
4627 | |
4119 (set) 2>&1 | | 4628 (set) 2>&1 | |
4120 case `(ac_space=' '; set | grep ac_space) 2>&1` in | 4629 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
4121 *ac_space=\ *) | 4630 *${as_nl}ac_space=\ *) |
4122 # `set' does not quote correctly, so add quotes (double-quote | 4631 # `set' does not quote correctly, so add quotes: double-quote |
4123 # substitution turns \\\\ into \\, and sed turns \\ into \). | 4632 # substitution turns \\\\ into \\, and sed turns \\ into \. |
4124 sed -n \ | 4633 sed -n \ |
4125 "s/'/'\\\\''/g; | 4634 "s/'/'\\\\''/g; |
4126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 4635 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
4127 ;; | 4636 ;; #( |
4128 *) | 4637 *) |
4129 # `set' quotes correctly as required by POSIX, so do not add quotes. | 4638 # `set' quotes correctly as required by POSIX, so do not add quotes. |
4130 sed -n \ | 4639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
4131 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
4132 ;; | 4640 ;; |
4133 esac; | 4641 esac | |
4134 } | | 4642 sort |
4643 ) | | |
4135 sed ' | 4644 sed ' |
4645 /^ac_cv_env_/b end | |
4136 t clear | 4646 t clear |
4137 : clear | 4647 :clear |
4138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 4648 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
4139 t end | 4649 t end |
4140 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 4650 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
4141 : end' >>confcache | 4651 :end' >>confcache |
4142 if diff $cache_file confcache >/dev/null 2>&1; then :; else | 4652 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
4143 if test -w $cache_file; then | 4653 if test -w "$cache_file"; then |
4144 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 4654 if test "x$cache_file" != "x/dev/null"; then |
4145 cat confcache >$cache_file | 4655 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
4656 $as_echo "$as_me: updating cache $cache_file" >&6;} | |
4657 if test ! -f "$cache_file" || test -h "$cache_file"; then | |
4658 cat confcache >"$cache_file" | |
4659 else | |
4660 case $cache_file in #( | |
4661 */* | ?:*) | |
4662 mv -f confcache "$cache_file"$$ && | |
4663 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
4664 *) | |
4665 mv -f confcache "$cache_file" ;; | |
4666 esac | |
4667 fi | |
4668 fi | |
4146 else | 4669 else |
4147 echo "not updating unwritable cache $cache_file" | 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
4671 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
4148 fi | 4672 fi |
4149 fi | 4673 fi |
4150 rm -f confcache | 4674 rm -f confcache |
4151 | 4675 |
4152 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 4676 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
4153 # Let make expand exec_prefix. | 4677 # Let make expand exec_prefix. |
4154 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 4678 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
4155 | 4679 |
4156 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
4157 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
4158 # trailing colons and then remove the whole line if VPATH becomes empty | |
4159 # (actually we leave an empty line to preserve line numbers). | |
4160 if test "x$srcdir" = x.; then | |
4161 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
4162 s/:*\$(srcdir):*/:/; | |
4163 s/:*\${srcdir}:*/:/; | |
4164 s/:*@srcdir@:*/:/; | |
4165 s/^\([^=]*=[ ]*\):*/\1/; | |
4166 s/:*$//; | |
4167 s/^[^=]*=[ ]*$//; | |
4168 }' | |
4169 fi | |
4170 | |
4171 DEFS=-DHAVE_CONFIG_H | 4680 DEFS=-DHAVE_CONFIG_H |
4172 | 4681 |
4173 ac_libobjs= | 4682 ac_libobjs= |
4174 ac_ltlibobjs= | 4683 ac_ltlibobjs= |
4684 U= | |
4175 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 4685 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
4176 # 1. Remove the extension, and $U if already installed. | 4686 # 1. Remove the extension, and $U if already installed. |
4177 ac_i=`echo "$ac_i" | | 4687 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
4178 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 4688 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
4179 # 2. Add them. | 4689 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
4180 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 4690 # will be set to the directory where LIBOBJS objects are built. |
4181 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 4691 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
4692 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
4182 done | 4693 done |
4183 LIBOBJS=$ac_libobjs | 4694 LIBOBJS=$ac_libobjs |
4184 | 4695 |
4185 LTLIBOBJS=$ac_ltlibobjs | 4696 LTLIBOBJS=$ac_ltlibobjs |
4186 | 4697 |
4187 | 4698 |
4188 | 4699 if test -n "$EXEEXT"; then |
4189 : ${CONFIG_STATUS=./config.status} | 4700 am__EXEEXT_TRUE= |
4701 am__EXEEXT_FALSE='#' | |
4702 else | |
4703 am__EXEEXT_TRUE='#' | |
4704 am__EXEEXT_FALSE= | |
4705 fi | |
4706 | |
4707 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then | |
4708 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. | |
4709 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
4710 fi | |
4711 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
4712 as_fn_error $? "conditional \"AMDEP\" was never defined. | |
4713 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
4714 fi | |
4715 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
4716 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
4717 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
4718 fi | |
4719 | |
4720 | |
4721 : "${CONFIG_STATUS=./config.status}" | |
4722 ac_write_fail=0 | |
4190 ac_clean_files_save=$ac_clean_files | 4723 ac_clean_files_save=$ac_clean_files |
4191 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 4724 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
4192 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 4725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
4193 echo "$as_me: creating $CONFIG_STATUS" >&6;} | 4726 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
4194 cat >$CONFIG_STATUS <<_ACEOF | 4727 as_write_fail=0 |
4728 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
4195 #! $SHELL | 4729 #! $SHELL |
4196 # Generated by $as_me. | 4730 # Generated by $as_me. |
4197 # Run this file to recreate the current configuration. | 4731 # Run this file to recreate the current configuration. |
4198 # Compiler output produced by configure, useful for debugging | 4732 # Compiler output produced by configure, useful for debugging |
4199 # configure, is in config.log if it exists. | 4733 # configure, is in config.log if it exists. |
4200 | 4734 |
4201 debug=false | 4735 debug=false |
4202 ac_cs_recheck=false | 4736 ac_cs_recheck=false |
4203 ac_cs_silent=false | 4737 ac_cs_silent=false |
4738 | |
4204 SHELL=\${CONFIG_SHELL-$SHELL} | 4739 SHELL=\${CONFIG_SHELL-$SHELL} |
4205 _ACEOF | 4740 export SHELL |
4206 | 4741 _ASEOF |
4207 cat >>$CONFIG_STATUS <<\_ACEOF | 4742 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
4208 ## --------------------- ## | 4743 ## -------------------- ## |
4209 ## M4sh Initialization. ## | 4744 ## M4sh Initialization. ## |
4210 ## --------------------- ## | 4745 ## -------------------- ## |
4211 | 4746 |
4212 # Be Bourne compatible | 4747 # Be more Bourne compatible |
4213 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 4748 DUALCASE=1; export DUALCASE # for MKS sh |
4749 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
4214 emulate sh | 4750 emulate sh |
4215 NULLCMD=: | 4751 NULLCMD=: |
4216 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 4752 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
4217 # is contrary to our usage. Disable this feature. | 4753 # is contrary to our usage. Disable this feature. |
4218 alias -g '${1+"$@"}'='"$@"' | 4754 alias -g '${1+"$@"}'='"$@"' |
4219 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 4755 setopt NO_GLOB_SUBST |
4220 set -o posix | 4756 else |
4221 fi | 4757 case `(set -o) 2>/dev/null` in #( |
4222 | 4758 *posix*) : |
4223 # Support unset when possible. | 4759 set -o posix ;; #( |
4224 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 4760 *) : |
4225 as_unset=unset | 4761 ;; |
4226 else | 4762 esac |
4227 as_unset=false | 4763 fi |
4228 fi | 4764 |
4229 | 4765 |
4230 | 4766 as_nl=' |
4231 # Work around bugs in pre-3.0 UWIN ksh. | 4767 ' |
4232 $as_unset ENV MAIL MAILPATH | 4768 export as_nl |
4769 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
4770 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
4771 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
4772 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
4773 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
4774 # but without wasting forks for bash or zsh. | |
4775 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
4776 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
4777 as_echo='print -r --' | |
4778 as_echo_n='print -rn --' | |
4779 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
4780 as_echo='printf %s\n' | |
4781 as_echo_n='printf %s' | |
4782 else | |
4783 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
4784 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
4785 as_echo_n='/usr/ucb/echo -n' | |
4786 else | |
4787 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
4788 as_echo_n_body='eval | |
4789 arg=$1; | |
4790 case $arg in #( | |
4791 *"$as_nl"*) | |
4792 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
4793 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
4794 esac; | |
4795 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
4796 ' | |
4797 export as_echo_n_body | |
4798 as_echo_n='sh -c $as_echo_n_body as_echo' | |
4799 fi | |
4800 export as_echo_body | |
4801 as_echo='sh -c $as_echo_body as_echo' | |
4802 fi | |
4803 | |
4804 # The user is always right. | |
4805 if test "${PATH_SEPARATOR+set}" != set; then | |
4806 PATH_SEPARATOR=: | |
4807 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
4808 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
4809 PATH_SEPARATOR=';' | |
4810 } | |
4811 fi | |
4812 | |
4813 | |
4814 # IFS | |
4815 # We need space, tab and new line, in precisely that order. Quoting is | |
4816 # there to prevent editors from complaining about space-tab. | |
4817 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
4818 # splitting by setting IFS to empty value.) | |
4819 IFS=" "" $as_nl" | |
4820 | |
4821 # Find who we are. Look in the path if we contain no directory separator. | |
4822 as_myself= | |
4823 case $0 in #(( | |
4824 *[\\/]* ) as_myself=$0 ;; | |
4825 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4826 for as_dir in $PATH | |
4827 do | |
4828 IFS=$as_save_IFS | |
4829 test -z "$as_dir" && as_dir=. | |
4830 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
4831 done | |
4832 IFS=$as_save_IFS | |
4833 | |
4834 ;; | |
4835 esac | |
4836 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
4837 # in which case we are not to be found in the path. | |
4838 if test "x$as_myself" = x; then | |
4839 as_myself=$0 | |
4840 fi | |
4841 if test ! -f "$as_myself"; then | |
4842 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
4843 exit 1 | |
4844 fi | |
4845 | |
4846 # Unset variables that we do not need and which cause bugs (e.g. in | |
4847 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
4848 # suppresses any "Segmentation fault" message there. '((' could | |
4849 # trigger a bug in pdksh 5.2.14. | |
4850 for as_var in BASH_ENV ENV MAIL MAILPATH | |
4851 do eval test x\${$as_var+set} = xset \ | |
4852 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
4853 done | |
4233 PS1='$ ' | 4854 PS1='$ ' |
4234 PS2='> ' | 4855 PS2='> ' |
4235 PS4='+ ' | 4856 PS4='+ ' |
4236 | 4857 |
4237 # NLS nuisances. | 4858 # NLS nuisances. |
4238 for as_var in \ | 4859 LC_ALL=C |
4239 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 4860 export LC_ALL |
4240 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 4861 LANGUAGE=C |
4241 LC_TELEPHONE LC_TIME | 4862 export LANGUAGE |
4242 do | 4863 |
4243 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | 4864 # CDPATH. |
4244 eval $as_var=C; export $as_var | 4865 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
4245 else | 4866 |
4246 $as_unset $as_var | 4867 |
4868 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
4869 # ---------------------------------------- | |
4870 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
4871 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
4872 # script with STATUS, using 1 if that was 0. | |
4873 as_fn_error () | |
4874 { | |
4875 as_status=$1; test $as_status -eq 0 && as_status=1 | |
4876 if test "$4"; then | |
4877 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
4878 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
4247 fi | 4879 fi |
4248 done | 4880 $as_echo "$as_me: error: $2" >&2 |
4249 | 4881 as_fn_exit $as_status |
4250 # Required to use basename. | 4882 } # as_fn_error |
4251 if expr a : '\(a\)' >/dev/null 2>&1; then | 4883 |
4884 | |
4885 # as_fn_set_status STATUS | |
4886 # ----------------------- | |
4887 # Set $? to STATUS, without forking. | |
4888 as_fn_set_status () | |
4889 { | |
4890 return $1 | |
4891 } # as_fn_set_status | |
4892 | |
4893 # as_fn_exit STATUS | |
4894 # ----------------- | |
4895 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
4896 as_fn_exit () | |
4897 { | |
4898 set +e | |
4899 as_fn_set_status $1 | |
4900 exit $1 | |
4901 } # as_fn_exit | |
4902 | |
4903 # as_fn_unset VAR | |
4904 # --------------- | |
4905 # Portably unset VAR. | |
4906 as_fn_unset () | |
4907 { | |
4908 { eval $1=; unset $1;} | |
4909 } | |
4910 as_unset=as_fn_unset | |
4911 # as_fn_append VAR VALUE | |
4912 # ---------------------- | |
4913 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
4914 # advantage of any shell optimizations that allow amortized linear growth over | |
4915 # repeated appends, instead of the typical quadratic growth present in naive | |
4916 # implementations. | |
4917 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
4918 eval 'as_fn_append () | |
4919 { | |
4920 eval $1+=\$2 | |
4921 }' | |
4922 else | |
4923 as_fn_append () | |
4924 { | |
4925 eval $1=\$$1\$2 | |
4926 } | |
4927 fi # as_fn_append | |
4928 | |
4929 # as_fn_arith ARG... | |
4930 # ------------------ | |
4931 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
4932 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
4933 # must be portable across $(()) and expr. | |
4934 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
4935 eval 'as_fn_arith () | |
4936 { | |
4937 as_val=$(( $* )) | |
4938 }' | |
4939 else | |
4940 as_fn_arith () | |
4941 { | |
4942 as_val=`expr "$@" || test $? -eq 1` | |
4943 } | |
4944 fi # as_fn_arith | |
4945 | |
4946 | |
4947 if expr a : '\(a\)' >/dev/null 2>&1 && | |
4948 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
4252 as_expr=expr | 4949 as_expr=expr |
4253 else | 4950 else |
4254 as_expr=false | 4951 as_expr=false |
4255 fi | 4952 fi |
4256 | 4953 |
4257 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 4954 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
4258 as_basename=basename | 4955 as_basename=basename |
4259 else | 4956 else |
4260 as_basename=false | 4957 as_basename=false |
4261 fi | 4958 fi |
4262 | 4959 |
4263 | 4960 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
4264 # Name of the executable. | 4961 as_dirname=dirname |
4265 as_me=`$as_basename "$0" || | 4962 else |
4963 as_dirname=false | |
4964 fi | |
4965 | |
4966 as_me=`$as_basename -- "$0" || | |
4266 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 4967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
4267 X"$0" : 'X\(//\)$' \| \ | 4968 X"$0" : 'X\(//\)$' \| \ |
4268 X"$0" : 'X\(/\)$' \| \ | 4969 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
4269 . : '\(.\)' 2>/dev/null || | 4970 $as_echo X/"$0" | |
4270 echo X/"$0" | | 4971 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
4271 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 4972 s//\1/ |
4272 /^X\/\(\/\/\)$/{ s//\1/; q; } | 4973 q |
4273 /^X\/\(\/\).*/{ s//\1/; q; } | 4974 } |
4274 s/.*/./; q'` | 4975 /^X\/\(\/\/\)$/{ |
4275 | 4976 s//\1/ |
4276 | 4977 q |
4277 # PATH needs CR, and LINENO needs CR and PATH. | 4978 } |
4979 /^X\/\(\/\).*/{ | |
4980 s//\1/ | |
4981 q | |
4982 } | |
4983 s/.*/./; q'` | |
4984 | |
4278 # Avoid depending upon Character Ranges. | 4985 # Avoid depending upon Character Ranges. |
4279 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 4986 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
4280 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 4987 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
4281 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 4988 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
4282 as_cr_digits='0123456789' | 4989 as_cr_digits='0123456789' |
4283 as_cr_alnum=$as_cr_Letters$as_cr_digits | 4990 as_cr_alnum=$as_cr_Letters$as_cr_digits |
4284 | 4991 |
4285 # The user is always right. | 4992 ECHO_C= ECHO_N= ECHO_T= |
4286 if test "${PATH_SEPARATOR+set}" != set; then | 4993 case `echo -n x` in #((((( |
4287 echo "#! /bin/sh" >conf$$.sh | 4994 -n*) |
4288 echo "exit 0" >>conf$$.sh | 4995 case `echo 'xy\c'` in |
4289 chmod +x conf$$.sh | 4996 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
4290 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 4997 xy) ECHO_C='\c';; |
4291 PATH_SEPARATOR=';' | 4998 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
4999 ECHO_T=' ';; | |
5000 esac;; | |
5001 *) | |
5002 ECHO_N='-n';; | |
5003 esac | |
5004 | |
5005 rm -f conf$$ conf$$.exe conf$$.file | |
5006 if test -d conf$$.dir; then | |
5007 rm -f conf$$.dir/conf$$.file | |
5008 else | |
5009 rm -f conf$$.dir | |
5010 mkdir conf$$.dir 2>/dev/null | |
5011 fi | |
5012 if (echo >conf$$.file) 2>/dev/null; then | |
5013 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
5014 as_ln_s='ln -s' | |
5015 # ... but there are two gotchas: | |
5016 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
5017 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
5018 # In both cases, we have to default to `cp -p'. | |
5019 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
5020 as_ln_s='cp -p' | |
5021 elif ln conf$$.file conf$$ 2>/dev/null; then | |
5022 as_ln_s=ln | |
4292 else | 5023 else |
4293 PATH_SEPARATOR=: | 5024 as_ln_s='cp -p' |
4294 fi | 5025 fi |
4295 rm -f conf$$.sh | 5026 else |
4296 fi | 5027 as_ln_s='cp -p' |
4297 | 5028 fi |
4298 | 5029 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4299 as_lineno_1=$LINENO | 5030 rmdir conf$$.dir 2>/dev/null |
4300 as_lineno_2=$LINENO | 5031 |
4301 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 5032 |
4302 test "x$as_lineno_1" != "x$as_lineno_2" && | 5033 # as_fn_mkdir_p |
4303 test "x$as_lineno_3" = "x$as_lineno_2" || { | 5034 # ------------- |
4304 # Find who we are. Look in the path if we contain no path at all | 5035 # Create "$as_dir" as a directory, including parents if necessary. |
4305 # relative or not. | 5036 as_fn_mkdir_p () |
4306 case $0 in | 5037 { |
4307 *[\\/]* ) as_myself=$0 ;; | 5038 |
4308 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5039 case $as_dir in #( |
4309 for as_dir in $PATH | 5040 -*) as_dir=./$as_dir;; |
5041 esac | |
5042 test -d "$as_dir" || eval $as_mkdir_p || { | |
5043 as_dirs= | |
5044 while :; do | |
5045 case $as_dir in #( | |
5046 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
5047 *) as_qdir=$as_dir;; | |
5048 esac | |
5049 as_dirs="'$as_qdir' $as_dirs" | |
5050 as_dir=`$as_dirname -- "$as_dir" || | |
5051 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5052 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
5053 X"$as_dir" : 'X\(//\)$' \| \ | |
5054 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
5055 $as_echo X"$as_dir" | | |
5056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5057 s//\1/ | |
5058 q | |
5059 } | |
5060 /^X\(\/\/\)[^/].*/{ | |
5061 s//\1/ | |
5062 q | |
5063 } | |
5064 /^X\(\/\/\)$/{ | |
5065 s//\1/ | |
5066 q | |
5067 } | |
5068 /^X\(\/\).*/{ | |
5069 s//\1/ | |
5070 q | |
5071 } | |
5072 s/.*/./; q'` | |
5073 test -d "$as_dir" && break | |
5074 done | |
5075 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
5076 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
5077 | |
5078 | |
5079 } # as_fn_mkdir_p | |
5080 if mkdir -p . 2>/dev/null; then | |
5081 as_mkdir_p='mkdir -p "$as_dir"' | |
5082 else | |
5083 test -d ./-p && rmdir ./-p | |
5084 as_mkdir_p=false | |
5085 fi | |
5086 | |
5087 if test -x / >/dev/null 2>&1; then | |
5088 as_test_x='test -x' | |
5089 else | |
5090 if ls -dL / >/dev/null 2>&1; then | |
5091 as_ls_L_option=L | |
5092 else | |
5093 as_ls_L_option= | |
5094 fi | |
5095 as_test_x=' | |
5096 eval sh -c '\'' | |
5097 if test -d "$1"; then | |
5098 test -d "$1/."; | |
5099 else | |
5100 case $1 in #( | |
5101 -*)set "./$1";; | |
5102 esac; | |
5103 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
5104 ???[sx]*):;;*)false;;esac;fi | |
5105 '\'' sh | |
5106 ' | |
5107 fi | |
5108 as_executable_p=$as_test_x | |
5109 | |
5110 # Sed expression to map a string onto a valid CPP name. | |
5111 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
5112 | |
5113 # Sed expression to map a string onto a valid variable name. | |
5114 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
5115 | |
5116 | |
5117 exec 6>&1 | |
5118 ## ----------------------------------- ## | |
5119 ## Main body of $CONFIG_STATUS script. ## | |
5120 ## ----------------------------------- ## | |
5121 _ASEOF | |
5122 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
5123 | |
5124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5125 # Save the log message, to keep $0 and so on meaningful, and to | |
5126 # report actual input values of CONFIG_FILES etc. instead of their | |
5127 # values after options handling. | |
5128 ac_log=" | |
5129 This file was extended by "chrpath" $as_me "0.13", which was | |
5130 generated by GNU Autoconf 2.68. Invocation command line was | |
5131 | |
5132 CONFIG_FILES = $CONFIG_FILES | |
5133 CONFIG_HEADERS = $CONFIG_HEADERS | |
5134 CONFIG_LINKS = $CONFIG_LINKS | |
5135 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
5136 $ $0 $@ | |
5137 | |
5138 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
5139 " | |
5140 | |
5141 _ACEOF | |
5142 | |
5143 case $ac_config_files in *" | |
5144 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
5145 esac | |
5146 | |
5147 case $ac_config_headers in *" | |
5148 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
5149 esac | |
5150 | |
5151 | |
5152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5153 # Files that config.status was made for. | |
5154 config_files="$ac_config_files" | |
5155 config_headers="$ac_config_headers" | |
5156 config_commands="$ac_config_commands" | |
5157 | |
5158 _ACEOF | |
5159 | |
5160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5161 ac_cs_usage="\ | |
5162 \`$as_me' instantiates files and other configuration actions | |
5163 from templates according to the current configuration. Unless the files | |
5164 and actions are specified as TAGs, all are instantiated by default. | |
5165 | |
5166 Usage: $0 [OPTION]... [TAG]... | |
5167 | |
5168 -h, --help print this help, then exit | |
5169 -V, --version print version number and configuration settings, then exit | |
5170 --config print configuration, then exit | |
5171 -q, --quiet, --silent | |
5172 do not print progress messages | |
5173 -d, --debug don't remove temporary files | |
5174 --recheck update $as_me by reconfiguring in the same conditions | |
5175 --file=FILE[:TEMPLATE] | |
5176 instantiate the configuration file FILE | |
5177 --header=FILE[:TEMPLATE] | |
5178 instantiate the configuration header FILE | |
5179 | |
5180 Configuration files: | |
5181 $config_files | |
5182 | |
5183 Configuration headers: | |
5184 $config_headers | |
5185 | |
5186 Configuration commands: | |
5187 $config_commands | |
5188 | |
5189 Report bugs to <pere@hungry.com>." | |
5190 | |
5191 _ACEOF | |
5192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5193 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
5194 ac_cs_version="\\ | |
5195 "chrpath" config.status "0.13" | |
5196 configured by $0, generated by GNU Autoconf 2.68, | |
5197 with options \\"\$ac_cs_config\\" | |
5198 | |
5199 Copyright (C) 2010 Free Software Foundation, Inc. | |
5200 This config.status script is free software; the Free Software Foundation | |
5201 gives unlimited permission to copy, distribute and modify it." | |
5202 | |
5203 ac_pwd='$ac_pwd' | |
5204 srcdir='$srcdir' | |
5205 INSTALL='$INSTALL' | |
5206 MKDIR_P='$MKDIR_P' | |
5207 AWK='$AWK' | |
5208 test -n "\$AWK" || AWK=awk | |
5209 _ACEOF | |
5210 | |
5211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5212 # The default lists apply if the user does not specify any file. | |
5213 ac_need_defaults=: | |
5214 while test $# != 0 | |
4310 do | 5215 do |
4311 IFS=$as_save_IFS | 5216 case $1 in |
4312 test -z "$as_dir" && as_dir=. | 5217 --*=?*) |
4313 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 5218 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
5219 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
5220 ac_shift=: | |
5221 ;; | |
5222 --*=) | |
5223 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
5224 ac_optarg= | |
5225 ac_shift=: | |
5226 ;; | |
5227 *) | |
5228 ac_option=$1 | |
5229 ac_optarg=$2 | |
5230 ac_shift=shift | |
5231 ;; | |
5232 esac | |
5233 | |
5234 case $ac_option in | |
5235 # Handling of the options. | |
5236 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
5237 ac_cs_recheck=: ;; | |
5238 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
5239 $as_echo "$ac_cs_version"; exit ;; | |
5240 --config | --confi | --conf | --con | --co | --c ) | |
5241 $as_echo "$ac_cs_config"; exit ;; | |
5242 --debug | --debu | --deb | --de | --d | -d ) | |
5243 debug=: ;; | |
5244 --file | --fil | --fi | --f ) | |
5245 $ac_shift | |
5246 case $ac_optarg in | |
5247 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5248 '') as_fn_error $? "missing file argument" ;; | |
5249 esac | |
5250 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
5251 ac_need_defaults=false;; | |
5252 --header | --heade | --head | --hea ) | |
5253 $ac_shift | |
5254 case $ac_optarg in | |
5255 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5256 esac | |
5257 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | |
5258 ac_need_defaults=false;; | |
5259 --he | --h) | |
5260 # Conflict between --help and --header | |
5261 as_fn_error $? "ambiguous option: \`$1' | |
5262 Try \`$0 --help' for more information.";; | |
5263 --help | --hel | -h ) | |
5264 $as_echo "$ac_cs_usage"; exit ;; | |
5265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
5266 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
5267 ac_cs_silent=: ;; | |
5268 | |
5269 # This is an error. | |
5270 -*) as_fn_error $? "unrecognized option: \`$1' | |
5271 Try \`$0 --help' for more information." ;; | |
5272 | |
5273 *) as_fn_append ac_config_targets " $1" | |
5274 ac_need_defaults=false ;; | |
5275 | |
5276 esac | |
5277 shift | |
4314 done | 5278 done |
4315 | 5279 |
4316 ;; | 5280 ac_configure_extra_args= |
4317 esac | 5281 |
4318 # We did not find ourselves, most probably we were run as `sh COMMAND' | 5282 if $ac_cs_silent; then |
4319 # in which case we are not to be found in the path. | 5283 exec 6>/dev/null |
4320 if test "x$as_myself" = x; then | 5284 ac_configure_extra_args="$ac_configure_extra_args --silent" |
4321 as_myself=$0 | 5285 fi |
4322 fi | 5286 |
4323 if test ! -f "$as_myself"; then | 5287 _ACEOF |
4324 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 5288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4325 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 5289 if \$ac_cs_recheck; then |
4326 { (exit 1); exit 1; }; } | 5290 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
4327 fi | 5291 shift |
4328 case $CONFIG_SHELL in | 5292 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
4329 '') | 5293 CONFIG_SHELL='$SHELL' |
4330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5294 export CONFIG_SHELL |
4331 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 5295 exec "\$@" |
4332 do | 5296 fi |
4333 IFS=$as_save_IFS | 5297 |
4334 test -z "$as_dir" && as_dir=. | 5298 _ACEOF |
4335 for as_base in sh bash ksh sh5; do | 5299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
4336 case $as_dir in | |
4337 /*) | |
4338 if ("$as_dir/$as_base" -c ' | |
4339 as_lineno_1=$LINENO | |
4340 as_lineno_2=$LINENO | |
4341 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
4342 test "x$as_lineno_1" != "x$as_lineno_2" && | |
4343 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
4344 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
4345 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
4346 CONFIG_SHELL=$as_dir/$as_base | |
4347 export CONFIG_SHELL | |
4348 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
4349 fi;; | |
4350 esac | |
4351 done | |
4352 done | |
4353 ;; | |
4354 esac | |
4355 | |
4356 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
4357 # uniformly replaced by the line number. The first 'sed' inserts a | |
4358 # line-number line before each line; the second 'sed' does the real | |
4359 # work. The second script uses 'N' to pair each line-number line | |
4360 # with the numbered line, and appends trailing '-' during | |
4361 # substitution so that $LINENO is not a special case at line end. | |
4362 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
4363 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
4364 sed '=' <$as_myself | | |
4365 sed ' | |
4366 N | |
4367 s,$,-, | |
4368 : loop | |
4369 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
4370 t loop | |
4371 s,-$,, | |
4372 s,^['$as_cr_digits']*\n,, | |
4373 ' >$as_me.lineno && | |
4374 chmod +x $as_me.lineno || | |
4375 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | |
4376 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
4377 { (exit 1); exit 1; }; } | |
4378 | |
4379 # Don't try to exec as it changes $[0], causing all sort of problems | |
4380 # (the dirname of $[0] is not the place where we might find the | |
4381 # original and so on. Autoconf is especially sensible to this). | |
4382 . ./$as_me.lineno | |
4383 # Exit status is that of the last command. | |
4384 exit | |
4385 } | |
4386 | |
4387 | |
4388 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
4389 *c*,-n*) ECHO_N= ECHO_C=' | |
4390 ' ECHO_T=' ' ;; | |
4391 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
4392 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
4393 esac | |
4394 | |
4395 if expr a : '\(a\)' >/dev/null 2>&1; then | |
4396 as_expr=expr | |
4397 else | |
4398 as_expr=false | |
4399 fi | |
4400 | |
4401 rm -f conf$$ conf$$.exe conf$$.file | |
4402 echo >conf$$.file | |
4403 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
4404 # We could just check for DJGPP; but this test a) works b) is more generic | |
4405 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
4406 if test -f conf$$.exe; then | |
4407 # Don't use ln at all; we don't have any links | |
4408 as_ln_s='cp -p' | |
4409 else | |
4410 as_ln_s='ln -s' | |
4411 fi | |
4412 elif ln conf$$.file conf$$ 2>/dev/null; then | |
4413 as_ln_s=ln | |
4414 else | |
4415 as_ln_s='cp -p' | |
4416 fi | |
4417 rm -f conf$$ conf$$.exe conf$$.file | |
4418 | |
4419 if mkdir -p . 2>/dev/null; then | |
4420 as_mkdir_p=: | |
4421 else | |
4422 as_mkdir_p=false | |
4423 fi | |
4424 | |
4425 as_executable_p="test -f" | |
4426 | |
4427 # Sed expression to map a string onto a valid CPP name. | |
4428 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
4429 | |
4430 # Sed expression to map a string onto a valid variable name. | |
4431 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
4432 | |
4433 | |
4434 # IFS | |
4435 # We need space, tab and new line, in precisely that order. | |
4436 as_nl=' | |
4437 ' | |
4438 IFS=" $as_nl" | |
4439 | |
4440 # CDPATH. | |
4441 $as_unset CDPATH | |
4442 | |
4443 exec 6>&1 | |
4444 | |
4445 # Open the log real soon, to keep \$[0] and so on meaningful, and to | |
4446 # report actual input values of CONFIG_FILES etc. instead of their | |
4447 # values after options handling. Logging --version etc. is OK. | |
4448 exec 5>>config.log | 5300 exec 5>>config.log |
4449 { | 5301 { |
4450 echo | 5302 echo |
4451 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 5303 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
4452 ## Running $as_me. ## | 5304 ## Running $as_me. ## |
4453 _ASBOX | 5305 _ASBOX |
5306 $as_echo "$ac_log" | |
4454 } >&5 | 5307 } >&5 |
4455 cat >&5 <<_CSEOF | 5308 |
4456 | 5309 _ACEOF |
4457 This file was extended by "chrpath" $as_me "0.13", which was | 5310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4458 generated by GNU Autoconf 2.57. Invocation command line was | |
4459 | |
4460 CONFIG_FILES = $CONFIG_FILES | |
4461 CONFIG_HEADERS = $CONFIG_HEADERS | |
4462 CONFIG_LINKS = $CONFIG_LINKS | |
4463 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
4464 $ $0 $@ | |
4465 | |
4466 _CSEOF | |
4467 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | |
4468 echo >&5 | |
4469 _ACEOF | |
4470 | |
4471 # Files that config.status was made for. | |
4472 if test -n "$ac_config_files"; then | |
4473 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | |
4474 fi | |
4475 | |
4476 if test -n "$ac_config_headers"; then | |
4477 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
4478 fi | |
4479 | |
4480 if test -n "$ac_config_links"; then | |
4481 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
4482 fi | |
4483 | |
4484 if test -n "$ac_config_commands"; then | |
4485 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
4486 fi | |
4487 | |
4488 cat >>$CONFIG_STATUS <<\_ACEOF | |
4489 | |
4490 ac_cs_usage="\ | |
4491 \`$as_me' instantiates files from templates according to the | |
4492 current configuration. | |
4493 | |
4494 Usage: $0 [OPTIONS] [FILE]... | |
4495 | |
4496 -h, --help print this help, then exit | |
4497 -V, --version print version number, then exit | |
4498 -q, --quiet do not print progress messages | |
4499 -d, --debug don't remove temporary files | |
4500 --recheck update $as_me by reconfiguring in the same conditions | |
4501 --file=FILE[:TEMPLATE] | |
4502 instantiate the configuration file FILE | |
4503 --header=FILE[:TEMPLATE] | |
4504 instantiate the configuration header FILE | |
4505 | |
4506 Configuration files: | |
4507 $config_files | |
4508 | |
4509 Configuration headers: | |
4510 $config_headers | |
4511 | |
4512 Configuration commands: | |
4513 $config_commands | |
4514 | |
4515 Report bugs to <bug-autoconf@gnu.org>." | |
4516 _ACEOF | |
4517 | |
4518 cat >>$CONFIG_STATUS <<_ACEOF | |
4519 ac_cs_version="\\ | |
4520 "chrpath" config.status "0.13" | |
4521 configured by $0, generated by GNU Autoconf 2.57, | |
4522 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | |
4523 | |
4524 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | |
4525 Free Software Foundation, Inc. | |
4526 This config.status script is free software; the Free Software Foundation | |
4527 gives unlimited permission to copy, distribute and modify it." | |
4528 srcdir=$srcdir | |
4529 INSTALL="$INSTALL" | |
4530 _ACEOF | |
4531 | |
4532 cat >>$CONFIG_STATUS <<\_ACEOF | |
4533 # If no file are specified by the user, then we need to provide default | |
4534 # value. By we need to know if files were specified by the user. | |
4535 ac_need_defaults=: | |
4536 while test $# != 0 | |
4537 do | |
4538 case $1 in | |
4539 --*=*) | |
4540 ac_option=`expr "x$1" : 'x\([^=]*\)='` | |
4541 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | |
4542 ac_shift=: | |
4543 ;; | |
4544 -*) | |
4545 ac_option=$1 | |
4546 ac_optarg=$2 | |
4547 ac_shift=shift | |
4548 ;; | |
4549 *) # This is not an option, so the user has probably given explicit | |
4550 # arguments. | |
4551 ac_option=$1 | |
4552 ac_need_defaults=false;; | |
4553 esac | |
4554 | |
4555 case $ac_option in | |
4556 # Handling of the options. | |
4557 _ACEOF | |
4558 cat >>$CONFIG_STATUS <<\_ACEOF | |
4559 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
4560 ac_cs_recheck=: ;; | |
4561 --version | --vers* | -V ) | |
4562 echo "$ac_cs_version"; exit 0 ;; | |
4563 --he | --h) | |
4564 # Conflict between --help and --header | |
4565 { { echo "$as_me:$LINENO: error: ambiguous option: $1 | |
4566 Try \`$0 --help' for more information." >&5 | |
4567 echo "$as_me: error: ambiguous option: $1 | |
4568 Try \`$0 --help' for more information." >&2;} | |
4569 { (exit 1); exit 1; }; };; | |
4570 --help | --hel | -h ) | |
4571 echo "$ac_cs_usage"; exit 0 ;; | |
4572 --debug | --d* | -d ) | |
4573 debug=: ;; | |
4574 --file | --fil | --fi | --f ) | |
4575 $ac_shift | |
4576 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
4577 ac_need_defaults=false;; | |
4578 --header | --heade | --head | --hea ) | |
4579 $ac_shift | |
4580 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | |
4581 ac_need_defaults=false;; | |
4582 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
4583 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
4584 ac_cs_silent=: ;; | |
4585 | |
4586 # This is an error. | |
4587 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | |
4588 Try \`$0 --help' for more information." >&5 | |
4589 echo "$as_me: error: unrecognized option: $1 | |
4590 Try \`$0 --help' for more information." >&2;} | |
4591 { (exit 1); exit 1; }; } ;; | |
4592 | |
4593 *) ac_config_targets="$ac_config_targets $1" ;; | |
4594 | |
4595 esac | |
4596 shift | |
4597 done | |
4598 | |
4599 ac_configure_extra_args= | |
4600 | |
4601 if $ac_cs_silent; then | |
4602 exec 6>/dev/null | |
4603 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
4604 fi | |
4605 | |
4606 _ACEOF | |
4607 cat >>$CONFIG_STATUS <<_ACEOF | |
4608 if \$ac_cs_recheck; then | |
4609 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
4610 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
4611 fi | |
4612 | |
4613 _ACEOF | |
4614 | |
4615 cat >>$CONFIG_STATUS <<_ACEOF | |
4616 # | 5311 # |
4617 # INIT-COMMANDS section. | 5312 # INIT-COMMANDS |
4618 # | 5313 # |
4619 | 5314 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
4620 | 5315 |
4621 | 5316 _ACEOF |
4622 _ACEOF | 5317 |
4623 | 5318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
4624 | 5319 |
4625 | 5320 # Handling of arguments. |
4626 cat >>$CONFIG_STATUS <<\_ACEOF | |
4627 for ac_config_target in $ac_config_targets | 5321 for ac_config_target in $ac_config_targets |
4628 do | 5322 do |
4629 case "$ac_config_target" in | 5323 case $ac_config_target in |
4630 # Handling of arguments. | 5324 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
4631 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 5325 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
4632 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; | 5326 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
4633 "deb/Makefile" ) CONFIG_FILES="$CONFIG_FILES deb/Makefile" ;; | 5327 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; |
4634 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; | 5328 "deb/Makefile") CONFIG_FILES="$CONFIG_FILES deb/Makefile" ;; |
4635 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 5329 |
4636 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 5330 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
4637 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
4638 { (exit 1); exit 1; }; };; | |
4639 esac | 5331 esac |
4640 done | 5332 done |
5333 | |
4641 | 5334 |
4642 # If the user did not use the arguments to specify the items to instantiate, | 5335 # If the user did not use the arguments to specify the items to instantiate, |
4643 # then the envvar interface is used. Set only those that are not. | 5336 # then the envvar interface is used. Set only those that are not. |
4644 # We use the long form for the default assignment because of an extremely | 5337 # We use the long form for the default assignment because of an extremely |
4645 # bizarre bug on SunOS 4.1.3. | 5338 # bizarre bug on SunOS 4.1.3. |
4648 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 5341 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
4649 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 5342 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
4650 fi | 5343 fi |
4651 | 5344 |
4652 # Have a temporary directory for convenience. Make it in the build tree | 5345 # Have a temporary directory for convenience. Make it in the build tree |
4653 # simply because there is no reason to put it here, and in addition, | 5346 # simply because there is no reason against having it here, and in addition, |
4654 # creating and moving files from /tmp can sometimes cause problems. | 5347 # creating and moving files from /tmp can sometimes cause problems. |
4655 # Create a temporary directory, and hook for its removal unless debugging. | 5348 # Hook for its removal unless debugging. |
5349 # Note that there is a small window in which the directory will not be cleaned: | |
5350 # after its creation but before its name has been assigned to `$tmp'. | |
4656 $debug || | 5351 $debug || |
4657 { | 5352 { |
4658 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 5353 tmp= ac_tmp= |
4659 trap '{ (exit 1); exit 1; }' 1 2 13 15 | 5354 trap 'exit_status=$? |
5355 : "${ac_tmp:=$tmp}" | |
5356 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
5357 ' 0 | |
5358 trap 'as_fn_exit 1' 1 2 13 15 | |
4660 } | 5359 } |
4661 | |
4662 # Create a (secure) tmp directory for tmp files. | 5360 # Create a (secure) tmp directory for tmp files. |
4663 | 5361 |
4664 { | 5362 { |
4665 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 5363 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
4666 test -n "$tmp" && test -d "$tmp" | 5364 test -d "$tmp" |
4667 } || | 5365 } || |
4668 { | 5366 { |
4669 tmp=./confstat$$-$RANDOM | 5367 tmp=./conf$$-$RANDOM |
4670 (umask 077 && mkdir $tmp) | 5368 (umask 077 && mkdir "$tmp") |
4671 } || | 5369 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
5370 ac_tmp=$tmp | |
5371 | |
5372 # Set up the scripts for CONFIG_FILES section. | |
5373 # No need to generate them if there are no CONFIG_FILES. | |
5374 # This happens for instance with `./config.status config.h'. | |
5375 if test -n "$CONFIG_FILES"; then | |
5376 | |
5377 | |
5378 ac_cr=`echo X | tr X '\015'` | |
5379 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
5380 # But we know of no other shell where ac_cr would be empty at this | |
5381 # point, so we can use a bashism as a fallback. | |
5382 if test "x$ac_cr" = x; then | |
5383 eval ac_cr=\$\'\\r\' | |
5384 fi | |
5385 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
5386 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
5387 ac_cs_awk_cr='\\r' | |
5388 else | |
5389 ac_cs_awk_cr=$ac_cr | |
5390 fi | |
5391 | |
5392 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
5393 _ACEOF | |
5394 | |
5395 | |
4672 { | 5396 { |
4673 echo "$me: cannot create a temporary directory in ." >&2 | 5397 echo "cat >conf$$subs.awk <<_ACEOF" && |
4674 { (exit 1); exit 1; } | 5398 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
5399 echo "_ACEOF" | |
5400 } >conf$$subs.sh || | |
5401 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
5402 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
5403 ac_delim='%!_!# ' | |
5404 for ac_last_try in false false false false false :; do | |
5405 . ./conf$$subs.sh || | |
5406 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
5407 | |
5408 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
5409 if test $ac_delim_n = $ac_delim_num; then | |
5410 break | |
5411 elif $ac_last_try; then | |
5412 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
5413 else | |
5414 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5415 fi | |
5416 done | |
5417 rm -f conf$$subs.sh | |
5418 | |
5419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5420 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
5421 _ACEOF | |
5422 sed -n ' | |
5423 h | |
5424 s/^/S["/; s/!.*/"]=/ | |
5425 p | |
5426 g | |
5427 s/^[^!]*!// | |
5428 :repl | |
5429 t repl | |
5430 s/'"$ac_delim"'$// | |
5431 t delim | |
5432 :nl | |
5433 h | |
5434 s/\(.\{148\}\)..*/\1/ | |
5435 t more1 | |
5436 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
5437 p | |
5438 n | |
5439 b repl | |
5440 :more1 | |
5441 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5442 p | |
5443 g | |
5444 s/.\{148\}// | |
5445 t nl | |
5446 :delim | |
5447 h | |
5448 s/\(.\{148\}\)..*/\1/ | |
5449 t more2 | |
5450 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
5451 p | |
5452 b | |
5453 :more2 | |
5454 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5455 p | |
5456 g | |
5457 s/.\{148\}// | |
5458 t delim | |
5459 ' <conf$$subs.awk | sed ' | |
5460 /^[^""]/{ | |
5461 N | |
5462 s/\n// | |
4675 } | 5463 } |
4676 | 5464 ' >>$CONFIG_STATUS || ac_write_fail=1 |
4677 _ACEOF | 5465 rm -f conf$$subs.awk |
4678 | 5466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4679 cat >>$CONFIG_STATUS <<_ACEOF | 5467 _ACAWK |
4680 | 5468 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
4681 # | 5469 for (key in S) S_is_set[key] = 1 |
4682 # CONFIG_FILES section. | 5470 FS = "" |
4683 # | 5471 |
4684 | 5472 } |
4685 # No need to generate the scripts if there are no CONFIG_FILES. | 5473 { |
4686 # This happens for instance when ./config.status config.h | 5474 line = $ 0 |
4687 if test -n "\$CONFIG_FILES"; then | 5475 nfields = split(line, field, "@") |
4688 # Protect against being on the right side of a sed subst in config.status. | 5476 substed = 0 |
4689 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 5477 len = length(field[1]) |
4690 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 5478 for (i = 2; i < nfields; i++) { |
4691 s,@SHELL@,$SHELL,;t t | 5479 key = field[i] |
4692 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 5480 keylen = length(key) |
4693 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 5481 if (S_is_set[key]) { |
4694 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 5482 value = S[key] |
4695 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 5483 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
4696 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 5484 len += length(value) + length(field[++i]) |
4697 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 5485 substed = 1 |
4698 s,@exec_prefix@,$exec_prefix,;t t | 5486 } else |
4699 s,@prefix@,$prefix,;t t | 5487 len += 1 + keylen |
4700 s,@program_transform_name@,$program_transform_name,;t t | 5488 } |
4701 s,@bindir@,$bindir,;t t | 5489 |
4702 s,@sbindir@,$sbindir,;t t | 5490 print line |
4703 s,@libexecdir@,$libexecdir,;t t | 5491 } |
4704 s,@datadir@,$datadir,;t t | 5492 |
4705 s,@sysconfdir@,$sysconfdir,;t t | 5493 _ACAWK |
4706 s,@sharedstatedir@,$sharedstatedir,;t t | 5494 _ACEOF |
4707 s,@localstatedir@,$localstatedir,;t t | 5495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
4708 s,@libdir@,$libdir,;t t | 5496 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
4709 s,@includedir@,$includedir,;t t | 5497 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
4710 s,@oldincludedir@,$oldincludedir,;t t | 5498 else |
4711 s,@infodir@,$infodir,;t t | 5499 cat |
4712 s,@mandir@,$mandir,;t t | 5500 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
4713 s,@build_alias@,$build_alias,;t t | 5501 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
4714 s,@host_alias@,$host_alias,;t t | 5502 _ACEOF |
4715 s,@target_alias@,$target_alias,;t t | 5503 |
4716 s,@DEFS@,$DEFS,;t t | 5504 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
4717 s,@ECHO_C@,$ECHO_C,;t t | 5505 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
4718 s,@ECHO_N@,$ECHO_N,;t t | 5506 # trailing colons and then remove the whole line if VPATH becomes empty |
4719 s,@ECHO_T@,$ECHO_T,;t t | 5507 # (actually we leave an empty line to preserve line numbers). |
4720 s,@LIBS@,$LIBS,;t t | 5508 if test "x$srcdir" = x.; then |
4721 s,@build@,$build,;t t | 5509 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
4722 s,@build_cpu@,$build_cpu,;t t | 5510 h |
4723 s,@build_vendor@,$build_vendor,;t t | 5511 s/// |
4724 s,@build_os@,$build_os,;t t | 5512 s/^/:/ |
4725 s,@host@,$host,;t t | 5513 s/[ ]*$/:/ |
4726 s,@host_cpu@,$host_cpu,;t t | 5514 s/:\$(srcdir):/:/g |
4727 s,@host_vendor@,$host_vendor,;t t | 5515 s/:\${srcdir}:/:/g |
4728 s,@host_os@,$host_os,;t t | 5516 s/:@srcdir@:/:/g |
4729 s,@target@,$target,;t t | 5517 s/^:*// |
4730 s,@target_cpu@,$target_cpu,;t t | 5518 s/:*$// |
4731 s,@target_vendor@,$target_vendor,;t t | 5519 x |
4732 s,@target_os@,$target_os,;t t | 5520 s/\(=[ ]*\).*/\1/ |
4733 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 5521 G |
4734 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 5522 s/\n// |
4735 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 5523 s/^[^=]*=[ ]*$// |
4736 s,@PACKAGE@,$PACKAGE,;t t | 5524 }' |
4737 s,@VERSION@,$VERSION,;t t | 5525 fi |
4738 s,@ACLOCAL@,$ACLOCAL,;t t | 5526 |
4739 s,@AUTOCONF@,$AUTOCONF,;t t | 5527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
4740 s,@AUTOMAKE@,$AUTOMAKE,;t t | 5528 fi # test -n "$CONFIG_FILES" |
4741 s,@AUTOHEADER@,$AUTOHEADER,;t t | 5529 |
4742 s,@MAKEINFO@,$MAKEINFO,;t t | 5530 # Set up the scripts for CONFIG_HEADERS section. |
4743 s,@SET_MAKE@,$SET_MAKE,;t t | 5531 # No need to generate them if there are no CONFIG_HEADERS. |
4744 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t | 5532 # This happens for instance with `./config.status Makefile'. |
4745 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t | 5533 if test -n "$CONFIG_HEADERS"; then |
4746 s,@MAINT@,$MAINT,;t t | 5534 cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
4747 s,@LDRPATH@,$LDRPATH,;t t | 5535 BEGIN { |
4748 s,@CC@,$CC,;t t | 5536 _ACEOF |
4749 s,@CFLAGS@,$CFLAGS,;t t | 5537 |
4750 s,@LDFLAGS@,$LDFLAGS,;t t | 5538 # Transform confdefs.h into an awk script `defines.awk', embedded as |
4751 s,@CPPFLAGS@,$CPPFLAGS,;t t | 5539 # here-document in config.status, that substitutes the proper values into |
4752 s,@ac_ct_CC@,$ac_ct_CC,;t t | 5540 # config.h.in to produce config.h. |
4753 s,@EXEEXT@,$EXEEXT,;t t | 5541 |
4754 s,@OBJEXT@,$OBJEXT,;t t | 5542 # Create a delimiter string that does not exist in confdefs.h, to ease |
4755 s,@CPP@,$CPP,;t t | 5543 # handling of long lines. |
4756 s,@EGREP@,$EGREP,;t t | 5544 ac_delim='%!_!# ' |
4757 s,@LIBOBJS@,$LIBOBJS,;t t | 5545 for ac_last_try in false false :; do |
4758 s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 5546 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
4759 CEOF | 5547 if test -z "$ac_tt"; then |
4760 | 5548 break |
4761 _ACEOF | 5549 elif $ac_last_try; then |
4762 | 5550 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
4763 cat >>$CONFIG_STATUS <<\_ACEOF | 5551 else |
4764 # Split the substitutions into bite-sized pieces for seds with | 5552 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
4765 # small command number limits, like on Digital OSF/1 and HP-UX. | 5553 fi |
4766 ac_max_sed_lines=48 | 5554 done |
4767 ac_sed_frag=1 # Number of current file. | 5555 |
4768 ac_beg=1 # First line for current file. | 5556 # For the awk script, D is an array of macro values keyed by name, |
4769 ac_end=$ac_max_sed_lines # Line after last line for current file. | 5557 # likewise P contains macro parameters if any. Preserve backslash |
4770 ac_more_lines=: | 5558 # newline sequences. |
4771 ac_sed_cmds= | 5559 |
4772 while $ac_more_lines; do | 5560 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
4773 if test $ac_beg -gt 1; then | 5561 sed -n ' |
4774 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 5562 s/.\{148\}/&'"$ac_delim"'/g |
4775 else | 5563 t rset |
4776 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 5564 :rset |
5565 s/^[ ]*#[ ]*define[ ][ ]*/ / | |
5566 t def | |
5567 d | |
5568 :def | |
5569 s/\\$// | |
5570 t bsnl | |
5571 s/["\\]/\\&/g | |
5572 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5573 D["\1"]=" \3"/p | |
5574 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
5575 d | |
5576 :bsnl | |
5577 s/["\\]/\\&/g | |
5578 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5579 D["\1"]=" \3\\\\\\n"\\/p | |
5580 t cont | |
5581 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
5582 t cont | |
5583 d | |
5584 :cont | |
5585 n | |
5586 s/.\{148\}/&'"$ac_delim"'/g | |
5587 t clear | |
5588 :clear | |
5589 s/\\$// | |
5590 t bsnlc | |
5591 s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
5592 d | |
5593 :bsnlc | |
5594 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
5595 b cont | |
5596 ' <confdefs.h | sed ' | |
5597 s/'"$ac_delim"'/"\\\ | |
5598 "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
5599 | |
5600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5601 for (key in D) D_is_set[key] = 1 | |
5602 FS = "" | |
5603 } | |
5604 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
5605 line = \$ 0 | |
5606 split(line, arg, " ") | |
5607 if (arg[1] == "#") { | |
5608 defundef = arg[2] | |
5609 mac1 = arg[3] | |
5610 } else { | |
5611 defundef = substr(arg[1], 2) | |
5612 mac1 = arg[2] | |
5613 } | |
5614 split(mac1, mac2, "(") #) | |
5615 macro = mac2[1] | |
5616 prefix = substr(line, 1, index(line, defundef) - 1) | |
5617 if (D_is_set[macro]) { | |
5618 # Preserve the white space surrounding the "#". | |
5619 print prefix "define", macro P[macro] D[macro] | |
5620 next | |
5621 } else { | |
5622 # Replace #undef with comments. This is necessary, for example, | |
5623 # in the case of _POSIX_SOURCE, which is predefined and required | |
5624 # on some systems where configure will not decide to define it. | |
5625 if (defundef == "undef") { | |
5626 print "/*", prefix defundef, macro, "*/" | |
5627 next | |
5628 } | |
5629 } | |
5630 } | |
5631 { print } | |
5632 _ACAWK | |
5633 _ACEOF | |
5634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5635 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | |
5636 fi # test -n "$CONFIG_HEADERS" | |
5637 | |
5638 | |
5639 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | |
5640 shift | |
5641 for ac_tag | |
5642 do | |
5643 case $ac_tag in | |
5644 :[FHLC]) ac_mode=$ac_tag; continue;; | |
5645 esac | |
5646 case $ac_mode$ac_tag in | |
5647 :[FHL]*:*);; | |
5648 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
5649 :[FH]-) ac_tag=-:-;; | |
5650 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
5651 esac | |
5652 ac_save_IFS=$IFS | |
5653 IFS=: | |
5654 set x $ac_tag | |
5655 IFS=$ac_save_IFS | |
5656 shift | |
5657 ac_file=$1 | |
5658 shift | |
5659 | |
5660 case $ac_mode in | |
5661 :L) ac_source=$1;; | |
5662 :[FH]) | |
5663 ac_file_inputs= | |
5664 for ac_f | |
5665 do | |
5666 case $ac_f in | |
5667 -) ac_f="$ac_tmp/stdin";; | |
5668 *) # Look for the file first in the build tree, then in the source tree | |
5669 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
5670 # because $ac_f cannot contain `:'. | |
5671 test -f "$ac_f" || | |
5672 case $ac_f in | |
5673 [\\/$]*) false;; | |
5674 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
5675 esac || | |
5676 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
5677 esac | |
5678 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
5679 as_fn_append ac_file_inputs " '$ac_f'" | |
5680 done | |
5681 | |
5682 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5683 # use $as_me), people would be surprised to read: | |
5684 # /* config.h. Generated by config.status. */ | |
5685 configure_input='Generated from '` | |
5686 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
5687 `' by configure.' | |
5688 if test x"$ac_file" != x-; then | |
5689 configure_input="$ac_file. $configure_input" | |
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
5691 $as_echo "$as_me: creating $ac_file" >&6;} | |
4777 fi | 5692 fi |
4778 if test ! -s $tmp/subs.frag; then | 5693 # Neutralize special characters interpreted by sed in replacement strings. |
4779 ac_more_lines=false | 5694 case $configure_input in #( |
4780 else | 5695 *\&* | *\|* | *\\* ) |
4781 # The purpose of the label and of the branching condition is to | 5696 ac_sed_conf_input=`$as_echo "$configure_input" | |
4782 # speed up the sed processing (if there are no `@' at all, there | 5697 sed 's/[\\\\&|]/\\\\&/g'`;; #( |
4783 # is no need to browse any of the substitutions). | 5698 *) ac_sed_conf_input=$configure_input;; |
4784 # These are the two extra sed commands mentioned above. | 5699 esac |
4785 (echo ':t | 5700 |
4786 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 5701 case $ac_tag in |
4787 if test -z "$ac_sed_cmds"; then | 5702 *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
4788 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 5703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
4789 else | 5704 esac |
4790 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 5705 ;; |
4791 fi | |
4792 ac_sed_frag=`expr $ac_sed_frag + 1` | |
4793 ac_beg=$ac_end | |
4794 ac_end=`expr $ac_end + $ac_max_sed_lines` | |
4795 fi | |
4796 done | |
4797 if test -z "$ac_sed_cmds"; then | |
4798 ac_sed_cmds=cat | |
4799 fi | |
4800 fi # test -n "$CONFIG_FILES" | |
4801 | |
4802 _ACEOF | |
4803 cat >>$CONFIG_STATUS <<\_ACEOF | |
4804 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | |
4805 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
4806 case $ac_file in | |
4807 - | *:- | *:-:* ) # input from stdin | |
4808 cat >$tmp/stdin | |
4809 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
4810 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
4811 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
4812 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
4813 * ) ac_file_in=$ac_file.in ;; | |
4814 esac | 5706 esac |
4815 | 5707 |
4816 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 5708 ac_dir=`$as_dirname -- "$ac_file" || |
4817 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
4818 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 5709 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4819 X"$ac_file" : 'X\(//\)[^/]' \| \ | 5710 X"$ac_file" : 'X\(//\)[^/]' \| \ |
4820 X"$ac_file" : 'X\(//\)$' \| \ | 5711 X"$ac_file" : 'X\(//\)$' \| \ |
4821 X"$ac_file" : 'X\(/\)' \| \ | 5712 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
4822 . : '\(.\)' 2>/dev/null || | 5713 $as_echo X"$ac_file" | |
4823 echo X"$ac_file" | | 5714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 5715 s//\1/ |
4825 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 5716 q |
4826 /^X\(\/\/\)$/{ s//\1/; q; } | 5717 } |
4827 /^X\(\/\).*/{ s//\1/; q; } | 5718 /^X\(\/\/\)[^/].*/{ |
4828 s/.*/./; q'` | 5719 s//\1/ |
4829 { if $as_mkdir_p; then | 5720 q |
4830 mkdir -p "$ac_dir" | 5721 } |
4831 else | 5722 /^X\(\/\/\)$/{ |
4832 as_dir="$ac_dir" | 5723 s//\1/ |
4833 as_dirs= | 5724 q |
4834 while test ! -d "$as_dir"; do | 5725 } |
4835 as_dirs="$as_dir $as_dirs" | 5726 /^X\(\/\).*/{ |
4836 as_dir=`(dirname "$as_dir") 2>/dev/null || | 5727 s//\1/ |
4837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 5728 q |
4838 X"$as_dir" : 'X\(//\)[^/]' \| \ | 5729 } |
4839 X"$as_dir" : 'X\(//\)$' \| \ | 5730 s/.*/./; q'` |
4840 X"$as_dir" : 'X\(/\)' \| \ | 5731 as_dir="$ac_dir"; as_fn_mkdir_p |
4841 . : '\(.\)' 2>/dev/null || | |
4842 echo X"$as_dir" | | |
4843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
4844 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
4845 /^X\(\/\/\)$/{ s//\1/; q; } | |
4846 /^X\(\/\).*/{ s//\1/; q; } | |
4847 s/.*/./; q'` | |
4848 done | |
4849 test ! -n "$as_dirs" || mkdir $as_dirs | |
4850 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
4851 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
4852 { (exit 1); exit 1; }; }; } | |
4853 | |
4854 ac_builddir=. | 5732 ac_builddir=. |
4855 | 5733 |
4856 if test "$ac_dir" != .; then | 5734 case "$ac_dir" in |
4857 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 5735 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
4858 # A "../" for each directory in $ac_dir_suffix. | 5736 *) |
4859 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 5737 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
4860 else | 5738 # A ".." for each directory in $ac_dir_suffix. |
4861 ac_dir_suffix= ac_top_builddir= | 5739 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
4862 fi | 5740 case $ac_top_builddir_sub in |
5741 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5742 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
5743 esac ;; | |
5744 esac | |
5745 ac_abs_top_builddir=$ac_pwd | |
5746 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
5747 # for backward compatibility: | |
5748 ac_top_builddir=$ac_top_build_prefix | |
4863 | 5749 |
4864 case $srcdir in | 5750 case $srcdir in |
4865 .) # No --srcdir option. We are building in place. | 5751 .) # We are building in place. |
4866 ac_srcdir=. | 5752 ac_srcdir=. |
4867 if test -z "$ac_top_builddir"; then | 5753 ac_top_srcdir=$ac_top_builddir_sub |
4868 ac_top_srcdir=. | 5754 ac_abs_top_srcdir=$ac_pwd ;; |
4869 else | 5755 [\\/]* | ?:[\\/]* ) # Absolute name. |
4870 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
4871 fi ;; | |
4872 [\\/]* | ?:[\\/]* ) # Absolute path. | |
4873 ac_srcdir=$srcdir$ac_dir_suffix; | 5756 ac_srcdir=$srcdir$ac_dir_suffix; |
4874 ac_top_srcdir=$srcdir ;; | 5757 ac_top_srcdir=$srcdir |
4875 *) # Relative path. | 5758 ac_abs_top_srcdir=$srcdir ;; |
4876 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 5759 *) # Relative name. |
4877 ac_top_srcdir=$ac_top_builddir$srcdir ;; | 5760 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
5761 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
5762 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
4878 esac | 5763 esac |
4879 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 5764 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
4880 # absolute. | 5765 |
4881 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 5766 |
4882 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 5767 case $ac_mode in |
4883 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 5768 :F) |
4884 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 5769 # |
4885 | 5770 # CONFIG_FILE |
5771 # | |
4886 | 5772 |
4887 case $INSTALL in | 5773 case $INSTALL in |
4888 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 5774 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
4889 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 5775 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
4890 esac | 5776 esac |
4891 | 5777 ac_MKDIR_P=$MKDIR_P |
4892 if test x"$ac_file" != x-; then | 5778 case $MKDIR_P in |
4893 { echo "$as_me:$LINENO: creating $ac_file" >&5 | 5779 [\\/$]* | ?:[\\/]* ) ;; |
4894 echo "$as_me: creating $ac_file" >&6;} | 5780 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
4895 rm -f "$ac_file" | 5781 esac |
4896 fi | 5782 _ACEOF |
4897 # Let's still pretend it is `configure' which instantiates (i.e., don't | 5783 |
4898 # use $as_me), people would be surprised to read: | 5784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
4899 # /* config.h. Generated by config.status. */ | 5785 # If the template does not know about datarootdir, expand it. |
4900 if test x"$ac_file" = x-; then | 5786 # FIXME: This hack should be removed a few years after 2.60. |
4901 configure_input= | 5787 ac_datarootdir_hack=; ac_datarootdir_seen= |
4902 else | 5788 ac_sed_dataroot=' |
4903 configure_input="$ac_file. " | 5789 /datarootdir/ { |
4904 fi | 5790 p |
4905 configure_input=$configure_input"Generated from `echo $ac_file_in | | 5791 q |
4906 sed 's,.*/,,'` by configure." | 5792 } |
4907 | 5793 /@datadir@/p |
4908 # First look for the input files in the build tree, otherwise in the | 5794 /@docdir@/p |
4909 # src tree. | 5795 /@infodir@/p |
4910 ac_file_inputs=`IFS=: | 5796 /@localedir@/p |
4911 for f in $ac_file_in; do | 5797 /@mandir@/p' |
4912 case $f in | 5798 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
4913 -) echo $tmp/stdin ;; | 5799 *datarootdir*) ac_datarootdir_seen=yes;; |
4914 [\\/$]*) | 5800 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
4915 # Absolute (can't be DOS-style, as IFS=:) | 5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
4916 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 5802 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
4917 echo "$as_me: error: cannot find input file: $f" >&2;} | 5803 _ACEOF |
4918 { (exit 1); exit 1; }; } | 5804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4919 echo $f;; | 5805 ac_datarootdir_hack=' |
4920 *) # Relative | 5806 s&@datadir@&$datadir&g |
4921 if test -f "$f"; then | 5807 s&@docdir@&$docdir&g |
4922 # Build tree | 5808 s&@infodir@&$infodir&g |
4923 echo $f | 5809 s&@localedir@&$localedir&g |
4924 elif test -f "$srcdir/$f"; then | 5810 s&@mandir@&$mandir&g |
4925 # Source tree | 5811 s&\\\${datarootdir}&$datarootdir&g' ;; |
4926 echo $srcdir/$f | 5812 esac |
4927 else | 5813 _ACEOF |
4928 # /dev/null tree | 5814 |
4929 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 5815 # Neutralize VPATH when `$srcdir' = `.'. |
4930 echo "$as_me: error: cannot find input file: $f" >&2;} | 5816 # Shell code in configure.ac might set extrasub. |
4931 { (exit 1); exit 1; }; } | 5817 # FIXME: do we really want to maintain this feature? |
4932 fi;; | 5818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4933 esac | 5819 ac_sed_extra="$ac_vpsub |
4934 done` || { (exit 1); exit 1; } | |
4935 _ACEOF | |
4936 cat >>$CONFIG_STATUS <<_ACEOF | |
4937 sed "$ac_vpsub | |
4938 $extrasub | 5820 $extrasub |
4939 _ACEOF | 5821 _ACEOF |
4940 cat >>$CONFIG_STATUS <<\_ACEOF | 5822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
4941 :t | 5823 :t |
4942 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 5824 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
4943 s,@configure_input@,$configure_input,;t t | 5825 s|@configure_input@|$ac_sed_conf_input|;t t |
4944 s,@srcdir@,$ac_srcdir,;t t | 5826 s&@top_builddir@&$ac_top_builddir_sub&;t t |
4945 s,@abs_srcdir@,$ac_abs_srcdir,;t t | 5827 s&@top_build_prefix@&$ac_top_build_prefix&;t t |
4946 s,@top_srcdir@,$ac_top_srcdir,;t t | 5828 s&@srcdir@&$ac_srcdir&;t t |
4947 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 5829 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
4948 s,@builddir@,$ac_builddir,;t t | 5830 s&@top_srcdir@&$ac_top_srcdir&;t t |
4949 s,@abs_builddir@,$ac_abs_builddir,;t t | 5831 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
4950 s,@top_builddir@,$ac_top_builddir,;t t | 5832 s&@builddir@&$ac_builddir&;t t |
4951 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 5833 s&@abs_builddir@&$ac_abs_builddir&;t t |
4952 s,@INSTALL@,$ac_INSTALL,;t t | 5834 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
4953 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 5835 s&@INSTALL@&$ac_INSTALL&;t t |
4954 rm -f $tmp/stdin | 5836 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
5837 $ac_datarootdir_hack | |
5838 " | |
5839 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
5840 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5841 | |
5842 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
5843 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
5844 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
5845 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5847 which seems to be undefined. Please make sure it is defined" >&5 | |
5848 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5849 which seems to be undefined. Please make sure it is defined" >&2;} | |
5850 | |
5851 rm -f "$ac_tmp/stdin" | |
5852 case $ac_file in | |
5853 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
5854 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
5855 esac \ | |
5856 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5857 ;; | |
5858 :H) | |
5859 # | |
5860 # CONFIG_HEADER | |
5861 # | |
4955 if test x"$ac_file" != x-; then | 5862 if test x"$ac_file" != x-; then |
4956 mv $tmp/out $ac_file | 5863 { |
4957 else | 5864 $as_echo "/* $configure_input */" \ |
4958 cat $tmp/out | 5865 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
4959 rm -f $tmp/out | 5866 } >"$ac_tmp/config.h" \ |
4960 fi | 5867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
4961 | 5868 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
4962 done | 5869 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
4963 _ACEOF | 5870 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
4964 cat >>$CONFIG_STATUS <<\_ACEOF | |
4965 | |
4966 # | |
4967 # CONFIG_HEADER section. | |
4968 # | |
4969 | |
4970 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | |
4971 # NAME is the cpp macro being defined and VALUE is the value it is being given. | |
4972 # | |
4973 # ac_d sets the value in "#define NAME VALUE" lines. | |
4974 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | |
4975 ac_dB='[ ].*$,\1#\2' | |
4976 ac_dC=' ' | |
4977 ac_dD=',;t' | |
4978 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | |
4979 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
4980 ac_uB='$,\1#\2define\3' | |
4981 ac_uC=' ' | |
4982 ac_uD=',;t' | |
4983 | |
4984 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | |
4985 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
4986 case $ac_file in | |
4987 - | *:- | *:-:* ) # input from stdin | |
4988 cat >$tmp/stdin | |
4989 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
4990 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
4991 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
4992 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
4993 * ) ac_file_in=$ac_file.in ;; | |
4994 esac | |
4995 | |
4996 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
4997 echo "$as_me: creating $ac_file" >&6;} | |
4998 | |
4999 # First look for the input files in the build tree, otherwise in the | |
5000 # src tree. | |
5001 ac_file_inputs=`IFS=: | |
5002 for f in $ac_file_in; do | |
5003 case $f in | |
5004 -) echo $tmp/stdin ;; | |
5005 [\\/$]*) | |
5006 # Absolute (can't be DOS-style, as IFS=:) | |
5007 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
5008 echo "$as_me: error: cannot find input file: $f" >&2;} | |
5009 { (exit 1); exit 1; }; } | |
5010 echo $f;; | |
5011 *) # Relative | |
5012 if test -f "$f"; then | |
5013 # Build tree | |
5014 echo $f | |
5015 elif test -f "$srcdir/$f"; then | |
5016 # Source tree | |
5017 echo $srcdir/$f | |
5018 else | |
5019 # /dev/null tree | |
5020 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
5021 echo "$as_me: error: cannot find input file: $f" >&2;} | |
5022 { (exit 1); exit 1; }; } | |
5023 fi;; | |
5024 esac | |
5025 done` || { (exit 1); exit 1; } | |
5026 # Remove the trailing spaces. | |
5027 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | |
5028 | |
5029 _ACEOF | |
5030 | |
5031 # Transform confdefs.h into two sed scripts, `conftest.defines' and | |
5032 # `conftest.undefs', that substitutes the proper values into | |
5033 # config.h.in to produce config.h. The first handles `#define' | |
5034 # templates, and the second `#undef' templates. | |
5035 # And first: Protect against being on the right side of a sed subst in | |
5036 # config.status. Protect against being in an unquoted here document | |
5037 # in config.status. | |
5038 rm -f conftest.defines conftest.undefs | |
5039 # Using a here document instead of a string reduces the quoting nightmare. | |
5040 # Putting comments in sed scripts is not portable. | |
5041 # | |
5042 # `end' is used to avoid that the second main sed command (meant for | |
5043 # 0-ary CPP macros) applies to n-ary macro definitions. | |
5044 # See the Autoconf documentation for `clear'. | |
5045 cat >confdef2sed.sed <<\_ACEOF | |
5046 s/[\\&,]/\\&/g | |
5047 s,[\\$`],\\&,g | |
5048 t clear | |
5049 : clear | |
5050 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | |
5051 t end | |
5052 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | |
5053 : end | |
5054 _ACEOF | |
5055 # If some macros were called several times there might be several times | |
5056 # the same #defines, which is useless. Nevertheless, we may not want to | |
5057 # sort them, since we want the *last* AC-DEFINE to be honored. | |
5058 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | |
5059 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | |
5060 rm -f confdef2sed.sed | |
5061 | |
5062 # This sed command replaces #undef with comments. This is necessary, for | |
5063 # example, in the case of _POSIX_SOURCE, which is predefined and required | |
5064 # on some systems where configure will not decide to define it. | |
5065 cat >>conftest.undefs <<\_ACEOF | |
5066 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | |
5067 _ACEOF | |
5068 | |
5069 # Break up conftest.defines because some shells have a limit on the size | |
5070 # of here documents, and old seds have small limits too (100 cmds). | |
5071 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | |
5072 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | |
5073 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | |
5074 echo ' :' >>$CONFIG_STATUS | |
5075 rm -f conftest.tail | |
5076 while grep . conftest.defines >/dev/null | |
5077 do | |
5078 # Write a limited-size here document to $tmp/defines.sed. | |
5079 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | |
5080 # Speed up: don't consider the non `#define' lines. | |
5081 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | |
5082 # Work around the forget-to-reset-the-flag bug. | |
5083 echo 't clr' >>$CONFIG_STATUS | |
5084 echo ': clr' >>$CONFIG_STATUS | |
5085 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | |
5086 echo 'CEOF | |
5087 sed -f $tmp/defines.sed $tmp/in >$tmp/out | |
5088 rm -f $tmp/in | |
5089 mv $tmp/out $tmp/in | |
5090 ' >>$CONFIG_STATUS | |
5091 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | |
5092 rm -f conftest.defines | |
5093 mv conftest.tail conftest.defines | |
5094 done | |
5095 rm -f conftest.defines | |
5096 echo ' fi # grep' >>$CONFIG_STATUS | |
5097 echo >>$CONFIG_STATUS | |
5098 | |
5099 # Break up conftest.undefs because some shells have a limit on the size | |
5100 # of here documents, and old seds have small limits too (100 cmds). | |
5101 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | |
5102 rm -f conftest.tail | |
5103 while grep . conftest.undefs >/dev/null | |
5104 do | |
5105 # Write a limited-size here document to $tmp/undefs.sed. | |
5106 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | |
5107 # Speed up: don't consider the non `#undef' | |
5108 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | |
5109 # Work around the forget-to-reset-the-flag bug. | |
5110 echo 't clr' >>$CONFIG_STATUS | |
5111 echo ': clr' >>$CONFIG_STATUS | |
5112 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | |
5113 echo 'CEOF | |
5114 sed -f $tmp/undefs.sed $tmp/in >$tmp/out | |
5115 rm -f $tmp/in | |
5116 mv $tmp/out $tmp/in | |
5117 ' >>$CONFIG_STATUS | |
5118 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | |
5119 rm -f conftest.undefs | |
5120 mv conftest.tail conftest.undefs | |
5121 done | |
5122 rm -f conftest.undefs | |
5123 | |
5124 cat >>$CONFIG_STATUS <<\_ACEOF | |
5125 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5126 # use $as_me), people would be surprised to read: | |
5127 # /* config.h. Generated by config.status. */ | |
5128 if test x"$ac_file" = x-; then | |
5129 echo "/* Generated by configure. */" >$tmp/config.h | |
5130 else | |
5131 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | |
5132 fi | |
5133 cat $tmp/in >>$tmp/config.h | |
5134 rm -f $tmp/in | |
5135 if test x"$ac_file" != x-; then | |
5136 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | |
5137 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | |
5138 echo "$as_me: $ac_file is unchanged" >&6;} | |
5139 else | 5871 else |
5140 ac_dir=`(dirname "$ac_file") 2>/dev/null || | 5872 rm -f "$ac_file" |
5141 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 5873 mv "$ac_tmp/config.h" "$ac_file" \ |
5142 X"$ac_file" : 'X\(//\)[^/]' \| \ | 5874 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5143 X"$ac_file" : 'X\(//\)$' \| \ | |
5144 X"$ac_file" : 'X\(/\)' \| \ | |
5145 . : '\(.\)' 2>/dev/null || | |
5146 echo X"$ac_file" | | |
5147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
5148 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
5149 /^X\(\/\/\)$/{ s//\1/; q; } | |
5150 /^X\(\/\).*/{ s//\1/; q; } | |
5151 s/.*/./; q'` | |
5152 { if $as_mkdir_p; then | |
5153 mkdir -p "$ac_dir" | |
5154 else | |
5155 as_dir="$ac_dir" | |
5156 as_dirs= | |
5157 while test ! -d "$as_dir"; do | |
5158 as_dirs="$as_dir $as_dirs" | |
5159 as_dir=`(dirname "$as_dir") 2>/dev/null || | |
5160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5161 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
5162 X"$as_dir" : 'X\(//\)$' \| \ | |
5163 X"$as_dir" : 'X\(/\)' \| \ | |
5164 . : '\(.\)' 2>/dev/null || | |
5165 echo X"$as_dir" | | |
5166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
5167 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
5168 /^X\(\/\/\)$/{ s//\1/; q; } | |
5169 /^X\(\/\).*/{ s//\1/; q; } | |
5170 s/.*/./; q'` | |
5171 done | |
5172 test ! -n "$as_dirs" || mkdir $as_dirs | |
5173 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
5174 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
5175 { (exit 1); exit 1; }; }; } | |
5176 | |
5177 rm -f $ac_file | |
5178 mv $tmp/config.h $ac_file | |
5179 fi | 5875 fi |
5180 else | 5876 else |
5181 cat $tmp/config.h | 5877 $as_echo "/* $configure_input */" \ |
5182 rm -f $tmp/config.h | 5878 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
5879 || as_fn_error $? "could not create -" "$LINENO" 5 | |
5183 fi | 5880 fi |
5184 done | 5881 # Compute "$ac_file"'s index in $config_headers. |
5185 _ACEOF | 5882 _am_arg="$ac_file" |
5186 cat >>$CONFIG_STATUS <<\_ACEOF | 5883 _am_stamp_count=1 |
5187 | 5884 for _am_header in $config_headers :; do |
5188 # | 5885 case $_am_header in |
5189 # CONFIG_COMMANDS section. | 5886 $_am_arg | $_am_arg:* ) |
5190 # | 5887 break ;; |
5191 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 5888 * ) |
5192 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 5889 _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
5193 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
5194 ac_dir=`(dirname "$ac_dest") 2>/dev/null || | |
5195 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5196 X"$ac_dest" : 'X\(//\)[^/]' \| \ | |
5197 X"$ac_dest" : 'X\(//\)$' \| \ | |
5198 X"$ac_dest" : 'X\(/\)' \| \ | |
5199 . : '\(.\)' 2>/dev/null || | |
5200 echo X"$ac_dest" | | |
5201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
5202 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
5203 /^X\(\/\/\)$/{ s//\1/; q; } | |
5204 /^X\(\/\).*/{ s//\1/; q; } | |
5205 s/.*/./; q'` | |
5206 ac_builddir=. | |
5207 | |
5208 if test "$ac_dir" != .; then | |
5209 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
5210 # A "../" for each directory in $ac_dir_suffix. | |
5211 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
5212 else | |
5213 ac_dir_suffix= ac_top_builddir= | |
5214 fi | |
5215 | |
5216 case $srcdir in | |
5217 .) # No --srcdir option. We are building in place. | |
5218 ac_srcdir=. | |
5219 if test -z "$ac_top_builddir"; then | |
5220 ac_top_srcdir=. | |
5221 else | |
5222 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
5223 fi ;; | |
5224 [\\/]* | ?:[\\/]* ) # Absolute path. | |
5225 ac_srcdir=$srcdir$ac_dir_suffix; | |
5226 ac_top_srcdir=$srcdir ;; | |
5227 *) # Relative path. | |
5228 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
5229 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
5230 esac | |
5231 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
5232 # absolute. | |
5233 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
5234 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
5235 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
5236 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
5237 | |
5238 | |
5239 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | |
5240 echo "$as_me: executing $ac_dest commands" >&6;} | |
5241 case $ac_dest in | |
5242 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; | |
5243 esac | 5890 esac |
5244 done | 5891 done |
5245 _ACEOF | 5892 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
5246 | 5893 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5247 cat >>$CONFIG_STATUS <<\_ACEOF | 5894 X"$_am_arg" : 'X\(//\)[^/]' \| \ |
5248 | 5895 X"$_am_arg" : 'X\(//\)$' \| \ |
5249 { (exit 0); exit 0; } | 5896 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
5250 _ACEOF | 5897 $as_echo X"$_am_arg" | |
5251 chmod +x $CONFIG_STATUS | 5898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5899 s//\1/ | |
5900 q | |
5901 } | |
5902 /^X\(\/\/\)[^/].*/{ | |
5903 s//\1/ | |
5904 q | |
5905 } | |
5906 /^X\(\/\/\)$/{ | |
5907 s//\1/ | |
5908 q | |
5909 } | |
5910 /^X\(\/\).*/{ | |
5911 s//\1/ | |
5912 q | |
5913 } | |
5914 s/.*/./; q'`/stamp-h$_am_stamp_count | |
5915 ;; | |
5916 | |
5917 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
5918 $as_echo "$as_me: executing $ac_file commands" >&6;} | |
5919 ;; | |
5920 esac | |
5921 | |
5922 | |
5923 case $ac_file$ac_mode in | |
5924 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
5925 # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
5926 # are listed without --file. Let's play safe and only enable the eval | |
5927 # if we detect the quoting. | |
5928 case $CONFIG_FILES in | |
5929 *\'*) eval set x "$CONFIG_FILES" ;; | |
5930 *) set x $CONFIG_FILES ;; | |
5931 esac | |
5932 shift | |
5933 for mf | |
5934 do | |
5935 # Strip MF so we end up with the name of the file. | |
5936 mf=`echo "$mf" | sed -e 's/:.*$//'` | |
5937 # Check whether this is an Automake generated Makefile or not. | |
5938 # We used to match only the files named `Makefile.in', but | |
5939 # some people rename them; so instead we look at the file content. | |
5940 # Grep'ing the first line is not enough: some people post-process | |
5941 # each Makefile.in and add a new line on top of each file to say so. | |
5942 # Grep'ing the whole file is not good either: AIX grep has a line | |
5943 # limit of 2048, but all sed's we know have understand at least 4000. | |
5944 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
5945 dirpart=`$as_dirname -- "$mf" || | |
5946 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5947 X"$mf" : 'X\(//\)[^/]' \| \ | |
5948 X"$mf" : 'X\(//\)$' \| \ | |
5949 X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
5950 $as_echo X"$mf" | | |
5951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5952 s//\1/ | |
5953 q | |
5954 } | |
5955 /^X\(\/\/\)[^/].*/{ | |
5956 s//\1/ | |
5957 q | |
5958 } | |
5959 /^X\(\/\/\)$/{ | |
5960 s//\1/ | |
5961 q | |
5962 } | |
5963 /^X\(\/\).*/{ | |
5964 s//\1/ | |
5965 q | |
5966 } | |
5967 s/.*/./; q'` | |
5968 else | |
5969 continue | |
5970 fi | |
5971 # Extract the definition of DEPDIR, am__include, and am__quote | |
5972 # from the Makefile without running `make'. | |
5973 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
5974 test -z "$DEPDIR" && continue | |
5975 am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
5976 test -z "am__include" && continue | |
5977 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
5978 # When using ansi2knr, U may be empty or an underscore; expand it | |
5979 U=`sed -n 's/^U = //p' < "$mf"` | |
5980 # Find all dependency output files, they are included files with | |
5981 # $(DEPDIR) in their names. We invoke sed twice because it is the | |
5982 # simplest approach to changing $(DEPDIR) to its actual value in the | |
5983 # expansion. | |
5984 for file in `sed -n " | |
5985 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
5986 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
5987 # Make sure the directory exists. | |
5988 test -f "$dirpart/$file" && continue | |
5989 fdir=`$as_dirname -- "$file" || | |
5990 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5991 X"$file" : 'X\(//\)[^/]' \| \ | |
5992 X"$file" : 'X\(//\)$' \| \ | |
5993 X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
5994 $as_echo X"$file" | | |
5995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5996 s//\1/ | |
5997 q | |
5998 } | |
5999 /^X\(\/\/\)[^/].*/{ | |
6000 s//\1/ | |
6001 q | |
6002 } | |
6003 /^X\(\/\/\)$/{ | |
6004 s//\1/ | |
6005 q | |
6006 } | |
6007 /^X\(\/\).*/{ | |
6008 s//\1/ | |
6009 q | |
6010 } | |
6011 s/.*/./; q'` | |
6012 as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
6013 # echo "creating $dirpart/$file" | |
6014 echo '# dummy' > "$dirpart/$file" | |
6015 done | |
6016 done | |
6017 } | |
6018 ;; | |
6019 | |
6020 esac | |
6021 done # for ac_tag | |
6022 | |
6023 | |
6024 as_fn_exit 0 | |
6025 _ACEOF | |
5252 ac_clean_files=$ac_clean_files_save | 6026 ac_clean_files=$ac_clean_files_save |
6027 | |
6028 test $ac_write_fail = 0 || | |
6029 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
5253 | 6030 |
5254 | 6031 |
5255 # configure is writing to config.log, and then calls config.status. | 6032 # configure is writing to config.log, and then calls config.status. |
5256 # config.status does its own redirection, appending to config.log. | 6033 # config.status does its own redirection, appending to config.log. |
5257 # Unfortunately, on DOS this fails, as config.log is still kept open | 6034 # Unfortunately, on DOS this fails, as config.log is still kept open |
5268 exec 5>/dev/null | 6045 exec 5>/dev/null |
5269 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 6046 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
5270 exec 5>>config.log | 6047 exec 5>>config.log |
5271 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 6048 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
5272 # would make configure fail if this is the last instruction. | 6049 # would make configure fail if this is the last instruction. |
5273 $ac_cs_success || { (exit 1); exit 1; } | 6050 $ac_cs_success || as_fn_exit 1 |
6051 fi | |
6052 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
6054 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
5274 fi | 6055 fi |
5275 | 6056 |
5276 | 6057 |
5277 if test ! -d debian ; then | 6058 if test ! -d debian ; then |
5278 ln -s deb debian | 6059 ln -s deb debian |