source: gs2-extensions/parallel-building/trunk/src/src/mpiimport-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: 148.9 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for mpiimport 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='mpiimport'
561PACKAGE_TARNAME='mpiimport'
562PACKAGE_VERSION='1.0'
563PACKAGE_STRING='mpiimport 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 mpiimport 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/mpiimport]
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 mpiimport 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
1378mpiimport 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
1513cat >config.log <<_ACEOF
1514This file contains any messages produced by compilers while
1515running configure, to aid debugging if configure makes a mistake.
1516
1517It was created by mpiimport $as_me 1.0, which was
1518generated by GNU Autoconf 2.68. Invocation command line was
1519
1520 $ $0 $@
1521
1522_ACEOF
1523exec 5>>config.log
1524{
1525cat <<_ASUNAME
1526## --------- ##
1527## Platform. ##
1528## --------- ##
1529
1530hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1531uname -m = `(uname -m) 2>/dev/null || echo unknown`
1532uname -r = `(uname -r) 2>/dev/null || echo unknown`
1533uname -s = `(uname -s) 2>/dev/null || echo unknown`
1534uname -v = `(uname -v) 2>/dev/null || echo unknown`
1535
1536/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1537/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1538
1539/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1540/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1541/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1542/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1543/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1544/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1545/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1546
1547_ASUNAME
1548
1549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550for as_dir in $PATH
1551do
1552 IFS=$as_save_IFS
1553 test -z "$as_dir" && as_dir=.
1554 $as_echo "PATH: $as_dir"
1555 done
1556IFS=$as_save_IFS
1557
1558} >&5
1559
1560cat >&5 <<_ACEOF
1561
1562
1563## ----------- ##
1564## Core tests. ##
1565## ----------- ##
1566
1567_ACEOF
1568
1569
1570# Keep a trace of the command line.
1571# Strip out --no-create and --no-recursion so they do not pile up.
1572# Strip out --silent because we don't want to record it for future runs.
1573# Also quote any args containing shell meta-characters.
1574# Make two passes to allow for proper duplicate-argument suppression.
1575ac_configure_args=
1576ac_configure_args0=
1577ac_configure_args1=
1578ac_must_keep_next=false
1579for ac_pass in 1 2
1580do
1581 for ac_arg
1582 do
1583 case $ac_arg in
1584 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1585 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1586 | -silent | --silent | --silen | --sile | --sil)
1587 continue ;;
1588 *\'*)
1589 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1590 esac
1591 case $ac_pass in
1592 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1593 2)
1594 as_fn_append ac_configure_args1 " '$ac_arg'"
1595 if test $ac_must_keep_next = true; then
1596 ac_must_keep_next=false # Got value, back to normal.
1597 else
1598 case $ac_arg in
1599 *=* | --config-cache | -C | -disable-* | --disable-* \
1600 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1601 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1602 | -with-* | --with-* | -without-* | --without-* | --x)
1603 case "$ac_configure_args0 " in
1604 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1605 esac
1606 ;;
1607 -* ) ac_must_keep_next=true ;;
1608 esac
1609 fi
1610 as_fn_append ac_configure_args " '$ac_arg'"
1611 ;;
1612 esac
1613 done
1614done
1615{ ac_configure_args0=; unset ac_configure_args0;}
1616{ ac_configure_args1=; unset ac_configure_args1;}
1617
1618# When interrupted or exit'd, cleanup temporary files, and complete
1619# config.log. We remove comments because anyway the quotes in there
1620# would cause problems or look ugly.
1621# WARNING: Use '\'' to represent an apostrophe within the trap.
1622# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1623trap 'exit_status=$?
1624 # Save into config.log some information that might help in debugging.
1625 {
1626 echo
1627
1628 $as_echo "## ---------------- ##
1629## Cache variables. ##
1630## ---------------- ##"
1631 echo
1632 # The following way of writing the cache mishandles newlines in values,
1633(
1634 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1635 eval ac_val=\$$ac_var
1636 case $ac_val in #(
1637 *${as_nl}*)
1638 case $ac_var in #(
1639 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1640$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1641 esac
1642 case $ac_var in #(
1643 _ | IFS | as_nl) ;; #(
1644 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1645 *) { eval $ac_var=; unset $ac_var;} ;;
1646 esac ;;
1647 esac
1648 done
1649 (set) 2>&1 |
1650 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1651 *${as_nl}ac_space=\ *)
1652 sed -n \
1653 "s/'\''/'\''\\\\'\'''\''/g;
1654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1655 ;; #(
1656 *)
1657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1658 ;;
1659 esac |
1660 sort
1661)
1662 echo
1663
1664 $as_echo "## ----------------- ##
1665## Output variables. ##
1666## ----------------- ##"
1667 echo
1668 for ac_var in $ac_subst_vars
1669 do
1670 eval ac_val=\$$ac_var
1671 case $ac_val in
1672 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1673 esac
1674 $as_echo "$ac_var='\''$ac_val'\''"
1675 done | sort
1676 echo
1677
1678 if test -n "$ac_subst_files"; then
1679 $as_echo "## ------------------- ##
1680## File substitutions. ##
1681## ------------------- ##"
1682 echo
1683 for ac_var in $ac_subst_files
1684 do
1685 eval ac_val=\$$ac_var
1686 case $ac_val in
1687 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1688 esac
1689 $as_echo "$ac_var='\''$ac_val'\''"
1690 done | sort
1691 echo
1692 fi
1693
1694 if test -s confdefs.h; then
1695 $as_echo "## ----------- ##
1696## confdefs.h. ##
1697## ----------- ##"
1698 echo
1699 cat confdefs.h
1700 echo
1701 fi
1702 test "$ac_signal" != 0 &&
1703 $as_echo "$as_me: caught signal $ac_signal"
1704 $as_echo "$as_me: exit $exit_status"
1705 } >&5
1706 rm -f core *.core core.conftest.* &&
1707 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1708 exit $exit_status
1709' 0
1710for ac_signal in 1 2 13 15; do
1711 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1712done
1713ac_signal=0
1714
1715# confdefs.h avoids OS command line length limits that DEFS can exceed.
1716rm -f -r conftest* confdefs.h
1717
1718$as_echo "/* confdefs.h */" > confdefs.h
1719
1720# Predefined preprocessor variables.
1721
1722cat >>confdefs.h <<_ACEOF
1723#define PACKAGE_NAME "$PACKAGE_NAME"
1724_ACEOF
1725
1726cat >>confdefs.h <<_ACEOF
1727#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1728_ACEOF
1729
1730cat >>confdefs.h <<_ACEOF
1731#define PACKAGE_VERSION "$PACKAGE_VERSION"
1732_ACEOF
1733
1734cat >>confdefs.h <<_ACEOF
1735#define PACKAGE_STRING "$PACKAGE_STRING"
1736_ACEOF
1737
1738cat >>confdefs.h <<_ACEOF
1739#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740_ACEOF
1741
1742cat >>confdefs.h <<_ACEOF
1743#define PACKAGE_URL "$PACKAGE_URL"
1744_ACEOF
1745
1746
1747# Let the site file select an alternate cache file if it wants to.
1748# Prefer an explicitly selected file to automatically selected ones.
1749ac_site_file1=NONE
1750ac_site_file2=NONE
1751if test -n "$CONFIG_SITE"; then
1752 # We do not want a PATH search for config.site.
1753 case $CONFIG_SITE in #((
1754 -*) ac_site_file1=./$CONFIG_SITE;;
1755 */*) ac_site_file1=$CONFIG_SITE;;
1756 *) ac_site_file1=./$CONFIG_SITE;;
1757 esac
1758elif test "x$prefix" != xNONE; then
1759 ac_site_file1=$prefix/share/config.site
1760 ac_site_file2=$prefix/etc/config.site
1761else
1762 ac_site_file1=$ac_default_prefix/share/config.site
1763 ac_site_file2=$ac_default_prefix/etc/config.site
1764fi
1765for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1766do
1767 test "x$ac_site_file" = xNONE && continue
1768 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1770$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1771 sed 's/^/| /' "$ac_site_file" >&5
1772 . "$ac_site_file" \
1773 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1774$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1775as_fn_error $? "failed to load site script $ac_site_file
1776See \`config.log' for more details" "$LINENO" 5; }
1777 fi
1778done
1779
1780if test -r "$cache_file"; then
1781 # Some versions of bash will fail to source /dev/null (special files
1782 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1783 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1785$as_echo "$as_me: loading cache $cache_file" >&6;}
1786 case $cache_file in
1787 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1788 *) . "./$cache_file";;
1789 esac
1790 fi
1791else
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1793$as_echo "$as_me: creating cache $cache_file" >&6;}
1794 >$cache_file
1795fi
1796
1797# Check that the precious variables saved in the cache have kept the same
1798# value.
1799ac_cache_corrupted=false
1800for ac_var in $ac_precious_vars; do
1801 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1802 eval ac_new_set=\$ac_env_${ac_var}_set
1803 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1804 eval ac_new_val=\$ac_env_${ac_var}_value
1805 case $ac_old_set,$ac_new_set in
1806 set,)
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1808$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1809 ac_cache_corrupted=: ;;
1810 ,set)
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1812$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1813 ac_cache_corrupted=: ;;
1814 ,);;
1815 *)
1816 if test "x$ac_old_val" != "x$ac_new_val"; then
1817 # differences in whitespace do not lead to failure.
1818 ac_old_val_w=`echo x $ac_old_val`
1819 ac_new_val_w=`echo x $ac_new_val`
1820 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1822$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1823 ac_cache_corrupted=:
1824 else
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1826$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1827 eval $ac_var=\$ac_old_val
1828 fi
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1830$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1832$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1833 fi;;
1834 esac
1835 # Pass precious variables to config.status.
1836 if test "$ac_new_set" = set; then
1837 case $ac_new_val in
1838 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1839 *) ac_arg=$ac_var=$ac_new_val ;;
1840 esac
1841 case " $ac_configure_args " in
1842 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1843 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1844 esac
1845 fi
1846done
1847if $ac_cache_corrupted; then
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1849$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1851$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1852 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1853fi
1854## -------------------- ##
1855## Main body of script. ##
1856## -------------------- ##
1857
1858ac_ext=c
1859ac_cpp='$CPP $CPPFLAGS'
1860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1862ac_compiler_gnu=$ac_cv_c_compiler_gnu
1863
1864
1865am__api_version='1.11'
1866
1867ac_aux_dir=
1868for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1869 if test -f "$ac_dir/install-sh"; then
1870 ac_aux_dir=$ac_dir
1871 ac_install_sh="$ac_aux_dir/install-sh -c"
1872 break
1873 elif test -f "$ac_dir/install.sh"; then
1874 ac_aux_dir=$ac_dir
1875 ac_install_sh="$ac_aux_dir/install.sh -c"
1876 break
1877 elif test -f "$ac_dir/shtool"; then
1878 ac_aux_dir=$ac_dir
1879 ac_install_sh="$ac_aux_dir/shtool install -c"
1880 break
1881 fi
1882done
1883if test -z "$ac_aux_dir"; then
1884 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1885fi
1886
1887# These three variables are undocumented and unsupported,
1888# and are intended to be withdrawn in a future Autoconf release.
1889# They can cause serious problems if a builder's source tree is in a directory
1890# whose full name contains unusual characters.
1891ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1892ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1893ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1894
1895
1896# Find a good install program. We prefer a C program (faster),
1897# so one script is as good as another. But avoid the broken or
1898# incompatible versions:
1899# SysV /etc/install, /usr/sbin/install
1900# SunOS /usr/etc/install
1901# IRIX /sbin/install
1902# AIX /bin/install
1903# AmigaOS /C/install, which installs bootblocks on floppy discs
1904# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1905# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1906# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1907# OS/2's system install, which has a completely different semantic
1908# ./install, which can be erroneously created by make from ./install.sh.
1909# Reject install programs that cannot install multiple files.
1910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1911$as_echo_n "checking for a BSD-compatible install... " >&6; }
1912if test -z "$INSTALL"; then
1913if ${ac_cv_path_install+:} false; then :
1914 $as_echo_n "(cached) " >&6
1915else
1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917for as_dir in $PATH
1918do
1919 IFS=$as_save_IFS
1920 test -z "$as_dir" && as_dir=.
1921 # Account for people who put trailing slashes in PATH elements.
1922case $as_dir/ in #((
1923 ./ | .// | /[cC]/* | \
1924 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1925 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1926 /usr/ucb/* ) ;;
1927 *)
1928 # OSF1 and SCO ODT 3.0 have their own names for install.
1929 # Don't use installbsd from OSF since it installs stuff as root
1930 # by default.
1931 for ac_prog in ginstall scoinst install; do
1932 for ac_exec_ext in '' $ac_executable_extensions; do
1933 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1934 if test $ac_prog = install &&
1935 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1936 # AIX install. It has an incompatible calling convention.
1937 :
1938 elif test $ac_prog = install &&
1939 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1940 # program-specific install script used by HP pwplus--don't use.
1941 :
1942 else
1943 rm -rf conftest.one conftest.two conftest.dir
1944 echo one > conftest.one
1945 echo two > conftest.two
1946 mkdir conftest.dir
1947 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1948 test -s conftest.one && test -s conftest.two &&
1949 test -s conftest.dir/conftest.one &&
1950 test -s conftest.dir/conftest.two
1951 then
1952 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1953 break 3
1954 fi
1955 fi
1956 fi
1957 done
1958 done
1959 ;;
1960esac
1961
1962 done
1963IFS=$as_save_IFS
1964
1965rm -rf conftest.one conftest.two conftest.dir
1966
1967fi
1968 if test "${ac_cv_path_install+set}" = set; then
1969 INSTALL=$ac_cv_path_install
1970 else
1971 # As a last resort, use the slow shell script. Don't cache a
1972 # value for INSTALL within a source directory, because that will
1973 # break other packages using the cache if that directory is
1974 # removed, or if the value is a relative name.
1975 INSTALL=$ac_install_sh
1976 fi
1977fi
1978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1979$as_echo "$INSTALL" >&6; }
1980
1981# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1982# It thinks the first close brace ends the variable substitution.
1983test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1984
1985test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1986
1987test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1988
1989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1990$as_echo_n "checking whether build environment is sane... " >&6; }
1991# Just in case
1992sleep 1
1993echo timestamp > conftest.file
1994# Reject unsafe characters in $srcdir or the absolute working directory
1995# name. Accept space and tab only in the latter.
1996am_lf='
1997'
1998case `pwd` in
1999 *[\\\"\#\$\&\'\`$am_lf]*)
2000 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2001esac
2002case $srcdir in
2003 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2004 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2005esac
2006
2007# Do `set' in a subshell so we don't clobber the current shell's
2008# arguments. Must try -L first in case configure is actually a
2009# symlink; some systems play weird games with the mod time of symlinks
2010# (eg FreeBSD returns the mod time of the symlink's containing
2011# directory).
2012if (
2013 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2014 if test "$*" = "X"; then
2015 # -L didn't work.
2016 set X `ls -t "$srcdir/configure" conftest.file`
2017 fi
2018 rm -f conftest.file
2019 if test "$*" != "X $srcdir/configure conftest.file" \
2020 && test "$*" != "X conftest.file $srcdir/configure"; then
2021
2022 # If neither matched, then we have a broken ls. This can happen
2023 # if, for instance, CONFIG_SHELL is bash and it inherits a
2024 # broken ls alias from the environment. This has actually
2025 # happened. Such a system could not be considered "sane".
2026 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2027alias in your environment" "$LINENO" 5
2028 fi
2029
2030 test "$2" = conftest.file
2031 )
2032then
2033 # Ok.
2034 :
2035else
2036 as_fn_error $? "newly created file is older than distributed files!
2037Check your system clock" "$LINENO" 5
2038fi
2039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2040$as_echo "yes" >&6; }
2041test "$program_prefix" != NONE &&
2042 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2043# Use a double $ so make ignores it.
2044test "$program_suffix" != NONE &&
2045 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2046# Double any \ or $.
2047# By default was `s,x,x', remove it if useless.
2048ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2049program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2050
2051# expand $ac_aux_dir to an absolute path
2052am_aux_dir=`cd $ac_aux_dir && pwd`
2053
2054if test x"${MISSING+set}" != xset; then
2055 case $am_aux_dir in
2056 *\ * | *\ *)
2057 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2058 *)
2059 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2060 esac
2061fi
2062# Use eval to expand $SHELL
2063if eval "$MISSING --run true"; then
2064 am_missing_run="$MISSING --run "
2065else
2066 am_missing_run=
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2068$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2069fi
2070
2071if test x"${install_sh}" != xset; then
2072 case $am_aux_dir in
2073 *\ * | *\ *)
2074 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2075 *)
2076 install_sh="\${SHELL} $am_aux_dir/install-sh"
2077 esac
2078fi
2079
2080# Installed binaries are usually stripped using `strip' when the user
2081# run `make install-strip'. However `strip' might not be the right
2082# tool to use in cross-compilation environments, therefore Automake
2083# will honor the `STRIP' environment variable to overrule this program.
2084if test "$cross_compiling" != no; then
2085 if test -n "$ac_tool_prefix"; then
2086 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2087set dummy ${ac_tool_prefix}strip; ac_word=$2
2088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2089$as_echo_n "checking for $ac_word... " >&6; }
2090if ${ac_cv_prog_STRIP+:} false; then :
2091 $as_echo_n "(cached) " >&6
2092else
2093 if test -n "$STRIP"; then
2094 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2095else
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2106 fi
2107done
2108 done
2109IFS=$as_save_IFS
2110
2111fi
2112fi
2113STRIP=$ac_cv_prog_STRIP
2114if test -n "$STRIP"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2116$as_echo "$STRIP" >&6; }
2117else
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2119$as_echo "no" >&6; }
2120fi
2121
2122
2123fi
2124if test -z "$ac_cv_prog_STRIP"; then
2125 ac_ct_STRIP=$STRIP
2126 # Extract the first word of "strip", so it can be a program name with args.
2127set dummy strip; ac_word=$2
2128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2129$as_echo_n "checking for $ac_word... " >&6; }
2130if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2131 $as_echo_n "(cached) " >&6
2132else
2133 if test -n "$ac_ct_STRIP"; then
2134 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2135else
2136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137for as_dir in $PATH
2138do
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_ac_ct_STRIP="strip"
2144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2146 fi
2147done
2148 done
2149IFS=$as_save_IFS
2150
2151fi
2152fi
2153ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2154if test -n "$ac_ct_STRIP"; then
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2156$as_echo "$ac_ct_STRIP" >&6; }
2157else
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2159$as_echo "no" >&6; }
2160fi
2161
2162 if test "x$ac_ct_STRIP" = x; then
2163 STRIP=":"
2164 else
2165 case $cross_compiling:$ac_tool_warned in
2166yes:)
2167{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2168$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2169ac_tool_warned=yes ;;
2170esac
2171 STRIP=$ac_ct_STRIP
2172 fi
2173else
2174 STRIP="$ac_cv_prog_STRIP"
2175fi
2176
2177fi
2178INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2179
2180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2181$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2182if test -z "$MKDIR_P"; then
2183 if ${ac_cv_path_mkdir+:} false; then :
2184 $as_echo_n "(cached) " >&6
2185else
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2188do
2189 IFS=$as_save_IFS
2190 test -z "$as_dir" && as_dir=.
2191 for ac_prog in mkdir gmkdir; do
2192 for ac_exec_ext in '' $ac_executable_extensions; do
2193 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2194 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2195 'mkdir (GNU coreutils) '* | \
2196 'mkdir (coreutils) '* | \
2197 'mkdir (fileutils) '4.1*)
2198 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2199 break 3;;
2200 esac
2201 done
2202 done
2203 done
2204IFS=$as_save_IFS
2205
2206fi
2207
2208 test -d ./--version && rmdir ./--version
2209 if test "${ac_cv_path_mkdir+set}" = set; then
2210 MKDIR_P="$ac_cv_path_mkdir -p"
2211 else
2212 # As a last resort, use the slow shell script. Don't cache a
2213 # value for MKDIR_P within a source directory, because that will
2214 # break other packages using the cache if that directory is
2215 # removed, or if the value is a relative name.
2216 MKDIR_P="$ac_install_sh -d"
2217 fi
2218fi
2219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2220$as_echo "$MKDIR_P" >&6; }
2221
2222mkdir_p="$MKDIR_P"
2223case $mkdir_p in
2224 [\\/$]* | ?:[\\/]*) ;;
2225 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2226esac
2227
2228for ac_prog in gawk mawk nawk awk
2229do
2230 # Extract the first word of "$ac_prog", so it can be a program name with args.
2231set dummy $ac_prog; ac_word=$2
2232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2233$as_echo_n "checking for $ac_word... " >&6; }
2234if ${ac_cv_prog_AWK+:} false; then :
2235 $as_echo_n "(cached) " >&6
2236else
2237 if test -n "$AWK"; then
2238 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2239else
2240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241for as_dir in $PATH
2242do
2243 IFS=$as_save_IFS
2244 test -z "$as_dir" && as_dir=.
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2247 ac_cv_prog_AWK="$ac_prog"
2248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2249 break 2
2250 fi
2251done
2252 done
2253IFS=$as_save_IFS
2254
2255fi
2256fi
2257AWK=$ac_cv_prog_AWK
2258if test -n "$AWK"; then
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2260$as_echo "$AWK" >&6; }
2261else
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2263$as_echo "no" >&6; }
2264fi
2265
2266
2267 test -n "$AWK" && break
2268done
2269
2270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2271$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2272set x ${MAKE-make}
2273ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2274if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276else
2277 cat >conftest.make <<\_ACEOF
2278SHELL = /bin/sh
2279all:
2280 @echo '@@@%%%=$(MAKE)=@@@%%%'
2281_ACEOF
2282# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2283case `${MAKE-make} -f conftest.make 2>/dev/null` in
2284 *@@@%%%=?*=@@@%%%*)
2285 eval ac_cv_prog_make_${ac_make}_set=yes;;
2286 *)
2287 eval ac_cv_prog_make_${ac_make}_set=no;;
2288esac
2289rm -f conftest.make
2290fi
2291if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2293$as_echo "yes" >&6; }
2294 SET_MAKE=
2295else
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2297$as_echo "no" >&6; }
2298 SET_MAKE="MAKE=${MAKE-make}"
2299fi
2300
2301rm -rf .tst 2>/dev/null
2302mkdir .tst 2>/dev/null
2303if test -d .tst; then
2304 am__leading_dot=.
2305else
2306 am__leading_dot=_
2307fi
2308rmdir .tst 2>/dev/null
2309
2310if test "`cd $srcdir && pwd`" != "`pwd`"; then
2311 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2312 # is not polluted with repeated "-I."
2313 am__isrc=' -I$(srcdir)'
2314 # test to see if srcdir already configured
2315 if test -f $srcdir/config.status; then
2316 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2317 fi
2318fi
2319
2320# test whether we have cygpath
2321if test -z "$CYGPATH_W"; then
2322 if (cygpath --version) >/dev/null 2>/dev/null; then
2323 CYGPATH_W='cygpath -w'
2324 else
2325 CYGPATH_W=echo
2326 fi
2327fi
2328
2329
2330# Define the identity of the package.
2331 PACKAGE='mpiimport'
2332 VERSION='1.0'
2333
2334
2335cat >>confdefs.h <<_ACEOF
2336#define PACKAGE "$PACKAGE"
2337_ACEOF
2338
2339
2340cat >>confdefs.h <<_ACEOF
2341#define VERSION "$VERSION"
2342_ACEOF
2343
2344# Some tools Automake needs.
2345
2346ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2347
2348
2349AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2350
2351
2352AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2353
2354
2355AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2356
2357
2358MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2359
2360# We need awk for the "check" target. The system "awk" is bad on
2361# some platforms.
2362# Always define AMTAR for backward compatibility.
2363
2364AMTAR=${AMTAR-"${am_missing_run}tar"}
2365
2366am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2367
2368
2369
2370
2371
2372# Make sure we can run config.sub.
2373$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2374 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2375
2376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2377$as_echo_n "checking build system type... " >&6; }
2378if ${ac_cv_build+:} false; then :
2379 $as_echo_n "(cached) " >&6
2380else
2381 ac_build_alias=$build_alias
2382test "x$ac_build_alias" = x &&
2383 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2384test "x$ac_build_alias" = x &&
2385 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2386ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2387 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2388
2389fi
2390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2391$as_echo "$ac_cv_build" >&6; }
2392case $ac_cv_build in
2393*-*-*) ;;
2394*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2395esac
2396build=$ac_cv_build
2397ac_save_IFS=$IFS; IFS='-'
2398set x $ac_cv_build
2399shift
2400build_cpu=$1
2401build_vendor=$2
2402shift; shift
2403# Remember, the first character of IFS is used to create $*,
2404# except with old shells:
2405build_os=$*
2406IFS=$ac_save_IFS
2407case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2408
2409
2410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2411$as_echo_n "checking host system type... " >&6; }
2412if ${ac_cv_host+:} false; then :
2413 $as_echo_n "(cached) " >&6
2414else
2415 if test "x$host_alias" = x; then
2416 ac_cv_host=$ac_cv_build
2417else
2418 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2419 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2420fi
2421
2422fi
2423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2424$as_echo "$ac_cv_host" >&6; }
2425case $ac_cv_host in
2426*-*-*) ;;
2427*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2428esac
2429host=$ac_cv_host
2430ac_save_IFS=$IFS; IFS='-'
2431set x $ac_cv_host
2432shift
2433host_cpu=$1
2434host_vendor=$2
2435shift; shift
2436# Remember, the first character of IFS is used to create $*,
2437# except with old shells:
2438host_os=$*
2439IFS=$ac_save_IFS
2440case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2441
2442
2443
2444# Checks for programs.
2445ac_ext=cpp
2446ac_cpp='$CXXCPP $CPPFLAGS'
2447ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2448ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2449ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2450if test -z "$CXX"; then
2451 if test -n "$CCC"; then
2452 CXX=$CCC
2453 else
2454 if test -n "$ac_tool_prefix"; then
2455 for ac_prog in mpic++
2456 do
2457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2458set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2460$as_echo_n "checking for $ac_word... " >&6; }
2461if ${ac_cv_prog_CXX+:} false; then :
2462 $as_echo_n "(cached) " >&6
2463else
2464 if test -n "$CXX"; then
2465 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2466else
2467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468for as_dir in $PATH
2469do
2470 IFS=$as_save_IFS
2471 test -z "$as_dir" && as_dir=.
2472 for ac_exec_ext in '' $ac_executable_extensions; do
2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2474 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 break 2
2477 fi
2478done
2479 done
2480IFS=$as_save_IFS
2481
2482fi
2483fi
2484CXX=$ac_cv_prog_CXX
2485if test -n "$CXX"; then
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2487$as_echo "$CXX" >&6; }
2488else
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2490$as_echo "no" >&6; }
2491fi
2492
2493
2494 test -n "$CXX" && break
2495 done
2496fi
2497if test -z "$CXX"; then
2498 ac_ct_CXX=$CXX
2499 for ac_prog in mpic++
2500do
2501 # Extract the first word of "$ac_prog", so it can be a program name with args.
2502set dummy $ac_prog; ac_word=$2
2503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2504$as_echo_n "checking for $ac_word... " >&6; }
2505if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2506 $as_echo_n "(cached) " >&6
2507else
2508 if test -n "$ac_ct_CXX"; then
2509 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2510else
2511as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512for as_dir in $PATH
2513do
2514 IFS=$as_save_IFS
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2518 ac_cv_prog_ac_ct_CXX="$ac_prog"
2519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 break 2
2521 fi
2522done
2523 done
2524IFS=$as_save_IFS
2525
2526fi
2527fi
2528ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2529if test -n "$ac_ct_CXX"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2531$as_echo "$ac_ct_CXX" >&6; }
2532else
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2534$as_echo "no" >&6; }
2535fi
2536
2537
2538 test -n "$ac_ct_CXX" && break
2539done
2540
2541 if test "x$ac_ct_CXX" = x; then
2542 CXX="g++"
2543 else
2544 case $cross_compiling:$ac_tool_warned in
2545yes:)
2546{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2547$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2548ac_tool_warned=yes ;;
2549esac
2550 CXX=$ac_ct_CXX
2551 fi
2552fi
2553
2554 fi
2555fi
2556# Provide some information about the compiler.
2557$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2558set X $ac_compile
2559ac_compiler=$2
2560for ac_option in --version -v -V -qversion; do
2561 { { ac_try="$ac_compiler $ac_option >&5"
2562case "(($ac_try" in
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2565esac
2566eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567$as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2569 ac_status=$?
2570 if test -s conftest.err; then
2571 sed '10a\
2572... rest of stderr output deleted ...
2573 10q' conftest.err >conftest.er1
2574 cat conftest.er1 >&5
2575 fi
2576 rm -f conftest.er1 conftest.err
2577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2578 test $ac_status = 0; }
2579done
2580
2581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2582/* end confdefs.h. */
2583
2584int
2585main ()
2586{
2587
2588 ;
2589 return 0;
2590}
2591_ACEOF
2592ac_clean_files_save=$ac_clean_files
2593ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2594# Try to create an executable without -o first, disregard a.out.
2595# It will help us diagnose broken compilers, and finding out an intuition
2596# of exeext.
2597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2598$as_echo_n "checking whether the C++ compiler works... " >&6; }
2599ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2600
2601# The possible output files:
2602ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2603
2604ac_rmfiles=
2605for ac_file in $ac_files
2606do
2607 case $ac_file in
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2609 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2610 esac
2611done
2612rm -f $ac_rmfiles
2613
2614if { { ac_try="$ac_link_default"
2615case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618esac
2619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620$as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_link_default") 2>&5
2622 ac_status=$?
2623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2624 test $ac_status = 0; }; then :
2625 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2626# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2627# in a Makefile. We should not override ac_cv_exeext if it was cached,
2628# so that the user can short-circuit this test for compilers unknown to
2629# Autoconf.
2630for ac_file in $ac_files ''
2631do
2632 test -f "$ac_file" || continue
2633 case $ac_file in
2634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2635 ;;
2636 [ab].out )
2637 # We found the default executable, but exeext='' is most
2638 # certainly right.
2639 break;;
2640 *.* )
2641 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2642 then :; else
2643 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2644 fi
2645 # We set ac_cv_exeext here because the later test for it is not
2646 # safe: cross compilers may not add the suffix if given an `-o'
2647 # argument, so we may need to know it at that point already.
2648 # Even if this section looks crufty: it has the advantage of
2649 # actually working.
2650 break;;
2651 * )
2652 break;;
2653 esac
2654done
2655test "$ac_cv_exeext" = no && ac_cv_exeext=
2656
2657else
2658 ac_file=''
2659fi
2660if test -z "$ac_file"; then :
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662$as_echo "no" >&6; }
2663$as_echo "$as_me: failed program was:" >&5
2664sed 's/^/| /' conftest.$ac_ext >&5
2665
2666{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2667$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2668as_fn_error 77 "C++ compiler cannot create executables
2669See \`config.log' for more details" "$LINENO" 5; }
2670else
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2672$as_echo "yes" >&6; }
2673fi
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2675$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2677$as_echo "$ac_file" >&6; }
2678ac_exeext=$ac_cv_exeext
2679
2680rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2681ac_clean_files=$ac_clean_files_save
2682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2683$as_echo_n "checking for suffix of executables... " >&6; }
2684if { { ac_try="$ac_link"
2685case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688esac
2689eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690$as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_link") 2>&5
2692 ac_status=$?
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; }; then :
2695 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2696# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2697# work properly (i.e., refer to `conftest.exe'), while it won't with
2698# `rm'.
2699for ac_file in conftest.exe conftest conftest.*; do
2700 test -f "$ac_file" || continue
2701 case $ac_file in
2702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2703 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704 break;;
2705 * ) break;;
2706 esac
2707done
2708else
2709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2710$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2711as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2712See \`config.log' for more details" "$LINENO" 5; }
2713fi
2714rm -f conftest conftest$ac_cv_exeext
2715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2716$as_echo "$ac_cv_exeext" >&6; }
2717
2718rm -f conftest.$ac_ext
2719EXEEXT=$ac_cv_exeext
2720ac_exeext=$EXEEXT
2721cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722/* end confdefs.h. */
2723#include <stdio.h>
2724int
2725main ()
2726{
2727FILE *f = fopen ("conftest.out", "w");
2728 return ferror (f) || fclose (f) != 0;
2729
2730 ;
2731 return 0;
2732}
2733_ACEOF
2734ac_clean_files="$ac_clean_files conftest.out"
2735# Check that the compiler produces executables we can run. If not, either
2736# the compiler is broken, or we cross compile.
2737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2738$as_echo_n "checking whether we are cross compiling... " >&6; }
2739if test "$cross_compiling" != yes; then
2740 { { ac_try="$ac_link"
2741case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2744esac
2745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746$as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_link") 2>&5
2748 ac_status=$?
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; }
2751 if { ac_try='./conftest$ac_cv_exeext'
2752 { { case "(($ac_try" in
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2755esac
2756eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2757$as_echo "$ac_try_echo"; } >&5
2758 (eval "$ac_try") 2>&5
2759 ac_status=$?
2760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761 test $ac_status = 0; }; }; then
2762 cross_compiling=no
2763 else
2764 if test "$cross_compiling" = maybe; then
2765 cross_compiling=yes
2766 else
2767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2768$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2769as_fn_error $? "cannot run C++ compiled programs.
2770If you meant to cross compile, use \`--host'.
2771See \`config.log' for more details" "$LINENO" 5; }
2772 fi
2773 fi
2774fi
2775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2776$as_echo "$cross_compiling" >&6; }
2777
2778rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2779ac_clean_files=$ac_clean_files_save
2780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2781$as_echo_n "checking for suffix of object files... " >&6; }
2782if ${ac_cv_objext+:} false; then :
2783 $as_echo_n "(cached) " >&6
2784else
2785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2786/* end confdefs.h. */
2787
2788int
2789main ()
2790{
2791
2792 ;
2793 return 0;
2794}
2795_ACEOF
2796rm -f conftest.o conftest.obj
2797if { { ac_try="$ac_compile"
2798case "(($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_compile") 2>&5
2805 ac_status=$?
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; }; then :
2808 for ac_file in conftest.o conftest.obj conftest.*; do
2809 test -f "$ac_file" || continue;
2810 case $ac_file in
2811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2812 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2813 break;;
2814 esac
2815done
2816else
2817 $as_echo "$as_me: failed program was:" >&5
2818sed 's/^/| /' conftest.$ac_ext >&5
2819
2820{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2821$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2822as_fn_error $? "cannot compute suffix of object files: cannot compile
2823See \`config.log' for more details" "$LINENO" 5; }
2824fi
2825rm -f conftest.$ac_cv_objext conftest.$ac_ext
2826fi
2827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2828$as_echo "$ac_cv_objext" >&6; }
2829OBJEXT=$ac_cv_objext
2830ac_objext=$OBJEXT
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2832$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2833if ${ac_cv_cxx_compiler_gnu+:} false; then :
2834 $as_echo_n "(cached) " >&6
2835else
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837/* end confdefs.h. */
2838
2839int
2840main ()
2841{
2842#ifndef __GNUC__
2843 choke me
2844#endif
2845
2846 ;
2847 return 0;
2848}
2849_ACEOF
2850if ac_fn_cxx_try_compile "$LINENO"; then :
2851 ac_compiler_gnu=yes
2852else
2853 ac_compiler_gnu=no
2854fi
2855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2857
2858fi
2859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2860$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2861if test $ac_compiler_gnu = yes; then
2862 GXX=yes
2863else
2864 GXX=
2865fi
2866ac_test_CXXFLAGS=${CXXFLAGS+set}
2867ac_save_CXXFLAGS=$CXXFLAGS
2868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2869$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2870if ${ac_cv_prog_cxx_g+:} false; then :
2871 $as_echo_n "(cached) " >&6
2872else
2873 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2874 ac_cxx_werror_flag=yes
2875 ac_cv_prog_cxx_g=no
2876 CXXFLAGS="-g"
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878/* end confdefs.h. */
2879
2880int
2881main ()
2882{
2883
2884 ;
2885 return 0;
2886}
2887_ACEOF
2888if ac_fn_cxx_try_compile "$LINENO"; then :
2889 ac_cv_prog_cxx_g=yes
2890else
2891 CXXFLAGS=""
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893/* end confdefs.h. */
2894
2895int
2896main ()
2897{
2898
2899 ;
2900 return 0;
2901}
2902_ACEOF
2903if ac_fn_cxx_try_compile "$LINENO"; then :
2904
2905else
2906 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2907 CXXFLAGS="-g"
2908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909/* end confdefs.h. */
2910
2911int
2912main ()
2913{
2914
2915 ;
2916 return 0;
2917}
2918_ACEOF
2919if ac_fn_cxx_try_compile "$LINENO"; then :
2920 ac_cv_prog_cxx_g=yes
2921fi
2922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923fi
2924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925fi
2926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2928fi
2929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2930$as_echo "$ac_cv_prog_cxx_g" >&6; }
2931if test "$ac_test_CXXFLAGS" = set; then
2932 CXXFLAGS=$ac_save_CXXFLAGS
2933elif test $ac_cv_prog_cxx_g = yes; then
2934 if test "$GXX" = yes; then
2935 CXXFLAGS="-g -O2"
2936 else
2937 CXXFLAGS="-g"
2938 fi
2939else
2940 if test "$GXX" = yes; then
2941 CXXFLAGS="-O2"
2942 else
2943 CXXFLAGS=
2944 fi
2945fi
2946ac_ext=c
2947ac_cpp='$CPP $CPPFLAGS'
2948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2950ac_compiler_gnu=$ac_cv_c_compiler_gnu
2951DEPDIR="${am__leading_dot}deps"
2952
2953ac_config_commands="$ac_config_commands depfiles"
2954
2955
2956am_make=${MAKE-make}
2957cat > confinc << 'END'
2958am__doit:
2959 @echo this is the am__doit target
2960.PHONY: am__doit
2961END
2962# If we don't find an include directive, just comment out the code.
2963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2964$as_echo_n "checking for style of include used by $am_make... " >&6; }
2965am__include="#"
2966am__quote=
2967_am_result=none
2968# First try GNU make style include.
2969echo "include confinc" > confmf
2970# Ignore all kinds of additional output from `make'.
2971case `$am_make -s -f confmf 2> /dev/null` in #(
2972*the\ am__doit\ target*)
2973 am__include=include
2974 am__quote=
2975 _am_result=GNU
2976 ;;
2977esac
2978# Now try BSD make style include.
2979if test "$am__include" = "#"; then
2980 echo '.include "confinc"' > confmf
2981 case `$am_make -s -f confmf 2> /dev/null` in #(
2982 *the\ am__doit\ target*)
2983 am__include=.include
2984 am__quote="\""
2985 _am_result=BSD
2986 ;;
2987 esac
2988fi
2989
2990
2991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2992$as_echo "$_am_result" >&6; }
2993rm -f confinc confmf
2994
2995# Check whether --enable-dependency-tracking was given.
2996if test "${enable_dependency_tracking+set}" = set; then :
2997 enableval=$enable_dependency_tracking;
2998fi
2999
3000if test "x$enable_dependency_tracking" != xno; then
3001 am_depcomp="$ac_aux_dir/depcomp"
3002 AMDEPBACKSLASH='\'
3003fi
3004 if test "x$enable_dependency_tracking" != xno; then
3005 AMDEP_TRUE=
3006 AMDEP_FALSE='#'
3007else
3008 AMDEP_TRUE='#'
3009 AMDEP_FALSE=
3010fi
3011
3012
3013
3014depcc="$CXX" am_compiler_list=
3015
3016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3017$as_echo_n "checking dependency style of $depcc... " >&6; }
3018if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3019 $as_echo_n "(cached) " >&6
3020else
3021 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3022 # We make a subdir and do the tests there. Otherwise we can end up
3023 # making bogus files that we don't know about and never remove. For
3024 # instance it was reported that on HP-UX the gcc test will end up
3025 # making a dummy file named `D' -- because `-MD' means `put the output
3026 # in D'.
3027 mkdir conftest.dir
3028 # Copy depcomp to subdir because otherwise we won't find it if we're
3029 # using a relative directory.
3030 cp "$am_depcomp" conftest.dir
3031 cd conftest.dir
3032 # We will build objects and dependencies in a subdirectory because
3033 # it helps to detect inapplicable dependency modes. For instance
3034 # both Tru64's cc and ICC support -MD to output dependencies as a
3035 # side effect of compilation, but ICC will put the dependencies in
3036 # the current directory while Tru64 will put them in the object
3037 # directory.
3038 mkdir sub
3039
3040 am_cv_CXX_dependencies_compiler_type=none
3041 if test "$am_compiler_list" = ""; then
3042 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3043 fi
3044 am__universal=false
3045 case " $depcc " in #(
3046 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3047 esac
3048
3049 for depmode in $am_compiler_list; do
3050 # Setup a source with many dependencies, because some compilers
3051 # like to wrap large dependency lists on column 80 (with \), and
3052 # we should not choose a depcomp mode which is confused by this.
3053 #
3054 # We need to recreate these files for each test, as the compiler may
3055 # overwrite some of them when testing with obscure command lines.
3056 # This happens at least with the AIX C compiler.
3057 : > sub/conftest.c
3058 for i in 1 2 3 4 5 6; do
3059 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3060 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3061 # Solaris 8's {/usr,}/bin/sh.
3062 touch sub/conftst$i.h
3063 done
3064 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3065
3066 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3067 # mode. It turns out that the SunPro C++ compiler does not properly
3068 # handle `-M -o', and we need to detect this. Also, some Intel
3069 # versions had trouble with output in subdirs
3070 am__obj=sub/conftest.${OBJEXT-o}
3071 am__minus_obj="-o $am__obj"
3072 case $depmode in
3073 gcc)
3074 # This depmode causes a compiler race in universal mode.
3075 test "$am__universal" = false || continue
3076 ;;
3077 nosideeffect)
3078 # after this tag, mechanisms are not by side-effect, so they'll
3079 # only be used when explicitly requested
3080 if test "x$enable_dependency_tracking" = xyes; then
3081 continue
3082 else
3083 break
3084 fi
3085 ;;
3086 msvisualcpp | msvcmsys)
3087 # This compiler won't grok `-c -o', but also, the minuso test has
3088 # not run yet. These depmodes are late enough in the game, and
3089 # so weak that their functioning should not be impacted.
3090 am__obj=conftest.${OBJEXT-o}
3091 am__minus_obj=
3092 ;;
3093 none) break ;;
3094 esac
3095 if depmode=$depmode \
3096 source=sub/conftest.c object=$am__obj \
3097 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3098 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3099 >/dev/null 2>conftest.err &&
3100 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3101 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3102 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3103 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3104 # icc doesn't choke on unknown options, it will just issue warnings
3105 # or remarks (even with -Werror). So we grep stderr for any message
3106 # that says an option was ignored or not supported.
3107 # When given -MP, icc 7.0 and 7.1 complain thusly:
3108 # icc: Command line warning: ignoring option '-M'; no argument required
3109 # The diagnosis changed in icc 8.0:
3110 # icc: Command line remark: option '-MP' not supported
3111 if (grep 'ignoring option' conftest.err ||
3112 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3113 am_cv_CXX_dependencies_compiler_type=$depmode
3114 break
3115 fi
3116 fi
3117 done
3118
3119 cd ..
3120 rm -rf conftest.dir
3121else
3122 am_cv_CXX_dependencies_compiler_type=none
3123fi
3124
3125fi
3126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3127$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3128CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3129
3130 if
3131 test "x$enable_dependency_tracking" != xno \
3132 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3133 am__fastdepCXX_TRUE=
3134 am__fastdepCXX_FALSE='#'
3135else
3136 am__fastdepCXX_TRUE='#'
3137 am__fastdepCXX_FALSE=
3138fi
3139
3140
3141
3142# Checks for libraries.
3143ac_ext=c
3144ac_cpp='$CPP $CPPFLAGS'
3145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3147ac_compiler_gnu=$ac_cv_c_compiler_gnu
3148if test -n "$ac_tool_prefix"; then
3149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3150set dummy ${ac_tool_prefix}gcc; ac_word=$2
3151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152$as_echo_n "checking for $ac_word... " >&6; }
3153if ${ac_cv_prog_CC+:} false; then :
3154 $as_echo_n "(cached) " >&6
3155else
3156 if test -n "$CC"; then
3157 ac_cv_prog_CC="$CC" # Let the user override the test.
3158else
3159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160for as_dir in $PATH
3161do
3162 IFS=$as_save_IFS
3163 test -z "$as_dir" && as_dir=.
3164 for ac_exec_ext in '' $ac_executable_extensions; do
3165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3166 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 break 2
3169 fi
3170done
3171 done
3172IFS=$as_save_IFS
3173
3174fi
3175fi
3176CC=$ac_cv_prog_CC
3177if test -n "$CC"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3179$as_echo "$CC" >&6; }
3180else
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182$as_echo "no" >&6; }
3183fi
3184
3185
3186fi
3187if test -z "$ac_cv_prog_CC"; then
3188 ac_ct_CC=$CC
3189 # Extract the first word of "gcc", so it can be a program name with args.
3190set dummy gcc; ac_word=$2
3191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192$as_echo_n "checking for $ac_word... " >&6; }
3193if ${ac_cv_prog_ac_ct_CC+:} false; then :
3194 $as_echo_n "(cached) " >&6
3195else
3196 if test -n "$ac_ct_CC"; then
3197 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3198else
3199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200for as_dir in $PATH
3201do
3202 IFS=$as_save_IFS
3203 test -z "$as_dir" && as_dir=.
3204 for ac_exec_ext in '' $ac_executable_extensions; do
3205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206 ac_cv_prog_ac_ct_CC="gcc"
3207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 break 2
3209 fi
3210done
3211 done
3212IFS=$as_save_IFS
3213
3214fi
3215fi
3216ac_ct_CC=$ac_cv_prog_ac_ct_CC
3217if test -n "$ac_ct_CC"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3219$as_echo "$ac_ct_CC" >&6; }
3220else
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222$as_echo "no" >&6; }
3223fi
3224
3225 if test "x$ac_ct_CC" = x; then
3226 CC=""
3227 else
3228 case $cross_compiling:$ac_tool_warned in
3229yes:)
3230{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3231$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3232ac_tool_warned=yes ;;
3233esac
3234 CC=$ac_ct_CC
3235 fi
3236else
3237 CC="$ac_cv_prog_CC"
3238fi
3239
3240if test -z "$CC"; then
3241 if test -n "$ac_tool_prefix"; then
3242 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3243set dummy ${ac_tool_prefix}cc; ac_word=$2
3244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245$as_echo_n "checking for $ac_word... " >&6; }
3246if ${ac_cv_prog_CC+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248else
3249 if test -n "$CC"; then
3250 ac_cv_prog_CC="$CC" # Let the user override the test.
3251else
3252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253for as_dir in $PATH
3254do
3255 IFS=$as_save_IFS
3256 test -z "$as_dir" && as_dir=.
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3259 ac_cv_prog_CC="${ac_tool_prefix}cc"
3260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 break 2
3262 fi
3263done
3264 done
3265IFS=$as_save_IFS
3266
3267fi
3268fi
3269CC=$ac_cv_prog_CC
3270if test -n "$CC"; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3272$as_echo "$CC" >&6; }
3273else
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275$as_echo "no" >&6; }
3276fi
3277
3278
3279 fi
3280fi
3281if test -z "$CC"; then
3282 # Extract the first word of "cc", so it can be a program name with args.
3283set dummy cc; ac_word=$2
3284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3285$as_echo_n "checking for $ac_word... " >&6; }
3286if ${ac_cv_prog_CC+:} false; then :
3287 $as_echo_n "(cached) " >&6
3288else
3289 if test -n "$CC"; then
3290 ac_cv_prog_CC="$CC" # Let the user override the test.
3291else
3292 ac_prog_rejected=no
3293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294for as_dir in $PATH
3295do
3296 IFS=$as_save_IFS
3297 test -z "$as_dir" && as_dir=.
3298 for ac_exec_ext in '' $ac_executable_extensions; do
3299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3300 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3301 ac_prog_rejected=yes
3302 continue
3303 fi
3304 ac_cv_prog_CC="cc"
3305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3306 break 2
3307 fi
3308done
3309 done
3310IFS=$as_save_IFS
3311
3312if test $ac_prog_rejected = yes; then
3313 # We found a bogon in the path, so make sure we never use it.
3314 set dummy $ac_cv_prog_CC
3315 shift
3316 if test $# != 0; then
3317 # We chose a different compiler from the bogus one.
3318 # However, it has the same basename, so the bogon will be chosen
3319 # first if we set CC to just the basename; use the full file name.
3320 shift
3321 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3322 fi
3323fi
3324fi
3325fi
3326CC=$ac_cv_prog_CC
3327if test -n "$CC"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3329$as_echo "$CC" >&6; }
3330else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332$as_echo "no" >&6; }
3333fi
3334
3335
3336fi
3337if test -z "$CC"; then
3338 if test -n "$ac_tool_prefix"; then
3339 for ac_prog in cl.exe
3340 do
3341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3342set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344$as_echo_n "checking for $ac_word... " >&6; }
3345if ${ac_cv_prog_CC+:} false; then :
3346 $as_echo_n "(cached) " >&6
3347else
3348 if test -n "$CC"; then
3349 ac_cv_prog_CC="$CC" # Let the user override the test.
3350else
3351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352for as_dir in $PATH
3353do
3354 IFS=$as_save_IFS
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 break 2
3361 fi
3362done
3363 done
3364IFS=$as_save_IFS
3365
3366fi
3367fi
3368CC=$ac_cv_prog_CC
3369if test -n "$CC"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3371$as_echo "$CC" >&6; }
3372else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374$as_echo "no" >&6; }
3375fi
3376
3377
3378 test -n "$CC" && break
3379 done
3380fi
3381if test -z "$CC"; then
3382 ac_ct_CC=$CC
3383 for ac_prog in cl.exe
3384do
3385 # Extract the first word of "$ac_prog", so it can be a program name with args.
3386set dummy $ac_prog; ac_word=$2
3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3388$as_echo_n "checking for $ac_word... " >&6; }
3389if ${ac_cv_prog_ac_ct_CC+:} false; then :
3390 $as_echo_n "(cached) " >&6
3391else
3392 if test -n "$ac_ct_CC"; then
3393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3394else
3395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396for as_dir in $PATH
3397do
3398 IFS=$as_save_IFS
3399 test -z "$as_dir" && as_dir=.
3400 for ac_exec_ext in '' $ac_executable_extensions; do
3401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3402 ac_cv_prog_ac_ct_CC="$ac_prog"
3403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 break 2
3405 fi
3406done
3407 done
3408IFS=$as_save_IFS
3409
3410fi
3411fi
3412ac_ct_CC=$ac_cv_prog_ac_ct_CC
3413if test -n "$ac_ct_CC"; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3415$as_echo "$ac_ct_CC" >&6; }
3416else
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3418$as_echo "no" >&6; }
3419fi
3420
3421
3422 test -n "$ac_ct_CC" && break
3423done
3424
3425 if test "x$ac_ct_CC" = x; then
3426 CC=""
3427 else
3428 case $cross_compiling:$ac_tool_warned in
3429yes:)
3430{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3431$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3432ac_tool_warned=yes ;;
3433esac
3434 CC=$ac_ct_CC
3435 fi
3436fi
3437
3438fi
3439
3440
3441test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3442$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3443as_fn_error $? "no acceptable C compiler found in \$PATH
3444See \`config.log' for more details" "$LINENO" 5; }
3445
3446# Provide some information about the compiler.
3447$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3448set X $ac_compile
3449ac_compiler=$2
3450for ac_option in --version -v -V -qversion; do
3451 { { ac_try="$ac_compiler $ac_option >&5"
3452case "(($ac_try" in
3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3455esac
3456eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457$as_echo "$ac_try_echo"; } >&5
3458 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3459 ac_status=$?
3460 if test -s conftest.err; then
3461 sed '10a\
3462... rest of stderr output deleted ...
3463 10q' conftest.err >conftest.er1
3464 cat conftest.er1 >&5
3465 fi
3466 rm -f conftest.er1 conftest.err
3467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468 test $ac_status = 0; }
3469done
3470
3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3472$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3473if ${ac_cv_c_compiler_gnu+:} false; then :
3474 $as_echo_n "(cached) " >&6
3475else
3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477/* end confdefs.h. */
3478
3479int
3480main ()
3481{
3482#ifndef __GNUC__
3483 choke me
3484#endif
3485
3486 ;
3487 return 0;
3488}
3489_ACEOF
3490if ac_fn_c_try_compile "$LINENO"; then :
3491 ac_compiler_gnu=yes
3492else
3493 ac_compiler_gnu=no
3494fi
3495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496ac_cv_c_compiler_gnu=$ac_compiler_gnu
3497
3498fi
3499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3500$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3501if test $ac_compiler_gnu = yes; then
3502 GCC=yes
3503else
3504 GCC=
3505fi
3506ac_test_CFLAGS=${CFLAGS+set}
3507ac_save_CFLAGS=$CFLAGS
3508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3509$as_echo_n "checking whether $CC accepts -g... " >&6; }
3510if ${ac_cv_prog_cc_g+:} false; then :
3511 $as_echo_n "(cached) " >&6
3512else
3513 ac_save_c_werror_flag=$ac_c_werror_flag
3514 ac_c_werror_flag=yes
3515 ac_cv_prog_cc_g=no
3516 CFLAGS="-g"
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518/* end confdefs.h. */
3519
3520int
3521main ()
3522{
3523
3524 ;
3525 return 0;
3526}
3527_ACEOF
3528if ac_fn_c_try_compile "$LINENO"; then :
3529 ac_cv_prog_cc_g=yes
3530else
3531 CFLAGS=""
3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533/* end confdefs.h. */
3534
3535int
3536main ()
3537{
3538
3539 ;
3540 return 0;
3541}
3542_ACEOF
3543if ac_fn_c_try_compile "$LINENO"; then :
3544
3545else
3546 ac_c_werror_flag=$ac_save_c_werror_flag
3547 CFLAGS="-g"
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549/* end confdefs.h. */
3550
3551int
3552main ()
3553{
3554
3555 ;
3556 return 0;
3557}
3558_ACEOF
3559if ac_fn_c_try_compile "$LINENO"; then :
3560 ac_cv_prog_cc_g=yes
3561fi
3562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563fi
3564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565fi
3566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 ac_c_werror_flag=$ac_save_c_werror_flag
3568fi
3569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3570$as_echo "$ac_cv_prog_cc_g" >&6; }
3571if test "$ac_test_CFLAGS" = set; then
3572 CFLAGS=$ac_save_CFLAGS
3573elif test $ac_cv_prog_cc_g = yes; then
3574 if test "$GCC" = yes; then
3575 CFLAGS="-g -O2"
3576 else
3577 CFLAGS="-g"
3578 fi
3579else
3580 if test "$GCC" = yes; then
3581 CFLAGS="-O2"
3582 else
3583 CFLAGS=
3584 fi
3585fi
3586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3587$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3588if ${ac_cv_prog_cc_c89+:} false; then :
3589 $as_echo_n "(cached) " >&6
3590else
3591 ac_cv_prog_cc_c89=no
3592ac_save_CC=$CC
3593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594/* end confdefs.h. */
3595#include <stdarg.h>
3596#include <stdio.h>
3597#include <sys/types.h>
3598#include <sys/stat.h>
3599/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3600struct buf { int x; };
3601FILE * (*rcsopen) (struct buf *, struct stat *, int);
3602static char *e (p, i)
3603 char **p;
3604 int i;
3605{
3606 return p[i];
3607}
3608static char *f (char * (*g) (char **, int), char **p, ...)
3609{
3610 char *s;
3611 va_list v;
3612 va_start (v,p);
3613 s = g (p, va_arg (v,int));
3614 va_end (v);
3615 return s;
3616}
3617
3618/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3619 function prototypes and stuff, but not '\xHH' hex character constants.
3620 These don't provoke an error unfortunately, instead are silently treated
3621 as 'x'. The following induces an error, until -std is added to get
3622 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3623 array size at least. It's necessary to write '\x00'==0 to get something
3624 that's true only with -std. */
3625int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3626
3627/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3628 inside strings and character constants. */
3629#define FOO(x) 'x'
3630int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3631
3632int test (int i, double x);
3633struct s1 {int (*f) (int a);};
3634struct s2 {int (*f) (double a);};
3635int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3636int argc;
3637char **argv;
3638int
3639main ()
3640{
3641return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3642 ;
3643 return 0;
3644}
3645_ACEOF
3646for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3647 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3648do
3649 CC="$ac_save_CC $ac_arg"
3650 if ac_fn_c_try_compile "$LINENO"; then :
3651 ac_cv_prog_cc_c89=$ac_arg
3652fi
3653rm -f core conftest.err conftest.$ac_objext
3654 test "x$ac_cv_prog_cc_c89" != "xno" && break
3655done
3656rm -f conftest.$ac_ext
3657CC=$ac_save_CC
3658
3659fi
3660# AC_CACHE_VAL
3661case "x$ac_cv_prog_cc_c89" in
3662 x)
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3664$as_echo "none needed" >&6; } ;;
3665 xno)
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3667$as_echo "unsupported" >&6; } ;;
3668 *)
3669 CC="$CC $ac_cv_prog_cc_c89"
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3671$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3672esac
3673if test "x$ac_cv_prog_cc_c89" != xno; then :
3674
3675fi
3676
3677ac_ext=c
3678ac_cpp='$CPP $CPPFLAGS'
3679ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682
3683depcc="$CC" am_compiler_list=
3684
3685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3686$as_echo_n "checking dependency style of $depcc... " >&6; }
3687if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3688 $as_echo_n "(cached) " >&6
3689else
3690 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3691 # We make a subdir and do the tests there. Otherwise we can end up
3692 # making bogus files that we don't know about and never remove. For
3693 # instance it was reported that on HP-UX the gcc test will end up
3694 # making a dummy file named `D' -- because `-MD' means `put the output
3695 # in D'.
3696 mkdir conftest.dir
3697 # Copy depcomp to subdir because otherwise we won't find it if we're
3698 # using a relative directory.
3699 cp "$am_depcomp" conftest.dir
3700 cd conftest.dir
3701 # We will build objects and dependencies in a subdirectory because
3702 # it helps to detect inapplicable dependency modes. For instance
3703 # both Tru64's cc and ICC support -MD to output dependencies as a
3704 # side effect of compilation, but ICC will put the dependencies in
3705 # the current directory while Tru64 will put them in the object
3706 # directory.
3707 mkdir sub
3708
3709 am_cv_CC_dependencies_compiler_type=none
3710 if test "$am_compiler_list" = ""; then
3711 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3712 fi
3713 am__universal=false
3714 case " $depcc " in #(
3715 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3716 esac
3717
3718 for depmode in $am_compiler_list; do
3719 # Setup a source with many dependencies, because some compilers
3720 # like to wrap large dependency lists on column 80 (with \), and
3721 # we should not choose a depcomp mode which is confused by this.
3722 #
3723 # We need to recreate these files for each test, as the compiler may
3724 # overwrite some of them when testing with obscure command lines.
3725 # This happens at least with the AIX C compiler.
3726 : > sub/conftest.c
3727 for i in 1 2 3 4 5 6; do
3728 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3729 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3730 # Solaris 8's {/usr,}/bin/sh.
3731 touch sub/conftst$i.h
3732 done
3733 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3734
3735 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3736 # mode. It turns out that the SunPro C++ compiler does not properly
3737 # handle `-M -o', and we need to detect this. Also, some Intel
3738 # versions had trouble with output in subdirs
3739 am__obj=sub/conftest.${OBJEXT-o}
3740 am__minus_obj="-o $am__obj"
3741 case $depmode in
3742 gcc)
3743 # This depmode causes a compiler race in universal mode.
3744 test "$am__universal" = false || continue
3745 ;;
3746 nosideeffect)
3747 # after this tag, mechanisms are not by side-effect, so they'll
3748 # only be used when explicitly requested
3749 if test "x$enable_dependency_tracking" = xyes; then
3750 continue
3751 else
3752 break
3753 fi
3754 ;;
3755 msvisualcpp | msvcmsys)
3756 # This compiler won't grok `-c -o', but also, the minuso test has
3757 # not run yet. These depmodes are late enough in the game, and
3758 # so weak that their functioning should not be impacted.
3759 am__obj=conftest.${OBJEXT-o}
3760 am__minus_obj=
3761 ;;
3762 none) break ;;
3763 esac
3764 if depmode=$depmode \
3765 source=sub/conftest.c object=$am__obj \
3766 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3767 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3768 >/dev/null 2>conftest.err &&
3769 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3770 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3771 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3772 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3773 # icc doesn't choke on unknown options, it will just issue warnings
3774 # or remarks (even with -Werror). So we grep stderr for any message
3775 # that says an option was ignored or not supported.
3776 # When given -MP, icc 7.0 and 7.1 complain thusly:
3777 # icc: Command line warning: ignoring option '-M'; no argument required
3778 # The diagnosis changed in icc 8.0:
3779 # icc: Command line remark: option '-MP' not supported
3780 if (grep 'ignoring option' conftest.err ||
3781 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3782 am_cv_CC_dependencies_compiler_type=$depmode
3783 break
3784 fi
3785 fi
3786 done
3787
3788 cd ..
3789 rm -rf conftest.dir
3790else
3791 am_cv_CC_dependencies_compiler_type=none
3792fi
3793
3794fi
3795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3796$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3797CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3798
3799 if
3800 test "x$enable_dependency_tracking" != xno \
3801 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3802 am__fastdepCC_TRUE=
3803 am__fastdepCC_FALSE='#'
3804else
3805 am__fastdepCC_TRUE='#'
3806 am__fastdepCC_FALSE=
3807fi
3808
3809
3810
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5
3812$as_echo_n "checking for MPI_Init in -lmpi... " >&6; }
3813if ${ac_cv_lib_mpi_MPI_Init+:} false; then :
3814 $as_echo_n "(cached) " >&6
3815else
3816 ac_check_lib_save_LIBS=$LIBS
3817LIBS="-lmpi $LIBS"
3818cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3819/* end confdefs.h. */
3820
3821/* Override any GCC internal prototype to avoid an error.
3822 Use char because int might match the return type of a GCC
3823 builtin and then its argument prototype would still apply. */
3824#ifdef __cplusplus
3825extern "C"
3826#endif
3827char MPI_Init ();
3828int
3829main ()
3830{
3831return MPI_Init ();
3832 ;
3833 return 0;
3834}
3835_ACEOF
3836if ac_fn_c_try_link "$LINENO"; then :
3837 ac_cv_lib_mpi_MPI_Init=yes
3838else
3839 ac_cv_lib_mpi_MPI_Init=no
3840fi
3841rm -f core conftest.err conftest.$ac_objext \
3842 conftest$ac_exeext conftest.$ac_ext
3843LIBS=$ac_check_lib_save_LIBS
3844fi
3845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5
3846$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; }
3847if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then :
3848 cat >>confdefs.h <<_ACEOF
3849#define HAVE_LIBMPI 1
3850_ACEOF
3851
3852 LIBS="-lmpi $LIBS"
3853
3854fi
3855
3856
3857# Checks for header files.
3858
3859# Checks for typedefs, structures, and compiler characteristics.
3860
3861# Checks for library functions.
3862
3863# Completion
3864ac_config_files="$ac_config_files Makefile"
3865
3866cat >confcache <<\_ACEOF
3867# This file is a shell script that caches the results of configure
3868# tests run on this system so they can be shared between configure
3869# scripts and configure runs, see configure's option --config-cache.
3870# It is not useful on other systems. If it contains results you don't
3871# want to keep, you may remove or edit it.
3872#
3873# config.status only pays attention to the cache file if you give it
3874# the --recheck option to rerun configure.
3875#
3876# `ac_cv_env_foo' variables (set or unset) will be overridden when
3877# loading this file, other *unset* `ac_cv_foo' will be assigned the
3878# following values.
3879
3880_ACEOF
3881
3882# The following way of writing the cache mishandles newlines in values,
3883# but we know of no workaround that is simple, portable, and efficient.
3884# So, we kill variables containing newlines.
3885# Ultrix sh set writes to stderr and can't be redirected directly,
3886# and sets the high bit in the cache file unless we assign to the vars.
3887(
3888 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3889 eval ac_val=\$$ac_var
3890 case $ac_val in #(
3891 *${as_nl}*)
3892 case $ac_var in #(
3893 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3894$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3895 esac
3896 case $ac_var in #(
3897 _ | IFS | as_nl) ;; #(
3898 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3899 *) { eval $ac_var=; unset $ac_var;} ;;
3900 esac ;;
3901 esac
3902 done
3903
3904 (set) 2>&1 |
3905 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3906 *${as_nl}ac_space=\ *)
3907 # `set' does not quote correctly, so add quotes: double-quote
3908 # substitution turns \\\\ into \\, and sed turns \\ into \.
3909 sed -n \
3910 "s/'/'\\\\''/g;
3911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3912 ;; #(
3913 *)
3914 # `set' quotes correctly as required by POSIX, so do not add quotes.
3915 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3916 ;;
3917 esac |
3918 sort
3919) |
3920 sed '
3921 /^ac_cv_env_/b end
3922 t clear
3923 :clear
3924 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3925 t end
3926 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3927 :end' >>confcache
3928if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3929 if test -w "$cache_file"; then
3930 if test "x$cache_file" != "x/dev/null"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3932$as_echo "$as_me: updating cache $cache_file" >&6;}
3933 if test ! -f "$cache_file" || test -h "$cache_file"; then
3934 cat confcache >"$cache_file"
3935 else
3936 case $cache_file in #(
3937 */* | ?:*)
3938 mv -f confcache "$cache_file"$$ &&
3939 mv -f "$cache_file"$$ "$cache_file" ;; #(
3940 *)
3941 mv -f confcache "$cache_file" ;;
3942 esac
3943 fi
3944 fi
3945 else
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3947$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3948 fi
3949fi
3950rm -f confcache
3951
3952test "x$prefix" = xNONE && prefix=$ac_default_prefix
3953# Let make expand exec_prefix.
3954test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3955
3956# Transform confdefs.h into DEFS.
3957# Protect against shell expansion while executing Makefile rules.
3958# Protect against Makefile macro expansion.
3959#
3960# If the first sed substitution is executed (which looks for macros that
3961# take arguments), then branch to the quote section. Otherwise,
3962# look for a macro that doesn't take arguments.
3963ac_script='
3964:mline
3965/\\$/{
3966 N
3967 s,\\\n,,
3968 b mline
3969}
3970t clear
3971:clear
3972s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3973t quote
3974s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3975t quote
3976b any
3977:quote
3978s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3979s/\[/\\&/g
3980s/\]/\\&/g
3981s/\$/$$/g
3982H
3983:any
3984${
3985 g
3986 s/^\n//
3987 s/\n/ /g
3988 p
3989}
3990'
3991DEFS=`sed -n "$ac_script" confdefs.h`
3992
3993
3994ac_libobjs=
3995ac_ltlibobjs=
3996U=
3997for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3998 # 1. Remove the extension, and $U if already installed.
3999 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4000 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4001 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4002 # will be set to the directory where LIBOBJS objects are built.
4003 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4004 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4005done
4006LIBOBJS=$ac_libobjs
4007
4008LTLIBOBJS=$ac_ltlibobjs
4009
4010
4011 if test -n "$EXEEXT"; then
4012 am__EXEEXT_TRUE=
4013 am__EXEEXT_FALSE='#'
4014else
4015 am__EXEEXT_TRUE='#'
4016 am__EXEEXT_FALSE=
4017fi
4018
4019if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4020 as_fn_error $? "conditional \"AMDEP\" was never defined.
4021Usually this means the macro was only invoked conditionally." "$LINENO" 5
4022fi
4023if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4024 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4025Usually this means the macro was only invoked conditionally." "$LINENO" 5
4026fi
4027if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4028 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4029Usually this means the macro was only invoked conditionally." "$LINENO" 5
4030fi
4031
4032: "${CONFIG_STATUS=./config.status}"
4033ac_write_fail=0
4034ac_clean_files_save=$ac_clean_files
4035ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4036{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4037$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4038as_write_fail=0
4039cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4040#! $SHELL
4041# Generated by $as_me.
4042# Run this file to recreate the current configuration.
4043# Compiler output produced by configure, useful for debugging
4044# configure, is in config.log if it exists.
4045
4046debug=false
4047ac_cs_recheck=false
4048ac_cs_silent=false
4049
4050SHELL=\${CONFIG_SHELL-$SHELL}
4051export SHELL
4052_ASEOF
4053cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4054## -------------------- ##
4055## M4sh Initialization. ##
4056## -------------------- ##
4057
4058# Be more Bourne compatible
4059DUALCASE=1; export DUALCASE # for MKS sh
4060if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4061 emulate sh
4062 NULLCMD=:
4063 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4064 # is contrary to our usage. Disable this feature.
4065 alias -g '${1+"$@"}'='"$@"'
4066 setopt NO_GLOB_SUBST
4067else
4068 case `(set -o) 2>/dev/null` in #(
4069 *posix*) :
4070 set -o posix ;; #(
4071 *) :
4072 ;;
4073esac
4074fi
4075
4076
4077as_nl='
4078'
4079export as_nl
4080# Printing a long string crashes Solaris 7 /usr/bin/printf.
4081as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4082as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4083as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4084# Prefer a ksh shell builtin over an external printf program on Solaris,
4085# but without wasting forks for bash or zsh.
4086if test -z "$BASH_VERSION$ZSH_VERSION" \
4087 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4088 as_echo='print -r --'
4089 as_echo_n='print -rn --'
4090elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4091 as_echo='printf %s\n'
4092 as_echo_n='printf %s'
4093else
4094 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4095 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4096 as_echo_n='/usr/ucb/echo -n'
4097 else
4098 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4099 as_echo_n_body='eval
4100 arg=$1;
4101 case $arg in #(
4102 *"$as_nl"*)
4103 expr "X$arg" : "X\\(.*\\)$as_nl";
4104 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4105 esac;
4106 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4107 '
4108 export as_echo_n_body
4109 as_echo_n='sh -c $as_echo_n_body as_echo'
4110 fi
4111 export as_echo_body
4112 as_echo='sh -c $as_echo_body as_echo'
4113fi
4114
4115# The user is always right.
4116if test "${PATH_SEPARATOR+set}" != set; then
4117 PATH_SEPARATOR=:
4118 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4119 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4120 PATH_SEPARATOR=';'
4121 }
4122fi
4123
4124
4125# IFS
4126# We need space, tab and new line, in precisely that order. Quoting is
4127# there to prevent editors from complaining about space-tab.
4128# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4129# splitting by setting IFS to empty value.)
4130IFS=" "" $as_nl"
4131
4132# Find who we are. Look in the path if we contain no directory separator.
4133as_myself=
4134case $0 in #((
4135 *[\\/]* ) as_myself=$0 ;;
4136 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137for as_dir in $PATH
4138do
4139 IFS=$as_save_IFS
4140 test -z "$as_dir" && as_dir=.
4141 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4142 done
4143IFS=$as_save_IFS
4144
4145 ;;
4146esac
4147# We did not find ourselves, most probably we were run as `sh COMMAND'
4148# in which case we are not to be found in the path.
4149if test "x$as_myself" = x; then
4150 as_myself=$0
4151fi
4152if test ! -f "$as_myself"; then
4153 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4154 exit 1
4155fi
4156
4157# Unset variables that we do not need and which cause bugs (e.g. in
4158# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4159# suppresses any "Segmentation fault" message there. '((' could
4160# trigger a bug in pdksh 5.2.14.
4161for as_var in BASH_ENV ENV MAIL MAILPATH
4162do eval test x\${$as_var+set} = xset \
4163 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4164done
4165PS1='$ '
4166PS2='> '
4167PS4='+ '
4168
4169# NLS nuisances.
4170LC_ALL=C
4171export LC_ALL
4172LANGUAGE=C
4173export LANGUAGE
4174
4175# CDPATH.
4176(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4177
4178
4179# as_fn_error STATUS ERROR [LINENO LOG_FD]
4180# ----------------------------------------
4181# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4182# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4183# script with STATUS, using 1 if that was 0.
4184as_fn_error ()
4185{
4186 as_status=$1; test $as_status -eq 0 && as_status=1
4187 if test "$4"; then
4188 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4189 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4190 fi
4191 $as_echo "$as_me: error: $2" >&2
4192 as_fn_exit $as_status
4193} # as_fn_error
4194
4195
4196# as_fn_set_status STATUS
4197# -----------------------
4198# Set $? to STATUS, without forking.
4199as_fn_set_status ()
4200{
4201 return $1
4202} # as_fn_set_status
4203
4204# as_fn_exit STATUS
4205# -----------------
4206# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4207as_fn_exit ()
4208{
4209 set +e
4210 as_fn_set_status $1
4211 exit $1
4212} # as_fn_exit
4213
4214# as_fn_unset VAR
4215# ---------------
4216# Portably unset VAR.
4217as_fn_unset ()
4218{
4219 { eval $1=; unset $1;}
4220}
4221as_unset=as_fn_unset
4222# as_fn_append VAR VALUE
4223# ----------------------
4224# Append the text in VALUE to the end of the definition contained in VAR. Take
4225# advantage of any shell optimizations that allow amortized linear growth over
4226# repeated appends, instead of the typical quadratic growth present in naive
4227# implementations.
4228if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4229 eval 'as_fn_append ()
4230 {
4231 eval $1+=\$2
4232 }'
4233else
4234 as_fn_append ()
4235 {
4236 eval $1=\$$1\$2
4237 }
4238fi # as_fn_append
4239
4240# as_fn_arith ARG...
4241# ------------------
4242# Perform arithmetic evaluation on the ARGs, and store the result in the
4243# global $as_val. Take advantage of shells that can avoid forks. The arguments
4244# must be portable across $(()) and expr.
4245if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4246 eval 'as_fn_arith ()
4247 {
4248 as_val=$(( $* ))
4249 }'
4250else
4251 as_fn_arith ()
4252 {
4253 as_val=`expr "$@" || test $? -eq 1`
4254 }
4255fi # as_fn_arith
4256
4257
4258if expr a : '\(a\)' >/dev/null 2>&1 &&
4259 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4260 as_expr=expr
4261else
4262 as_expr=false
4263fi
4264
4265if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4266 as_basename=basename
4267else
4268 as_basename=false
4269fi
4270
4271if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4272 as_dirname=dirname
4273else
4274 as_dirname=false
4275fi
4276
4277as_me=`$as_basename -- "$0" ||
4278$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4279 X"$0" : 'X\(//\)$' \| \
4280 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4281$as_echo X/"$0" |
4282 sed '/^.*\/\([^/][^/]*\)\/*$/{
4283 s//\1/
4284 q
4285 }
4286 /^X\/\(\/\/\)$/{
4287 s//\1/
4288 q
4289 }
4290 /^X\/\(\/\).*/{
4291 s//\1/
4292 q
4293 }
4294 s/.*/./; q'`
4295
4296# Avoid depending upon Character Ranges.
4297as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4298as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4299as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4300as_cr_digits='0123456789'
4301as_cr_alnum=$as_cr_Letters$as_cr_digits
4302
4303ECHO_C= ECHO_N= ECHO_T=
4304case `echo -n x` in #(((((
4305-n*)
4306 case `echo 'xy\c'` in
4307 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4308 xy) ECHO_C='\c';;
4309 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4310 ECHO_T=' ';;
4311 esac;;
4312*)
4313 ECHO_N='-n';;
4314esac
4315
4316rm -f conf$$ conf$$.exe conf$$.file
4317if test -d conf$$.dir; then
4318 rm -f conf$$.dir/conf$$.file
4319else
4320 rm -f conf$$.dir
4321 mkdir conf$$.dir 2>/dev/null
4322fi
4323if (echo >conf$$.file) 2>/dev/null; then
4324 if ln -s conf$$.file conf$$ 2>/dev/null; then
4325 as_ln_s='ln -s'
4326 # ... but there are two gotchas:
4327 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4328 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4329 # In both cases, we have to default to `cp -p'.
4330 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4331 as_ln_s='cp -p'
4332 elif ln conf$$.file conf$$ 2>/dev/null; then
4333 as_ln_s=ln
4334 else
4335 as_ln_s='cp -p'
4336 fi
4337else
4338 as_ln_s='cp -p'
4339fi
4340rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4341rmdir conf$$.dir 2>/dev/null
4342
4343
4344# as_fn_mkdir_p
4345# -------------
4346# Create "$as_dir" as a directory, including parents if necessary.
4347as_fn_mkdir_p ()
4348{
4349
4350 case $as_dir in #(
4351 -*) as_dir=./$as_dir;;
4352 esac
4353 test -d "$as_dir" || eval $as_mkdir_p || {
4354 as_dirs=
4355 while :; do
4356 case $as_dir in #(
4357 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4358 *) as_qdir=$as_dir;;
4359 esac
4360 as_dirs="'$as_qdir' $as_dirs"
4361 as_dir=`$as_dirname -- "$as_dir" ||
4362$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4363 X"$as_dir" : 'X\(//\)[^/]' \| \
4364 X"$as_dir" : 'X\(//\)$' \| \
4365 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4366$as_echo X"$as_dir" |
4367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4368 s//\1/
4369 q
4370 }
4371 /^X\(\/\/\)[^/].*/{
4372 s//\1/
4373 q
4374 }
4375 /^X\(\/\/\)$/{
4376 s//\1/
4377 q
4378 }
4379 /^X\(\/\).*/{
4380 s//\1/
4381 q
4382 }
4383 s/.*/./; q'`
4384 test -d "$as_dir" && break
4385 done
4386 test -z "$as_dirs" || eval "mkdir $as_dirs"
4387 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4388
4389
4390} # as_fn_mkdir_p
4391if mkdir -p . 2>/dev/null; then
4392 as_mkdir_p='mkdir -p "$as_dir"'
4393else
4394 test -d ./-p && rmdir ./-p
4395 as_mkdir_p=false
4396fi
4397
4398if test -x / >/dev/null 2>&1; then
4399 as_test_x='test -x'
4400else
4401 if ls -dL / >/dev/null 2>&1; then
4402 as_ls_L_option=L
4403 else
4404 as_ls_L_option=
4405 fi
4406 as_test_x='
4407 eval sh -c '\''
4408 if test -d "$1"; then
4409 test -d "$1/.";
4410 else
4411 case $1 in #(
4412 -*)set "./$1";;
4413 esac;
4414 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4415 ???[sx]*):;;*)false;;esac;fi
4416 '\'' sh
4417 '
4418fi
4419as_executable_p=$as_test_x
4420
4421# Sed expression to map a string onto a valid CPP name.
4422as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4423
4424# Sed expression to map a string onto a valid variable name.
4425as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4426
4427
4428exec 6>&1
4429## ----------------------------------- ##
4430## Main body of $CONFIG_STATUS script. ##
4431## ----------------------------------- ##
4432_ASEOF
4433test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4434
4435cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4436# Save the log message, to keep $0 and so on meaningful, and to
4437# report actual input values of CONFIG_FILES etc. instead of their
4438# values after options handling.
4439ac_log="
4440This file was extended by mpiimport $as_me 1.0, which was
4441generated by GNU Autoconf 2.68. Invocation command line was
4442
4443 CONFIG_FILES = $CONFIG_FILES
4444 CONFIG_HEADERS = $CONFIG_HEADERS
4445 CONFIG_LINKS = $CONFIG_LINKS
4446 CONFIG_COMMANDS = $CONFIG_COMMANDS
4447 $ $0 $@
4448
4449on `(hostname || uname -n) 2>/dev/null | sed 1q`
4450"
4451
4452_ACEOF
4453
4454case $ac_config_files in *"
4455"*) set x $ac_config_files; shift; ac_config_files=$*;;
4456esac
4457
4458
4459
4460cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4461# Files that config.status was made for.
4462config_files="$ac_config_files"
4463config_commands="$ac_config_commands"
4464
4465_ACEOF
4466
4467cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4468ac_cs_usage="\
4469\`$as_me' instantiates files and other configuration actions
4470from templates according to the current configuration. Unless the files
4471and actions are specified as TAGs, all are instantiated by default.
4472
4473Usage: $0 [OPTION]... [TAG]...
4474
4475 -h, --help print this help, then exit
4476 -V, --version print version number and configuration settings, then exit
4477 --config print configuration, then exit
4478 -q, --quiet, --silent
4479 do not print progress messages
4480 -d, --debug don't remove temporary files
4481 --recheck update $as_me by reconfiguring in the same conditions
4482 --file=FILE[:TEMPLATE]
4483 instantiate the configuration file FILE
4484
4485Configuration files:
4486$config_files
4487
4488Configuration commands:
4489$config_commands
4490
4491Report bugs to <[email protected]>."
4492
4493_ACEOF
4494cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4495ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4496ac_cs_version="\\
4497mpiimport config.status 1.0
4498configured by $0, generated by GNU Autoconf 2.68,
4499 with options \\"\$ac_cs_config\\"
4500
4501Copyright (C) 2010 Free Software Foundation, Inc.
4502This config.status script is free software; the Free Software Foundation
4503gives unlimited permission to copy, distribute and modify it."
4504
4505ac_pwd='$ac_pwd'
4506srcdir='$srcdir'
4507INSTALL='$INSTALL'
4508MKDIR_P='$MKDIR_P'
4509AWK='$AWK'
4510test -n "\$AWK" || AWK=awk
4511_ACEOF
4512
4513cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4514# The default lists apply if the user does not specify any file.
4515ac_need_defaults=:
4516while test $# != 0
4517do
4518 case $1 in
4519 --*=?*)
4520 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4521 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4522 ac_shift=:
4523 ;;
4524 --*=)
4525 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4526 ac_optarg=
4527 ac_shift=:
4528 ;;
4529 *)
4530 ac_option=$1
4531 ac_optarg=$2
4532 ac_shift=shift
4533 ;;
4534 esac
4535
4536 case $ac_option in
4537 # Handling of the options.
4538 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4539 ac_cs_recheck=: ;;
4540 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4541 $as_echo "$ac_cs_version"; exit ;;
4542 --config | --confi | --conf | --con | --co | --c )
4543 $as_echo "$ac_cs_config"; exit ;;
4544 --debug | --debu | --deb | --de | --d | -d )
4545 debug=: ;;
4546 --file | --fil | --fi | --f )
4547 $ac_shift
4548 case $ac_optarg in
4549 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4550 '') as_fn_error $? "missing file argument" ;;
4551 esac
4552 as_fn_append CONFIG_FILES " '$ac_optarg'"
4553 ac_need_defaults=false;;
4554 --he | --h | --help | --hel | -h )
4555 $as_echo "$ac_cs_usage"; exit ;;
4556 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4557 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4558 ac_cs_silent=: ;;
4559
4560 # This is an error.
4561 -*) as_fn_error $? "unrecognized option: \`$1'
4562Try \`$0 --help' for more information." ;;
4563
4564 *) as_fn_append ac_config_targets " $1"
4565 ac_need_defaults=false ;;
4566
4567 esac
4568 shift
4569done
4570
4571ac_configure_extra_args=
4572
4573if $ac_cs_silent; then
4574 exec 6>/dev/null
4575 ac_configure_extra_args="$ac_configure_extra_args --silent"
4576fi
4577
4578_ACEOF
4579cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4580if \$ac_cs_recheck; then
4581 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4582 shift
4583 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4584 CONFIG_SHELL='$SHELL'
4585 export CONFIG_SHELL
4586 exec "\$@"
4587fi
4588
4589_ACEOF
4590cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4591exec 5>>config.log
4592{
4593 echo
4594 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4595## Running $as_me. ##
4596_ASBOX
4597 $as_echo "$ac_log"
4598} >&5
4599
4600_ACEOF
4601cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4602#
4603# INIT-COMMANDS
4604#
4605AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4606
4607_ACEOF
4608
4609cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4610
4611# Handling of arguments.
4612for ac_config_target in $ac_config_targets
4613do
4614 case $ac_config_target in
4615 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4616 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4617
4618 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4619 esac
4620done
4621
4622
4623# If the user did not use the arguments to specify the items to instantiate,
4624# then the envvar interface is used. Set only those that are not.
4625# We use the long form for the default assignment because of an extremely
4626# bizarre bug on SunOS 4.1.3.
4627if $ac_need_defaults; then
4628 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4629 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4630fi
4631
4632# Have a temporary directory for convenience. Make it in the build tree
4633# simply because there is no reason against having it here, and in addition,
4634# creating and moving files from /tmp can sometimes cause problems.
4635# Hook for its removal unless debugging.
4636# Note that there is a small window in which the directory will not be cleaned:
4637# after its creation but before its name has been assigned to `$tmp'.
4638$debug ||
4639{
4640 tmp= ac_tmp=
4641 trap 'exit_status=$?
4642 : "${ac_tmp:=$tmp}"
4643 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4644' 0
4645 trap 'as_fn_exit 1' 1 2 13 15
4646}
4647# Create a (secure) tmp directory for tmp files.
4648
4649{
4650 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4651 test -d "$tmp"
4652} ||
4653{
4654 tmp=./conf$$-$RANDOM
4655 (umask 077 && mkdir "$tmp")
4656} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4657ac_tmp=$tmp
4658
4659# Set up the scripts for CONFIG_FILES section.
4660# No need to generate them if there are no CONFIG_FILES.
4661# This happens for instance with `./config.status config.h'.
4662if test -n "$CONFIG_FILES"; then
4663
4664
4665ac_cr=`echo X | tr X '\015'`
4666# On cygwin, bash can eat \r inside `` if the user requested igncr.
4667# But we know of no other shell where ac_cr would be empty at this
4668# point, so we can use a bashism as a fallback.
4669if test "x$ac_cr" = x; then
4670 eval ac_cr=\$\'\\r\'
4671fi
4672ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4673if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4674 ac_cs_awk_cr='\\r'
4675else
4676 ac_cs_awk_cr=$ac_cr
4677fi
4678
4679echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4680_ACEOF
4681
4682
4683{
4684 echo "cat >conf$$subs.awk <<_ACEOF" &&
4685 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4686 echo "_ACEOF"
4687} >conf$$subs.sh ||
4688 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4689ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4690ac_delim='%!_!# '
4691for ac_last_try in false false false false false :; do
4692 . ./conf$$subs.sh ||
4693 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4694
4695 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4696 if test $ac_delim_n = $ac_delim_num; then
4697 break
4698 elif $ac_last_try; then
4699 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4700 else
4701 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4702 fi
4703done
4704rm -f conf$$subs.sh
4705
4706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4707cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4708_ACEOF
4709sed -n '
4710h
4711s/^/S["/; s/!.*/"]=/
4712p
4713g
4714s/^[^!]*!//
4715:repl
4716t repl
4717s/'"$ac_delim"'$//
4718t delim
4719:nl
4720h
4721s/\(.\{148\}\)..*/\1/
4722t more1
4723s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4724p
4725n
4726b repl
4727:more1
4728s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4729p
4730g
4731s/.\{148\}//
4732t nl
4733:delim
4734h
4735s/\(.\{148\}\)..*/\1/
4736t more2
4737s/["\\]/\\&/g; s/^/"/; s/$/"/
4738p
4739b
4740:more2
4741s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4742p
4743g
4744s/.\{148\}//
4745t delim
4746' <conf$$subs.awk | sed '
4747/^[^""]/{
4748 N
4749 s/\n//
4750}
4751' >>$CONFIG_STATUS || ac_write_fail=1
4752rm -f conf$$subs.awk
4753cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4754_ACAWK
4755cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4756 for (key in S) S_is_set[key] = 1
4757 FS = ""
4758
4759}
4760{
4761 line = $ 0
4762 nfields = split(line, field, "@")
4763 substed = 0
4764 len = length(field[1])
4765 for (i = 2; i < nfields; i++) {
4766 key = field[i]
4767 keylen = length(key)
4768 if (S_is_set[key]) {
4769 value = S[key]
4770 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4771 len += length(value) + length(field[++i])
4772 substed = 1
4773 } else
4774 len += 1 + keylen
4775 }
4776
4777 print line
4778}
4779
4780_ACAWK
4781_ACEOF
4782cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4783if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4784 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4785else
4786 cat
4787fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4788 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4789_ACEOF
4790
4791# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4792# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4793# trailing colons and then remove the whole line if VPATH becomes empty
4794# (actually we leave an empty line to preserve line numbers).
4795if test "x$srcdir" = x.; then
4796 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4797h
4798s///
4799s/^/:/
4800s/[ ]*$/:/
4801s/:\$(srcdir):/:/g
4802s/:\${srcdir}:/:/g
4803s/:@srcdir@:/:/g
4804s/^:*//
4805s/:*$//
4806x
4807s/\(=[ ]*\).*/\1/
4808G
4809s/\n//
4810s/^[^=]*=[ ]*$//
4811}'
4812fi
4813
4814cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4815fi # test -n "$CONFIG_FILES"
4816
4817
4818eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4819shift
4820for ac_tag
4821do
4822 case $ac_tag in
4823 :[FHLC]) ac_mode=$ac_tag; continue;;
4824 esac
4825 case $ac_mode$ac_tag in
4826 :[FHL]*:*);;
4827 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4828 :[FH]-) ac_tag=-:-;;
4829 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4830 esac
4831 ac_save_IFS=$IFS
4832 IFS=:
4833 set x $ac_tag
4834 IFS=$ac_save_IFS
4835 shift
4836 ac_file=$1
4837 shift
4838
4839 case $ac_mode in
4840 :L) ac_source=$1;;
4841 :[FH])
4842 ac_file_inputs=
4843 for ac_f
4844 do
4845 case $ac_f in
4846 -) ac_f="$ac_tmp/stdin";;
4847 *) # Look for the file first in the build tree, then in the source tree
4848 # (if the path is not absolute). The absolute path cannot be DOS-style,
4849 # because $ac_f cannot contain `:'.
4850 test -f "$ac_f" ||
4851 case $ac_f in
4852 [\\/$]*) false;;
4853 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4854 esac ||
4855 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4856 esac
4857 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4858 as_fn_append ac_file_inputs " '$ac_f'"
4859 done
4860
4861 # Let's still pretend it is `configure' which instantiates (i.e., don't
4862 # use $as_me), people would be surprised to read:
4863 # /* config.h. Generated by config.status. */
4864 configure_input='Generated from '`
4865 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4866 `' by configure.'
4867 if test x"$ac_file" != x-; then
4868 configure_input="$ac_file. $configure_input"
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4870$as_echo "$as_me: creating $ac_file" >&6;}
4871 fi
4872 # Neutralize special characters interpreted by sed in replacement strings.
4873 case $configure_input in #(
4874 *\&* | *\|* | *\\* )
4875 ac_sed_conf_input=`$as_echo "$configure_input" |
4876 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4877 *) ac_sed_conf_input=$configure_input;;
4878 esac
4879
4880 case $ac_tag in
4881 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4883 esac
4884 ;;
4885 esac
4886
4887 ac_dir=`$as_dirname -- "$ac_file" ||
4888$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4889 X"$ac_file" : 'X\(//\)[^/]' \| \
4890 X"$ac_file" : 'X\(//\)$' \| \
4891 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4892$as_echo X"$ac_file" |
4893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4894 s//\1/
4895 q
4896 }
4897 /^X\(\/\/\)[^/].*/{
4898 s//\1/
4899 q
4900 }
4901 /^X\(\/\/\)$/{
4902 s//\1/
4903 q
4904 }
4905 /^X\(\/\).*/{
4906 s//\1/
4907 q
4908 }
4909 s/.*/./; q'`
4910 as_dir="$ac_dir"; as_fn_mkdir_p
4911 ac_builddir=.
4912
4913case "$ac_dir" in
4914.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4915*)
4916 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4917 # A ".." for each directory in $ac_dir_suffix.
4918 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4919 case $ac_top_builddir_sub in
4920 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4921 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4922 esac ;;
4923esac
4924ac_abs_top_builddir=$ac_pwd
4925ac_abs_builddir=$ac_pwd$ac_dir_suffix
4926# for backward compatibility:
4927ac_top_builddir=$ac_top_build_prefix
4928
4929case $srcdir in
4930 .) # We are building in place.
4931 ac_srcdir=.
4932 ac_top_srcdir=$ac_top_builddir_sub
4933 ac_abs_top_srcdir=$ac_pwd ;;
4934 [\\/]* | ?:[\\/]* ) # Absolute name.
4935 ac_srcdir=$srcdir$ac_dir_suffix;
4936 ac_top_srcdir=$srcdir
4937 ac_abs_top_srcdir=$srcdir ;;
4938 *) # Relative name.
4939 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4940 ac_top_srcdir=$ac_top_build_prefix$srcdir
4941 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4942esac
4943ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4944
4945
4946 case $ac_mode in
4947 :F)
4948 #
4949 # CONFIG_FILE
4950 #
4951
4952 case $INSTALL in
4953 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4954 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4955 esac
4956 ac_MKDIR_P=$MKDIR_P
4957 case $MKDIR_P in
4958 [\\/$]* | ?:[\\/]* ) ;;
4959 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4960 esac
4961_ACEOF
4962
4963cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4964# If the template does not know about datarootdir, expand it.
4965# FIXME: This hack should be removed a few years after 2.60.
4966ac_datarootdir_hack=; ac_datarootdir_seen=
4967ac_sed_dataroot='
4968/datarootdir/ {
4969 p
4970 q
4971}
4972/@datadir@/p
4973/@docdir@/p
4974/@infodir@/p
4975/@localedir@/p
4976/@mandir@/p'
4977case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4978*datarootdir*) ac_datarootdir_seen=yes;;
4979*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4981$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4982_ACEOF
4983cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4984 ac_datarootdir_hack='
4985 s&@datadir@&$datadir&g
4986 s&@docdir@&$docdir&g
4987 s&@infodir@&$infodir&g
4988 s&@localedir@&$localedir&g
4989 s&@mandir@&$mandir&g
4990 s&\\\${datarootdir}&$datarootdir&g' ;;
4991esac
4992_ACEOF
4993
4994# Neutralize VPATH when `$srcdir' = `.'.
4995# Shell code in configure.ac might set extrasub.
4996# FIXME: do we really want to maintain this feature?
4997cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4998ac_sed_extra="$ac_vpsub
4999$extrasub
5000_ACEOF
5001cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5002:t
5003/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5004s|@configure_input@|$ac_sed_conf_input|;t t
5005s&@top_builddir@&$ac_top_builddir_sub&;t t
5006s&@top_build_prefix@&$ac_top_build_prefix&;t t
5007s&@srcdir@&$ac_srcdir&;t t
5008s&@abs_srcdir@&$ac_abs_srcdir&;t t
5009s&@top_srcdir@&$ac_top_srcdir&;t t
5010s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5011s&@builddir@&$ac_builddir&;t t
5012s&@abs_builddir@&$ac_abs_builddir&;t t
5013s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5014s&@INSTALL@&$ac_INSTALL&;t t
5015s&@MKDIR_P@&$ac_MKDIR_P&;t t
5016$ac_datarootdir_hack
5017"
5018eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5019 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5020
5021test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5022 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5023 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5024 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5026which seems to be undefined. Please make sure it is defined" >&5
5027$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5028which seems to be undefined. Please make sure it is defined" >&2;}
5029
5030 rm -f "$ac_tmp/stdin"
5031 case $ac_file in
5032 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5033 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5034 esac \
5035 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5036 ;;
5037
5038
5039 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5040$as_echo "$as_me: executing $ac_file commands" >&6;}
5041 ;;
5042 esac
5043
5044
5045 case $ac_file$ac_mode in
5046 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5047 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5048 # are listed without --file. Let's play safe and only enable the eval
5049 # if we detect the quoting.
5050 case $CONFIG_FILES in
5051 *\'*) eval set x "$CONFIG_FILES" ;;
5052 *) set x $CONFIG_FILES ;;
5053 esac
5054 shift
5055 for mf
5056 do
5057 # Strip MF so we end up with the name of the file.
5058 mf=`echo "$mf" | sed -e 's/:.*$//'`
5059 # Check whether this is an Automake generated Makefile or not.
5060 # We used to match only the files named `Makefile.in', but
5061 # some people rename them; so instead we look at the file content.
5062 # Grep'ing the first line is not enough: some people post-process
5063 # each Makefile.in and add a new line on top of each file to say so.
5064 # Grep'ing the whole file is not good either: AIX grep has a line
5065 # limit of 2048, but all sed's we know have understand at least 4000.
5066 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5067 dirpart=`$as_dirname -- "$mf" ||
5068$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5069 X"$mf" : 'X\(//\)[^/]' \| \
5070 X"$mf" : 'X\(//\)$' \| \
5071 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5072$as_echo X"$mf" |
5073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5074 s//\1/
5075 q
5076 }
5077 /^X\(\/\/\)[^/].*/{
5078 s//\1/
5079 q
5080 }
5081 /^X\(\/\/\)$/{
5082 s//\1/
5083 q
5084 }
5085 /^X\(\/\).*/{
5086 s//\1/
5087 q
5088 }
5089 s/.*/./; q'`
5090 else
5091 continue
5092 fi
5093 # Extract the definition of DEPDIR, am__include, and am__quote
5094 # from the Makefile without running `make'.
5095 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5096 test -z "$DEPDIR" && continue
5097 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5098 test -z "am__include" && continue
5099 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5100 # When using ansi2knr, U may be empty or an underscore; expand it
5101 U=`sed -n 's/^U = //p' < "$mf"`
5102 # Find all dependency output files, they are included files with
5103 # $(DEPDIR) in their names. We invoke sed twice because it is the
5104 # simplest approach to changing $(DEPDIR) to its actual value in the
5105 # expansion.
5106 for file in `sed -n "
5107 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5108 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5109 # Make sure the directory exists.
5110 test -f "$dirpart/$file" && continue
5111 fdir=`$as_dirname -- "$file" ||
5112$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5113 X"$file" : 'X\(//\)[^/]' \| \
5114 X"$file" : 'X\(//\)$' \| \
5115 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5116$as_echo X"$file" |
5117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5118 s//\1/
5119 q
5120 }
5121 /^X\(\/\/\)[^/].*/{
5122 s//\1/
5123 q
5124 }
5125 /^X\(\/\/\)$/{
5126 s//\1/
5127 q
5128 }
5129 /^X\(\/\).*/{
5130 s//\1/
5131 q
5132 }
5133 s/.*/./; q'`
5134 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5135 # echo "creating $dirpart/$file"
5136 echo '# dummy' > "$dirpart/$file"
5137 done
5138 done
5139}
5140 ;;
5141
5142 esac
5143done # for ac_tag
5144
5145
5146as_fn_exit 0
5147_ACEOF
5148ac_clean_files=$ac_clean_files_save
5149
5150test $ac_write_fail = 0 ||
5151 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5152
5153
5154# configure is writing to config.log, and then calls config.status.
5155# config.status does its own redirection, appending to config.log.
5156# Unfortunately, on DOS this fails, as config.log is still kept open
5157# by configure, so config.status won't be able to write to it; its
5158# output is simply discarded. So we exec the FD to /dev/null,
5159# effectively closing config.log, so it can be properly (re)opened and
5160# appended to by config.status. When coming back to configure, we
5161# need to make the FD available again.
5162if test "$no_create" != yes; then
5163 ac_cs_success=:
5164 ac_config_status_args=
5165 test "$silent" = yes &&
5166 ac_config_status_args="$ac_config_status_args --quiet"
5167 exec 5>/dev/null
5168 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5169 exec 5>>config.log
5170 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5171 # would make configure fail if this is the last instruction.
5172 $ac_cs_success || as_fn_exit 1
5173fi
5174if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5176$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5177fi
Note: See TracBrowser for help on using the repository browser.