"Fossies" - the Fresh Open Source Software Archive 
Member "plptools-1.0.15/configure" (31 Oct 2019, 788625 Bytes) of package /linux/privat/plptools-1.0.15.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "configure":
1.0.14_vs_1.0.15.
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for plptools 1.0.15.
4 #
5 # Report bugs to <plptools-developers@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
202
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if test "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: plptools-developers@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282 fi
283 exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301 { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310 return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318 set +e
319 as_fn_set_status $1
320 exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329 case $as_dir in #(
330 -*) as_dir=./$as_dir;;
331 esac
332 test -d "$as_dir" || eval $as_mkdir_p || {
333 as_dirs=
334 while :; do
335 case $as_dir in #(
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337 *) as_qdir=$as_dir;;
338 esac
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)[^/].*/{
351 s//\1/
352 q
353 }
354 /^X\(\/\/\)$/{
355 s//\1/
356 q
357 }
358 /^X\(\/\).*/{
359 s//\1/
360 q
361 }
362 s/.*/./; q'`
363 test -d "$as_dir" && break
364 done
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
386 {
387 eval $1+=\$2
388 }'
389 else
390 as_fn_append ()
391 {
392 eval $1=\$$1\$2
393 }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421 as_status=$1; test $as_status -eq 0 && as_status=1
422 if test "$4"; then
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 fi
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
432 as_expr=expr
433 else
434 as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438 as_basename=basename
439 else
440 as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444 as_dirname=dirname
445 else
446 as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\/\)$/{
459 s//\1/
460 q
461 }
462 /^X\/\(\/\).*/{
463 s//\1/
464 q
465 }
466 s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 sed -n '
482 p
483 /[$]LINENO/=
484 ' <$as_myself |
485 sed '
486 s/[$]LINENO.*/&-/
487 t lineno
488 b
489 :lineno
490 N
491 :loop
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 t loop
494 s/-\n.*//
495 ' >$as_me.lineno &&
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
506 . "./$as_me.lineno"
507 # Exit status is that of the last command.
508 exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
516 xy) ECHO_C='\c';;
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
518 ECHO_T=' ';;
519 esac;;
520 *)
521 ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
527 else
528 rm -f conf$$.dir
529 mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s='ln -s'
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539 as_ln_s='cp -pR'
540 elif ln conf$$.file conf$$ 2>/dev/null; then
541 as_ln_s=ln
542 else
543 as_ln_s='cp -pR'
544 fi
545 else
546 as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
553 else
554 test -d ./-p && rmdir ./-p
555 as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='plptools'
592 PACKAGE_TARNAME='plptools'
593 PACKAGE_VERSION='1.0.15'
594 PACKAGE_STRING='plptools 1.0.15'
595 PACKAGE_BUGREPORT='plptools-developers@lists.sourceforge.net'
596 PACKAGE_URL=''
597
598 # Factoring default headers for most tests.
599 ac_includes_default="\
600 #include <stdio.h>
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
603 #endif
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
606 #endif
607 #ifdef STDC_HEADERS
608 # include <stdlib.h>
609 # include <stddef.h>
610 #else
611 # ifdef HAVE_STDLIB_H
612 # include <stdlib.h>
613 # endif
614 #endif
615 #ifdef HAVE_STRING_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617 # include <memory.h>
618 # endif
619 # include <string.h>
620 #endif
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_UNISTD_H
631 # include <unistd.h>
632 #endif"
633
634 gt_needs=
635 ac_header_list=
636 gl_use_threads_default=
637 ac_func_list=
638 ac_subst_vars='am__EXEEXT_FALSE
639 am__EXEEXT_TRUE
640 LTLIBOBJS
641 LIBOBJS
642 LIB_PLP
643 initdir
644 DPORT
645 DSNAME
646 DSPEED
647 DDEV
648 BUILD_PLPFUSE_FALSE
649 BUILD_PLPFUSE_TRUE
650 FUSE_LIBS
651 FUSE_CFLAGS
652 PKG_CONFIG_LIBDIR
653 PKG_CONFIG_PATH
654 PKG_CONFIG
655 LIBHISTORY
656 LIBREADLINE
657 POSUB
658 LTLIBINTL
659 LIBINTL
660 INTLLIBS
661 INTL_LIBTOOL_SUFFIX_PREFIX
662 INTLOBJS
663 GENCAT
664 INSTOBJEXT
665 DATADIRNAME
666 CATOBJEXT
667 USE_INCLUDED_LIBINTL
668 BUILD_INCLUDED_LIBINTL
669 LTLIBC
670 WINDRES
671 WOE32
672 WOE32DLL
673 HAVE_WPRINTF
674 HAVE_NEWLOCALE
675 HAVE_SNPRINTF
676 HAVE_ASPRINTF
677 HAVE_POSIX_PRINTF
678 INTL_DEFAULT_VERBOSITY
679 INTL_MACOSX_LIBS
680 GLIBC21
681 INTLBISON
682 LTLIBICONV
683 LIBICONV
684 LTLIBMULTITHREAD
685 LIBMULTITHREAD
686 LTLIBTHREAD
687 LIBTHREAD
688 LIBPTH_PREFIX
689 LTLIBPTH
690 LIBPTH
691 PRI_MACROS_BROKEN
692 ALLOCA
693 HAVE_VISIBILITY
694 CFLAG_VISIBILITY
695 GLIBC2
696 XGETTEXT_EXTRA_OPTIONS
697 MSGMERGE
698 XGETTEXT_015
699 XGETTEXT
700 GMSGFMT_015
701 MSGFMT_015
702 GMSGFMT
703 MSGFMT
704 GETTEXT_MACRO_VERSION
705 USE_NLS
706 CXXCPP
707 am__fastdepCXX_FALSE
708 am__fastdepCXX_TRUE
709 CXXDEPMODE
710 ac_ct_CXX
711 CXXFLAGS
712 CXX
713 LT_SYS_LIBRARY_PATH
714 OTOOL64
715 OTOOL
716 LIPO
717 NMEDIT
718 DSYMUTIL
719 MANIFEST_TOOL
720 RANLIB
721 ac_ct_AR
722 AR
723 DLLTOOL
724 OBJDUMP
725 LN_S
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 SED
732 LIBTOOL
733 EGREP
734 GREP
735 CPP
736 am__fastdepCC_FALSE
737 am__fastdepCC_TRUE
738 CCDEPMODE
739 am__nodep
740 AMDEPBACKSLASH
741 AMDEP_FALSE
742 AMDEP_TRUE
743 am__quote
744 am__include
745 DEPDIR
746 OBJEXT
747 EXEEXT
748 ac_ct_CC
749 CPPFLAGS
750 LDFLAGS
751 CFLAGS
752 CC
753 AM_BACKSLASH
754 AM_DEFAULT_VERBOSITY
755 AM_DEFAULT_V
756 AM_V
757 am__untar
758 am__tar
759 AMTAR
760 am__leading_dot
761 SET_MAKE
762 AWK
763 mkdir_p
764 MKDIR_P
765 INSTALL_STRIP_PROGRAM
766 STRIP
767 install_sh
768 MAKEINFO
769 AUTOHEADER
770 AUTOMAKE
771 AUTOCONF
772 ACLOCAL
773 VERSION
774 PACKAGE
775 CYGPATH_W
776 am__isrc
777 INSTALL_DATA
778 INSTALL_SCRIPT
779 INSTALL_PROGRAM
780 target_os
781 target_vendor
782 target_cpu
783 target
784 host_os
785 host_vendor
786 host_cpu
787 host
788 build_os
789 build_vendor
790 build_cpu
791 build
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 runstatedir
812 localstatedir
813 sharedstatedir
814 sysconfdir
815 datadir
816 datarootdir
817 libexecdir
818 sbindir
819 bindir
820 program_transform_name
821 prefix
822 exec_prefix
823 PACKAGE_URL
824 PACKAGE_BUGREPORT
825 PACKAGE_STRING
826 PACKAGE_VERSION
827 PACKAGE_TARNAME
828 PACKAGE_NAME
829 PATH_SEPARATOR
830 SHELL'
831 ac_subst_files=''
832 ac_user_opts='
833 enable_option_checking
834 enable_silent_rules
835 enable_dependency_tracking
836 enable_shared
837 enable_static
838 with_pic
839 enable_fast_install
840 with_aix_soname
841 with_gnu_ld
842 with_sysroot
843 enable_libtool_lock
844 enable_debug
845 enable_nls
846 enable_threads
847 enable_rpath
848 with_libpth_prefix
849 with_libiconv_prefix
850 with_included_gettext
851 with_libintl_prefix
852 enable_largefile
853 enable_readline
854 enable_history
855 with_serial
856 with_speed
857 with_port
858 with_drive
859 with_basedir
860 with_initdir
861 '
862 ac_precious_vars='build_alias
863 host_alias
864 target_alias
865 CC
866 CFLAGS
867 LDFLAGS
868 LIBS
869 CPPFLAGS
870 CPP
871 LT_SYS_LIBRARY_PATH
872 CXX
873 CXXFLAGS
874 CCC
875 CXXCPP
876 PKG_CONFIG
877 PKG_CONFIG_PATH
878 PKG_CONFIG_LIBDIR
879 FUSE_CFLAGS
880 FUSE_LIBS'
881
882
883 # Initialize some variables set by options.
884 ac_init_help=
885 ac_init_version=false
886 ac_unrecognized_opts=
887 ac_unrecognized_sep=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
890 cache_file=/dev/null
891 exec_prefix=NONE
892 no_create=
893 no_recursion=
894 prefix=NONE
895 program_prefix=NONE
896 program_suffix=NONE
897 program_transform_name=s,x,x,
898 silent=
899 site=
900 srcdir=
901 verbose=
902 x_includes=NONE
903 x_libraries=NONE
904
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir='${exec_prefix}/bin'
912 sbindir='${exec_prefix}/sbin'
913 libexecdir='${exec_prefix}/libexec'
914 datarootdir='${prefix}/share'
915 datadir='${datarootdir}'
916 sysconfdir='${prefix}/etc'
917 sharedstatedir='${prefix}/com'
918 localstatedir='${prefix}/var'
919 runstatedir='${localstatedir}/run'
920 includedir='${prefix}/include'
921 oldincludedir='/usr/include'
922 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
923 infodir='${datarootdir}/info'
924 htmldir='${docdir}'
925 dvidir='${docdir}'
926 pdfdir='${docdir}'
927 psdir='${docdir}'
928 libdir='${exec_prefix}/lib'
929 localedir='${datarootdir}/locale'
930 mandir='${datarootdir}/man'
931
932 ac_prev=
933 ac_dashdash=
934 for ac_option
935 do
936 # If the previous option needs an argument, assign it.
937 if test -n "$ac_prev"; then
938 eval $ac_prev=\$ac_option
939 ac_prev=
940 continue
941 fi
942
943 case $ac_option in
944 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
945 *=) ac_optarg= ;;
946 *) ac_optarg=yes ;;
947 esac
948
949 # Accept the important Cygnus configure options, so we can diagnose typos.
950
951 case $ac_dashdash$ac_option in
952 --)
953 ac_dashdash=yes ;;
954
955 -bindir | --bindir | --bindi | --bind | --bin | --bi)
956 ac_prev=bindir ;;
957 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
958 bindir=$ac_optarg ;;
959
960 -build | --build | --buil | --bui | --bu)
961 ac_prev=build_alias ;;
962 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
963 build_alias=$ac_optarg ;;
964
965 -cache-file | --cache-file | --cache-fil | --cache-fi \
966 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
967 ac_prev=cache_file ;;
968 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
969 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
970 cache_file=$ac_optarg ;;
971
972 --config-cache | -C)
973 cache_file=config.cache ;;
974
975 -datadir | --datadir | --datadi | --datad)
976 ac_prev=datadir ;;
977 -datadir=* | --datadir=* | --datadi=* | --datad=*)
978 datadir=$ac_optarg ;;
979
980 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
981 | --dataroo | --dataro | --datar)
982 ac_prev=datarootdir ;;
983 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
984 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
985 datarootdir=$ac_optarg ;;
986
987 -disable-* | --disable-*)
988 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991 as_fn_error $? "invalid feature name: $ac_useropt"
992 ac_useropt_orig=$ac_useropt
993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
995 *"
996 "enable_$ac_useropt"
997 "*) ;;
998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
999 ac_unrecognized_sep=', ';;
1000 esac
1001 eval enable_$ac_useropt=no ;;
1002
1003 -docdir | --docdir | --docdi | --doc | --do)
1004 ac_prev=docdir ;;
1005 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1006 docdir=$ac_optarg ;;
1007
1008 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1009 ac_prev=dvidir ;;
1010 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1011 dvidir=$ac_optarg ;;
1012
1013 -enable-* | --enable-*)
1014 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017 as_fn_error $? "invalid feature name: $ac_useropt"
1018 ac_useropt_orig=$ac_useropt
1019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1021 *"
1022 "enable_$ac_useropt"
1023 "*) ;;
1024 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1025 ac_unrecognized_sep=', ';;
1026 esac
1027 eval enable_$ac_useropt=\$ac_optarg ;;
1028
1029 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1030 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1031 | --exec | --exe | --ex)
1032 ac_prev=exec_prefix ;;
1033 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1034 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1035 | --exec=* | --exe=* | --ex=*)
1036 exec_prefix=$ac_optarg ;;
1037
1038 -gas | --gas | --ga | --g)
1039 # Obsolete; use --with-gas.
1040 with_gas=yes ;;
1041
1042 -help | --help | --hel | --he | -h)
1043 ac_init_help=long ;;
1044 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1045 ac_init_help=recursive ;;
1046 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1047 ac_init_help=short ;;
1048
1049 -host | --host | --hos | --ho)
1050 ac_prev=host_alias ;;
1051 -host=* | --host=* | --hos=* | --ho=*)
1052 host_alias=$ac_optarg ;;
1053
1054 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1055 ac_prev=htmldir ;;
1056 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1057 | --ht=*)
1058 htmldir=$ac_optarg ;;
1059
1060 -includedir | --includedir | --includedi | --included | --include \
1061 | --includ | --inclu | --incl | --inc)
1062 ac_prev=includedir ;;
1063 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1064 | --includ=* | --inclu=* | --incl=* | --inc=*)
1065 includedir=$ac_optarg ;;
1066
1067 -infodir | --infodir | --infodi | --infod | --info | --inf)
1068 ac_prev=infodir ;;
1069 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1070 infodir=$ac_optarg ;;
1071
1072 -libdir | --libdir | --libdi | --libd)
1073 ac_prev=libdir ;;
1074 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1075 libdir=$ac_optarg ;;
1076
1077 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1078 | --libexe | --libex | --libe)
1079 ac_prev=libexecdir ;;
1080 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1081 | --libexe=* | --libex=* | --libe=*)
1082 libexecdir=$ac_optarg ;;
1083
1084 -localedir | --localedir | --localedi | --localed | --locale)
1085 ac_prev=localedir ;;
1086 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1087 localedir=$ac_optarg ;;
1088
1089 -localstatedir | --localstatedir | --localstatedi | --localstated \
1090 | --localstate | --localstat | --localsta | --localst | --locals)
1091 ac_prev=localstatedir ;;
1092 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1093 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1094 localstatedir=$ac_optarg ;;
1095
1096 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1097 ac_prev=mandir ;;
1098 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1099 mandir=$ac_optarg ;;
1100
1101 -nfp | --nfp | --nf)
1102 # Obsolete; use --without-fp.
1103 with_fp=no ;;
1104
1105 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1106 | --no-cr | --no-c | -n)
1107 no_create=yes ;;
1108
1109 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1110 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1111 no_recursion=yes ;;
1112
1113 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1114 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1115 | --oldin | --oldi | --old | --ol | --o)
1116 ac_prev=oldincludedir ;;
1117 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1118 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1119 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1120 oldincludedir=$ac_optarg ;;
1121
1122 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1123 ac_prev=prefix ;;
1124 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1125 prefix=$ac_optarg ;;
1126
1127 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1128 | --program-pre | --program-pr | --program-p)
1129 ac_prev=program_prefix ;;
1130 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1131 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1132 program_prefix=$ac_optarg ;;
1133
1134 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1135 | --program-suf | --program-su | --program-s)
1136 ac_prev=program_suffix ;;
1137 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1138 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1139 program_suffix=$ac_optarg ;;
1140
1141 -program-transform-name | --program-transform-name \
1142 | --program-transform-nam | --program-transform-na \
1143 | --program-transform-n | --program-transform- \
1144 | --program-transform | --program-transfor \
1145 | --program-transfo | --program-transf \
1146 | --program-trans | --program-tran \
1147 | --progr-tra | --program-tr | --program-t)
1148 ac_prev=program_transform_name ;;
1149 -program-transform-name=* | --program-transform-name=* \
1150 | --program-transform-nam=* | --program-transform-na=* \
1151 | --program-transform-n=* | --program-transform-=* \
1152 | --program-transform=* | --program-transfor=* \
1153 | --program-transfo=* | --program-transf=* \
1154 | --program-trans=* | --program-tran=* \
1155 | --progr-tra=* | --program-tr=* | --program-t=*)
1156 program_transform_name=$ac_optarg ;;
1157
1158 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1159 ac_prev=pdfdir ;;
1160 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1161 pdfdir=$ac_optarg ;;
1162
1163 -psdir | --psdir | --psdi | --psd | --ps)
1164 ac_prev=psdir ;;
1165 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1166 psdir=$ac_optarg ;;
1167
1168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1169 | -silent | --silent | --silen | --sile | --sil)
1170 silent=yes ;;
1171
1172 -runstatedir | --runstatedir | --runstatedi | --runstated \
1173 | --runstate | --runstat | --runsta | --runst | --runs \
1174 | --run | --ru | --r)
1175 ac_prev=runstatedir ;;
1176 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1177 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1178 | --run=* | --ru=* | --r=*)
1179 runstatedir=$ac_optarg ;;
1180
1181 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1182 ac_prev=sbindir ;;
1183 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1184 | --sbi=* | --sb=*)
1185 sbindir=$ac_optarg ;;
1186
1187 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1188 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1189 | --sharedst | --shareds | --shared | --share | --shar \
1190 | --sha | --sh)
1191 ac_prev=sharedstatedir ;;
1192 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1193 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1194 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1195 | --sha=* | --sh=*)
1196 sharedstatedir=$ac_optarg ;;
1197
1198 -site | --site | --sit)
1199 ac_prev=site ;;
1200 -site=* | --site=* | --sit=*)
1201 site=$ac_optarg ;;
1202
1203 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1204 ac_prev=srcdir ;;
1205 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1206 srcdir=$ac_optarg ;;
1207
1208 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1209 | --syscon | --sysco | --sysc | --sys | --sy)
1210 ac_prev=sysconfdir ;;
1211 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1212 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1213 sysconfdir=$ac_optarg ;;
1214
1215 -target | --target | --targe | --targ | --tar | --ta | --t)
1216 ac_prev=target_alias ;;
1217 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1218 target_alias=$ac_optarg ;;
1219
1220 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1221 verbose=yes ;;
1222
1223 -version | --version | --versio | --versi | --vers | -V)
1224 ac_init_version=: ;;
1225
1226 -with-* | --with-*)
1227 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1230 as_fn_error $? "invalid package name: $ac_useropt"
1231 ac_useropt_orig=$ac_useropt
1232 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233 case $ac_user_opts in
1234 *"
1235 "with_$ac_useropt"
1236 "*) ;;
1237 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1238 ac_unrecognized_sep=', ';;
1239 esac
1240 eval with_$ac_useropt=\$ac_optarg ;;
1241
1242 -without-* | --without-*)
1243 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246 as_fn_error $? "invalid package name: $ac_useropt"
1247 ac_useropt_orig=$ac_useropt
1248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1250 *"
1251 "with_$ac_useropt"
1252 "*) ;;
1253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1254 ac_unrecognized_sep=', ';;
1255 esac
1256 eval with_$ac_useropt=no ;;
1257
1258 --x)
1259 # Obsolete; use --with-x.
1260 with_x=yes ;;
1261
1262 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1263 | --x-incl | --x-inc | --x-in | --x-i)
1264 ac_prev=x_includes ;;
1265 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1266 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1267 x_includes=$ac_optarg ;;
1268
1269 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1270 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1271 ac_prev=x_libraries ;;
1272 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1273 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1274 x_libraries=$ac_optarg ;;
1275
1276 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1277 Try \`$0 --help' for more information"
1278 ;;
1279
1280 *=*)
1281 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1282 # Reject names that are not valid shell variable names.
1283 case $ac_envvar in #(
1284 '' | [0-9]* | *[!_$as_cr_alnum]* )
1285 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1286 esac
1287 eval $ac_envvar=\$ac_optarg
1288 export $ac_envvar ;;
1289
1290 *)
1291 # FIXME: should be removed in autoconf 3.0.
1292 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1296 ;;
1297
1298 esac
1299 done
1300
1301 if test -n "$ac_prev"; then
1302 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1303 as_fn_error $? "missing argument to $ac_option"
1304 fi
1305
1306 if test -n "$ac_unrecognized_opts"; then
1307 case $enable_option_checking in
1308 no) ;;
1309 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1310 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311 esac
1312 fi
1313
1314 # Check all directory arguments for consistency.
1315 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1316 datadir sysconfdir sharedstatedir localstatedir includedir \
1317 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1318 libdir localedir mandir runstatedir
1319 do
1320 eval ac_val=\$$ac_var
1321 # Remove trailing slashes.
1322 case $ac_val in
1323 */ )
1324 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1325 eval $ac_var=\$ac_val;;
1326 esac
1327 # Be sure to have absolute directory names.
1328 case $ac_val in
1329 [\\/$]* | ?:[\\/]* ) continue;;
1330 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1331 esac
1332 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1333 done
1334
1335 # There might be people who depend on the old broken behavior: `$host'
1336 # used to hold the argument of --host etc.
1337 # FIXME: To remove some day.
1338 build=$build_alias
1339 host=$host_alias
1340 target=$target_alias
1341
1342 # FIXME: To remove some day.
1343 if test "x$host_alias" != x; then
1344 if test "x$build_alias" = x; then
1345 cross_compiling=maybe
1346 elif test "x$build_alias" != "x$host_alias"; then
1347 cross_compiling=yes
1348 fi
1349 fi
1350
1351 ac_tool_prefix=
1352 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1353
1354 test "$silent" = yes && exec 6>/dev/null
1355
1356
1357 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di=`ls -di .` &&
1359 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360 as_fn_error $? "working directory cannot be determined"
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 as_fn_error $? "pwd does not report name of working directory"
1363
1364
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted=yes
1368 # Try the directory containing this script, then the parent directory.
1369 ac_confdir=`$as_dirname -- "$as_myself" ||
1370 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 X"$as_myself" : 'X\(//\)[^/]' \| \
1372 X"$as_myself" : 'X\(//\)$' \| \
1373 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374 $as_echo X"$as_myself" |
1375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376 s//\1/
1377 q
1378 }
1379 /^X\(\/\/\)[^/].*/{
1380 s//\1/
1381 q
1382 }
1383 /^X\(\/\/\)$/{
1384 s//\1/
1385 q
1386 }
1387 /^X\(\/\).*/{
1388 s//\1/
1389 q
1390 }
1391 s/.*/./; q'`
1392 srcdir=$ac_confdir
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 srcdir=..
1395 fi
1396 else
1397 ac_srcdir_defaulted=no
1398 fi
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1402 fi
1403 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 ac_abs_confdir=`(
1405 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1406 pwd)`
1407 # When building in place, set srcdir=.
1408 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 srcdir=.
1410 fi
1411 # Remove unnecessary trailing slashes from srcdir.
1412 # Double slashes in file names in object file debugging info
1413 # mess up M-x gdb in Emacs.
1414 case $srcdir in
1415 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 esac
1417 for ac_var in $ac_precious_vars; do
1418 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_${ac_var}_value=\$${ac_var}
1420 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 done
1423
1424 #
1425 # Report the --help message.
1426 #
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1430 cat <<_ACEOF
1431 \`configure' configures plptools 1.0.15 to adapt to many kinds of systems.
1432
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1434
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1437
1438 Defaults for the options are specified in brackets.
1439
1440 Configuration:
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking ...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1450
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 [PREFIX]
1456
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1461
1462 For better control, use the options below.
1463
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1472 --libdir=DIR object code libraries [EPREFIX/lib]
1473 --includedir=DIR C header files [PREFIX/include]
1474 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1475 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1476 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1477 --infodir=DIR info documentation [DATAROOTDIR/info]
1478 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1479 --mandir=DIR man documentation [DATAROOTDIR/man]
1480 --docdir=DIR documentation root [DATAROOTDIR/doc/plptools]
1481 --htmldir=DIR html documentation [DOCDIR]
1482 --dvidir=DIR dvi documentation [DOCDIR]
1483 --pdfdir=DIR pdf documentation [DOCDIR]
1484 --psdir=DIR ps documentation [DOCDIR]
1485 _ACEOF
1486
1487 cat <<\_ACEOF
1488
1489 Program names:
1490 --program-prefix=PREFIX prepend PREFIX to installed program names
1491 --program-suffix=SUFFIX append SUFFIX to installed program names
1492 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1493
1494 System types:
1495 --build=BUILD configure for building on BUILD [guessed]
1496 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1497 --target=TARGET configure for building compilers for TARGET [HOST]
1498 _ACEOF
1499 fi
1500
1501 if test -n "$ac_init_help"; then
1502 case $ac_init_help in
1503 short | recursive ) echo "Configuration of plptools 1.0.15:";;
1504 esac
1505 cat <<\_ACEOF
1506
1507 Optional Features:
1508 --disable-option-checking ignore unrecognized --enable/--with options
1509 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1510 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1511 --enable-silent-rules less verbose build output (undo: "make V=1")
1512 --disable-silent-rules verbose build output (undo: "make V=0")
1513 --enable-dependency-tracking
1514 do not reject slow dependency extractors
1515 --disable-dependency-tracking
1516 speeds up one-time build
1517 --enable-shared[=PKGS] build shared libraries [default=yes]
1518 --enable-static[=PKGS] build static libraries [default=yes]
1519 --enable-fast-install[=PKGS]
1520 optimize for fast installation [default=yes]
1521 --disable-libtool-lock avoid locking (might break parallel builds)
1522 --enable-debug include debugging code
1523 --disable-nls do not use Native Language Support
1524 --enable-threads={posix|solaris|pth|windows}
1525 specify multithreading API
1526 --disable-threads build without multithread safety
1527 --disable-rpath do not hardcode runtime library paths
1528 --disable-largefile omit support for large files
1529 --disable-readline disable libreadline support no
1530 --disable-history disable libhistory support no
1531
1532 Optional Packages:
1533 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1534 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1535 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1536 both]
1537 --with-aix-soname=aix|svr4|both
1538 shared library versioning (aka "SONAME") variant to
1539 provide on AIX, [default=aix].
1540 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1541 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1542 compiler's sysroot if not specified).
1543 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1544 --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib
1545 --without-libpth-prefix don't search for libpth in includedir and libdir
1546 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1547 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1548 --with-included-gettext use the GNU gettext library included here
1549 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1550 --without-libintl-prefix don't search for libintl in includedir and libdir
1551 --with-serial=DEV override default serial line
1552 --with-speed=SPEED override default serial speed auto
1553 --with-port=PORT override default port 7501
1554 --with-drive=DRIVE override default EPOC drive AUTO
1555 --with-basedir=DIR override default EPOC directory \\\\
1556 --with-initdir=DIR override default init dir PREFIX/etc/rc.d/init.d
1557
1558 Some influential environment variables:
1559 CC C compiler command
1560 CFLAGS C compiler flags
1561 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1562 nonstandard directory <lib dir>
1563 LIBS libraries to pass to the linker, e.g. -l<library>
1564 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1565 you have headers in a nonstandard directory <include dir>
1566 CPP C preprocessor
1567 LT_SYS_LIBRARY_PATH
1568 User-defined run-time library search path.
1569 CXX C++ compiler command
1570 CXXFLAGS C++ compiler flags
1571 CXXCPP C++ preprocessor
1572 PKG_CONFIG path to pkg-config utility
1573 PKG_CONFIG_PATH
1574 directories to add to pkg-config's search path
1575 PKG_CONFIG_LIBDIR
1576 path overriding pkg-config's built-in search path
1577 FUSE_CFLAGS C compiler flags for FUSE, overriding pkg-config
1578 FUSE_LIBS linker flags for FUSE, overriding pkg-config
1579
1580 Use these variables to override the choices made by `configure' or to help
1581 it to find libraries and programs with nonstandard names/locations.
1582
1583 Report bugs to <plptools-developers@lists.sourceforge.net>.
1584 _ACEOF
1585 ac_status=$?
1586 fi
1587
1588 if test "$ac_init_help" = "recursive"; then
1589 # If there are subdirs, report their specific --help.
1590 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1591 test -d "$ac_dir" ||
1592 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1593 continue
1594 ac_builddir=.
1595
1596 case "$ac_dir" in
1597 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1598 *)
1599 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1600 # A ".." for each directory in $ac_dir_suffix.
1601 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1602 case $ac_top_builddir_sub in
1603 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1604 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1605 esac ;;
1606 esac
1607 ac_abs_top_builddir=$ac_pwd
1608 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1609 # for backward compatibility:
1610 ac_top_builddir=$ac_top_build_prefix
1611
1612 case $srcdir in
1613 .) # We are building in place.
1614 ac_srcdir=.
1615 ac_top_srcdir=$ac_top_builddir_sub
1616 ac_abs_top_srcdir=$ac_pwd ;;
1617 [\\/]* | ?:[\\/]* ) # Absolute name.
1618 ac_srcdir=$srcdir$ac_dir_suffix;
1619 ac_top_srcdir=$srcdir
1620 ac_abs_top_srcdir=$srcdir ;;
1621 *) # Relative name.
1622 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1623 ac_top_srcdir=$ac_top_build_prefix$srcdir
1624 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1625 esac
1626 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1627
1628 cd "$ac_dir" || { ac_status=$?; continue; }
1629 # Check for guested configure.
1630 if test -f "$ac_srcdir/configure.gnu"; then
1631 echo &&
1632 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1633 elif test -f "$ac_srcdir/configure"; then
1634 echo &&
1635 $SHELL "$ac_srcdir/configure" --help=recursive
1636 else
1637 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1638 fi || ac_status=$?
1639 cd "$ac_pwd" || { ac_status=$?; break; }
1640 done
1641 fi
1642
1643 test -n "$ac_init_help" && exit $ac_status
1644 if $ac_init_version; then
1645 cat <<\_ACEOF
1646 plptools configure 1.0.15
1647 generated by GNU Autoconf 2.69
1648
1649 Copyright (C) 2012 Free Software Foundation, Inc.
1650 This configure script is free software; the Free Software Foundation
1651 gives unlimited permission to copy, distribute and modify it.
1652 _ACEOF
1653 exit
1654 fi
1655
1656 ## ------------------------ ##
1657 ## Autoconf initialization. ##
1658 ## ------------------------ ##
1659
1660 # ac_fn_c_try_compile LINENO
1661 # --------------------------
1662 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1663 ac_fn_c_try_compile ()
1664 {
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 rm -f conftest.$ac_objext
1667 if { { ac_try="$ac_compile"
1668 case "(($ac_try" in
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1671 esac
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_compile") 2>conftest.err
1675 ac_status=$?
1676 if test -s conftest.err; then
1677 grep -v '^ *+' conftest.err >conftest.er1
1678 cat conftest.er1 >&5
1679 mv -f conftest.er1 conftest.err
1680 fi
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } && {
1683 test -z "$ac_c_werror_flag" ||
1684 test ! -s conftest.err
1685 } && test -s conftest.$ac_objext; then :
1686 ac_retval=0
1687 else
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1690
1691 ac_retval=1
1692 fi
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 as_fn_set_status $ac_retval
1695
1696 } # ac_fn_c_try_compile
1697
1698 # ac_fn_c_try_cpp LINENO
1699 # ----------------------
1700 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_cpp ()
1702 {
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 if { { ac_try="$ac_cpp conftest.$ac_ext"
1705 case "(($ac_try" in
1706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1707 *) ac_try_echo=$ac_try;;
1708 esac
1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1712 ac_status=$?
1713 if test -s conftest.err; then
1714 grep -v '^ *+' conftest.err >conftest.er1
1715 cat conftest.er1 >&5
1716 mv -f conftest.er1 conftest.err
1717 fi
1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; } > conftest.i && {
1720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1721 test ! -s conftest.err
1722 }; then :
1723 ac_retval=0
1724 else
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1727
1728 ac_retval=1
1729 fi
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 as_fn_set_status $ac_retval
1732
1733 } # ac_fn_c_try_cpp
1734
1735 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1738 # the include files in INCLUDES and setting the cache variable VAR
1739 # accordingly.
1740 ac_fn_c_check_header_mongrel ()
1741 {
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 if eval \${$3+:} false; then :
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if eval \${$3+:} false; then :
1747 $as_echo_n "(cached) " >&6
1748 fi
1749 eval ac_res=\$$3
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752 else
1753 # Is the header compilable?
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1755 $as_echo_n "checking $2 usability... " >&6; }
1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757 /* end confdefs.h. */
1758 $4
1759 #include <$2>
1760 _ACEOF
1761 if ac_fn_c_try_compile "$LINENO"; then :
1762 ac_header_compiler=yes
1763 else
1764 ac_header_compiler=no
1765 fi
1766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1768 $as_echo "$ac_header_compiler" >&6; }
1769
1770 # Is the header present?
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1772 $as_echo_n "checking $2 presence... " >&6; }
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1775 #include <$2>
1776 _ACEOF
1777 if ac_fn_c_try_cpp "$LINENO"; then :
1778 ac_header_preproc=yes
1779 else
1780 ac_header_preproc=no
1781 fi
1782 rm -f conftest.err conftest.i conftest.$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1784 $as_echo "$ac_header_preproc" >&6; }
1785
1786 # So? What about this header?
1787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1788 yes:no: )
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1790 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1792 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1793 ;;
1794 no:yes:* )
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1796 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1798 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1800 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1802 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1804 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1805 ( $as_echo "## -------------------------------------------------------- ##
1806 ## Report this to plptools-developers@lists.sourceforge.net ##
1807 ## -------------------------------------------------------- ##"
1808 ) | sed "s/^/$as_me: WARNING: /" >&2
1809 ;;
1810 esac
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \${$3+:} false; then :
1814 $as_echo_n "(cached) " >&6
1815 else
1816 eval "$3=\$ac_header_compiler"
1817 fi
1818 eval ac_res=\$$3
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 fi
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823
1824 } # ac_fn_c_check_header_mongrel
1825
1826 # ac_fn_c_try_run LINENO
1827 # ----------------------
1828 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1829 # that executables *can* be run.
1830 ac_fn_c_try_run ()
1831 {
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 if { { ac_try="$ac_link"
1834 case "(($ac_try" in
1835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836 *) ac_try_echo=$ac_try;;
1837 esac
1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840 (eval "$ac_link") 2>&5
1841 ac_status=$?
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1844 { { case "(($ac_try" in
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1847 esac
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_try") 2>&5
1851 ac_status=$?
1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853 test $ac_status = 0; }; }; then :
1854 ac_retval=0
1855 else
1856 $as_echo "$as_me: program exited with status $ac_status" >&5
1857 $as_echo "$as_me: failed program was:" >&5
1858 sed 's/^/| /' conftest.$ac_ext >&5
1859
1860 ac_retval=$ac_status
1861 fi
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 as_fn_set_status $ac_retval
1865
1866 } # ac_fn_c_try_run
1867
1868 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1869 # -------------------------------------------------------
1870 # Tests whether HEADER exists and can be compiled using the include files in
1871 # INCLUDES, setting the cache variable VAR accordingly.
1872 ac_fn_c_check_header_compile ()
1873 {
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if eval \${$3+:} false; then :
1878 $as_echo_n "(cached) " >&6
1879 else
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1882 $4
1883 #include <$2>
1884 _ACEOF
1885 if ac_fn_c_try_compile "$LINENO"; then :
1886 eval "$3=yes"
1887 else
1888 eval "$3=no"
1889 fi
1890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 fi
1892 eval ac_res=\$$3
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896
1897 } # ac_fn_c_check_header_compile
1898
1899 # ac_fn_c_try_link LINENO
1900 # -----------------------
1901 # Try to link conftest.$ac_ext, and return whether this succeeded.
1902 ac_fn_c_try_link ()
1903 {
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 rm -f conftest.$ac_objext conftest$ac_exeext
1906 if { { ac_try="$ac_link"
1907 case "(($ac_try" in
1908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1909 *) ac_try_echo=$ac_try;;
1910 esac
1911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912 $as_echo "$ac_try_echo"; } >&5
1913 (eval "$ac_link") 2>conftest.err
1914 ac_status=$?
1915 if test -s conftest.err; then
1916 grep -v '^ *+' conftest.err >conftest.er1
1917 cat conftest.er1 >&5
1918 mv -f conftest.er1 conftest.err
1919 fi
1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921 test $ac_status = 0; } && {
1922 test -z "$ac_c_werror_flag" ||
1923 test ! -s conftest.err
1924 } && test -s conftest$ac_exeext && {
1925 test "$cross_compiling" = yes ||
1926 test -x conftest$ac_exeext
1927 }; then :
1928 ac_retval=0
1929 else
1930 $as_echo "$as_me: failed program was:" >&5
1931 sed 's/^/| /' conftest.$ac_ext >&5
1932
1933 ac_retval=1
1934 fi
1935 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1936 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1937 # interfere with the next link command; also delete a directory that is
1938 # left behind by Apple's compiler. We do this before executing the actions.
1939 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 as_fn_set_status $ac_retval
1942
1943 } # ac_fn_c_try_link
1944
1945 # ac_fn_c_check_func LINENO FUNC VAR
1946 # ----------------------------------
1947 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1948 ac_fn_c_check_func ()
1949 {
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1955 else
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1958 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1960 #define $2 innocuous_$2
1961
1962 /* System header to define __stub macros and hopefully few prototypes,
1963 which can conflict with char $2 (); below.
1964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1965 <limits.h> exists even on freestanding compilers. */
1966
1967 #ifdef __STDC__
1968 # include <limits.h>
1969 #else
1970 # include <assert.h>
1971 #endif
1972
1973 #undef $2
1974
1975 /* Override any GCC internal prototype to avoid an error.
1976 Use char because int might match the return type of a GCC
1977 builtin and then its argument prototype would still apply. */
1978 #ifdef __cplusplus
1979 extern "C"
1980 #endif
1981 char $2 ();
1982 /* The GNU C library defines this for functions which it implements
1983 to always fail with ENOSYS. Some functions are actually named
1984 something starting with __ and the normal name is an alias. */
1985 #if defined __stub_$2 || defined __stub___$2
1986 choke me
1987 #endif
1988
1989 int
1990 main ()
1991 {
1992 return $2 ();
1993 ;
1994 return 0;
1995 }
1996 _ACEOF
1997 if ac_fn_c_try_link "$LINENO"; then :
1998 eval "$3=yes"
1999 else
2000 eval "$3=no"
2001 fi
2002 rm -f core conftest.err conftest.$ac_objext \
2003 conftest$ac_exeext conftest.$ac_ext
2004 fi
2005 eval ac_res=\$$3
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 $as_echo "$ac_res" >&6; }
2008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009
2010 } # ac_fn_c_check_func
2011
2012 # ac_fn_cxx_try_compile LINENO
2013 # ----------------------------
2014 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2015 ac_fn_cxx_try_compile ()
2016 {
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 rm -f conftest.$ac_objext
2019 if { { ac_try="$ac_compile"
2020 case "(($ac_try" in
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_compile") 2>conftest.err
2027 ac_status=$?
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2032 fi
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } && {
2035 test -z "$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 } && test -s conftest.$ac_objext; then :
2038 ac_retval=0
2039 else
2040 $as_echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.$ac_ext >&5
2042
2043 ac_retval=1
2044 fi
2045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046 as_fn_set_status $ac_retval
2047
2048 } # ac_fn_cxx_try_compile
2049
2050 # ac_fn_cxx_try_cpp LINENO
2051 # ------------------------
2052 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2053 ac_fn_cxx_try_cpp ()
2054 {
2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056 if { { ac_try="$ac_cpp conftest.$ac_ext"
2057 case "(($ac_try" in
2058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2059 *) ac_try_echo=$ac_try;;
2060 esac
2061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2062 $as_echo "$ac_try_echo"; } >&5
2063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2064 ac_status=$?
2065 if test -s conftest.err; then
2066 grep -v '^ *+' conftest.err >conftest.er1
2067 cat conftest.er1 >&5
2068 mv -f conftest.er1 conftest.err
2069 fi
2070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2071 test $ac_status = 0; } > conftest.i && {
2072 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2073 test ! -s conftest.err
2074 }; then :
2075 ac_retval=0
2076 else
2077 $as_echo "$as_me: failed program was:" >&5
2078 sed 's/^/| /' conftest.$ac_ext >&5
2079
2080 ac_retval=1
2081 fi
2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083 as_fn_set_status $ac_retval
2084
2085 } # ac_fn_cxx_try_cpp
2086
2087 # ac_fn_cxx_try_link LINENO
2088 # -------------------------
2089 # Try to link conftest.$ac_ext, and return whether this succeeded.
2090 ac_fn_cxx_try_link ()
2091 {
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 rm -f conftest.$ac_objext conftest$ac_exeext
2094 if { { ac_try="$ac_link"
2095 case "(($ac_try" in
2096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2097 *) ac_try_echo=$ac_try;;
2098 esac
2099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2100 $as_echo "$ac_try_echo"; } >&5
2101 (eval "$ac_link") 2>conftest.err
2102 ac_status=$?
2103 if test -s conftest.err; then
2104 grep -v '^ *+' conftest.err >conftest.er1
2105 cat conftest.er1 >&5
2106 mv -f conftest.er1 conftest.err
2107 fi
2108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2109 test $ac_status = 0; } && {
2110 test -z "$ac_cxx_werror_flag" ||
2111 test ! -s conftest.err
2112 } && test -s conftest$ac_exeext && {
2113 test "$cross_compiling" = yes ||
2114 test -x conftest$ac_exeext
2115 }; then :
2116 ac_retval=0
2117 else
2118 $as_echo "$as_me: failed program was:" >&5
2119 sed 's/^/| /' conftest.$ac_ext >&5
2120
2121 ac_retval=1
2122 fi
2123 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2124 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2125 # interfere with the next link command; also delete a directory that is
2126 # left behind by Apple's compiler. We do this before executing the actions.
2127 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2129 as_fn_set_status $ac_retval
2130
2131 } # ac_fn_cxx_try_link
2132
2133 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2134 # -------------------------------------------
2135 # Tests whether TYPE exists after having included INCLUDES, setting cache
2136 # variable VAR accordingly.
2137 ac_fn_c_check_type ()
2138 {
2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2141 $as_echo_n "checking for $2... " >&6; }
2142 if eval \${$3+:} false; then :
2143 $as_echo_n "(cached) " >&6
2144 else
2145 eval "$3=no"
2146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147 /* end confdefs.h. */
2148 $4
2149 int
2150 main ()
2151 {
2152 if (sizeof ($2))
2153 return 0;
2154 ;
2155 return 0;
2156 }
2157 _ACEOF
2158 if ac_fn_c_try_compile "$LINENO"; then :
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2161 $4
2162 int
2163 main ()
2164 {
2165 if (sizeof (($2)))
2166 return 0;
2167 ;
2168 return 0;
2169 }
2170 _ACEOF
2171 if ac_fn_c_try_compile "$LINENO"; then :
2172
2173 else
2174 eval "$3=yes"
2175 fi
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 fi
2178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 fi
2180 eval ac_res=\$$3
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182 $as_echo "$ac_res" >&6; }
2183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2184
2185 } # ac_fn_c_check_type
2186
2187 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2188 # ---------------------------------------------
2189 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2190 # accordingly.
2191 ac_fn_c_check_decl ()
2192 {
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 as_decl_name=`echo $2|sed 's/ *(.*//'`
2195 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2197 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2198 if eval \${$3+:} false; then :
2199 $as_echo_n "(cached) " >&6
2200 else
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 $4
2204 int
2205 main ()
2206 {
2207 #ifndef $as_decl_name
2208 #ifdef __cplusplus
2209 (void) $as_decl_use;
2210 #else
2211 (void) $as_decl_name;
2212 #endif
2213 #endif
2214
2215 ;
2216 return 0;
2217 }
2218 _ACEOF
2219 if ac_fn_c_try_compile "$LINENO"; then :
2220 eval "$3=yes"
2221 else
2222 eval "$3=no"
2223 fi
2224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2225 fi
2226 eval ac_res=\$$3
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2228 $as_echo "$ac_res" >&6; }
2229 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2230
2231 } # ac_fn_c_check_decl
2232
2233 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2234 # --------------------------------------------
2235 # Tries to find the compile-time value of EXPR in a program that includes
2236 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 # computed
2238 ac_fn_c_compute_int ()
2239 {
2240 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241 if test "$cross_compiling" = yes; then
2242 # Depending upon the size, compute the lo and hi bounds.
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h. */
2245 $4
2246 int
2247 main ()
2248 {
2249 static int test_array [1 - 2 * !(($2) >= 0)];
2250 test_array [0] = 0;
2251 return test_array [0];
2252
2253 ;
2254 return 0;
2255 }
2256 _ACEOF
2257 if ac_fn_c_try_compile "$LINENO"; then :
2258 ac_lo=0 ac_mid=0
2259 while :; do
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2267 test_array [0] = 0;
2268 return test_array [0];
2269
2270 ;
2271 return 0;
2272 }
2273 _ACEOF
2274 if ac_fn_c_try_compile "$LINENO"; then :
2275 ac_hi=$ac_mid; break
2276 else
2277 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2278 if test $ac_lo -le $ac_mid; then
2279 ac_lo= ac_hi=
2280 break
2281 fi
2282 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2283 fi
2284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2285 done
2286 else
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2289 $4
2290 int
2291 main ()
2292 {
2293 static int test_array [1 - 2 * !(($2) < 0)];
2294 test_array [0] = 0;
2295 return test_array [0];
2296
2297 ;
2298 return 0;
2299 }
2300 _ACEOF
2301 if ac_fn_c_try_compile "$LINENO"; then :
2302 ac_hi=-1 ac_mid=-1
2303 while :; do
2304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2305 /* end confdefs.h. */
2306 $4
2307 int
2308 main ()
2309 {
2310 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2311 test_array [0] = 0;
2312 return test_array [0];
2313
2314 ;
2315 return 0;
2316 }
2317 _ACEOF
2318 if ac_fn_c_try_compile "$LINENO"; then :
2319 ac_lo=$ac_mid; break
2320 else
2321 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2322 if test $ac_mid -le $ac_hi; then
2323 ac_lo= ac_hi=
2324 break
2325 fi
2326 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2327 fi
2328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2329 done
2330 else
2331 ac_lo= ac_hi=
2332 fi
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 fi
2335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2336 # Binary search between lo and hi bounds.
2337 while test "x$ac_lo" != "x$ac_hi"; do
2338 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2341 $4
2342 int
2343 main ()
2344 {
2345 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2346 test_array [0] = 0;
2347 return test_array [0];
2348
2349 ;
2350 return 0;
2351 }
2352 _ACEOF
2353 if ac_fn_c_try_compile "$LINENO"; then :
2354 ac_hi=$ac_mid
2355 else
2356 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2357 fi
2358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 done
2360 case $ac_lo in #((
2361 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2362 '') ac_retval=1 ;;
2363 esac
2364 else
2365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2366 /* end confdefs.h. */
2367 $4
2368 static long int longval () { return $2; }
2369 static unsigned long int ulongval () { return $2; }
2370 #include <stdio.h>
2371 #include <stdlib.h>
2372 int
2373 main ()
2374 {
2375
2376 FILE *f = fopen ("conftest.val", "w");
2377 if (! f)
2378 return 1;
2379 if (($2) < 0)
2380 {
2381 long int i = longval ();
2382 if (i != ($2))
2383 return 1;
2384 fprintf (f, "%ld", i);
2385 }
2386 else
2387 {
2388 unsigned long int i = ulongval ();
2389 if (i != ($2))
2390 return 1;
2391 fprintf (f, "%lu", i);
2392 }
2393 /* Do not output a trailing newline, as this causes \r\n confusion
2394 on some platforms. */
2395 return ferror (f) || fclose (f) != 0;
2396
2397 ;
2398 return 0;
2399 }
2400 _ACEOF
2401 if ac_fn_c_try_run "$LINENO"; then :
2402 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2403 else
2404 ac_retval=1
2405 fi
2406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2407 conftest.$ac_objext conftest.beam conftest.$ac_ext
2408 rm -f conftest.val
2409
2410 fi
2411 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2412 as_fn_set_status $ac_retval
2413
2414 } # ac_fn_c_compute_int
2415 cat >config.log <<_ACEOF
2416 This file contains any messages produced by compilers while
2417 running configure, to aid debugging if configure makes a mistake.
2418
2419 It was created by plptools $as_me 1.0.15, which was
2420 generated by GNU Autoconf 2.69. Invocation command line was
2421
2422 $ $0 $@
2423
2424 _ACEOF
2425 exec 5>>config.log
2426 {
2427 cat <<_ASUNAME
2428 ## --------- ##
2429 ## Platform. ##
2430 ## --------- ##
2431
2432 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2433 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2434 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2435 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2436 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2437
2438 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2439 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2440
2441 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2442 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2443 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2444 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2445 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2446 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2447 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2448
2449 _ASUNAME
2450
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 for as_dir in $PATH
2453 do
2454 IFS=$as_save_IFS
2455 test -z "$as_dir" && as_dir=.
2456 $as_echo "PATH: $as_dir"
2457 done
2458 IFS=$as_save_IFS
2459
2460 } >&5
2461
2462 cat >&5 <<_ACEOF
2463
2464
2465 ## ----------- ##
2466 ## Core tests. ##
2467 ## ----------- ##
2468
2469 _ACEOF
2470
2471
2472 # Keep a trace of the command line.
2473 # Strip out --no-create and --no-recursion so they do not pile up.
2474 # Strip out --silent because we don't want to record it for future runs.
2475 # Also quote any args containing shell meta-characters.
2476 # Make two passes to allow for proper duplicate-argument suppression.
2477 ac_configure_args=
2478 ac_configure_args0=
2479 ac_configure_args1=
2480 ac_must_keep_next=false
2481 for ac_pass in 1 2
2482 do
2483 for ac_arg
2484 do
2485 case $ac_arg in
2486 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2487 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2488 | -silent | --silent | --silen | --sile | --sil)
2489 continue ;;
2490 *\'*)
2491 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2492 esac
2493 case $ac_pass in
2494 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2495 2)
2496 as_fn_append ac_configure_args1 " '$ac_arg'"
2497 if test $ac_must_keep_next = true; then
2498 ac_must_keep_next=false # Got value, back to normal.
2499 else
2500 case $ac_arg in
2501 *=* | --config-cache | -C | -disable-* | --disable-* \
2502 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2503 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2504 | -with-* | --with-* | -without-* | --without-* | --x)
2505 case "$ac_configure_args0 " in
2506 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2507 esac
2508 ;;
2509 -* ) ac_must_keep_next=true ;;
2510 esac
2511 fi
2512 as_fn_append ac_configure_args " '$ac_arg'"
2513 ;;
2514 esac
2515 done
2516 done
2517 { ac_configure_args0=; unset ac_configure_args0;}
2518 { ac_configure_args1=; unset ac_configure_args1;}
2519
2520 # When interrupted or exit'd, cleanup temporary files, and complete
2521 # config.log. We remove comments because anyway the quotes in there
2522 # would cause problems or look ugly.
2523 # WARNING: Use '\'' to represent an apostrophe within the trap.
2524 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2525 trap 'exit_status=$?
2526 # Save into config.log some information that might help in debugging.
2527 {
2528 echo
2529
2530 $as_echo "## ---------------- ##
2531 ## Cache variables. ##
2532 ## ---------------- ##"
2533 echo
2534 # The following way of writing the cache mishandles newlines in values,
2535 (
2536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2537 eval ac_val=\$$ac_var
2538 case $ac_val in #(
2539 *${as_nl}*)
2540 case $ac_var in #(
2541 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2542 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2543 esac
2544 case $ac_var in #(
2545 _ | IFS | as_nl) ;; #(
2546 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2547 *) { eval $ac_var=; unset $ac_var;} ;;
2548 esac ;;
2549 esac
2550 done
2551 (set) 2>&1 |
2552 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2553 *${as_nl}ac_space=\ *)
2554 sed -n \
2555 "s/'\''/'\''\\\\'\'''\''/g;
2556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2557 ;; #(
2558 *)
2559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2560 ;;
2561 esac |
2562 sort
2563 )
2564 echo
2565
2566 $as_echo "## ----------------- ##
2567 ## Output variables. ##
2568 ## ----------------- ##"
2569 echo
2570 for ac_var in $ac_subst_vars
2571 do
2572 eval ac_val=\$$ac_var
2573 case $ac_val in
2574 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2575 esac
2576 $as_echo "$ac_var='\''$ac_val'\''"
2577 done | sort
2578 echo
2579
2580 if test -n "$ac_subst_files"; then
2581 $as_echo "## ------------------- ##
2582 ## File substitutions. ##
2583 ## ------------------- ##"
2584 echo
2585 for ac_var in $ac_subst_files
2586 do
2587 eval ac_val=\$$ac_var
2588 case $ac_val in
2589 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2590 esac
2591 $as_echo "$ac_var='\''$ac_val'\''"
2592 done | sort
2593 echo
2594 fi
2595
2596 if test -s confdefs.h; then
2597 $as_echo "## ----------- ##
2598 ## confdefs.h. ##
2599 ## ----------- ##"
2600 echo
2601 cat confdefs.h
2602 echo
2603 fi
2604 test "$ac_signal" != 0 &&
2605 $as_echo "$as_me: caught signal $ac_signal"
2606 $as_echo "$as_me: exit $exit_status"
2607 } >&5
2608 rm -f core *.core core.conftest.* &&
2609 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2610 exit $exit_status
2611 ' 0
2612 for ac_signal in 1 2 13 15; do
2613 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2614 done
2615 ac_signal=0
2616
2617 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2618 rm -f -r conftest* confdefs.h
2619
2620 $as_echo "/* confdefs.h */" > confdefs.h
2621
2622 # Predefined preprocessor variables.
2623
2624 cat >>confdefs.h <<_ACEOF
2625 #define PACKAGE_NAME "$PACKAGE_NAME"
2626 _ACEOF
2627
2628 cat >>confdefs.h <<_ACEOF
2629 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2630 _ACEOF
2631
2632 cat >>confdefs.h <<_ACEOF
2633 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2634 _ACEOF
2635
2636 cat >>confdefs.h <<_ACEOF
2637 #define PACKAGE_STRING "$PACKAGE_STRING"
2638 _ACEOF
2639
2640 cat >>confdefs.h <<_ACEOF
2641 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2642 _ACEOF
2643
2644 cat >>confdefs.h <<_ACEOF
2645 #define PACKAGE_URL "$PACKAGE_URL"
2646 _ACEOF
2647
2648
2649 # Let the site file select an alternate cache file if it wants to.
2650 # Prefer an explicitly selected file to automatically selected ones.
2651 ac_site_file1=NONE
2652 ac_site_file2=NONE
2653 if test -n "$CONFIG_SITE"; then
2654 # We do not want a PATH search for config.site.
2655 case $CONFIG_SITE in #((
2656 -*) ac_site_file1=./$CONFIG_SITE;;
2657 */*) ac_site_file1=$CONFIG_SITE;;
2658 *) ac_site_file1=./$CONFIG_SITE;;
2659 esac
2660 elif test "x$prefix" != xNONE; then
2661 ac_site_file1=$prefix/share/config.site
2662 ac_site_file2=$prefix/etc/config.site
2663 else
2664 ac_site_file1=$ac_default_prefix/share/config.site
2665 ac_site_file2=$ac_default_prefix/etc/config.site
2666 fi
2667 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2668 do
2669 test "x$ac_site_file" = xNONE && continue
2670 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2672 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2673 sed 's/^/| /' "$ac_site_file" >&5
2674 . "$ac_site_file" \
2675 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2677 as_fn_error $? "failed to load site script $ac_site_file
2678 See \`config.log' for more details" "$LINENO" 5; }
2679 fi
2680 done
2681
2682 if test -r "$cache_file"; then
2683 # Some versions of bash will fail to source /dev/null (special files
2684 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2685 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2687 $as_echo "$as_me: loading cache $cache_file" >&6;}
2688 case $cache_file in
2689 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2690 *) . "./$cache_file";;
2691 esac
2692 fi
2693 else
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2695 $as_echo "$as_me: creating cache $cache_file" >&6;}
2696 >$cache_file
2697 fi
2698
2699 gt_needs="$gt_needs "
2700 as_fn_append ac_header_list " stdlib.h"
2701 as_fn_append ac_header_list " unistd.h"
2702 as_fn_append ac_header_list " sys/param.h"
2703 as_fn_append ac_func_list " symlink"
2704 # Check that the precious variables saved in the cache have kept the same
2705 # value.
2706 ac_cache_corrupted=false
2707 for ac_var in $ac_precious_vars; do
2708 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2709 eval ac_new_set=\$ac_env_${ac_var}_set
2710 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2711 eval ac_new_val=\$ac_env_${ac_var}_value
2712 case $ac_old_set,$ac_new_set in
2713 set,)
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2715 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2716 ac_cache_corrupted=: ;;
2717 ,set)
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2719 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2720 ac_cache_corrupted=: ;;
2721 ,);;
2722 *)
2723 if test "x$ac_old_val" != "x$ac_new_val"; then
2724 # differences in whitespace do not lead to failure.
2725 ac_old_val_w=`echo x $ac_old_val`
2726 ac_new_val_w=`echo x $ac_new_val`
2727 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2729 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2730 ac_cache_corrupted=:
2731 else
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2733 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2734 eval $ac_var=\$ac_old_val
2735 fi
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2737 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2739 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2740 fi;;
2741 esac
2742 # Pass precious variables to config.status.
2743 if test "$ac_new_set" = set; then
2744 case $ac_new_val in
2745 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2746 *) ac_arg=$ac_var=$ac_new_val ;;
2747 esac
2748 case " $ac_configure_args " in
2749 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2750 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2751 esac
2752 fi
2753 done
2754 if $ac_cache_corrupted; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2758 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2759 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2760 fi
2761 ## -------------------- ##
2762 ## Main body of script. ##
2763 ## -------------------- ##
2764
2765 ac_ext=c
2766 ac_cpp='$CPP $CPPFLAGS'
2767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2770
2771
2772 ac_aux_dir=
2773 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2774 if test -f "$ac_dir/install-sh"; then
2775 ac_aux_dir=$ac_dir
2776 ac_install_sh="$ac_aux_dir/install-sh -c"
2777 break
2778 elif test -f "$ac_dir/install.sh"; then
2779 ac_aux_dir=$ac_dir
2780 ac_install_sh="$ac_aux_dir/install.sh -c"
2781 break
2782 elif test -f "$ac_dir/shtool"; then
2783 ac_aux_dir=$ac_dir
2784 ac_install_sh="$ac_aux_dir/shtool install -c"
2785 break
2786 fi
2787 done
2788 if test -z "$ac_aux_dir"; then
2789 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2790 fi
2791
2792 # These three variables are undocumented and unsupported,
2793 # and are intended to be withdrawn in a future Autoconf release.
2794 # They can cause serious problems if a builder's source tree is in a directory
2795 # whose full name contains unusual characters.
2796 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2797 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2798 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2799
2800
2801 # Make sure we can run config.sub.
2802 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2803 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2804
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2806 $as_echo_n "checking build system type... " >&6; }
2807 if ${ac_cv_build+:} false; then :
2808 $as_echo_n "(cached) " >&6
2809 else
2810 ac_build_alias=$build_alias
2811 test "x$ac_build_alias" = x &&
2812 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2813 test "x$ac_build_alias" = x &&
2814 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2815 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2816 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2817
2818 fi
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2820 $as_echo "$ac_cv_build" >&6; }
2821 case $ac_cv_build in
2822 *-*-*) ;;
2823 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2824 esac
2825 build=$ac_cv_build
2826 ac_save_IFS=$IFS; IFS='-'
2827 set x $ac_cv_build
2828 shift
2829 build_cpu=$1
2830 build_vendor=$2
2831 shift; shift
2832 # Remember, the first character of IFS is used to create $*,
2833 # except with old shells:
2834 build_os=$*
2835 IFS=$ac_save_IFS
2836 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2837
2838
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2840 $as_echo_n "checking host system type... " >&6; }
2841 if ${ac_cv_host+:} false; then :
2842 $as_echo_n "(cached) " >&6
2843 else
2844 if test "x$host_alias" = x; then
2845 ac_cv_host=$ac_cv_build
2846 else
2847 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2848 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2849 fi
2850
2851 fi
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2853 $as_echo "$ac_cv_host" >&6; }
2854 case $ac_cv_host in
2855 *-*-*) ;;
2856 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2857 esac
2858 host=$ac_cv_host
2859 ac_save_IFS=$IFS; IFS='-'
2860 set x $ac_cv_host
2861 shift
2862 host_cpu=$1
2863 host_vendor=$2
2864 shift; shift
2865 # Remember, the first character of IFS is used to create $*,
2866 # except with old shells:
2867 host_os=$*
2868 IFS=$ac_save_IFS
2869 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2870
2871
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2873 $as_echo_n "checking target system type... " >&6; }
2874 if ${ac_cv_target+:} false; then :
2875 $as_echo_n "(cached) " >&6
2876 else
2877 if test "x$target_alias" = x; then
2878 ac_cv_target=$ac_cv_host
2879 else
2880 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2881 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2882 fi
2883
2884 fi
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2886 $as_echo "$ac_cv_target" >&6; }
2887 case $ac_cv_target in
2888 *-*-*) ;;
2889 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2890 esac
2891 target=$ac_cv_target
2892 ac_save_IFS=$IFS; IFS='-'
2893 set x $ac_cv_target
2894 shift
2895 target_cpu=$1
2896 target_vendor=$2
2897 shift; shift
2898 # Remember, the first character of IFS is used to create $*,
2899 # except with old shells:
2900 target_os=$*
2901 IFS=$ac_save_IFS
2902 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2903
2904
2905 # The aliases save the names the user supplied, while $host etc.
2906 # will get canonicalized.
2907 test -n "$target_alias" &&
2908 test "$program_prefix$program_suffix$program_transform_name" = \
2909 NONENONEs,x,x, &&
2910 program_prefix=${target_alias}-
2911
2912 am__api_version='1.15'
2913
2914 # Find a good install program. We prefer a C program (faster),
2915 # so one script is as good as another. But avoid the broken or
2916 # incompatible versions:
2917 # SysV /etc/install, /usr/sbin/install
2918 # SunOS /usr/etc/install
2919 # IRIX /sbin/install
2920 # AIX /bin/install
2921 # AmigaOS /C/install, which installs bootblocks on floppy discs
2922 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2923 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2924 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2925 # OS/2's system install, which has a completely different semantic
2926 # ./install, which can be erroneously created by make from ./install.sh.
2927 # Reject install programs that cannot install multiple files.
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2929 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2930 if test -z "$INSTALL"; then
2931 if ${ac_cv_path_install+:} false; then :
2932 $as_echo_n "(cached) " >&6
2933 else
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 for as_dir in $PATH
2936 do
2937 IFS=$as_save_IFS
2938 test -z "$as_dir" && as_dir=.
2939 # Account for people who put trailing slashes in PATH elements.
2940 case $as_dir/ in #((
2941 ./ | .// | /[cC]/* | \
2942 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2943 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2944 /usr/ucb/* ) ;;
2945 *)
2946 # OSF1 and SCO ODT 3.0 have their own names for install.
2947 # Don't use installbsd from OSF since it installs stuff as root
2948 # by default.
2949 for ac_prog in ginstall scoinst install; do
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2952 if test $ac_prog = install &&
2953 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2954 # AIX install. It has an incompatible calling convention.
2955 :
2956 elif test $ac_prog = install &&
2957 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2958 # program-specific install script used by HP pwplus--don't use.
2959 :
2960 else
2961 rm -rf conftest.one conftest.two conftest.dir
2962 echo one > conftest.one
2963 echo two > conftest.two
2964 mkdir conftest.dir
2965 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2966 test -s conftest.one && test -s conftest.two &&
2967 test -s conftest.dir/conftest.one &&
2968 test -s conftest.dir/conftest.two
2969 then
2970 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2971 break 3
2972 fi
2973 fi
2974 fi
2975 done
2976 done
2977 ;;
2978 esac
2979
2980 done
2981 IFS=$as_save_IFS
2982
2983 rm -rf conftest.one conftest.two conftest.dir
2984
2985 fi
2986 if test "${ac_cv_path_install+set}" = set; then
2987 INSTALL=$ac_cv_path_install
2988 else
2989 # As a last resort, use the slow shell script. Don't cache a
2990 # value for INSTALL within a source directory, because that will
2991 # break other packages using the cache if that directory is
2992 # removed, or if the value is a relative name.
2993 INSTALL=$ac_install_sh
2994 fi
2995 fi
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2997 $as_echo "$INSTALL" >&6; }
2998
2999 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3000 # It thinks the first close brace ends the variable substitution.
3001 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3002
3003 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3004
3005 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3006
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3008 $as_echo_n "checking whether build environment is sane... " >&6; }
3009 # Reject unsafe characters in $srcdir or the absolute working directory
3010 # name. Accept space and tab only in the latter.
3011 am_lf='
3012 '
3013 case `pwd` in
3014 *[\\\"\#\$\&\'\`$am_lf]*)
3015 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3016 esac
3017 case $srcdir in
3018 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3019 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3020 esac
3021
3022 # Do 'set' in a subshell so we don't clobber the current shell's
3023 # arguments. Must try -L first in case configure is actually a
3024 # symlink; some systems play weird games with the mod time of symlinks
3025 # (eg FreeBSD returns the mod time of the symlink's containing
3026 # directory).
3027 if (
3028 am_has_slept=no
3029 for am_try in 1 2; do
3030 echo "timestamp, slept: $am_has_slept" > conftest.file
3031 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3032 if test "$*" = "X"; then
3033 # -L didn't work.
3034 set X `ls -t "$srcdir/configure" conftest.file`
3035 fi
3036 if test "$*" != "X $srcdir/configure conftest.file" \
3037 && test "$*" != "X conftest.file $srcdir/configure"; then
3038
3039 # If neither matched, then we have a broken ls. This can happen
3040 # if, for instance, CONFIG_SHELL is bash and it inherits a
3041 # broken ls alias from the environment. This has actually
3042 # happened. Such a system could not be considered "sane".
3043 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3044 alias in your environment" "$LINENO" 5
3045 fi
3046 if test "$2" = conftest.file || test $am_try -eq 2; then
3047 break
3048 fi
3049 # Just in case.
3050 sleep 1
3051 am_has_slept=yes
3052 done
3053 test "$2" = conftest.file
3054 )
3055 then
3056 # Ok.
3057 :
3058 else
3059 as_fn_error $? "newly created file is older than distributed files!
3060 Check your system clock" "$LINENO" 5
3061 fi
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3063 $as_echo "yes" >&6; }
3064 # If we didn't sleep, we still need to ensure time stamps of config.status and
3065 # generated files are strictly newer.
3066 am_sleep_pid=
3067 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3068 ( sleep 1 ) &
3069 am_sleep_pid=$!
3070 fi
3071
3072 rm -f conftest.file
3073
3074 test "$program_prefix" != NONE &&
3075 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3076 # Use a double $ so make ignores it.
3077 test "$program_suffix" != NONE &&
3078 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3079 # Double any \ or $.
3080 # By default was `s,x,x', remove it if useless.
3081 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3082 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3083
3084 # Expand $ac_aux_dir to an absolute path.
3085 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3086
3087 if test x"${MISSING+set}" != xset; then
3088 case $am_aux_dir in
3089 *\ * | *\ *)
3090 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3091 *)
3092 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3093 esac
3094 fi
3095 # Use eval to expand $SHELL
3096 if eval "$MISSING --is-lightweight"; then
3097 am_missing_run="$MISSING "
3098 else
3099 am_missing_run=
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3101 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3102 fi
3103
3104 if test x"${install_sh+set}" != xset; then
3105 case $am_aux_dir in
3106 *\ * | *\ *)
3107 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3108 *)
3109 install_sh="\${SHELL} $am_aux_dir/install-sh"
3110 esac
3111 fi
3112
3113 # Installed binaries are usually stripped using 'strip' when the user
3114 # run "make install-strip". However 'strip' might not be the right
3115 # tool to use in cross-compilation environments, therefore Automake
3116 # will honor the 'STRIP' environment variable to overrule this program.
3117 if test "$cross_compiling" != no; then
3118 if test -n "$ac_tool_prefix"; then
3119 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3120 set dummy ${ac_tool_prefix}strip; ac_word=$2
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122 $as_echo_n "checking for $ac_word... " >&6; }
3123 if ${ac_cv_prog_STRIP+:} false; then :
3124 $as_echo_n "(cached) " >&6
3125 else
3126 if test -n "$STRIP"; then
3127 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3128 else
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH
3131 do
3132 IFS=$as_save_IFS
3133 test -z "$as_dir" && as_dir=.
3134 for ac_exec_ext in '' $ac_executable_extensions; do
3135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3136 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 break 2
3139 fi
3140 done
3141 done
3142 IFS=$as_save_IFS
3143
3144 fi
3145 fi
3146 STRIP=$ac_cv_prog_STRIP
3147 if test -n "$STRIP"; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3149 $as_echo "$STRIP" >&6; }
3150 else
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152 $as_echo "no" >&6; }
3153 fi
3154
3155
3156 fi
3157 if test -z "$ac_cv_prog_STRIP"; then
3158 ac_ct_STRIP=$STRIP
3159 # Extract the first word of "strip", so it can be a program name with args.
3160 set dummy strip; ac_word=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3164 $as_echo_n "(cached) " >&6
3165 else
3166 if test -n "$ac_ct_STRIP"; then
3167 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3168 else
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 for as_dir in $PATH
3171 do
3172 IFS=$as_save_IFS
3173 test -z "$as_dir" && as_dir=.
3174 for ac_exec_ext in '' $ac_executable_extensions; do
3175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176 ac_cv_prog_ac_ct_STRIP="strip"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 break 2
3179 fi
3180 done
3181 done
3182 IFS=$as_save_IFS
3183
3184 fi
3185 fi
3186 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3187 if test -n "$ac_ct_STRIP"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3189 $as_echo "$ac_ct_STRIP" >&6; }
3190 else
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3193 fi
3194
3195 if test "x$ac_ct_STRIP" = x; then
3196 STRIP=":"
3197 else
3198 case $cross_compiling:$ac_tool_warned in
3199 yes:)
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3202 ac_tool_warned=yes ;;
3203 esac
3204 STRIP=$ac_ct_STRIP
3205 fi
3206 else
3207 STRIP="$ac_cv_prog_STRIP"
3208 fi
3209
3210 fi
3211 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3212
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3214 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3215 if test -z "$MKDIR_P"; then
3216 if ${ac_cv_path_mkdir+:} false; then :
3217 $as_echo_n "(cached) " >&6
3218 else
3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3221 do
3222 IFS=$as_save_IFS
3223 test -z "$as_dir" && as_dir=.
3224 for ac_prog in mkdir gmkdir; do
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3227 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3228 'mkdir (GNU coreutils) '* | \
3229 'mkdir (coreutils) '* | \
3230 'mkdir (fileutils) '4.1*)
3231 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3232 break 3;;
3233 esac
3234 done
3235 done
3236 done
3237 IFS=$as_save_IFS
3238
3239 fi
3240
3241 test -d ./--version && rmdir ./--version
3242 if test "${ac_cv_path_mkdir+set}" = set; then
3243 MKDIR_P="$ac_cv_path_mkdir -p"
3244 else
3245 # As a last resort, use the slow shell script. Don't cache a
3246 # value for MKDIR_P within a source directory, because that will
3247 # break other packages using the cache if that directory is
3248 # removed, or if the value is a relative name.
3249 MKDIR_P="$ac_install_sh -d"
3250 fi
3251 fi
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3253 $as_echo "$MKDIR_P" >&6; }
3254
3255 for ac_prog in gawk mawk nawk awk
3256 do
3257 # Extract the first word of "$ac_prog", so it can be a program name with args.
3258 set dummy $ac_prog; ac_word=$2
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260 $as_echo_n "checking for $ac_word... " >&6; }
3261 if ${ac_cv_prog_AWK+:} false; then :
3262 $as_echo_n "(cached) " >&6
3263 else
3264 if test -n "$AWK"; then
3265 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3266 else
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 for as_dir in $PATH
3269 do
3270 IFS=$as_save_IFS
3271 test -z "$as_dir" && as_dir=.
3272 for ac_exec_ext in '' $ac_executable_extensions; do
3273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3274 ac_cv_prog_AWK="$ac_prog"
3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 break 2
3277 fi
3278 done
3279 done
3280 IFS=$as_save_IFS
3281
3282 fi
3283 fi
3284 AWK=$ac_cv_prog_AWK
3285 if test -n "$AWK"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3287 $as_echo "$AWK" >&6; }
3288 else
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290 $as_echo "no" >&6; }
3291 fi
3292
3293
3294 test -n "$AWK" && break
3295 done
3296
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3298 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3299 set x ${MAKE-make}
3300 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3301 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3302 $as_echo_n "(cached) " >&6
3303 else
3304 cat >conftest.make <<\_ACEOF
3305 SHELL = /bin/sh
3306 all:
3307 @echo '@@@%%%=$(MAKE)=@@@%%%'
3308 _ACEOF
3309 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3310 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3311 *@@@%%%=?*=@@@%%%*)
3312 eval ac_cv_prog_make_${ac_make}_set=yes;;
3313 *)
3314 eval ac_cv_prog_make_${ac_make}_set=no;;
3315 esac
3316 rm -f conftest.make
3317 fi
3318 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3320 $as_echo "yes" >&6; }
3321 SET_MAKE=
3322 else
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3325 SET_MAKE="MAKE=${MAKE-make}"
3326 fi
3327
3328 rm -rf .tst 2>/dev/null
3329 mkdir .tst 2>/dev/null
3330 if test -d .tst; then
3331 am__leading_dot=.
3332 else
3333 am__leading_dot=_
3334 fi
3335 rmdir .tst 2>/dev/null
3336
3337 # Check whether --enable-silent-rules was given.
3338 if test "${enable_silent_rules+set}" = set; then :
3339 enableval=$enable_silent_rules;
3340 fi
3341
3342 case $enable_silent_rules in # (((
3343 yes) AM_DEFAULT_VERBOSITY=0;;
3344 no) AM_DEFAULT_VERBOSITY=1;;
3345 *) AM_DEFAULT_VERBOSITY=1;;
3346 esac
3347 am_make=${MAKE-make}
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3349 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3350 if ${am_cv_make_support_nested_variables+:} false; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 if $as_echo 'TRUE=$(BAR$(V))
3354 BAR0=false
3355 BAR1=true
3356 V=1
3357 am__doit:
3358 @$(TRUE)
3359 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3360 am_cv_make_support_nested_variables=yes
3361 else
3362 am_cv_make_support_nested_variables=no
3363 fi
3364 fi
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3366 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3367 if test $am_cv_make_support_nested_variables = yes; then
3368 AM_V='$(V)'
3369 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3370 else
3371 AM_V=$AM_DEFAULT_VERBOSITY
3372 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3373 fi
3374 AM_BACKSLASH='\'
3375
3376 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3377 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3378 # is not polluted with repeated "-I."
3379 am__isrc=' -I$(srcdir)'
3380 # test to see if srcdir already configured
3381 if test -f $srcdir/config.status; then
3382 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3383 fi
3384 fi
3385
3386 # test whether we have cygpath
3387 if test -z "$CYGPATH_W"; then
3388 if (cygpath --version) >/dev/null 2>/dev/null; then
3389 CYGPATH_W='cygpath -w'
3390 else
3391 CYGPATH_W=echo
3392 fi
3393 fi
3394
3395
3396 # Define the identity of the package.
3397 PACKAGE='plptools'
3398 VERSION='1.0.15'
3399
3400
3401 cat >>confdefs.h <<_ACEOF
3402 #define PACKAGE "$PACKAGE"
3403 _ACEOF
3404
3405
3406 cat >>confdefs.h <<_ACEOF
3407 #define VERSION "$VERSION"
3408 _ACEOF
3409
3410 # Some tools Automake needs.
3411
3412 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3413
3414
3415 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3416
3417
3418 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3419
3420
3421 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3422
3423
3424 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3425
3426 # For better backward compatibility. To be removed once Automake 1.9.x
3427 # dies out for good. For more background, see:
3428 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3429 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3430 mkdir_p='$(MKDIR_P)'
3431
3432 # We need awk for the "check" target (and possibly the TAP driver). The
3433 # system "awk" is bad on some platforms.
3434 # Always define AMTAR for backward compatibility. Yes, it's still used
3435 # in the wild :-( We should find a proper way to deprecate it ...
3436 AMTAR='$${TAR-tar}'
3437
3438
3439 # We'll loop over all known methods to create a tar archive until one works.
3440 _am_tools='gnutar pax cpio none'
3441
3442 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3443
3444
3445
3446
3447
3448
3449 # POSIX will say in a future version that running "rm -f" with no argument
3450 # is OK; and we want to be able to make that assumption in our Makefile
3451 # recipes. So use an aggressive probe to check that the usage we want is
3452 # actually supported "in the wild" to an acceptable degree.
3453 # See automake bug#10828.
3454 # To make any issue more visible, cause the running configure to be aborted
3455 # by default if the 'rm' program in use doesn't match our expectations; the
3456 # user can still override this though.
3457 if rm -f && rm -fr && rm -rf; then : OK; else
3458 cat >&2 <<'END'
3459 Oops!
3460
3461 Your 'rm' program seems unable to run without file operands specified
3462 on the command line, even when the '-f' option is present. This is contrary
3463 to the behaviour of most rm programs out there, and not conforming with
3464 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3465
3466 Please tell bug-automake@gnu.org about your system, including the value
3467 of your $PATH and any error possibly output before this message. This
3468 can help us improve future automake versions.
3469
3470 END
3471 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3472 echo 'Configuration will proceed anyway, since you have set the' >&2
3473 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3474 echo >&2
3475 else
3476 cat >&2 <<'END'
3477 Aborting the configuration process, to ensure you take notice of the issue.
3478
3479 You can download and install GNU coreutils to get an 'rm' implementation
3480 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3481
3482 If you want to complete the configuration process using your problematic
3483 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3484 to "yes", and re-run configure.
3485
3486 END
3487 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3488 fi
3489 fi
3490
3491
3492 DEPDIR="${am__leading_dot}deps"
3493
3494 ac_config_commands="$ac_config_commands depfiles"
3495
3496
3497 am_make=${MAKE-make}
3498 cat > confinc << 'END'
3499 am__doit:
3500 @echo this is the am__doit target
3501 .PHONY: am__doit
3502 END
3503 # If we don't find an include directive, just comment out the code.
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3505 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3506 am__include="#"
3507 am__quote=
3508 _am_result=none
3509 # First try GNU make style include.
3510 echo "include confinc" > confmf
3511 # Ignore all kinds of additional output from 'make'.
3512 case `$am_make -s -f confmf 2> /dev/null` in #(
3513 *the\ am__doit\ target*)
3514 am__include=include
3515 am__quote=
3516 _am_result=GNU
3517 ;;
3518 esac
3519 # Now try BSD make style include.
3520 if test "$am__include" = "#"; then
3521 echo '.include "confinc"' > confmf
3522 case `$am_make -s -f confmf 2> /dev/null` in #(
3523 *the\ am__doit\ target*)
3524 am__include=.include
3525 am__quote="\""
3526 _am_result=BSD
3527 ;;
3528 esac
3529 fi
3530
3531
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3533 $as_echo "$_am_result" >&6; }
3534 rm -f confinc confmf
3535
3536 # Check whether --enable-dependency-tracking was given.
3537 if test "${enable_dependency_tracking+set}" = set; then :
3538 enableval=$enable_dependency_tracking;
3539 fi
3540
3541 if test "x$enable_dependency_tracking" != xno; then
3542 am_depcomp="$ac_aux_dir/depcomp"
3543 AMDEPBACKSLASH='\'
3544 am__nodep='_no'
3545 fi
3546 if test "x$enable_dependency_tracking" != xno; then
3547 AMDEP_TRUE=
3548 AMDEP_FALSE='#'
3549 else
3550 AMDEP_TRUE='#'
3551 AMDEP_FALSE=
3552 fi
3553
3554
3555 ac_ext=c
3556 ac_cpp='$CPP $CPPFLAGS'
3557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3560 if test -n "$ac_tool_prefix"; then
3561 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3562 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564 $as_echo_n "checking for $ac_word... " >&6; }
3565 if ${ac_cv_prog_CC+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 if test -n "$CC"; then
3569 ac_cv_prog_CC="$CC" # Let the user override the test.
3570 else
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 for as_dir in $PATH
3573 do
3574 IFS=$as_save_IFS
3575 test -z "$as_dir" && as_dir=.
3576 for ac_exec_ext in '' $ac_executable_extensions; do
3577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3578 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 break 2
3581 fi
3582 done
3583 done
3584 IFS=$as_save_IFS
3585
3586 fi
3587 fi
3588 CC=$ac_cv_prog_CC
3589 if test -n "$CC"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3591 $as_echo "$CC" >&6; }
3592 else
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3595 fi
3596
3597
3598 fi
3599 if test -z "$ac_cv_prog_CC"; then
3600 ac_ct_CC=$CC
3601 # Extract the first word of "gcc", so it can be a program name with args.
3602 set dummy gcc; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3606 $as_echo_n "(cached) " >&6
3607 else
3608 if test -n "$ac_ct_CC"; then
3609 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3610 else
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in $PATH
3613 do
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for ac_exec_ext in '' $ac_executable_extensions; do
3617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_ac_ct_CC="gcc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 break 2
3621 fi
3622 done
3623 done
3624 IFS=$as_save_IFS
3625
3626 fi
3627 fi
3628 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3629 if test -n "$ac_ct_CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3631 $as_echo "$ac_ct_CC" >&6; }
3632 else
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3635 fi
3636
3637 if test "x$ac_ct_CC" = x; then
3638 CC=""
3639 else
3640 case $cross_compiling:$ac_tool_warned in
3641 yes:)
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3644 ac_tool_warned=yes ;;
3645 esac
3646 CC=$ac_ct_CC
3647 fi
3648 else
3649 CC="$ac_cv_prog_CC"
3650 fi
3651
3652 if test -z "$CC"; then
3653 if test -n "$ac_tool_prefix"; then
3654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3655 set dummy ${ac_tool_prefix}cc; ac_word=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if ${ac_cv_prog_CC+:} false; then :
3659 $as_echo_n "(cached) " >&6
3660 else
3661 if test -n "$CC"; then
3662 ac_cv_prog_CC="$CC" # Let the user override the test.
3663 else
3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 for as_dir in $PATH
3666 do
3667 IFS=$as_save_IFS
3668 test -z "$as_dir" && as_dir=.
3669 for ac_exec_ext in '' $ac_executable_extensions; do
3670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3671 ac_cv_prog_CC="${ac_tool_prefix}cc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 break 2
3674 fi
3675 done
3676 done
3677 IFS=$as_save_IFS
3678
3679 fi
3680 fi
3681 CC=$ac_cv_prog_CC
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3685 else
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3688 fi
3689
3690
3691 fi
3692 fi
3693 if test -z "$CC"; then
3694 # Extract the first word of "cc", so it can be a program name with args.
3695 set dummy cc; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_CC+:} false; then :
3699 $as_echo_n "(cached) " >&6
3700 else
3701 if test -n "$CC"; then
3702 ac_cv_prog_CC="$CC" # Let the user override the test.
3703 else
3704 ac_prog_rejected=no
3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 for as_dir in $PATH
3707 do
3708 IFS=$as_save_IFS
3709 test -z "$as_dir" && as_dir=.
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3713 ac_prog_rejected=yes
3714 continue
3715 fi
3716 ac_cv_prog_CC="cc"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 break 2
3719 fi
3720 done
3721 done
3722 IFS=$as_save_IFS
3723
3724 if test $ac_prog_rejected = yes; then
3725 # We found a bogon in the path, so make sure we never use it.
3726 set dummy $ac_cv_prog_CC
3727 shift
3728 if test $# != 0; then
3729 # We chose a different compiler from the bogus one.
3730 # However, it has the same basename, so the bogon will be chosen
3731 # first if we set CC to just the basename; use the full file name.
3732 shift
3733 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3734 fi
3735 fi
3736 fi
3737 fi
3738 CC=$ac_cv_prog_CC
3739 if test -n "$CC"; then
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3741 $as_echo "$CC" >&6; }
3742 else
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3745 fi
3746
3747
3748 fi
3749 if test -z "$CC"; then
3750 if test -n "$ac_tool_prefix"; then
3751 for ac_prog in cl.exe
3752 do
3753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3754 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if ${ac_cv_prog_CC+:} false; then :
3758 $as_echo_n "(cached) " >&6
3759 else
3760 if test -n "$CC"; then
3761 ac_cv_prog_CC="$CC" # Let the user override the test.
3762 else
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 for as_dir in $PATH
3765 do
3766 IFS=$as_save_IFS
3767 test -z "$as_dir" && as_dir=.
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3770 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 break 2
3773 fi
3774 done
3775 done
3776 IFS=$as_save_IFS
3777
3778 fi
3779 fi
3780 CC=$ac_cv_prog_CC
3781 if test -n "$CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3783 $as_echo "$CC" >&6; }
3784 else
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3787 fi
3788
3789
3790 test -n "$CC" && break
3791 done
3792 fi
3793 if test -z "$CC"; then
3794 ac_ct_CC=$CC
3795 for ac_prog in cl.exe
3796 do
3797 # Extract the first word of "$ac_prog", so it can be a program name with args.
3798 set dummy $ac_prog; ac_word=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if test -n "$ac_ct_CC"; then
3805 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3806 else
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 for as_dir in $PATH
3809 do
3810 IFS=$as_save_IFS
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_ac_ct_CC="$ac_prog"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 break 2
3817 fi
3818 done
3819 done
3820 IFS=$as_save_IFS
3821
3822 fi
3823 fi
3824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3825 if test -n "$ac_ct_CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3827 $as_echo "$ac_ct_CC" >&6; }
3828 else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3831 fi
3832
3833
3834 test -n "$ac_ct_CC" && break
3835 done
3836
3837 if test "x$ac_ct_CC" = x; then
3838 CC=""
3839 else
3840 case $cross_compiling:$ac_tool_warned in
3841 yes:)
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3844 ac_tool_warned=yes ;;
3845 esac
3846 CC=$ac_ct_CC
3847 fi
3848 fi
3849
3850 fi
3851
3852
3853 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3855 as_fn_error $? "no acceptable C compiler found in \$PATH
3856 See \`config.log' for more details" "$LINENO" 5; }
3857
3858 # Provide some information about the compiler.
3859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3860 set X $ac_compile
3861 ac_compiler=$2
3862 for ac_option in --version -v -V -qversion; do
3863 { { ac_try="$ac_compiler $ac_option >&5"
3864 case "(($ac_try" in
3865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866 *) ac_try_echo=$ac_try;;
3867 esac
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3871 ac_status=$?
3872 if test -s conftest.err; then
3873 sed '10a\
3874 ... rest of stderr output deleted ...
3875 10q' conftest.err >conftest.er1
3876 cat conftest.er1 >&5
3877 fi
3878 rm -f conftest.er1 conftest.err
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }
3881 done
3882
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3885
3886 int
3887 main ()
3888 {
3889
3890 ;
3891 return 0;
3892 }
3893 _ACEOF
3894 ac_clean_files_save=$ac_clean_files
3895 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3896 # Try to create an executable without -o first, disregard a.out.
3897 # It will help us diagnose broken compilers, and finding out an intuition
3898 # of exeext.
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3900 $as_echo_n "checking whether the C compiler works... " >&6; }
3901 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3902
3903 # The possible output files:
3904 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3905
3906 ac_rmfiles=
3907 for ac_file in $ac_files
3908 do
3909 case $ac_file in
3910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3911 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3912 esac
3913 done
3914 rm -f $ac_rmfiles
3915
3916 if { { ac_try="$ac_link_default"
3917 case "(($ac_try" in
3918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3920 esac
3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_link_default") 2>&5
3924 ac_status=$?
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }; then :
3927 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3928 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3929 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3930 # so that the user can short-circuit this test for compilers unknown to
3931 # Autoconf.
3932 for ac_file in $ac_files ''
3933 do
3934 test -f "$ac_file" || continue
3935 case $ac_file in
3936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3937 ;;
3938 [ab].out )
3939 # We found the default executable, but exeext='' is most
3940 # certainly right.
3941 break;;
3942 *.* )
3943 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3944 then :; else
3945 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3946 fi
3947 # We set ac_cv_exeext here because the later test for it is not
3948 # safe: cross compilers may not add the suffix if given an `-o'
3949 # argument, so we may need to know it at that point already.
3950 # Even if this section looks crufty: it has the advantage of
3951 # actually working.
3952 break;;
3953 * )
3954 break;;
3955 esac
3956 done
3957 test "$ac_cv_exeext" = no && ac_cv_exeext=
3958
3959 else
3960 ac_file=''
3961 fi
3962 if test -z "$ac_file"; then :
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3965 $as_echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3967
3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3970 as_fn_error 77 "C compiler cannot create executables
3971 See \`config.log' for more details" "$LINENO" 5; }
3972 else
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3974 $as_echo "yes" >&6; }
3975 fi
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3977 $as_echo_n "checking for C compiler default output file name... " >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3979 $as_echo "$ac_file" >&6; }
3980 ac_exeext=$ac_cv_exeext
3981
3982 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3983 ac_clean_files=$ac_clean_files_save
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3985 $as_echo_n "checking for suffix of executables... " >&6; }
3986 if { { ac_try="$ac_link"
3987 case "(($ac_try" in
3988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3990 esac
3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992 $as_echo "$ac_try_echo"; } >&5
3993 (eval "$ac_link") 2>&5
3994 ac_status=$?
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }; then :
3997 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3998 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3999 # work properly (i.e., refer to `conftest.exe'), while it won't with
4000 # `rm'.
4001 for ac_file in conftest.exe conftest conftest.*; do
4002 test -f "$ac_file" || continue
4003 case $ac_file in
4004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4005 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4006 break;;
4007 * ) break;;
4008 esac
4009 done
4010 else
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4014 See \`config.log' for more details" "$LINENO" 5; }
4015 fi
4016 rm -f conftest conftest$ac_cv_exeext
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4018 $as_echo "$ac_cv_exeext" >&6; }
4019
4020 rm -f conftest.$ac_ext
4021 EXEEXT=$ac_cv_exeext
4022 ac_exeext=$EXEEXT
4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4025 #include <stdio.h>
4026 int
4027 main ()
4028 {
4029 FILE *f = fopen ("conftest.out", "w");
4030 return ferror (f) || fclose (f) != 0;
4031
4032 ;
4033 return 0;
4034 }
4035 _ACEOF
4036 ac_clean_files="$ac_clean_files conftest.out"
4037 # Check that the compiler produces executables we can run. If not, either
4038 # the compiler is broken, or we cross compile.
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4040 $as_echo_n "checking whether we are cross compiling... " >&6; }
4041 if test "$cross_compiling" != yes; then
4042 { { ac_try="$ac_link"
4043 case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4046 esac
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_link") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }
4053 if { ac_try='./conftest$ac_cv_exeext'
4054 { { case "(($ac_try" in
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4057 esac
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_try") 2>&5
4061 ac_status=$?
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }; }; then
4064 cross_compiling=no
4065 else
4066 if test "$cross_compiling" = maybe; then
4067 cross_compiling=yes
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $? "cannot run C compiled programs.
4072 If you meant to cross compile, use \`--host'.
4073 See \`config.log' for more details" "$LINENO" 5; }
4074 fi
4075 fi
4076 fi
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4078 $as_echo "$cross_compiling" >&6; }
4079
4080 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4081 ac_clean_files=$ac_clean_files_save
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if ${ac_cv_objext+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4089
4090 int
4091 main ()
4092 {
4093
4094 ;
4095 return 0;
4096 }
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4121
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error $? "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details" "$LINENO" 5; }
4126 fi
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128 fi
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if ${ac_cv_c_compiler_gnu+:} false; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140
4141 int
4142 main ()
4143 {
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4147
4148 ;
4149 return 0;
4150 }
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4156 fi
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159
4160 fi
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4167 fi
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if ${ac_cv_prog_cc_g+:} false; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4181
4182 int
4183 main ()
4184 {
4185
4186 ;
4187 return 0;
4188 }
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196
4197 int
4198 main ()
4199 {
4200
4201 ;
4202 return 0;
4203 }
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4212
4213 int
4214 main ()
4215 {
4216
4217 ;
4218 return 0;
4219 }
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4223 fi
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 fi
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4230 fi
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4240 fi
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4246 fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if ${ac_cv_prog_cc_c89+:} false; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 struct stat;
4260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4261 struct buf { int x; };
4262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4263 static char *e (p, i)
4264 char **p;
4265 int i;
4266 {
4267 return p[i];
4268 }
4269 static char *f (char * (*g) (char **, int), char **p, ...)
4270 {
4271 char *s;
4272 va_list v;
4273 va_start (v,p);
4274 s = g (p, va_arg (v,int));
4275 va_end (v);
4276 return s;
4277 }
4278
4279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4280 function prototypes and stuff, but not '\xHH' hex character constants.
4281 These don't provoke an error unfortunately, instead are silently treated
4282 as 'x'. The following induces an error, until -std is added to get
4283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4284 array size at least. It's necessary to write '\x00'==0 to get something
4285 that's true only with -std. */
4286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4287
4288 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4289 inside strings and character constants. */
4290 #define FOO(x) 'x'
4291 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4292
4293 int test (int i, double x);
4294 struct s1 {int (*f) (int a);};
4295 struct s2 {int (*f) (double a);};
4296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4297 int argc;
4298 char **argv;
4299 int
4300 main ()
4301 {
4302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4303 ;
4304 return 0;
4305 }
4306 _ACEOF
4307 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4308 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4309 do
4310 CC="$ac_save_CC $ac_arg"
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_cv_prog_cc_c89=$ac_arg
4313 fi
4314 rm -f core conftest.err conftest.$ac_objext
4315 test "x$ac_cv_prog_cc_c89" != "xno" && break
4316 done
4317 rm -f conftest.$ac_ext
4318 CC=$ac_save_CC
4319
4320 fi
4321 # AC_CACHE_VAL
4322 case "x$ac_cv_prog_cc_c89" in
4323 x)
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4325 $as_echo "none needed" >&6; } ;;
4326 xno)
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4328 $as_echo "unsupported" >&6; } ;;
4329 *)
4330 CC="$CC $ac_cv_prog_cc_c89"
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4332 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4333 esac
4334 if test "x$ac_cv_prog_cc_c89" != xno; then :
4335
4336 fi
4337
4338 ac_ext=c
4339 ac_cpp='$CPP $CPPFLAGS'
4340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4343
4344 ac_ext=c
4345 ac_cpp='$CPP $CPPFLAGS'
4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4350 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4351 if ${am_cv_prog_cc_c_o+:} false; then :
4352 $as_echo_n "(cached) " >&6
4353 else
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4356
4357 int
4358 main ()
4359 {
4360
4361 ;
4362 return 0;
4363 }
4364 _ACEOF
4365 # Make sure it works both with $CC and with simple cc.
4366 # Following AC_PROG_CC_C_O, we do the test twice because some
4367 # compilers refuse to overwrite an existing .o file with -o,
4368 # though they will create one.
4369 am_cv_prog_cc_c_o=yes
4370 for am_i in 1 2; do
4371 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4372 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4373 ac_status=$?
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } \
4376 && test -f conftest2.$ac_objext; then
4377 : OK
4378 else
4379 am_cv_prog_cc_c_o=no
4380 break
4381 fi
4382 done
4383 rm -f core conftest*
4384 unset am_i
4385 fi
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4387 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4388 if test "$am_cv_prog_cc_c_o" != yes; then
4389 # Losing compiler, so override with the script.
4390 # FIXME: It is wrong to rewrite CC.
4391 # But if we don't then we get into trouble of one sort or another.
4392 # A longer-term fix would be to have automake use am__CC in this case,
4393 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4394 CC="$am_aux_dir/compile $CC"
4395 fi
4396 ac_ext=c
4397 ac_cpp='$CPP $CPPFLAGS'
4398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4401
4402
4403 depcc="$CC" am_compiler_list=
4404
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4406 $as_echo_n "checking dependency style of $depcc... " >&6; }
4407 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4408 $as_echo_n "(cached) " >&6
4409 else
4410 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4411 # We make a subdir and do the tests there. Otherwise we can end up
4412 # making bogus files that we don't know about and never remove. For
4413 # instance it was reported that on HP-UX the gcc test will end up
4414 # making a dummy file named 'D' -- because '-MD' means "put the output
4415 # in D".
4416 rm -rf conftest.dir
4417 mkdir conftest.dir
4418 # Copy depcomp to subdir because otherwise we won't find it if we're
4419 # using a relative directory.
4420 cp "$am_depcomp" conftest.dir
4421 cd conftest.dir
4422 # We will build objects and dependencies in a subdirectory because
4423 # it helps to detect inapplicable dependency modes. For instance
4424 # both Tru64's cc and ICC support -MD to output dependencies as a
4425 # side effect of compilation, but ICC will put the dependencies in
4426 # the current directory while Tru64 will put them in the object
4427 # directory.
4428 mkdir sub
4429
4430 am_cv_CC_dependencies_compiler_type=none
4431 if test "$am_compiler_list" = ""; then
4432 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4433 fi
4434 am__universal=false
4435 case " $depcc " in #(
4436 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4437 esac
4438
4439 for depmode in $am_compiler_list; do
4440 # Setup a source with many dependencies, because some compilers
4441 # like to wrap large dependency lists on column 80 (with \), and
4442 # we should not choose a depcomp mode which is confused by this.
4443 #
4444 # We need to recreate these files for each test, as the compiler may
4445 # overwrite some of them when testing with obscure command lines.
4446 # This happens at least with the AIX C compiler.
4447 : > sub/conftest.c
4448 for i in 1 2 3 4 5 6; do
4449 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4450 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4451 # Solaris 10 /bin/sh.
4452 echo '/* dummy */' > sub/conftst$i.h
4453 done
4454 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4455
4456 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4457 # mode. It turns out that the SunPro C++ compiler does not properly
4458 # handle '-M -o', and we need to detect this. Also, some Intel
4459 # versions had trouble with output in subdirs.
4460 am__obj=sub/conftest.${OBJEXT-o}
4461 am__minus_obj="-o $am__obj"
4462 case $depmode in
4463 gcc)
4464 # This depmode causes a compiler race in universal mode.
4465 test "$am__universal" = false || continue
4466 ;;
4467 nosideeffect)
4468 # After this tag, mechanisms are not by side-effect, so they'll
4469 # only be used when explicitly requested.
4470 if test "x$enable_dependency_tracking" = xyes; then
4471 continue
4472 else
4473 break
4474 fi
4475 ;;
4476 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4477 # This compiler won't grok '-c -o', but also, the minuso test has
4478 # not run yet. These depmodes are late enough in the game, and
4479 # so weak that their functioning should not be impacted.
4480 am__obj=conftest.${OBJEXT-o}
4481 am__minus_obj=
4482 ;;
4483 none) break ;;
4484 esac
4485 if depmode=$depmode \
4486 source=sub/conftest.c object=$am__obj \
4487 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4488 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4489 >/dev/null 2>conftest.err &&
4490 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4491 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4492 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4493 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4494 # icc doesn't choke on unknown options, it will just issue warnings
4495 # or remarks (even with -Werror). So we grep stderr for any message
4496 # that says an option was ignored or not supported.
4497 # When given -MP, icc 7.0 and 7.1 complain thusly:
4498 # icc: Command line warning: ignoring option '-M'; no argument required
4499 # The diagnosis changed in icc 8.0:
4500 # icc: Command line remark: option '-MP' not supported
4501 if (grep 'ignoring option' conftest.err ||
4502 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4503 am_cv_CC_dependencies_compiler_type=$depmode
4504 break
4505 fi
4506 fi
4507 done
4508
4509 cd ..
4510 rm -rf conftest.dir
4511 else
4512 am_cv_CC_dependencies_compiler_type=none
4513 fi
4514
4515 fi
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4517 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4518 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4519
4520 if
4521 test "x$enable_dependency_tracking" != xno \
4522 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4523 am__fastdepCC_TRUE=
4524 am__fastdepCC_FALSE='#'
4525 else
4526 am__fastdepCC_TRUE='#'
4527 am__fastdepCC_FALSE=
4528 fi
4529
4530
4531
4532 ac_ext=c
4533 ac_cpp='$CPP $CPPFLAGS'
4534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4538 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4539 # On Suns, sometimes $CPP names a directory.
4540 if test -n "$CPP" && test -d "$CPP"; then
4541 CPP=
4542 fi
4543 if test -z "$CPP"; then
4544 if ${ac_cv_prog_CPP+:} false; then :
4545 $as_echo_n "(cached) " >&6
4546 else
4547 # Double quotes because CPP needs to be expanded
4548 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4549 do
4550 ac_preproc_ok=false
4551 for ac_c_preproc_warn_flag in '' yes
4552 do
4553 # Use a header file that comes with gcc, so configuring glibc
4554 # with a fresh cross-compiler works.
4555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4556 # <limits.h> exists even on freestanding compilers.
4557 # On the NeXT, cc -E runs the code through the compiler's parser,
4558 # not just through cpp. "Syntax error" is here to catch this case.
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4561 #ifdef __STDC__
4562 # include <limits.h>
4563 #else
4564 # include <assert.h>
4565 #endif
4566 Syntax error
4567 _ACEOF
4568 if ac_fn_c_try_cpp "$LINENO"; then :
4569
4570 else
4571 # Broken: fails on valid input.
4572 continue
4573 fi
4574 rm -f conftest.err conftest.i conftest.$ac_ext
4575
4576 # OK, works on sane cases. Now check whether nonexistent headers
4577 # can be detected and how.
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4580 #include <ac_nonexistent.h>
4581 _ACEOF
4582 if ac_fn_c_try_cpp "$LINENO"; then :
4583 # Broken: success on invalid input.
4584 continue
4585 else
4586 # Passes both tests.
4587 ac_preproc_ok=:
4588 break
4589 fi
4590 rm -f conftest.err conftest.i conftest.$ac_ext
4591
4592 done
4593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4594 rm -f conftest.i conftest.err conftest.$ac_ext
4595 if $ac_preproc_ok; then :
4596 break
4597 fi
4598
4599 done
4600 ac_cv_prog_CPP=$CPP
4601
4602 fi
4603 CPP=$ac_cv_prog_CPP
4604 else
4605 ac_cv_prog_CPP=$CPP
4606 fi
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4608 $as_echo "$CPP" >&6; }
4609 ac_preproc_ok=false
4610 for ac_c_preproc_warn_flag in '' yes
4611 do
4612 # Use a header file that comes with gcc, so configuring glibc
4613 # with a fresh cross-compiler works.
4614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4615 # <limits.h> exists even on freestanding compilers.
4616 # On the NeXT, cc -E runs the code through the compiler's parser,
4617 # not just through cpp. "Syntax error" is here to catch this case.
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4620 #ifdef __STDC__
4621 # include <limits.h>
4622 #else
4623 # include <assert.h>
4624 #endif
4625 Syntax error
4626 _ACEOF
4627 if ac_fn_c_try_cpp "$LINENO"; then :
4628
4629 else
4630 # Broken: fails on valid input.
4631 continue
4632 fi
4633 rm -f conftest.err conftest.i conftest.$ac_ext
4634
4635 # OK, works on sane cases. Now check whether nonexistent headers
4636 # can be detected and how.
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4639 #include <ac_nonexistent.h>
4640 _ACEOF
4641 if ac_fn_c_try_cpp "$LINENO"; then :
4642 # Broken: success on invalid input.
4643 continue
4644 else
4645 # Passes both tests.
4646 ac_preproc_ok=:
4647 break
4648 fi
4649 rm -f conftest.err conftest.i conftest.$ac_ext
4650
4651 done
4652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4653 rm -f conftest.i conftest.err conftest.$ac_ext
4654 if $ac_preproc_ok; then :
4655
4656 else
4657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4659 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4660 See \`config.log' for more details" "$LINENO" 5; }
4661 fi
4662
4663 ac_ext=c
4664 ac_cpp='$CPP $CPPFLAGS'
4665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4668
4669
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4671 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4672 if ${ac_cv_path_GREP+:} false; then :
4673 $as_echo_n "(cached) " >&6
4674 else
4675 if test -z "$GREP"; then
4676 ac_path_GREP_found=false
4677 # Loop through the user's path and test for each of PROGNAME-LIST
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4680 do
4681 IFS=$as_save_IFS
4682 test -z "$as_dir" && as_dir=.
4683 for ac_prog in grep ggrep; do
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4686 as_fn_executable_p "$ac_path_GREP" || continue
4687 # Check for GNU ac_path_GREP and select it if it is found.
4688 # Check for GNU $ac_path_GREP
4689 case `"$ac_path_GREP" --version 2>&1` in
4690 *GNU*)
4691 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4692 *)
4693 ac_count=0
4694 $as_echo_n 0123456789 >"conftest.in"
4695 while :
4696 do
4697 cat "conftest.in" "conftest.in" >"conftest.tmp"
4698 mv "conftest.tmp" "conftest.in"
4699 cp "conftest.in" "conftest.nl"
4700 $as_echo 'GREP' >> "conftest.nl"
4701 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4702 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4703 as_fn_arith $ac_count + 1 && ac_count=$as_val
4704 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4705 # Best one so far, save it but keep looking for a better one
4706 ac_cv_path_GREP="$ac_path_GREP"
4707 ac_path_GREP_max=$ac_count
4708 fi
4709 # 10*(2^10) chars as input seems more than enough
4710 test $ac_count -gt 10 && break
4711 done
4712 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4713 esac
4714
4715 $ac_path_GREP_found && break 3
4716 done
4717 done
4718 done
4719 IFS=$as_save_IFS
4720 if test -z "$ac_cv_path_GREP"; then
4721 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4722 fi
4723 else
4724 ac_cv_path_GREP=$GREP
4725 fi
4726
4727 fi
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4729 $as_echo "$ac_cv_path_GREP" >&6; }
4730 GREP="$ac_cv_path_GREP"
4731
4732
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4734 $as_echo_n "checking for egrep... " >&6; }
4735 if ${ac_cv_path_EGREP+:} false; then :
4736 $as_echo_n "(cached) " >&6
4737 else
4738 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4739 then ac_cv_path_EGREP="$GREP -E"
4740 else
4741 if test -z "$EGREP"; then
4742 ac_path_EGREP_found=false
4743 # Loop through the user's path and test for each of PROGNAME-LIST
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4746 do
4747 IFS=$as_save_IFS
4748 test -z "$as_dir" && as_dir=.
4749 for ac_prog in egrep; do
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4752 as_fn_executable_p "$ac_path_EGREP" || continue
4753 # Check for GNU ac_path_EGREP and select it if it is found.
4754 # Check for GNU $ac_path_EGREP
4755 case `"$ac_path_EGREP" --version 2>&1` in
4756 *GNU*)
4757 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4758 *)
4759 ac_count=0
4760 $as_echo_n 0123456789 >"conftest.in"
4761 while :
4762 do
4763 cat "conftest.in" "conftest.in" >"conftest.tmp"
4764 mv "conftest.tmp" "conftest.in"
4765 cp "conftest.in" "conftest.nl"
4766 $as_echo 'EGREP' >> "conftest.nl"
4767 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4768 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4769 as_fn_arith $ac_count + 1 && ac_count=$as_val
4770 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4771 # Best one so far, save it but keep looking for a better one
4772 ac_cv_path_EGREP="$ac_path_EGREP"
4773 ac_path_EGREP_max=$ac_count
4774 fi
4775 # 10*(2^10) chars as input seems more than enough
4776 test $ac_count -gt 10 && break
4777 done
4778 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4779 esac
4780
4781 $ac_path_EGREP_found && break 3
4782 done
4783 done
4784 done
4785 IFS=$as_save_IFS
4786 if test -z "$ac_cv_path_EGREP"; then
4787 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4788 fi
4789 else
4790 ac_cv_path_EGREP=$EGREP
4791 fi
4792
4793 fi
4794 fi
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4796 $as_echo "$ac_cv_path_EGREP" >&6; }
4797 EGREP="$ac_cv_path_EGREP"
4798
4799
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4801 $as_echo_n "checking for ANSI C header files... " >&6; }
4802 if ${ac_cv_header_stdc+:} false; then :
4803 $as_echo_n "(cached) " >&6
4804 else
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4807 #include <stdlib.h>
4808 #include <stdarg.h>
4809 #include <string.h>
4810 #include <float.h>
4811
4812 int
4813 main ()
4814 {
4815
4816 ;
4817 return 0;
4818 }
4819 _ACEOF
4820 if ac_fn_c_try_compile "$LINENO"; then :
4821 ac_cv_header_stdc=yes
4822 else
4823 ac_cv_header_stdc=no
4824 fi
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826
4827 if test $ac_cv_header_stdc = yes; then
4828 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4831 #include <string.h>
4832
4833 _ACEOF
4834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4835 $EGREP "memchr" >/dev/null 2>&1; then :
4836
4837 else
4838 ac_cv_header_stdc=no
4839 fi
4840 rm -f conftest*
4841
4842 fi
4843
4844 if test $ac_cv_header_stdc = yes; then
4845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847 /* end confdefs.h. */
4848 #include <stdlib.h>
4849
4850 _ACEOF
4851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4852 $EGREP "free" >/dev/null 2>&1; then :
4853
4854 else
4855 ac_cv_header_stdc=no
4856 fi
4857 rm -f conftest*
4858
4859 fi
4860
4861 if test $ac_cv_header_stdc = yes; then
4862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4863 if test "$cross_compiling" = yes; then :
4864 :
4865 else
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4868 #include <ctype.h>
4869 #include <stdlib.h>
4870 #if ((' ' & 0x0FF) == 0x020)
4871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4872 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4873 #else
4874 # define ISLOWER(c) \
4875 (('a' <= (c) && (c) <= 'i') \
4876 || ('j' <= (c) && (c) <= 'r') \
4877 || ('s' <= (c) && (c) <= 'z'))
4878 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4879 #endif
4880
4881 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4882 int
4883 main ()
4884 {
4885 int i;
4886 for (i = 0; i < 256; i++)
4887 if (XOR (islower (i), ISLOWER (i))
4888 || toupper (i) != TOUPPER (i))
4889 return 2;
4890 return 0;
4891 }
4892 _ACEOF
4893 if ac_fn_c_try_run "$LINENO"; then :
4894
4895 else
4896 ac_cv_header_stdc=no
4897 fi
4898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4899 conftest.$ac_objext conftest.beam conftest.$ac_ext
4900 fi
4901
4902 fi
4903 fi
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4905 $as_echo "$ac_cv_header_stdc" >&6; }
4906 if test $ac_cv_header_stdc = yes; then
4907
4908 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4909
4910 fi
4911
4912 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4913 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4914 inttypes.h stdint.h unistd.h
4915 do :
4916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4917 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4918 "
4919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4920 cat >>confdefs.h <<_ACEOF
4921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4922 _ACEOF
4923
4924 fi
4925
4926 done
4927
4928
4929
4930 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4931 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4932 MINIX=yes
4933 else
4934 MINIX=
4935 fi
4936
4937
4938 if test "$MINIX" = yes; then
4939
4940 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4941
4942
4943 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4944
4945
4946 $as_echo "#define _MINIX 1" >>confdefs.h
4947
4948 fi
4949
4950
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4952 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4953 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4954 $as_echo_n "(cached) " >&6
4955 else
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4958
4959 # define __EXTENSIONS__ 1
4960 $ac_includes_default
4961 int
4962 main ()
4963 {
4964
4965 ;
4966 return 0;
4967 }
4968 _ACEOF
4969 if ac_fn_c_try_compile "$LINENO"; then :
4970 ac_cv_safe_to_define___extensions__=yes
4971 else
4972 ac_cv_safe_to_define___extensions__=no
4973 fi
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 fi
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4977 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4978 test $ac_cv_safe_to_define___extensions__ = yes &&
4979 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4980
4981 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4982
4983 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4984
4985 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4986
4987 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4988
4989
4990
4991 ac_config_headers="$ac_config_headers config.h"
4992
4993 case `pwd` in
4994 *\ * | *\ *)
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4996 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4997 esac
4998
4999
5000
5001 macro_version='2.4.6'
5002 macro_revision='2.4.6'
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016 ltmain=$ac_aux_dir/ltmain.sh
5017
5018 # Backslashify metacharacters that are still active within
5019 # double-quoted strings.
5020 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5021
5022 # Same as above, but do not quote variable references.
5023 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5024
5025 # Sed substitution to delay expansion of an escaped shell variable in a
5026 # double_quote_subst'ed string.
5027 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5028
5029 # Sed substitution to delay expansion of an escaped single quote.
5030 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5031
5032 # Sed substitution to avoid accidental globbing in evaled expressions
5033 no_glob_subst='s/\*/\\\*/g'
5034
5035 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5036 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5037 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5038
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5040 $as_echo_n "checking how to print strings... " >&6; }
5041 # Test print first, because it will be a builtin if present.
5042 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5043 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5044 ECHO='print -r --'
5045 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5046 ECHO='printf %s\n'
5047 else
5048 # Use this function as a fallback that always works.
5049 func_fallback_echo ()
5050 {
5051 eval 'cat <<_LTECHO_EOF
5052 $1
5053 _LTECHO_EOF'
5054 }
5055 ECHO='func_fallback_echo'
5056 fi
5057
5058 # func_echo_all arg...
5059 # Invoke $ECHO with all args, space-separated.
5060 func_echo_all ()
5061 {
5062 $ECHO ""
5063 }
5064
5065 case $ECHO in
5066 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5067 $as_echo "printf" >&6; } ;;
5068 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5069 $as_echo "print -r" >&6; } ;;
5070 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5071 $as_echo "cat" >&6; } ;;
5072 esac
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5088 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5089 if ${ac_cv_path_SED+:} false; then :
5090 $as_echo_n "(cached) " >&6
5091 else
5092 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5093 for ac_i in 1 2 3 4 5 6 7; do
5094 ac_script="$ac_script$as_nl$ac_script"
5095 done
5096 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5097 { ac_script=; unset ac_script;}
5098 if test -z "$SED"; then
5099 ac_path_SED_found=false
5100 # Loop through the user's path and test for each of PROGNAME-LIST
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 for as_dir in $PATH
5103 do
5104 IFS=$as_save_IFS
5105 test -z "$as_dir" && as_dir=.
5106 for ac_prog in sed gsed; do
5107 for ac_exec_ext in '' $ac_executable_extensions; do
5108 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5109 as_fn_executable_p "$ac_path_SED" || continue
5110 # Check for GNU ac_path_SED and select it if it is found.
5111 # Check for GNU $ac_path_SED
5112 case `"$ac_path_SED" --version 2>&1` in
5113 *GNU*)
5114 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5115 *)
5116 ac_count=0
5117 $as_echo_n 0123456789 >"conftest.in"
5118 while :
5119 do
5120 cat "conftest.in" "conftest.in" >"conftest.tmp"
5121 mv "conftest.tmp" "conftest.in"
5122 cp "conftest.in" "conftest.nl"
5123 $as_echo '' >> "conftest.nl"
5124 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5125 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5126 as_fn_arith $ac_count + 1 && ac_count=$as_val
5127 if test $ac_count -gt ${ac_path_SED_max-0}; then
5128 # Best one so far, save it but keep looking for a better one
5129 ac_cv_path_SED="$ac_path_SED"
5130 ac_path_SED_max=$ac_count
5131 fi
5132 # 10*(2^10) chars as input seems more than enough
5133 test $ac_count -gt 10 && break
5134 done
5135 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5136 esac
5137
5138 $ac_path_SED_found && break 3
5139 done
5140 done
5141 done
5142 IFS=$as_save_IFS
5143 if test -z "$ac_cv_path_SED"; then
5144 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5145 fi
5146 else
5147 ac_cv_path_SED=$SED
5148 fi
5149
5150 fi
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5152 $as_echo "$ac_cv_path_SED" >&6; }
5153 SED="$ac_cv_path_SED"
5154 rm -f conftest.sed
5155
5156 test -z "$SED" && SED=sed
5157 Xsed="$SED -e 1s/^X//"
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5170 $as_echo_n "checking for fgrep... " >&6; }
5171 if ${ac_cv_path_FGREP+:} false; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5175 then ac_cv_path_FGREP="$GREP -F"
5176 else
5177 if test -z "$FGREP"; then
5178 ac_path_FGREP_found=false
5179 # Loop through the user's path and test for each of PROGNAME-LIST
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5182 do
5183 IFS=$as_save_IFS
5184 test -z "$as_dir" && as_dir=.
5185 for ac_prog in fgrep; do
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5188 as_fn_executable_p "$ac_path_FGREP" || continue
5189 # Check for GNU ac_path_FGREP and select it if it is found.
5190 # Check for GNU $ac_path_FGREP
5191 case `"$ac_path_FGREP" --version 2>&1` in
5192 *GNU*)
5193 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5194 *)
5195 ac_count=0
5196 $as_echo_n 0123456789 >"conftest.in"
5197 while :
5198 do
5199 cat "conftest.in" "conftest.in" >"conftest.tmp"
5200 mv "conftest.tmp" "conftest.in"
5201 cp "conftest.in" "conftest.nl"
5202 $as_echo 'FGREP' >> "conftest.nl"
5203 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5204 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5205 as_fn_arith $ac_count + 1 && ac_count=$as_val
5206 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5207 # Best one so far, save it but keep looking for a better one
5208 ac_cv_path_FGREP="$ac_path_FGREP"
5209 ac_path_FGREP_max=$ac_count
5210 fi
5211 # 10*(2^10) chars as input seems more than enough
5212 test $ac_count -gt 10 && break
5213 done
5214 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5215 esac
5216
5217 $ac_path_FGREP_found && break 3
5218 done
5219 done
5220 done
5221 IFS=$as_save_IFS
5222 if test -z "$ac_cv_path_FGREP"; then
5223 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5224 fi
5225 else
5226 ac_cv_path_FGREP=$FGREP
5227 fi
5228
5229 fi
5230 fi
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5232 $as_echo "$ac_cv_path_FGREP" >&6; }
5233 FGREP="$ac_cv_path_FGREP"
5234
5235
5236 test -z "$GREP" && GREP=grep
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256 # Check whether --with-gnu-ld was given.
5257 if test "${with_gnu_ld+set}" = set; then :
5258 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5259 else
5260 with_gnu_ld=no
5261 fi
5262
5263 ac_prog=ld
5264 if test yes = "$GCC"; then
5265 # Check if gcc -print-prog-name=ld gives a path.
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5267 $as_echo_n "checking for ld used by $CC... " >&6; }
5268 case $host in
5269 *-*-mingw*)
5270 # gcc leaves a trailing carriage return, which upsets mingw
5271 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5272 *)
5273 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5274 esac
5275 case $ac_prog in
5276 # Accept absolute paths.
5277 [\\/]* | ?:[\\/]*)
5278 re_direlt='/[^/][^/]*/\.\./'
5279 # Canonicalize the pathname of ld
5280 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5281 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5282 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5283 done
5284 test -z "$LD" && LD=$ac_prog
5285 ;;
5286 "")
5287 # If it fails, then pretend we aren't using GCC.
5288 ac_prog=ld
5289 ;;
5290 *)
5291 # If it is relative, then search for the first ld in PATH.
5292 with_gnu_ld=unknown
5293 ;;
5294 esac
5295 elif test yes = "$with_gnu_ld"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5297 $as_echo_n "checking for GNU ld... " >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5300 $as_echo_n "checking for non-GNU ld... " >&6; }
5301 fi
5302 if ${lt_cv_path_LD+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 if test -z "$LD"; then
5306 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5307 for ac_dir in $PATH; do
5308 IFS=$lt_save_ifs
5309 test -z "$ac_dir" && ac_dir=.
5310 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5311 lt_cv_path_LD=$ac_dir/$ac_prog
5312 # Check to see if the program is GNU ld. I'd rather use --version,
5313 # but apparently some variants of GNU ld only accept -v.
5314 # Break only if it was the GNU/non-GNU ld that we prefer.
5315 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5316 *GNU* | *'with BFD'*)
5317 test no != "$with_gnu_ld" && break
5318 ;;
5319 *)
5320 test yes != "$with_gnu_ld" && break
5321 ;;
5322 esac
5323 fi
5324 done
5325 IFS=$lt_save_ifs
5326 else
5327 lt_cv_path_LD=$LD # Let the user override the test with a path.
5328 fi
5329 fi
5330
5331 LD=$lt_cv_path_LD
5332 if test -n "$LD"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5334 $as_echo "$LD" >&6; }
5335 else
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5338 fi
5339 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5341 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5342 if ${lt_cv_prog_gnu_ld+:} false; then :
5343 $as_echo_n "(cached) " >&6
5344 else
5345 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5346 case `$LD -v 2>&1 </dev/null` in
5347 *GNU* | *'with BFD'*)
5348 lt_cv_prog_gnu_ld=yes
5349 ;;
5350 *)
5351 lt_cv_prog_gnu_ld=no
5352 ;;
5353 esac
5354 fi
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5356 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5357 with_gnu_ld=$lt_cv_prog_gnu_ld
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5368 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5369 if ${lt_cv_path_NM+:} false; then :
5370 $as_echo_n "(cached) " >&6
5371 else
5372 if test -n "$NM"; then
5373 # Let the user override the test.
5374 lt_cv_path_NM=$NM
5375 else
5376 lt_nm_to_check=${ac_tool_prefix}nm
5377 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5378 lt_nm_to_check="$lt_nm_to_check nm"
5379 fi
5380 for lt_tmp_nm in $lt_nm_to_check; do
5381 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5382 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5383 IFS=$lt_save_ifs
5384 test -z "$ac_dir" && ac_dir=.
5385 tmp_nm=$ac_dir/$lt_tmp_nm
5386 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5387 # Check to see if the nm accepts a BSD-compat flag.
5388 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5389 # nm: unknown option "B" ignored
5390 # Tru64's nm complains that /dev/null is an invalid object file
5391 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5392 case $build_os in
5393 mingw*) lt_bad_file=conftest.nm/nofile ;;
5394 *) lt_bad_file=/dev/null ;;
5395 esac
5396 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5397 *$lt_bad_file* | *'Invalid file or object type'*)
5398 lt_cv_path_NM="$tmp_nm -B"
5399 break 2
5400 ;;
5401 *)
5402 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5403 */dev/null*)
5404 lt_cv_path_NM="$tmp_nm -p"
5405 break 2
5406 ;;
5407 *)
5408 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5409 continue # so that we can try to find one that supports BSD flags
5410 ;;
5411 esac
5412 ;;
5413 esac
5414 fi
5415 done
5416 IFS=$lt_save_ifs
5417 done
5418 : ${lt_cv_path_NM=no}
5419 fi
5420 fi
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5422 $as_echo "$lt_cv_path_NM" >&6; }
5423 if test no != "$lt_cv_path_NM"; then
5424 NM=$lt_cv_path_NM
5425 else
5426 # Didn't find any BSD compatible name lister, look for dumpbin.
5427 if test -n "$DUMPBIN"; then :
5428 # Let the user override the test.
5429 else
5430 if test -n "$ac_tool_prefix"; then
5431 for ac_prog in dumpbin "link -dump"
5432 do
5433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_DUMPBIN+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 if test -n "$DUMPBIN"; then
5441 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5445 do
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5453 fi
5454 done
5455 done
5456 IFS=$as_save_IFS
5457
5458 fi
5459 fi
5460 DUMPBIN=$ac_cv_prog_DUMPBIN
5461 if test -n "$DUMPBIN"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5463 $as_echo "$DUMPBIN" >&6; }
5464 else
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5467 fi
5468
5469
5470 test -n "$DUMPBIN" && break
5471 done
5472 fi
5473 if test -z "$DUMPBIN"; then
5474 ac_ct_DUMPBIN=$DUMPBIN
5475 for ac_prog in dumpbin "link -dump"
5476 do
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy $ac_prog; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 if test -n "$ac_ct_DUMPBIN"; then
5485 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5489 do
5490 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 break 2
5497 fi
5498 done
5499 done
5500 IFS=$as_save_IFS
5501
5502 fi
5503 fi
5504 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5505 if test -n "$ac_ct_DUMPBIN"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5507 $as_echo "$ac_ct_DUMPBIN" >&6; }
5508 else
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5511 fi
5512
5513
5514 test -n "$ac_ct_DUMPBIN" && break
5515 done
5516
5517 if test "x$ac_ct_DUMPBIN" = x; then
5518 DUMPBIN=":"
5519 else
5520 case $cross_compiling:$ac_tool_warned in
5521 yes:)
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned=yes ;;
5525 esac
5526 DUMPBIN=$ac_ct_DUMPBIN
5527 fi
5528 fi
5529
5530 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5531 *COFF*)
5532 DUMPBIN="$DUMPBIN -symbols -headers"
5533 ;;
5534 *)
5535 DUMPBIN=:
5536 ;;
5537 esac
5538 fi
5539
5540 if test : != "$DUMPBIN"; then
5541 NM=$DUMPBIN
5542 fi
5543 fi
5544 test -z "$NM" && NM=nm
5545
5546
5547
5548
5549
5550
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5552 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5553 if ${lt_cv_nm_interface+:} false; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 lt_cv_nm_interface="BSD nm"
5557 echo "int some_variable = 0;" > conftest.$ac_ext
5558 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5559 (eval "$ac_compile" 2>conftest.err)
5560 cat conftest.err >&5
5561 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5562 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5563 cat conftest.err >&5
5564 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5565 cat conftest.out >&5
5566 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5567 lt_cv_nm_interface="MS dumpbin"
5568 fi
5569 rm -f conftest*
5570 fi
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5572 $as_echo "$lt_cv_nm_interface" >&6; }
5573
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5