zeroSquitto – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | @%:@! /bin/sh |
2 | @%:@ Guess values for system-dependent variables and create Makefiles. |
||
3 | @%:@ Generated by GNU Autoconf 2.69 for zeroSquitto 1.0. |
||
4 | @%:@ |
||
5 | @%:@ |
||
6 | @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
||
7 | @%:@ |
||
8 | @%:@ |
||
9 | @%:@ This configure script is free software; the Free Software Foundation |
||
10 | @%:@ gives unlimited permission to copy, distribute and modify it. |
||
11 | ## -------------------- ## |
||
12 | ## M4sh Initialization. ## |
||
13 | ## -------------------- ## |
||
14 | |||
15 | # Be more Bourne compatible |
||
16 | DUALCASE=1; export DUALCASE # for MKS sh |
||
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
||
18 | emulate sh |
||
19 | NULLCMD=: |
||
20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
||
21 | # is contrary to our usage. Disable this feature. |
||
22 | alias -g '${1+"$@"}'='"$@"' |
||
23 | setopt NO_GLOB_SUBST |
||
24 | else |
||
25 | case `(set -o) 2>/dev/null` in @%:@( |
||
26 | *posix*) : |
||
27 | set -o posix ;; @%:@( |
||
28 | *) : |
||
29 | ;; |
||
30 | esac |
||
31 | fi |
||
32 | |||
33 | |||
34 | as_nl=' |
||
35 | ' |
||
36 | export as_nl |
||
37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
||
38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
||
39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
||
40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
||
41 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
||
42 | # but without wasting forks for bash or zsh. |
||
43 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
||
44 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
||
45 | as_echo='print -r --' |
||
46 | as_echo_n='print -rn --' |
||
47 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
||
48 | as_echo='printf %s\n' |
||
49 | as_echo_n='printf %s' |
||
50 | else |
||
51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
||
52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
||
53 | as_echo_n='/usr/ucb/echo -n' |
||
54 | else |
||
55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
||
56 | as_echo_n_body='eval |
||
57 | arg=$1; |
||
58 | case $arg in @%:@( |
||
59 | *"$as_nl"*) |
||
60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
||
61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
||
62 | esac; |
||
63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
||
64 | ' |
||
65 | export as_echo_n_body |
||
66 | as_echo_n='sh -c $as_echo_n_body as_echo' |
||
67 | fi |
||
68 | export as_echo_body |
||
69 | as_echo='sh -c $as_echo_body as_echo' |
||
70 | fi |
||
71 | |||
72 | # The user is always right. |
||
73 | if test "${PATH_SEPARATOR+set}" != set; then |
||
74 | PATH_SEPARATOR=: |
||
75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
||
76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
||
77 | PATH_SEPARATOR=';' |
||
78 | } |
||
79 | fi |
||
80 | |||
81 | |||
82 | # IFS |
||
83 | # We need space, tab and new line, in precisely that order. Quoting is |
||
84 | # there to prevent editors from complaining about space-tab. |
||
85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
||
86 | # splitting by setting IFS to empty value.) |
||
87 | IFS=" "" $as_nl" |
||
88 | |||
89 | # Find who we are. Look in the path if we contain no directory separator. |
||
90 | as_myself= |
||
91 | case $0 in @%:@(( |
||
92 | *[\\/]* ) as_myself=$0 ;; |
||
93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
94 | for as_dir in $PATH |
||
95 | do |
||
96 | IFS=$as_save_IFS |
||
97 | test -z "$as_dir" && as_dir=. |
||
98 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
||
99 | done |
||
100 | IFS=$as_save_IFS |
||
101 | |||
102 | ;; |
||
103 | esac |
||
104 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
||
105 | # in which case we are not to be found in the path. |
||
106 | if test "x$as_myself" = x; then |
||
107 | as_myself=$0 |
||
108 | fi |
||
109 | if test ! -f "$as_myself"; then |
||
110 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
||
111 | exit 1 |
||
112 | fi |
||
113 | |||
114 | # Unset variables that we do not need and which cause bugs (e.g. in |
||
115 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
||
116 | # suppresses any "Segmentation fault" message there. '((' could |
||
117 | # trigger a bug in pdksh 5.2.14. |
||
118 | for as_var in BASH_ENV ENV MAIL MAILPATH |
||
119 | do eval test x\${$as_var+set} = xset \ |
||
120 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
||
121 | done |
||
122 | PS1='$ ' |
||
123 | PS2='> ' |
||
124 | PS4='+ ' |
||
125 | |||
126 | # NLS nuisances. |
||
127 | LC_ALL=C |
||
128 | export LC_ALL |
||
129 | LANGUAGE=C |
||
130 | export LANGUAGE |
||
131 | |||
132 | # CDPATH. |
||
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
||
134 | |||
135 | # Use a proper internal environment variable to ensure we don't fall |
||
136 | # into an infinite loop, continuously re-executing ourselves. |
||
137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
||
138 | _as_can_reexec=no; export _as_can_reexec; |
||
139 | # We cannot yet assume a decent shell, so we have to provide a |
||
140 | # neutralization value for shells without unset; and this also |
||
141 | # works around shells that cannot unset nonexistent variables. |
||
142 | # Preserve -v and -x to the replacement shell. |
||
143 | BASH_ENV=/dev/null |
||
144 | ENV=/dev/null |
||
145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
||
146 | case $- in @%:@ (((( |
||
147 | *v*x* | *x*v* ) as_opts=-vx ;; |
||
148 | *v* ) as_opts=-v ;; |
||
149 | *x* ) as_opts=-x ;; |
||
150 | * ) as_opts= ;; |
||
151 | esac |
||
152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
||
153 | # Admittedly, this is quite paranoid, since all the known shells bail |
||
154 | # out after a failed `exec'. |
||
155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
||
156 | as_fn_exit 255 |
||
157 | fi |
||
158 | # We don't want this to propagate to other subprocesses. |
||
159 | { _as_can_reexec=; unset _as_can_reexec;} |
||
160 | if test "x$CONFIG_SHELL" = x; then |
||
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
||
162 | emulate sh |
||
163 | NULLCMD=: |
||
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
||
165 | # is contrary to our usage. Disable this feature. |
||
166 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
||
167 | setopt NO_GLOB_SUBST |
||
168 | else |
||
169 | case \`(set -o) 2>/dev/null\` in @%:@( |
||
170 | *posix*) : |
||
171 | set -o posix ;; @%:@( |
||
172 | *) : |
||
173 | ;; |
||
174 | esac |
||
175 | fi |
||
176 | " |
||
177 | as_required="as_fn_return () { (exit \$1); } |
||
178 | as_fn_success () { as_fn_return 0; } |
||
179 | as_fn_failure () { as_fn_return 1; } |
||
180 | as_fn_ret_success () { return 0; } |
||
181 | as_fn_ret_failure () { return 1; } |
||
182 | |||
183 | exitcode=0 |
||
184 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
||
185 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
||
186 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
||
187 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
||
188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
||
189 | |||
190 | else |
||
191 | exitcode=1; echo positional parameters were not saved. |
||
192 | fi |
||
193 | test x\$exitcode = x0 || exit 1 |
||
194 | test -x / || exit 1" |
||
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
||
196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
||
197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
||
198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" |
||
199 | if (eval "$as_required") 2>/dev/null; then : |
||
200 | as_have_required=yes |
||
201 | else |
||
202 | as_have_required=no |
||
203 | fi |
||
204 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
||
205 | |||
206 | else |
||
207 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
208 | as_found=false |
||
209 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
||
210 | do |
||
211 | IFS=$as_save_IFS |
||
212 | test -z "$as_dir" && as_dir=. |
||
213 | as_found=: |
||
214 | case $as_dir in @%:@( |
||
215 | /*) |
||
216 | for as_base in sh bash ksh sh5; do |
||
217 | # Try only shells that exist, to save several forks. |
||
218 | as_shell=$as_dir/$as_base |
||
219 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
||
220 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
||
221 | CONFIG_SHELL=$as_shell as_have_required=yes |
||
222 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
||
223 | break 2 |
||
224 | fi |
||
225 | fi |
||
226 | done;; |
||
227 | esac |
||
228 | as_found=false |
||
229 | done |
||
230 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
||
231 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
||
232 | CONFIG_SHELL=$SHELL as_have_required=yes |
||
233 | fi; } |
||
234 | IFS=$as_save_IFS |
||
235 | |||
236 | |||
237 | if test "x$CONFIG_SHELL" != x; then : |
||
238 | export CONFIG_SHELL |
||
239 | # We cannot yet assume a decent shell, so we have to provide a |
||
240 | # neutralization value for shells without unset; and this also |
||
241 | # works around shells that cannot unset nonexistent variables. |
||
242 | # Preserve -v and -x to the replacement shell. |
||
243 | BASH_ENV=/dev/null |
||
244 | ENV=/dev/null |
||
245 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
||
246 | case $- in @%:@ (((( |
||
247 | *v*x* | *x*v* ) as_opts=-vx ;; |
||
248 | *v* ) as_opts=-v ;; |
||
249 | *x* ) as_opts=-x ;; |
||
250 | * ) as_opts= ;; |
||
251 | esac |
||
252 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
||
253 | # Admittedly, this is quite paranoid, since all the known shells bail |
||
254 | # out after a failed `exec'. |
||
255 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
||
256 | exit 255 |
||
257 | fi |
||
258 | |||
259 | if test x$as_have_required = xno; then : |
||
260 | $as_echo "$0: This script requires a shell more modern than all" |
||
261 | $as_echo "$0: the shells that I found on your system." |
||
262 | if test x${ZSH_VERSION+set} = xset ; then |
||
263 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
||
264 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
||
265 | else |
||
266 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
||
267 | $0: including any error possibly output before this |
||
268 | $0: message. Then install a modern shell, or manually run |
||
269 | $0: the script under such a shell if you do have one." |
||
270 | fi |
||
271 | exit 1 |
||
272 | fi |
||
273 | fi |
||
274 | fi |
||
275 | SHELL=${CONFIG_SHELL-/bin/sh} |
||
276 | export SHELL |
||
277 | # Unset more variables known to interfere with behavior of common tools. |
||
278 | CLICOLOR_FORCE= GREP_OPTIONS= |
||
279 | unset CLICOLOR_FORCE GREP_OPTIONS |
||
280 | |||
281 | ## --------------------- ## |
||
282 | ## M4sh Shell Functions. ## |
||
283 | ## --------------------- ## |
||
284 | @%:@ as_fn_unset VAR |
||
285 | @%:@ --------------- |
||
286 | @%:@ Portably unset VAR. |
||
287 | as_fn_unset () |
||
288 | { |
||
289 | { eval $1=; unset $1;} |
||
290 | } |
||
291 | as_unset=as_fn_unset |
||
292 | |||
293 | @%:@ as_fn_set_status STATUS |
||
294 | @%:@ ----------------------- |
||
295 | @%:@ Set @S|@? to STATUS, without forking. |
||
296 | as_fn_set_status () |
||
297 | { |
||
298 | return $1 |
||
299 | } @%:@ as_fn_set_status |
||
300 | |||
301 | @%:@ as_fn_exit STATUS |
||
302 | @%:@ ----------------- |
||
303 | @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
||
304 | as_fn_exit () |
||
305 | { |
||
306 | set +e |
||
307 | as_fn_set_status $1 |
||
308 | exit $1 |
||
309 | } @%:@ as_fn_exit |
||
310 | |||
311 | @%:@ as_fn_mkdir_p |
||
312 | @%:@ ------------- |
||
313 | @%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
||
314 | as_fn_mkdir_p () |
||
315 | { |
||
316 | |||
317 | case $as_dir in #( |
||
318 | -*) as_dir=./$as_dir;; |
||
319 | esac |
||
320 | test -d "$as_dir" || eval $as_mkdir_p || { |
||
321 | as_dirs= |
||
322 | while :; do |
||
323 | case $as_dir in #( |
||
324 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
||
325 | *) as_qdir=$as_dir;; |
||
326 | esac |
||
327 | as_dirs="'$as_qdir' $as_dirs" |
||
328 | as_dir=`$as_dirname -- "$as_dir" || |
||
329 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
330 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
||
331 | X"$as_dir" : 'X\(//\)$' \| \ |
||
332 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
||
333 | $as_echo X"$as_dir" | |
||
334 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
||
335 | s//\1/ |
||
336 | q |
||
337 | } |
||
338 | /^X\(\/\/\)[^/].*/{ |
||
339 | s//\1/ |
||
340 | q |
||
341 | } |
||
342 | /^X\(\/\/\)$/{ |
||
343 | s//\1/ |
||
344 | q |
||
345 | } |
||
346 | /^X\(\/\).*/{ |
||
347 | s//\1/ |
||
348 | q |
||
349 | } |
||
350 | s/.*/./; q'` |
||
351 | test -d "$as_dir" && break |
||
352 | done |
||
353 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
||
354 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
||
355 | |||
356 | |||
357 | } @%:@ as_fn_mkdir_p |
||
358 | |||
359 | @%:@ as_fn_executable_p FILE |
||
360 | @%:@ ----------------------- |
||
361 | @%:@ Test if FILE is an executable regular file. |
||
362 | as_fn_executable_p () |
||
363 | { |
||
364 | test -f "$1" && test -x "$1" |
||
365 | } @%:@ as_fn_executable_p |
||
366 | @%:@ as_fn_append VAR VALUE |
||
367 | @%:@ ---------------------- |
||
368 | @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
||
369 | @%:@ advantage of any shell optimizations that allow amortized linear growth over |
||
370 | @%:@ repeated appends, instead of the typical quadratic growth present in naive |
||
371 | @%:@ implementations. |
||
372 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
||
373 | eval 'as_fn_append () |
||
374 | { |
||
375 | eval $1+=\$2 |
||
376 | }' |
||
377 | else |
||
378 | as_fn_append () |
||
379 | { |
||
380 | eval $1=\$$1\$2 |
||
381 | } |
||
382 | fi # as_fn_append |
||
383 | |||
384 | @%:@ as_fn_arith ARG... |
||
385 | @%:@ ------------------ |
||
386 | @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
||
387 | @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
||
388 | @%:@ must be portable across @S|@(()) and expr. |
||
389 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
||
390 | eval 'as_fn_arith () |
||
391 | { |
||
392 | as_val=$(( $* )) |
||
393 | }' |
||
394 | else |
||
395 | as_fn_arith () |
||
396 | { |
||
397 | as_val=`expr "$@" || test $? -eq 1` |
||
398 | } |
||
399 | fi # as_fn_arith |
||
400 | |||
401 | |||
402 | @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
||
403 | @%:@ ---------------------------------------- |
||
404 | @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
||
405 | @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
||
406 | @%:@ script with STATUS, using 1 if that was 0. |
||
407 | as_fn_error () |
||
408 | { |
||
409 | as_status=$1; test $as_status -eq 0 && as_status=1 |
||
410 | if test "$4"; then |
||
411 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
||
412 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
||
413 | fi |
||
414 | $as_echo "$as_me: error: $2" >&2 |
||
415 | as_fn_exit $as_status |
||
416 | } @%:@ as_fn_error |
||
417 | |||
418 | if expr a : '\(a\)' >/dev/null 2>&1 && |
||
419 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
||
420 | as_expr=expr |
||
421 | else |
||
422 | as_expr=false |
||
423 | fi |
||
424 | |||
425 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
||
426 | as_basename=basename |
||
427 | else |
||
428 | as_basename=false |
||
429 | fi |
||
430 | |||
431 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
||
432 | as_dirname=dirname |
||
433 | else |
||
434 | as_dirname=false |
||
435 | fi |
||
436 | |||
437 | as_me=`$as_basename -- "$0" || |
||
438 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
||
439 | X"$0" : 'X\(//\)$' \| \ |
||
440 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
||
441 | $as_echo X/"$0" | |
||
442 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
||
443 | s//\1/ |
||
444 | q |
||
445 | } |
||
446 | /^X\/\(\/\/\)$/{ |
||
447 | s//\1/ |
||
448 | q |
||
449 | } |
||
450 | /^X\/\(\/\).*/{ |
||
451 | s//\1/ |
||
452 | q |
||
453 | } |
||
454 | s/.*/./; q'` |
||
455 | |||
456 | # Avoid depending upon Character Ranges. |
||
457 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
||
458 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
||
459 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
||
460 | as_cr_digits='0123456789' |
||
461 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
||
462 | |||
463 | |||
464 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
||
465 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
||
466 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
||
467 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
||
468 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
||
469 | sed -n ' |
||
470 | p |
||
471 | /[$]LINENO/= |
||
472 | ' <$as_myself | |
||
473 | sed ' |
||
474 | s/[$]LINENO.*/&-/ |
||
475 | t lineno |
||
476 | b |
||
477 | :lineno |
||
478 | N |
||
479 | :loop |
||
480 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
||
481 | t loop |
||
482 | s/-\n.*// |
||
483 | ' >$as_me.lineno && |
||
484 | chmod +x "$as_me.lineno" || |
||
485 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
||
486 | |||
487 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
||
488 | # already done that, so ensure we don't try to do so again and fall |
||
489 | # in an infinite loop. This has already happened in practice. |
||
490 | _as_can_reexec=no; export _as_can_reexec |
||
491 | # Don't try to exec as it changes $[0], causing all sort of problems |
||
492 | # (the dirname of $[0] is not the place where we might find the |
||
493 | # original and so on. Autoconf is especially sensitive to this). |
||
494 | . "./$as_me.lineno" |
||
495 | # Exit status is that of the last command. |
||
496 | exit |
||
497 | } |
||
498 | |||
499 | ECHO_C= ECHO_N= ECHO_T= |
||
500 | case `echo -n x` in @%:@((((( |
||
501 | -n*) |
||
502 | case `echo 'xy\c'` in |
||
503 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
||
504 | xy) ECHO_C='\c';; |
||
505 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
||
506 | ECHO_T=' ';; |
||
507 | esac;; |
||
508 | *) |
||
509 | ECHO_N='-n';; |
||
510 | esac |
||
511 | |||
512 | rm -f conf$$ conf$$.exe conf$$.file |
||
513 | if test -d conf$$.dir; then |
||
514 | rm -f conf$$.dir/conf$$.file |
||
515 | else |
||
516 | rm -f conf$$.dir |
||
517 | mkdir conf$$.dir 2>/dev/null |
||
518 | fi |
||
519 | if (echo >conf$$.file) 2>/dev/null; then |
||
520 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
||
521 | as_ln_s='ln -s' |
||
522 | # ... but there are two gotchas: |
||
523 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
||
524 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
||
525 | # In both cases, we have to default to `cp -pR'. |
||
526 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
||
527 | as_ln_s='cp -pR' |
||
528 | elif ln conf$$.file conf$$ 2>/dev/null; then |
||
529 | as_ln_s=ln |
||
530 | else |
||
531 | as_ln_s='cp -pR' |
||
532 | fi |
||
533 | else |
||
534 | as_ln_s='cp -pR' |
||
535 | fi |
||
536 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
||
537 | rmdir conf$$.dir 2>/dev/null |
||
538 | |||
539 | if mkdir -p . 2>/dev/null; then |
||
540 | as_mkdir_p='mkdir -p "$as_dir"' |
||
541 | else |
||
542 | test -d ./-p && rmdir ./-p |
||
543 | as_mkdir_p=false |
||
544 | fi |
||
545 | |||
546 | as_test_x='test -x' |
||
547 | as_executable_p=as_fn_executable_p |
||
548 | |||
549 | # Sed expression to map a string onto a valid CPP name. |
||
550 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
||
551 | |||
552 | # Sed expression to map a string onto a valid variable name. |
||
553 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
||
554 | |||
555 | |||
556 | test -n "$DJDIR" || exec 7<&0 </dev/null |
||
557 | exec 6>&1 |
||
558 | |||
559 | # Name of the host. |
||
560 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
||
561 | # so uname gets run too. |
||
562 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
||
563 | |||
564 | # |
||
565 | # Initializations. |
||
566 | # |
||
567 | ac_default_prefix=/usr/local |
||
568 | ac_clean_files= |
||
569 | ac_config_libobj_dir=. |
||
570 | LIB@&t@OBJS= |
||
571 | cross_compiling=no |
||
572 | subdirs= |
||
573 | MFLAGS= |
||
574 | MAKEFLAGS= |
||
575 | |||
576 | # Identity of this package. |
||
577 | PACKAGE_NAME='zeroSquitto' |
||
578 | PACKAGE_TARNAME='zerosquitto' |
||
579 | PACKAGE_VERSION='1.0' |
||
580 | PACKAGE_STRING='zeroSquitto 1.0' |
||
581 | PACKAGE_BUGREPORT='' |
||
582 | PACKAGE_URL='' |
||
583 | |||
584 | ac_unique_file="src/zeromqClient.c" |
||
585 | ac_subst_vars='am__EXEEXT_FALSE |
||
586 | am__EXEEXT_TRUE |
||
587 | LTLIBOBJS |
||
588 | LIB@&t@OBJS |
||
589 | INTI_LIBS |
||
590 | INTI_CFLAGS |
||
591 | AM_BACKSLASH |
||
592 | AM_DEFAULT_VERBOSITY |
||
593 | AM_DEFAULT_V |
||
594 | AM_V |
||
595 | am__fastdepCC_FALSE |
||
596 | am__fastdepCC_TRUE |
||
597 | CCDEPMODE |
||
598 | am__nodep |
||
599 | AMDEPBACKSLASH |
||
600 | AMDEP_FALSE |
||
601 | AMDEP_TRUE |
||
602 | am__quote |
||
603 | am__include |
||
604 | DEPDIR |
||
605 | am__untar |
||
606 | am__tar |
||
607 | AMTAR |
||
608 | am__leading_dot |
||
609 | SET_MAKE |
||
610 | AWK |
||
611 | mkdir_p |
||
612 | MKDIR_P |
||
613 | INSTALL_STRIP_PROGRAM |
||
614 | STRIP |
||
615 | install_sh |
||
616 | MAKEINFO |
||
617 | AUTOHEADER |
||
618 | AUTOMAKE |
||
619 | AUTOCONF |
||
620 | ACLOCAL |
||
621 | VERSION |
||
622 | PACKAGE |
||
623 | CYGPATH_W |
||
624 | am__isrc |
||
625 | INSTALL_DATA |
||
626 | INSTALL_SCRIPT |
||
627 | INSTALL_PROGRAM |
||
628 | OBJEXT |
||
629 | EXEEXT |
||
630 | ac_ct_CC |
||
631 | CPPFLAGS |
||
632 | LDFLAGS |
||
633 | CFLAGS |
||
634 | CC |
||
635 | target_alias |
||
636 | host_alias |
||
637 | build_alias |
||
638 | LIBS |
||
639 | ECHO_T |
||
640 | ECHO_N |
||
641 | ECHO_C |
||
642 | DEFS |
||
643 | mandir |
||
644 | localedir |
||
645 | libdir |
||
646 | psdir |
||
647 | pdfdir |
||
648 | dvidir |
||
649 | htmldir |
||
650 | infodir |
||
651 | docdir |
||
652 | oldincludedir |
||
653 | includedir |
||
654 | localstatedir |
||
655 | sharedstatedir |
||
656 | sysconfdir |
||
657 | datadir |
||
658 | datarootdir |
||
659 | libexecdir |
||
660 | sbindir |
||
661 | bindir |
||
662 | program_transform_name |
||
663 | prefix |
||
664 | exec_prefix |
||
665 | PACKAGE_URL |
||
666 | PACKAGE_BUGREPORT |
||
667 | PACKAGE_STRING |
||
668 | PACKAGE_VERSION |
||
669 | PACKAGE_TARNAME |
||
670 | PACKAGE_NAME |
||
671 | PATH_SEPARATOR |
||
672 | SHELL' |
||
673 | ac_subst_files='' |
||
674 | ac_user_opts=' |
||
675 | enable_option_checking |
||
676 | enable_dependency_tracking |
||
677 | enable_silent_rules |
||
678 | ' |
||
679 | ac_precious_vars='build_alias |
||
680 | host_alias |
||
681 | target_alias |
||
682 | CC |
||
683 | CFLAGS |
||
684 | LDFLAGS |
||
685 | LIBS |
||
686 | CPPFLAGS' |
||
687 | |||
688 | |||
689 | # Initialize some variables set by options. |
||
690 | ac_init_help= |
||
691 | ac_init_version=false |
||
692 | ac_unrecognized_opts= |
||
693 | ac_unrecognized_sep= |
||
694 | # The variables have the same names as the options, with |
||
695 | # dashes changed to underlines. |
||
696 | cache_file=/dev/null |
||
697 | exec_prefix=NONE |
||
698 | no_create= |
||
699 | no_recursion= |
||
700 | prefix=NONE |
||
701 | program_prefix=NONE |
||
702 | program_suffix=NONE |
||
703 | program_transform_name=s,x,x, |
||
704 | silent= |
||
705 | site= |
||
706 | srcdir= |
||
707 | verbose= |
||
708 | x_includes=NONE |
||
709 | x_libraries=NONE |
||
710 | |||
711 | # Installation directory options. |
||
712 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
||
713 | # and all the variables that are supposed to be based on exec_prefix |
||
714 | # by default will actually change. |
||
715 | # Use braces instead of parens because sh, perl, etc. also accept them. |
||
716 | # (The list follows the same order as the GNU Coding Standards.) |
||
717 | bindir='${exec_prefix}/bin' |
||
718 | sbindir='${exec_prefix}/sbin' |
||
719 | libexecdir='${exec_prefix}/libexec' |
||
720 | datarootdir='${prefix}/share' |
||
721 | datadir='${datarootdir}' |
||
722 | sysconfdir='${prefix}/etc' |
||
723 | sharedstatedir='${prefix}/com' |
||
724 | localstatedir='${prefix}/var' |
||
725 | includedir='${prefix}/include' |
||
726 | oldincludedir='/usr/include' |
||
727 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
||
728 | infodir='${datarootdir}/info' |
||
729 | htmldir='${docdir}' |
||
730 | dvidir='${docdir}' |
||
731 | pdfdir='${docdir}' |
||
732 | psdir='${docdir}' |
||
733 | libdir='${exec_prefix}/lib' |
||
734 | localedir='${datarootdir}/locale' |
||
735 | mandir='${datarootdir}/man' |
||
736 | |||
737 | ac_prev= |
||
738 | ac_dashdash= |
||
739 | for ac_option |
||
740 | do |
||
741 | # If the previous option needs an argument, assign it. |
||
742 | if test -n "$ac_prev"; then |
||
743 | eval $ac_prev=\$ac_option |
||
744 | ac_prev= |
||
745 | continue |
||
746 | fi |
||
747 | |||
748 | case $ac_option in |
||
749 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
||
750 | *=) ac_optarg= ;; |
||
751 | *) ac_optarg=yes ;; |
||
752 | esac |
||
753 | |||
754 | # Accept the important Cygnus configure options, so we can diagnose typos. |
||
755 | |||
756 | case $ac_dashdash$ac_option in |
||
757 | --) |
||
758 | ac_dashdash=yes ;; |
||
759 | |||
760 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
||
761 | ac_prev=bindir ;; |
||
762 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
||
763 | bindir=$ac_optarg ;; |
||
764 | |||
765 | -build | --build | --buil | --bui | --bu) |
||
766 | ac_prev=build_alias ;; |
||
767 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
||
768 | build_alias=$ac_optarg ;; |
||
769 | |||
770 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
||
771 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
||
772 | ac_prev=cache_file ;; |
||
773 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
||
774 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
||
775 | cache_file=$ac_optarg ;; |
||
776 | |||
777 | --config-cache | -C) |
||
778 | cache_file=config.cache ;; |
||
779 | |||
780 | -datadir | --datadir | --datadi | --datad) |
||
781 | ac_prev=datadir ;; |
||
782 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
||
783 | datadir=$ac_optarg ;; |
||
784 | |||
785 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
||
786 | | --dataroo | --dataro | --datar) |
||
787 | ac_prev=datarootdir ;; |
||
788 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
||
789 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
||
790 | datarootdir=$ac_optarg ;; |
||
791 | |||
792 | -disable-* | --disable-*) |
||
793 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
||
794 | # Reject names that are not valid shell variable names. |
||
795 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
||
796 | as_fn_error $? "invalid feature name: $ac_useropt" |
||
797 | ac_useropt_orig=$ac_useropt |
||
798 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
||
799 | case $ac_user_opts in |
||
800 | *" |
||
801 | "enable_$ac_useropt" |
||
802 | "*) ;; |
||
803 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
||
804 | ac_unrecognized_sep=', ';; |
||
805 | esac |
||
806 | eval enable_$ac_useropt=no ;; |
||
807 | |||
808 | -docdir | --docdir | --docdi | --doc | --do) |
||
809 | ac_prev=docdir ;; |
||
810 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
||
811 | docdir=$ac_optarg ;; |
||
812 | |||
813 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
||
814 | ac_prev=dvidir ;; |
||
815 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
||
816 | dvidir=$ac_optarg ;; |
||
817 | |||
818 | -enable-* | --enable-*) |
||
819 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
||
820 | # Reject names that are not valid shell variable names. |
||
821 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
||
822 | as_fn_error $? "invalid feature name: $ac_useropt" |
||
823 | ac_useropt_orig=$ac_useropt |
||
824 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
||
825 | case $ac_user_opts in |
||
826 | *" |
||
827 | "enable_$ac_useropt" |
||
828 | "*) ;; |
||
829 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
||
830 | ac_unrecognized_sep=', ';; |
||
831 | esac |
||
832 | eval enable_$ac_useropt=\$ac_optarg ;; |
||
833 | |||
834 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
||
835 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
||
836 | | --exec | --exe | --ex) |
||
837 | ac_prev=exec_prefix ;; |
||
838 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
||
839 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
||
840 | | --exec=* | --exe=* | --ex=*) |
||
841 | exec_prefix=$ac_optarg ;; |
||
842 | |||
843 | -gas | --gas | --ga | --g) |
||
844 | # Obsolete; use --with-gas. |
||
845 | with_gas=yes ;; |
||
846 | |||
847 | -help | --help | --hel | --he | -h) |
||
848 | ac_init_help=long ;; |
||
849 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
||
850 | ac_init_help=recursive ;; |
||
851 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
||
852 | ac_init_help=short ;; |
||
853 | |||
854 | -host | --host | --hos | --ho) |
||
855 | ac_prev=host_alias ;; |
||
856 | -host=* | --host=* | --hos=* | --ho=*) |
||
857 | host_alias=$ac_optarg ;; |
||
858 | |||
859 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
||
860 | ac_prev=htmldir ;; |
||
861 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
||
862 | | --ht=*) |
||
863 | htmldir=$ac_optarg ;; |
||
864 | |||
865 | -includedir | --includedir | --includedi | --included | --include \ |
||
866 | | --includ | --inclu | --incl | --inc) |
||
867 | ac_prev=includedir ;; |
||
868 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
||
869 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
||
870 | includedir=$ac_optarg ;; |
||
871 | |||
872 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
||
873 | ac_prev=infodir ;; |
||
874 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
||
875 | infodir=$ac_optarg ;; |
||
876 | |||
877 | -libdir | --libdir | --libdi | --libd) |
||
878 | ac_prev=libdir ;; |
||
879 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
||
880 | libdir=$ac_optarg ;; |
||
881 | |||
882 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
||
883 | | --libexe | --libex | --libe) |
||
884 | ac_prev=libexecdir ;; |
||
885 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
||
886 | | --libexe=* | --libex=* | --libe=*) |
||
887 | libexecdir=$ac_optarg ;; |
||
888 | |||
889 | -localedir | --localedir | --localedi | --localed | --locale) |
||
890 | ac_prev=localedir ;; |
||
891 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
||
892 | localedir=$ac_optarg ;; |
||
893 | |||
894 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
||
895 | | --localstate | --localstat | --localsta | --localst | --locals) |
||
896 | ac_prev=localstatedir ;; |
||
897 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
||
898 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
||
899 | localstatedir=$ac_optarg ;; |
||
900 | |||
901 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
||
902 | ac_prev=mandir ;; |
||
903 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
||
904 | mandir=$ac_optarg ;; |
||
905 | |||
906 | -nfp | --nfp | --nf) |
||
907 | # Obsolete; use --without-fp. |
||
908 | with_fp=no ;; |
||
909 | |||
910 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
||
911 | | --no-cr | --no-c | -n) |
||
912 | no_create=yes ;; |
||
913 | |||
914 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
||
915 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
||
916 | no_recursion=yes ;; |
||
917 | |||
918 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
||
919 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
||
920 | | --oldin | --oldi | --old | --ol | --o) |
||
921 | ac_prev=oldincludedir ;; |
||
922 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
||
923 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
||
924 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
||
925 | oldincludedir=$ac_optarg ;; |
||
926 | |||
927 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
||
928 | ac_prev=prefix ;; |
||
929 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
||
930 | prefix=$ac_optarg ;; |
||
931 | |||
932 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
||
933 | | --program-pre | --program-pr | --program-p) |
||
934 | ac_prev=program_prefix ;; |
||
935 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
||
936 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
||
937 | program_prefix=$ac_optarg ;; |
||
938 | |||
939 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
||
940 | | --program-suf | --program-su | --program-s) |
||
941 | ac_prev=program_suffix ;; |
||
942 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
||
943 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
||
944 | program_suffix=$ac_optarg ;; |
||
945 | |||
946 | -program-transform-name | --program-transform-name \ |
||
947 | | --program-transform-nam | --program-transform-na \ |
||
948 | | --program-transform-n | --program-transform- \ |
||
949 | | --program-transform | --program-transfor \ |
||
950 | | --program-transfo | --program-transf \ |
||
951 | | --program-trans | --program-tran \ |
||
952 | | --progr-tra | --program-tr | --program-t) |
||
953 | ac_prev=program_transform_name ;; |
||
954 | -program-transform-name=* | --program-transform-name=* \ |
||
955 | | --program-transform-nam=* | --program-transform-na=* \ |
||
956 | | --program-transform-n=* | --program-transform-=* \ |
||
957 | | --program-transform=* | --program-transfor=* \ |
||
958 | | --program-transfo=* | --program-transf=* \ |
||
959 | | --program-trans=* | --program-tran=* \ |
||
960 | | --progr-tra=* | --program-tr=* | --program-t=*) |
||
961 | program_transform_name=$ac_optarg ;; |
||
962 | |||
963 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
||
964 | ac_prev=pdfdir ;; |
||
965 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
||
966 | pdfdir=$ac_optarg ;; |
||
967 | |||
968 | -psdir | --psdir | --psdi | --psd | --ps) |
||
969 | ac_prev=psdir ;; |
||
970 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
||
971 | psdir=$ac_optarg ;; |
||
972 | |||
973 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
||
974 | | -silent | --silent | --silen | --sile | --sil) |
||
975 | silent=yes ;; |
||
976 | |||
977 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
||
978 | ac_prev=sbindir ;; |
||
979 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
||
980 | | --sbi=* | --sb=*) |
||
981 | sbindir=$ac_optarg ;; |
||
982 | |||
983 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
||
984 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
||
985 | | --sharedst | --shareds | --shared | --share | --shar \ |
||
986 | | --sha | --sh) |
||
987 | ac_prev=sharedstatedir ;; |
||
988 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
||
989 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
||
990 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
||
991 | | --sha=* | --sh=*) |
||
992 | sharedstatedir=$ac_optarg ;; |
||
993 | |||
994 | -site | --site | --sit) |
||
995 | ac_prev=site ;; |
||
996 | -site=* | --site=* | --sit=*) |
||
997 | site=$ac_optarg ;; |
||
998 | |||
999 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
||
1000 | ac_prev=srcdir ;; |
||
1001 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
||
1002 | srcdir=$ac_optarg ;; |
||
1003 | |||
1004 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
||
1005 | | --syscon | --sysco | --sysc | --sys | --sy) |
||
1006 | ac_prev=sysconfdir ;; |
||
1007 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
||
1008 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
||
1009 | sysconfdir=$ac_optarg ;; |
||
1010 | |||
1011 | -target | --target | --targe | --targ | --tar | --ta | --t) |
||
1012 | ac_prev=target_alias ;; |
||
1013 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
||
1014 | target_alias=$ac_optarg ;; |
||
1015 | |||
1016 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
||
1017 | verbose=yes ;; |
||
1018 | |||
1019 | -version | --version | --versio | --versi | --vers | -V) |
||
1020 | ac_init_version=: ;; |
||
1021 | |||
1022 | -with-* | --with-*) |
||
1023 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
||
1024 | # Reject names that are not valid shell variable names. |
||
1025 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
||
1026 | as_fn_error $? "invalid package name: $ac_useropt" |
||
1027 | ac_useropt_orig=$ac_useropt |
||
1028 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
||
1029 | case $ac_user_opts in |
||
1030 | *" |
||
1031 | "with_$ac_useropt" |
||
1032 | "*) ;; |
||
1033 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
||
1034 | ac_unrecognized_sep=', ';; |
||
1035 | esac |
||
1036 | eval with_$ac_useropt=\$ac_optarg ;; |
||
1037 | |||
1038 | -without-* | --without-*) |
||
1039 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
||
1040 | # Reject names that are not valid shell variable names. |
||
1041 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
||
1042 | as_fn_error $? "invalid package name: $ac_useropt" |
||
1043 | ac_useropt_orig=$ac_useropt |
||
1044 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
||
1045 | case $ac_user_opts in |
||
1046 | *" |
||
1047 | "with_$ac_useropt" |
||
1048 | "*) ;; |
||
1049 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
||
1050 | ac_unrecognized_sep=', ';; |
||
1051 | esac |
||
1052 | eval with_$ac_useropt=no ;; |
||
1053 | |||
1054 | --x) |
||
1055 | # Obsolete; use --with-x. |
||
1056 | with_x=yes ;; |
||
1057 | |||
1058 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
||
1059 | | --x-incl | --x-inc | --x-in | --x-i) |
||
1060 | ac_prev=x_includes ;; |
||
1061 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
||
1062 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
||
1063 | x_includes=$ac_optarg ;; |
||
1064 | |||
1065 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
||
1066 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
||
1067 | ac_prev=x_libraries ;; |
||
1068 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
||
1069 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
||
1070 | x_libraries=$ac_optarg ;; |
||
1071 | |||
1072 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
||
1073 | Try \`$0 --help' for more information" |
||
1074 | ;; |
||
1075 | |||
1076 | *=*) |
||
1077 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
||
1078 | # Reject names that are not valid shell variable names. |
||
1079 | case $ac_envvar in #( |
||
1080 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
||
1081 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
||
1082 | esac |
||
1083 | eval $ac_envvar=\$ac_optarg |
||
1084 | export $ac_envvar ;; |
||
1085 | |||
1086 | *) |
||
1087 | # FIXME: should be removed in autoconf 3.0. |
||
1088 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
||
1089 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
||
1090 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
||
1091 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
||
1092 | ;; |
||
1093 | |||
1094 | esac |
||
1095 | done |
||
1096 | |||
1097 | if test -n "$ac_prev"; then |
||
1098 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
||
1099 | as_fn_error $? "missing argument to $ac_option" |
||
1100 | fi |
||
1101 | |||
1102 | if test -n "$ac_unrecognized_opts"; then |
||
1103 | case $enable_option_checking in |
||
1104 | no) ;; |
||
1105 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
||
1106 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
||
1107 | esac |
||
1108 | fi |
||
1109 | |||
1110 | # Check all directory arguments for consistency. |
||
1111 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
||
1112 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
||
1113 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
||
1114 | libdir localedir mandir |
||
1115 | do |
||
1116 | eval ac_val=\$$ac_var |
||
1117 | # Remove trailing slashes. |
||
1118 | case $ac_val in |
||
1119 | */ ) |
||
1120 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
||
1121 | eval $ac_var=\$ac_val;; |
||
1122 | esac |
||
1123 | # Be sure to have absolute directory names. |
||
1124 | case $ac_val in |
||
1125 | [\\/$]* | ?:[\\/]* ) continue;; |
||
1126 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
||
1127 | esac |
||
1128 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
||
1129 | done |
||
1130 | |||
1131 | # There might be people who depend on the old broken behavior: `$host' |
||
1132 | # used to hold the argument of --host etc. |
||
1133 | # FIXME: To remove some day. |
||
1134 | build=$build_alias |
||
1135 | host=$host_alias |
||
1136 | target=$target_alias |
||
1137 | |||
1138 | # FIXME: To remove some day. |
||
1139 | if test "x$host_alias" != x; then |
||
1140 | if test "x$build_alias" = x; then |
||
1141 | cross_compiling=maybe |
||
1142 | elif test "x$build_alias" != "x$host_alias"; then |
||
1143 | cross_compiling=yes |
||
1144 | fi |
||
1145 | fi |
||
1146 | |||
1147 | ac_tool_prefix= |
||
1148 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
||
1149 | |||
1150 | test "$silent" = yes && exec 6>/dev/null |
||
1151 | |||
1152 | |||
1153 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
||
1154 | ac_ls_di=`ls -di .` && |
||
1155 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
||
1156 | as_fn_error $? "working directory cannot be determined" |
||
1157 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
||
1158 | as_fn_error $? "pwd does not report name of working directory" |
||
1159 | |||
1160 | |||
1161 | # Find the source files, if location was not specified. |
||
1162 | if test -z "$srcdir"; then |
||
1163 | ac_srcdir_defaulted=yes |
||
1164 | # Try the directory containing this script, then the parent directory. |
||
1165 | ac_confdir=`$as_dirname -- "$as_myself" || |
||
1166 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
1167 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
||
1168 | X"$as_myself" : 'X\(//\)$' \| \ |
||
1169 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
||
1170 | $as_echo X"$as_myself" | |
||
1171 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
||
1172 | s//\1/ |
||
1173 | q |
||
1174 | } |
||
1175 | /^X\(\/\/\)[^/].*/{ |
||
1176 | s//\1/ |
||
1177 | q |
||
1178 | } |
||
1179 | /^X\(\/\/\)$/{ |
||
1180 | s//\1/ |
||
1181 | q |
||
1182 | } |
||
1183 | /^X\(\/\).*/{ |
||
1184 | s//\1/ |
||
1185 | q |
||
1186 | } |
||
1187 | s/.*/./; q'` |
||
1188 | srcdir=$ac_confdir |
||
1189 | if test ! -r "$srcdir/$ac_unique_file"; then |
||
1190 | srcdir=.. |
||
1191 | fi |
||
1192 | else |
||
1193 | ac_srcdir_defaulted=no |
||
1194 | fi |
||
1195 | if test ! -r "$srcdir/$ac_unique_file"; then |
||
1196 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
||
1197 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
||
1198 | fi |
||
1199 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
||
1200 | ac_abs_confdir=`( |
||
1201 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
||
1202 | pwd)` |
||
1203 | # When building in place, set srcdir=. |
||
1204 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
||
1205 | srcdir=. |
||
1206 | fi |
||
1207 | # Remove unnecessary trailing slashes from srcdir. |
||
1208 | # Double slashes in file names in object file debugging info |
||
1209 | # mess up M-x gdb in Emacs. |
||
1210 | case $srcdir in |
||
1211 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
||
1212 | esac |
||
1213 | for ac_var in $ac_precious_vars; do |
||
1214 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
||
1215 | eval ac_env_${ac_var}_value=\$${ac_var} |
||
1216 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
||
1217 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
||
1218 | done |
||
1219 | |||
1220 | # |
||
1221 | # Report the --help message. |
||
1222 | # |
||
1223 | if test "$ac_init_help" = "long"; then |
||
1224 | # Omit some internal or obsolete options to make the list less imposing. |
||
1225 | # This message is too long to be a string in the A/UX 3.1 sh. |
||
1226 | cat <<_ACEOF |
||
1227 | \`configure' configures zeroSquitto 1.0 to adapt to many kinds of systems. |
||
1228 | |||
1229 | Usage: $0 [OPTION]... [VAR=VALUE]... |
||
1230 | |||
1231 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
||
1232 | VAR=VALUE. See below for descriptions of some of the useful variables. |
||
1233 | |||
1234 | Defaults for the options are specified in brackets. |
||
1235 | |||
1236 | Configuration: |
||
1237 | -h, --help display this help and exit |
||
1238 | --help=short display options specific to this package |
||
1239 | --help=recursive display the short help of all the included packages |
||
1240 | -V, --version display version information and exit |
||
1241 | -q, --quiet, --silent do not print \`checking ...' messages |
||
1242 | --cache-file=FILE cache test results in FILE [disabled] |
||
1243 | -C, --config-cache alias for \`--cache-file=config.cache' |
||
1244 | -n, --no-create do not create output files |
||
1245 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
||
1246 | |||
1247 | Installation directories: |
||
1248 | --prefix=PREFIX install architecture-independent files in PREFIX |
||
1249 | @<:@@S|@ac_default_prefix@:>@ |
||
1250 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
||
1251 | @<:@PREFIX@:>@ |
||
1252 | |||
1253 | By default, \`make install' will install all the files in |
||
1254 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
||
1255 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
||
1256 | for instance \`--prefix=\$HOME'. |
||
1257 | |||
1258 | For better control, use the options below. |
||
1259 | |||
1260 | Fine tuning of the installation directories: |
||
1261 | --bindir=DIR user executables [EPREFIX/bin] |
||
1262 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
||
1263 | --libexecdir=DIR program executables [EPREFIX/libexec] |
||
1264 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
||
1265 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
||
1266 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
||
1267 | --libdir=DIR object code libraries [EPREFIX/lib] |
||
1268 | --includedir=DIR C header files [PREFIX/include] |
||
1269 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
||
1270 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
||
1271 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
||
1272 | --infodir=DIR info documentation [DATAROOTDIR/info] |
||
1273 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
||
1274 | --mandir=DIR man documentation [DATAROOTDIR/man] |
||
1275 | --docdir=DIR documentation root @<:@DATAROOTDIR/doc/zerosquitto@:>@ |
||
1276 | --htmldir=DIR html documentation [DOCDIR] |
||
1277 | --dvidir=DIR dvi documentation [DOCDIR] |
||
1278 | --pdfdir=DIR pdf documentation [DOCDIR] |
||
1279 | --psdir=DIR ps documentation [DOCDIR] |
||
1280 | _ACEOF |
||
1281 | |||
1282 | cat <<\_ACEOF |
||
1283 | |||
1284 | Program names: |
||
1285 | --program-prefix=PREFIX prepend PREFIX to installed program names |
||
1286 | --program-suffix=SUFFIX append SUFFIX to installed program names |
||
1287 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
||
1288 | _ACEOF |
||
1289 | fi |
||
1290 | |||
1291 | if test -n "$ac_init_help"; then |
||
1292 | case $ac_init_help in |
||
1293 | short | recursive ) echo "Configuration of zeroSquitto 1.0:";; |
||
1294 | esac |
||
1295 | cat <<\_ACEOF |
||
1296 | |||
1297 | Optional Features: |
||
1298 | --disable-option-checking ignore unrecognized --enable/--with options |
||
1299 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
||
1300 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
||
1301 | --enable-dependency-tracking |
||
1302 | do not reject slow dependency extractors |
||
1303 | --disable-dependency-tracking |
||
1304 | speeds up one-time build |
||
1305 | --enable-silent-rules less verbose build output (undo: "make V=1") |
||
1306 | --disable-silent-rules verbose build output (undo: "make V=0") |
||
1307 | |||
1308 | Some influential environment variables: |
||
1309 | CC C compiler command |
||
1310 | CFLAGS C compiler flags |
||
1311 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
||
1312 | nonstandard directory <lib dir> |
||
1313 | LIBS libraries to pass to the linker, e.g. -l<library> |
||
1314 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
||
1315 | you have headers in a nonstandard directory <include dir> |
||
1316 | |||
1317 | Use these variables to override the choices made by `configure' or to help |
||
1318 | it to find libraries and programs with nonstandard names/locations. |
||
1319 | |||
1320 | Report bugs to the package provider. |
||
1321 | _ACEOF |
||
1322 | ac_status=$? |
||
1323 | fi |
||
1324 | |||
1325 | if test "$ac_init_help" = "recursive"; then |
||
1326 | # If there are subdirs, report their specific --help. |
||
1327 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
||
1328 | test -d "$ac_dir" || |
||
1329 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
||
1330 | continue |
||
1331 | ac_builddir=. |
||
1332 | |||
1333 | case "$ac_dir" in |
||
1334 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
||
1335 | *) |
||
1336 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
||
1337 | # A ".." for each directory in $ac_dir_suffix. |
||
1338 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
||
1339 | case $ac_top_builddir_sub in |
||
1340 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
||
1341 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
||
1342 | esac ;; |
||
1343 | esac |
||
1344 | ac_abs_top_builddir=$ac_pwd |
||
1345 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
||
1346 | # for backward compatibility: |
||
1347 | ac_top_builddir=$ac_top_build_prefix |
||
1348 | |||
1349 | case $srcdir in |
||
1350 | .) # We are building in place. |
||
1351 | ac_srcdir=. |
||
1352 | ac_top_srcdir=$ac_top_builddir_sub |
||
1353 | ac_abs_top_srcdir=$ac_pwd ;; |
||
1354 | [\\/]* | ?:[\\/]* ) # Absolute name. |
||
1355 | ac_srcdir=$srcdir$ac_dir_suffix; |
||
1356 | ac_top_srcdir=$srcdir |
||
1357 | ac_abs_top_srcdir=$srcdir ;; |
||
1358 | *) # Relative name. |
||
1359 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
||
1360 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
||
1361 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
||
1362 | esac |
||
1363 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
||
1364 | |||
1365 | cd "$ac_dir" || { ac_status=$?; continue; } |
||
1366 | # Check for guested configure. |
||
1367 | if test -f "$ac_srcdir/configure.gnu"; then |
||
1368 | echo && |
||
1369 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
||
1370 | elif test -f "$ac_srcdir/configure"; then |
||
1371 | echo && |
||
1372 | $SHELL "$ac_srcdir/configure" --help=recursive |
||
1373 | else |
||
1374 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
||
1375 | fi || ac_status=$? |
||
1376 | cd "$ac_pwd" || { ac_status=$?; break; } |
||
1377 | done |
||
1378 | fi |
||
1379 | |||
1380 | test -n "$ac_init_help" && exit $ac_status |
||
1381 | if $ac_init_version; then |
||
1382 | cat <<\_ACEOF |
||
1383 | zeroSquitto configure 1.0 |
||
1384 | generated by GNU Autoconf 2.69 |
||
1385 | |||
1386 | Copyright (C) 2012 Free Software Foundation, Inc. |
||
1387 | This configure script is free software; the Free Software Foundation |
||
1388 | gives unlimited permission to copy, distribute and modify it. |
||
1389 | _ACEOF |
||
1390 | exit |
||
1391 | fi |
||
1392 | |||
1393 | ## ------------------------ ## |
||
1394 | ## Autoconf initialization. ## |
||
1395 | ## ------------------------ ## |
||
1396 | |||
1397 | @%:@ ac_fn_c_try_compile LINENO |
||
1398 | @%:@ -------------------------- |
||
1399 | @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. |
||
1400 | ac_fn_c_try_compile () |
||
1401 | { |
||
1402 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
||
1403 | rm -f conftest.$ac_objext |
||
1404 | if { { ac_try="$ac_compile" |
||
1405 | case "(($ac_try" in |
||
1406 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
1407 | *) ac_try_echo=$ac_try;; |
||
1408 | esac |
||
1409 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
1410 | $as_echo "$ac_try_echo"; } >&5 |
||
1411 | (eval "$ac_compile") 2>conftest.err |
||
1412 | ac_status=$? |
||
1413 | if test -s conftest.err; then |
||
1414 | grep -v '^ *+' conftest.err >conftest.er1 |
||
1415 | cat conftest.er1 >&5 |
||
1416 | mv -f conftest.er1 conftest.err |
||
1417 | fi |
||
1418 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
||
1419 | test $ac_status = 0; } && { |
||
1420 | test -z "$ac_c_werror_flag" || |
||
1421 | test ! -s conftest.err |
||
1422 | } && test -s conftest.$ac_objext; then : |
||
1423 | ac_retval=0 |
||
1424 | else |
||
1425 | $as_echo "$as_me: failed program was:" >&5 |
||
1426 | sed 's/^/| /' conftest.$ac_ext >&5 |
||
1427 | |||
1428 | ac_retval=1 |
||
1429 | fi |
||
1430 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
||
1431 | as_fn_set_status $ac_retval |
||
1432 | |||
1433 | } @%:@ ac_fn_c_try_compile |
||
1434 | cat >config.log <<_ACEOF |
||
1435 | This file contains any messages produced by compilers while |
||
1436 | running configure, to aid debugging if configure makes a mistake. |
||
1437 | |||
1438 | It was created by zeroSquitto $as_me 1.0, which was |
||
1439 | generated by GNU Autoconf 2.69. Invocation command line was |
||
1440 | |||
1441 | $ $0 $@ |
||
1442 | |||
1443 | _ACEOF |
||
1444 | exec 5>>config.log |
||
1445 | { |
||
1446 | cat <<_ASUNAME |
||
1447 | ## --------- ## |
||
1448 | ## Platform. ## |
||
1449 | ## --------- ## |
||
1450 | |||
1451 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
||
1452 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
||
1453 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
||
1454 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
||
1455 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
||
1456 | |||
1457 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
||
1458 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
||
1459 | |||
1460 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
||
1461 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
||
1462 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
||
1463 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
||
1464 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
||
1465 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
||
1466 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
||
1467 | |||
1468 | _ASUNAME |
||
1469 | |||
1470 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
1471 | for as_dir in $PATH |
||
1472 | do |
||
1473 | IFS=$as_save_IFS |
||
1474 | test -z "$as_dir" && as_dir=. |
||
1475 | $as_echo "PATH: $as_dir" |
||
1476 | done |
||
1477 | IFS=$as_save_IFS |
||
1478 | |||
1479 | } >&5 |
||
1480 | |||
1481 | cat >&5 <<_ACEOF |
||
1482 | |||
1483 | |||
1484 | ## ----------- ## |
||
1485 | ## Core tests. ## |
||
1486 | ## ----------- ## |
||
1487 | |||
1488 | _ACEOF |
||
1489 | |||
1490 | |||
1491 | # Keep a trace of the command line. |
||
1492 | # Strip out --no-create and --no-recursion so they do not pile up. |
||
1493 | # Strip out --silent because we don't want to record it for future runs. |
||
1494 | # Also quote any args containing shell meta-characters. |
||
1495 | # Make two passes to allow for proper duplicate-argument suppression. |
||
1496 | ac_configure_args= |
||
1497 | ac_configure_args0= |
||
1498 | ac_configure_args1= |
||
1499 | ac_must_keep_next=false |
||
1500 | for ac_pass in 1 2 |
||
1501 | do |
||
1502 | for ac_arg |
||
1503 | do |
||
1504 | case $ac_arg in |
||
1505 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
||
1506 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
||
1507 | | -silent | --silent | --silen | --sile | --sil) |
||
1508 | continue ;; |
||
1509 | *\'*) |
||
1510 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
||
1511 | esac |
||
1512 | case $ac_pass in |
||
1513 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
||
1514 | 2) |
||
1515 | as_fn_append ac_configure_args1 " '$ac_arg'" |
||
1516 | if test $ac_must_keep_next = true; then |
||
1517 | ac_must_keep_next=false # Got value, back to normal. |
||
1518 | else |
||
1519 | case $ac_arg in |
||
1520 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
||
1521 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
||
1522 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
||
1523 | | -with-* | --with-* | -without-* | --without-* | --x) |
||
1524 | case "$ac_configure_args0 " in |
||
1525 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
||
1526 | esac |
||
1527 | ;; |
||
1528 | -* ) ac_must_keep_next=true ;; |
||
1529 | esac |
||
1530 | fi |
||
1531 | as_fn_append ac_configure_args " '$ac_arg'" |
||
1532 | ;; |
||
1533 | esac |
||
1534 | done |
||
1535 | done |
||
1536 | { ac_configure_args0=; unset ac_configure_args0;} |
||
1537 | { ac_configure_args1=; unset ac_configure_args1;} |
||
1538 | |||
1539 | # When interrupted or exit'd, cleanup temporary files, and complete |
||
1540 | # config.log. We remove comments because anyway the quotes in there |
||
1541 | # would cause problems or look ugly. |
||
1542 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
||
1543 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
||
1544 | trap 'exit_status=$? |
||
1545 | # Save into config.log some information that might help in debugging. |
||
1546 | { |
||
1547 | echo |
||
1548 | |||
1549 | $as_echo "## ---------------- ## |
||
1550 | ## Cache variables. ## |
||
1551 | ## ---------------- ##" |
||
1552 | echo |
||
1553 | # The following way of writing the cache mishandles newlines in values, |
||
1554 | ( |
||
1555 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
||
1556 | eval ac_val=\$$ac_var |
||
1557 | case $ac_val in #( |
||
1558 | *${as_nl}*) |
||
1559 | case $ac_var in #( |
||
1560 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
||
1561 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
||
1562 | esac |
||
1563 | case $ac_var in #( |
||
1564 | _ | IFS | as_nl) ;; #( |
||
1565 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
||
1566 | *) { eval $ac_var=; unset $ac_var;} ;; |
||
1567 | esac ;; |
||
1568 | esac |
||
1569 | done |
||
1570 | (set) 2>&1 | |
||
1571 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
||
1572 | *${as_nl}ac_space=\ *) |
||
1573 | sed -n \ |
||
1574 | "s/'\''/'\''\\\\'\'''\''/g; |
||
1575 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
||
1576 | ;; #( |
||
1577 | *) |
||
1578 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
||
1579 | ;; |
||
1580 | esac | |
||
1581 | sort |
||
1582 | ) |
||
1583 | echo |
||
1584 | |||
1585 | $as_echo "## ----------------- ## |
||
1586 | ## Output variables. ## |
||
1587 | ## ----------------- ##" |
||
1588 | echo |
||
1589 | for ac_var in $ac_subst_vars |
||
1590 | do |
||
1591 | eval ac_val=\$$ac_var |
||
1592 | case $ac_val in |
||
1593 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
||
1594 | esac |
||
1595 | $as_echo "$ac_var='\''$ac_val'\''" |
||
1596 | done | sort |
||
1597 | echo |
||
1598 | |||
1599 | if test -n "$ac_subst_files"; then |
||
1600 | $as_echo "## ------------------- ## |
||
1601 | ## File substitutions. ## |
||
1602 | ## ------------------- ##" |
||
1603 | echo |
||
1604 | for ac_var in $ac_subst_files |
||
1605 | do |
||
1606 | eval ac_val=\$$ac_var |
||
1607 | case $ac_val in |
||
1608 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
||
1609 | esac |
||
1610 | $as_echo "$ac_var='\''$ac_val'\''" |
||
1611 | done | sort |
||
1612 | echo |
||
1613 | fi |
||
1614 | |||
1615 | if test -s confdefs.h; then |
||
1616 | $as_echo "## ----------- ## |
||
1617 | ## confdefs.h. ## |
||
1618 | ## ----------- ##" |
||
1619 | echo |
||
1620 | cat confdefs.h |
||
1621 | echo |
||
1622 | fi |
||
1623 | test "$ac_signal" != 0 && |
||
1624 | $as_echo "$as_me: caught signal $ac_signal" |
||
1625 | $as_echo "$as_me: exit $exit_status" |
||
1626 | } >&5 |
||
1627 | rm -f core *.core core.conftest.* && |
||
1628 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
||
1629 | exit $exit_status |
||
1630 | ' 0 |
||
1631 | for ac_signal in 1 2 13 15; do |
||
1632 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
||
1633 | done |
||
1634 | ac_signal=0 |
||
1635 | |||
1636 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
||
1637 | rm -f -r conftest* confdefs.h |
||
1638 | |||
1639 | $as_echo "/* confdefs.h */" > confdefs.h |
||
1640 | |||
1641 | # Predefined preprocessor variables. |
||
1642 | |||
1643 | cat >>confdefs.h <<_ACEOF |
||
1644 | @%:@define PACKAGE_NAME "$PACKAGE_NAME" |
||
1645 | _ACEOF |
||
1646 | |||
1647 | cat >>confdefs.h <<_ACEOF |
||
1648 | @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
||
1649 | _ACEOF |
||
1650 | |||
1651 | cat >>confdefs.h <<_ACEOF |
||
1652 | @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" |
||
1653 | _ACEOF |
||
1654 | |||
1655 | cat >>confdefs.h <<_ACEOF |
||
1656 | @%:@define PACKAGE_STRING "$PACKAGE_STRING" |
||
1657 | _ACEOF |
||
1658 | |||
1659 | cat >>confdefs.h <<_ACEOF |
||
1660 | @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
||
1661 | _ACEOF |
||
1662 | |||
1663 | cat >>confdefs.h <<_ACEOF |
||
1664 | @%:@define PACKAGE_URL "$PACKAGE_URL" |
||
1665 | _ACEOF |
||
1666 | |||
1667 | |||
1668 | # Let the site file select an alternate cache file if it wants to. |
||
1669 | # Prefer an explicitly selected file to automatically selected ones. |
||
1670 | ac_site_file1=NONE |
||
1671 | ac_site_file2=NONE |
||
1672 | if test -n "$CONFIG_SITE"; then |
||
1673 | # We do not want a PATH search for config.site. |
||
1674 | case $CONFIG_SITE in @%:@(( |
||
1675 | -*) ac_site_file1=./$CONFIG_SITE;; |
||
1676 | */*) ac_site_file1=$CONFIG_SITE;; |
||
1677 | *) ac_site_file1=./$CONFIG_SITE;; |
||
1678 | esac |
||
1679 | elif test "x$prefix" != xNONE; then |
||
1680 | ac_site_file1=$prefix/share/config.site |
||
1681 | ac_site_file2=$prefix/etc/config.site |
||
1682 | else |
||
1683 | ac_site_file1=$ac_default_prefix/share/config.site |
||
1684 | ac_site_file2=$ac_default_prefix/etc/config.site |
||
1685 | fi |
||
1686 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
||
1687 | do |
||
1688 | test "x$ac_site_file" = xNONE && continue |
||
1689 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
||
1690 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
||
1691 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
||
1692 | sed 's/^/| /' "$ac_site_file" >&5 |
||
1693 | . "$ac_site_file" \ |
||
1694 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
1695 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
||
1696 | as_fn_error $? "failed to load site script $ac_site_file |
||
1697 | See \`config.log' for more details" "$LINENO" 5; } |
||
1698 | fi |
||
1699 | done |
||
1700 | |||
1701 | if test -r "$cache_file"; then |
||
1702 | # Some versions of bash will fail to source /dev/null (special files |
||
1703 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
||
1704 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
||
1705 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
||
1706 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
||
1707 | case $cache_file in |
||
1708 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
||
1709 | *) . "./$cache_file";; |
||
1710 | esac |
||
1711 | fi |
||
1712 | else |
||
1713 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
||
1714 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
||
1715 | >$cache_file |
||
1716 | fi |
||
1717 | |||
1718 | # Check that the precious variables saved in the cache have kept the same |
||
1719 | # value. |
||
1720 | ac_cache_corrupted=false |
||
1721 | for ac_var in $ac_precious_vars; do |
||
1722 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
||
1723 | eval ac_new_set=\$ac_env_${ac_var}_set |
||
1724 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
||
1725 | eval ac_new_val=\$ac_env_${ac_var}_value |
||
1726 | case $ac_old_set,$ac_new_set in |
||
1727 | set,) |
||
1728 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
||
1729 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
||
1730 | ac_cache_corrupted=: ;; |
||
1731 | ,set) |
||
1732 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
||
1733 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
||
1734 | ac_cache_corrupted=: ;; |
||
1735 | ,);; |
||
1736 | *) |
||
1737 | if test "x$ac_old_val" != "x$ac_new_val"; then |
||
1738 | # differences in whitespace do not lead to failure. |
||
1739 | ac_old_val_w=`echo x $ac_old_val` |
||
1740 | ac_new_val_w=`echo x $ac_new_val` |
||
1741 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
||
1742 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
||
1743 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
||
1744 | ac_cache_corrupted=: |
||
1745 | else |
||
1746 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
||
1747 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
||
1748 | eval $ac_var=\$ac_old_val |
||
1749 | fi |
||
1750 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
||
1751 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
||
1752 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
||
1753 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
||
1754 | fi;; |
||
1755 | esac |
||
1756 | # Pass precious variables to config.status. |
||
1757 | if test "$ac_new_set" = set; then |
||
1758 | case $ac_new_val in |
||
1759 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
||
1760 | *) ac_arg=$ac_var=$ac_new_val ;; |
||
1761 | esac |
||
1762 | case " $ac_configure_args " in |
||
1763 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
||
1764 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
||
1765 | esac |
||
1766 | fi |
||
1767 | done |
||
1768 | if $ac_cache_corrupted; then |
||
1769 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
1770 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
||
1771 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
||
1772 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
||
1773 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
||
1774 | fi |
||
1775 | ## -------------------- ## |
||
1776 | ## Main body of script. ## |
||
1777 | ## -------------------- ## |
||
1778 | |||
1779 | ac_ext=c |
||
1780 | ac_cpp='$CPP $CPPFLAGS' |
||
1781 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
1782 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
1783 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
1784 | |||
1785 | |||
1786 | |||
1787 | |||
1788 | ac_ext=c |
||
1789 | ac_cpp='$CPP $CPPFLAGS' |
||
1790 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
1791 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
1792 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
1793 | if test -n "$ac_tool_prefix"; then |
||
1794 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
||
1795 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
||
1796 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
1797 | $as_echo_n "checking for $ac_word... " >&6; } |
||
1798 | if ${ac_cv_prog_CC+:} false; then : |
||
1799 | $as_echo_n "(cached) " >&6 |
||
1800 | else |
||
1801 | if test -n "$CC"; then |
||
1802 | ac_cv_prog_CC="$CC" # Let the user override the test. |
||
1803 | else |
||
1804 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
1805 | for as_dir in $PATH |
||
1806 | do |
||
1807 | IFS=$as_save_IFS |
||
1808 | test -z "$as_dir" && as_dir=. |
||
1809 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
1810 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
||
1811 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
||
1812 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
||
1813 | break 2 |
||
1814 | fi |
||
1815 | done |
||
1816 | done |
||
1817 | IFS=$as_save_IFS |
||
1818 | |||
1819 | fi |
||
1820 | fi |
||
1821 | CC=$ac_cv_prog_CC |
||
1822 | if test -n "$CC"; then |
||
1823 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
||
1824 | $as_echo "$CC" >&6; } |
||
1825 | else |
||
1826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
1827 | $as_echo "no" >&6; } |
||
1828 | fi |
||
1829 | |||
1830 | |||
1831 | fi |
||
1832 | if test -z "$ac_cv_prog_CC"; then |
||
1833 | ac_ct_CC=$CC |
||
1834 | # Extract the first word of "gcc", so it can be a program name with args. |
||
1835 | set dummy gcc; ac_word=$2 |
||
1836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
1837 | $as_echo_n "checking for $ac_word... " >&6; } |
||
1838 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
||
1839 | $as_echo_n "(cached) " >&6 |
||
1840 | else |
||
1841 | if test -n "$ac_ct_CC"; then |
||
1842 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
||
1843 | else |
||
1844 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
1845 | for as_dir in $PATH |
||
1846 | do |
||
1847 | IFS=$as_save_IFS |
||
1848 | test -z "$as_dir" && as_dir=. |
||
1849 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
1850 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
||
1851 | ac_cv_prog_ac_ct_CC="gcc" |
||
1852 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
||
1853 | break 2 |
||
1854 | fi |
||
1855 | done |
||
1856 | done |
||
1857 | IFS=$as_save_IFS |
||
1858 | |||
1859 | fi |
||
1860 | fi |
||
1861 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
||
1862 | if test -n "$ac_ct_CC"; then |
||
1863 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
||
1864 | $as_echo "$ac_ct_CC" >&6; } |
||
1865 | else |
||
1866 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
1867 | $as_echo "no" >&6; } |
||
1868 | fi |
||
1869 | |||
1870 | if test "x$ac_ct_CC" = x; then |
||
1871 | CC="" |
||
1872 | else |
||
1873 | case $cross_compiling:$ac_tool_warned in |
||
1874 | yes:) |
||
1875 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
||
1876 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
||
1877 | ac_tool_warned=yes ;; |
||
1878 | esac |
||
1879 | CC=$ac_ct_CC |
||
1880 | fi |
||
1881 | else |
||
1882 | CC="$ac_cv_prog_CC" |
||
1883 | fi |
||
1884 | |||
1885 | if test -z "$CC"; then |
||
1886 | if test -n "$ac_tool_prefix"; then |
||
1887 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
||
1888 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
||
1889 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
1890 | $as_echo_n "checking for $ac_word... " >&6; } |
||
1891 | if ${ac_cv_prog_CC+:} false; then : |
||
1892 | $as_echo_n "(cached) " >&6 |
||
1893 | else |
||
1894 | if test -n "$CC"; then |
||
1895 | ac_cv_prog_CC="$CC" # Let the user override the test. |
||
1896 | else |
||
1897 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
1898 | for as_dir in $PATH |
||
1899 | do |
||
1900 | IFS=$as_save_IFS |
||
1901 | test -z "$as_dir" && as_dir=. |
||
1902 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
1903 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
||
1904 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
||
1905 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
||
1906 | break 2 |
||
1907 | fi |
||
1908 | done |
||
1909 | done |
||
1910 | IFS=$as_save_IFS |
||
1911 | |||
1912 | fi |
||
1913 | fi |
||
1914 | CC=$ac_cv_prog_CC |
||
1915 | if test -n "$CC"; then |
||
1916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
||
1917 | $as_echo "$CC" >&6; } |
||
1918 | else |
||
1919 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
1920 | $as_echo "no" >&6; } |
||
1921 | fi |
||
1922 | |||
1923 | |||
1924 | fi |
||
1925 | fi |
||
1926 | if test -z "$CC"; then |
||
1927 | # Extract the first word of "cc", so it can be a program name with args. |
||
1928 | set dummy cc; ac_word=$2 |
||
1929 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
1930 | $as_echo_n "checking for $ac_word... " >&6; } |
||
1931 | if ${ac_cv_prog_CC+:} false; then : |
||
1932 | $as_echo_n "(cached) " >&6 |
||
1933 | else |
||
1934 | if test -n "$CC"; then |
||
1935 | ac_cv_prog_CC="$CC" # Let the user override the test. |
||
1936 | else |
||
1937 | ac_prog_rejected=no |
||
1938 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
1939 | for as_dir in $PATH |
||
1940 | do |
||
1941 | IFS=$as_save_IFS |
||
1942 | test -z "$as_dir" && as_dir=. |
||
1943 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
1944 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
||
1945 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
||
1946 | ac_prog_rejected=yes |
||
1947 | continue |
||
1948 | fi |
||
1949 | ac_cv_prog_CC="cc" |
||
1950 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
||
1951 | break 2 |
||
1952 | fi |
||
1953 | done |
||
1954 | done |
||
1955 | IFS=$as_save_IFS |
||
1956 | |||
1957 | if test $ac_prog_rejected = yes; then |
||
1958 | # We found a bogon in the path, so make sure we never use it. |
||
1959 | set dummy $ac_cv_prog_CC |
||
1960 | shift |
||
1961 | if test $@%:@ != 0; then |
||
1962 | # We chose a different compiler from the bogus one. |
||
1963 | # However, it has the same basename, so the bogon will be chosen |
||
1964 | # first if we set CC to just the basename; use the full file name. |
||
1965 | shift |
||
1966 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
||
1967 | fi |
||
1968 | fi |
||
1969 | fi |
||
1970 | fi |
||
1971 | CC=$ac_cv_prog_CC |
||
1972 | if test -n "$CC"; then |
||
1973 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
||
1974 | $as_echo "$CC" >&6; } |
||
1975 | else |
||
1976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
1977 | $as_echo "no" >&6; } |
||
1978 | fi |
||
1979 | |||
1980 | |||
1981 | fi |
||
1982 | if test -z "$CC"; then |
||
1983 | if test -n "$ac_tool_prefix"; then |
||
1984 | for ac_prog in cl.exe |
||
1985 | do |
||
1986 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
||
1987 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
||
1988 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
1989 | $as_echo_n "checking for $ac_word... " >&6; } |
||
1990 | if ${ac_cv_prog_CC+:} false; then : |
||
1991 | $as_echo_n "(cached) " >&6 |
||
1992 | else |
||
1993 | if test -n "$CC"; then |
||
1994 | ac_cv_prog_CC="$CC" # Let the user override the test. |
||
1995 | else |
||
1996 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
1997 | for as_dir in $PATH |
||
1998 | do |
||
1999 | IFS=$as_save_IFS |
||
2000 | test -z "$as_dir" && as_dir=. |
||
2001 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
2002 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
||
2003 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
||
2004 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
||
2005 | break 2 |
||
2006 | fi |
||
2007 | done |
||
2008 | done |
||
2009 | IFS=$as_save_IFS |
||
2010 | |||
2011 | fi |
||
2012 | fi |
||
2013 | CC=$ac_cv_prog_CC |
||
2014 | if test -n "$CC"; then |
||
2015 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
||
2016 | $as_echo "$CC" >&6; } |
||
2017 | else |
||
2018 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
2019 | $as_echo "no" >&6; } |
||
2020 | fi |
||
2021 | |||
2022 | |||
2023 | test -n "$CC" && break |
||
2024 | done |
||
2025 | fi |
||
2026 | if test -z "$CC"; then |
||
2027 | ac_ct_CC=$CC |
||
2028 | for ac_prog in cl.exe |
||
2029 | do |
||
2030 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
||
2031 | set dummy $ac_prog; ac_word=$2 |
||
2032 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
2033 | $as_echo_n "checking for $ac_word... " >&6; } |
||
2034 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
||
2035 | $as_echo_n "(cached) " >&6 |
||
2036 | else |
||
2037 | if test -n "$ac_ct_CC"; then |
||
2038 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
||
2039 | else |
||
2040 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
2041 | for as_dir in $PATH |
||
2042 | do |
||
2043 | IFS=$as_save_IFS |
||
2044 | test -z "$as_dir" && as_dir=. |
||
2045 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
2046 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
||
2047 | ac_cv_prog_ac_ct_CC="$ac_prog" |
||
2048 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
||
2049 | break 2 |
||
2050 | fi |
||
2051 | done |
||
2052 | done |
||
2053 | IFS=$as_save_IFS |
||
2054 | |||
2055 | fi |
||
2056 | fi |
||
2057 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
||
2058 | if test -n "$ac_ct_CC"; then |
||
2059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
||
2060 | $as_echo "$ac_ct_CC" >&6; } |
||
2061 | else |
||
2062 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
2063 | $as_echo "no" >&6; } |
||
2064 | fi |
||
2065 | |||
2066 | |||
2067 | test -n "$ac_ct_CC" && break |
||
2068 | done |
||
2069 | |||
2070 | if test "x$ac_ct_CC" = x; then |
||
2071 | CC="" |
||
2072 | else |
||
2073 | case $cross_compiling:$ac_tool_warned in |
||
2074 | yes:) |
||
2075 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
||
2076 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
||
2077 | ac_tool_warned=yes ;; |
||
2078 | esac |
||
2079 | CC=$ac_ct_CC |
||
2080 | fi |
||
2081 | fi |
||
2082 | |||
2083 | fi |
||
2084 | |||
2085 | |||
2086 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
2087 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
||
2088 | as_fn_error $? "no acceptable C compiler found in \$PATH |
||
2089 | See \`config.log' for more details" "$LINENO" 5; } |
||
2090 | |||
2091 | # Provide some information about the compiler. |
||
2092 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
||
2093 | set X $ac_compile |
||
2094 | ac_compiler=$2 |
||
2095 | for ac_option in --version -v -V -qversion; do |
||
2096 | { { ac_try="$ac_compiler $ac_option >&5" |
||
2097 | case "(($ac_try" in |
||
2098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
2099 | *) ac_try_echo=$ac_try;; |
||
2100 | esac |
||
2101 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2102 | $as_echo "$ac_try_echo"; } >&5 |
||
2103 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
||
2104 | ac_status=$? |
||
2105 | if test -s conftest.err; then |
||
2106 | sed '10a\ |
||
2107 | ... rest of stderr output deleted ... |
||
2108 | 10q' conftest.err >conftest.er1 |
||
2109 | cat conftest.er1 >&5 |
||
2110 | fi |
||
2111 | rm -f conftest.er1 conftest.err |
||
2112 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
||
2113 | test $ac_status = 0; } |
||
2114 | done |
||
2115 | |||
2116 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
2117 | /* end confdefs.h. */ |
||
2118 | |||
2119 | int |
||
2120 | main () |
||
2121 | { |
||
2122 | |||
2123 | ; |
||
2124 | return 0; |
||
2125 | } |
||
2126 | _ACEOF |
||
2127 | ac_clean_files_save=$ac_clean_files |
||
2128 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
||
2129 | # Try to create an executable without -o first, disregard a.out. |
||
2130 | # It will help us diagnose broken compilers, and finding out an intuition |
||
2131 | # of exeext. |
||
2132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
||
2133 | $as_echo_n "checking whether the C compiler works... " >&6; } |
||
2134 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
||
2135 | |||
2136 | # The possible output files: |
||
2137 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
||
2138 | |||
2139 | ac_rmfiles= |
||
2140 | for ac_file in $ac_files |
||
2141 | do |
||
2142 | case $ac_file in |
||
2143 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
||
2144 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
||
2145 | esac |
||
2146 | done |
||
2147 | rm -f $ac_rmfiles |
||
2148 | |||
2149 | if { { ac_try="$ac_link_default" |
||
2150 | case "(($ac_try" in |
||
2151 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
2152 | *) ac_try_echo=$ac_try;; |
||
2153 | esac |
||
2154 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2155 | $as_echo "$ac_try_echo"; } >&5 |
||
2156 | (eval "$ac_link_default") 2>&5 |
||
2157 | ac_status=$? |
||
2158 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
||
2159 | test $ac_status = 0; }; then : |
||
2160 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
||
2161 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
||
2162 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
||
2163 | # so that the user can short-circuit this test for compilers unknown to |
||
2164 | # Autoconf. |
||
2165 | for ac_file in $ac_files '' |
||
2166 | do |
||
2167 | test -f "$ac_file" || continue |
||
2168 | case $ac_file in |
||
2169 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
||
2170 | ;; |
||
2171 | [ab].out ) |
||
2172 | # We found the default executable, but exeext='' is most |
||
2173 | # certainly right. |
||
2174 | break;; |
||
2175 | *.* ) |
||
2176 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
||
2177 | then :; else |
||
2178 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
||
2179 | fi |
||
2180 | # We set ac_cv_exeext here because the later test for it is not |
||
2181 | # safe: cross compilers may not add the suffix if given an `-o' |
||
2182 | # argument, so we may need to know it at that point already. |
||
2183 | # Even if this section looks crufty: it has the advantage of |
||
2184 | # actually working. |
||
2185 | break;; |
||
2186 | * ) |
||
2187 | break;; |
||
2188 | esac |
||
2189 | done |
||
2190 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
||
2191 | |||
2192 | else |
||
2193 | ac_file='' |
||
2194 | fi |
||
2195 | if test -z "$ac_file"; then : |
||
2196 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
2197 | $as_echo "no" >&6; } |
||
2198 | $as_echo "$as_me: failed program was:" >&5 |
||
2199 | sed 's/^/| /' conftest.$ac_ext >&5 |
||
2200 | |||
2201 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
2202 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
||
2203 | as_fn_error 77 "C compiler cannot create executables |
||
2204 | See \`config.log' for more details" "$LINENO" 5; } |
||
2205 | else |
||
2206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
||
2207 | $as_echo "yes" >&6; } |
||
2208 | fi |
||
2209 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
||
2210 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
||
2211 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
||
2212 | $as_echo "$ac_file" >&6; } |
||
2213 | ac_exeext=$ac_cv_exeext |
||
2214 | |||
2215 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
||
2216 | ac_clean_files=$ac_clean_files_save |
||
2217 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
||
2218 | $as_echo_n "checking for suffix of executables... " >&6; } |
||
2219 | if { { ac_try="$ac_link" |
||
2220 | case "(($ac_try" in |
||
2221 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
2222 | *) ac_try_echo=$ac_try;; |
||
2223 | esac |
||
2224 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2225 | $as_echo "$ac_try_echo"; } >&5 |
||
2226 | (eval "$ac_link") 2>&5 |
||
2227 | ac_status=$? |
||
2228 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
||
2229 | test $ac_status = 0; }; then : |
||
2230 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
||
2231 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
||
2232 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
||
2233 | # `rm'. |
||
2234 | for ac_file in conftest.exe conftest conftest.*; do |
||
2235 | test -f "$ac_file" || continue |
||
2236 | case $ac_file in |
||
2237 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
||
2238 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
||
2239 | break;; |
||
2240 | * ) break;; |
||
2241 | esac |
||
2242 | done |
||
2243 | else |
||
2244 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
2245 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
||
2246 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
||
2247 | See \`config.log' for more details" "$LINENO" 5; } |
||
2248 | fi |
||
2249 | rm -f conftest conftest$ac_cv_exeext |
||
2250 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
||
2251 | $as_echo "$ac_cv_exeext" >&6; } |
||
2252 | |||
2253 | rm -f conftest.$ac_ext |
||
2254 | EXEEXT=$ac_cv_exeext |
||
2255 | ac_exeext=$EXEEXT |
||
2256 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
2257 | /* end confdefs.h. */ |
||
2258 | @%:@include <stdio.h> |
||
2259 | int |
||
2260 | main () |
||
2261 | { |
||
2262 | FILE *f = fopen ("conftest.out", "w"); |
||
2263 | return ferror (f) || fclose (f) != 0; |
||
2264 | |||
2265 | ; |
||
2266 | return 0; |
||
2267 | } |
||
2268 | _ACEOF |
||
2269 | ac_clean_files="$ac_clean_files conftest.out" |
||
2270 | # Check that the compiler produces executables we can run. If not, either |
||
2271 | # the compiler is broken, or we cross compile. |
||
2272 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
||
2273 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
||
2274 | if test "$cross_compiling" != yes; then |
||
2275 | { { ac_try="$ac_link" |
||
2276 | case "(($ac_try" in |
||
2277 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
2278 | *) ac_try_echo=$ac_try;; |
||
2279 | esac |
||
2280 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2281 | $as_echo "$ac_try_echo"; } >&5 |
||
2282 | (eval "$ac_link") 2>&5 |
||
2283 | ac_status=$? |
||
2284 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
||
2285 | test $ac_status = 0; } |
||
2286 | if { ac_try='./conftest$ac_cv_exeext' |
||
2287 | { { case "(($ac_try" in |
||
2288 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
2289 | *) ac_try_echo=$ac_try;; |
||
2290 | esac |
||
2291 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2292 | $as_echo "$ac_try_echo"; } >&5 |
||
2293 | (eval "$ac_try") 2>&5 |
||
2294 | ac_status=$? |
||
2295 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
||
2296 | test $ac_status = 0; }; }; then |
||
2297 | cross_compiling=no |
||
2298 | else |
||
2299 | if test "$cross_compiling" = maybe; then |
||
2300 | cross_compiling=yes |
||
2301 | else |
||
2302 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
2303 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
||
2304 | as_fn_error $? "cannot run C compiled programs. |
||
2305 | If you meant to cross compile, use \`--host'. |
||
2306 | See \`config.log' for more details" "$LINENO" 5; } |
||
2307 | fi |
||
2308 | fi |
||
2309 | fi |
||
2310 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
||
2311 | $as_echo "$cross_compiling" >&6; } |
||
2312 | |||
2313 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
||
2314 | ac_clean_files=$ac_clean_files_save |
||
2315 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
||
2316 | $as_echo_n "checking for suffix of object files... " >&6; } |
||
2317 | if ${ac_cv_objext+:} false; then : |
||
2318 | $as_echo_n "(cached) " >&6 |
||
2319 | else |
||
2320 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
2321 | /* end confdefs.h. */ |
||
2322 | |||
2323 | int |
||
2324 | main () |
||
2325 | { |
||
2326 | |||
2327 | ; |
||
2328 | return 0; |
||
2329 | } |
||
2330 | _ACEOF |
||
2331 | rm -f conftest.o conftest.obj |
||
2332 | if { { ac_try="$ac_compile" |
||
2333 | case "(($ac_try" in |
||
2334 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
||
2335 | *) ac_try_echo=$ac_try;; |
||
2336 | esac |
||
2337 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
||
2338 | $as_echo "$ac_try_echo"; } >&5 |
||
2339 | (eval "$ac_compile") 2>&5 |
||
2340 | ac_status=$? |
||
2341 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
||
2342 | test $ac_status = 0; }; then : |
||
2343 | for ac_file in conftest.o conftest.obj conftest.*; do |
||
2344 | test -f "$ac_file" || continue; |
||
2345 | case $ac_file in |
||
2346 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
||
2347 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
||
2348 | break;; |
||
2349 | esac |
||
2350 | done |
||
2351 | else |
||
2352 | $as_echo "$as_me: failed program was:" >&5 |
||
2353 | sed 's/^/| /' conftest.$ac_ext >&5 |
||
2354 | |||
2355 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
||
2356 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
||
2357 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
||
2358 | See \`config.log' for more details" "$LINENO" 5; } |
||
2359 | fi |
||
2360 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
||
2361 | fi |
||
2362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
||
2363 | $as_echo "$ac_cv_objext" >&6; } |
||
2364 | OBJEXT=$ac_cv_objext |
||
2365 | ac_objext=$OBJEXT |
||
2366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
||
2367 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
||
2368 | if ${ac_cv_c_compiler_gnu+:} false; then : |
||
2369 | $as_echo_n "(cached) " >&6 |
||
2370 | else |
||
2371 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
2372 | /* end confdefs.h. */ |
||
2373 | |||
2374 | int |
||
2375 | main () |
||
2376 | { |
||
2377 | #ifndef __GNUC__ |
||
2378 | choke me |
||
2379 | #endif |
||
2380 | |||
2381 | ; |
||
2382 | return 0; |
||
2383 | } |
||
2384 | _ACEOF |
||
2385 | if ac_fn_c_try_compile "$LINENO"; then : |
||
2386 | ac_compiler_gnu=yes |
||
2387 | else |
||
2388 | ac_compiler_gnu=no |
||
2389 | fi |
||
2390 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
||
2391 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
||
2392 | |||
2393 | fi |
||
2394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
||
2395 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
||
2396 | if test $ac_compiler_gnu = yes; then |
||
2397 | GCC=yes |
||
2398 | else |
||
2399 | GCC= |
||
2400 | fi |
||
2401 | ac_test_CFLAGS=${CFLAGS+set} |
||
2402 | ac_save_CFLAGS=$CFLAGS |
||
2403 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
||
2404 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
||
2405 | if ${ac_cv_prog_cc_g+:} false; then : |
||
2406 | $as_echo_n "(cached) " >&6 |
||
2407 | else |
||
2408 | ac_save_c_werror_flag=$ac_c_werror_flag |
||
2409 | ac_c_werror_flag=yes |
||
2410 | ac_cv_prog_cc_g=no |
||
2411 | CFLAGS="-g" |
||
2412 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
2413 | /* end confdefs.h. */ |
||
2414 | |||
2415 | int |
||
2416 | main () |
||
2417 | { |
||
2418 | |||
2419 | ; |
||
2420 | return 0; |
||
2421 | } |
||
2422 | _ACEOF |
||
2423 | if ac_fn_c_try_compile "$LINENO"; then : |
||
2424 | ac_cv_prog_cc_g=yes |
||
2425 | else |
||
2426 | CFLAGS="" |
||
2427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
2428 | /* end confdefs.h. */ |
||
2429 | |||
2430 | int |
||
2431 | main () |
||
2432 | { |
||
2433 | |||
2434 | ; |
||
2435 | return 0; |
||
2436 | } |
||
2437 | _ACEOF |
||
2438 | if ac_fn_c_try_compile "$LINENO"; then : |
||
2439 | |||
2440 | else |
||
2441 | ac_c_werror_flag=$ac_save_c_werror_flag |
||
2442 | CFLAGS="-g" |
||
2443 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
2444 | /* end confdefs.h. */ |
||
2445 | |||
2446 | int |
||
2447 | main () |
||
2448 | { |
||
2449 | |||
2450 | ; |
||
2451 | return 0; |
||
2452 | } |
||
2453 | _ACEOF |
||
2454 | if ac_fn_c_try_compile "$LINENO"; then : |
||
2455 | ac_cv_prog_cc_g=yes |
||
2456 | fi |
||
2457 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
||
2458 | fi |
||
2459 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
||
2460 | fi |
||
2461 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
||
2462 | ac_c_werror_flag=$ac_save_c_werror_flag |
||
2463 | fi |
||
2464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
||
2465 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
||
2466 | if test "$ac_test_CFLAGS" = set; then |
||
2467 | CFLAGS=$ac_save_CFLAGS |
||
2468 | elif test $ac_cv_prog_cc_g = yes; then |
||
2469 | if test "$GCC" = yes; then |
||
2470 | CFLAGS="-g -O2" |
||
2471 | else |
||
2472 | CFLAGS="-g" |
||
2473 | fi |
||
2474 | else |
||
2475 | if test "$GCC" = yes; then |
||
2476 | CFLAGS="-O2" |
||
2477 | else |
||
2478 | CFLAGS= |
||
2479 | fi |
||
2480 | fi |
||
2481 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
||
2482 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
||
2483 | if ${ac_cv_prog_cc_c89+:} false; then : |
||
2484 | $as_echo_n "(cached) " >&6 |
||
2485 | else |
||
2486 | ac_cv_prog_cc_c89=no |
||
2487 | ac_save_CC=$CC |
||
2488 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
2489 | /* end confdefs.h. */ |
||
2490 | #include <stdarg.h> |
||
2491 | #include <stdio.h> |
||
2492 | struct stat; |
||
2493 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
||
2494 | struct buf { int x; }; |
||
2495 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
||
2496 | static char *e (p, i) |
||
2497 | char **p; |
||
2498 | int i; |
||
2499 | { |
||
2500 | return p[i]; |
||
2501 | } |
||
2502 | static char *f (char * (*g) (char **, int), char **p, ...) |
||
2503 | { |
||
2504 | char *s; |
||
2505 | va_list v; |
||
2506 | va_start (v,p); |
||
2507 | s = g (p, va_arg (v,int)); |
||
2508 | va_end (v); |
||
2509 | return s; |
||
2510 | } |
||
2511 | |||
2512 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
||
2513 | function prototypes and stuff, but not '\xHH' hex character constants. |
||
2514 | These don't provoke an error unfortunately, instead are silently treated |
||
2515 | as 'x'. The following induces an error, until -std is added to get |
||
2516 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
||
2517 | array size at least. It's necessary to write '\x00'==0 to get something |
||
2518 | that's true only with -std. */ |
||
2519 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
||
2520 | |||
2521 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
||
2522 | inside strings and character constants. */ |
||
2523 | #define FOO(x) 'x' |
||
2524 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
||
2525 | |||
2526 | int test (int i, double x); |
||
2527 | struct s1 {int (*f) (int a);}; |
||
2528 | struct s2 {int (*f) (double a);}; |
||
2529 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
||
2530 | int argc; |
||
2531 | char **argv; |
||
2532 | int |
||
2533 | main () |
||
2534 | { |
||
2535 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
||
2536 | ; |
||
2537 | return 0; |
||
2538 | } |
||
2539 | _ACEOF |
||
2540 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
||
2541 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
||
2542 | do |
||
2543 | CC="$ac_save_CC $ac_arg" |
||
2544 | if ac_fn_c_try_compile "$LINENO"; then : |
||
2545 | ac_cv_prog_cc_c89=$ac_arg |
||
2546 | fi |
||
2547 | rm -f core conftest.err conftest.$ac_objext |
||
2548 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
||
2549 | done |
||
2550 | rm -f conftest.$ac_ext |
||
2551 | CC=$ac_save_CC |
||
2552 | |||
2553 | fi |
||
2554 | # AC_CACHE_VAL |
||
2555 | case "x$ac_cv_prog_cc_c89" in |
||
2556 | x) |
||
2557 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
||
2558 | $as_echo "none needed" >&6; } ;; |
||
2559 | xno) |
||
2560 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
||
2561 | $as_echo "unsupported" >&6; } ;; |
||
2562 | *) |
||
2563 | CC="$CC $ac_cv_prog_cc_c89" |
||
2564 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
||
2565 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
||
2566 | esac |
||
2567 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
||
2568 | |||
2569 | fi |
||
2570 | |||
2571 | ac_ext=c |
||
2572 | ac_cpp='$CPP $CPPFLAGS' |
||
2573 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
2574 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
2575 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
2576 | |||
2577 | ac_aux_dir= |
||
2578 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
||
2579 | if test -f "$ac_dir/install-sh"; then |
||
2580 | ac_aux_dir=$ac_dir |
||
2581 | ac_install_sh="$ac_aux_dir/install-sh -c" |
||
2582 | break |
||
2583 | elif test -f "$ac_dir/install.sh"; then |
||
2584 | ac_aux_dir=$ac_dir |
||
2585 | ac_install_sh="$ac_aux_dir/install.sh -c" |
||
2586 | break |
||
2587 | elif test -f "$ac_dir/shtool"; then |
||
2588 | ac_aux_dir=$ac_dir |
||
2589 | ac_install_sh="$ac_aux_dir/shtool install -c" |
||
2590 | break |
||
2591 | fi |
||
2592 | done |
||
2593 | if test -z "$ac_aux_dir"; then |
||
2594 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
||
2595 | fi |
||
2596 | |||
2597 | # These three variables are undocumented and unsupported, |
||
2598 | # and are intended to be withdrawn in a future Autoconf release. |
||
2599 | # They can cause serious problems if a builder's source tree is in a directory |
||
2600 | # whose full name contains unusual characters. |
||
2601 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
||
2602 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
||
2603 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
||
2604 | |||
2605 | |||
2606 | # Expand $ac_aux_dir to an absolute path. |
||
2607 | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
||
2608 | |||
2609 | ac_ext=c |
||
2610 | ac_cpp='$CPP $CPPFLAGS' |
||
2611 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
2612 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
2613 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
2614 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
||
2615 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
||
2616 | if ${am_cv_prog_cc_c_o+:} false; then : |
||
2617 | $as_echo_n "(cached) " >&6 |
||
2618 | else |
||
2619 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
||
2620 | /* end confdefs.h. */ |
||
2621 | |||
2622 | int |
||
2623 | main () |
||
2624 | { |
||
2625 | |||
2626 | ; |
||
2627 | return 0; |
||
2628 | } |
||
2629 | _ACEOF |
||
2630 | # Make sure it works both with $CC and with simple cc. |
||
2631 | # Following AC_PROG_CC_C_O, we do the test twice because some |
||
2632 | # compilers refuse to overwrite an existing .o file with -o, |
||
2633 | # though they will create one. |
||
2634 | am_cv_prog_cc_c_o=yes |
||
2635 | for am_i in 1 2; do |
||
2636 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
||
2637 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
||
2638 | ac_status=$? |
||
2639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
||
2640 | (exit $ac_status); } \ |
||
2641 | && test -f conftest2.$ac_objext; then |
||
2642 | : OK |
||
2643 | else |
||
2644 | am_cv_prog_cc_c_o=no |
||
2645 | break |
||
2646 | fi |
||
2647 | done |
||
2648 | rm -f core conftest* |
||
2649 | unset am_i |
||
2650 | fi |
||
2651 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
||
2652 | $as_echo "$am_cv_prog_cc_c_o" >&6; } |
||
2653 | if test "$am_cv_prog_cc_c_o" != yes; then |
||
2654 | # Losing compiler, so override with the script. |
||
2655 | # FIXME: It is wrong to rewrite CC. |
||
2656 | # But if we don't then we get into trouble of one sort or another. |
||
2657 | # A longer-term fix would be to have automake use am__CC in this case, |
||
2658 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
||
2659 | CC="$am_aux_dir/compile $CC" |
||
2660 | fi |
||
2661 | ac_ext=c |
||
2662 | ac_cpp='$CPP $CPPFLAGS' |
||
2663 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
||
2664 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
||
2665 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
||
2666 | |||
2667 | |||
2668 | |||
2669 | am__api_version='1.15' |
||
2670 | |||
2671 | # Find a good install program. We prefer a C program (faster), |
||
2672 | # so one script is as good as another. But avoid the broken or |
||
2673 | # incompatible versions: |
||
2674 | # SysV /etc/install, /usr/sbin/install |
||
2675 | # SunOS /usr/etc/install |
||
2676 | # IRIX /sbin/install |
||
2677 | # AIX /bin/install |
||
2678 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
||
2679 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
||
2680 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
||
2681 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
||
2682 | # OS/2's system install, which has a completely different semantic |
||
2683 | # ./install, which can be erroneously created by make from ./install.sh. |
||
2684 | # Reject install programs that cannot install multiple files. |
||
2685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
||
2686 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
||
2687 | if test -z "$INSTALL"; then |
||
2688 | if ${ac_cv_path_install+:} false; then : |
||
2689 | $as_echo_n "(cached) " >&6 |
||
2690 | else |
||
2691 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
2692 | for as_dir in $PATH |
||
2693 | do |
||
2694 | IFS=$as_save_IFS |
||
2695 | test -z "$as_dir" && as_dir=. |
||
2696 | # Account for people who put trailing slashes in PATH elements. |
||
2697 | case $as_dir/ in @%:@(( |
||
2698 | ./ | .// | /[cC]/* | \ |
||
2699 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
||
2700 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
||
2701 | /usr/ucb/* ) ;; |
||
2702 | *) |
||
2703 | # OSF1 and SCO ODT 3.0 have their own names for install. |
||
2704 | # Don't use installbsd from OSF since it installs stuff as root |
||
2705 | # by default. |
||
2706 | for ac_prog in ginstall scoinst install; do |
||
2707 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
2708 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
||
2709 | if test $ac_prog = install && |
||
2710 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
||
2711 | # AIX install. It has an incompatible calling convention. |
||
2712 | : |
||
2713 | elif test $ac_prog = install && |
||
2714 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
||
2715 | # program-specific install script used by HP pwplus--don't use. |
||
2716 | : |
||
2717 | else |
||
2718 | rm -rf conftest.one conftest.two conftest.dir |
||
2719 | echo one > conftest.one |
||
2720 | echo two > conftest.two |
||
2721 | mkdir conftest.dir |
||
2722 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
||
2723 | test -s conftest.one && test -s conftest.two && |
||
2724 | test -s conftest.dir/conftest.one && |
||
2725 | test -s conftest.dir/conftest.two |
||
2726 | then |
||
2727 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
||
2728 | break 3 |
||
2729 | fi |
||
2730 | fi |
||
2731 | fi |
||
2732 | done |
||
2733 | done |
||
2734 | ;; |
||
2735 | esac |
||
2736 | |||
2737 | done |
||
2738 | IFS=$as_save_IFS |
||
2739 | |||
2740 | rm -rf conftest.one conftest.two conftest.dir |
||
2741 | |||
2742 | fi |
||
2743 | if test "${ac_cv_path_install+set}" = set; then |
||
2744 | INSTALL=$ac_cv_path_install |
||
2745 | else |
||
2746 | # As a last resort, use the slow shell script. Don't cache a |
||
2747 | # value for INSTALL within a source directory, because that will |
||
2748 | # break other packages using the cache if that directory is |
||
2749 | # removed, or if the value is a relative name. |
||
2750 | INSTALL=$ac_install_sh |
||
2751 | fi |
||
2752 | fi |
||
2753 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
||
2754 | $as_echo "$INSTALL" >&6; } |
||
2755 | |||
2756 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
||
2757 | # It thinks the first close brace ends the variable substitution. |
||
2758 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
||
2759 | |||
2760 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
||
2761 | |||
2762 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
||
2763 | |||
2764 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
||
2765 | $as_echo_n "checking whether build environment is sane... " >&6; } |
||
2766 | # Reject unsafe characters in $srcdir or the absolute working directory |
||
2767 | # name. Accept space and tab only in the latter. |
||
2768 | am_lf=' |
||
2769 | ' |
||
2770 | case `pwd` in |
||
2771 | *[\\\"\#\$\&\'\`$am_lf]*) |
||
2772 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
||
2773 | esac |
||
2774 | case $srcdir in |
||
2775 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
||
2776 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
||
2777 | esac |
||
2778 | |||
2779 | # Do 'set' in a subshell so we don't clobber the current shell's |
||
2780 | # arguments. Must try -L first in case configure is actually a |
||
2781 | # symlink; some systems play weird games with the mod time of symlinks |
||
2782 | # (eg FreeBSD returns the mod time of the symlink's containing |
||
2783 | # directory). |
||
2784 | if ( |
||
2785 | am_has_slept=no |
||
2786 | for am_try in 1 2; do |
||
2787 | echo "timestamp, slept: $am_has_slept" > conftest.file |
||
2788 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
||
2789 | if test "$*" = "X"; then |
||
2790 | # -L didn't work. |
||
2791 | set X `ls -t "$srcdir/configure" conftest.file` |
||
2792 | fi |
||
2793 | if test "$*" != "X $srcdir/configure conftest.file" \ |
||
2794 | && test "$*" != "X conftest.file $srcdir/configure"; then |
||
2795 | |||
2796 | # If neither matched, then we have a broken ls. This can happen |
||
2797 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
||
2798 | # broken ls alias from the environment. This has actually |
||
2799 | # happened. Such a system could not be considered "sane". |
||
2800 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
||
2801 | alias in your environment" "$LINENO" 5 |
||
2802 | fi |
||
2803 | if test "$2" = conftest.file || test $am_try -eq 2; then |
||
2804 | break |
||
2805 | fi |
||
2806 | # Just in case. |
||
2807 | sleep 1 |
||
2808 | am_has_slept=yes |
||
2809 | done |
||
2810 | test "$2" = conftest.file |
||
2811 | ) |
||
2812 | then |
||
2813 | # Ok. |
||
2814 | : |
||
2815 | else |
||
2816 | as_fn_error $? "newly created file is older than distributed files! |
||
2817 | Check your system clock" "$LINENO" 5 |
||
2818 | fi |
||
2819 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
||
2820 | $as_echo "yes" >&6; } |
||
2821 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
||
2822 | # generated files are strictly newer. |
||
2823 | am_sleep_pid= |
||
2824 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
||
2825 | ( sleep 1 ) & |
||
2826 | am_sleep_pid=$! |
||
2827 | fi |
||
2828 | |||
2829 | rm -f conftest.file |
||
2830 | |||
2831 | test "$program_prefix" != NONE && |
||
2832 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
||
2833 | # Use a double $ so make ignores it. |
||
2834 | test "$program_suffix" != NONE && |
||
2835 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
||
2836 | # Double any \ or $. |
||
2837 | # By default was `s,x,x', remove it if useless. |
||
2838 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
||
2839 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
||
2840 | |||
2841 | if test x"${MISSING+set}" != xset; then |
||
2842 | case $am_aux_dir in |
||
2843 | *\ * | *\ *) |
||
2844 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
||
2845 | *) |
||
2846 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
||
2847 | esac |
||
2848 | fi |
||
2849 | # Use eval to expand $SHELL |
||
2850 | if eval "$MISSING --is-lightweight"; then |
||
2851 | am_missing_run="$MISSING " |
||
2852 | else |
||
2853 | am_missing_run= |
||
2854 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
||
2855 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
||
2856 | fi |
||
2857 | |||
2858 | if test x"${install_sh+set}" != xset; then |
||
2859 | case $am_aux_dir in |
||
2860 | *\ * | *\ *) |
||
2861 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
||
2862 | *) |
||
2863 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
||
2864 | esac |
||
2865 | fi |
||
2866 | |||
2867 | # Installed binaries are usually stripped using 'strip' when the user |
||
2868 | # run "make install-strip". However 'strip' might not be the right |
||
2869 | # tool to use in cross-compilation environments, therefore Automake |
||
2870 | # will honor the 'STRIP' environment variable to overrule this program. |
||
2871 | if test "$cross_compiling" != no; then |
||
2872 | if test -n "$ac_tool_prefix"; then |
||
2873 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
||
2874 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
||
2875 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
2876 | $as_echo_n "checking for $ac_word... " >&6; } |
||
2877 | if ${ac_cv_prog_STRIP+:} false; then : |
||
2878 | $as_echo_n "(cached) " >&6 |
||
2879 | else |
||
2880 | if test -n "$STRIP"; then |
||
2881 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
||
2882 | else |
||
2883 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
2884 | for as_dir in $PATH |
||
2885 | do |
||
2886 | IFS=$as_save_IFS |
||
2887 | test -z "$as_dir" && as_dir=. |
||
2888 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
2889 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
||
2890 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
||
2891 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
||
2892 | break 2 |
||
2893 | fi |
||
2894 | done |
||
2895 | done |
||
2896 | IFS=$as_save_IFS |
||
2897 | |||
2898 | fi |
||
2899 | fi |
||
2900 | STRIP=$ac_cv_prog_STRIP |
||
2901 | if test -n "$STRIP"; then |
||
2902 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
||
2903 | $as_echo "$STRIP" >&6; } |
||
2904 | else |
||
2905 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
2906 | $as_echo "no" >&6; } |
||
2907 | fi |
||
2908 | |||
2909 | |||
2910 | fi |
||
2911 | if test -z "$ac_cv_prog_STRIP"; then |
||
2912 | ac_ct_STRIP=$STRIP |
||
2913 | # Extract the first word of "strip", so it can be a program name with args. |
||
2914 | set dummy strip; ac_word=$2 |
||
2915 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
2916 | $as_echo_n "checking for $ac_word... " >&6; } |
||
2917 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
||
2918 | $as_echo_n "(cached) " >&6 |
||
2919 | else |
||
2920 | if test -n "$ac_ct_STRIP"; then |
||
2921 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
||
2922 | else |
||
2923 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
2924 | for as_dir in $PATH |
||
2925 | do |
||
2926 | IFS=$as_save_IFS |
||
2927 | test -z "$as_dir" && as_dir=. |
||
2928 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
2929 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
||
2930 | ac_cv_prog_ac_ct_STRIP="strip" |
||
2931 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
||
2932 | break 2 |
||
2933 | fi |
||
2934 | done |
||
2935 | done |
||
2936 | IFS=$as_save_IFS |
||
2937 | |||
2938 | fi |
||
2939 | fi |
||
2940 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
||
2941 | if test -n "$ac_ct_STRIP"; then |
||
2942 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
||
2943 | $as_echo "$ac_ct_STRIP" >&6; } |
||
2944 | else |
||
2945 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
2946 | $as_echo "no" >&6; } |
||
2947 | fi |
||
2948 | |||
2949 | if test "x$ac_ct_STRIP" = x; then |
||
2950 | STRIP=":" |
||
2951 | else |
||
2952 | case $cross_compiling:$ac_tool_warned in |
||
2953 | yes:) |
||
2954 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
||
2955 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
||
2956 | ac_tool_warned=yes ;; |
||
2957 | esac |
||
2958 | STRIP=$ac_ct_STRIP |
||
2959 | fi |
||
2960 | else |
||
2961 | STRIP="$ac_cv_prog_STRIP" |
||
2962 | fi |
||
2963 | |||
2964 | fi |
||
2965 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
||
2966 | |||
2967 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
||
2968 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
||
2969 | if test -z "$MKDIR_P"; then |
||
2970 | if ${ac_cv_path_mkdir+:} false; then : |
||
2971 | $as_echo_n "(cached) " >&6 |
||
2972 | else |
||
2973 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
2974 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
||
2975 | do |
||
2976 | IFS=$as_save_IFS |
||
2977 | test -z "$as_dir" && as_dir=. |
||
2978 | for ac_prog in mkdir gmkdir; do |
||
2979 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
2980 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
||
2981 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
||
2982 | 'mkdir (GNU coreutils) '* | \ |
||
2983 | 'mkdir (coreutils) '* | \ |
||
2984 | 'mkdir (fileutils) '4.1*) |
||
2985 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
||
2986 | break 3;; |
||
2987 | esac |
||
2988 | done |
||
2989 | done |
||
2990 | done |
||
2991 | IFS=$as_save_IFS |
||
2992 | |||
2993 | fi |
||
2994 | |||
2995 | test -d ./--version && rmdir ./--version |
||
2996 | if test "${ac_cv_path_mkdir+set}" = set; then |
||
2997 | MKDIR_P="$ac_cv_path_mkdir -p" |
||
2998 | else |
||
2999 | # As a last resort, use the slow shell script. Don't cache a |
||
3000 | # value for MKDIR_P within a source directory, because that will |
||
3001 | # break other packages using the cache if that directory is |
||
3002 | # removed, or if the value is a relative name. |
||
3003 | MKDIR_P="$ac_install_sh -d" |
||
3004 | fi |
||
3005 | fi |
||
3006 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
||
3007 | $as_echo "$MKDIR_P" >&6; } |
||
3008 | |||
3009 | for ac_prog in gawk mawk nawk awk |
||
3010 | do |
||
3011 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
||
3012 | set dummy $ac_prog; ac_word=$2 |
||
3013 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
||
3014 | $as_echo_n "checking for $ac_word... " >&6; } |
||
3015 | if ${ac_cv_prog_AWK+:} false; then : |
||
3016 | $as_echo_n "(cached) " >&6 |
||
3017 | else |
||
3018 | if test -n "$AWK"; then |
||
3019 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
||
3020 | else |
||
3021 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3022 | for as_dir in $PATH |
||
3023 | do |
||
3024 | IFS=$as_save_IFS |
||
3025 | test -z "$as_dir" && as_dir=. |
||
3026 | for ac_exec_ext in '' $ac_executable_extensions; do |
||
3027 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
||
3028 | ac_cv_prog_AWK="$ac_prog" |
||
3029 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
||
3030 | break 2 |
||
3031 | fi |
||
3032 | done |
||
3033 | done |
||
3034 | IFS=$as_save_IFS |
||
3035 | |||
3036 | fi |
||
3037 | fi |
||
3038 | AWK=$ac_cv_prog_AWK |
||
3039 | if test -n "$AWK"; then |
||
3040 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
||
3041 | $as_echo "$AWK" >&6; } |
||
3042 | else |
||
3043 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
3044 | $as_echo "no" >&6; } |
||
3045 | fi |
||
3046 | |||
3047 | |||
3048 | test -n "$AWK" && break |
||
3049 | done |
||
3050 | |||
3051 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
||
3052 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
||
3053 | set x ${MAKE-make} |
||
3054 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
||
3055 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
||
3056 | $as_echo_n "(cached) " >&6 |
||
3057 | else |
||
3058 | cat >conftest.make <<\_ACEOF |
||
3059 | SHELL = /bin/sh |
||
3060 | all: |
||
3061 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
||
3062 | _ACEOF |
||
3063 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
||
3064 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
||
3065 | *@@@%%%=?*=@@@%%%*) |
||
3066 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
||
3067 | *) |
||
3068 | eval ac_cv_prog_make_${ac_make}_set=no;; |
||
3069 | esac |
||
3070 | rm -f conftest.make |
||
3071 | fi |
||
3072 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
||
3073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
||
3074 | $as_echo "yes" >&6; } |
||
3075 | SET_MAKE= |
||
3076 | else |
||
3077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
||
3078 | $as_echo "no" >&6; } |
||
3079 | SET_MAKE="MAKE=${MAKE-make}" |
||
3080 | fi |
||
3081 | |||
3082 | rm -rf .tst 2>/dev/null |
||
3083 | mkdir .tst 2>/dev/null |
||
3084 | if test -d .tst; then |
||
3085 | am__leading_dot=. |
||
3086 | else |
||
3087 | am__leading_dot=_ |
||
3088 | fi |
||
3089 | rmdir .tst 2>/dev/null |
||
3090 | |||
3091 | DEPDIR="${am__leading_dot}deps" |
||
3092 | |||
3093 | ac_config_commands="$ac_config_commands depfiles" |
||
3094 | |||
3095 | |||
3096 | am_make=${MAKE-make} |
||
3097 | cat > confinc << 'END' |
||
3098 | am__doit: |
||
3099 | @echo this is the am__doit target |
||
3100 | .PHONY: am__doit |
||
3101 | END |
||
3102 | # If we don't find an include directive, just comment out the code. |
||
3103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
||
3104 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
||
3105 | am__include="#" |
||
3106 | am__quote= |
||
3107 | _am_result=none |
||
3108 | # First try GNU make style include. |
||
3109 | echo "include confinc" > confmf |
||
3110 | # Ignore all kinds of additional output from 'make'. |
||
3111 | case `$am_make -s -f confmf 2> /dev/null` in #( |
||
3112 | *the\ am__doit\ target*) |
||
3113 | am__include=include |
||
3114 | am__quote= |
||
3115 | _am_result=GNU |
||
3116 | ;; |
||
3117 | esac |
||
3118 | # Now try BSD make style include. |
||
3119 | if test "$am__include" = "#"; then |
||
3120 | echo '.include "confinc"' > confmf |
||
3121 | case `$am_make -s -f confmf 2> /dev/null` in #( |
||
3122 | *the\ am__doit\ target*) |
||
3123 | am__include=.include |
||
3124 | am__quote="\"" |
||
3125 | _am_result=BSD |
||
3126 | ;; |
||
3127 | esac |
||
3128 | fi |
||
3129 | |||
3130 | |||
3131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
||
3132 | $as_echo "$_am_result" >&6; } |
||
3133 | rm -f confinc confmf |
||
3134 | |||
3135 | @%:@ Check whether --enable-dependency-tracking was given. |
||
3136 | if test "${enable_dependency_tracking+set}" = set; then : |
||
3137 | enableval=$enable_dependency_tracking; |
||
3138 | fi |
||
3139 | |||
3140 | if test "x$enable_dependency_tracking" != xno; then |
||
3141 | am_depcomp="$ac_aux_dir/depcomp" |
||
3142 | AMDEPBACKSLASH='\' |
||
3143 | am__nodep='_no' |
||
3144 | fi |
||
3145 | if test "x$enable_dependency_tracking" != xno; then |
||
3146 | AMDEP_TRUE= |
||
3147 | AMDEP_FALSE='#' |
||
3148 | else |
||
3149 | AMDEP_TRUE='#' |
||
3150 | AMDEP_FALSE= |
||
3151 | fi |
||
3152 | |||
3153 | |||
3154 | @%:@ Check whether --enable-silent-rules was given. |
||
3155 | if test "${enable_silent_rules+set}" = set; then : |
||
3156 | enableval=$enable_silent_rules; |
||
3157 | fi |
||
3158 | |||
3159 | case $enable_silent_rules in @%:@ ((( |
||
3160 | yes) AM_DEFAULT_VERBOSITY=0;; |
||
3161 | no) AM_DEFAULT_VERBOSITY=1;; |
||
3162 | *) AM_DEFAULT_VERBOSITY=1;; |
||
3163 | esac |
||
3164 | am_make=${MAKE-make} |
||
3165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
||
3166 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
||
3167 | if ${am_cv_make_support_nested_variables+:} false; then : |
||
3168 | $as_echo_n "(cached) " >&6 |
||
3169 | else |
||
3170 | if $as_echo 'TRUE=$(BAR$(V)) |
||
3171 | BAR0=false |
||
3172 | BAR1=true |
||
3173 | V=1 |
||
3174 | am__doit: |
||
3175 | @$(TRUE) |
||
3176 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
||
3177 | am_cv_make_support_nested_variables=yes |
||
3178 | else |
||
3179 | am_cv_make_support_nested_variables=no |
||
3180 | fi |
||
3181 | fi |
||
3182 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
||
3183 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
||
3184 | if test $am_cv_make_support_nested_variables = yes; then |
||
3185 | AM_V='$(V)' |
||
3186 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
||
3187 | else |
||
3188 | AM_V=$AM_DEFAULT_VERBOSITY |
||
3189 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
||
3190 | fi |
||
3191 | AM_BACKSLASH='\' |
||
3192 | |||
3193 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
||
3194 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
||
3195 | # is not polluted with repeated "-I." |
||
3196 | am__isrc=' -I$(srcdir)' |
||
3197 | # test to see if srcdir already configured |
||
3198 | if test -f $srcdir/config.status; then |
||
3199 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
||
3200 | fi |
||
3201 | fi |
||
3202 | |||
3203 | # test whether we have cygpath |
||
3204 | if test -z "$CYGPATH_W"; then |
||
3205 | if (cygpath --version) >/dev/null 2>/dev/null; then |
||
3206 | CYGPATH_W='cygpath -w' |
||
3207 | else |
||
3208 | CYGPATH_W=echo |
||
3209 | fi |
||
3210 | fi |
||
3211 | |||
3212 | |||
3213 | # Define the identity of the package. |
||
3214 | PACKAGE='zerosquitto' |
||
3215 | VERSION='1.0' |
||
3216 | |||
3217 | |||
3218 | cat >>confdefs.h <<_ACEOF |
||
3219 | @%:@define PACKAGE "$PACKAGE" |
||
3220 | _ACEOF |
||
3221 | |||
3222 | |||
3223 | cat >>confdefs.h <<_ACEOF |
||
3224 | @%:@define VERSION "$VERSION" |
||
3225 | _ACEOF |
||
3226 | |||
3227 | # Some tools Automake needs. |
||
3228 | |||
3229 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
||
3230 | |||
3231 | |||
3232 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
||
3233 | |||
3234 | |||
3235 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
||
3236 | |||
3237 | |||
3238 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
||
3239 | |||
3240 | |||
3241 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
||
3242 | |||
3243 | # For better backward compatibility. To be removed once Automake 1.9.x |
||
3244 | # dies out for good. For more background, see: |
||
3245 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
||
3246 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
||
3247 | mkdir_p='$(MKDIR_P)' |
||
3248 | |||
3249 | # We need awk for the "check" target (and possibly the TAP driver). The |
||
3250 | # system "awk" is bad on some platforms. |
||
3251 | # Always define AMTAR for backward compatibility. Yes, it's still used |
||
3252 | # in the wild :-( We should find a proper way to deprecate it ... |
||
3253 | AMTAR='$${TAR-tar}' |
||
3254 | |||
3255 | |||
3256 | # We'll loop over all known methods to create a tar archive until one works. |
||
3257 | _am_tools='gnutar pax cpio none' |
||
3258 | |||
3259 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
||
3260 | |||
3261 | |||
3262 | |||
3263 | |||
3264 | |||
3265 | depcc="$CC" am_compiler_list= |
||
3266 | |||
3267 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
||
3268 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
||
3269 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
||
3270 | $as_echo_n "(cached) " >&6 |
||
3271 | else |
||
3272 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
||
3273 | # We make a subdir and do the tests there. Otherwise we can end up |
||
3274 | # making bogus files that we don't know about and never remove. For |
||
3275 | # instance it was reported that on HP-UX the gcc test will end up |
||
3276 | # making a dummy file named 'D' -- because '-MD' means "put the output |
||
3277 | # in D". |
||
3278 | rm -rf conftest.dir |
||
3279 | mkdir conftest.dir |
||
3280 | # Copy depcomp to subdir because otherwise we won't find it if we're |
||
3281 | # using a relative directory. |
||
3282 | cp "$am_depcomp" conftest.dir |
||
3283 | cd conftest.dir |
||
3284 | # We will build objects and dependencies in a subdirectory because |
||
3285 | # it helps to detect inapplicable dependency modes. For instance |
||
3286 | # both Tru64's cc and ICC support -MD to output dependencies as a |
||
3287 | # side effect of compilation, but ICC will put the dependencies in |
||
3288 | # the current directory while Tru64 will put them in the object |
||
3289 | # directory. |
||
3290 | mkdir sub |
||
3291 | |||
3292 | am_cv_CC_dependencies_compiler_type=none |
||
3293 | if test "$am_compiler_list" = ""; then |
||
3294 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
||
3295 | fi |
||
3296 | am__universal=false |
||
3297 | case " $depcc " in #( |
||
3298 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
||
3299 | esac |
||
3300 | |||
3301 | for depmode in $am_compiler_list; do |
||
3302 | # Setup a source with many dependencies, because some compilers |
||
3303 | # like to wrap large dependency lists on column 80 (with \), and |
||
3304 | # we should not choose a depcomp mode which is confused by this. |
||
3305 | # |
||
3306 | # We need to recreate these files for each test, as the compiler may |
||
3307 | # overwrite some of them when testing with obscure command lines. |
||
3308 | # This happens at least with the AIX C compiler. |
||
3309 | : > sub/conftest.c |
||
3310 | for i in 1 2 3 4 5 6; do |
||
3311 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
||
3312 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
||
3313 | # Solaris 10 /bin/sh. |
||
3314 | echo '/* dummy */' > sub/conftst$i.h |
||
3315 | done |
||
3316 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
||
3317 | |||
3318 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
||
3319 | # mode. It turns out that the SunPro C++ compiler does not properly |
||
3320 | # handle '-M -o', and we need to detect this. Also, some Intel |
||
3321 | # versions had trouble with output in subdirs. |
||
3322 | am__obj=sub/conftest.${OBJEXT-o} |
||
3323 | am__minus_obj="-o $am__obj" |
||
3324 | case $depmode in |
||
3325 | gcc) |
||
3326 | # This depmode causes a compiler race in universal mode. |
||
3327 | test "$am__universal" = false || continue |
||
3328 | ;; |
||
3329 | nosideeffect) |
||
3330 | # After this tag, mechanisms are not by side-effect, so they'll |
||
3331 | # only be used when explicitly requested. |
||
3332 | if test "x$enable_dependency_tracking" = xyes; then |
||
3333 | continue |
||
3334 | else |
||
3335 | break |
||
3336 | fi |
||
3337 | ;; |
||
3338 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
||
3339 | # This compiler won't grok '-c -o', but also, the minuso test has |
||
3340 | # not run yet. These depmodes are late enough in the game, and |
||
3341 | # so weak that their functioning should not be impacted. |
||
3342 | am__obj=conftest.${OBJEXT-o} |
||
3343 | am__minus_obj= |
||
3344 | ;; |
||
3345 | none) break ;; |
||
3346 | esac |
||
3347 | if depmode=$depmode \ |
||
3348 | source=sub/conftest.c object=$am__obj \ |
||
3349 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
||
3350 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
||
3351 | >/dev/null 2>conftest.err && |
||
3352 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
||
3353 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
||
3354 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
||
3355 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
||
3356 | # icc doesn't choke on unknown options, it will just issue warnings |
||
3357 | # or remarks (even with -Werror). So we grep stderr for any message |
||
3358 | # that says an option was ignored or not supported. |
||
3359 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
||
3360 | # icc: Command line warning: ignoring option '-M'; no argument required |
||
3361 | # The diagnosis changed in icc 8.0: |
||
3362 | # icc: Command line remark: option '-MP' not supported |
||
3363 | if (grep 'ignoring option' conftest.err || |
||
3364 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
||
3365 | am_cv_CC_dependencies_compiler_type=$depmode |
||
3366 | break |
||
3367 | fi |
||
3368 | fi |
||
3369 | done |
||
3370 | |||
3371 | cd .. |
||
3372 | rm -rf conftest.dir |
||
3373 | else |
||
3374 | am_cv_CC_dependencies_compiler_type=none |
||
3375 | fi |
||
3376 | |||
3377 | fi |
||
3378 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
||
3379 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
||
3380 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
||
3381 | |||
3382 | if |
||
3383 | test "x$enable_dependency_tracking" != xno \ |
||
3384 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
||
3385 | am__fastdepCC_TRUE= |
||
3386 | am__fastdepCC_FALSE='#' |
||
3387 | else |
||
3388 | am__fastdepCC_TRUE='#' |
||
3389 | am__fastdepCC_FALSE= |
||
3390 | fi |
||
3391 | |||
3392 | |||
3393 | |||
3394 | # POSIX will say in a future version that running "rm -f" with no argument |
||
3395 | # is OK; and we want to be able to make that assumption in our Makefile |
||
3396 | # recipes. So use an aggressive probe to check that the usage we want is |
||
3397 | # actually supported "in the wild" to an acceptable degree. |
||
3398 | # See automake bug#10828. |
||
3399 | # To make any issue more visible, cause the running configure to be aborted |
||
3400 | # by default if the 'rm' program in use doesn't match our expectations; the |
||
3401 | # user can still override this though. |
||
3402 | if rm -f && rm -fr && rm -rf; then : OK; else |
||
3403 | cat >&2 <<'END' |
||
3404 | Oops! |
||
3405 | |||
3406 | Your 'rm' program seems unable to run without file operands specified |
||
3407 | on the command line, even when the '-f' option is present. This is contrary |
||
3408 | to the behaviour of most rm programs out there, and not conforming with |
||
3409 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
||
3410 | |||
3411 | Please tell bug-automake@gnu.org about your system, including the value |
||
3412 | of your $PATH and any error possibly output before this message. This |
||
3413 | can help us improve future automake versions. |
||
3414 | |||
3415 | END |
||
3416 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
||
3417 | echo 'Configuration will proceed anyway, since you have set the' >&2 |
||
3418 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
||
3419 | echo >&2 |
||
3420 | else |
||
3421 | cat >&2 <<'END' |
||
3422 | Aborting the configuration process, to ensure you take notice of the issue. |
||
3423 | |||
3424 | You can download and install GNU coreutils to get an 'rm' implementation |
||
3425 | that behaves properly: <http://www.gnu.org/software/coreutils/>. |
||
3426 | |||
3427 | If you want to complete the configuration process using your problematic |
||
3428 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
||
3429 | to "yes", and re-run configure. |
||
3430 | |||
3431 | END |
||
3432 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
||
3433 | fi |
||
3434 | fi |
||
3435 | |||
3436 | |||
3437 | |||
3438 | |||
3439 | |||
3440 | ac_config_files="$ac_config_files Makefile src/Makefile" |
||
3441 | |||
3442 | cat >confcache <<\_ACEOF |
||
3443 | # This file is a shell script that caches the results of configure |
||
3444 | # tests run on this system so they can be shared between configure |
||
3445 | # scripts and configure runs, see configure's option --config-cache. |
||
3446 | # It is not useful on other systems. If it contains results you don't |
||
3447 | # want to keep, you may remove or edit it. |
||
3448 | # |
||
3449 | # config.status only pays attention to the cache file if you give it |
||
3450 | # the --recheck option to rerun configure. |
||
3451 | # |
||
3452 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
||
3453 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
||
3454 | # following values. |
||
3455 | |||
3456 | _ACEOF |
||
3457 | |||
3458 | # The following way of writing the cache mishandles newlines in values, |
||
3459 | # but we know of no workaround that is simple, portable, and efficient. |
||
3460 | # So, we kill variables containing newlines. |
||
3461 | # Ultrix sh set writes to stderr and can't be redirected directly, |
||
3462 | # and sets the high bit in the cache file unless we assign to the vars. |
||
3463 | ( |
||
3464 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
||
3465 | eval ac_val=\$$ac_var |
||
3466 | case $ac_val in #( |
||
3467 | *${as_nl}*) |
||
3468 | case $ac_var in #( |
||
3469 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
||
3470 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
||
3471 | esac |
||
3472 | case $ac_var in #( |
||
3473 | _ | IFS | as_nl) ;; #( |
||
3474 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
||
3475 | *) { eval $ac_var=; unset $ac_var;} ;; |
||
3476 | esac ;; |
||
3477 | esac |
||
3478 | done |
||
3479 | |||
3480 | (set) 2>&1 | |
||
3481 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
||
3482 | *${as_nl}ac_space=\ *) |
||
3483 | # `set' does not quote correctly, so add quotes: double-quote |
||
3484 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
||
3485 | sed -n \ |
||
3486 | "s/'/'\\\\''/g; |
||
3487 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
||
3488 | ;; #( |
||
3489 | *) |
||
3490 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
||
3491 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
||
3492 | ;; |
||
3493 | esac | |
||
3494 | sort |
||
3495 | ) | |
||
3496 | sed ' |
||
3497 | /^ac_cv_env_/b end |
||
3498 | t clear |
||
3499 | :clear |
||
3500 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
||
3501 | t end |
||
3502 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
||
3503 | :end' >>confcache |
||
3504 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
||
3505 | if test -w "$cache_file"; then |
||
3506 | if test "x$cache_file" != "x/dev/null"; then |
||
3507 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
||
3508 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
||
3509 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
||
3510 | cat confcache >"$cache_file" |
||
3511 | else |
||
3512 | case $cache_file in #( |
||
3513 | */* | ?:*) |
||
3514 | mv -f confcache "$cache_file"$$ && |
||
3515 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
||
3516 | *) |
||
3517 | mv -f confcache "$cache_file" ;; |
||
3518 | esac |
||
3519 | fi |
||
3520 | fi |
||
3521 | else |
||
3522 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
||
3523 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
||
3524 | fi |
||
3525 | fi |
||
3526 | rm -f confcache |
||
3527 | |||
3528 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
||
3529 | # Let make expand exec_prefix. |
||
3530 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
||
3531 | |||
3532 | # Transform confdefs.h into DEFS. |
||
3533 | # Protect against shell expansion while executing Makefile rules. |
||
3534 | # Protect against Makefile macro expansion. |
||
3535 | # |
||
3536 | # If the first sed substitution is executed (which looks for macros that |
||
3537 | # take arguments), then branch to the quote section. Otherwise, |
||
3538 | # look for a macro that doesn't take arguments. |
||
3539 | ac_script=' |
||
3540 | :mline |
||
3541 | /\\$/{ |
||
3542 | N |
||
3543 | s,\\\n,, |
||
3544 | b mline |
||
3545 | } |
||
3546 | t clear |
||
3547 | :clear |
||
3548 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
||
3549 | t quote |
||
3550 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
||
3551 | t quote |
||
3552 | b any |
||
3553 | :quote |
||
3554 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
||
3555 | s/\[/\\&/g |
||
3556 | s/\]/\\&/g |
||
3557 | s/\$/$$/g |
||
3558 | H |
||
3559 | :any |
||
3560 | ${ |
||
3561 | g |
||
3562 | s/^\n// |
||
3563 | s/\n/ /g |
||
3564 | p |
||
3565 | } |
||
3566 | ' |
||
3567 | DEFS=`sed -n "$ac_script" confdefs.h` |
||
3568 | |||
3569 | |||
3570 | ac_libobjs= |
||
3571 | ac_ltlibobjs= |
||
3572 | U= |
||
3573 | for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
||
3574 | # 1. Remove the extension, and $U if already installed. |
||
3575 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
||
3576 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
||
3577 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
||
3578 | # will be set to the directory where LIBOBJS objects are built. |
||
3579 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
||
3580 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
||
3581 | done |
||
3582 | LIB@&t@OBJS=$ac_libobjs |
||
3583 | |||
3584 | LTLIBOBJS=$ac_ltlibobjs |
||
3585 | |||
3586 | |||
3587 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
||
3588 | $as_echo_n "checking that generated files are newer than configure... " >&6; } |
||
3589 | if test -n "$am_sleep_pid"; then |
||
3590 | # Hide warnings about reused PIDs. |
||
3591 | wait $am_sleep_pid 2>/dev/null |
||
3592 | fi |
||
3593 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
||
3594 | $as_echo "done" >&6; } |
||
3595 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
||
3596 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
||
3597 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
||
3598 | fi |
||
3599 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
||
3600 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
||
3601 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
||
3602 | fi |
||
3603 | if test -n "$EXEEXT"; then |
||
3604 | am__EXEEXT_TRUE= |
||
3605 | am__EXEEXT_FALSE='#' |
||
3606 | else |
||
3607 | am__EXEEXT_TRUE='#' |
||
3608 | am__EXEEXT_FALSE= |
||
3609 | fi |
||
3610 | |||
3611 | |||
3612 | : "${CONFIG_STATUS=./config.status}" |
||
3613 | ac_write_fail=0 |
||
3614 | ac_clean_files_save=$ac_clean_files |
||
3615 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
||
3616 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
||
3617 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
||
3618 | as_write_fail=0 |
||
3619 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
||
3620 | #! $SHELL |
||
3621 | # Generated by $as_me. |
||
3622 | # Run this file to recreate the current configuration. |
||
3623 | # Compiler output produced by configure, useful for debugging |
||
3624 | # configure, is in config.log if it exists. |
||
3625 | |||
3626 | debug=false |
||
3627 | ac_cs_recheck=false |
||
3628 | ac_cs_silent=false |
||
3629 | |||
3630 | SHELL=\${CONFIG_SHELL-$SHELL} |
||
3631 | export SHELL |
||
3632 | _ASEOF |
||
3633 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
||
3634 | ## -------------------- ## |
||
3635 | ## M4sh Initialization. ## |
||
3636 | ## -------------------- ## |
||
3637 | |||
3638 | # Be more Bourne compatible |
||
3639 | DUALCASE=1; export DUALCASE # for MKS sh |
||
3640 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
||
3641 | emulate sh |
||
3642 | NULLCMD=: |
||
3643 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
||
3644 | # is contrary to our usage. Disable this feature. |
||
3645 | alias -g '${1+"$@"}'='"$@"' |
||
3646 | setopt NO_GLOB_SUBST |
||
3647 | else |
||
3648 | case `(set -o) 2>/dev/null` in @%:@( |
||
3649 | *posix*) : |
||
3650 | set -o posix ;; @%:@( |
||
3651 | *) : |
||
3652 | ;; |
||
3653 | esac |
||
3654 | fi |
||
3655 | |||
3656 | |||
3657 | as_nl=' |
||
3658 | ' |
||
3659 | export as_nl |
||
3660 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
||
3661 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
||
3662 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
||
3663 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
||
3664 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
||
3665 | # but without wasting forks for bash or zsh. |
||
3666 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
||
3667 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
||
3668 | as_echo='print -r --' |
||
3669 | as_echo_n='print -rn --' |
||
3670 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
||
3671 | as_echo='printf %s\n' |
||
3672 | as_echo_n='printf %s' |
||
3673 | else |
||
3674 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
||
3675 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
||
3676 | as_echo_n='/usr/ucb/echo -n' |
||
3677 | else |
||
3678 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
||
3679 | as_echo_n_body='eval |
||
3680 | arg=$1; |
||
3681 | case $arg in @%:@( |
||
3682 | *"$as_nl"*) |
||
3683 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
||
3684 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
||
3685 | esac; |
||
3686 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
||
3687 | ' |
||
3688 | export as_echo_n_body |
||
3689 | as_echo_n='sh -c $as_echo_n_body as_echo' |
||
3690 | fi |
||
3691 | export as_echo_body |
||
3692 | as_echo='sh -c $as_echo_body as_echo' |
||
3693 | fi |
||
3694 | |||
3695 | # The user is always right. |
||
3696 | if test "${PATH_SEPARATOR+set}" != set; then |
||
3697 | PATH_SEPARATOR=: |
||
3698 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
||
3699 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
||
3700 | PATH_SEPARATOR=';' |
||
3701 | } |
||
3702 | fi |
||
3703 | |||
3704 | |||
3705 | # IFS |
||
3706 | # We need space, tab and new line, in precisely that order. Quoting is |
||
3707 | # there to prevent editors from complaining about space-tab. |
||
3708 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
||
3709 | # splitting by setting IFS to empty value.) |
||
3710 | IFS=" "" $as_nl" |
||
3711 | |||
3712 | # Find who we are. Look in the path if we contain no directory separator. |
||
3713 | as_myself= |
||
3714 | case $0 in @%:@(( |
||
3715 | *[\\/]* ) as_myself=$0 ;; |
||
3716 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
||
3717 | for as_dir in $PATH |
||
3718 | do |
||
3719 | IFS=$as_save_IFS |
||
3720 | test -z "$as_dir" && as_dir=. |
||
3721 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
||
3722 | done |
||
3723 | IFS=$as_save_IFS |
||
3724 | |||
3725 | ;; |
||
3726 | esac |
||
3727 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
||
3728 | # in which case we are not to be found in the path. |
||
3729 | if test "x$as_myself" = x; then |
||
3730 | as_myself=$0 |
||
3731 | fi |
||
3732 | if test ! -f "$as_myself"; then |
||
3733 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
||
3734 | exit 1 |
||
3735 | fi |
||
3736 | |||
3737 | # Unset variables that we do not need and which cause bugs (e.g. in |
||
3738 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
||
3739 | # suppresses any "Segmentation fault" message there. '((' could |
||
3740 | # trigger a bug in pdksh 5.2.14. |
||
3741 | for as_var in BASH_ENV ENV MAIL MAILPATH |
||
3742 | do eval test x\${$as_var+set} = xset \ |
||
3743 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
||
3744 | done |
||
3745 | PS1='$ ' |
||
3746 | PS2='> ' |
||
3747 | PS4='+ ' |
||
3748 | |||
3749 | # NLS nuisances. |
||
3750 | LC_ALL=C |
||
3751 | export LC_ALL |
||
3752 | LANGUAGE=C |
||
3753 | export LANGUAGE |
||
3754 | |||
3755 | # CDPATH. |
||
3756 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
||
3757 | |||
3758 | |||
3759 | @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
||
3760 | @%:@ ---------------------------------------- |
||
3761 | @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
||
3762 | @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
||
3763 | @%:@ script with STATUS, using 1 if that was 0. |
||
3764 | as_fn_error () |
||
3765 | { |
||
3766 | as_status=$1; test $as_status -eq 0 && as_status=1 |
||
3767 | if test "$4"; then |
||
3768 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
||
3769 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
||
3770 | fi |
||
3771 | $as_echo "$as_me: error: $2" >&2 |
||
3772 | as_fn_exit $as_status |
||
3773 | } @%:@ as_fn_error |
||
3774 | |||
3775 | |||
3776 | @%:@ as_fn_set_status STATUS |
||
3777 | @%:@ ----------------------- |
||
3778 | @%:@ Set @S|@? to STATUS, without forking. |
||
3779 | as_fn_set_status () |
||
3780 | { |
||
3781 | return $1 |
||
3782 | } @%:@ as_fn_set_status |
||
3783 | |||
3784 | @%:@ as_fn_exit STATUS |
||
3785 | @%:@ ----------------- |
||
3786 | @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
||
3787 | as_fn_exit () |
||
3788 | { |
||
3789 | set +e |
||
3790 | as_fn_set_status $1 |
||
3791 | exit $1 |
||
3792 | } @%:@ as_fn_exit |
||
3793 | |||
3794 | @%:@ as_fn_unset VAR |
||
3795 | @%:@ --------------- |
||
3796 | @%:@ Portably unset VAR. |
||
3797 | as_fn_unset () |
||
3798 | { |
||
3799 | { eval $1=; unset $1;} |
||
3800 | } |
||
3801 | as_unset=as_fn_unset |
||
3802 | @%:@ as_fn_append VAR VALUE |
||
3803 | @%:@ ---------------------- |
||
3804 | @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
||
3805 | @%:@ advantage of any shell optimizations that allow amortized linear growth over |
||
3806 | @%:@ repeated appends, instead of the typical quadratic growth present in naive |
||
3807 | @%:@ implementations. |
||
3808 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
||
3809 | eval 'as_fn_append () |
||
3810 | { |
||
3811 | eval $1+=\$2 |
||
3812 | }' |
||
3813 | else |
||
3814 | as_fn_append () |
||
3815 | { |
||
3816 | eval $1=\$$1\$2 |
||
3817 | } |
||
3818 | fi # as_fn_append |
||
3819 | |||
3820 | @%:@ as_fn_arith ARG... |
||
3821 | @%:@ ------------------ |
||
3822 | @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
||
3823 | @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
||
3824 | @%:@ must be portable across @S|@(()) and expr. |
||
3825 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
||
3826 | eval 'as_fn_arith () |
||
3827 | { |
||
3828 | as_val=$(( $* )) |
||
3829 | }' |
||
3830 | else |
||
3831 | as_fn_arith () |
||
3832 | { |
||
3833 | as_val=`expr "$@" || test $? -eq 1` |
||
3834 | } |
||
3835 | fi # as_fn_arith |
||
3836 | |||
3837 | |||
3838 | if expr a : '\(a\)' >/dev/null 2>&1 && |
||
3839 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
||
3840 | as_expr=expr |
||
3841 | else |
||
3842 | as_expr=false |
||
3843 | fi |
||
3844 | |||
3845 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
||
3846 | as_basename=basename |
||
3847 | else |
||
3848 | as_basename=false |
||
3849 | fi |
||
3850 | |||
3851 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
||
3852 | as_dirname=dirname |
||
3853 | else |
||
3854 | as_dirname=false |
||
3855 | fi |
||
3856 | |||
3857 | as_me=`$as_basename -- "$0" || |
||
3858 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
||
3859 | X"$0" : 'X\(//\)$' \| \ |
||
3860 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
||
3861 | $as_echo X/"$0" | |
||
3862 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
||
3863 | s//\1/ |
||
3864 | q |
||
3865 | } |
||
3866 | /^X\/\(\/\/\)$/{ |
||
3867 | s//\1/ |
||
3868 | q |
||
3869 | } |
||
3870 | /^X\/\(\/\).*/{ |
||
3871 | s//\1/ |
||
3872 | q |
||
3873 | } |
||
3874 | s/.*/./; q'` |
||
3875 | |||
3876 | # Avoid depending upon Character Ranges. |
||
3877 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
||
3878 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
||
3879 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
||
3880 | as_cr_digits='0123456789' |
||
3881 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
||
3882 | |||
3883 | ECHO_C= ECHO_N= ECHO_T= |
||
3884 | case `echo -n x` in @%:@((((( |
||
3885 | -n*) |
||
3886 | case `echo 'xy\c'` in |
||
3887 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
||
3888 | xy) ECHO_C='\c';; |
||
3889 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
||
3890 | ECHO_T=' ';; |
||
3891 | esac;; |
||
3892 | *) |
||
3893 | ECHO_N='-n';; |
||
3894 | esac |
||
3895 | |||
3896 | rm -f conf$$ conf$$.exe conf$$.file |
||
3897 | if test -d conf$$.dir; then |
||
3898 | rm -f conf$$.dir/conf$$.file |
||
3899 | else |
||
3900 | rm -f conf$$.dir |
||
3901 | mkdir conf$$.dir 2>/dev/null |
||
3902 | fi |
||
3903 | if (echo >conf$$.file) 2>/dev/null; then |
||
3904 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
||
3905 | as_ln_s='ln -s' |
||
3906 | # ... but there are two gotchas: |
||
3907 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
||
3908 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
||
3909 | # In both cases, we have to default to `cp -pR'. |
||
3910 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
||
3911 | as_ln_s='cp -pR' |
||
3912 | elif ln conf$$.file conf$$ 2>/dev/null; then |
||
3913 | as_ln_s=ln |
||
3914 | else |
||
3915 | as_ln_s='cp -pR' |
||
3916 | fi |
||
3917 | else |
||
3918 | as_ln_s='cp -pR' |
||
3919 | fi |
||
3920 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
||
3921 | rmdir conf$$.dir 2>/dev/null |
||
3922 | |||
3923 | |||
3924 | @%:@ as_fn_mkdir_p |
||
3925 | @%:@ ------------- |
||
3926 | @%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
||
3927 | as_fn_mkdir_p () |
||
3928 | { |
||
3929 | |||
3930 | case $as_dir in #( |
||
3931 | -*) as_dir=./$as_dir;; |
||
3932 | esac |
||
3933 | test -d "$as_dir" || eval $as_mkdir_p || { |
||
3934 | as_dirs= |
||
3935 | while :; do |
||
3936 | case $as_dir in #( |
||
3937 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
||
3938 | *) as_qdir=$as_dir;; |
||
3939 | esac |
||
3940 | as_dirs="'$as_qdir' $as_dirs" |
||
3941 | as_dir=`$as_dirname -- "$as_dir" || |
||
3942 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
3943 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
||
3944 | X"$as_dir" : 'X\(//\)$' \| \ |
||
3945 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
||
3946 | $as_echo X"$as_dir" | |
||
3947 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
||
3948 | s//\1/ |
||
3949 | q |
||
3950 | } |
||
3951 | /^X\(\/\/\)[^/].*/{ |
||
3952 | s//\1/ |
||
3953 | q |
||
3954 | } |
||
3955 | /^X\(\/\/\)$/{ |
||
3956 | s//\1/ |
||
3957 | q |
||
3958 | } |
||
3959 | /^X\(\/\).*/{ |
||
3960 | s//\1/ |
||
3961 | q |
||
3962 | } |
||
3963 | s/.*/./; q'` |
||
3964 | test -d "$as_dir" && break |
||
3965 | done |
||
3966 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
||
3967 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
||
3968 | |||
3969 | |||
3970 | } @%:@ as_fn_mkdir_p |
||
3971 | if mkdir -p . 2>/dev/null; then |
||
3972 | as_mkdir_p='mkdir -p "$as_dir"' |
||
3973 | else |
||
3974 | test -d ./-p && rmdir ./-p |
||
3975 | as_mkdir_p=false |
||
3976 | fi |
||
3977 | |||
3978 | |||
3979 | @%:@ as_fn_executable_p FILE |
||
3980 | @%:@ ----------------------- |
||
3981 | @%:@ Test if FILE is an executable regular file. |
||
3982 | as_fn_executable_p () |
||
3983 | { |
||
3984 | test -f "$1" && test -x "$1" |
||
3985 | } @%:@ as_fn_executable_p |
||
3986 | as_test_x='test -x' |
||
3987 | as_executable_p=as_fn_executable_p |
||
3988 | |||
3989 | # Sed expression to map a string onto a valid CPP name. |
||
3990 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
||
3991 | |||
3992 | # Sed expression to map a string onto a valid variable name. |
||
3993 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
||
3994 | |||
3995 | |||
3996 | exec 6>&1 |
||
3997 | ## ----------------------------------- ## |
||
3998 | ## Main body of $CONFIG_STATUS script. ## |
||
3999 | ## ----------------------------------- ## |
||
4000 | _ASEOF |
||
4001 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
||
4002 | |||
4003 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
4004 | # Save the log message, to keep $0 and so on meaningful, and to |
||
4005 | # report actual input values of CONFIG_FILES etc. instead of their |
||
4006 | # values after options handling. |
||
4007 | ac_log=" |
||
4008 | This file was extended by zeroSquitto $as_me 1.0, which was |
||
4009 | generated by GNU Autoconf 2.69. Invocation command line was |
||
4010 | |||
4011 | CONFIG_FILES = $CONFIG_FILES |
||
4012 | CONFIG_HEADERS = $CONFIG_HEADERS |
||
4013 | CONFIG_LINKS = $CONFIG_LINKS |
||
4014 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
||
4015 | $ $0 $@ |
||
4016 | |||
4017 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
||
4018 | " |
||
4019 | |||
4020 | _ACEOF |
||
4021 | |||
4022 | case $ac_config_files in *" |
||
4023 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
||
4024 | esac |
||
4025 | |||
4026 | |||
4027 | |||
4028 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
4029 | # Files that config.status was made for. |
||
4030 | config_files="$ac_config_files" |
||
4031 | config_commands="$ac_config_commands" |
||
4032 | |||
4033 | _ACEOF |
||
4034 | |||
4035 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
4036 | ac_cs_usage="\ |
||
4037 | \`$as_me' instantiates files and other configuration actions |
||
4038 | from templates according to the current configuration. Unless the files |
||
4039 | and actions are specified as TAGs, all are instantiated by default. |
||
4040 | |||
4041 | Usage: $0 [OPTION]... [TAG]... |
||
4042 | |||
4043 | -h, --help print this help, then exit |
||
4044 | -V, --version print version number and configuration settings, then exit |
||
4045 | --config print configuration, then exit |
||
4046 | -q, --quiet, --silent |
||
4047 | do not print progress messages |
||
4048 | -d, --debug don't remove temporary files |
||
4049 | --recheck update $as_me by reconfiguring in the same conditions |
||
4050 | --file=FILE[:TEMPLATE] |
||
4051 | instantiate the configuration file FILE |
||
4052 | |||
4053 | Configuration files: |
||
4054 | $config_files |
||
4055 | |||
4056 | Configuration commands: |
||
4057 | $config_commands |
||
4058 | |||
4059 | Report bugs to the package provider." |
||
4060 | |||
4061 | _ACEOF |
||
4062 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
4063 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
||
4064 | ac_cs_version="\\ |
||
4065 | zeroSquitto config.status 1.0 |
||
4066 | configured by $0, generated by GNU Autoconf 2.69, |
||
4067 | with options \\"\$ac_cs_config\\" |
||
4068 | |||
4069 | Copyright (C) 2012 Free Software Foundation, Inc. |
||
4070 | This config.status script is free software; the Free Software Foundation |
||
4071 | gives unlimited permission to copy, distribute and modify it." |
||
4072 | |||
4073 | ac_pwd='$ac_pwd' |
||
4074 | srcdir='$srcdir' |
||
4075 | INSTALL='$INSTALL' |
||
4076 | MKDIR_P='$MKDIR_P' |
||
4077 | AWK='$AWK' |
||
4078 | test -n "\$AWK" || AWK=awk |
||
4079 | _ACEOF |
||
4080 | |||
4081 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
4082 | # The default lists apply if the user does not specify any file. |
||
4083 | ac_need_defaults=: |
||
4084 | while test $# != 0 |
||
4085 | do |
||
4086 | case $1 in |
||
4087 | --*=?*) |
||
4088 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
||
4089 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
||
4090 | ac_shift=: |
||
4091 | ;; |
||
4092 | --*=) |
||
4093 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
||
4094 | ac_optarg= |
||
4095 | ac_shift=: |
||
4096 | ;; |
||
4097 | *) |
||
4098 | ac_option=$1 |
||
4099 | ac_optarg=$2 |
||
4100 | ac_shift=shift |
||
4101 | ;; |
||
4102 | esac |
||
4103 | |||
4104 | case $ac_option in |
||
4105 | # Handling of the options. |
||
4106 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
||
4107 | ac_cs_recheck=: ;; |
||
4108 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
||
4109 | $as_echo "$ac_cs_version"; exit ;; |
||
4110 | --config | --confi | --conf | --con | --co | --c ) |
||
4111 | $as_echo "$ac_cs_config"; exit ;; |
||
4112 | --debug | --debu | --deb | --de | --d | -d ) |
||
4113 | debug=: ;; |
||
4114 | --file | --fil | --fi | --f ) |
||
4115 | $ac_shift |
||
4116 | case $ac_optarg in |
||
4117 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
||
4118 | '') as_fn_error $? "missing file argument" ;; |
||
4119 | esac |
||
4120 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
||
4121 | ac_need_defaults=false;; |
||
4122 | --he | --h | --help | --hel | -h ) |
||
4123 | $as_echo "$ac_cs_usage"; exit ;; |
||
4124 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
||
4125 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
||
4126 | ac_cs_silent=: ;; |
||
4127 | |||
4128 | # This is an error. |
||
4129 | -*) as_fn_error $? "unrecognized option: \`$1' |
||
4130 | Try \`$0 --help' for more information." ;; |
||
4131 | |||
4132 | *) as_fn_append ac_config_targets " $1" |
||
4133 | ac_need_defaults=false ;; |
||
4134 | |||
4135 | esac |
||
4136 | shift |
||
4137 | done |
||
4138 | |||
4139 | ac_configure_extra_args= |
||
4140 | |||
4141 | if $ac_cs_silent; then |
||
4142 | exec 6>/dev/null |
||
4143 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
||
4144 | fi |
||
4145 | |||
4146 | _ACEOF |
||
4147 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
4148 | if \$ac_cs_recheck; then |
||
4149 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
||
4150 | shift |
||
4151 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
||
4152 | CONFIG_SHELL='$SHELL' |
||
4153 | export CONFIG_SHELL |
||
4154 | exec "\$@" |
||
4155 | fi |
||
4156 | |||
4157 | _ACEOF |
||
4158 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
4159 | exec 5>>config.log |
||
4160 | { |
||
4161 | echo |
||
4162 | sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX |
||
4163 | @%:@@%:@ Running $as_me. @%:@@%:@ |
||
4164 | _ASBOX |
||
4165 | $as_echo "$ac_log" |
||
4166 | } >&5 |
||
4167 | |||
4168 | _ACEOF |
||
4169 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
4170 | # |
||
4171 | # INIT-COMMANDS |
||
4172 | # |
||
4173 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
||
4174 | |||
4175 | _ACEOF |
||
4176 | |||
4177 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
4178 | |||
4179 | # Handling of arguments. |
||
4180 | for ac_config_target in $ac_config_targets |
||
4181 | do |
||
4182 | case $ac_config_target in |
||
4183 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
||
4184 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
||
4185 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
||
4186 | |||
4187 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
||
4188 | esac |
||
4189 | done |
||
4190 | |||
4191 | |||
4192 | # If the user did not use the arguments to specify the items to instantiate, |
||
4193 | # then the envvar interface is used. Set only those that are not. |
||
4194 | # We use the long form for the default assignment because of an extremely |
||
4195 | # bizarre bug on SunOS 4.1.3. |
||
4196 | if $ac_need_defaults; then |
||
4197 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
||
4198 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
||
4199 | fi |
||
4200 | |||
4201 | # Have a temporary directory for convenience. Make it in the build tree |
||
4202 | # simply because there is no reason against having it here, and in addition, |
||
4203 | # creating and moving files from /tmp can sometimes cause problems. |
||
4204 | # Hook for its removal unless debugging. |
||
4205 | # Note that there is a small window in which the directory will not be cleaned: |
||
4206 | # after its creation but before its name has been assigned to `$tmp'. |
||
4207 | $debug || |
||
4208 | { |
||
4209 | tmp= ac_tmp= |
||
4210 | trap 'exit_status=$? |
||
4211 | : "${ac_tmp:=$tmp}" |
||
4212 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
||
4213 | ' 0 |
||
4214 | trap 'as_fn_exit 1' 1 2 13 15 |
||
4215 | } |
||
4216 | # Create a (secure) tmp directory for tmp files. |
||
4217 | |||
4218 | { |
||
4219 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
||
4220 | test -d "$tmp" |
||
4221 | } || |
||
4222 | { |
||
4223 | tmp=./conf$$-$RANDOM |
||
4224 | (umask 077 && mkdir "$tmp") |
||
4225 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
||
4226 | ac_tmp=$tmp |
||
4227 | |||
4228 | # Set up the scripts for CONFIG_FILES section. |
||
4229 | # No need to generate them if there are no CONFIG_FILES. |
||
4230 | # This happens for instance with `./config.status config.h'. |
||
4231 | if test -n "$CONFIG_FILES"; then |
||
4232 | |||
4233 | |||
4234 | ac_cr=`echo X | tr X '\015'` |
||
4235 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
||
4236 | # But we know of no other shell where ac_cr would be empty at this |
||
4237 | # point, so we can use a bashism as a fallback. |
||
4238 | if test "x$ac_cr" = x; then |
||
4239 | eval ac_cr=\$\'\\r\' |
||
4240 | fi |
||
4241 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
||
4242 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
||
4243 | ac_cs_awk_cr='\\r' |
||
4244 | else |
||
4245 | ac_cs_awk_cr=$ac_cr |
||
4246 | fi |
||
4247 | |||
4248 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
||
4249 | _ACEOF |
||
4250 | |||
4251 | |||
4252 | { |
||
4253 | echo "cat >conf$$subs.awk <<_ACEOF" && |
||
4254 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
||
4255 | echo "_ACEOF" |
||
4256 | } >conf$$subs.sh || |
||
4257 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
||
4258 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
||
4259 | ac_delim='%!_!# ' |
||
4260 | for ac_last_try in false false false false false :; do |
||
4261 | . ./conf$$subs.sh || |
||
4262 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
||
4263 | |||
4264 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
||
4265 | if test $ac_delim_n = $ac_delim_num; then |
||
4266 | break |
||
4267 | elif $ac_last_try; then |
||
4268 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
||
4269 | else |
||
4270 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
||
4271 | fi |
||
4272 | done |
||
4273 | rm -f conf$$subs.sh |
||
4274 | |||
4275 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
4276 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
||
4277 | _ACEOF |
||
4278 | sed -n ' |
||
4279 | h |
||
4280 | s/^/S["/; s/!.*/"]=/ |
||
4281 | p |
||
4282 | g |
||
4283 | s/^[^!]*!// |
||
4284 | :repl |
||
4285 | t repl |
||
4286 | s/'"$ac_delim"'$// |
||
4287 | t delim |
||
4288 | :nl |
||
4289 | h |
||
4290 | s/\(.\{148\}\)..*/\1/ |
||
4291 | t more1 |
||
4292 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
||
4293 | p |
||
4294 | n |
||
4295 | b repl |
||
4296 | :more1 |
||
4297 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
||
4298 | p |
||
4299 | g |
||
4300 | s/.\{148\}// |
||
4301 | t nl |
||
4302 | :delim |
||
4303 | h |
||
4304 | s/\(.\{148\}\)..*/\1/ |
||
4305 | t more2 |
||
4306 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
||
4307 | p |
||
4308 | b |
||
4309 | :more2 |
||
4310 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
||
4311 | p |
||
4312 | g |
||
4313 | s/.\{148\}// |
||
4314 | t delim |
||
4315 | ' <conf$$subs.awk | sed ' |
||
4316 | /^[^""]/{ |
||
4317 | N |
||
4318 | s/\n// |
||
4319 | } |
||
4320 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
||
4321 | rm -f conf$$subs.awk |
||
4322 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
4323 | _ACAWK |
||
4324 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
||
4325 | for (key in S) S_is_set[key] = 1 |
||
4326 | FS = "" |
||
4327 | |||
4328 | } |
||
4329 | { |
||
4330 | line = $ 0 |
||
4331 | nfields = split(line, field, "@") |
||
4332 | substed = 0 |
||
4333 | len = length(field[1]) |
||
4334 | for (i = 2; i < nfields; i++) { |
||
4335 | key = field[i] |
||
4336 | keylen = length(key) |
||
4337 | if (S_is_set[key]) { |
||
4338 | value = S[key] |
||
4339 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
||
4340 | len += length(value) + length(field[++i]) |
||
4341 | substed = 1 |
||
4342 | } else |
||
4343 | len += 1 + keylen |
||
4344 | } |
||
4345 | |||
4346 | print line |
||
4347 | } |
||
4348 | |||
4349 | _ACAWK |
||
4350 | _ACEOF |
||
4351 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
4352 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
||
4353 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
||
4354 | else |
||
4355 | cat |
||
4356 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
||
4357 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
||
4358 | _ACEOF |
||
4359 | |||
4360 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
||
4361 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
||
4362 | # trailing colons and then remove the whole line if VPATH becomes empty |
||
4363 | # (actually we leave an empty line to preserve line numbers). |
||
4364 | if test "x$srcdir" = x.; then |
||
4365 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
||
4366 | h |
||
4367 | s/// |
||
4368 | s/^/:/ |
||
4369 | s/[ ]*$/:/ |
||
4370 | s/:\$(srcdir):/:/g |
||
4371 | s/:\${srcdir}:/:/g |
||
4372 | s/:@srcdir@:/:/g |
||
4373 | s/^:*// |
||
4374 | s/:*$// |
||
4375 | x |
||
4376 | s/\(=[ ]*\).*/\1/ |
||
4377 | G |
||
4378 | s/\n// |
||
4379 | s/^[^=]*=[ ]*$// |
||
4380 | }' |
||
4381 | fi |
||
4382 | |||
4383 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
4384 | fi # test -n "$CONFIG_FILES" |
||
4385 | |||
4386 | |||
4387 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
||
4388 | shift |
||
4389 | for ac_tag |
||
4390 | do |
||
4391 | case $ac_tag in |
||
4392 | :[FHLC]) ac_mode=$ac_tag; continue;; |
||
4393 | esac |
||
4394 | case $ac_mode$ac_tag in |
||
4395 | :[FHL]*:*);; |
||
4396 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
||
4397 | :[FH]-) ac_tag=-:-;; |
||
4398 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
||
4399 | esac |
||
4400 | ac_save_IFS=$IFS |
||
4401 | IFS=: |
||
4402 | set x $ac_tag |
||
4403 | IFS=$ac_save_IFS |
||
4404 | shift |
||
4405 | ac_file=$1 |
||
4406 | shift |
||
4407 | |||
4408 | case $ac_mode in |
||
4409 | :L) ac_source=$1;; |
||
4410 | :[FH]) |
||
4411 | ac_file_inputs= |
||
4412 | for ac_f |
||
4413 | do |
||
4414 | case $ac_f in |
||
4415 | -) ac_f="$ac_tmp/stdin";; |
||
4416 | *) # Look for the file first in the build tree, then in the source tree |
||
4417 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
||
4418 | # because $ac_f cannot contain `:'. |
||
4419 | test -f "$ac_f" || |
||
4420 | case $ac_f in |
||
4421 | [\\/$]*) false;; |
||
4422 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
||
4423 | esac || |
||
4424 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
||
4425 | esac |
||
4426 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
||
4427 | as_fn_append ac_file_inputs " '$ac_f'" |
||
4428 | done |
||
4429 | |||
4430 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
||
4431 | # use $as_me), people would be surprised to read: |
||
4432 | # /* config.h. Generated by config.status. */ |
||
4433 | configure_input='Generated from '` |
||
4434 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
||
4435 | `' by configure.' |
||
4436 | if test x"$ac_file" != x-; then |
||
4437 | configure_input="$ac_file. $configure_input" |
||
4438 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
||
4439 | $as_echo "$as_me: creating $ac_file" >&6;} |
||
4440 | fi |
||
4441 | # Neutralize special characters interpreted by sed in replacement strings. |
||
4442 | case $configure_input in #( |
||
4443 | *\&* | *\|* | *\\* ) |
||
4444 | ac_sed_conf_input=`$as_echo "$configure_input" | |
||
4445 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
||
4446 | *) ac_sed_conf_input=$configure_input;; |
||
4447 | esac |
||
4448 | |||
4449 | case $ac_tag in |
||
4450 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
||
4451 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
||
4452 | esac |
||
4453 | ;; |
||
4454 | esac |
||
4455 | |||
4456 | ac_dir=`$as_dirname -- "$ac_file" || |
||
4457 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
4458 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
||
4459 | X"$ac_file" : 'X\(//\)$' \| \ |
||
4460 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
||
4461 | $as_echo X"$ac_file" | |
||
4462 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
||
4463 | s//\1/ |
||
4464 | q |
||
4465 | } |
||
4466 | /^X\(\/\/\)[^/].*/{ |
||
4467 | s//\1/ |
||
4468 | q |
||
4469 | } |
||
4470 | /^X\(\/\/\)$/{ |
||
4471 | s//\1/ |
||
4472 | q |
||
4473 | } |
||
4474 | /^X\(\/\).*/{ |
||
4475 | s//\1/ |
||
4476 | q |
||
4477 | } |
||
4478 | s/.*/./; q'` |
||
4479 | as_dir="$ac_dir"; as_fn_mkdir_p |
||
4480 | ac_builddir=. |
||
4481 | |||
4482 | case "$ac_dir" in |
||
4483 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
||
4484 | *) |
||
4485 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
||
4486 | # A ".." for each directory in $ac_dir_suffix. |
||
4487 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
||
4488 | case $ac_top_builddir_sub in |
||
4489 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
||
4490 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
||
4491 | esac ;; |
||
4492 | esac |
||
4493 | ac_abs_top_builddir=$ac_pwd |
||
4494 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
||
4495 | # for backward compatibility: |
||
4496 | ac_top_builddir=$ac_top_build_prefix |
||
4497 | |||
4498 | case $srcdir in |
||
4499 | .) # We are building in place. |
||
4500 | ac_srcdir=. |
||
4501 | ac_top_srcdir=$ac_top_builddir_sub |
||
4502 | ac_abs_top_srcdir=$ac_pwd ;; |
||
4503 | [\\/]* | ?:[\\/]* ) # Absolute name. |
||
4504 | ac_srcdir=$srcdir$ac_dir_suffix; |
||
4505 | ac_top_srcdir=$srcdir |
||
4506 | ac_abs_top_srcdir=$srcdir ;; |
||
4507 | *) # Relative name. |
||
4508 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
||
4509 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
||
4510 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
||
4511 | esac |
||
4512 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
||
4513 | |||
4514 | |||
4515 | case $ac_mode in |
||
4516 | :F) |
||
4517 | # |
||
4518 | # CONFIG_FILE |
||
4519 | # |
||
4520 | |||
4521 | case $INSTALL in |
||
4522 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
||
4523 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
||
4524 | esac |
||
4525 | ac_MKDIR_P=$MKDIR_P |
||
4526 | case $MKDIR_P in |
||
4527 | [\\/$]* | ?:[\\/]* ) ;; |
||
4528 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
||
4529 | esac |
||
4530 | _ACEOF |
||
4531 | |||
4532 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
4533 | # If the template does not know about datarootdir, expand it. |
||
4534 | # FIXME: This hack should be removed a few years after 2.60. |
||
4535 | ac_datarootdir_hack=; ac_datarootdir_seen= |
||
4536 | ac_sed_dataroot=' |
||
4537 | /datarootdir/ { |
||
4538 | p |
||
4539 | q |
||
4540 | } |
||
4541 | /@datadir@/p |
||
4542 | /@docdir@/p |
||
4543 | /@infodir@/p |
||
4544 | /@localedir@/p |
||
4545 | /@mandir@/p' |
||
4546 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
||
4547 | *datarootdir*) ac_datarootdir_seen=yes;; |
||
4548 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
||
4549 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
||
4550 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
||
4551 | _ACEOF |
||
4552 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
4553 | ac_datarootdir_hack=' |
||
4554 | s&@datadir@&$datadir&g |
||
4555 | s&@docdir@&$docdir&g |
||
4556 | s&@infodir@&$infodir&g |
||
4557 | s&@localedir@&$localedir&g |
||
4558 | s&@mandir@&$mandir&g |
||
4559 | s&\\\${datarootdir}&$datarootdir&g' ;; |
||
4560 | esac |
||
4561 | _ACEOF |
||
4562 | |||
4563 | # Neutralize VPATH when `$srcdir' = `.'. |
||
4564 | # Shell code in configure.ac might set extrasub. |
||
4565 | # FIXME: do we really want to maintain this feature? |
||
4566 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
||
4567 | ac_sed_extra="$ac_vpsub |
||
4568 | $extrasub |
||
4569 | _ACEOF |
||
4570 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
||
4571 | :t |
||
4572 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
||
4573 | s|@configure_input@|$ac_sed_conf_input|;t t |
||
4574 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
||
4575 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
||
4576 | s&@srcdir@&$ac_srcdir&;t t |
||
4577 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
||
4578 | s&@top_srcdir@&$ac_top_srcdir&;t t |
||
4579 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
||
4580 | s&@builddir@&$ac_builddir&;t t |
||
4581 | s&@abs_builddir@&$ac_abs_builddir&;t t |
||
4582 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
||
4583 | s&@INSTALL@&$ac_INSTALL&;t t |
||
4584 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
||
4585 | $ac_datarootdir_hack |
||
4586 | " |
||
4587 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
||
4588 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
||
4589 | |||
4590 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
||
4591 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
||
4592 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
||
4593 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
||
4594 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
||
4595 | which seems to be undefined. Please make sure it is defined" >&5 |
||
4596 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
||
4597 | which seems to be undefined. Please make sure it is defined" >&2;} |
||
4598 | |||
4599 | rm -f "$ac_tmp/stdin" |
||
4600 | case $ac_file in |
||
4601 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
||
4602 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
||
4603 | esac \ |
||
4604 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
||
4605 | ;; |
||
4606 | |||
4607 | |||
4608 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
||
4609 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
||
4610 | ;; |
||
4611 | esac |
||
4612 | |||
4613 | |||
4614 | case $ac_file$ac_mode in |
||
4615 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
||
4616 | # Older Autoconf quotes --file arguments for eval, but not when files |
||
4617 | # are listed without --file. Let's play safe and only enable the eval |
||
4618 | # if we detect the quoting. |
||
4619 | case $CONFIG_FILES in |
||
4620 | *\'*) eval set x "$CONFIG_FILES" ;; |
||
4621 | *) set x $CONFIG_FILES ;; |
||
4622 | esac |
||
4623 | shift |
||
4624 | for mf |
||
4625 | do |
||
4626 | # Strip MF so we end up with the name of the file. |
||
4627 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
||
4628 | # Check whether this is an Automake generated Makefile or not. |
||
4629 | # We used to match only the files named 'Makefile.in', but |
||
4630 | # some people rename them; so instead we look at the file content. |
||
4631 | # Grep'ing the first line is not enough: some people post-process |
||
4632 | # each Makefile.in and add a new line on top of each file to say so. |
||
4633 | # Grep'ing the whole file is not good either: AIX grep has a line |
||
4634 | # limit of 2048, but all sed's we know have understand at least 4000. |
||
4635 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
||
4636 | dirpart=`$as_dirname -- "$mf" || |
||
4637 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
4638 | X"$mf" : 'X\(//\)[^/]' \| \ |
||
4639 | X"$mf" : 'X\(//\)$' \| \ |
||
4640 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
||
4641 | $as_echo X"$mf" | |
||
4642 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
||
4643 | s//\1/ |
||
4644 | q |
||
4645 | } |
||
4646 | /^X\(\/\/\)[^/].*/{ |
||
4647 | s//\1/ |
||
4648 | q |
||
4649 | } |
||
4650 | /^X\(\/\/\)$/{ |
||
4651 | s//\1/ |
||
4652 | q |
||
4653 | } |
||
4654 | /^X\(\/\).*/{ |
||
4655 | s//\1/ |
||
4656 | q |
||
4657 | } |
||
4658 | s/.*/./; q'` |
||
4659 | else |
||
4660 | continue |
||
4661 | fi |
||
4662 | # Extract the definition of DEPDIR, am__include, and am__quote |
||
4663 | # from the Makefile without running 'make'. |
||
4664 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
||
4665 | test -z "$DEPDIR" && continue |
||
4666 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
||
4667 | test -z "$am__include" && continue |
||
4668 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
||
4669 | # Find all dependency output files, they are included files with |
||
4670 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
||
4671 | # simplest approach to changing $(DEPDIR) to its actual value in the |
||
4672 | # expansion. |
||
4673 | for file in `sed -n " |
||
4674 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
||
4675 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
||
4676 | # Make sure the directory exists. |
||
4677 | test -f "$dirpart/$file" && continue |
||
4678 | fdir=`$as_dirname -- "$file" || |
||
4679 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
||
4680 | X"$file" : 'X\(//\)[^/]' \| \ |
||
4681 | X"$file" : 'X\(//\)$' \| \ |
||
4682 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
||
4683 | $as_echo X"$file" | |
||
4684 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
||
4685 | s//\1/ |
||
4686 | q |
||
4687 | } |
||
4688 | /^X\(\/\/\)[^/].*/{ |
||
4689 | s//\1/ |
||
4690 | q |
||
4691 | } |
||
4692 | /^X\(\/\/\)$/{ |
||
4693 | s//\1/ |
||
4694 | q |
||
4695 | } |
||
4696 | /^X\(\/\).*/{ |
||
4697 | s//\1/ |
||
4698 | q |
||
4699 | } |
||
4700 | s/.*/./; q'` |
||
4701 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
||
4702 | # echo "creating $dirpart/$file" |
||
4703 | echo '# dummy' > "$dirpart/$file" |
||
4704 | done |
||
4705 | done |
||
4706 | } |
||
4707 | ;; |
||
4708 | |||
4709 | esac |
||
4710 | done # for ac_tag |
||
4711 | |||
4712 | |||
4713 | as_fn_exit 0 |
||
4714 | _ACEOF |
||
4715 | ac_clean_files=$ac_clean_files_save |
||
4716 | |||
4717 | test $ac_write_fail = 0 || |
||
4718 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
||
4719 | |||
4720 | |||
4721 | # configure is writing to config.log, and then calls config.status. |
||
4722 | # config.status does its own redirection, appending to config.log. |
||
4723 | # Unfortunately, on DOS this fails, as config.log is still kept open |
||
4724 | # by configure, so config.status won't be able to write to it; its |
||
4725 | # output is simply discarded. So we exec the FD to /dev/null, |
||
4726 | # effectively closing config.log, so it can be properly (re)opened and |
||
4727 | # appended to by config.status. When coming back to configure, we |
||
4728 | # need to make the FD available again. |
||
4729 | if test "$no_create" != yes; then |
||
4730 | ac_cs_success=: |
||
4731 | ac_config_status_args= |
||
4732 | test "$silent" = yes && |
||
4733 | ac_config_status_args="$ac_config_status_args --quiet" |
||
4734 | exec 5>/dev/null |
||
4735 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
||
4736 | exec 5>>config.log |
||
4737 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
||
4738 | # would make configure fail if this is the last instruction. |
||
4739 | $ac_cs_success || as_fn_exit 1 |
||
4740 | fi |
||
4741 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
||
4742 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
||
4743 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
||
4744 | fi |
||
4745 |