Debian Codegraph @

configure

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