source: gs2-extensions/parallel-building/trunk/src/src/mpidspacemediafilter-src/configure@ 30300

Last change on this file since 30300 was 30300, checked in by jmt12, 9 years ago

Bunch of changes (including whitespace safety ones) due to different version of autoconf

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