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