Debian Codegraph @

configure

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