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