Debian Codegraph @

comedi-calibrate/configure

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for comedi_calibrate 5.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
298 {
299 return $1
300 } # as_fn_set_status
301
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
306 {
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
311
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
316 {
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
364 {
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378 else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383 fi # as_fn_append
384
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395 else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400 fi # as_fn_arith
401
402
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
409 {
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
418
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
424 fi
425
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
430 fi
431
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
436 fi
437
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
445 q
446 }
447 /^X\/\(\/\/\)$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\).*/{
452 s//\1/
453 q
454 }
455 s/.*/./; q'`
456
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
471 p
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
477 b
478 :lineno
479 N
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
498 }
499
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
509 *)
510 ECHO_N='-n';;
511 esac
512
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
519 fi
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
533 fi
534 else
535 as_ln_s='cp -pR'
536 fi
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
539
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
559
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME='comedi_calibrate'
579 PACKAGE_TARNAME='comedi_calibrate'
580 PACKAGE_VERSION='5'
581 PACKAGE_STRING='comedi_calibrate 5'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
584
585 ac_unique_file="comedi_calibrate/comedi_calibrate.c"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 # include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 # include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
621
622 ac_subst_vars='am__EXEEXT_FALSE
623 am__EXEEXT_TRUE
624 LTLIBOBJS
625 LIBOBJS
626 COMEDI_CALIBRATE_CFLAGS
627 CXXCPP
628 EGREP
629 GREP
630 CPP
631 RANLIB
632 am__fastdepCXX_FALSE
633 am__fastdepCXX_TRUE
634 CXXDEPMODE
635 ac_ct_CXX
636 CXXFLAGS
637 CXX
638 am__fastdepCC_FALSE
639 am__fastdepCC_TRUE
640 CCDEPMODE
641 am__nodep
642 AMDEPBACKSLASH
643 AMDEP_FALSE
644 AMDEP_TRUE
645 am__quote
646 am__include
647 DEPDIR
648 OBJEXT
649 EXEEXT
650 ac_ct_CC
651 CPPFLAGS
652 LDFLAGS
653 CFLAGS
654 CC
655 MAINT
656 MAINTAINER_MODE_FALSE
657 MAINTAINER_MODE_TRUE
658 AM_BACKSLASH
659 AM_DEFAULT_VERBOSITY
660 AM_DEFAULT_V
661 AM_V
662 am__untar
663 am__tar
664 AMTAR
665 am__leading_dot
666 SET_MAKE
667 AWK
668 mkdir_p
669 MKDIR_P
670 INSTALL_STRIP_PROGRAM
671 STRIP
672 install_sh
673 MAKEINFO
674 AUTOHEADER
675 AUTOMAKE
676 AUTOCONF
677 ACLOCAL
678 VERSION
679 PACKAGE
680 CYGPATH_W
681 am__isrc
682 INSTALL_DATA
683 INSTALL_SCRIPT
684 INSTALL_PROGRAM
685 target_alias
686 host_alias
687 build_alias
688 LIBS
689 ECHO_T
690 ECHO_N
691 ECHO_C
692 DEFS
693 mandir
694 localedir
695 libdir
696 psdir
697 pdfdir
698 dvidir
699 htmldir
700 infodir
701 docdir
702 oldincludedir
703 includedir
704 runstatedir
705 localstatedir
706 sharedstatedir
707 sysconfdir
708 datadir
709 datarootdir
710 libexecdir
711 sbindir
712 bindir
713 program_transform_name
714 prefix
715 exec_prefix
716 PACKAGE_URL
717 PACKAGE_BUGREPORT
718 PACKAGE_STRING
719 PACKAGE_VERSION
720 PACKAGE_TARNAME
721 PACKAGE_NAME
722 PATH_SEPARATOR
723 SHELL'
724 ac_subst_files=''
725 ac_user_opts='
726 enable_option_checking
727 enable_silent_rules
728 enable_maintainer_mode
729 enable_dependency_tracking
730 '
731 ac_precious_vars='build_alias
732 host_alias
733 target_alias
734 CC
735 CFLAGS
736 LDFLAGS
737 LIBS
738 CPPFLAGS
739 CXX
740 CXXFLAGS
741 CCC
742 CPP
743 CXXCPP'
744
745
746 # Initialize some variables set by options.
747 ac_init_help=
748 ac_init_version=false
749 ac_unrecognized_opts=
750 ac_unrecognized_sep=
751 # The variables have the same names as the options, with
752 # dashes changed to underlines.
753 cache_file=/dev/null
754 exec_prefix=NONE
755 no_create=
756 no_recursion=
757 prefix=NONE
758 program_prefix=NONE
759 program_suffix=NONE
760 program_transform_name=s,x,x,
761 silent=
762 site=
763 srcdir=
764 verbose=
765 x_includes=NONE
766 x_libraries=NONE
767
768 # Installation directory options.
769 # These are left unexpanded so users can "make install exec_prefix=/foo"
770 # and all the variables that are supposed to be based on exec_prefix
771 # by default will actually change.
772 # Use braces instead of parens because sh, perl, etc. also accept them.
773 # (The list follows the same order as the GNU Coding Standards.)
774 bindir='${exec_prefix}/bin'
775 sbindir='${exec_prefix}/sbin'
776 libexecdir='${exec_prefix}/libexec'
777 datarootdir='${prefix}/share'
778 datadir='${datarootdir}'
779 sysconfdir='${prefix}/etc'
780 sharedstatedir='${prefix}/com'
781 localstatedir='${prefix}/var'
782 runstatedir='${localstatedir}/run'
783 includedir='${prefix}/include'
784 oldincludedir='/usr/include'
785 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
786 infodir='${datarootdir}/info'
787 htmldir='${docdir}'
788 dvidir='${docdir}'
789 pdfdir='${docdir}'
790 psdir='${docdir}'
791 libdir='${exec_prefix}/lib'
792 localedir='${datarootdir}/locale'
793 mandir='${datarootdir}/man'
794
795 ac_prev=
796 ac_dashdash=
797 for ac_option
798 do
799 # If the previous option needs an argument, assign it.
800 if test -n "$ac_prev"; then
801 eval $ac_prev=\$ac_option
802 ac_prev=
803 continue
804 fi
805
806 case $ac_option in
807 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808 *=) ac_optarg= ;;
809 *) ac_optarg=yes ;;
810 esac
811
812 # Accept the important Cygnus configure options, so we can diagnose typos.
813
814 case $ac_dashdash$ac_option in
815 --)
816 ac_dashdash=yes ;;
817
818 -bindir | --bindir | --bindi | --bind | --bin | --bi)
819 ac_prev=bindir ;;
820 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
821 bindir=$ac_optarg ;;
822
823 -build | --build | --buil | --bui | --bu)
824 ac_prev=build_alias ;;
825 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
826 build_alias=$ac_optarg ;;
827
828 -cache-file | --cache-file | --cache-fil | --cache-fi \
829 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
830 ac_prev=cache_file ;;
831 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
832 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
833 cache_file=$ac_optarg ;;
834
835 --config-cache | -C)
836 cache_file=config.cache ;;
837
838 -datadir | --datadir | --datadi | --datad)
839 ac_prev=datadir ;;
840 -datadir=* | --datadir=* | --datadi=* | --datad=*)
841 datadir=$ac_optarg ;;
842
843 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
844 | --dataroo | --dataro | --datar)
845 ac_prev=datarootdir ;;
846 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
847 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
848 datarootdir=$ac_optarg ;;
849
850 -disable-* | --disable-*)
851 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
854 as_fn_error $? "invalid feature name: $ac_useropt"
855 ac_useropt_orig=$ac_useropt
856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
858 *"
859 "enable_$ac_useropt"
860 "*) ;;
861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
862 ac_unrecognized_sep=', ';;
863 esac
864 eval enable_$ac_useropt=no ;;
865
866 -docdir | --docdir | --docdi | --doc | --do)
867 ac_prev=docdir ;;
868 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
869 docdir=$ac_optarg ;;
870
871 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
872 ac_prev=dvidir ;;
873 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
874 dvidir=$ac_optarg ;;
875
876 -enable-* | --enable-*)
877 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
880 as_fn_error $? "invalid feature name: $ac_useropt"
881 ac_useropt_orig=$ac_useropt
882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
884 *"
885 "enable_$ac_useropt"
886 "*) ;;
887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
888 ac_unrecognized_sep=', ';;
889 esac
890 eval enable_$ac_useropt=\$ac_optarg ;;
891
892 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
893 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
894 | --exec | --exe | --ex)
895 ac_prev=exec_prefix ;;
896 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
897 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
898 | --exec=* | --exe=* | --ex=*)
899 exec_prefix=$ac_optarg ;;
900
901 -gas | --gas | --ga | --g)
902 # Obsolete; use --with-gas.
903 with_gas=yes ;;
904
905 -help | --help | --hel | --he | -h)
906 ac_init_help=long ;;
907 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
908 ac_init_help=recursive ;;
909 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
910 ac_init_help=short ;;
911
912 -host | --host | --hos | --ho)
913 ac_prev=host_alias ;;
914 -host=* | --host=* | --hos=* | --ho=*)
915 host_alias=$ac_optarg ;;
916
917 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
918 ac_prev=htmldir ;;
919 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
920 | --ht=*)
921 htmldir=$ac_optarg ;;
922
923 -includedir | --includedir | --includedi | --included | --include \
924 | --includ | --inclu | --incl | --inc)
925 ac_prev=includedir ;;
926 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
927 | --includ=* | --inclu=* | --incl=* | --inc=*)
928 includedir=$ac_optarg ;;
929
930 -infodir | --infodir | --infodi | --infod | --info | --inf)
931 ac_prev=infodir ;;
932 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
933 infodir=$ac_optarg ;;
934
935 -libdir | --libdir | --libdi | --libd)
936 ac_prev=libdir ;;
937 -libdir=* | --libdir=* | --libdi=* | --libd=*)
938 libdir=$ac_optarg ;;
939
940 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
941 | --libexe | --libex | --libe)
942 ac_prev=libexecdir ;;
943 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
944 | --libexe=* | --libex=* | --libe=*)
945 libexecdir=$ac_optarg ;;
946
947 -localedir | --localedir | --localedi | --localed | --locale)
948 ac_prev=localedir ;;
949 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
950 localedir=$ac_optarg ;;
951
952 -localstatedir | --localstatedir | --localstatedi | --localstated \
953 | --localstate | --localstat | --localsta | --localst | --locals)
954 ac_prev=localstatedir ;;
955 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
956 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
957 localstatedir=$ac_optarg ;;
958
959 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
960 ac_prev=mandir ;;
961 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
962 mandir=$ac_optarg ;;
963
964 -nfp | --nfp | --nf)
965 # Obsolete; use --without-fp.
966 with_fp=no ;;
967
968 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
969 | --no-cr | --no-c | -n)
970 no_create=yes ;;
971
972 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
973 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
974 no_recursion=yes ;;
975
976 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
977 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
978 | --oldin | --oldi | --old | --ol | --o)
979 ac_prev=oldincludedir ;;
980 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
981 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
982 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
983 oldincludedir=$ac_optarg ;;
984
985 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
986 ac_prev=prefix ;;
987 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
988 prefix=$ac_optarg ;;
989
990 -program-prefix | --program-prefix | --program-prefi | --program-pref \
991 | --program-pre | --program-pr | --program-p)
992 ac_prev=program_prefix ;;
993 -program-prefix=* | --program-prefix=* | --program-prefi=* \
994 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
995 program_prefix=$ac_optarg ;;
996
997 -program-suffix | --program-suffix | --program-suffi | --program-suff \
998 | --program-suf | --program-su | --program-s)
999 ac_prev=program_suffix ;;
1000 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1001 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1002 program_suffix=$ac_optarg ;;
1003
1004 -program-transform-name | --program-transform-name \
1005 | --program-transform-nam | --program-transform-na \
1006 | --program-transform-n | --program-transform- \
1007 | --program-transform | --program-transfor \
1008 | --program-transfo | --program-transf \
1009 | --program-trans | --program-tran \
1010 | --progr-tra | --program-tr | --program-t)
1011 ac_prev=program_transform_name ;;
1012 -program-transform-name=* | --program-transform-name=* \
1013 | --program-transform-nam=* | --program-transform-na=* \
1014 | --program-transform-n=* | --program-transform-=* \
1015 | --program-transform=* | --program-transfor=* \
1016 | --program-transfo=* | --program-transf=* \
1017 | --program-trans=* | --program-tran=* \
1018 | --progr-tra=* | --program-tr=* | --program-t=*)
1019 program_transform_name=$ac_optarg ;;
1020
1021 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1022 ac_prev=pdfdir ;;
1023 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1024 pdfdir=$ac_optarg ;;
1025
1026 -psdir | --psdir | --psdi | --psd | --ps)
1027 ac_prev=psdir ;;
1028 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1029 psdir=$ac_optarg ;;
1030
1031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1032 | -silent | --silent | --silen | --sile | --sil)
1033 silent=yes ;;
1034
1035 -runstatedir | --runstatedir | --runstatedi | --runstated \
1036 | --runstate | --runstat | --runsta | --runst | --runs \
1037 | --run | --ru | --r)
1038 ac_prev=runstatedir ;;
1039 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1040 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1041 | --run=* | --ru=* | --r=*)
1042 runstatedir=$ac_optarg ;;
1043
1044 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1045 ac_prev=sbindir ;;
1046 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1047 | --sbi=* | --sb=*)
1048 sbindir=$ac_optarg ;;
1049
1050 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1051 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052 | --sharedst | --shareds | --shared | --share | --shar \
1053 | --sha | --sh)
1054 ac_prev=sharedstatedir ;;
1055 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1058 | --sha=* | --sh=*)
1059 sharedstatedir=$ac_optarg ;;
1060
1061 -site | --site | --sit)
1062 ac_prev=site ;;
1063 -site=* | --site=* | --sit=*)
1064 site=$ac_optarg ;;
1065
1066 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1067 ac_prev=srcdir ;;
1068 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069 srcdir=$ac_optarg ;;
1070
1071 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072 | --syscon | --sysco | --sysc | --sys | --sy)
1073 ac_prev=sysconfdir ;;
1074 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076 sysconfdir=$ac_optarg ;;
1077
1078 -target | --target | --targe | --targ | --tar | --ta | --t)
1079 ac_prev=target_alias ;;
1080 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081 target_alias=$ac_optarg ;;
1082
1083 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1084 verbose=yes ;;
1085
1086 -version | --version | --versio | --versi | --vers | -V)
1087 ac_init_version=: ;;
1088
1089 -with-* | --with-*)
1090 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error $? "invalid package name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1097 *"
1098 "with_$ac_useropt"
1099 "*) ;;
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1102 esac
1103 eval with_$ac_useropt=\$ac_optarg ;;
1104
1105 -without-* | --without-*)
1106 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109 as_fn_error $? "invalid package name: $ac_useropt"
1110 ac_useropt_orig=$ac_useropt
1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1113 *"
1114 "with_$ac_useropt"
1115 "*) ;;
1116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117 ac_unrecognized_sep=', ';;
1118 esac
1119 eval with_$ac_useropt=no ;;
1120
1121 --x)
1122 # Obsolete; use --with-x.
1123 with_x=yes ;;
1124
1125 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1126 | --x-incl | --x-inc | --x-in | --x-i)
1127 ac_prev=x_includes ;;
1128 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1129 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1130 x_includes=$ac_optarg ;;
1131
1132 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1133 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1134 ac_prev=x_libraries ;;
1135 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1136 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137 x_libraries=$ac_optarg ;;
1138
1139 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1140 Try \`$0 --help' for more information"
1141 ;;
1142
1143 *=*)
1144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 case $ac_envvar in #(
1147 '' | [0-9]* | *[!_$as_cr_alnum]* )
1148 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1149 esac
1150 eval $ac_envvar=\$ac_optarg
1151 export $ac_envvar ;;
1152
1153 *)
1154 # FIXME: should be removed in autoconf 3.0.
1155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1159 ;;
1160
1161 esac
1162 done
1163
1164 if test -n "$ac_prev"; then
1165 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166 as_fn_error $? "missing argument to $ac_option"
1167 fi
1168
1169 if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1171 no) ;;
1172 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174 esac
1175 fi
1176
1177 # Check all directory arguments for consistency.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir runstatedir
1182 do
1183 eval ac_val=\$$ac_var
1184 # Remove trailing slashes.
1185 case $ac_val in
1186 */ )
1187 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188 eval $ac_var=\$ac_val;;
1189 esac
1190 # Be sure to have absolute directory names.
1191 case $ac_val in
1192 [\\/$]* | ?:[\\/]* ) continue;;
1193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1194 esac
1195 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1196 done
1197
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1201 build=$build_alias
1202 host=$host_alias
1203 target=$target_alias
1204
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x; then
1207 if test "x$build_alias" = x; then
1208 cross_compiling=maybe
1209 elif test "x$build_alias" != "x$host_alias"; then
1210 cross_compiling=yes
1211 fi
1212 fi
1213
1214 ac_tool_prefix=
1215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1216
1217 test "$silent" = yes && exec 6>/dev/null
1218
1219
1220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di=`ls -di .` &&
1222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1223 as_fn_error $? "working directory cannot be determined"
1224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1225 as_fn_error $? "pwd does not report name of working directory"
1226
1227
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$as_myself" ||
1233 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$as_myself" : 'X\(//\)[^/]' \| \
1235 X"$as_myself" : 'X\(//\)$' \| \
1236 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1237 $as_echo X"$as_myself" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 s//\1/
1240 q
1241 }
1242 /^X\(\/\/\)[^/].*/{
1243 s//\1/
1244 q
1245 }
1246 /^X\(\/\/\)$/{
1247 s//\1/
1248 q
1249 }
1250 /^X\(\/\).*/{
1251 s//\1/
1252 q
1253 }
1254 s/.*/./; q'`
1255 srcdir=$ac_confdir
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 srcdir=..
1258 fi
1259 else
1260 ac_srcdir_defaulted=no
1261 fi
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1265 fi
1266 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 ac_abs_confdir=`(
1268 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1269 pwd)`
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 srcdir=.
1273 fi
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1277 case $srcdir in
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 esac
1280 for ac_var in $ac_precious_vars; do
1281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_${ac_var}_value=\$${ac_var}
1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 done
1286
1287 #
1288 # Report the --help message.
1289 #
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1293 cat <<_ACEOF
1294 \`configure' configures comedi_calibrate 5 to adapt to many kinds of systems.
1295
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1297
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1300
1301 Defaults for the options are specified in brackets.
1302
1303 Configuration:
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking ...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 [PREFIX]
1319
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1324
1325 For better control, use the options below.
1326
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1335 --libdir=DIR object code libraries [EPREFIX/lib]
1336 --includedir=DIR C header files [PREFIX/include]
1337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340 --infodir=DIR info documentation [DATAROOTDIR/info]
1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342 --mandir=DIR man documentation [DATAROOTDIR/man]
1343 --docdir=DIR documentation root
1344 [DATAROOTDIR/doc/comedi_calibrate]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1349 _ACEOF
1350
1351 cat <<\_ACEOF
1352
1353 Program names:
1354 --program-prefix=PREFIX prepend PREFIX to installed program names
1355 --program-suffix=SUFFIX append SUFFIX to installed program names
1356 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1357 _ACEOF
1358 fi
1359
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive ) echo "Configuration of comedi_calibrate 5:";;
1363 esac
1364 cat <<\_ACEOF
1365
1366 Optional Features:
1367 --disable-option-checking ignore unrecognized --enable/--with options
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --enable-silent-rules less verbose build output (undo: "make V=1")
1371 --disable-silent-rules verbose build output (undo: "make V=0")
1372 --disable-maintainer-mode
1373 disable make rules and dependencies not useful (and
1374 sometimes confusing) to the casual installer
1375 --enable-dependency-tracking
1376 do not reject slow dependency extractors
1377 --disable-dependency-tracking
1378 speeds up one-time build
1379
1380 Some influential environment variables:
1381 CC C compiler command
1382 CFLAGS C compiler flags
1383 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1384 nonstandard directory <lib dir>
1385 LIBS libraries to pass to the linker, e.g. -l<library>
1386 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1387 you have headers in a nonstandard directory <include dir>
1388 CXX C++ compiler command
1389 CXXFLAGS C++ compiler flags
1390 CPP C preprocessor
1391 CXXCPP C++ preprocessor
1392
1393 Use these variables to override the choices made by `configure' or to help
1394 it to find libraries and programs with nonstandard names/locations.
1395
1396 Report bugs to the package provider.
1397 _ACEOF
1398 ac_status=$?
1399 fi
1400
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1404 test -d "$ac_dir" ||
1405 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406 continue
1407 ac_builddir=.
1408
1409 case "$ac_dir" in
1410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 *)
1412 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1418 esac ;;
1419 esac
1420 ac_abs_top_builddir=$ac_pwd
1421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir=$ac_top_build_prefix
1424
1425 case $srcdir in
1426 .) # We are building in place.
1427 ac_srcdir=.
1428 ac_top_srcdir=$ac_top_builddir_sub
1429 ac_abs_top_srcdir=$ac_pwd ;;
1430 [\\/]* | ?:[\\/]* ) # Absolute name.
1431 ac_srcdir=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir=$srcdir
1433 ac_abs_top_srcdir=$srcdir ;;
1434 *) # Relative name.
1435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 esac
1439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440
1441 cd "$ac_dir" || { ac_status=$?; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1447 echo &&
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1449 else
1450 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 fi || ac_status=$?
1452 cd "$ac_pwd" || { ac_status=$?; break; }
1453 done
1454 fi
1455
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1458 cat <<\_ACEOF
1459 comedi_calibrate configure 5
1460 generated by GNU Autoconf 2.69
1461
1462 Copyright (C) 2012 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1467 fi
1468
1469 ## ------------------------ ##
1470 ## Autoconf initialization. ##
1471 ## ------------------------ ##
1472
1473 # ac_fn_c_try_compile LINENO
1474 # --------------------------
1475 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1476 ac_fn_c_try_compile ()
1477 {
1478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1479 rm -f conftest.$ac_objext
1480 if { { ac_try="$ac_compile"
1481 case "(($ac_try" in
1482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1483 *) ac_try_echo=$ac_try;;
1484 esac
1485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1486 $as_echo "$ac_try_echo"; } >&5
1487 (eval "$ac_compile") 2>conftest.err
1488 ac_status=$?
1489 if test -s conftest.err; then
1490 grep -v '^ *+' conftest.err >conftest.er1
1491 cat conftest.er1 >&5
1492 mv -f conftest.er1 conftest.err
1493 fi
1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1495 test $ac_status = 0; } && {
1496 test -z "$ac_c_werror_flag" ||
1497 test ! -s conftest.err
1498 } && test -s conftest.$ac_objext; then :
1499 ac_retval=0
1500 else
1501 $as_echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.$ac_ext >&5
1503
1504 ac_retval=1
1505 fi
1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1507 as_fn_set_status $ac_retval
1508
1509 } # ac_fn_c_try_compile
1510
1511 # ac_fn_c_try_link LINENO
1512 # -----------------------
1513 # Try to link conftest.$ac_ext, and return whether this succeeded.
1514 ac_fn_c_try_link ()
1515 {
1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1517 rm -f conftest.$ac_objext conftest$ac_exeext
1518 if { { ac_try="$ac_link"
1519 case "(($ac_try" in
1520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1521 *) ac_try_echo=$ac_try;;
1522 esac
1523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1524 $as_echo "$ac_try_echo"; } >&5
1525 (eval "$ac_link") 2>conftest.err
1526 ac_status=$?
1527 if test -s conftest.err; then
1528 grep -v '^ *+' conftest.err >conftest.er1
1529 cat conftest.er1 >&5
1530 mv -f conftest.er1 conftest.err
1531 fi
1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533 test $ac_status = 0; } && {
1534 test -z "$ac_c_werror_flag" ||
1535 test ! -s conftest.err
1536 } && test -s conftest$ac_exeext && {
1537 test "$cross_compiling" = yes ||
1538 test -x conftest$ac_exeext
1539 }; then :
1540 ac_retval=0
1541 else
1542 $as_echo "$as_me: failed program was:" >&5
1543 sed 's/^/| /' conftest.$ac_ext >&5
1544
1545 ac_retval=1
1546 fi
1547 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1548 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1549 # interfere with the next link command; also delete a directory that is
1550 # left behind by Apple's compiler. We do this before executing the actions.
1551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553 as_fn_set_status $ac_retval
1554
1555 } # ac_fn_c_try_link
1556
1557 # ac_fn_cxx_try_compile LINENO
1558 # ----------------------------
1559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1560 ac_fn_cxx_try_compile ()
1561 {
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 rm -f conftest.$ac_objext
1564 if { { ac_try="$ac_compile"
1565 case "(($ac_try" in
1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
1568 esac
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_compile") 2>conftest.err
1572 ac_status=$?
1573 if test -s conftest.err; then
1574 grep -v '^ *+' conftest.err >conftest.er1
1575 cat conftest.er1 >&5
1576 mv -f conftest.er1 conftest.err
1577 fi
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && {
1580 test -z "$ac_cxx_werror_flag" ||
1581 test ! -s conftest.err
1582 } && test -s conftest.$ac_objext; then :
1583 ac_retval=0
1584 else
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1587
1588 ac_retval=1
1589 fi
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 as_fn_set_status $ac_retval
1592
1593 } # ac_fn_cxx_try_compile
1594
1595 # ac_fn_c_try_cpp LINENO
1596 # ----------------------
1597 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_cpp ()
1599 {
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 case "(($ac_try" in
1603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1605 esac
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 ac_status=$?
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1614 fi
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } > conftest.i && {
1617 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1618 test ! -s conftest.err
1619 }; then :
1620 ac_retval=0
1621 else
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1624
1625 ac_retval=1
1626 fi
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 as_fn_set_status $ac_retval
1629
1630 } # ac_fn_c_try_cpp
1631
1632 # ac_fn_c_try_run LINENO
1633 # ----------------------
1634 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1635 # that executables *can* be run.
1636 ac_fn_c_try_run ()
1637 {
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 if { { ac_try="$ac_link"
1640 case "(($ac_try" in
1641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642 *) ac_try_echo=$ac_try;;
1643 esac
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_link") 2>&5
1647 ac_status=$?
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1650 { { case "(($ac_try" in
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1653 esac
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_try") 2>&5
1657 ac_status=$?
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; }; }; then :
1660 ac_retval=0
1661 else
1662 $as_echo "$as_me: program exited with status $ac_status" >&5
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1665
1666 ac_retval=$ac_status
1667 fi
1668 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 as_fn_set_status $ac_retval
1671
1672 } # ac_fn_c_try_run
1673
1674 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1675 # -------------------------------------------------------
1676 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1677 # the include files in INCLUDES and setting the cache variable VAR
1678 # accordingly.
1679 ac_fn_c_check_header_mongrel ()
1680 {
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 if eval \${$3+:} false; then :
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if eval \${$3+:} false; then :
1686 $as_echo_n "(cached) " >&6
1687 fi
1688 eval ac_res=\$$3
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1691 else
1692 # Is the header compilable?
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1694 $as_echo_n "checking $2 usability... " >&6; }
1695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1696 /* end confdefs.h. */
1697 $4
1698 #include <$2>
1699 _ACEOF
1700 if ac_fn_c_try_compile "$LINENO"; then :
1701 ac_header_compiler=yes
1702 else
1703 ac_header_compiler=no
1704 fi
1705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1707 $as_echo "$ac_header_compiler" >&6; }
1708
1709 # Is the header present?
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1711 $as_echo_n "checking $2 presence... " >&6; }
1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1714 #include <$2>
1715 _ACEOF
1716 if ac_fn_c_try_cpp "$LINENO"; then :
1717 ac_header_preproc=yes
1718 else
1719 ac_header_preproc=no
1720 fi
1721 rm -f conftest.err conftest.i conftest.$ac_ext
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1723 $as_echo "$ac_header_preproc" >&6; }
1724
1725 # So? What about this header?
1726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1727 yes:no: )
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1729 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1732 ;;
1733 no:yes:* )
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1735 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1737 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1739 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1741 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1743 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1744 ;;
1745 esac
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \${$3+:} false; then :
1749 $as_echo_n "(cached) " >&6
1750 else
1751 eval "$3=\$ac_header_compiler"
1752 fi
1753 eval ac_res=\$$3
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755 $as_echo "$ac_res" >&6; }
1756 fi
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758
1759 } # ac_fn_c_check_header_mongrel
1760
1761 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1762 # -------------------------------------------------------
1763 # Tests whether HEADER exists and can be compiled using the include files in
1764 # INCLUDES, setting the cache variable VAR accordingly.
1765 ac_fn_c_check_header_compile ()
1766 {
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval \${$3+:} false; then :
1771 $as_echo_n "(cached) " >&6
1772 else
1773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1775 $4
1776 #include <$2>
1777 _ACEOF
1778 if ac_fn_c_try_compile "$LINENO"; then :
1779 eval "$3=yes"
1780 else
1781 eval "$3=no"
1782 fi
1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784 fi
1785 eval ac_res=\$$3
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789
1790 } # ac_fn_c_check_header_compile
1791
1792 # ac_fn_cxx_try_cpp LINENO
1793 # ------------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1795 ac_fn_cxx_try_cpp ()
1796 {
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_cpp conftest.$ac_ext"
1799 case "(($ac_try" in
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1802 esac
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1806 ac_status=$?
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1811 fi
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } > conftest.i && {
1814 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1815 test ! -s conftest.err
1816 }; then :
1817 ac_retval=0
1818 else
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1821
1822 ac_retval=1
1823 fi
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1826
1827 } # ac_fn_cxx_try_cpp
1828
1829 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1830 # ---------------------------------------------------------
1831 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1832 # the include files in INCLUDES and setting the cache variable VAR
1833 # accordingly.
1834 ac_fn_cxx_check_header_mongrel ()
1835 {
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 if eval \${$3+:} false; then :
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if eval \${$3+:} false; then :
1841 $as_echo_n "(cached) " >&6
1842 fi
1843 eval ac_res=\$$3
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845 $as_echo "$ac_res" >&6; }
1846 else
1847 # Is the header compilable?
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1849 $as_echo_n "checking $2 usability... " >&6; }
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1852 $4
1853 #include <$2>
1854 _ACEOF
1855 if ac_fn_cxx_try_compile "$LINENO"; then :
1856 ac_header_compiler=yes
1857 else
1858 ac_header_compiler=no
1859 fi
1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1862 $as_echo "$ac_header_compiler" >&6; }
1863
1864 # Is the header present?
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1866 $as_echo_n "checking $2 presence... " >&6; }
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1869 #include <$2>
1870 _ACEOF
1871 if ac_fn_cxx_try_cpp "$LINENO"; then :
1872 ac_header_preproc=yes
1873 else
1874 ac_header_preproc=no
1875 fi
1876 rm -f conftest.err conftest.i conftest.$ac_ext
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1878 $as_echo "$ac_header_preproc" >&6; }
1879
1880 # So? What about this header?
1881 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1882 yes:no: )
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1884 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1886 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1887 ;;
1888 no:yes:* )
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1890 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1892 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1894 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1896 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1898 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1899 ;;
1900 esac
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902 $as_echo_n "checking for $2... " >&6; }
1903 if eval \${$3+:} false; then :
1904 $as_echo_n "(cached) " >&6
1905 else
1906 eval "$3=\$ac_header_compiler"
1907 fi
1908 eval ac_res=\$$3
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 fi
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913
1914 } # ac_fn_cxx_check_header_mongrel
1915
1916 # ac_fn_cxx_try_link LINENO
1917 # -------------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_cxx_try_link ()
1920 {
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 rm -f conftest.$ac_objext conftest$ac_exeext
1923 if { { ac_try="$ac_link"
1924 case "(($ac_try" in
1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1927 esac
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>conftest.err
1931 ac_status=$?
1932 if test -s conftest.err; then
1933 grep -v '^ *+' conftest.err >conftest.er1
1934 cat conftest.er1 >&5
1935 mv -f conftest.er1 conftest.err
1936 fi
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_cxx_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest$ac_exeext && {
1942 test "$cross_compiling" = yes ||
1943 test -x conftest$ac_exeext
1944 }; then :
1945 ac_retval=0
1946 else
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1949
1950 ac_retval=1
1951 fi
1952 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1953 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1954 # interfere with the next link command; also delete a directory that is
1955 # left behind by Apple's compiler. We do this before executing the actions.
1956 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958 as_fn_set_status $ac_retval
1959
1960 } # ac_fn_cxx_try_link
1961 cat >config.log <<_ACEOF
1962 This file contains any messages produced by compilers while
1963 running configure, to aid debugging if configure makes a mistake.
1964
1965 It was created by comedi_calibrate $as_me 5, which was
1966 generated by GNU Autoconf 2.69. Invocation command line was
1967
1968 $ $0 $@
1969
1970 _ACEOF
1971 exec 5>>config.log
1972 {
1973 cat <<_ASUNAME
1974 ## --------- ##
1975 ## Platform. ##
1976 ## --------- ##
1977
1978 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1979 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1980 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1981 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1982 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1983
1984 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1985 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1986
1987 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1988 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1989 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1990 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1991 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1992 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1993 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1994
1995 _ASUNAME
1996
1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998 for as_dir in $PATH
1999 do
2000 IFS=$as_save_IFS
2001 test -z "$as_dir" && as_dir=.
2002 $as_echo "PATH: $as_dir"
2003 done
2004 IFS=$as_save_IFS
2005
2006 } >&5
2007
2008 cat >&5 <<_ACEOF
2009
2010
2011 ## ----------- ##
2012 ## Core tests. ##
2013 ## ----------- ##
2014
2015 _ACEOF
2016
2017
2018 # Keep a trace of the command line.
2019 # Strip out --no-create and --no-recursion so they do not pile up.
2020 # Strip out --silent because we don't want to record it for future runs.
2021 # Also quote any args containing shell meta-characters.
2022 # Make two passes to allow for proper duplicate-argument suppression.
2023 ac_configure_args=
2024 ac_configure_args0=
2025 ac_configure_args1=
2026 ac_must_keep_next=false
2027 for ac_pass in 1 2
2028 do
2029 for ac_arg
2030 do
2031 case $ac_arg in
2032 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2033 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2034 | -silent | --silent | --silen | --sile | --sil)
2035 continue ;;
2036 *\'*)
2037 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2038 esac
2039 case $ac_pass in
2040 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2041 2)
2042 as_fn_append ac_configure_args1 " '$ac_arg'"
2043 if test $ac_must_keep_next = true; then
2044 ac_must_keep_next=false # Got value, back to normal.
2045 else
2046 case $ac_arg in
2047 *=* | --config-cache | -C | -disable-* | --disable-* \
2048 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2049 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2050 | -with-* | --with-* | -without-* | --without-* | --x)
2051 case "$ac_configure_args0 " in
2052 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2053 esac
2054 ;;
2055 -* ) ac_must_keep_next=true ;;
2056 esac
2057 fi
2058 as_fn_append ac_configure_args " '$ac_arg'"
2059 ;;
2060 esac
2061 done
2062 done
2063 { ac_configure_args0=; unset ac_configure_args0;}
2064 { ac_configure_args1=; unset ac_configure_args1;}
2065
2066 # When interrupted or exit'd, cleanup temporary files, and complete
2067 # config.log. We remove comments because anyway the quotes in there
2068 # would cause problems or look ugly.
2069 # WARNING: Use '\'' to represent an apostrophe within the trap.
2070 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2071 trap 'exit_status=$?
2072 # Save into config.log some information that might help in debugging.
2073 {
2074 echo
2075
2076 $as_echo "## ---------------- ##
2077 ## Cache variables. ##
2078 ## ---------------- ##"
2079 echo
2080 # The following way of writing the cache mishandles newlines in values,
2081 (
2082 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2083 eval ac_val=\$$ac_var
2084 case $ac_val in #(
2085 *${as_nl}*)
2086 case $ac_var in #(
2087 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2088 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2089 esac
2090 case $ac_var in #(
2091 _ | IFS | as_nl) ;; #(
2092 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2093 *) { eval $ac_var=; unset $ac_var;} ;;
2094 esac ;;
2095 esac
2096 done
2097 (set) 2>&1 |
2098 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2099 *${as_nl}ac_space=\ *)
2100 sed -n \
2101 "s/'\''/'\''\\\\'\'''\''/g;
2102 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2103 ;; #(
2104 *)
2105 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2106 ;;
2107 esac |
2108 sort
2109 )
2110 echo
2111
2112 $as_echo "## ----------------- ##
2113 ## Output variables. ##
2114 ## ----------------- ##"
2115 echo
2116 for ac_var in $ac_subst_vars
2117 do
2118 eval ac_val=\$$ac_var
2119 case $ac_val in
2120 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2121 esac
2122 $as_echo "$ac_var='\''$ac_val'\''"
2123 done | sort
2124 echo
2125
2126 if test -n "$ac_subst_files"; then
2127 $as_echo "## ------------------- ##
2128 ## File substitutions. ##
2129 ## ------------------- ##"
2130 echo
2131 for ac_var in $ac_subst_files
2132 do
2133 eval ac_val=\$$ac_var
2134 case $ac_val in
2135 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2136 esac
2137 $as_echo "$ac_var='\''$ac_val'\''"
2138 done | sort
2139 echo
2140 fi
2141
2142 if test -s confdefs.h; then
2143 $as_echo "## ----------- ##
2144 ## confdefs.h. ##
2145 ## ----------- ##"
2146 echo
2147 cat confdefs.h
2148 echo
2149 fi
2150 test "$ac_signal" != 0 &&
2151 $as_echo "$as_me: caught signal $ac_signal"
2152 $as_echo "$as_me: exit $exit_status"
2153 } >&5
2154 rm -f core *.core core.conftest.* &&
2155 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2156 exit $exit_status
2157 ' 0
2158 for ac_signal in 1 2 13 15; do
2159 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2160 done
2161 ac_signal=0
2162
2163 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2164 rm -f -r conftest* confdefs.h
2165
2166 $as_echo "/* confdefs.h */" > confdefs.h
2167
2168 # Predefined preprocessor variables.
2169
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_NAME "$PACKAGE_NAME"
2172 _ACEOF
2173
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2176 _ACEOF
2177
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2180 _ACEOF
2181
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_STRING "$PACKAGE_STRING"
2184 _ACEOF
2185
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2188 _ACEOF
2189
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_URL "$PACKAGE_URL"
2192 _ACEOF
2193
2194
2195 # Let the site file select an alternate cache file if it wants to.
2196 # Prefer an explicitly selected file to automatically selected ones.
2197 ac_site_file1=NONE
2198 ac_site_file2=NONE
2199 if test -n "$CONFIG_SITE"; then
2200 # We do not want a PATH search for config.site.
2201 case $CONFIG_SITE in #((
2202 -*) ac_site_file1=./$CONFIG_SITE;;
2203 */*) ac_site_file1=$CONFIG_SITE;;
2204 *) ac_site_file1=./$CONFIG_SITE;;
2205 esac
2206 elif test "x$prefix" != xNONE; then
2207 ac_site_file1=$prefix/share/config.site
2208 ac_site_file2=$prefix/etc/config.site
2209 else
2210 ac_site_file1=$ac_default_prefix/share/config.site
2211 ac_site_file2=$ac_default_prefix/etc/config.site
2212 fi
2213 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2214 do
2215 test "x$ac_site_file" = xNONE && continue
2216 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2218 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2219 sed 's/^/| /' "$ac_site_file" >&5
2220 . "$ac_site_file" \
2221 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223 as_fn_error $? "failed to load site script $ac_site_file
2224 See \`config.log' for more details" "$LINENO" 5; }
2225 fi
2226 done
2227
2228 if test -r "$cache_file"; then
2229 # Some versions of bash will fail to source /dev/null (special files
2230 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2231 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2233 $as_echo "$as_me: loading cache $cache_file" >&6;}
2234 case $cache_file in
2235 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2236 *) . "./$cache_file";;
2237 esac
2238 fi
2239 else
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2241 $as_echo "$as_me: creating cache $cache_file" >&6;}
2242 >$cache_file
2243 fi
2244
2245 # Check that the precious variables saved in the cache have kept the same
2246 # value.
2247 ac_cache_corrupted=false
2248 for ac_var in $ac_precious_vars; do
2249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2250 eval ac_new_set=\$ac_env_${ac_var}_set
2251 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2252 eval ac_new_val=\$ac_env_${ac_var}_value
2253 case $ac_old_set,$ac_new_set in
2254 set,)
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2256 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2257 ac_cache_corrupted=: ;;
2258 ,set)
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2260 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2261 ac_cache_corrupted=: ;;
2262 ,);;
2263 *)
2264 if test "x$ac_old_val" != "x$ac_new_val"; then
2265 # differences in whitespace do not lead to failure.
2266 ac_old_val_w=`echo x $ac_old_val`
2267 ac_new_val_w=`echo x $ac_new_val`
2268 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2270 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2271 ac_cache_corrupted=:
2272 else
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2274 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2275 eval $ac_var=\$ac_old_val
2276 fi
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2278 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2280 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2281 fi;;
2282 esac
2283 # Pass precious variables to config.status.
2284 if test "$ac_new_set" = set; then
2285 case $ac_new_val in
2286 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2287 *) ac_arg=$ac_var=$ac_new_val ;;
2288 esac
2289 case " $ac_configure_args " in
2290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2291 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2292 esac
2293 fi
2294 done
2295 if $ac_cache_corrupted; then
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2299 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2300 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2301 fi
2302 ## -------------------- ##
2303 ## Main body of script. ##
2304 ## -------------------- ##
2305
2306 ac_ext=c
2307 ac_cpp='$CPP $CPPFLAGS'
2308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2311
2312
2313
2314 am__api_version='1.15'
2315
2316 ac_aux_dir=
2317 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2318 if test -f "$ac_dir/install-sh"; then
2319 ac_aux_dir=$ac_dir
2320 ac_install_sh="$ac_aux_dir/install-sh -c"
2321 break
2322 elif test -f "$ac_dir/install.sh"; then
2323 ac_aux_dir=$ac_dir
2324 ac_install_sh="$ac_aux_dir/install.sh -c"
2325 break
2326 elif test -f "$ac_dir/shtool"; then
2327 ac_aux_dir=$ac_dir
2328 ac_install_sh="$ac_aux_dir/shtool install -c"
2329 break
2330 fi
2331 done
2332 if test -z "$ac_aux_dir"; then
2333 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2334 fi
2335
2336 # These three variables are undocumented and unsupported,
2337 # and are intended to be withdrawn in a future Autoconf release.
2338 # They can cause serious problems if a builder's source tree is in a directory
2339 # whose full name contains unusual characters.
2340 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2341 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2342 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2343
2344
2345 # Find a good install program. We prefer a C program (faster),
2346 # so one script is as good as another. But avoid the broken or
2347 # incompatible versions:
2348 # SysV /etc/install, /usr/sbin/install
2349 # SunOS /usr/etc/install
2350 # IRIX /sbin/install
2351 # AIX /bin/install
2352 # AmigaOS /C/install, which installs bootblocks on floppy discs
2353 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2354 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2355 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2356 # OS/2's system install, which has a completely different semantic
2357 # ./install, which can be erroneously created by make from ./install.sh.
2358 # Reject install programs that cannot install multiple files.
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2360 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2361 if test -z "$INSTALL"; then
2362 if ${ac_cv_path_install+:} false; then :
2363 $as_echo_n "(cached) " >&6
2364 else
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 for as_dir in $PATH
2367 do
2368 IFS=$as_save_IFS
2369 test -z "$as_dir" && as_dir=.
2370 # Account for people who put trailing slashes in PATH elements.
2371 case $as_dir/ in #((
2372 ./ | .// | /[cC]/* | \
2373 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2374 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2375 /usr/ucb/* ) ;;
2376 *)
2377 # OSF1 and SCO ODT 3.0 have their own names for install.
2378 # Don't use installbsd from OSF since it installs stuff as root
2379 # by default.
2380 for ac_prog in ginstall scoinst install; do
2381 for ac_exec_ext in '' $ac_executable_extensions; do
2382 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2383 if test $ac_prog = install &&
2384 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2385 # AIX install. It has an incompatible calling convention.
2386 :
2387 elif test $ac_prog = install &&
2388 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2389 # program-specific install script used by HP pwplus--don't use.
2390 :
2391 else
2392 rm -rf conftest.one conftest.two conftest.dir
2393 echo one > conftest.one
2394 echo two > conftest.two
2395 mkdir conftest.dir
2396 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2397 test -s conftest.one && test -s conftest.two &&
2398 test -s conftest.dir/conftest.one &&
2399 test -s conftest.dir/conftest.two
2400 then
2401 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2402 break 3
2403 fi
2404 fi
2405 fi
2406 done
2407 done
2408 ;;
2409 esac
2410
2411 done
2412 IFS=$as_save_IFS
2413
2414 rm -rf conftest.one conftest.two conftest.dir
2415
2416 fi
2417 if test "${ac_cv_path_install+set}" = set; then
2418 INSTALL=$ac_cv_path_install
2419 else
2420 # As a last resort, use the slow shell script. Don't cache a
2421 # value for INSTALL within a source directory, because that will
2422 # break other packages using the cache if that directory is
2423 # removed, or if the value is a relative name.
2424 INSTALL=$ac_install_sh
2425 fi
2426 fi
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2428 $as_echo "$INSTALL" >&6; }
2429
2430 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2431 # It thinks the first close brace ends the variable substitution.
2432 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2433
2434 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2435
2436 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2437
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2439 $as_echo_n "checking whether build environment is sane... " >&6; }
2440 # Reject unsafe characters in $srcdir or the absolute working directory
2441 # name. Accept space and tab only in the latter.
2442 am_lf='
2443 '
2444 case `pwd` in
2445 *[\\\"\#\$\&\'\`$am_lf]*)
2446 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2447 esac
2448 case $srcdir in
2449 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2450 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2451 esac
2452
2453 # Do 'set' in a subshell so we don't clobber the current shell's
2454 # arguments. Must try -L first in case configure is actually a
2455 # symlink; some systems play weird games with the mod time of symlinks
2456 # (eg FreeBSD returns the mod time of the symlink's containing
2457 # directory).
2458 if (
2459 am_has_slept=no
2460 for am_try in 1 2; do
2461 echo "timestamp, slept: $am_has_slept" > conftest.file
2462 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2463 if test "$*" = "X"; then
2464 # -L didn't work.
2465 set X `ls -t "$srcdir/configure" conftest.file`
2466 fi
2467 if test "$*" != "X $srcdir/configure conftest.file" \
2468 && test "$*" != "X conftest.file $srcdir/configure"; then
2469
2470 # If neither matched, then we have a broken ls. This can happen
2471 # if, for instance, CONFIG_SHELL is bash and it inherits a
2472 # broken ls alias from the environment. This has actually
2473 # happened. Such a system could not be considered "sane".
2474 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2475 alias in your environment" "$LINENO" 5
2476 fi
2477 if test "$2" = conftest.file || test $am_try -eq 2; then
2478 break
2479 fi
2480 # Just in case.
2481 sleep 1
2482 am_has_slept=yes
2483 done
2484 test "$2" = conftest.file
2485 )
2486 then
2487 # Ok.
2488 :
2489 else
2490 as_fn_error $? "newly created file is older than distributed files!
2491 Check your system clock" "$LINENO" 5
2492 fi
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2494 $as_echo "yes" >&6; }
2495 # If we didn't sleep, we still need to ensure time stamps of config.status and
2496 # generated files are strictly newer.
2497 am_sleep_pid=
2498 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2499 ( sleep 1 ) &
2500 am_sleep_pid=$!
2501 fi
2502
2503 rm -f conftest.file
2504
2505 test "$program_prefix" != NONE &&
2506 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2507 # Use a double $ so make ignores it.
2508 test "$program_suffix" != NONE &&
2509 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2510 # Double any \ or $.
2511 # By default was `s,x,x', remove it if useless.
2512 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2513 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2514
2515 # Expand $ac_aux_dir to an absolute path.
2516 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2517
2518 if test x"${MISSING+set}" != xset; then
2519 case $am_aux_dir in
2520 *\ * | *\ *)
2521 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2522 *)
2523 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2524 esac
2525 fi
2526 # Use eval to expand $SHELL
2527 if eval "$MISSING --is-lightweight"; then
2528 am_missing_run="$MISSING "
2529 else
2530 am_missing_run=
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2532 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2533 fi
2534
2535 if test x"${install_sh+set}" != xset; then
2536 case $am_aux_dir in
2537 *\ * | *\ *)
2538 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2539 *)
2540 install_sh="\${SHELL} $am_aux_dir/install-sh"
2541 esac
2542 fi
2543
2544 # Installed binaries are usually stripped using 'strip' when the user
2545 # run "make install-strip". However 'strip' might not be the right
2546 # tool to use in cross-compilation environments, therefore Automake
2547 # will honor the 'STRIP' environment variable to overrule this program.
2548 if test "$cross_compiling" != no; then
2549 if test -n "$ac_tool_prefix"; then
2550 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2551 set dummy ${ac_tool_prefix}strip; ac_word=$2
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553 $as_echo_n "checking for $ac_word... " >&6; }
2554 if ${ac_cv_prog_STRIP+:} false; then :
2555 $as_echo_n "(cached) " >&6
2556 else
2557 if test -n "$STRIP"; then
2558 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2559 else
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 for as_dir in $PATH
2562 do
2563 IFS=$as_save_IFS
2564 test -z "$as_dir" && as_dir=.
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2567 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 break 2
2570 fi
2571 done
2572 done
2573 IFS=$as_save_IFS
2574
2575 fi
2576 fi
2577 STRIP=$ac_cv_prog_STRIP
2578 if test -n "$STRIP"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2580 $as_echo "$STRIP" >&6; }
2581 else
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583 $as_echo "no" >&6; }
2584 fi
2585
2586
2587 fi
2588 if test -z "$ac_cv_prog_STRIP"; then
2589 ac_ct_STRIP=$STRIP
2590 # Extract the first word of "strip", so it can be a program name with args.
2591 set dummy strip; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2595 $as_echo_n "(cached) " >&6
2596 else
2597 if test -n "$ac_ct_STRIP"; then
2598 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2599 else
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 for as_dir in $PATH
2602 do
2603 IFS=$as_save_IFS
2604 test -z "$as_dir" && as_dir=.
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2607 ac_cv_prog_ac_ct_STRIP="strip"
2608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609 break 2
2610 fi
2611 done
2612 done
2613 IFS=$as_save_IFS
2614
2615 fi
2616 fi
2617 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2618 if test -n "$ac_ct_STRIP"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2620 $as_echo "$ac_ct_STRIP" >&6; }
2621 else
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2624 fi
2625
2626 if test "x$ac_ct_STRIP" = x; then
2627 STRIP=":"
2628 else
2629 case $cross_compiling:$ac_tool_warned in
2630 yes:)
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2633 ac_tool_warned=yes ;;
2634 esac
2635 STRIP=$ac_ct_STRIP
2636 fi
2637 else
2638 STRIP="$ac_cv_prog_STRIP"
2639 fi
2640
2641 fi
2642 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2643
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2645 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2646 if test -z "$MKDIR_P"; then
2647 if ${ac_cv_path_mkdir+:} false; then :
2648 $as_echo_n "(cached) " >&6
2649 else
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2652 do
2653 IFS=$as_save_IFS
2654 test -z "$as_dir" && as_dir=.
2655 for ac_prog in mkdir gmkdir; do
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2658 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2659 'mkdir (GNU coreutils) '* | \
2660 'mkdir (coreutils) '* | \
2661 'mkdir (fileutils) '4.1*)
2662 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2663 break 3;;
2664 esac
2665 done
2666 done
2667 done
2668 IFS=$as_save_IFS
2669
2670 fi
2671
2672 test -d ./--version && rmdir ./--version
2673 if test "${ac_cv_path_mkdir+set}" = set; then
2674 MKDIR_P="$ac_cv_path_mkdir -p"
2675 else
2676 # As a last resort, use the slow shell script. Don't cache a
2677 # value for MKDIR_P within a source directory, because that will
2678 # break other packages using the cache if that directory is
2679 # removed, or if the value is a relative name.
2680 MKDIR_P="$ac_install_sh -d"
2681 fi
2682 fi
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2684 $as_echo "$MKDIR_P" >&6; }
2685
2686 for ac_prog in gawk mawk nawk awk
2687 do
2688 # Extract the first word of "$ac_prog", so it can be a program name with args.
2689 set dummy $ac_prog; ac_word=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_AWK+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 if test -n "$AWK"; then
2696 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2697 else
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 for as_dir in $PATH
2700 do
2701 IFS=$as_save_IFS
2702 test -z "$as_dir" && as_dir=.
2703 for ac_exec_ext in '' $ac_executable_extensions; do
2704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705 ac_cv_prog_AWK="$ac_prog"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 break 2
2708 fi
2709 done
2710 done
2711 IFS=$as_save_IFS
2712
2713 fi
2714 fi
2715 AWK=$ac_cv_prog_AWK
2716 if test -n "$AWK"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2718 $as_echo "$AWK" >&6; }
2719 else
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2722 fi
2723
2724
2725 test -n "$AWK" && break
2726 done
2727
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2729 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2730 set x ${MAKE-make}
2731 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2732 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2733 $as_echo_n "(cached) " >&6
2734 else
2735 cat >conftest.make <<\_ACEOF
2736 SHELL = /bin/sh
2737 all:
2738 @echo '@@@%%%=$(MAKE)=@@@%%%'
2739 _ACEOF
2740 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2741 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2742 *@@@%%%=?*=@@@%%%*)
2743 eval ac_cv_prog_make_${ac_make}_set=yes;;
2744 *)
2745 eval ac_cv_prog_make_${ac_make}_set=no;;
2746 esac
2747 rm -f conftest.make
2748 fi
2749 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2751 $as_echo "yes" >&6; }
2752 SET_MAKE=
2753 else
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2756 SET_MAKE="MAKE=${MAKE-make}"
2757 fi
2758
2759 rm -rf .tst 2>/dev/null
2760 mkdir .tst 2>/dev/null
2761 if test -d .tst; then
2762 am__leading_dot=.
2763 else
2764 am__leading_dot=_
2765 fi
2766 rmdir .tst 2>/dev/null
2767
2768 # Check whether --enable-silent-rules was given.
2769 if test "${enable_silent_rules+set}" = set; then :
2770 enableval=$enable_silent_rules;
2771 fi
2772
2773 case $enable_silent_rules in # (((
2774 yes) AM_DEFAULT_VERBOSITY=0;;
2775 no) AM_DEFAULT_VERBOSITY=1;;
2776 *) AM_DEFAULT_VERBOSITY=1;;
2777 esac
2778 am_make=${MAKE-make}
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2780 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2781 if ${am_cv_make_support_nested_variables+:} false; then :
2782 $as_echo_n "(cached) " >&6
2783 else
2784 if $as_echo 'TRUE=$(BAR$(V))
2785 BAR0=false
2786 BAR1=true
2787 V=1
2788 am__doit:
2789 @$(TRUE)
2790 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2791 am_cv_make_support_nested_variables=yes
2792 else
2793 am_cv_make_support_nested_variables=no
2794 fi
2795 fi
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2797 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2798 if test $am_cv_make_support_nested_variables = yes; then
2799 AM_V='$(V)'
2800 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2801 else
2802 AM_V=$AM_DEFAULT_VERBOSITY
2803 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2804 fi
2805 AM_BACKSLASH='\'
2806
2807 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2808 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2809 # is not polluted with repeated "-I."
2810 am__isrc=' -I$(srcdir)'
2811 # test to see if srcdir already configured
2812 if test -f $srcdir/config.status; then
2813 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2814 fi
2815 fi
2816
2817 # test whether we have cygpath
2818 if test -z "$CYGPATH_W"; then
2819 if (cygpath --version) >/dev/null 2>/dev/null; then
2820 CYGPATH_W='cygpath -w'
2821 else
2822 CYGPATH_W=echo
2823 fi
2824 fi
2825
2826
2827 # Define the identity of the package.
2828 PACKAGE='comedi_calibrate'
2829 VERSION='5'
2830
2831
2832 cat >>confdefs.h <<_ACEOF
2833 #define PACKAGE "$PACKAGE"
2834 _ACEOF
2835
2836
2837 cat >>confdefs.h <<_ACEOF
2838 #define VERSION "$VERSION"
2839 _ACEOF
2840
2841 # Some tools Automake needs.
2842
2843 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2844
2845
2846 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2847
2848
2849 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2850
2851
2852 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2853
2854
2855 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2856
2857 # For better backward compatibility. To be removed once Automake 1.9.x
2858 # dies out for good. For more background, see:
2859 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2860 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2861 mkdir_p='$(MKDIR_P)'
2862
2863 # We need awk for the "check" target (and possibly the TAP driver). The
2864 # system "awk" is bad on some platforms.
2865 # Always define AMTAR for backward compatibility. Yes, it's still used
2866 # in the wild :-( We should find a proper way to deprecate it ...
2867 AMTAR='$${TAR-tar}'
2868
2869
2870 # We'll loop over all known methods to create a tar archive until one works.
2871 _am_tools='gnutar pax cpio none'
2872
2873 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2874
2875
2876
2877
2878
2879
2880 # POSIX will say in a future version that running "rm -f" with no argument
2881 # is OK; and we want to be able to make that assumption in our Makefile
2882 # recipes. So use an aggressive probe to check that the usage we want is
2883 # actually supported "in the wild" to an acceptable degree.
2884 # See automake bug#10828.
2885 # To make any issue more visible, cause the running configure to be aborted
2886 # by default if the 'rm' program in use doesn't match our expectations; the
2887 # user can still override this though.
2888 if rm -f && rm -fr && rm -rf; then : OK; else
2889 cat >&2 <<'END'
2890 Oops!
2891
2892 Your 'rm' program seems unable to run without file operands specified
2893 on the command line, even when the '-f' option is present. This is contrary
2894 to the behaviour of most rm programs out there, and not conforming with
2895 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2896
2897 Please tell [email protected] about your system, including the value
2898 of your $PATH and any error possibly output before this message. This
2899 can help us improve future automake versions.
2900
2901 END
2902 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2903 echo 'Configuration will proceed anyway, since you have set the' >&2
2904 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2905 echo >&2
2906 else
2907 cat >&2 <<'END'
2908 Aborting the configuration process, to ensure you take notice of the issue.
2909
2910 You can download and install GNU coreutils to get an 'rm' implementation
2911 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2912
2913 If you want to complete the configuration process using your problematic
2914 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2915 to "yes", and re-run configure.
2916
2917 END
2918 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2919 fi
2920 fi
2921
2922
2923
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2925 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2926 # Check whether --enable-maintainer-mode was given.
2927 if test "${enable_maintainer_mode+set}" = set; then :
2928 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2929 else
2930 USE_MAINTAINER_MODE=yes
2931 fi
2932
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2934 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2935 if test $USE_MAINTAINER_MODE = yes; then
2936 MAINTAINER_MODE_TRUE=
2937 MAINTAINER_MODE_FALSE='#'
2938 else
2939 MAINTAINER_MODE_TRUE='#'
2940 MAINTAINER_MODE_FALSE=
2941 fi
2942
2943 MAINT=$MAINTAINER_MODE_TRUE
2944
2945
2946
2947 ac_ext=c
2948 ac_cpp='$CPP $CPPFLAGS'
2949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2952 if test -n "$ac_tool_prefix"; then
2953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2954 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_CC+:} false; then :
2958 $as_echo_n "(cached) " >&6
2959 else
2960 if test -n "$CC"; then
2961 ac_cv_prog_CC="$CC" # Let the user override the test.
2962 else
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 for as_dir in $PATH
2965 do
2966 IFS=$as_save_IFS
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 break 2
2973 fi
2974 done
2975 done
2976 IFS=$as_save_IFS
2977
2978 fi
2979 fi
2980 CC=$ac_cv_prog_CC
2981 if test -n "$CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2983 $as_echo "$CC" >&6; }
2984 else
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2987 fi
2988
2989
2990 fi
2991 if test -z "$ac_cv_prog_CC"; then
2992 ac_ct_CC=$CC
2993 # Extract the first word of "gcc", so it can be a program name with args.
2994 set dummy gcc; ac_word=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2998 $as_echo_n "(cached) " >&6
2999 else
3000 if test -n "$ac_ct_CC"; then
3001 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3002 else
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 for as_dir in $PATH
3005 do
3006 IFS=$as_save_IFS
3007 test -z "$as_dir" && as_dir=.
3008 for ac_exec_ext in '' $ac_executable_extensions; do
3009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3010 ac_cv_prog_ac_ct_CC="gcc"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 break 2
3013 fi
3014 done
3015 done
3016 IFS=$as_save_IFS
3017
3018 fi
3019 fi
3020 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3021 if test -n "$ac_ct_CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3023 $as_echo "$ac_ct_CC" >&6; }
3024 else
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3027 fi
3028
3029 if test "x$ac_ct_CC" = x; then
3030 CC=""
3031 else
3032 case $cross_compiling:$ac_tool_warned in
3033 yes:)
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3036 ac_tool_warned=yes ;;
3037 esac
3038 CC=$ac_ct_CC
3039 fi
3040 else
3041 CC="$ac_cv_prog_CC"
3042 fi
3043
3044 if test -z "$CC"; then
3045 if test -n "$ac_tool_prefix"; then
3046 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3047 set dummy ${ac_tool_prefix}cc; ac_word=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if ${ac_cv_prog_CC+:} false; then :
3051 $as_echo_n "(cached) " >&6
3052 else
3053 if test -n "$CC"; then
3054 ac_cv_prog_CC="$CC" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3058 do
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_CC="${ac_tool_prefix}cc"
3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 break 2
3066 fi
3067 done
3068 done
3069 IFS=$as_save_IFS
3070
3071 fi
3072 fi
3073 CC=$ac_cv_prog_CC
3074 if test -n "$CC"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3076 $as_echo "$CC" >&6; }
3077 else
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3080 fi
3081
3082
3083 fi
3084 fi
3085 if test -z "$CC"; then
3086 # Extract the first word of "cc", so it can be a program name with args.
3087 set dummy cc; ac_word=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if ${ac_cv_prog_CC+:} false; then :
3091 $as_echo_n "(cached) " >&6
3092 else
3093 if test -n "$CC"; then
3094 ac_cv_prog_CC="$CC" # Let the user override the test.
3095 else
3096 ac_prog_rejected=no
3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 for as_dir in $PATH
3099 do
3100 IFS=$as_save_IFS
3101 test -z "$as_dir" && as_dir=.
3102 for ac_exec_ext in '' $ac_executable_extensions; do
3103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3104 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3105 ac_prog_rejected=yes
3106 continue
3107 fi
3108 ac_cv_prog_CC="cc"
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3110 break 2
3111 fi
3112 done
3113 done
3114 IFS=$as_save_IFS
3115
3116 if test $ac_prog_rejected = yes; then
3117 # We found a bogon in the path, so make sure we never use it.
3118 set dummy $ac_cv_prog_CC
3119 shift
3120 if test $# != 0; then
3121 # We chose a different compiler from the bogus one.
3122 # However, it has the same basename, so the bogon will be chosen
3123 # first if we set CC to just the basename; use the full file name.
3124 shift
3125 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3126 fi
3127 fi
3128 fi
3129 fi
3130 CC=$ac_cv_prog_CC
3131 if test -n "$CC"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3133 $as_echo "$CC" >&6; }
3134 else
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3137 fi
3138
3139
3140 fi
3141 if test -z "$CC"; then
3142 if test -n "$ac_tool_prefix"; then
3143 for ac_prog in cl.exe
3144 do
3145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_CC+:} false; then :
3150 $as_echo_n "(cached) " >&6
3151 else
3152 if test -n "$CC"; then
3153 ac_cv_prog_CC="$CC" # Let the user override the test.
3154 else
3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156 for as_dir in $PATH
3157 do
3158 IFS=$as_save_IFS
3159 test -z "$as_dir" && as_dir=.
3160 for ac_exec_ext in '' $ac_executable_extensions; do
3161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3162 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 break 2
3165 fi
3166 done
3167 done
3168 IFS=$as_save_IFS
3169
3170 fi
3171 fi
3172 CC=$ac_cv_prog_CC
3173 if test -n "$CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175 $as_echo "$CC" >&6; }
3176 else
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3179 fi
3180
3181
3182 test -n "$CC" && break
3183 done
3184 fi
3185 if test -z "$CC"; then
3186 ac_ct_CC=$CC
3187 for ac_prog in cl.exe
3188 do
3189 # Extract the first word of "$ac_prog", so it can be a program name with args.
3190 set dummy $ac_prog; ac_word=$2
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192 $as_echo_n "checking for $ac_word... " >&6; }
3193 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3194 $as_echo_n "(cached) " >&6
3195 else
3196 if test -n "$ac_ct_CC"; then
3197 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3198 else
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 for as_dir in $PATH
3201 do
3202 IFS=$as_save_IFS
3203 test -z "$as_dir" && as_dir=.
3204 for ac_exec_ext in '' $ac_executable_extensions; do
3205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3206 ac_cv_prog_ac_ct_CC="$ac_prog"
3207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 break 2
3209 fi
3210 done
3211 done
3212 IFS=$as_save_IFS
3213
3214 fi
3215 fi
3216 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3217 if test -n "$ac_ct_CC"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3219 $as_echo "$ac_ct_CC" >&6; }
3220 else
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3223 fi
3224
3225
3226 test -n "$ac_ct_CC" && break
3227 done
3228
3229 if test "x$ac_ct_CC" = x; then
3230 CC=""
3231 else
3232 case $cross_compiling:$ac_tool_warned in
3233 yes:)
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3236 ac_tool_warned=yes ;;
3237 esac
3238 CC=$ac_ct_CC
3239 fi
3240 fi
3241
3242 fi
3243
3244
3245 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3247 as_fn_error $? "no acceptable C compiler found in \$PATH
3248 See \`config.log' for more details" "$LINENO" 5; }
3249
3250 # Provide some information about the compiler.
3251 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3252 set X $ac_compile
3253 ac_compiler=$2
3254 for ac_option in --version -v -V -qversion; do
3255 { { ac_try="$ac_compiler $ac_option >&5"
3256 case "(($ac_try" in
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3259 esac
3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3263 ac_status=$?
3264 if test -s conftest.err; then
3265 sed '10a\
3266 ... rest of stderr output deleted ...
3267 10q' conftest.err >conftest.er1
3268 cat conftest.er1 >&5
3269 fi
3270 rm -f conftest.er1 conftest.err
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }
3273 done
3274
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3277
3278 int
3279 main ()
3280 {
3281
3282 ;
3283 return 0;
3284 }
3285 _ACEOF
3286 ac_clean_files_save=$ac_clean_files
3287 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3288 # Try to create an executable without -o first, disregard a.out.
3289 # It will help us diagnose broken compilers, and finding out an intuition
3290 # of exeext.
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3292 $as_echo_n "checking whether the C compiler works... " >&6; }
3293 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3294
3295 # The possible output files:
3296 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3297
3298 ac_rmfiles=
3299 for ac_file in $ac_files
3300 do
3301 case $ac_file in
3302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3304 esac
3305 done
3306 rm -f $ac_rmfiles
3307
3308 if { { ac_try="$ac_link_default"
3309 case "(($ac_try" in
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3312 esac
3313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3314 $as_echo "$ac_try_echo"; } >&5
3315 (eval "$ac_link_default") 2>&5
3316 ac_status=$?
3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318 test $ac_status = 0; }; then :
3319 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3320 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3321 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3322 # so that the user can short-circuit this test for compilers unknown to
3323 # Autoconf.
3324 for ac_file in $ac_files ''
3325 do
3326 test -f "$ac_file" || continue
3327 case $ac_file in
3328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3329 ;;
3330 [ab].out )
3331 # We found the default executable, but exeext='' is most
3332 # certainly right.
3333 break;;
3334 *.* )
3335 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3336 then :; else
3337 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3338 fi
3339 # We set ac_cv_exeext here because the later test for it is not
3340 # safe: cross compilers may not add the suffix if given an `-o'
3341 # argument, so we may need to know it at that point already.
3342 # Even if this section looks crufty: it has the advantage of
3343 # actually working.
3344 break;;
3345 * )
3346 break;;
3347 esac
3348 done
3349 test "$ac_cv_exeext" = no && ac_cv_exeext=
3350
3351 else
3352 ac_file=''
3353 fi
3354 if test -z "$ac_file"; then :
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
3357 $as_echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3359
3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error 77 "C compiler cannot create executables
3363 See \`config.log' for more details" "$LINENO" 5; }
3364 else
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3366 $as_echo "yes" >&6; }
3367 fi
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3369 $as_echo_n "checking for C compiler default output file name... " >&6; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3371 $as_echo "$ac_file" >&6; }
3372 ac_exeext=$ac_cv_exeext
3373
3374 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3375 ac_clean_files=$ac_clean_files_save
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3377 $as_echo_n "checking for suffix of executables... " >&6; }
3378 if { { ac_try="$ac_link"
3379 case "(($ac_try" in
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3382 esac
3383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3384 $as_echo "$ac_try_echo"; } >&5
3385 (eval "$ac_link") 2>&5
3386 ac_status=$?
3387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3388 test $ac_status = 0; }; then :
3389 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3390 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3391 # work properly (i.e., refer to `conftest.exe'), while it won't with
3392 # `rm'.
3393 for ac_file in conftest.exe conftest conftest.*; do
3394 test -f "$ac_file" || continue
3395 case $ac_file in
3396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3397 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3398 break;;
3399 * ) break;;
3400 esac
3401 done
3402 else
3403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3405 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3406 See \`config.log' for more details" "$LINENO" 5; }
3407 fi
3408 rm -f conftest conftest$ac_cv_exeext
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3410 $as_echo "$ac_cv_exeext" >&6; }
3411
3412 rm -f conftest.$ac_ext
3413 EXEEXT=$ac_cv_exeext
3414 ac_exeext=$EXEEXT
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3417 #include <stdio.h>
3418 int
3419 main ()
3420 {
3421 FILE *f = fopen ("conftest.out", "w");
3422 return ferror (f) || fclose (f) != 0;
3423
3424 ;
3425 return 0;
3426 }
3427 _ACEOF
3428 ac_clean_files="$ac_clean_files conftest.out"
3429 # Check that the compiler produces executables we can run. If not, either
3430 # the compiler is broken, or we cross compile.
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3432 $as_echo_n "checking whether we are cross compiling... " >&6; }
3433 if test "$cross_compiling" != yes; then
3434 { { ac_try="$ac_link"
3435 case "(($ac_try" in
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3438 esac
3439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3440 $as_echo "$ac_try_echo"; } >&5
3441 (eval "$ac_link") 2>&5
3442 ac_status=$?
3443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3444 test $ac_status = 0; }
3445 if { ac_try='./conftest$ac_cv_exeext'
3446 { { case "(($ac_try" in
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3449 esac
3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_try") 2>&5
3453 ac_status=$?
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }; }; then
3456 cross_compiling=no
3457 else
3458 if test "$cross_compiling" = maybe; then
3459 cross_compiling=yes
3460 else
3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error $? "cannot run C compiled programs.
3464 If you meant to cross compile, use \`--host'.
3465 See \`config.log' for more details" "$LINENO" 5; }
3466 fi
3467 fi
3468 fi
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3470 $as_echo "$cross_compiling" >&6; }
3471
3472 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3473 ac_clean_files=$ac_clean_files_save
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3475 $as_echo_n "checking for suffix of object files... " >&6; }
3476 if ${ac_cv_objext+:} false; then :
3477 $as_echo_n "(cached) " >&6
3478 else
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3481
3482 int
3483 main ()
3484 {
3485
3486 ;
3487 return 0;
3488 }
3489 _ACEOF
3490 rm -f conftest.o conftest.obj
3491 if { { ac_try="$ac_compile"
3492 case "(($ac_try" in
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3495 esac
3496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497 $as_echo "$ac_try_echo"; } >&5
3498 (eval "$ac_compile") 2>&5
3499 ac_status=$?
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }; then :
3502 for ac_file in conftest.o conftest.obj conftest.*; do
3503 test -f "$ac_file" || continue;
3504 case $ac_file in
3505 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3506 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3507 break;;
3508 esac
3509 done
3510 else
3511 $as_echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.$ac_ext >&5
3513
3514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516 as_fn_error $? "cannot compute suffix of object files: cannot compile
3517 See \`config.log' for more details" "$LINENO" 5; }
3518 fi
3519 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3520 fi
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3522 $as_echo "$ac_cv_objext" >&6; }
3523 OBJEXT=$ac_cv_objext
3524 ac_objext=$OBJEXT
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3526 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3527 if ${ac_cv_c_compiler_gnu+:} false; then :
3528 $as_echo_n "(cached) " >&6
3529 else
3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531 /* end confdefs.h. */
3532
3533 int
3534 main ()
3535 {
3536 #ifndef __GNUC__
3537 choke me
3538 #endif
3539
3540 ;
3541 return 0;
3542 }
3543 _ACEOF
3544 if ac_fn_c_try_compile "$LINENO"; then :
3545 ac_compiler_gnu=yes
3546 else
3547 ac_compiler_gnu=no
3548 fi
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3551
3552 fi
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3554 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3555 if test $ac_compiler_gnu = yes; then
3556 GCC=yes
3557 else
3558 GCC=
3559 fi
3560 ac_test_CFLAGS=${CFLAGS+set}
3561 ac_save_CFLAGS=$CFLAGS
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3563 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3564 if ${ac_cv_prog_cc_g+:} false; then :
3565 $as_echo_n "(cached) " >&6
3566 else
3567 ac_save_c_werror_flag=$ac_c_werror_flag
3568 ac_c_werror_flag=yes
3569 ac_cv_prog_cc_g=no
3570 CFLAGS="-g"
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3573
3574 int
3575 main ()
3576 {
3577
3578 ;
3579 return 0;
3580 }
3581 _ACEOF
3582 if ac_fn_c_try_compile "$LINENO"; then :
3583 ac_cv_prog_cc_g=yes
3584 else
3585 CFLAGS=""
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3588
3589 int
3590 main ()
3591 {
3592
3593 ;
3594 return 0;
3595 }
3596 _ACEOF
3597 if ac_fn_c_try_compile "$LINENO"; then :
3598
3599 else
3600 ac_c_werror_flag=$ac_save_c_werror_flag
3601 CFLAGS="-g"
3602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3604
3605 int
3606 main ()
3607 {
3608
3609 ;
3610 return 0;
3611 }
3612 _ACEOF
3613 if ac_fn_c_try_compile "$LINENO"; then :
3614 ac_cv_prog_cc_g=yes
3615 fi
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 fi
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 fi
3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3621 ac_c_werror_flag=$ac_save_c_werror_flag
3622 fi
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3624 $as_echo "$ac_cv_prog_cc_g" >&6; }
3625 if test "$ac_test_CFLAGS" = set; then
3626 CFLAGS=$ac_save_CFLAGS
3627 elif test $ac_cv_prog_cc_g = yes; then
3628 if test "$GCC" = yes; then
3629 CFLAGS="-g -O2"
3630 else
3631 CFLAGS="-g"
3632 fi
3633 else
3634 if test "$GCC" = yes; then
3635 CFLAGS="-O2"
3636 else
3637 CFLAGS=
3638 fi
3639 fi
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3641 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3642 if ${ac_cv_prog_cc_c89+:} false; then :
3643 $as_echo_n "(cached) " >&6
3644 else
3645 ac_cv_prog_cc_c89=no
3646 ac_save_CC=$CC
3647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3649 #include <stdarg.h>
3650 #include <stdio.h>
3651 struct stat;
3652 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3653 struct buf { int x; };
3654 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3655 static char *e (p, i)
3656 char **p;
3657 int i;
3658 {
3659 return p[i];
3660 }
3661 static char *f (char * (*g) (char **, int), char **p, ...)
3662 {
3663 char *s;
3664 va_list v;
3665 va_start (v,p);
3666 s = g (p, va_arg (v,int));
3667 va_end (v);
3668 return s;
3669 }
3670
3671 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3672 function prototypes and stuff, but not '\xHH' hex character constants.
3673 These don't provoke an error unfortunately, instead are silently treated
3674 as 'x'. The following induces an error, until -std is added to get
3675 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3676 array size at least. It's necessary to write '\x00'==0 to get something
3677 that's true only with -std. */
3678 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3679
3680 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3681 inside strings and character constants. */
3682 #define FOO(x) 'x'
3683 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3684
3685 int test (int i, double x);
3686 struct s1 {int (*f) (int a);};
3687 struct s2 {int (*f) (double a);};
3688 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3689 int argc;
3690 char **argv;
3691 int
3692 main ()
3693 {
3694 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3695 ;
3696 return 0;
3697 }
3698 _ACEOF
3699 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3700 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3701 do
3702 CC="$ac_save_CC $ac_arg"
3703 if ac_fn_c_try_compile "$LINENO"; then :
3704 ac_cv_prog_cc_c89=$ac_arg
3705 fi
3706 rm -f core conftest.err conftest.$ac_objext
3707 test "x$ac_cv_prog_cc_c89" != "xno" && break
3708 done
3709 rm -f conftest.$ac_ext
3710 CC=$ac_save_CC
3711
3712 fi
3713 # AC_CACHE_VAL
3714 case "x$ac_cv_prog_cc_c89" in
3715 x)
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3717 $as_echo "none needed" >&6; } ;;
3718 xno)
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3720 $as_echo "unsupported" >&6; } ;;
3721 *)
3722 CC="$CC $ac_cv_prog_cc_c89"
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3724 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3725 esac
3726 if test "x$ac_cv_prog_cc_c89" != xno; then :
3727
3728 fi
3729
3730 ac_ext=c
3731 ac_cpp='$CPP $CPPFLAGS'
3732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3735
3736 ac_ext=c
3737 ac_cpp='$CPP $CPPFLAGS'
3738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3742 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3743 if ${am_cv_prog_cc_c_o+:} false; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3748
3749 int
3750 main ()
3751 {
3752
3753 ;
3754 return 0;
3755 }
3756 _ACEOF
3757 # Make sure it works both with $CC and with simple cc.
3758 # Following AC_PROG_CC_C_O, we do the test twice because some
3759 # compilers refuse to overwrite an existing .o file with -o,
3760 # though they will create one.
3761 am_cv_prog_cc_c_o=yes
3762 for am_i in 1 2; do
3763 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3764 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3765 ac_status=$?
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } \
3768 && test -f conftest2.$ac_objext; then
3769 : OK
3770 else
3771 am_cv_prog_cc_c_o=no
3772 break
3773 fi
3774 done
3775 rm -f core conftest*
3776 unset am_i
3777 fi
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3779 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3780 if test "$am_cv_prog_cc_c_o" != yes; then
3781 # Losing compiler, so override with the script.
3782 # FIXME: It is wrong to rewrite CC.
3783 # But if we don't then we get into trouble of one sort or another.
3784 # A longer-term fix would be to have automake use am__CC in this case,
3785 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3786 CC="$am_aux_dir/compile $CC"
3787 fi
3788 ac_ext=c
3789 ac_cpp='$CPP $CPPFLAGS'
3790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793
3794 DEPDIR="${am__leading_dot}deps"
3795
3796 ac_config_commands="$ac_config_commands depfiles"
3797
3798
3799 am_make=${MAKE-make}
3800 cat > confinc << 'END'
3801 am__doit:
3802 @echo this is the am__doit target
3803 .PHONY: am__doit
3804 END
3805 # If we don't find an include directive, just comment out the code.
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3807 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3808 am__include="#"
3809 am__quote=
3810 _am_result=none
3811 # First try GNU make style include.
3812 echo "include confinc" > confmf
3813 # Ignore all kinds of additional output from 'make'.
3814 case `$am_make -s -f confmf 2> /dev/null` in #(
3815 *the\ am__doit\ target*)
3816 am__include=include
3817 am__quote=
3818 _am_result=GNU
3819 ;;
3820 esac
3821 # Now try BSD make style include.
3822 if test "$am__include" = "#"; then
3823 echo '.include "confinc"' > confmf
3824 case `$am_make -s -f confmf 2> /dev/null` in #(
3825 *the\ am__doit\ target*)
3826 am__include=.include
3827 am__quote="\""
3828 _am_result=BSD
3829 ;;
3830 esac
3831 fi
3832
3833
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3835 $as_echo "$_am_result" >&6; }
3836 rm -f confinc confmf
3837
3838 # Check whether --enable-dependency-tracking was given.
3839 if test "${enable_dependency_tracking+set}" = set; then :
3840 enableval=$enable_dependency_tracking;
3841 fi
3842
3843 if test "x$enable_dependency_tracking" != xno; then
3844 am_depcomp="$ac_aux_dir/depcomp"
3845 AMDEPBACKSLASH='\'
3846 am__nodep='_no'
3847 fi
3848 if test "x$enable_dependency_tracking" != xno; then
3849 AMDEP_TRUE=
3850 AMDEP_FALSE='#'
3851 else
3852 AMDEP_TRUE='#'
3853 AMDEP_FALSE=
3854 fi
3855
3856
3857
3858 depcc="$CC" am_compiler_list=
3859
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3861 $as_echo_n "checking dependency style of $depcc... " >&6; }
3862 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3863 $as_echo_n "(cached) " >&6
3864 else
3865 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3866 # We make a subdir and do the tests there. Otherwise we can end up
3867 # making bogus files that we don't know about and never remove. For
3868 # instance it was reported that on HP-UX the gcc test will end up
3869 # making a dummy file named 'D' -- because '-MD' means "put the output
3870 # in D".
3871 rm -rf conftest.dir
3872 mkdir conftest.dir
3873 # Copy depcomp to subdir because otherwise we won't find it if we're
3874 # using a relative directory.
3875 cp "$am_depcomp" conftest.dir
3876 cd conftest.dir
3877 # We will build objects and dependencies in a subdirectory because
3878 # it helps to detect inapplicable dependency modes. For instance
3879 # both Tru64's cc and ICC support -MD to output dependencies as a
3880 # side effect of compilation, but ICC will put the dependencies in
3881 # the current directory while Tru64 will put them in the object
3882 # directory.
3883 mkdir sub
3884
3885 am_cv_CC_dependencies_compiler_type=none
3886 if test "$am_compiler_list" = ""; then
3887 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3888 fi
3889 am__universal=false
3890 case " $depcc " in #(
3891 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3892 esac
3893
3894 for depmode in $am_compiler_list; do
3895 # Setup a source with many dependencies, because some compilers
3896 # like to wrap large dependency lists on column 80 (with \), and
3897 # we should not choose a depcomp mode which is confused by this.
3898 #
3899 # We need to recreate these files for each test, as the compiler may
3900 # overwrite some of them when testing with obscure command lines.
3901 # This happens at least with the AIX C compiler.
3902 : > sub/conftest.c
3903 for i in 1 2 3 4 5 6; do
3904 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3905 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3906 # Solaris 10 /bin/sh.
3907 echo '/* dummy */' > sub/conftst$i.h
3908 done
3909 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3910
3911 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3912 # mode. It turns out that the SunPro C++ compiler does not properly
3913 # handle '-M -o', and we need to detect this. Also, some Intel
3914 # versions had trouble with output in subdirs.
3915 am__obj=sub/conftest.${OBJEXT-o}
3916 am__minus_obj="-o $am__obj"
3917 case $depmode in
3918 gcc)
3919 # This depmode causes a compiler race in universal mode.
3920 test "$am__universal" = false || continue
3921 ;;
3922 nosideeffect)
3923 # After this tag, mechanisms are not by side-effect, so they'll
3924 # only be used when explicitly requested.
3925 if test "x$enable_dependency_tracking" = xyes; then
3926 continue
3927 else
3928 break
3929 fi
3930 ;;
3931 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3932 # This compiler won't grok '-c -o', but also, the minuso test has
3933 # not run yet. These depmodes are late enough in the game, and
3934 # so weak that their functioning should not be impacted.
3935 am__obj=conftest.${OBJEXT-o}
3936 am__minus_obj=
3937 ;;
3938 none) break ;;
3939 esac
3940 if depmode=$depmode \
3941 source=sub/conftest.c object=$am__obj \
3942 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3943 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3944 >/dev/null 2>conftest.err &&
3945 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3946 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3947 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3948 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3949 # icc doesn't choke on unknown options, it will just issue warnings
3950 # or remarks (even with -Werror). So we grep stderr for any message
3951 # that says an option was ignored or not supported.
3952 # When given -MP, icc 7.0 and 7.1 complain thusly:
3953 # icc: Command line warning: ignoring option '-M'; no argument required
3954 # The diagnosis changed in icc 8.0:
3955 # icc: Command line remark: option '-MP' not supported
3956 if (grep 'ignoring option' conftest.err ||
3957 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3958 am_cv_CC_dependencies_compiler_type=$depmode
3959 break
3960 fi
3961 fi
3962 done
3963
3964 cd ..
3965 rm -rf conftest.dir
3966 else
3967 am_cv_CC_dependencies_compiler_type=none
3968 fi
3969
3970 fi
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3972 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3973 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3974
3975 if
3976 test "x$enable_dependency_tracking" != xno \
3977 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3978 am__fastdepCC_TRUE=
3979 am__fastdepCC_FALSE='#'
3980 else
3981 am__fastdepCC_TRUE='#'
3982 am__fastdepCC_FALSE=
3983 fi
3984
3985
3986 ac_ext=c
3987 ac_cpp='$CPP $CPPFLAGS'
3988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3991 if test -n "$ac_tool_prefix"; then
3992 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3993 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_CC+:} false; then :
3997 $as_echo_n "(cached) " >&6
3998 else
3999 if test -n "$CC"; then
4000 ac_cv_prog_CC="$CC" # Let the user override the test.
4001 else
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH
4004 do
4005 IFS=$as_save_IFS
4006 test -z "$as_dir" && as_dir=.
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 break 2
4012 fi
4013 done
4014 done
4015 IFS=$as_save_IFS
4016
4017 fi
4018 fi
4019 CC=$ac_cv_prog_CC
4020 if test -n "$CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 $as_echo "$CC" >&6; }
4023 else
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4026 fi
4027
4028
4029 fi
4030 if test -z "$ac_cv_prog_CC"; then
4031 ac_ct_CC=$CC
4032 # Extract the first word of "gcc", so it can be a program name with args.
4033 set dummy gcc; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 if test -n "$ac_ct_CC"; then
4040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4044 do
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_ac_ct_CC="gcc"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4052 fi
4053 done
4054 done
4055 IFS=$as_save_IFS
4056
4057 fi
4058 fi
4059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4060 if test -n "$ac_ct_CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4062 $as_echo "$ac_ct_CC" >&6; }
4063 else
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4066 fi
4067
4068 if test "x$ac_ct_CC" = x; then
4069 CC=""
4070 else
4071 case $cross_compiling:$ac_tool_warned in
4072 yes:)
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4075 ac_tool_warned=yes ;;
4076 esac
4077 CC=$ac_ct_CC
4078 fi
4079 else
4080 CC="$ac_cv_prog_CC"
4081 fi
4082
4083 if test -z "$CC"; then
4084 if test -n "$ac_tool_prefix"; then
4085 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4086 set dummy ${ac_tool_prefix}cc; ac_word=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if ${ac_cv_prog_CC+:} false; then :
4090 $as_echo_n "(cached) " >&6
4091 else
4092 if test -n "$CC"; then
4093 ac_cv_prog_CC="$CC" # Let the user override the test.
4094 else
4095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096 for as_dir in $PATH
4097 do
4098 IFS=$as_save_IFS
4099 test -z "$as_dir" && as_dir=.
4100 for ac_exec_ext in '' $ac_executable_extensions; do
4101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4102 ac_cv_prog_CC="${ac_tool_prefix}cc"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 break 2
4105 fi
4106 done
4107 done
4108 IFS=$as_save_IFS
4109
4110 fi
4111 fi
4112 CC=$ac_cv_prog_CC
4113 if test -n "$CC"; then
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4115 $as_echo "$CC" >&6; }
4116 else
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4119 fi
4120
4121
4122 fi
4123 fi
4124 if test -z "$CC"; then
4125 # Extract the first word of "cc", so it can be a program name with args.
4126 set dummy cc; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_CC+:} false; then :
4130 $as_echo_n "(cached) " >&6
4131 else
4132 if test -n "$CC"; then
4133 ac_cv_prog_CC="$CC" # Let the user override the test.
4134 else
4135 ac_prog_rejected=no
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH
4138 do
4139 IFS=$as_save_IFS
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4144 ac_prog_rejected=yes
4145 continue
4146 fi
4147 ac_cv_prog_CC="cc"
4148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4149 break 2
4150 fi
4151 done
4152 done
4153 IFS=$as_save_IFS
4154
4155 if test $ac_prog_rejected = yes; then
4156 # We found a bogon in the path, so make sure we never use it.
4157 set dummy $ac_cv_prog_CC
4158 shift
4159 if test $# != 0; then
4160 # We chose a different compiler from the bogus one.
4161 # However, it has the same basename, so the bogon will be chosen
4162 # first if we set CC to just the basename; use the full file name.
4163 shift
4164 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4165 fi
4166 fi
4167 fi
4168 fi
4169 CC=$ac_cv_prog_CC
4170 if test -n "$CC"; then
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4172 $as_echo "$CC" >&6; }
4173 else
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175 $as_echo "no" >&6; }
4176 fi
4177
4178
4179 fi
4180 if test -z "$CC"; then
4181 if test -n "$ac_tool_prefix"; then
4182 for ac_prog in cl.exe
4183 do
4184 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4185 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187 $as_echo_n "checking for $ac_word... " >&6; }
4188 if ${ac_cv_prog_CC+:} false; then :
4189 $as_echo_n "(cached) " >&6
4190 else
4191 if test -n "$CC"; then
4192 ac_cv_prog_CC="$CC" # Let the user override the test.
4193 else
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 for as_dir in $PATH
4196 do
4197 IFS=$as_save_IFS
4198 test -z "$as_dir" && as_dir=.
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 break 2
4204 fi
4205 done
4206 done
4207 IFS=$as_save_IFS
4208
4209 fi
4210 fi
4211 CC=$ac_cv_prog_CC
4212 if test -n "$CC"; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4214 $as_echo "$CC" >&6; }
4215 else
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4218 fi
4219
4220
4221 test -n "$CC" && break
4222 done
4223 fi
4224 if test -z "$CC"; then
4225 ac_ct_CC=$CC
4226 for ac_prog in cl.exe
4227 do
4228 # Extract the first word of "$ac_prog", so it can be a program name with args.
4229 set dummy $ac_prog; ac_word=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4233 $as_echo_n "(cached) " >&6
4234 else
4235 if test -n "$ac_ct_CC"; then
4236 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4237 else
4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239 for as_dir in $PATH
4240 do
4241 IFS=$as_save_IFS
4242 test -z "$as_dir" && as_dir=.
4243 for ac_exec_ext in '' $ac_executable_extensions; do
4244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4245 ac_cv_prog_ac_ct_CC="$ac_prog"
4246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4247 break 2
4248 fi
4249 done
4250 done
4251 IFS=$as_save_IFS
4252
4253 fi
4254 fi
4255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4256 if test -n "$ac_ct_CC"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4258 $as_echo "$ac_ct_CC" >&6; }
4259 else
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4262 fi
4263
4264
4265 test -n "$ac_ct_CC" && break
4266 done
4267
4268 if test "x$ac_ct_CC" = x; then
4269 CC=""
4270 else
4271 case $cross_compiling:$ac_tool_warned in
4272 yes:)
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4275 ac_tool_warned=yes ;;
4276 esac
4277 CC=$ac_ct_CC
4278 fi
4279 fi
4280
4281 fi
4282
4283
4284 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4286 as_fn_error $? "no acceptable C compiler found in \$PATH
4287 See \`config.log' for more details" "$LINENO" 5; }
4288
4289 # Provide some information about the compiler.
4290 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4291 set X $ac_compile
4292 ac_compiler=$2
4293 for ac_option in --version -v -V -qversion; do
4294 { { ac_try="$ac_compiler $ac_option >&5"
4295 case "(($ac_try" in
4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4298 esac
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4302 ac_status=$?
4303 if test -s conftest.err; then
4304 sed '10a\
4305 ... rest of stderr output deleted ...
4306 10q' conftest.err >conftest.er1
4307 cat conftest.er1 >&5
4308 fi
4309 rm -f conftest.er1 conftest.err
4310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4311 test $ac_status = 0; }
4312 done
4313
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4315 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4316 if ${ac_cv_c_compiler_gnu+:} false; then :
4317 $as_echo_n "(cached) " >&6
4318 else
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4321
4322 int
4323 main ()
4324 {
4325 #ifndef __GNUC__
4326 choke me
4327 #endif
4328
4329 ;
4330 return 0;
4331 }
4332 _ACEOF
4333 if ac_fn_c_try_compile "$LINENO"; then :
4334 ac_compiler_gnu=yes
4335 else
4336 ac_compiler_gnu=no
4337 fi
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4340
4341 fi
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4343 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4344 if test $ac_compiler_gnu = yes; then
4345 GCC=yes
4346 else
4347 GCC=
4348 fi
4349 ac_test_CFLAGS=${CFLAGS+set}
4350 ac_save_CFLAGS=$CFLAGS
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4352 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4353 if ${ac_cv_prog_cc_g+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 ac_save_c_werror_flag=$ac_c_werror_flag
4357 ac_c_werror_flag=yes
4358 ac_cv_prog_cc_g=no
4359 CFLAGS="-g"
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4362
4363 int
4364 main ()
4365 {
4366
4367 ;
4368 return 0;
4369 }
4370 _ACEOF
4371 if ac_fn_c_try_compile "$LINENO"; then :
4372 ac_cv_prog_cc_g=yes
4373 else
4374 CFLAGS=""
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4377
4378 int
4379 main ()
4380 {
4381
4382 ;
4383 return 0;
4384 }
4385 _ACEOF
4386 if ac_fn_c_try_compile "$LINENO"; then :
4387
4388 else
4389 ac_c_werror_flag=$ac_save_c_werror_flag
4390 CFLAGS="-g"
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4393
4394 int
4395 main ()
4396 {
4397
4398 ;
4399 return 0;
4400 }
4401 _ACEOF
4402 if ac_fn_c_try_compile "$LINENO"; then :
4403 ac_cv_prog_cc_g=yes
4404 fi
4405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4406 fi
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 fi
4409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 ac_c_werror_flag=$ac_save_c_werror_flag
4411 fi
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4413 $as_echo "$ac_cv_prog_cc_g" >&6; }
4414 if test "$ac_test_CFLAGS" = set; then
4415 CFLAGS=$ac_save_CFLAGS
4416 elif test $ac_cv_prog_cc_g = yes; then
4417 if test "$GCC" = yes; then
4418 CFLAGS="-g -O2"
4419 else
4420 CFLAGS="-g"
4421 fi
4422 else
4423 if test "$GCC" = yes; then
4424 CFLAGS="-O2"
4425 else
4426 CFLAGS=
4427 fi
4428 fi
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4430 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4431 if ${ac_cv_prog_cc_c89+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 ac_cv_prog_cc_c89=no
4435 ac_save_CC=$CC
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4438 #include <stdarg.h>
4439 #include <stdio.h>
4440 struct stat;
4441 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4442 struct buf { int x; };
4443 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4444 static char *e (p, i)
4445 char **p;
4446 int i;
4447 {
4448 return p[i];
4449 }
4450 static char *f (char * (*g) (char **, int), char **p, ...)
4451 {
4452 char *s;
4453 va_list v;
4454 va_start (v,p);
4455 s = g (p, va_arg (v,int));
4456 va_end (v);
4457 return s;
4458 }
4459
4460 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4461 function prototypes and stuff, but not '\xHH' hex character constants.
4462 These don't provoke an error unfortunately, instead are silently treated
4463 as 'x'. The following induces an error, until -std is added to get
4464 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4465 array size at least. It's necessary to write '\x00'==0 to get something
4466 that's true only with -std. */
4467 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4468
4469 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4470 inside strings and character constants. */
4471 #define FOO(x) 'x'
4472 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4473
4474 int test (int i, double x);
4475 struct s1 {int (*f) (int a);};
4476 struct s2 {int (*f) (double a);};
4477 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4478 int argc;
4479 char **argv;
4480 int
4481 main ()
4482 {
4483 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4484 ;
4485 return 0;
4486 }
4487 _ACEOF
4488 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4489 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4490 do
4491 CC="$ac_save_CC $ac_arg"
4492 if ac_fn_c_try_compile "$LINENO"; then :
4493 ac_cv_prog_cc_c89=$ac_arg
4494 fi
4495 rm -f core conftest.err conftest.$ac_objext
4496 test "x$ac_cv_prog_cc_c89" != "xno" && break
4497 done
4498 rm -f conftest.$ac_ext
4499 CC=$ac_save_CC
4500
4501 fi
4502 # AC_CACHE_VAL
4503 case "x$ac_cv_prog_cc_c89" in
4504 x)
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4506 $as_echo "none needed" >&6; } ;;
4507 xno)
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4509 $as_echo "unsupported" >&6; } ;;
4510 *)
4511 CC="$CC $ac_cv_prog_cc_c89"
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4513 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4514 esac
4515 if test "x$ac_cv_prog_cc_c89" != xno; then :
4516
4517 fi
4518
4519 ac_ext=c
4520 ac_cpp='$CPP $CPPFLAGS'
4521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4524
4525 ac_ext=c
4526 ac_cpp='$CPP $CPPFLAGS'
4527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4531 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4532 if ${am_cv_prog_cc_c_o+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4537
4538 int
4539 main ()
4540 {
4541
4542 ;
4543 return 0;
4544 }
4545 _ACEOF
4546 # Make sure it works both with $CC and with simple cc.
4547 # Following AC_PROG_CC_C_O, we do the test twice because some
4548 # compilers refuse to overwrite an existing .o file with -o,
4549 # though they will create one.
4550 am_cv_prog_cc_c_o=yes
4551 for am_i in 1 2; do
4552 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4553 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4554 ac_status=$?
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } \
4557 && test -f conftest2.$ac_objext; then
4558 : OK
4559 else
4560 am_cv_prog_cc_c_o=no
4561 break
4562 fi
4563 done
4564 rm -f core conftest*
4565 unset am_i
4566 fi
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4568 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4569 if test "$am_cv_prog_cc_c_o" != yes; then
4570 # Losing compiler, so override with the script.
4571 # FIXME: It is wrong to rewrite CC.
4572 # But if we don't then we get into trouble of one sort or another.
4573 # A longer-term fix would be to have automake use am__CC in this case,
4574 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4575 CC="$am_aux_dir/compile $CC"
4576 fi
4577 ac_ext=c
4578 ac_cpp='$CPP $CPPFLAGS'
4579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4582
4583
4584 depcc="$CC" am_compiler_list=
4585
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4587 $as_echo_n "checking dependency style of $depcc... " >&6; }
4588 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4592 # We make a subdir and do the tests there. Otherwise we can end up
4593 # making bogus files that we don't know about and never remove. For
4594 # instance it was reported that on HP-UX the gcc test will end up
4595 # making a dummy file named 'D' -- because '-MD' means "put the output
4596 # in D".
4597 rm -rf conftest.dir
4598 mkdir conftest.dir
4599 # Copy depcomp to subdir because otherwise we won't find it if we're
4600 # using a relative directory.
4601 cp "$am_depcomp" conftest.dir
4602 cd conftest.dir
4603 # We will build objects and dependencies in a subdirectory because
4604 # it helps to detect inapplicable dependency modes. For instance
4605 # both Tru64's cc and ICC support -MD to output dependencies as a
4606 # side effect of compilation, but ICC will put the dependencies in
4607 # the current directory while Tru64 will put them in the object
4608 # directory.
4609 mkdir sub
4610
4611 am_cv_CC_dependencies_compiler_type=none
4612 if test "$am_compiler_list" = ""; then
4613 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4614 fi
4615 am__universal=false
4616 case " $depcc " in #(
4617 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4618 esac
4619
4620 for depmode in $am_compiler_list; do
4621 # Setup a source with many dependencies, because some compilers
4622 # like to wrap large dependency lists on column 80 (with \), and
4623 # we should not choose a depcomp mode which is confused by this.
4624 #
4625 # We need to recreate these files for each test, as the compiler may
4626 # overwrite some of them when testing with obscure command lines.
4627 # This happens at least with the AIX C compiler.
4628 : > sub/conftest.c
4629 for i in 1 2 3 4 5 6; do
4630 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4631 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4632 # Solaris 10 /bin/sh.
4633 echo '/* dummy */' > sub/conftst$i.h
4634 done
4635 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4636
4637 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4638 # mode. It turns out that the SunPro C++ compiler does not properly
4639 # handle '-M -o', and we need to detect this. Also, some Intel
4640 # versions had trouble with output in subdirs.
4641 am__obj=sub/conftest.${OBJEXT-o}
4642 am__minus_obj="-o $am__obj"
4643 case $depmode in
4644 gcc)
4645 # This depmode causes a compiler race in universal mode.
4646 test "$am__universal" = false || continue
4647 ;;
4648 nosideeffect)
4649 # After this tag, mechanisms are not by side-effect, so they'll
4650 # only be used when explicitly requested.
4651 if test "x$enable_dependency_tracking" = xyes; then
4652 continue
4653 else
4654 break
4655 fi
4656 ;;
4657 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4658 # This compiler won't grok '-c -o', but also, the minuso test has
4659 # not run yet. These depmodes are late enough in the game, and
4660 # so weak that their functioning should not be impacted.
4661 am__obj=conftest.${OBJEXT-o}
4662 am__minus_obj=
4663 ;;
4664 none) break ;;
4665 esac
4666 if depmode=$depmode \
4667 source=sub/conftest.c object=$am__obj \
4668 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4669 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4670 >/dev/null 2>conftest.err &&
4671 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4672 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4673 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4674 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4675 # icc doesn't choke on unknown options, it will just issue warnings
4676 # or remarks (even with -Werror). So we grep stderr for any message
4677 # that says an option was ignored or not supported.
4678 # When given -MP, icc 7.0 and 7.1 complain thusly:
4679 # icc: Command line warning: ignoring option '-M'; no argument required
4680 # The diagnosis changed in icc 8.0:
4681 # icc: Command line remark: option '-MP' not supported
4682 if (grep 'ignoring option' conftest.err ||
4683 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4684 am_cv_CC_dependencies_compiler_type=$depmode
4685 break
4686 fi
4687 fi
4688 done
4689
4690 cd ..
4691 rm -rf conftest.dir
4692 else
4693 am_cv_CC_dependencies_compiler_type=none
4694 fi
4695
4696 fi
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4698 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4699 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4700
4701 if
4702 test "x$enable_dependency_tracking" != xno \
4703 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4704 am__fastdepCC_TRUE=
4705 am__fastdepCC_FALSE='#'
4706 else
4707 am__fastdepCC_TRUE='#'
4708 am__fastdepCC_FALSE=
4709 fi
4710
4711
4712 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4713
4714
4715
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4717 $as_echo_n "checking for library containing strerror... " >&6; }
4718 if ${ac_cv_search_strerror+:} false; then :
4719 $as_echo_n "(cached) " >&6
4720 else
4721 ac_func_search_save_LIBS=$LIBS
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724
4725 /* Override any GCC internal prototype to avoid an error.
4726 Use char because int might match the return type of a GCC
4727 builtin and then its argument prototype would still apply. */
4728 #ifdef __cplusplus
4729 extern "C"
4730 #endif
4731 char strerror ();
4732 int
4733 main ()
4734 {
4735 return strerror ();
4736 ;
4737 return 0;
4738 }
4739 _ACEOF
4740 for ac_lib in '' cposix; do
4741 if test -z "$ac_lib"; then
4742 ac_res="none required"
4743 else
4744 ac_res=-l$ac_lib
4745 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4746 fi
4747 if ac_fn_c_try_link "$LINENO"; then :
4748 ac_cv_search_strerror=$ac_res
4749 fi
4750 rm -f core conftest.err conftest.$ac_objext \
4751 conftest$ac_exeext
4752 if ${ac_cv_search_strerror+:} false; then :
4753 break
4754 fi
4755 done
4756 if ${ac_cv_search_strerror+:} false; then :
4757
4758 else
4759 ac_cv_search_strerror=no
4760 fi
4761 rm conftest.$ac_ext
4762 LIBS=$ac_func_search_save_LIBS
4763 fi
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4765 $as_echo "$ac_cv_search_strerror" >&6; }
4766 ac_res=$ac_cv_search_strerror
4767 if test "$ac_res" != no; then :
4768 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4769
4770 fi
4771
4772 ac_ext=cpp
4773 ac_cpp='$CXXCPP $CPPFLAGS'
4774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4777 if test -z "$CXX"; then
4778 if test -n "$CCC"; then
4779 CXX=$CCC
4780 else
4781 if test -n "$ac_tool_prefix"; then
4782 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4783 do
4784 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4785 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_prog_CXX+:} false; then :
4789 $as_echo_n "(cached) " >&6
4790 else
4791 if test -n "$CXX"; then
4792 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4793 else
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795 for as_dir in $PATH
4796 do
4797 IFS=$as_save_IFS
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 break 2
4804 fi
4805 done
4806 done
4807 IFS=$as_save_IFS
4808
4809 fi
4810 fi
4811 CXX=$ac_cv_prog_CXX
4812 if test -n "$CXX"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4814 $as_echo "$CXX" >&6; }
4815 else
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4818 fi
4819
4820
4821 test -n "$CXX" && break
4822 done
4823 fi
4824 if test -z "$CXX"; then
4825 ac_ct_CXX=$CXX
4826 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4827 do
4828 # Extract the first word of "$ac_prog", so it can be a program name with args.
4829 set dummy $ac_prog; ac_word=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4833 $as_echo_n "(cached) " >&6
4834 else
4835 if test -n "$ac_ct_CXX"; then
4836 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4837 else
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH
4840 do
4841 IFS=$as_save_IFS
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_ac_ct_CXX="$ac_prog"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 break 2
4848 fi
4849 done
4850 done
4851 IFS=$as_save_IFS
4852
4853 fi
4854 fi
4855 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4856 if test -n "$ac_ct_CXX"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4858 $as_echo "$ac_ct_CXX" >&6; }
4859 else
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4862 fi
4863
4864
4865 test -n "$ac_ct_CXX" && break
4866 done
4867
4868 if test "x$ac_ct_CXX" = x; then
4869 CXX="g++"
4870 else
4871 case $cross_compiling:$ac_tool_warned in
4872 yes:)
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4875 ac_tool_warned=yes ;;
4876 esac
4877 CXX=$ac_ct_CXX
4878 fi
4879 fi
4880
4881 fi
4882 fi
4883 # Provide some information about the compiler.
4884 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4885 set X $ac_compile
4886 ac_compiler=$2
4887 for ac_option in --version -v -V -qversion; do
4888 { { ac_try="$ac_compiler $ac_option >&5"
4889 case "(($ac_try" in
4890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4891 *) ac_try_echo=$ac_try;;
4892 esac
4893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4894 $as_echo "$ac_try_echo"; } >&5
4895 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4896 ac_status=$?
4897 if test -s conftest.err; then
4898 sed '10a\
4899 ... rest of stderr output deleted ...
4900 10q' conftest.err >conftest.er1
4901 cat conftest.er1 >&5
4902 fi
4903 rm -f conftest.er1 conftest.err
4904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4905 test $ac_status = 0; }
4906 done
4907
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4909 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4910 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4911 $as_echo_n "(cached) " >&6
4912 else
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4915
4916 int
4917 main ()
4918 {
4919 #ifndef __GNUC__
4920 choke me
4921 #endif
4922
4923 ;
4924 return 0;
4925 }
4926 _ACEOF
4927 if ac_fn_cxx_try_compile "$LINENO"; then :
4928 ac_compiler_gnu=yes
4929 else
4930 ac_compiler_gnu=no
4931 fi
4932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4933 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4934
4935 fi
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4937 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4938 if test $ac_compiler_gnu = yes; then
4939 GXX=yes
4940 else
4941 GXX=
4942 fi
4943 ac_test_CXXFLAGS=${CXXFLAGS+set}
4944 ac_save_CXXFLAGS=$CXXFLAGS
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4946 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4947 if ${ac_cv_prog_cxx_g+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4951 ac_cxx_werror_flag=yes
4952 ac_cv_prog_cxx_g=no
4953 CXXFLAGS="-g"
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4956
4957 int
4958 main ()
4959 {
4960
4961 ;
4962 return 0;
4963 }
4964 _ACEOF
4965 if ac_fn_cxx_try_compile "$LINENO"; then :
4966 ac_cv_prog_cxx_g=yes
4967 else
4968 CXXFLAGS=""
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4971
4972 int
4973 main ()
4974 {
4975
4976 ;
4977 return 0;
4978 }
4979 _ACEOF
4980 if ac_fn_cxx_try_compile "$LINENO"; then :
4981
4982 else
4983 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4984 CXXFLAGS="-g"
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4987
4988 int
4989 main ()
4990 {
4991
4992 ;
4993 return 0;
4994 }
4995 _ACEOF
4996 if ac_fn_cxx_try_compile "$LINENO"; then :
4997 ac_cv_prog_cxx_g=yes
4998 fi
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 fi
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 fi
5003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5005 fi
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5007 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5008 if test "$ac_test_CXXFLAGS" = set; then
5009 CXXFLAGS=$ac_save_CXXFLAGS
5010 elif test $ac_cv_prog_cxx_g = yes; then
5011 if test "$GXX" = yes; then
5012 CXXFLAGS="-g -O2"
5013 else
5014 CXXFLAGS="-g"
5015 fi
5016 else
5017 if test "$GXX" = yes; then
5018 CXXFLAGS="-O2"
5019 else
5020 CXXFLAGS=
5021 fi
5022 fi
5023 ac_ext=c
5024 ac_cpp='$CPP $CPPFLAGS'
5025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5028
5029 depcc="$CXX" am_compiler_list=
5030
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5032 $as_echo_n "checking dependency style of $depcc... " >&6; }
5033 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5037 # We make a subdir and do the tests there. Otherwise we can end up
5038 # making bogus files that we don't know about and never remove. For
5039 # instance it was reported that on HP-UX the gcc test will end up
5040 # making a dummy file named 'D' -- because '-MD' means "put the output
5041 # in D".
5042 rm -rf conftest.dir
5043 mkdir conftest.dir
5044 # Copy depcomp to subdir because otherwise we won't find it if we're
5045 # using a relative directory.
5046 cp "$am_depcomp" conftest.dir
5047 cd conftest.dir
5048 # We will build objects and dependencies in a subdirectory because
5049 # it helps to detect inapplicable dependency modes. For instance
5050 # both Tru64's cc and ICC support -MD to output dependencies as a
5051 # side effect of compilation, but ICC will put the dependencies in
5052 # the current directory while Tru64 will put them in the object
5053 # directory.
5054 mkdir sub
5055
5056 am_cv_CXX_dependencies_compiler_type=none
5057 if test "$am_compiler_list" = ""; then
5058 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5059 fi
5060 am__universal=false
5061 case " $depcc " in #(
5062 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5063 esac
5064
5065 for depmode in $am_compiler_list; do
5066 # Setup a source with many dependencies, because some compilers
5067 # like to wrap large dependency lists on column 80 (with \), and
5068 # we should not choose a depcomp mode which is confused by this.
5069 #
5070 # We need to recreate these files for each test, as the compiler may
5071 # overwrite some of them when testing with obscure command lines.
5072 # This happens at least with the AIX C compiler.
5073 : > sub/conftest.c
5074 for i in 1 2 3 4 5 6; do
5075 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5076 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5077 # Solaris 10 /bin/sh.
5078 echo '/* dummy */' > sub/conftst$i.h
5079 done
5080 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5081
5082 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5083 # mode. It turns out that the SunPro C++ compiler does not properly
5084 # handle '-M -o', and we need to detect this. Also, some Intel
5085 # versions had trouble with output in subdirs.
5086 am__obj=sub/conftest.${OBJEXT-o}
5087 am__minus_obj="-o $am__obj"
5088 case $depmode in
5089 gcc)
5090 # This depmode causes a compiler race in universal mode.
5091 test "$am__universal" = false || continue
5092 ;;
5093 nosideeffect)
5094 # After this tag, mechanisms are not by side-effect, so they'll
5095 # only be used when explicitly requested.
5096 if test "x$enable_dependency_tracking" = xyes; then
5097 continue
5098 else
5099 break
5100 fi
5101 ;;
5102 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5103 # This compiler won't grok '-c -o', but also, the minuso test has
5104 # not run yet. These depmodes are late enough in the game, and
5105 # so weak that their functioning should not be impacted.
5106 am__obj=conftest.${OBJEXT-o}
5107 am__minus_obj=
5108 ;;
5109 none) break ;;
5110 esac
5111 if depmode=$depmode \
5112 source=sub/conftest.c object=$am__obj \
5113 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5114 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5115 >/dev/null 2>conftest.err &&
5116 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5117 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5118 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5119 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5120 # icc doesn't choke on unknown options, it will just issue warnings
5121 # or remarks (even with -Werror). So we grep stderr for any message
5122 # that says an option was ignored or not supported.
5123 # When given -MP, icc 7.0 and 7.1 complain thusly:
5124 # icc: Command line warning: ignoring option '-M'; no argument required
5125 # The diagnosis changed in icc 8.0:
5126 # icc: Command line remark: option '-MP' not supported
5127 if (grep 'ignoring option' conftest.err ||
5128 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5129 am_cv_CXX_dependencies_compiler_type=$depmode
5130 break
5131 fi
5132 fi
5133 done
5134
5135 cd ..
5136 rm -rf conftest.dir
5137 else
5138 am_cv_CXX_dependencies_compiler_type=none
5139 fi
5140
5141 fi
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5143 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5144 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5145
5146 if
5147 test "x$enable_dependency_tracking" != xno \
5148 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5149 am__fastdepCXX_TRUE=
5150 am__fastdepCXX_FALSE='#'
5151 else
5152 am__fastdepCXX_TRUE='#'
5153 am__fastdepCXX_FALSE=
5154 fi
5155
5156
5157 if test -n "$ac_tool_prefix"; then
5158 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5159 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if ${ac_cv_prog_RANLIB+:} false; then :
5163 $as_echo_n "(cached) " >&6
5164 else
5165 if test -n "$RANLIB"; then
5166 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5167 else
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169 for as_dir in $PATH
5170 do
5171 IFS=$as_save_IFS
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5175 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 break 2
5178 fi
5179 done
5180 done
5181 IFS=$as_save_IFS
5182
5183 fi
5184 fi
5185 RANLIB=$ac_cv_prog_RANLIB
5186 if test -n "$RANLIB"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5188 $as_echo "$RANLIB" >&6; }
5189 else
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5192 fi
5193
5194
5195 fi
5196 if test -z "$ac_cv_prog_RANLIB"; then
5197 ac_ct_RANLIB=$RANLIB
5198 # Extract the first word of "ranlib", so it can be a program name with args.
5199 set dummy ranlib; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$ac_ct_RANLIB"; then
5206 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5210 do
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_ac_ct_RANLIB="ranlib"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5218 fi
5219 done
5220 done
5221 IFS=$as_save_IFS
5222
5223 fi
5224 fi
5225 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5226 if test -n "$ac_ct_RANLIB"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5228 $as_echo "$ac_ct_RANLIB" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5232 fi
5233
5234 if test "x$ac_ct_RANLIB" = x; then
5235 RANLIB=":"
5236 else
5237 case $cross_compiling:$ac_tool_warned in
5238 yes:)
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5241 ac_tool_warned=yes ;;
5242 esac
5243 RANLIB=$ac_ct_RANLIB
5244 fi
5245 else
5246 RANLIB="$ac_cv_prog_RANLIB"
5247 fi
5248
5249
5250 ac_ext=c
5251 ac_cpp='$CPP $CPPFLAGS'
5252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5256 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5257 # On Suns, sometimes $CPP names a directory.
5258 if test -n "$CPP" && test -d "$CPP"; then
5259 CPP=
5260 fi
5261 if test -z "$CPP"; then
5262 if ${ac_cv_prog_CPP+:} false; then :
5263 $as_echo_n "(cached) " >&6
5264 else
5265 # Double quotes because CPP needs to be expanded
5266 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5267 do
5268 ac_preproc_ok=false
5269 for ac_c_preproc_warn_flag in '' yes
5270 do
5271 # Use a header file that comes with gcc, so configuring glibc
5272 # with a fresh cross-compiler works.
5273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5274 # <limits.h> exists even on freestanding compilers.
5275 # On the NeXT, cc -E runs the code through the compiler's parser,
5276 # not just through cpp. "Syntax error" is here to catch this case.
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5279 #ifdef __STDC__
5280 # include <limits.h>
5281 #else
5282 # include <assert.h>
5283 #endif
5284 Syntax error
5285 _ACEOF
5286 if ac_fn_c_try_cpp "$LINENO"; then :
5287
5288 else
5289 # Broken: fails on valid input.
5290 continue
5291 fi
5292 rm -f conftest.err conftest.i conftest.$ac_ext
5293
5294 # OK, works on sane cases. Now check whether nonexistent headers
5295 # can be detected and how.
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5298 #include <ac_nonexistent.h>
5299 _ACEOF
5300 if ac_fn_c_try_cpp "$LINENO"; then :
5301 # Broken: success on invalid input.
5302 continue
5303 else
5304 # Passes both tests.
5305 ac_preproc_ok=:
5306 break
5307 fi
5308 rm -f conftest.err conftest.i conftest.$ac_ext
5309
5310 done
5311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5312 rm -f conftest.i conftest.err conftest.$ac_ext
5313 if $ac_preproc_ok; then :
5314 break
5315 fi
5316
5317 done
5318 ac_cv_prog_CPP=$CPP
5319
5320 fi
5321 CPP=$ac_cv_prog_CPP
5322 else
5323 ac_cv_prog_CPP=$CPP
5324 fi
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5326 $as_echo "$CPP" >&6; }
5327 ac_preproc_ok=false
5328 for ac_c_preproc_warn_flag in '' yes
5329 do
5330 # Use a header file that comes with gcc, so configuring glibc
5331 # with a fresh cross-compiler works.
5332 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5333 # <limits.h> exists even on freestanding compilers.
5334 # On the NeXT, cc -E runs the code through the compiler's parser,
5335 # not just through cpp. "Syntax error" is here to catch this case.
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5338 #ifdef __STDC__
5339 # include <limits.h>
5340 #else
5341 # include <assert.h>
5342 #endif
5343 Syntax error
5344 _ACEOF
5345 if ac_fn_c_try_cpp "$LINENO"; then :
5346
5347 else
5348 # Broken: fails on valid input.
5349 continue
5350 fi
5351 rm -f conftest.err conftest.i conftest.$ac_ext
5352
5353 # OK, works on sane cases. Now check whether nonexistent headers
5354 # can be detected and how.
5355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5356 /* end confdefs.h. */
5357 #include <ac_nonexistent.h>
5358 _ACEOF
5359 if ac_fn_c_try_cpp "$LINENO"; then :
5360 # Broken: success on invalid input.
5361 continue
5362 else
5363 # Passes both tests.
5364 ac_preproc_ok=:
5365 break
5366 fi
5367 rm -f conftest.err conftest.i conftest.$ac_ext
5368
5369 done
5370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5371 rm -f conftest.i conftest.err conftest.$ac_ext
5372 if $ac_preproc_ok; then :
5373
5374 else
5375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5377 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5378 See \`config.log' for more details" "$LINENO" 5; }
5379 fi
5380
5381 ac_ext=c
5382 ac_cpp='$CPP $CPPFLAGS'
5383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5386
5387
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5389 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5390 if ${ac_cv_path_GREP+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if test -z "$GREP"; then
5394 ac_path_GREP_found=false
5395 # Loop through the user's path and test for each of PROGNAME-LIST
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5398 do
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_prog in grep ggrep; do
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5404 as_fn_executable_p "$ac_path_GREP" || continue
5405 # Check for GNU ac_path_GREP and select it if it is found.
5406 # Check for GNU $ac_path_GREP
5407 case `"$ac_path_GREP" --version 2>&1` in
5408 *GNU*)
5409 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5410 *)
5411 ac_count=0
5412 $as_echo_n 0123456789 >"conftest.in"
5413 while :
5414 do
5415 cat "conftest.in" "conftest.in" >"conftest.tmp"
5416 mv "conftest.tmp" "conftest.in"
5417 cp "conftest.in" "conftest.nl"
5418 $as_echo 'GREP' >> "conftest.nl"
5419 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5420 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5421 as_fn_arith $ac_count + 1 && ac_count=$as_val
5422 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5423 # Best one so far, save it but keep looking for a better one
5424 ac_cv_path_GREP="$ac_path_GREP"
5425 ac_path_GREP_max=$ac_count
5426 fi
5427 # 10*(2^10) chars as input seems more than enough
5428 test $ac_count -gt 10 && break
5429 done
5430 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5431 esac
5432
5433 $ac_path_GREP_found && break 3
5434 done
5435 done
5436 done
5437 IFS=$as_save_IFS
5438 if test -z "$ac_cv_path_GREP"; then
5439 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5440 fi
5441 else
5442 ac_cv_path_GREP=$GREP
5443 fi
5444
5445 fi
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5447 $as_echo "$ac_cv_path_GREP" >&6; }
5448 GREP="$ac_cv_path_GREP"
5449
5450
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5452 $as_echo_n "checking for egrep... " >&6; }
5453 if ${ac_cv_path_EGREP+:} false; then :
5454 $as_echo_n "(cached) " >&6
5455 else
5456 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5457 then ac_cv_path_EGREP="$GREP -E"
5458 else
5459 if test -z "$EGREP"; then
5460 ac_path_EGREP_found=false
5461 # Loop through the user's path and test for each of PROGNAME-LIST
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5464 do
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_prog in egrep; do
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5470 as_fn_executable_p "$ac_path_EGREP" || continue
5471 # Check for GNU ac_path_EGREP and select it if it is found.
5472 # Check for GNU $ac_path_EGREP
5473 case `"$ac_path_EGREP" --version 2>&1` in
5474 *GNU*)
5475 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5476 *)
5477 ac_count=0
5478 $as_echo_n 0123456789 >"conftest.in"
5479 while :
5480 do
5481 cat "conftest.in" "conftest.in" >"conftest.tmp"
5482 mv "conftest.tmp" "conftest.in"
5483 cp "conftest.in" "conftest.nl"
5484 $as_echo 'EGREP' >> "conftest.nl"
5485 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5486 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5487 as_fn_arith $ac_count + 1 && ac_count=$as_val
5488 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5489 # Best one so far, save it but keep looking for a better one
5490 ac_cv_path_EGREP="$ac_path_EGREP"
5491 ac_path_EGREP_max=$ac_count
5492 fi
5493 # 10*(2^10) chars as input seems more than enough
5494 test $ac_count -gt 10 && break
5495 done
5496 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5497 esac
5498
5499 $ac_path_EGREP_found && break 3
5500 done
5501 done
5502 done
5503 IFS=$as_save_IFS
5504 if test -z "$ac_cv_path_EGREP"; then
5505 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5506 fi
5507 else
5508 ac_cv_path_EGREP=$EGREP
5509 fi
5510
5511 fi
5512 fi
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5514 $as_echo "$ac_cv_path_EGREP" >&6; }
5515 EGREP="$ac_cv_path_EGREP"
5516
5517
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5519 $as_echo_n "checking for ANSI C header files... " >&6; }
5520 if ${ac_cv_header_stdc+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5525 #include <stdlib.h>
5526 #include <stdarg.h>
5527 #include <string.h>
5528 #include <float.h>
5529
5530 int
5531 main ()
5532 {
5533
5534 ;
5535 return 0;
5536 }
5537 _ACEOF
5538 if ac_fn_c_try_compile "$LINENO"; then :
5539 ac_cv_header_stdc=yes
5540 else
5541 ac_cv_header_stdc=no
5542 fi
5543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544
5545 if test $ac_cv_header_stdc = yes; then
5546 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548 /* end confdefs.h. */
5549 #include <string.h>
5550
5551 _ACEOF
5552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5553 $EGREP "memchr" >/dev/null 2>&1; then :
5554
5555 else
5556 ac_cv_header_stdc=no
5557 fi
5558 rm -f conftest*
5559
5560 fi
5561
5562 if test $ac_cv_header_stdc = yes; then
5563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5566 #include <stdlib.h>
5567
5568 _ACEOF
5569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5570 $EGREP "free" >/dev/null 2>&1; then :
5571
5572 else
5573 ac_cv_header_stdc=no
5574 fi
5575 rm -f conftest*
5576
5577 fi
5578
5579 if test $ac_cv_header_stdc = yes; then
5580 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5581 if test "$cross_compiling" = yes; then :
5582 :
5583 else
5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5586 #include <ctype.h>
5587 #include <stdlib.h>
5588 #if ((' ' & 0x0FF) == 0x020)
5589 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5590 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5591 #else
5592 # define ISLOWER(c) \
5593 (('a' <= (c) && (c) <= 'i') \
5594 || ('j' <= (c) && (c) <= 'r') \
5595 || ('s' <= (c) && (c) <= 'z'))
5596 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5597 #endif
5598
5599 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5600 int
5601 main ()
5602 {
5603 int i;
5604 for (i = 0; i < 256; i++)
5605 if (XOR (islower (i), ISLOWER (i))
5606 || toupper (i) != TOUPPER (i))
5607 return 2;
5608 return 0;
5609 }
5610 _ACEOF
5611 if ac_fn_c_try_run "$LINENO"; then :
5612
5613 else
5614 ac_cv_header_stdc=no
5615 fi
5616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5617 conftest.$ac_objext conftest.beam conftest.$ac_ext
5618 fi
5619
5620 fi
5621 fi
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5623 $as_echo "$ac_cv_header_stdc" >&6; }
5624 if test $ac_cv_header_stdc = yes; then
5625
5626 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5627
5628 fi
5629
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
5631 $as_echo_n "checking for cos in -lm... " >&6; }
5632 if ${ac_cv_lib_m_cos+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634 else
5635 ac_check_lib_save_LIBS=$LIBS
5636 LIBS="-lm $LIBS"
5637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5638 /* end confdefs.h. */
5639
5640 /* Override any GCC internal prototype to avoid an error.
5641 Use char because int might match the return type of a GCC
5642 builtin and then its argument prototype would still apply. */
5643 #ifdef __cplusplus
5644 extern "C"
5645 #endif
5646 char cos ();
5647 int
5648 main ()
5649 {
5650 return cos ();
5651 ;
5652 return 0;
5653 }
5654 _ACEOF
5655 if ac_fn_c_try_link "$LINENO"; then :
5656 ac_cv_lib_m_cos=yes
5657 else
5658 ac_cv_lib_m_cos=no
5659 fi
5660 rm -f core conftest.err conftest.$ac_objext \
5661 conftest$ac_exeext conftest.$ac_ext
5662 LIBS=$ac_check_lib_save_LIBS
5663 fi
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
5665 $as_echo "$ac_cv_lib_m_cos" >&6; }
5666 if test "x$ac_cv_lib_m_cos" = xyes; then :
5667 cat >>confdefs.h <<_ACEOF
5668 #define HAVE_LIBM 1
5669 _ACEOF
5670
5671 LIBS="-lm $LIBS"
5672
5673 fi
5674
5675
5676 #comedilib
5677 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5679 inttypes.h stdint.h unistd.h
5680 do :
5681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5683 "
5684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5685 cat >>confdefs.h <<_ACEOF
5686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5687 _ACEOF
5688
5689 fi
5690
5691 done
5692
5693
5694 ac_fn_c_check_header_mongrel "$LINENO" "comedilib.h" "ac_cv_header_comedilib_h" "$ac_includes_default"
5695 if test "x$ac_cv_header_comedilib_h" = xyes; then :
5696
5697 else
5698 as_fn_error $? "Failed to find comedilib.h." "$LINENO" 5
5699 fi
5700
5701
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for comedi_open in -lcomedi" >&5
5703 $as_echo_n "checking for comedi_open in -lcomedi... " >&6; }
5704 if ${ac_cv_lib_comedi_comedi_open+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 ac_check_lib_save_LIBS=$LIBS
5708 LIBS="-lcomedi $LIBS"
5709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5710 /* end confdefs.h. */
5711
5712 /* Override any GCC internal prototype to avoid an error.
5713 Use char because int might match the return type of a GCC
5714 builtin and then its argument prototype would still apply. */
5715 #ifdef __cplusplus
5716 extern "C"
5717 #endif
5718 char comedi_open ();
5719 int
5720 main ()
5721 {
5722 return comedi_open ();
5723 ;
5724 return 0;
5725 }
5726 _ACEOF
5727 if ac_fn_c_try_link "$LINENO"; then :
5728 ac_cv_lib_comedi_comedi_open=yes
5729 else
5730 ac_cv_lib_comedi_comedi_open=no
5731 fi
5732 rm -f core conftest.err conftest.$ac_objext \
5733 conftest$ac_exeext conftest.$ac_ext
5734 LIBS=$ac_check_lib_save_LIBS
5735 fi
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_comedi_comedi_open" >&5
5737 $as_echo "$ac_cv_lib_comedi_comedi_open" >&6; }
5738 if test "x$ac_cv_lib_comedi_comedi_open" = xyes; then :
5739 cat >>confdefs.h <<_ACEOF
5740 #define HAVE_LIBCOMEDI 1
5741 _ACEOF
5742
5743 LIBS="-lcomedi $LIBS"
5744
5745 else
5746 as_fn_error $? "Failed to find libcomedi." "$LINENO" 5
5747 fi
5748
5749
5750 # GNU Scientific Library
5751 ac_fn_c_check_header_mongrel "$LINENO" "gsl/gsl_matrix.h" "ac_cv_header_gsl_gsl_matrix_h" "$ac_includes_default"
5752 if test "x$ac_cv_header_gsl_gsl_matrix_h" = xyes; then :
5753
5754 else
5755 as_fn_error $? "Failed to find gsl/gsl_matrix.h" "$LINENO" 5
5756 fi
5757
5758
5759 ac_fn_c_check_header_mongrel "$LINENO" "gsl/gsl_multifit.h" "ac_cv_header_gsl_gsl_multifit_h" "$ac_includes_default"
5760 if test "x$ac_cv_header_gsl_gsl_multifit_h" = xyes; then :
5761
5762 else
5763 as_fn_error $? "Failed to find gsl/gsl_multifit.h" "$LINENO" 5
5764 fi
5765
5766
5767 ac_fn_c_check_header_mongrel "$LINENO" "gsl/gsl_statistics.h" "ac_cv_header_gsl_gsl_statistics_h" "$ac_includes_default"
5768 if test "x$ac_cv_header_gsl_gsl_statistics_h" = xyes; then :
5769
5770 else
5771 as_fn_error $? "Failed to find gsl/gsl_statistics.h" "$LINENO" 5
5772 fi
5773
5774
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lgslcblas" >&5
5776 $as_echo_n "checking for cblas_dgemm in -lgslcblas... " >&6; }
5777 if ${ac_cv_lib_gslcblas_cblas_dgemm+:} false; then :
5778 $as_echo_n "(cached) " >&6
5779 else
5780 ac_check_lib_save_LIBS=$LIBS
5781 LIBS="-lgslcblas $LIBS"
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5784
5785 /* Override any GCC internal prototype to avoid an error.
5786 Use char because int might match the return type of a GCC
5787 builtin and then its argument prototype would still apply. */
5788 #ifdef __cplusplus
5789 extern "C"
5790 #endif
5791 char cblas_dgemm ();
5792 int
5793 main ()
5794 {
5795 return cblas_dgemm ();
5796 ;
5797 return 0;
5798 }
5799 _ACEOF
5800 if ac_fn_c_try_link "$LINENO"; then :
5801 ac_cv_lib_gslcblas_cblas_dgemm=yes
5802 else
5803 ac_cv_lib_gslcblas_cblas_dgemm=no
5804 fi
5805 rm -f core conftest.err conftest.$ac_objext \
5806 conftest$ac_exeext conftest.$ac_ext
5807 LIBS=$ac_check_lib_save_LIBS
5808 fi
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gslcblas_cblas_dgemm" >&5
5810 $as_echo "$ac_cv_lib_gslcblas_cblas_dgemm" >&6; }
5811 if test "x$ac_cv_lib_gslcblas_cblas_dgemm" = xyes; then :
5812 cat >>confdefs.h <<_ACEOF
5813 #define HAVE_LIBGSLCBLAS 1
5814 _ACEOF
5815
5816 LIBS="-lgslcblas $LIBS"
5817
5818 else
5819 as_fn_error $? "Failed to find libgslcblas." "$LINENO" 5
5820 fi
5821
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsl_blas_dgemm in -lgsl" >&5
5823 $as_echo_n "checking for gsl_blas_dgemm in -lgsl... " >&6; }
5824 if ${ac_cv_lib_gsl_gsl_blas_dgemm+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 ac_check_lib_save_LIBS=$LIBS
5828 LIBS="-lgsl $LIBS"
5829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5830 /* end confdefs.h. */
5831
5832 /* Override any GCC internal prototype to avoid an error.
5833 Use char because int might match the return type of a GCC
5834 builtin and then its argument prototype would still apply. */
5835 #ifdef __cplusplus
5836 extern "C"
5837 #endif
5838 char gsl_blas_dgemm ();
5839 int
5840 main ()
5841 {
5842 return gsl_blas_dgemm ();
5843 ;
5844 return 0;
5845 }
5846 _ACEOF
5847 if ac_fn_c_try_link "$LINENO"; then :
5848 ac_cv_lib_gsl_gsl_blas_dgemm=yes
5849 else
5850 ac_cv_lib_gsl_gsl_blas_dgemm=no
5851 fi
5852 rm -f core conftest.err conftest.$ac_objext \
5853 conftest$ac_exeext conftest.$ac_ext
5854 LIBS=$ac_check_lib_save_LIBS
5855 fi
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsl_gsl_blas_dgemm" >&5
5857 $as_echo "$ac_cv_lib_gsl_gsl_blas_dgemm" >&6; }
5858 if test "x$ac_cv_lib_gsl_gsl_blas_dgemm" = xyes; then :
5859 cat >>confdefs.h <<_ACEOF
5860 #define HAVE_LIBGSL 1
5861 _ACEOF
5862
5863 LIBS="-lgsl $LIBS"
5864
5865 else
5866 as_fn_error $? "Failed to find libgsl." "$LINENO" 5
5867 fi
5868
5869
5870 #boost/program_options
5871 ac_ext=cpp
5872 ac_cpp='$CXXCPP $CPPFLAGS'
5873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5876
5877
5878 ac_ext=cpp
5879 ac_cpp='$CXXCPP $CPPFLAGS'
5880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5884 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5885 if test -z "$CXXCPP"; then
5886 if ${ac_cv_prog_CXXCPP+:} false; then :
5887 $as_echo_n "(cached) " >&6
5888 else
5889 # Double quotes because CXXCPP needs to be expanded
5890 for CXXCPP in "$CXX -E" "/lib/cpp"
5891 do
5892 ac_preproc_ok=false
5893 for ac_cxx_preproc_warn_flag in '' yes
5894 do
5895 # Use a header file that comes with gcc, so configuring glibc
5896 # with a fresh cross-compiler works.
5897 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5898 # <limits.h> exists even on freestanding compilers.
5899 # On the NeXT, cc -E runs the code through the compiler's parser,
5900 # not just through cpp. "Syntax error" is here to catch this case.
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5903 #ifdef __STDC__
5904 # include <limits.h>
5905 #else
5906 # include <assert.h>
5907 #endif
5908 Syntax error
5909 _ACEOF
5910 if ac_fn_cxx_try_cpp "$LINENO"; then :
5911
5912 else
5913 # Broken: fails on valid input.
5914 continue
5915 fi
5916 rm -f conftest.err conftest.i conftest.$ac_ext
5917
5918 # OK, works on sane cases. Now check whether nonexistent headers
5919 # can be detected and how.
5920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5922 #include <ac_nonexistent.h>
5923 _ACEOF
5924 if ac_fn_cxx_try_cpp "$LINENO"; then :
5925 # Broken: success on invalid input.
5926 continue
5927 else
5928 # Passes both tests.
5929 ac_preproc_ok=:
5930 break
5931 fi
5932 rm -f conftest.err conftest.i conftest.$ac_ext
5933
5934 done
5935 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5936 rm -f conftest.i conftest.err conftest.$ac_ext
5937 if $ac_preproc_ok; then :
5938 break
5939 fi
5940
5941 done
5942 ac_cv_prog_CXXCPP=$CXXCPP
5943
5944 fi
5945 CXXCPP=$ac_cv_prog_CXXCPP
5946 else
5947 ac_cv_prog_CXXCPP=$CXXCPP
5948 fi
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
5950 $as_echo "$CXXCPP" >&6; }
5951 ac_preproc_ok=false
5952 for ac_cxx_preproc_warn_flag in '' yes
5953 do
5954 # Use a header file that comes with gcc, so configuring glibc
5955 # with a fresh cross-compiler works.
5956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5957 # <limits.h> exists even on freestanding compilers.
5958 # On the NeXT, cc -E runs the code through the compiler's parser,
5959 # not just through cpp. "Syntax error" is here to catch this case.
5960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5961 /* end confdefs.h. */
5962 #ifdef __STDC__
5963 # include <limits.h>
5964 #else
5965 # include <assert.h>
5966 #endif
5967 Syntax error
5968 _ACEOF
5969 if ac_fn_cxx_try_cpp "$LINENO"; then :
5970
5971 else
5972 # Broken: fails on valid input.
5973 continue
5974 fi
5975 rm -f conftest.err conftest.i conftest.$ac_ext
5976
5977 # OK, works on sane cases. Now check whether nonexistent headers
5978 # can be detected and how.
5979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5981 #include <ac_nonexistent.h>
5982 _ACEOF
5983 if ac_fn_cxx_try_cpp "$LINENO"; then :
5984 # Broken: success on invalid input.
5985 continue
5986 else
5987 # Passes both tests.
5988 ac_preproc_ok=:
5989 break
5990 fi
5991 rm -f conftest.err conftest.i conftest.$ac_ext
5992
5993 done
5994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5995 rm -f conftest.i conftest.err conftest.$ac_ext
5996 if $ac_preproc_ok; then :
5997
5998 else
5999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6001 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6002 See \`config.log' for more details" "$LINENO" 5; }
6003 fi
6004
6005 ac_ext=cpp
6006 ac_cpp='$CXXCPP $CPPFLAGS'
6007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6010
6011
6012 ac_fn_cxx_check_header_mongrel "$LINENO" "boost/program_options.hpp" "ac_cv_header_boost_program_options_hpp" "$ac_includes_default"
6013 if test "x$ac_cv_header_boost_program_options_hpp" = xyes; then :
6014
6015 else
6016 as_fn_error $? "Failed to find boost/program_options.hpp" "$LINENO" 5
6017 fi
6018
6019
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_program_options" >&5
6021 $as_echo_n "checking for main in -lboost_program_options... " >&6; }
6022 if ${ac_cv_lib_boost_program_options_main+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 ac_check_lib_save_LIBS=$LIBS
6026 LIBS="-lboost_program_options $LIBS"
6027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6028 /* end confdefs.h. */
6029
6030
6031 int
6032 main ()
6033 {
6034 return main ();
6035 ;
6036 return 0;
6037 }
6038 _ACEOF
6039 if ac_fn_cxx_try_link "$LINENO"; then :
6040 ac_cv_lib_boost_program_options_main=yes
6041 else
6042 ac_cv_lib_boost_program_options_main=no
6043 fi
6044 rm -f core conftest.err conftest.$ac_objext \
6045 conftest$ac_exeext conftest.$ac_ext
6046 LIBS=$ac_check_lib_save_LIBS
6047 fi
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_program_options_main" >&5
6049 $as_echo "$ac_cv_lib_boost_program_options_main" >&6; }
6050 if test "x$ac_cv_lib_boost_program_options_main" = xyes; then :
6051 cat >>confdefs.h <<_ACEOF
6052 #define HAVE_LIBBOOST_PROGRAM_OPTIONS 1
6053 _ACEOF
6054
6055 LIBS="-lboost_program_options $LIBS"
6056
6057 else
6058 as_fn_error $? "Failed to find libboost_program_options." "$LINENO" 5
6059 fi
6060 # cheat!
6061 ac_ext=c
6062 ac_cpp='$CPP $CPPFLAGS'
6063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6066
6067
6068 COMEDI_CALIBRATE_CFLAGS="-Wall"
6069
6070
6071 ac_config_files="$ac_config_files Makefile comedi_calibrate/Makefile comedi_soft_calibrate/Makefile libcomedi_calibrate/Makefile man/Makefile"
6072
6073
6074 cat >confcache <<\_ACEOF
6075 # This file is a shell script that caches the results of configure
6076 # tests run on this system so they can be shared between configure
6077 # scripts and configure runs, see configure's option --config-cache.
6078 # It is not useful on other systems. If it contains results you don't
6079 # want to keep, you may remove or edit it.
6080 #
6081 # config.status only pays attention to the cache file if you give it
6082 # the --recheck option to rerun configure.
6083 #
6084 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6085 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6086 # following values.
6087
6088 _ACEOF
6089
6090 # The following way of writing the cache mishandles newlines in values,
6091 # but we know of no workaround that is simple, portable, and efficient.
6092 # So, we kill variables containing newlines.
6093 # Ultrix sh set writes to stderr and can't be redirected directly,
6094 # and sets the high bit in the cache file unless we assign to the vars.
6095 (
6096 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6097 eval ac_val=\$$ac_var
6098 case $ac_val in #(
6099 *${as_nl}*)
6100 case $ac_var in #(
6101 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6103 esac
6104 case $ac_var in #(
6105 _ | IFS | as_nl) ;; #(
6106 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6107 *) { eval $ac_var=; unset $ac_var;} ;;
6108 esac ;;
6109 esac
6110 done
6111
6112 (set) 2>&1 |
6113 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6114 *${as_nl}ac_space=\ *)
6115 # `set' does not quote correctly, so add quotes: double-quote
6116 # substitution turns \\\\ into \\, and sed turns \\ into \.
6117 sed -n \
6118 "s/'/'\\\\''/g;
6119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6120 ;; #(
6121 *)
6122 # `set' quotes correctly as required by POSIX, so do not add quotes.
6123 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6124 ;;
6125 esac |
6126 sort
6127 ) |
6128 sed '
6129 /^ac_cv_env_/b end
6130 t clear
6131 :clear
6132 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6133 t end
6134 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6135 :end' >>confcache
6136 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6137 if test -w "$cache_file"; then
6138 if test "x$cache_file" != "x/dev/null"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6140 $as_echo "$as_me: updating cache $cache_file" >&6;}
6141 if test ! -f "$cache_file" || test -h "$cache_file"; then
6142 cat confcache >"$cache_file"
6143 else
6144 case $cache_file in #(
6145 */* | ?:*)
6146 mv -f confcache "$cache_file"$$ &&
6147 mv -f "$cache_file"$$ "$cache_file" ;; #(
6148 *)
6149 mv -f confcache "$cache_file" ;;
6150 esac
6151 fi
6152 fi
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6155 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6156 fi
6157 fi
6158 rm -f confcache
6159
6160 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6161 # Let make expand exec_prefix.
6162 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6163
6164 # Transform confdefs.h into DEFS.
6165 # Protect against shell expansion while executing Makefile rules.
6166 # Protect against Makefile macro expansion.
6167 #
6168 # If the first sed substitution is executed (which looks for macros that
6169 # take arguments), then branch to the quote section. Otherwise,
6170 # look for a macro that doesn't take arguments.
6171 ac_script='
6172 :mline
6173 /\\$/{
6174 N
6175 s,\\\n,,
6176 b mline
6177 }
6178 t clear
6179 :clear
6180 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6181 t quote
6182 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6183 t quote
6184 b any
6185 :quote
6186 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6187 s/\[/\\&/g
6188 s/\]/\\&/g
6189 s/\$/$$/g
6190 H
6191 :any
6192 ${
6193 g
6194 s/^\n//
6195 s/\n/ /g
6196 p
6197 }
6198 '
6199 DEFS=`sed -n "$ac_script" confdefs.h`
6200
6201
6202 ac_libobjs=
6203 ac_ltlibobjs=
6204 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6205 # 1. Remove the extension, and $U if already installed.
6206 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6207 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6208 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6209 # will be set to the directory where LIBOBJS objects are built.
6210 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6211 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6212 done
6213 LIBOBJS=$ac_libobjs
6214
6215 LTLIBOBJS=$ac_ltlibobjs
6216
6217
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6219 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6220 if test -n "$am_sleep_pid"; then
6221 # Hide warnings about reused PIDs.
6222 wait $am_sleep_pid 2>/dev/null
6223 fi
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6225 $as_echo "done" >&6; }
6226 if test -n "$EXEEXT"; then
6227 am__EXEEXT_TRUE=
6228 am__EXEEXT_FALSE='#'
6229 else
6230 am__EXEEXT_TRUE='#'
6231 am__EXEEXT_FALSE=
6232 fi
6233
6234 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6235 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6237 fi
6238 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6239 as_fn_error $? "conditional \"AMDEP\" was never defined.
6240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6241 fi
6242 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6243 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6245 fi
6246 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6247 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6249 fi
6250 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6251 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6253 fi
6254
6255 : "${CONFIG_STATUS=./config.status}"
6256 ac_write_fail=0
6257 ac_clean_files_save=$ac_clean_files
6258 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6260 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6261 as_write_fail=0
6262 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6263 #! $SHELL
6264 # Generated by $as_me.
6265 # Run this file to recreate the current configuration.
6266 # Compiler output produced by configure, useful for debugging
6267 # configure, is in config.log if it exists.
6268
6269 debug=false
6270 ac_cs_recheck=false
6271 ac_cs_silent=false
6272
6273 SHELL=\${CONFIG_SHELL-$SHELL}
6274 export SHELL
6275 _ASEOF
6276 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6277 ## -------------------- ##
6278 ## M4sh Initialization. ##
6279 ## -------------------- ##
6280
6281 # Be more Bourne compatible
6282 DUALCASE=1; export DUALCASE # for MKS sh
6283 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6284 emulate sh
6285 NULLCMD=:
6286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6287 # is contrary to our usage. Disable this feature.
6288 alias -g '${1+"$@"}'='"$@"'
6289 setopt NO_GLOB_SUBST
6290 else
6291 case `(set -o) 2>/dev/null` in #(
6292 *posix*) :
6293 set -o posix ;; #(
6294 *) :
6295 ;;
6296 esac
6297 fi
6298
6299
6300 as_nl='
6301 '
6302 export as_nl
6303 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6304 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6305 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6306 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6307 # Prefer a ksh shell builtin over an external printf program on Solaris,
6308 # but without wasting forks for bash or zsh.
6309 if test -z "$BASH_VERSION$ZSH_VERSION" \
6310 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6311 as_echo='print -r --'
6312 as_echo_n='print -rn --'
6313 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6314 as_echo='printf %s\n'
6315 as_echo_n='printf %s'
6316 else
6317 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6318 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6319 as_echo_n='/usr/ucb/echo -n'
6320 else
6321 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6322 as_echo_n_body='eval
6323 arg=$1;
6324 case $arg in #(
6325 *"$as_nl"*)
6326 expr "X$arg" : "X\\(.*\\)$as_nl";
6327 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6328 esac;
6329 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6330 '
6331 export as_echo_n_body
6332 as_echo_n='sh -c $as_echo_n_body as_echo'
6333 fi
6334 export as_echo_body
6335 as_echo='sh -c $as_echo_body as_echo'
6336 fi
6337
6338 # The user is always right.
6339 if test "${PATH_SEPARATOR+set}" != set; then
6340 PATH_SEPARATOR=:
6341 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6342 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6343 PATH_SEPARATOR=';'
6344 }
6345 fi
6346
6347
6348 # IFS
6349 # We need space, tab and new line, in precisely that order. Quoting is
6350 # there to prevent editors from complaining about space-tab.
6351 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6352 # splitting by setting IFS to empty value.)
6353 IFS=" "" $as_nl"
6354
6355 # Find who we are. Look in the path if we contain no directory separator.
6356 as_myself=
6357 case $0 in #((
6358 *[\\/]* ) as_myself=$0 ;;
6359 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 for as_dir in $PATH
6361 do
6362 IFS=$as_save_IFS
6363 test -z "$as_dir" && as_dir=.
6364 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6365 done
6366 IFS=$as_save_IFS
6367
6368 ;;
6369 esac
6370 # We did not find ourselves, most probably we were run as `sh COMMAND'
6371 # in which case we are not to be found in the path.
6372 if test "x$as_myself" = x; then
6373 as_myself=$0
6374 fi
6375 if test ! -f "$as_myself"; then
6376 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6377 exit 1
6378 fi
6379
6380 # Unset variables that we do not need and which cause bugs (e.g. in
6381 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6382 # suppresses any "Segmentation fault" message there. '((' could
6383 # trigger a bug in pdksh 5.2.14.
6384 for as_var in BASH_ENV ENV MAIL MAILPATH
6385 do eval test x\${$as_var+set} = xset \
6386 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6387 done
6388 PS1='$ '
6389 PS2='> '
6390 PS4='+ '
6391
6392 # NLS nuisances.
6393 LC_ALL=C
6394 export LC_ALL
6395 LANGUAGE=C
6396 export LANGUAGE
6397
6398 # CDPATH.
6399 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6400
6401
6402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6403 # ----------------------------------------
6404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6406 # script with STATUS, using 1 if that was 0.
6407 as_fn_error ()
6408 {
6409 as_status=$1; test $as_status -eq 0 && as_status=1
6410 if test "$4"; then
6411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6413 fi
6414 $as_echo "$as_me: error: $2" >&2
6415 as_fn_exit $as_status
6416 } # as_fn_error
6417
6418
6419 # as_fn_set_status STATUS
6420 # -----------------------
6421 # Set $? to STATUS, without forking.
6422 as_fn_set_status ()
6423 {
6424 return $1
6425 } # as_fn_set_status
6426
6427 # as_fn_exit STATUS
6428 # -----------------
6429 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6430 as_fn_exit ()
6431 {
6432 set +e
6433 as_fn_set_status $1
6434 exit $1
6435 } # as_fn_exit
6436
6437 # as_fn_unset VAR
6438 # ---------------
6439 # Portably unset VAR.
6440 as_fn_unset ()
6441 {
6442 { eval $1=; unset $1;}
6443 }
6444 as_unset=as_fn_unset
6445 # as_fn_append VAR VALUE
6446 # ----------------------
6447 # Append the text in VALUE to the end of the definition contained in VAR. Take
6448 # advantage of any shell optimizations that allow amortized linear growth over
6449 # repeated appends, instead of the typical quadratic growth present in naive
6450 # implementations.
6451 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6452 eval 'as_fn_append ()
6453 {
6454 eval $1+=\$2
6455 }'
6456 else
6457 as_fn_append ()
6458 {
6459 eval $1=\$$1\$2
6460 }
6461 fi # as_fn_append
6462
6463 # as_fn_arith ARG...
6464 # ------------------
6465 # Perform arithmetic evaluation on the ARGs, and store the result in the
6466 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6467 # must be portable across $(()) and expr.
6468 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6469 eval 'as_fn_arith ()
6470 {
6471 as_val=$(( $* ))
6472 }'
6473 else
6474 as_fn_arith ()
6475 {
6476 as_val=`expr "$@" || test $? -eq 1`
6477 }
6478 fi # as_fn_arith
6479
6480
6481 if expr a : '\(a\)' >/dev/null 2>&1 &&
6482 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6483 as_expr=expr
6484 else
6485 as_expr=false
6486 fi
6487
6488 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6489 as_basename=basename
6490 else
6491 as_basename=false
6492 fi
6493
6494 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6495 as_dirname=dirname
6496 else
6497 as_dirname=false
6498 fi
6499
6500 as_me=`$as_basename -- "$0" ||
6501 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6502 X"$0" : 'X\(//\)$' \| \
6503 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6504 $as_echo X/"$0" |
6505 sed '/^.*\/\([^/][^/]*\)\/*$/{
6506 s//\1/
6507 q
6508 }
6509 /^X\/\(\/\/\)$/{
6510 s//\1/
6511 q
6512 }
6513 /^X\/\(\/\).*/{
6514 s//\1/
6515 q
6516 }
6517 s/.*/./; q'`
6518
6519 # Avoid depending upon Character Ranges.
6520 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6521 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6522 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6523 as_cr_digits='0123456789'
6524 as_cr_alnum=$as_cr_Letters$as_cr_digits
6525
6526 ECHO_C= ECHO_N= ECHO_T=
6527 case `echo -n x` in #(((((
6528 -n*)
6529 case `echo 'xy\c'` in
6530 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6531 xy) ECHO_C='\c';;
6532 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6533 ECHO_T=' ';;
6534 esac;;
6535 *)
6536 ECHO_N='-n';;
6537 esac
6538
6539 rm -f conf$$ conf$$.exe conf$$.file
6540 if test -d conf$$.dir; then
6541 rm -f conf$$.dir/conf$$.file
6542 else
6543 rm -f conf$$.dir
6544 mkdir conf$$.dir 2>/dev/null
6545 fi
6546 if (echo >conf$$.file) 2>/dev/null; then
6547 if ln -s conf$$.file conf$$ 2>/dev/null; then
6548 as_ln_s='ln -s'
6549 # ... but there are two gotchas:
6550 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6551 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6552 # In both cases, we have to default to `cp -pR'.
6553 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6554 as_ln_s='cp -pR'
6555 elif ln conf$$.file conf$$ 2>/dev/null; then
6556 as_ln_s=ln
6557 else
6558 as_ln_s='cp -pR'
6559 fi
6560 else
6561 as_ln_s='cp -pR'
6562 fi
6563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6564 rmdir conf$$.dir 2>/dev/null
6565
6566
6567 # as_fn_mkdir_p
6568 # -------------
6569 # Create "$as_dir" as a directory, including parents if necessary.
6570 as_fn_mkdir_p ()
6571 {
6572
6573 case $as_dir in #(
6574 -*) as_dir=./$as_dir;;
6575 esac
6576 test -d "$as_dir" || eval $as_mkdir_p || {
6577 as_dirs=
6578 while :; do
6579 case $as_dir in #(
6580 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6581 *) as_qdir=$as_dir;;
6582 esac
6583 as_dirs="'$as_qdir' $as_dirs"
6584 as_dir=`$as_dirname -- "$as_dir" ||
6585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6586 X"$as_dir" : 'X\(//\)[^/]' \| \
6587 X"$as_dir" : 'X\(//\)$' \| \
6588 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6589 $as_echo X"$as_dir" |
6590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6591 s//\1/
6592 q
6593 }
6594 /^X\(\/\/\)[^/].*/{
6595 s//\1/
6596 q
6597 }
6598 /^X\(\/\/\)$/{
6599 s//\1/
6600 q
6601 }
6602 /^X\(\/\).*/{
6603 s//\1/
6604 q
6605 }
6606 s/.*/./; q'`
6607 test -d "$as_dir" && break
6608 done
6609 test -z "$as_dirs" || eval "mkdir $as_dirs"
6610 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6611
6612
6613 } # as_fn_mkdir_p
6614 if mkdir -p . 2>/dev/null; then
6615 as_mkdir_p='mkdir -p "$as_dir"'
6616 else
6617 test -d ./-p && rmdir ./-p
6618 as_mkdir_p=false
6619 fi
6620
6621
6622 # as_fn_executable_p FILE
6623 # -----------------------
6624 # Test if FILE is an executable regular file.
6625 as_fn_executable_p ()
6626 {
6627 test -f "$1" && test -x "$1"
6628 } # as_fn_executable_p
6629 as_test_x='test -x'
6630 as_executable_p=as_fn_executable_p
6631
6632 # Sed expression to map a string onto a valid CPP name.
6633 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6634
6635 # Sed expression to map a string onto a valid variable name.
6636 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6637
6638
6639 exec 6>&1
6640 ## ----------------------------------- ##
6641 ## Main body of $CONFIG_STATUS script. ##
6642 ## ----------------------------------- ##
6643 _ASEOF
6644 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6645
6646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6647 # Save the log message, to keep $0 and so on meaningful, and to
6648 # report actual input values of CONFIG_FILES etc. instead of their
6649 # values after options handling.
6650 ac_log="
6651 This file was extended by comedi_calibrate $as_me 5, which was
6652 generated by GNU Autoconf 2.69. Invocation command line was
6653
6654 CONFIG_FILES = $CONFIG_FILES
6655 CONFIG_HEADERS = $CONFIG_HEADERS
6656 CONFIG_LINKS = $CONFIG_LINKS
6657 CONFIG_COMMANDS = $CONFIG_COMMANDS
6658 $ $0 $@
6659
6660 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6661 "
6662
6663 _ACEOF
6664
6665 case $ac_config_files in *"
6666 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6667 esac
6668
6669
6670
6671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6672 # Files that config.status was made for.
6673 config_files="$ac_config_files"
6674 config_commands="$ac_config_commands"
6675
6676 _ACEOF
6677
6678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6679 ac_cs_usage="\
6680 \`$as_me' instantiates files and other configuration actions
6681 from templates according to the current configuration. Unless the files
6682 and actions are specified as TAGs, all are instantiated by default.
6683
6684 Usage: $0 [OPTION]... [TAG]...
6685
6686 -h, --help print this help, then exit
6687 -V, --version print version number and configuration settings, then exit
6688 --config print configuration, then exit
6689 -q, --quiet, --silent
6690 do not print progress messages
6691 -d, --debug don't remove temporary files
6692 --recheck update $as_me by reconfiguring in the same conditions
6693 --file=FILE[:TEMPLATE]
6694 instantiate the configuration file FILE
6695
6696 Configuration files:
6697 $config_files
6698
6699 Configuration commands:
6700 $config_commands
6701
6702 Report bugs to the package provider."
6703
6704 _ACEOF
6705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6706 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6707 ac_cs_version="\\
6708 comedi_calibrate config.status 5
6709 configured by $0, generated by GNU Autoconf 2.69,
6710 with options \\"\$ac_cs_config\\"
6711
6712 Copyright (C) 2012 Free Software Foundation, Inc.
6713 This config.status script is free software; the Free Software Foundation
6714 gives unlimited permission to copy, distribute and modify it."
6715
6716 ac_pwd='$ac_pwd'
6717 srcdir='$srcdir'
6718 INSTALL='$INSTALL'
6719 MKDIR_P='$MKDIR_P'
6720 AWK='$AWK'
6721 test -n "\$AWK" || AWK=awk
6722 _ACEOF
6723
6724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6725 # The default lists apply if the user does not specify any file.
6726 ac_need_defaults=:
6727 while test $# != 0
6728 do
6729 case $1 in
6730 --*=?*)
6731 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6732 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6733 ac_shift=:
6734 ;;
6735 --*=)
6736 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6737 ac_optarg=
6738 ac_shift=:
6739 ;;
6740 *)
6741 ac_option=$1
6742 ac_optarg=$2
6743 ac_shift=shift
6744 ;;
6745 esac
6746
6747 case $ac_option in
6748 # Handling of the options.
6749 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6750 ac_cs_recheck=: ;;
6751 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6752 $as_echo "$ac_cs_version"; exit ;;
6753 --config | --confi | --conf | --con | --co | --c )
6754 $as_echo "$ac_cs_config"; exit ;;
6755 --debug | --debu | --deb | --de | --d | -d )
6756 debug=: ;;
6757 --file | --fil | --fi | --f )
6758 $ac_shift
6759 case $ac_optarg in
6760 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6761 '') as_fn_error $? "missing file argument" ;;
6762 esac
6763 as_fn_append CONFIG_FILES " '$ac_optarg'"
6764 ac_need_defaults=false;;
6765 --he | --h | --help | --hel | -h )
6766 $as_echo "$ac_cs_usage"; exit ;;
6767 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6768 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6769 ac_cs_silent=: ;;
6770
6771 # This is an error.
6772 -*) as_fn_error $? "unrecognized option: \`$1'
6773 Try \`$0 --help' for more information." ;;
6774
6775 *) as_fn_append ac_config_targets " $1"
6776 ac_need_defaults=false ;;
6777
6778 esac
6779 shift
6780 done
6781
6782 ac_configure_extra_args=
6783
6784 if $ac_cs_silent; then
6785 exec 6>/dev/null
6786 ac_configure_extra_args="$ac_configure_extra_args --silent"
6787 fi
6788
6789 _ACEOF
6790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6791 if \$ac_cs_recheck; then
6792 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6793 shift
6794 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6795 CONFIG_SHELL='$SHELL'
6796 export CONFIG_SHELL
6797 exec "\$@"
6798 fi
6799
6800 _ACEOF
6801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6802 exec 5>>config.log
6803 {
6804 echo
6805 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6806 ## Running $as_me. ##
6807 _ASBOX
6808 $as_echo "$ac_log"
6809 } >&5
6810
6811 _ACEOF
6812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6813 #
6814 # INIT-COMMANDS
6815 #
6816 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6817
6818 _ACEOF
6819
6820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6821
6822 # Handling of arguments.
6823 for ac_config_target in $ac_config_targets
6824 do
6825 case $ac_config_target in
6826 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6827 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6828 "comedi_calibrate/Makefile") CONFIG_FILES="$CONFIG_FILES comedi_calibrate/Makefile" ;;
6829 "comedi_soft_calibrate/Makefile") CONFIG_FILES="$CONFIG_FILES comedi_soft_calibrate/Makefile" ;;
6830 "libcomedi_calibrate/Makefile") CONFIG_FILES="$CONFIG_FILES libcomedi_calibrate/Makefile" ;;
6831 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6832
6833 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6834 esac
6835 done
6836
6837
6838 # If the user did not use the arguments to specify the items to instantiate,
6839 # then the envvar interface is used. Set only those that are not.
6840 # We use the long form for the default assignment because of an extremely
6841 # bizarre bug on SunOS 4.1.3.
6842 if $ac_need_defaults; then
6843 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6844 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6845 fi
6846
6847 # Have a temporary directory for convenience. Make it in the build tree
6848 # simply because there is no reason against having it here, and in addition,
6849 # creating and moving files from /tmp can sometimes cause problems.
6850 # Hook for its removal unless debugging.
6851 # Note that there is a small window in which the directory will not be cleaned:
6852 # after its creation but before its name has been assigned to `$tmp'.
6853 $debug ||
6854 {
6855 tmp= ac_tmp=
6856 trap 'exit_status=$?
6857 : "${ac_tmp:=$tmp}"
6858 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6859 ' 0
6860 trap 'as_fn_exit 1' 1 2 13 15
6861 }
6862 # Create a (secure) tmp directory for tmp files.
6863
6864 {
6865 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6866 test -d "$tmp"
6867 } ||
6868 {
6869 tmp=./conf$$-$RANDOM
6870 (umask 077 && mkdir "$tmp")
6871 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6872 ac_tmp=$tmp
6873
6874 # Set up the scripts for CONFIG_FILES section.
6875 # No need to generate them if there are no CONFIG_FILES.
6876 # This happens for instance with `./config.status config.h'.
6877 if test -n "$CONFIG_FILES"; then
6878
6879
6880 ac_cr=`echo X | tr X '\015'`
6881 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6882 # But we know of no other shell where ac_cr would be empty at this
6883 # point, so we can use a bashism as a fallback.
6884 if test "x$ac_cr" = x; then
6885 eval ac_cr=\$\'\\r\'
6886 fi
6887 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6888 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6889 ac_cs_awk_cr='\\r'
6890 else
6891 ac_cs_awk_cr=$ac_cr
6892 fi
6893
6894 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6895 _ACEOF
6896
6897
6898 {
6899 echo "cat >conf$$subs.awk <<_ACEOF" &&
6900 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6901 echo "_ACEOF"
6902 } >conf$$subs.sh ||
6903 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6904 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6905 ac_delim='%!_!# '
6906 for ac_last_try in false false false false false :; do
6907 . ./conf$$subs.sh ||
6908 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6909
6910 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6911 if test $ac_delim_n = $ac_delim_num; then
6912 break
6913 elif $ac_last_try; then
6914 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6915 else
6916 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6917 fi
6918 done
6919 rm -f conf$$subs.sh
6920
6921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6922 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6923 _ACEOF
6924 sed -n '
6925 h
6926 s/^/S["/; s/!.*/"]=/
6927 p
6928 g
6929 s/^[^!]*!//
6930 :repl
6931 t repl
6932 s/'"$ac_delim"'$//
6933 t delim
6934 :nl
6935 h
6936 s/\(.\{148\}\)..*/\1/
6937 t more1
6938 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6939 p
6940 n
6941 b repl
6942 :more1
6943 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6944 p
6945 g
6946 s/.\{148\}//
6947 t nl
6948 :delim
6949 h
6950 s/\(.\{148\}\)..*/\1/
6951 t more2
6952 s/["\\]/\\&/g; s/^/"/; s/$/"/
6953 p
6954 b
6955 :more2
6956 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6957 p
6958 g
6959 s/.\{148\}//
6960 t delim
6961 ' <conf$$subs.awk | sed '
6962 /^[^""]/{
6963 N
6964 s/\n//
6965 }
6966 ' >>$CONFIG_STATUS || ac_write_fail=1
6967 rm -f conf$$subs.awk
6968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6969 _ACAWK
6970 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6971 for (key in S) S_is_set[key] = 1
6972 FS = ""
6973
6974 }
6975 {
6976 line = $ 0
6977 nfields = split(line, field, "@")
6978 substed = 0
6979 len = length(field[1])
6980 for (i = 2; i < nfields; i++) {
6981 key = field[i]
6982 keylen = length(key)
6983 if (S_is_set[key]) {
6984 value = S[key]
6985 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6986 len += length(value) + length(field[++i])
6987 substed = 1
6988 } else
6989 len += 1 + keylen
6990 }
6991
6992 print line
6993 }
6994
6995 _ACAWK
6996 _ACEOF
6997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6998 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6999 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7000 else
7001 cat
7002 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7003 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7004 _ACEOF
7005
7006 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7007 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7008 # trailing colons and then remove the whole line if VPATH becomes empty
7009 # (actually we leave an empty line to preserve line numbers).
7010 if test "x$srcdir" = x.; then
7011 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7012 h
7013 s///
7014 s/^/:/
7015 s/[ ]*$/:/
7016 s/:\$(srcdir):/:/g
7017 s/:\${srcdir}:/:/g
7018 s/:@srcdir@:/:/g
7019 s/^:*//
7020 s/:*$//
7021 x
7022 s/\(=[ ]*\).*/\1/
7023 G
7024 s/\n//
7025 s/^[^=]*=[ ]*$//
7026 }'
7027 fi
7028
7029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7030 fi # test -n "$CONFIG_FILES"
7031
7032
7033 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
7034 shift
7035 for ac_tag
7036 do
7037 case $ac_tag in
7038 :[FHLC]) ac_mode=$ac_tag; continue;;
7039 esac
7040 case $ac_mode$ac_tag in
7041 :[FHL]*:*);;
7042 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7043 :[FH]-) ac_tag=-:-;;
7044 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7045 esac
7046 ac_save_IFS=$IFS
7047 IFS=:
7048 set x $ac_tag
7049 IFS=$ac_save_IFS
7050 shift
7051 ac_file=$1
7052 shift
7053
7054 case $ac_mode in
7055 :L) ac_source=$1;;
7056 :[FH])
7057 ac_file_inputs=
7058 for ac_f
7059 do
7060 case $ac_f in
7061 -) ac_f="$ac_tmp/stdin";;
7062 *) # Look for the file first in the build tree, then in the source tree
7063 # (if the path is not absolute). The absolute path cannot be DOS-style,
7064 # because $ac_f cannot contain `:'.
7065 test -f "$ac_f" ||
7066 case $ac_f in
7067 [\\/$]*) false;;
7068 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7069 esac ||
7070 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7071 esac
7072 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7073 as_fn_append ac_file_inputs " '$ac_f'"
7074 done
7075
7076 # Let's still pretend it is `configure' which instantiates (i.e., don't
7077 # use $as_me), people would be surprised to read:
7078 # /* config.h. Generated by config.status. */
7079 configure_input='Generated from '`
7080 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7081 `' by configure.'
7082 if test x"$ac_file" != x-; then
7083 configure_input="$ac_file. $configure_input"
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7085 $as_echo "$as_me: creating $ac_file" >&6;}
7086 fi
7087 # Neutralize special characters interpreted by sed in replacement strings.
7088 case $configure_input in #(
7089 *\&* | *\|* | *\\* )
7090 ac_sed_conf_input=`$as_echo "$configure_input" |
7091 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7092 *) ac_sed_conf_input=$configure_input;;
7093 esac
7094
7095 case $ac_tag in
7096 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7097 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7098 esac
7099 ;;
7100 esac
7101
7102 ac_dir=`$as_dirname -- "$ac_file" ||
7103 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7104 X"$ac_file" : 'X\(//\)[^/]' \| \
7105 X"$ac_file" : 'X\(//\)$' \| \
7106 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7107 $as_echo X"$ac_file" |
7108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7109 s//\1/
7110 q
7111 }
7112 /^X\(\/\/\)[^/].*/{
7113 s//\1/
7114 q
7115 }
7116 /^X\(\/\/\)$/{
7117 s//\1/
7118 q
7119 }
7120 /^X\(\/\).*/{
7121 s//\1/
7122 q
7123 }
7124 s/.*/./; q'`
7125 as_dir="$ac_dir"; as_fn_mkdir_p
7126 ac_builddir=.
7127
7128 case "$ac_dir" in
7129 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7130 *)
7131 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7132 # A ".." for each directory in $ac_dir_suffix.
7133 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7134 case $ac_top_builddir_sub in
7135 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7136 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7137 esac ;;
7138 esac
7139 ac_abs_top_builddir=$ac_pwd
7140 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7141 # for backward compatibility:
7142 ac_top_builddir=$ac_top_build_prefix
7143
7144 case $srcdir in
7145 .) # We are building in place.
7146 ac_srcdir=.
7147 ac_top_srcdir=$ac_top_builddir_sub
7148 ac_abs_top_srcdir=$ac_pwd ;;
7149 [\\/]* | ?:[\\/]* ) # Absolute name.
7150 ac_srcdir=$srcdir$ac_dir_suffix;
7151 ac_top_srcdir=$srcdir
7152 ac_abs_top_srcdir=$srcdir ;;
7153 *) # Relative name.
7154 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7155 ac_top_srcdir=$ac_top_build_prefix$srcdir
7156 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7157 esac
7158 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7159
7160
7161 case $ac_mode in
7162 :F)
7163 #
7164 # CONFIG_FILE
7165 #
7166
7167 case $INSTALL in
7168 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7169 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7170 esac
7171 ac_MKDIR_P=$MKDIR_P
7172 case $MKDIR_P in
7173 [\\/$]* | ?:[\\/]* ) ;;
7174 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7175 esac
7176 _ACEOF
7177
7178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7179 # If the template does not know about datarootdir, expand it.
7180 # FIXME: This hack should be removed a few years after 2.60.
7181 ac_datarootdir_hack=; ac_datarootdir_seen=
7182 ac_sed_dataroot='
7183 /datarootdir/ {
7184 p
7185 q
7186 }
7187 /@datadir@/p
7188 /@docdir@/p
7189 /@infodir@/p
7190 /@localedir@/p
7191 /@mandir@/p'
7192 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7193 *datarootdir*) ac_datarootdir_seen=yes;;
7194 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7196 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7197 _ACEOF
7198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7199 ac_datarootdir_hack='
7200 s&@datadir@&$datadir&g
7201 s&@docdir@&$docdir&g
7202 s&@infodir@&$infodir&g
7203 s&@localedir@&$localedir&g
7204 s&@mandir@&$mandir&g
7205 s&\\\${datarootdir}&$datarootdir&g' ;;
7206 esac
7207 _ACEOF
7208
7209 # Neutralize VPATH when `$srcdir' = `.'.
7210 # Shell code in configure.ac might set extrasub.
7211 # FIXME: do we really want to maintain this feature?
7212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7213 ac_sed_extra="$ac_vpsub
7214 $extrasub
7215 _ACEOF
7216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7217 :t
7218 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7219 s|@configure_input@|$ac_sed_conf_input|;t t
7220 s&@top_builddir@&$ac_top_builddir_sub&;t t
7221 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7222 s&@srcdir@&$ac_srcdir&;t t
7223 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7224 s&@top_srcdir@&$ac_top_srcdir&;t t
7225 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7226 s&@builddir@&$ac_builddir&;t t
7227 s&@abs_builddir@&$ac_abs_builddir&;t t
7228 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7229 s&@INSTALL@&$ac_INSTALL&;t t
7230 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7231 $ac_datarootdir_hack
7232 "
7233 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7234 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7235
7236 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7237 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7238 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7239 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7241 which seems to be undefined. Please make sure it is defined" >&5
7242 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7243 which seems to be undefined. Please make sure it is defined" >&2;}
7244
7245 rm -f "$ac_tmp/stdin"
7246 case $ac_file in
7247 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7248 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7249 esac \
7250 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7251 ;;
7252
7253
7254 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7255 $as_echo "$as_me: executing $ac_file commands" >&6;}
7256 ;;
7257 esac
7258
7259
7260 case $ac_file$ac_mode in
7261 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7262 # Older Autoconf quotes --file arguments for eval, but not when files
7263 # are listed without --file. Let's play safe and only enable the eval
7264 # if we detect the quoting.
7265 case $CONFIG_FILES in
7266 *\'*) eval set x "$CONFIG_FILES" ;;
7267 *) set x $CONFIG_FILES ;;
7268 esac
7269 shift
7270 for mf
7271 do
7272 # Strip MF so we end up with the name of the file.
7273 mf=`echo "$mf" | sed -e 's/:.*$//'`
7274 # Check whether this is an Automake generated Makefile or not.
7275 # We used to match only the files named 'Makefile.in', but
7276 # some people rename them; so instead we look at the file content.
7277 # Grep'ing the first line is not enough: some people post-process
7278 # each Makefile.in and add a new line on top of each file to say so.
7279 # Grep'ing the whole file is not good either: AIX grep has a line
7280 # limit of 2048, but all sed's we know have understand at least 4000.
7281 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7282 dirpart=`$as_dirname -- "$mf" ||
7283 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7284 X"$mf" : 'X\(//\)[^/]' \| \
7285 X"$mf" : 'X\(//\)$' \| \
7286 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7287 $as_echo X"$mf" |
7288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7289 s//\1/
7290 q
7291 }
7292 /^X\(\/\/\)[^/].*/{
7293 s//\1/
7294 q
7295 }
7296 /^X\(\/\/\)$/{
7297 s//\1/
7298 q
7299 }
7300 /^X\(\/\).*/{
7301 s//\1/
7302 q
7303 }
7304 s/.*/./; q'`
7305 else
7306 continue
7307 fi
7308 # Extract the definition of DEPDIR, am__include, and am__quote
7309 # from the Makefile without running 'make'.
7310 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7311 test -z "$DEPDIR" && continue
7312 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7313 test -z "$am__include" && continue
7314 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7315 # Find all dependency output files, they are included files with
7316 # $(DEPDIR) in their names. We invoke sed twice because it is the
7317 # simplest approach to changing $(DEPDIR) to its actual value in the
7318 # expansion.
7319 for file in `sed -n "
7320 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7321 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7322 # Make sure the directory exists.
7323 test -f "$dirpart/$file" && continue
7324 fdir=`$as_dirname -- "$file" ||
7325 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7326 X"$file" : 'X\(//\)[^/]' \| \
7327 X"$file" : 'X\(//\)$' \| \
7328 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7329 $as_echo X"$file" |
7330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7331 s//\1/
7332 q
7333 }
7334 /^X\(\/\/\)[^/].*/{
7335 s//\1/
7336 q
7337 }
7338 /^X\(\/\/\)$/{
7339 s//\1/
7340 q
7341 }
7342 /^X\(\/\).*/{
7343 s//\1/
7344 q
7345 }
7346 s/.*/./; q'`
7347 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7348 # echo "creating $dirpart/$file"
7349 echo '# dummy' > "$dirpart/$file"
7350 done
7351 done
7352 }
7353 ;;
7354
7355 esac
7356 done # for ac_tag
7357
7358
7359 as_fn_exit 0
7360 _ACEOF
7361 ac_clean_files=$ac_clean_files_save
7362
7363 test $ac_write_fail = 0 ||
7364 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7365
7366
7367 # configure is writing to config.log, and then calls config.status.
7368 # config.status does its own redirection, appending to config.log.
7369 # Unfortunately, on DOS this fails, as config.log is still kept open
7370 # by configure, so config.status won't be able to write to it; its
7371 # output is simply discarded. So we exec the FD to /dev/null,
7372 # effectively closing config.log, so it can be properly (re)opened and
7373 # appended to by config.status. When coming back to configure, we
7374 # need to make the FD available again.
7375 if test "$no_create" != yes; then
7376 ac_cs_success=:
7377 ac_config_status_args=
7378 test "$silent" = yes &&
7379 ac_config_status_args="$ac_config_status_args --quiet"
7380 exec 5>/dev/null
7381 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7382 exec 5>>config.log
7383 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7384 # would make configure fail if this is the last instruction.
7385 $ac_cs_success || as_fn_exit 1
7386 fi
7387 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7389 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7390 fi
7391
7392