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