source: gs2-extensions/parallel-building/trunk/src/src/mpibuildcol-src/configure@ 24589

Last change on this file since 24589 was 24589, checked in by jmt12, 13 years ago

Initial checkin

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