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
|
---|
18 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
19 | if 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
|
---|
26 | else
|
---|
27 | case `(set -o) 2>/dev/null` in #(
|
---|
28 | *posix*) :
|
---|
29 | set -o posix ;; #(
|
---|
30 | *) :
|
---|
31 | ;;
|
---|
32 | esac
|
---|
33 | fi
|
---|
34 |
|
---|
35 |
|
---|
36 | as_nl='
|
---|
37 | '
|
---|
38 | export as_nl
|
---|
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
42 | as_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.
|
---|
45 | if 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 --'
|
---|
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
50 | as_echo='printf %s\n'
|
---|
51 | as_echo_n='printf %s'
|
---|
52 | else
|
---|
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
55 | as_echo_n='/usr/ucb/echo -n'
|
---|
56 | else
|
---|
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
58 | as_echo_n_body='eval
|
---|
59 | arg=$1;
|
---|
60 | case $arg in #(
|
---|
61 | *"$as_nl"*)
|
---|
62 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
64 | esac;
|
---|
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
66 | '
|
---|
67 | export as_echo_n_body
|
---|
68 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
69 | fi
|
---|
70 | export as_echo_body
|
---|
71 | as_echo='sh -c $as_echo_body as_echo'
|
---|
72 | fi
|
---|
73 |
|
---|
74 | # The user is always right.
|
---|
75 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
76 | PATH_SEPARATOR=:
|
---|
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
79 | PATH_SEPARATOR=';'
|
---|
80 | }
|
---|
81 | fi
|
---|
82 |
|
---|
83 |
|
---|
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.)
|
---|
89 | IFS=" "" $as_nl"
|
---|
90 |
|
---|
91 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
92 | as_myself=
|
---|
93 | case $0 in #((
|
---|
94 | *[\\/]* ) as_myself=$0 ;;
|
---|
95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
96 | for as_dir in $PATH
|
---|
97 | do
|
---|
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
|
---|
102 | IFS=$as_save_IFS
|
---|
103 |
|
---|
104 | ;;
|
---|
105 | esac
|
---|
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.
|
---|
108 | if test "x$as_myself" = x; then
|
---|
109 | as_myself=$0
|
---|
110 | fi
|
---|
111 | if test ! -f "$as_myself"; then
|
---|
112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
113 | exit 1
|
---|
114 | fi
|
---|
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.
|
---|
120 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
121 | do eval test x\${$as_var+set} = xset \
|
---|
122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
123 | done
|
---|
124 | PS1='$ '
|
---|
125 | PS2='> '
|
---|
126 | PS4='+ '
|
---|
127 |
|
---|
128 | # NLS nuisances.
|
---|
129 | LC_ALL=C
|
---|
130 | export LC_ALL
|
---|
131 | LANGUAGE=C
|
---|
132 | export 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.
|
---|
145 | BASH_ENV=/dev/null
|
---|
146 | ENV=/dev/null
|
---|
147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
148 | case $- in # ((((
|
---|
149 | *v*x* | *x*v* ) as_opts=-vx ;;
|
---|
150 | *v* ) as_opts=-v ;;
|
---|
151 | *x* ) as_opts=-x ;;
|
---|
152 | * ) as_opts= ;;
|
---|
153 | esac
|
---|
154 | exec $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
|
---|
158 | as_fn_exit 255
|
---|
159 | fi
|
---|
160 | # We don't want this to propagate to other subprocesses.
|
---|
161 | { _as_can_reexec=; unset _as_can_reexec;}
|
---|
162 | if 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
|
---|
170 | else
|
---|
171 | case \`(set -o) 2>/dev/null\` in #(
|
---|
172 | *posix*) :
|
---|
173 | set -o posix ;; #(
|
---|
174 | *) :
|
---|
175 | ;;
|
---|
176 | esac
|
---|
177 | fi
|
---|
178 | "
|
---|
179 | as_required="as_fn_return () { (exit \$1); }
|
---|
180 | as_fn_success () { as_fn_return 0; }
|
---|
181 | as_fn_failure () { as_fn_return 1; }
|
---|
182 | as_fn_ret_success () { return 0; }
|
---|
183 | as_fn_ret_failure () { return 1; }
|
---|
184 |
|
---|
185 | exitcode=0
|
---|
186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
---|
187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
---|
188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
---|
189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
---|
190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
---|
191 |
|
---|
192 | else
|
---|
193 | exitcode=1; echo positional parameters were not saved.
|
---|
194 | fi
|
---|
195 | test x\$exitcode = x0 || exit 1
|
---|
196 | test -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
|
---|
203 | else
|
---|
204 | as_have_required=no
|
---|
205 | fi
|
---|
206 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
---|
207 |
|
---|
208 | else
|
---|
209 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
210 | as_found=false
|
---|
211 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
212 | do
|
---|
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
|
---|
226 | fi
|
---|
227 | fi
|
---|
228 | done;;
|
---|
229 | esac
|
---|
230 | as_found=false
|
---|
231 | done
|
---|
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
|
---|
235 | fi; }
|
---|
236 | IFS=$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.
|
---|
245 | BASH_ENV=/dev/null
|
---|
246 | ENV=/dev/null
|
---|
247 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
248 | case $- in # ((((
|
---|
249 | *v*x* | *x*v* ) as_opts=-vx ;;
|
---|
250 | *v* ) as_opts=-v ;;
|
---|
251 | *x* ) as_opts=-x ;;
|
---|
252 | * ) as_opts= ;;
|
---|
253 | esac
|
---|
254 | exec $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
|
---|
258 | exit 255
|
---|
259 | fi
|
---|
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
|
---|
275 | fi
|
---|
276 | fi
|
---|
277 | fi
|
---|
278 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
279 | export SHELL
|
---|
280 | # Unset more variables known to interfere with behavior of common tools.
|
---|
281 | CLICOLOR_FORCE= GREP_OPTIONS=
|
---|
282 | unset CLICOLOR_FORCE GREP_OPTIONS
|
---|
283 |
|
---|
284 | ## --------------------- ##
|
---|
285 | ## M4sh Shell Functions. ##
|
---|
286 | ## --------------------- ##
|
---|
287 | # as_fn_unset VAR
|
---|
288 | # ---------------
|
---|
289 | # Portably unset VAR.
|
---|
290 | as_fn_unset ()
|
---|
291 | {
|
---|
292 | { eval $1=; unset $1;}
|
---|
293 | }
|
---|
294 | as_unset=as_fn_unset
|
---|
295 |
|
---|
296 | # as_fn_set_status STATUS
|
---|
297 | # -----------------------
|
---|
298 | # Set $? to STATUS, without forking.
|
---|
299 | as_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.
|
---|
307 | as_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.
|
---|
317 | as_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.
|
---|
365 | as_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.
|
---|
375 | if (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 | }'
|
---|
380 | else
|
---|
381 | as_fn_append ()
|
---|
382 | {
|
---|
383 | eval $1=\$$1\$2
|
---|
384 | }
|
---|
385 | fi # 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.
|
---|
392 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
393 | eval 'as_fn_arith ()
|
---|
394 | {
|
---|
395 | as_val=$(( $* ))
|
---|
396 | }'
|
---|
397 | else
|
---|
398 | as_fn_arith ()
|
---|
399 | {
|
---|
400 | as_val=`expr "$@" || test $? -eq 1`
|
---|
401 | }
|
---|
402 | fi # 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.
|
---|
410 | as_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 |
|
---|
421 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
422 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
423 | as_expr=expr
|
---|
424 | else
|
---|
425 | as_expr=false
|
---|
426 | fi
|
---|
427 |
|
---|
428 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
429 | as_basename=basename
|
---|
430 | else
|
---|
431 | as_basename=false
|
---|
432 | fi
|
---|
433 |
|
---|
434 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
435 | as_dirname=dirname
|
---|
436 | else
|
---|
437 | as_dirname=false
|
---|
438 | fi
|
---|
439 |
|
---|
440 | as_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.
|
---|
460 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
461 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
462 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
463 | as_cr_digits='0123456789'
|
---|
464 | as_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 |
|
---|
502 | ECHO_C= ECHO_N= ECHO_T=
|
---|
503 | case `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';;
|
---|
513 | esac
|
---|
514 |
|
---|
515 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
516 | if test -d conf$$.dir; then
|
---|
517 | rm -f conf$$.dir/conf$$.file
|
---|
518 | else
|
---|
519 | rm -f conf$$.dir
|
---|
520 | mkdir conf$$.dir 2>/dev/null
|
---|
521 | fi
|
---|
522 | if (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
|
---|
536 | else
|
---|
537 | as_ln_s='cp -pR'
|
---|
538 | fi
|
---|
539 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
540 | rmdir conf$$.dir 2>/dev/null
|
---|
541 |
|
---|
542 | if mkdir -p . 2>/dev/null; then
|
---|
543 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
544 | else
|
---|
545 | test -d ./-p && rmdir ./-p
|
---|
546 | as_mkdir_p=false
|
---|
547 | fi
|
---|
548 |
|
---|
549 | as_test_x='test -x'
|
---|
550 | as_executable_p=as_fn_executable_p
|
---|
551 |
|
---|
552 | # Sed expression to map a string onto a valid CPP name.
|
---|
553 | as_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.
|
---|
556 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
557 |
|
---|
558 |
|
---|
559 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
---|
560 | exec 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.
|
---|
565 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
566 |
|
---|
567 | #
|
---|
568 | # Initializations.
|
---|
569 | #
|
---|
570 | ac_default_prefix=/usr/local
|
---|
571 | ac_clean_files=
|
---|
572 | ac_config_libobj_dir=.
|
---|
573 | LIBOBJS=
|
---|
574 | cross_compiling=no
|
---|
575 | subdirs=
|
---|
576 | MFLAGS=
|
---|
577 | MAKEFLAGS=
|
---|
578 |
|
---|
579 | # Identity of this package.
|
---|
580 | PACKAGE_NAME='mpidspacemediafilter'
|
---|
581 | PACKAGE_TARNAME='mpidspacemediafilter'
|
---|
582 | PACKAGE_VERSION='1.0'
|
---|
583 | PACKAGE_STRING='mpidspacemediafilter 1.0'
|
---|
584 | PACKAGE_BUGREPORT='[email protected]'
|
---|
585 | PACKAGE_URL=''
|
---|
586 |
|
---|
587 | ac_subst_vars='am__EXEEXT_FALSE
|
---|
588 | am__EXEEXT_TRUE
|
---|
589 | LTLIBOBJS
|
---|
590 | LIBOBJS
|
---|
591 | am__fastdepCC_FALSE
|
---|
592 | am__fastdepCC_TRUE
|
---|
593 | CCDEPMODE
|
---|
594 | ac_ct_CC
|
---|
595 | CFLAGS
|
---|
596 | CC
|
---|
597 | am__fastdepCXX_FALSE
|
---|
598 | am__fastdepCXX_TRUE
|
---|
599 | CXXDEPMODE
|
---|
600 | am__nodep
|
---|
601 | AMDEPBACKSLASH
|
---|
602 | AMDEP_FALSE
|
---|
603 | AMDEP_TRUE
|
---|
604 | am__quote
|
---|
605 | am__include
|
---|
606 | DEPDIR
|
---|
607 | OBJEXT
|
---|
608 | EXEEXT
|
---|
609 | ac_ct_CXX
|
---|
610 | CPPFLAGS
|
---|
611 | LDFLAGS
|
---|
612 | CXXFLAGS
|
---|
613 | CXX
|
---|
614 | host_os
|
---|
615 | host_vendor
|
---|
616 | host_cpu
|
---|
617 | host
|
---|
618 | build_os
|
---|
619 | build_vendor
|
---|
620 | build_cpu
|
---|
621 | build
|
---|
622 | am__untar
|
---|
623 | am__tar
|
---|
624 | AMTAR
|
---|
625 | am__leading_dot
|
---|
626 | SET_MAKE
|
---|
627 | AWK
|
---|
628 | mkdir_p
|
---|
629 | MKDIR_P
|
---|
630 | INSTALL_STRIP_PROGRAM
|
---|
631 | STRIP
|
---|
632 | install_sh
|
---|
633 | MAKEINFO
|
---|
634 | AUTOHEADER
|
---|
635 | AUTOMAKE
|
---|
636 | AUTOCONF
|
---|
637 | ACLOCAL
|
---|
638 | VERSION
|
---|
639 | PACKAGE
|
---|
640 | CYGPATH_W
|
---|
641 | am__isrc
|
---|
642 | INSTALL_DATA
|
---|
643 | INSTALL_SCRIPT
|
---|
644 | INSTALL_PROGRAM
|
---|
645 | target_alias
|
---|
646 | host_alias
|
---|
647 | build_alias
|
---|
648 | LIBS
|
---|
649 | ECHO_T
|
---|
650 | ECHO_N
|
---|
651 | ECHO_C
|
---|
652 | DEFS
|
---|
653 | mandir
|
---|
654 | localedir
|
---|
655 | libdir
|
---|
656 | psdir
|
---|
657 | pdfdir
|
---|
658 | dvidir
|
---|
659 | htmldir
|
---|
660 | infodir
|
---|
661 | docdir
|
---|
662 | oldincludedir
|
---|
663 | includedir
|
---|
664 | localstatedir
|
---|
665 | sharedstatedir
|
---|
666 | sysconfdir
|
---|
667 | datadir
|
---|
668 | datarootdir
|
---|
669 | libexecdir
|
---|
670 | sbindir
|
---|
671 | bindir
|
---|
672 | program_transform_name
|
---|
673 | prefix
|
---|
674 | exec_prefix
|
---|
675 | PACKAGE_URL
|
---|
676 | PACKAGE_BUGREPORT
|
---|
677 | PACKAGE_STRING
|
---|
678 | PACKAGE_VERSION
|
---|
679 | PACKAGE_TARNAME
|
---|
680 | PACKAGE_NAME
|
---|
681 | PATH_SEPARATOR
|
---|
682 | SHELL'
|
---|
683 | ac_subst_files=''
|
---|
684 | ac_user_opts='
|
---|
685 | enable_option_checking
|
---|
686 | enable_dependency_tracking
|
---|
687 | '
|
---|
688 | ac_precious_vars='build_alias
|
---|
689 | host_alias
|
---|
690 | target_alias
|
---|
691 | CXX
|
---|
692 | CXXFLAGS
|
---|
693 | LDFLAGS
|
---|
694 | LIBS
|
---|
695 | CPPFLAGS
|
---|
696 | CCC
|
---|
697 | CC
|
---|
698 | CFLAGS'
|
---|
699 |
|
---|
700 |
|
---|
701 | # Initialize some variables set by options.
|
---|
702 | ac_init_help=
|
---|
703 | ac_init_version=false
|
---|
704 | ac_unrecognized_opts=
|
---|
705 | ac_unrecognized_sep=
|
---|
706 | # The variables have the same names as the options, with
|
---|
707 | # dashes changed to underlines.
|
---|
708 | cache_file=/dev/null
|
---|
709 | exec_prefix=NONE
|
---|
710 | no_create=
|
---|
711 | no_recursion=
|
---|
712 | prefix=NONE
|
---|
713 | program_prefix=NONE
|
---|
714 | program_suffix=NONE
|
---|
715 | program_transform_name=s,x,x,
|
---|
716 | silent=
|
---|
717 | site=
|
---|
718 | srcdir=
|
---|
719 | verbose=
|
---|
720 | x_includes=NONE
|
---|
721 | x_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.)
|
---|
729 | bindir='${exec_prefix}/bin'
|
---|
730 | sbindir='${exec_prefix}/sbin'
|
---|
731 | libexecdir='${exec_prefix}/libexec'
|
---|
732 | datarootdir='${prefix}/share'
|
---|
733 | datadir='${datarootdir}'
|
---|
734 | sysconfdir='${prefix}/etc'
|
---|
735 | sharedstatedir='${prefix}/com'
|
---|
736 | localstatedir='${prefix}/var'
|
---|
737 | includedir='${prefix}/include'
|
---|
738 | oldincludedir='/usr/include'
|
---|
739 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
---|
740 | infodir='${datarootdir}/info'
|
---|
741 | htmldir='${docdir}'
|
---|
742 | dvidir='${docdir}'
|
---|
743 | pdfdir='${docdir}'
|
---|
744 | psdir='${docdir}'
|
---|
745 | libdir='${exec_prefix}/lib'
|
---|
746 | localedir='${datarootdir}/locale'
|
---|
747 | mandir='${datarootdir}/man'
|
---|
748 |
|
---|
749 | ac_prev=
|
---|
750 | ac_dashdash=
|
---|
751 | for ac_option
|
---|
752 | do
|
---|
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'
|
---|
1085 | Try \`$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
|
---|
1107 | done
|
---|
1108 |
|
---|
1109 | if test -n "$ac_prev"; then
|
---|
1110 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
1111 | as_fn_error $? "missing argument to $ac_option"
|
---|
1112 | fi
|
---|
1113 |
|
---|
1114 | if 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
|
---|
1120 | fi
|
---|
1121 |
|
---|
1122 | # Check all directory arguments for consistency.
|
---|
1123 | for 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
|
---|
1127 | do
|
---|
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"
|
---|
1141 | done
|
---|
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.
|
---|
1146 | build=$build_alias
|
---|
1147 | host=$host_alias
|
---|
1148 | target=$target_alias
|
---|
1149 |
|
---|
1150 | # FIXME: To remove some day.
|
---|
1151 | if 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
|
---|
1157 | fi
|
---|
1158 |
|
---|
1159 | ac_tool_prefix=
|
---|
1160 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
1161 |
|
---|
1162 | test "$silent" = yes && exec 6>/dev/null
|
---|
1163 |
|
---|
1164 |
|
---|
1165 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
1166 | ac_ls_di=`ls -di .` &&
|
---|
1167 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
1168 | as_fn_error $? "working directory cannot be determined"
|
---|
1169 | test "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.
|
---|
1174 | if 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
|
---|
1204 | else
|
---|
1205 | ac_srcdir_defaulted=no
|
---|
1206 | fi
|
---|
1207 | if 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"
|
---|
1210 | fi
|
---|
1211 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
1212 | ac_abs_confdir=`(
|
---|
1213 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
1214 | pwd)`
|
---|
1215 | # When building in place, set srcdir=.
|
---|
1216 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
1217 | srcdir=.
|
---|
1218 | fi
|
---|
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.
|
---|
1222 | case $srcdir in
|
---|
1223 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
1224 | esac
|
---|
1225 | for 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}
|
---|
1230 | done
|
---|
1231 |
|
---|
1232 | #
|
---|
1233 | # Report the --help message.
|
---|
1234 | #
|
---|
1235 | if 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 |
|
---|
1241 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
1242 |
|
---|
1243 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
1244 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
1245 |
|
---|
1246 | Defaults for the options are specified in brackets.
|
---|
1247 |
|
---|
1248 | Configuration:
|
---|
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 |
|
---|
1259 | Installation 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 |
|
---|
1265 | By default, \`make install' will install all the files in
|
---|
1266 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
1267 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
1268 | for instance \`--prefix=\$HOME'.
|
---|
1269 |
|
---|
1270 | For better control, use the options below.
|
---|
1271 |
|
---|
1272 | Fine 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 |
|
---|
1297 | Program 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 |
|
---|
1302 | System 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
|
---|
1306 | fi
|
---|
1307 |
|
---|
1308 | if 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 |
|
---|
1314 | Optional 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 |
|
---|
1321 | Some 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 |
|
---|
1332 | Use these variables to override the choices made by `configure' or to help
|
---|
1333 | it to find libraries and programs with nonstandard names/locations.
|
---|
1334 |
|
---|
1335 | Report bugs to <[email protected]>.
|
---|
1336 | _ACEOF
|
---|
1337 | ac_status=$?
|
---|
1338 | fi
|
---|
1339 |
|
---|
1340 | if 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 |
|
---|
1348 | case "$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 ;;
|
---|
1358 | esac
|
---|
1359 | ac_abs_top_builddir=$ac_pwd
|
---|
1360 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
1361 | # for backward compatibility:
|
---|
1362 | ac_top_builddir=$ac_top_build_prefix
|
---|
1363 |
|
---|
1364 | case $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 ;;
|
---|
1377 | esac
|
---|
1378 | ac_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
|
---|
1393 | fi
|
---|
1394 |
|
---|
1395 | test -n "$ac_init_help" && exit $ac_status
|
---|
1396 | if $ac_init_version; then
|
---|
1397 | cat <<\_ACEOF
|
---|
1398 | mpidspacemediafilter configure 1.0
|
---|
1399 | generated by GNU Autoconf 2.69
|
---|
1400 |
|
---|
1401 | Copyright (C) 2012 Free Software Foundation, Inc.
|
---|
1402 | This configure script is free software; the Free Software Foundation
|
---|
1403 | gives unlimited permission to copy, distribute and modify it.
|
---|
1404 | _ACEOF
|
---|
1405 | exit
|
---|
1406 | fi
|
---|
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.
|
---|
1415 | ac_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"
|
---|
1420 | case "(($ac_try" in
|
---|
1421 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1422 | *) ac_try_echo=$ac_try;;
|
---|
1423 | esac
|
---|
1424 | eval 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
|
---|
1439 | else
|
---|
1440 | $as_echo "$as_me: failed program was:" >&5
|
---|
1441 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1442 |
|
---|
1443 | ac_retval=1
|
---|
1444 | fi
|
---|
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.
|
---|
1453 | ac_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"
|
---|
1458 | case "(($ac_try" in
|
---|
1459 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1460 | *) ac_try_echo=$ac_try;;
|
---|
1461 | esac
|
---|
1462 | eval 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
|
---|
1477 | else
|
---|
1478 | $as_echo "$as_me: failed program was:" >&5
|
---|
1479 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1480 |
|
---|
1481 | ac_retval=1
|
---|
1482 | fi
|
---|
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.
|
---|
1491 | ac_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"
|
---|
1496 | case "(($ac_try" in
|
---|
1497 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
1498 | *) ac_try_echo=$ac_try;;
|
---|
1499 | esac
|
---|
1500 | eval 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
|
---|
1518 | else
|
---|
1519 | $as_echo "$as_me: failed program was:" >&5
|
---|
1520 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
1521 |
|
---|
1522 | ac_retval=1
|
---|
1523 | fi
|
---|
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
|
---|
1533 | cat >config.log <<_ACEOF
|
---|
1534 | This file contains any messages produced by compilers while
|
---|
1535 | running configure, to aid debugging if configure makes a mistake.
|
---|
1536 |
|
---|
1537 | It was created by mpidspacemediafilter $as_me 1.0, which was
|
---|
1538 | generated by GNU Autoconf 2.69. Invocation command line was
|
---|
1539 |
|
---|
1540 | $ $0 $@
|
---|
1541 |
|
---|
1542 | _ACEOF
|
---|
1543 | exec 5>>config.log
|
---|
1544 | {
|
---|
1545 | cat <<_ASUNAME
|
---|
1546 | ## --------- ##
|
---|
1547 | ## Platform. ##
|
---|
1548 | ## --------- ##
|
---|
1549 |
|
---|
1550 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
1551 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
1552 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
1553 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
1554 | uname -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 |
|
---|
1569 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1570 | for as_dir in $PATH
|
---|
1571 | do
|
---|
1572 | IFS=$as_save_IFS
|
---|
1573 | test -z "$as_dir" && as_dir=.
|
---|
1574 | $as_echo "PATH: $as_dir"
|
---|
1575 | done
|
---|
1576 | IFS=$as_save_IFS
|
---|
1577 |
|
---|
1578 | } >&5
|
---|
1579 |
|
---|
1580 | cat >&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.
|
---|
1595 | ac_configure_args=
|
---|
1596 | ac_configure_args0=
|
---|
1597 | ac_configure_args1=
|
---|
1598 | ac_must_keep_next=false
|
---|
1599 | for ac_pass in 1 2
|
---|
1600 | do
|
---|
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
|
---|
1634 | done
|
---|
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.
|
---|
1643 | trap '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
|
---|
1730 | for ac_signal in 1 2 13 15; do
|
---|
1731 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
1732 | done
|
---|
1733 | ac_signal=0
|
---|
1734 |
|
---|
1735 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
1736 | rm -f -r conftest* confdefs.h
|
---|
1737 |
|
---|
1738 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
1739 |
|
---|
1740 | # Predefined preprocessor variables.
|
---|
1741 |
|
---|
1742 | cat >>confdefs.h <<_ACEOF
|
---|
1743 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
1744 | _ACEOF
|
---|
1745 |
|
---|
1746 | cat >>confdefs.h <<_ACEOF
|
---|
1747 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
1748 | _ACEOF
|
---|
1749 |
|
---|
1750 | cat >>confdefs.h <<_ACEOF
|
---|
1751 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
1752 | _ACEOF
|
---|
1753 |
|
---|
1754 | cat >>confdefs.h <<_ACEOF
|
---|
1755 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
1756 | _ACEOF
|
---|
1757 |
|
---|
1758 | cat >>confdefs.h <<_ACEOF
|
---|
1759 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
1760 | _ACEOF
|
---|
1761 |
|
---|
1762 | cat >>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.
|
---|
1769 | ac_site_file1=NONE
|
---|
1770 | ac_site_file2=NONE
|
---|
1771 | if 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
|
---|
1778 | elif test "x$prefix" != xNONE; then
|
---|
1779 | ac_site_file1=$prefix/share/config.site
|
---|
1780 | ac_site_file2=$prefix/etc/config.site
|
---|
1781 | else
|
---|
1782 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
1783 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
1784 | fi
|
---|
1785 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
1786 | do
|
---|
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;}
|
---|
1795 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
1796 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
1797 | fi
|
---|
1798 | done
|
---|
1799 |
|
---|
1800 | if 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
|
---|
1811 | else
|
---|
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
|
---|
1815 | fi
|
---|
1816 |
|
---|
1817 | # Check that the precious variables saved in the cache have kept the same
|
---|
1818 | # value.
|
---|
1819 | ac_cache_corrupted=false
|
---|
1820 | for 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
|
---|
1866 | done
|
---|
1867 | if $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
|
---|
1873 | fi
|
---|
1874 | ## -------------------- ##
|
---|
1875 | ## Main body of script. ##
|
---|
1876 | ## -------------------- ##
|
---|
1877 |
|
---|
1878 | ac_ext=c
|
---|
1879 | ac_cpp='$CPP $CPPFLAGS'
|
---|
1880 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
1881 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
1882 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
1883 |
|
---|
1884 |
|
---|
1885 | am__api_version='1.11'
|
---|
1886 |
|
---|
1887 | ac_aux_dir=
|
---|
1888 | for 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
|
---|
1902 | done
|
---|
1903 | if test -z "$ac_aux_dir"; then
|
---|
1904 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
1905 | fi
|
---|
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.
|
---|
1911 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
1912 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
1913 | ac_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; }
|
---|
1932 | if test -z "$INSTALL"; then
|
---|
1933 | if ${ac_cv_path_install+:} false; then :
|
---|
1934 | $as_echo_n "(cached) " >&6
|
---|
1935 | else
|
---|
1936 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1937 | for as_dir in $PATH
|
---|
1938 | do
|
---|
1939 | IFS=$as_save_IFS
|
---|
1940 | test -z "$as_dir" && as_dir=.
|
---|
1941 | # Account for people who put trailing slashes in PATH elements.
|
---|
1942 | case $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 | ;;
|
---|
1980 | esac
|
---|
1981 |
|
---|
1982 | done
|
---|
1983 | IFS=$as_save_IFS
|
---|
1984 |
|
---|
1985 | rm -rf conftest.one conftest.two conftest.dir
|
---|
1986 |
|
---|
1987 | fi
|
---|
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
|
---|
1997 | fi
|
---|
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.
|
---|
2003 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
2004 |
|
---|
2005 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
2006 |
|
---|
2007 | test -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
|
---|
2012 | sleep 1
|
---|
2013 | echo timestamp > conftest.file
|
---|
2014 | # Reject unsafe characters in $srcdir or the absolute working directory
|
---|
2015 | # name. Accept space and tab only in the latter.
|
---|
2016 | am_lf='
|
---|
2017 | '
|
---|
2018 | case `pwd` in
|
---|
2019 | *[\\\"\#\$\&\'\`$am_lf]*)
|
---|
2020 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
|
---|
2021 | esac
|
---|
2022 | case $srcdir in
|
---|
2023 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
---|
2024 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
---|
2025 | esac
|
---|
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).
|
---|
2032 | if (
|
---|
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
|
---|
2047 | alias in your environment" "$LINENO" 5
|
---|
2048 | fi
|
---|
2049 |
|
---|
2050 | test "$2" = conftest.file
|
---|
2051 | )
|
---|
2052 | then
|
---|
2053 | # Ok.
|
---|
2054 | :
|
---|
2055 | else
|
---|
2056 | as_fn_error $? "newly created file is older than distributed files!
|
---|
2057 | Check your system clock" "$LINENO" 5
|
---|
2058 | fi
|
---|
2059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
2060 | $as_echo "yes" >&6; }
|
---|
2061 | test "$program_prefix" != NONE &&
|
---|
2062 | program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
---|
2063 | # Use a double $ so make ignores it.
|
---|
2064 | test "$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.
|
---|
2068 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
---|
2069 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
---|
2070 |
|
---|
2071 | # expand $ac_aux_dir to an absolute path
|
---|
2072 | am_aux_dir=`cd $ac_aux_dir && pwd`
|
---|
2073 |
|
---|
2074 | if 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
|
---|
2081 | fi
|
---|
2082 | # Use eval to expand $SHELL
|
---|
2083 | if eval "$MISSING --run true"; then
|
---|
2084 | am_missing_run="$MISSING --run "
|
---|
2085 | else
|
---|
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;}
|
---|
2089 | fi
|
---|
2090 |
|
---|
2091 | if 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
|
---|
2098 | fi
|
---|
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.
|
---|
2104 | if 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.
|
---|
2107 | set 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; }
|
---|
2110 | if ${ac_cv_prog_STRIP+:} false; then :
|
---|
2111 | $as_echo_n "(cached) " >&6
|
---|
2112 | else
|
---|
2113 | if test -n "$STRIP"; then
|
---|
2114 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
---|
2115 | else
|
---|
2116 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2117 | for as_dir in $PATH
|
---|
2118 | do
|
---|
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
|
---|
2127 | done
|
---|
2128 | done
|
---|
2129 | IFS=$as_save_IFS
|
---|
2130 |
|
---|
2131 | fi
|
---|
2132 | fi
|
---|
2133 | STRIP=$ac_cv_prog_STRIP
|
---|
2134 | if test -n "$STRIP"; then
|
---|
2135 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
---|
2136 | $as_echo "$STRIP" >&6; }
|
---|
2137 | else
|
---|
2138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2139 | $as_echo "no" >&6; }
|
---|
2140 | fi
|
---|
2141 |
|
---|
2142 |
|
---|
2143 | fi
|
---|
2144 | if 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.
|
---|
2147 | set 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; }
|
---|
2150 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
---|
2151 | $as_echo_n "(cached) " >&6
|
---|
2152 | else
|
---|
2153 | if test -n "$ac_ct_STRIP"; then
|
---|
2154 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
---|
2155 | else
|
---|
2156 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2157 | for as_dir in $PATH
|
---|
2158 | do
|
---|
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
|
---|
2167 | done
|
---|
2168 | done
|
---|
2169 | IFS=$as_save_IFS
|
---|
2170 |
|
---|
2171 | fi
|
---|
2172 | fi
|
---|
2173 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
---|
2174 | if 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; }
|
---|
2177 | else
|
---|
2178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2179 | $as_echo "no" >&6; }
|
---|
2180 | fi
|
---|
2181 |
|
---|
2182 | if test "x$ac_ct_STRIP" = x; then
|
---|
2183 | STRIP=":"
|
---|
2184 | else
|
---|
2185 | case $cross_compiling:$ac_tool_warned in
|
---|
2186 | yes:)
|
---|
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;}
|
---|
2189 | ac_tool_warned=yes ;;
|
---|
2190 | esac
|
---|
2191 | STRIP=$ac_ct_STRIP
|
---|
2192 | fi
|
---|
2193 | else
|
---|
2194 | STRIP="$ac_cv_prog_STRIP"
|
---|
2195 | fi
|
---|
2196 |
|
---|
2197 | fi
|
---|
2198 | INSTALL_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; }
|
---|
2202 | if test -z "$MKDIR_P"; then
|
---|
2203 | if ${ac_cv_path_mkdir+:} false; then :
|
---|
2204 | $as_echo_n "(cached) " >&6
|
---|
2205 | else
|
---|
2206 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2207 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
---|
2208 | do
|
---|
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
|
---|
2224 | IFS=$as_save_IFS
|
---|
2225 |
|
---|
2226 | fi
|
---|
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
|
---|
2238 | fi
|
---|
2239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
---|
2240 | $as_echo "$MKDIR_P" >&6; }
|
---|
2241 |
|
---|
2242 | mkdir_p="$MKDIR_P"
|
---|
2243 | case $mkdir_p in
|
---|
2244 | [\\/$]* | ?:[\\/]*) ;;
|
---|
2245 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
---|
2246 | esac
|
---|
2247 |
|
---|
2248 | for ac_prog in gawk mawk nawk awk
|
---|
2249 | do
|
---|
2250 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
2251 | set 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; }
|
---|
2254 | if ${ac_cv_prog_AWK+:} false; then :
|
---|
2255 | $as_echo_n "(cached) " >&6
|
---|
2256 | else
|
---|
2257 | if test -n "$AWK"; then
|
---|
2258 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
2259 | else
|
---|
2260 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2261 | for as_dir in $PATH
|
---|
2262 | do
|
---|
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
|
---|
2271 | done
|
---|
2272 | done
|
---|
2273 | IFS=$as_save_IFS
|
---|
2274 |
|
---|
2275 | fi
|
---|
2276 | fi
|
---|
2277 | AWK=$ac_cv_prog_AWK
|
---|
2278 | if test -n "$AWK"; then
|
---|
2279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
---|
2280 | $as_echo "$AWK" >&6; }
|
---|
2281 | else
|
---|
2282 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2283 | $as_echo "no" >&6; }
|
---|
2284 | fi
|
---|
2285 |
|
---|
2286 |
|
---|
2287 | test -n "$AWK" && break
|
---|
2288 | done
|
---|
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; }
|
---|
2292 | set x ${MAKE-make}
|
---|
2293 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
2294 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
---|
2295 | $as_echo_n "(cached) " >&6
|
---|
2296 | else
|
---|
2297 | cat >conftest.make <<\_ACEOF
|
---|
2298 | SHELL = /bin/sh
|
---|
2299 | all:
|
---|
2300 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
2301 | _ACEOF
|
---|
2302 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
2303 | case `${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;;
|
---|
2308 | esac
|
---|
2309 | rm -f conftest.make
|
---|
2310 | fi
|
---|
2311 | if 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=
|
---|
2315 | else
|
---|
2316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2317 | $as_echo "no" >&6; }
|
---|
2318 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
2319 | fi
|
---|
2320 |
|
---|
2321 | rm -rf .tst 2>/dev/null
|
---|
2322 | mkdir .tst 2>/dev/null
|
---|
2323 | if test -d .tst; then
|
---|
2324 | am__leading_dot=.
|
---|
2325 | else
|
---|
2326 | am__leading_dot=_
|
---|
2327 | fi
|
---|
2328 | rmdir .tst 2>/dev/null
|
---|
2329 |
|
---|
2330 | if 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
|
---|
2338 | fi
|
---|
2339 |
|
---|
2340 | # test whether we have cygpath
|
---|
2341 | if 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
|
---|
2347 | fi
|
---|
2348 |
|
---|
2349 |
|
---|
2350 | # Define the identity of the package.
|
---|
2351 | PACKAGE='mpidspacemediafilter'
|
---|
2352 | VERSION='1.0'
|
---|
2353 |
|
---|
2354 |
|
---|
2355 | cat >>confdefs.h <<_ACEOF
|
---|
2356 | #define PACKAGE "$PACKAGE"
|
---|
2357 | _ACEOF
|
---|
2358 |
|
---|
2359 |
|
---|
2360 | cat >>confdefs.h <<_ACEOF
|
---|
2361 | #define VERSION "$VERSION"
|
---|
2362 | _ACEOF
|
---|
2363 |
|
---|
2364 | # Some tools Automake needs.
|
---|
2365 |
|
---|
2366 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
---|
2367 |
|
---|
2368 |
|
---|
2369 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
---|
2370 |
|
---|
2371 |
|
---|
2372 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
---|
2373 |
|
---|
2374 |
|
---|
2375 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
---|
2376 |
|
---|
2377 |
|
---|
2378 | MAKEINFO=${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 ...
|
---|
2384 | AMTAR='$${TAR-tar}'
|
---|
2385 |
|
---|
2386 | am__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; }
|
---|
2398 | if ${ac_cv_build+:} false; then :
|
---|
2399 | $as_echo_n "(cached) " >&6
|
---|
2400 | else
|
---|
2401 | ac_build_alias=$build_alias
|
---|
2402 | test "x$ac_build_alias" = x &&
|
---|
2403 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
2404 | test "x$ac_build_alias" = x &&
|
---|
2405 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
2406 | ac_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 |
|
---|
2409 | fi
|
---|
2410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
2411 | $as_echo "$ac_cv_build" >&6; }
|
---|
2412 | case $ac_cv_build in
|
---|
2413 | *-*-*) ;;
|
---|
2414 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
---|
2415 | esac
|
---|
2416 | build=$ac_cv_build
|
---|
2417 | ac_save_IFS=$IFS; IFS='-'
|
---|
2418 | set x $ac_cv_build
|
---|
2419 | shift
|
---|
2420 | build_cpu=$1
|
---|
2421 | build_vendor=$2
|
---|
2422 | shift; shift
|
---|
2423 | # Remember, the first character of IFS is used to create $*,
|
---|
2424 | # except with old shells:
|
---|
2425 | build_os=$*
|
---|
2426 | IFS=$ac_save_IFS
|
---|
2427 | case $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; }
|
---|
2432 | if ${ac_cv_host+:} false; then :
|
---|
2433 | $as_echo_n "(cached) " >&6
|
---|
2434 | else
|
---|
2435 | if test "x$host_alias" = x; then
|
---|
2436 | ac_cv_host=$ac_cv_build
|
---|
2437 | else
|
---|
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
|
---|
2440 | fi
|
---|
2441 |
|
---|
2442 | fi
|
---|
2443 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
2444 | $as_echo "$ac_cv_host" >&6; }
|
---|
2445 | case $ac_cv_host in
|
---|
2446 | *-*-*) ;;
|
---|
2447 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
---|
2448 | esac
|
---|
2449 | host=$ac_cv_host
|
---|
2450 | ac_save_IFS=$IFS; IFS='-'
|
---|
2451 | set x $ac_cv_host
|
---|
2452 | shift
|
---|
2453 | host_cpu=$1
|
---|
2454 | host_vendor=$2
|
---|
2455 | shift; shift
|
---|
2456 | # Remember, the first character of IFS is used to create $*,
|
---|
2457 | # except with old shells:
|
---|
2458 | host_os=$*
|
---|
2459 | IFS=$ac_save_IFS
|
---|
2460 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
2461 |
|
---|
2462 |
|
---|
2463 |
|
---|
2464 | # Checks for programs.
|
---|
2465 | ac_ext=cpp
|
---|
2466 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
2467 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
2468 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
2469 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
2470 | if 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.
|
---|
2478 | set 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; }
|
---|
2481 | if ${ac_cv_prog_CXX+:} false; then :
|
---|
2482 | $as_echo_n "(cached) " >&6
|
---|
2483 | else
|
---|
2484 | if test -n "$CXX"; then
|
---|
2485 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
2486 | else
|
---|
2487 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2488 | for as_dir in $PATH
|
---|
2489 | do
|
---|
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
|
---|
2498 | done
|
---|
2499 | done
|
---|
2500 | IFS=$as_save_IFS
|
---|
2501 |
|
---|
2502 | fi
|
---|
2503 | fi
|
---|
2504 | CXX=$ac_cv_prog_CXX
|
---|
2505 | if test -n "$CXX"; then
|
---|
2506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
2507 | $as_echo "$CXX" >&6; }
|
---|
2508 | else
|
---|
2509 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2510 | $as_echo "no" >&6; }
|
---|
2511 | fi
|
---|
2512 |
|
---|
2513 |
|
---|
2514 | test -n "$CXX" && break
|
---|
2515 | done
|
---|
2516 | fi
|
---|
2517 | if test -z "$CXX"; then
|
---|
2518 | ac_ct_CXX=$CXX
|
---|
2519 | for ac_prog in mpic++
|
---|
2520 | do
|
---|
2521 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
2522 | set 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; }
|
---|
2525 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
---|
2526 | $as_echo_n "(cached) " >&6
|
---|
2527 | else
|
---|
2528 | if test -n "$ac_ct_CXX"; then
|
---|
2529 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
2530 | else
|
---|
2531 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
2532 | for as_dir in $PATH
|
---|
2533 | do
|
---|
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
|
---|
2542 | done
|
---|
2543 | done
|
---|
2544 | IFS=$as_save_IFS
|
---|
2545 |
|
---|
2546 | fi
|
---|
2547 | fi
|
---|
2548 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
2549 | if 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; }
|
---|
2552 | else
|
---|
2553 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
2554 | $as_echo "no" >&6; }
|
---|
2555 | fi
|
---|
2556 |
|
---|
2557 |
|
---|
2558 | test -n "$ac_ct_CXX" && break
|
---|
2559 | done
|
---|
2560 |
|
---|
2561 | if test "x$ac_ct_CXX" = x; then
|
---|
2562 | CXX="g++"
|
---|
2563 | else
|
---|
2564 | case $cross_compiling:$ac_tool_warned in
|
---|
2565 | yes:)
|
---|
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;}
|
---|
2568 | ac_tool_warned=yes ;;
|
---|
2569 | esac
|
---|
2570 | CXX=$ac_ct_CXX
|
---|
2571 | fi
|
---|
2572 | fi
|
---|
2573 |
|
---|
2574 | fi
|
---|
2575 | fi
|
---|
2576 | # Provide some information about the compiler.
|
---|
2577 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
2578 | set X $ac_compile
|
---|
2579 | ac_compiler=$2
|
---|
2580 | for ac_option in --version -v -V -qversion; do
|
---|
2581 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
2582 | case "(($ac_try" in
|
---|
2583 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2584 | *) ac_try_echo=$ac_try;;
|
---|
2585 | esac
|
---|
2586 | eval 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; }
|
---|
2599 | done
|
---|
2600 |
|
---|
2601 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2602 | /* end confdefs.h. */
|
---|
2603 |
|
---|
2604 | int
|
---|
2605 | main ()
|
---|
2606 | {
|
---|
2607 |
|
---|
2608 | ;
|
---|
2609 | return 0;
|
---|
2610 | }
|
---|
2611 | _ACEOF
|
---|
2612 | ac_clean_files_save=$ac_clean_files
|
---|
2613 | ac_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; }
|
---|
2619 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
2620 |
|
---|
2621 | # The possible output files:
|
---|
2622 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
2623 |
|
---|
2624 | ac_rmfiles=
|
---|
2625 | for ac_file in $ac_files
|
---|
2626 | do
|
---|
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
|
---|
2631 | done
|
---|
2632 | rm -f $ac_rmfiles
|
---|
2633 |
|
---|
2634 | if { { ac_try="$ac_link_default"
|
---|
2635 | case "(($ac_try" in
|
---|
2636 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2637 | *) ac_try_echo=$ac_try;;
|
---|
2638 | esac
|
---|
2639 | eval 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.
|
---|
2650 | for ac_file in $ac_files ''
|
---|
2651 | do
|
---|
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
|
---|
2674 | done
|
---|
2675 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
2676 |
|
---|
2677 | else
|
---|
2678 | ac_file=''
|
---|
2679 | fi
|
---|
2680 | if 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
|
---|
2684 | sed '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;}
|
---|
2688 | as_fn_error 77 "C++ compiler cannot create executables
|
---|
2689 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2690 | else
|
---|
2691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
2692 | $as_echo "yes" >&6; }
|
---|
2693 | fi
|
---|
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; }
|
---|
2698 | ac_exeext=$ac_cv_exeext
|
---|
2699 |
|
---|
2700 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
2701 | ac_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; }
|
---|
2704 | if { { ac_try="$ac_link"
|
---|
2705 | case "(($ac_try" in
|
---|
2706 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2707 | *) ac_try_echo=$ac_try;;
|
---|
2708 | esac
|
---|
2709 | eval 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'.
|
---|
2719 | for 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
|
---|
2727 | done
|
---|
2728 | else
|
---|
2729 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
2730 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
2731 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
2732 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2733 | fi
|
---|
2734 | rm -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 |
|
---|
2738 | rm -f conftest.$ac_ext
|
---|
2739 | EXEEXT=$ac_cv_exeext
|
---|
2740 | ac_exeext=$EXEEXT
|
---|
2741 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2742 | /* end confdefs.h. */
|
---|
2743 | #include <stdio.h>
|
---|
2744 | int
|
---|
2745 | main ()
|
---|
2746 | {
|
---|
2747 | FILE *f = fopen ("conftest.out", "w");
|
---|
2748 | return ferror (f) || fclose (f) != 0;
|
---|
2749 |
|
---|
2750 | ;
|
---|
2751 | return 0;
|
---|
2752 | }
|
---|
2753 | _ACEOF
|
---|
2754 | ac_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; }
|
---|
2759 | if test "$cross_compiling" != yes; then
|
---|
2760 | { { ac_try="$ac_link"
|
---|
2761 | case "(($ac_try" in
|
---|
2762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2763 | *) ac_try_echo=$ac_try;;
|
---|
2764 | esac
|
---|
2765 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
2766 | $as_echo "$ac_try_echo"; } >&5
|
---|
2767 | (eval "$ac_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;;
|
---|
2775 | esac
|
---|
2776 | eval 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;}
|
---|
2789 | as_fn_error $? "cannot run C++ compiled programs.
|
---|
2790 | If you meant to cross compile, use \`--host'.
|
---|
2791 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2792 | fi
|
---|
2793 | fi
|
---|
2794 | fi
|
---|
2795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
2796 | $as_echo "$cross_compiling" >&6; }
|
---|
2797 |
|
---|
2798 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
2799 | ac_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; }
|
---|
2802 | if ${ac_cv_objext+:} false; then :
|
---|
2803 | $as_echo_n "(cached) " >&6
|
---|
2804 | else
|
---|
2805 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2806 | /* end confdefs.h. */
|
---|
2807 |
|
---|
2808 | int
|
---|
2809 | main ()
|
---|
2810 | {
|
---|
2811 |
|
---|
2812 | ;
|
---|
2813 | return 0;
|
---|
2814 | }
|
---|
2815 | _ACEOF
|
---|
2816 | rm -f conftest.o conftest.obj
|
---|
2817 | if { { ac_try="$ac_compile"
|
---|
2818 | case "(($ac_try" in
|
---|
2819 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
2820 | *) ac_try_echo=$ac_try;;
|
---|
2821 | esac
|
---|
2822 | eval 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
|
---|
2835 | done
|
---|
2836 | else
|
---|
2837 | $as_echo "$as_me: failed program was:" >&5
|
---|
2838 | sed '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;}
|
---|
2842 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
2843 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
2844 | fi
|
---|
2845 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
2846 | fi
|
---|
2847 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
2848 | $as_echo "$ac_cv_objext" >&6; }
|
---|
2849 | OBJEXT=$ac_cv_objext
|
---|
2850 | ac_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; }
|
---|
2853 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
---|
2854 | $as_echo_n "(cached) " >&6
|
---|
2855 | else
|
---|
2856 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2857 | /* end confdefs.h. */
|
---|
2858 |
|
---|
2859 | int
|
---|
2860 | main ()
|
---|
2861 | {
|
---|
2862 | #ifndef __GNUC__
|
---|
2863 | choke me
|
---|
2864 | #endif
|
---|
2865 |
|
---|
2866 | ;
|
---|
2867 | return 0;
|
---|
2868 | }
|
---|
2869 | _ACEOF
|
---|
2870 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
2871 | ac_compiler_gnu=yes
|
---|
2872 | else
|
---|
2873 | ac_compiler_gnu=no
|
---|
2874 | fi
|
---|
2875 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2876 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
2877 |
|
---|
2878 | fi
|
---|
2879 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
2880 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
2881 | if test $ac_compiler_gnu = yes; then
|
---|
2882 | GXX=yes
|
---|
2883 | else
|
---|
2884 | GXX=
|
---|
2885 | fi
|
---|
2886 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
2887 | ac_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; }
|
---|
2890 | if ${ac_cv_prog_cxx_g+:} false; then :
|
---|
2891 | $as_echo_n "(cached) " >&6
|
---|
2892 | else
|
---|
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 |
|
---|
2900 | int
|
---|
2901 | main ()
|
---|
2902 | {
|
---|
2903 |
|
---|
2904 | ;
|
---|
2905 | return 0;
|
---|
2906 | }
|
---|
2907 | _ACEOF
|
---|
2908 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
2909 | ac_cv_prog_cxx_g=yes
|
---|
2910 | else
|
---|
2911 | CXXFLAGS=""
|
---|
2912 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
2913 | /* end confdefs.h. */
|
---|
2914 |
|
---|
2915 | int
|
---|
2916 | main ()
|
---|
2917 | {
|
---|
2918 |
|
---|
2919 | ;
|
---|
2920 | return 0;
|
---|
2921 | }
|
---|
2922 | _ACEOF
|
---|
2923 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
2924 |
|
---|
2925 | else
|
---|
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 |
|
---|
2931 | int
|
---|
2932 | main ()
|
---|
2933 | {
|
---|
2934 |
|
---|
2935 | ;
|
---|
2936 | return 0;
|
---|
2937 | }
|
---|
2938 | _ACEOF
|
---|
2939 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
2940 | ac_cv_prog_cxx_g=yes
|
---|
2941 | fi
|
---|
2942 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2943 | fi
|
---|
2944 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2945 | fi
|
---|
2946 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
2947 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
2948 | fi
|
---|
2949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
2950 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
2951 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
2952 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
2953 | elif 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
|
---|
2959 | else
|
---|
2960 | if test "$GXX" = yes; then
|
---|
2961 | CXXFLAGS="-O2"
|
---|
2962 | else
|
---|
2963 | CXXFLAGS=
|
---|
2964 | fi
|
---|
2965 | fi
|
---|
2966 | ac_ext=c
|
---|
2967 | ac_cpp='$CPP $CPPFLAGS'
|
---|
2968 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
2969 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
2970 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
2971 | DEPDIR="${am__leading_dot}deps"
|
---|
2972 |
|
---|
2973 | ac_config_commands="$ac_config_commands depfiles"
|
---|
2974 |
|
---|
2975 |
|
---|
2976 | am_make=${MAKE-make}
|
---|
2977 | cat > confinc << 'END'
|
---|
2978 | am__doit:
|
---|
2979 | @echo this is the am__doit target
|
---|
2980 | .PHONY: am__doit
|
---|
2981 | END
|
---|
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; }
|
---|
2985 | am__include="#"
|
---|
2986 | am__quote=
|
---|
2987 | _am_result=none
|
---|
2988 | # First try GNU make style include.
|
---|
2989 | echo "include confinc" > confmf
|
---|
2990 | # Ignore all kinds of additional output from `make'.
|
---|
2991 | case `$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 | ;;
|
---|
2997 | esac
|
---|
2998 | # Now try BSD make style include.
|
---|
2999 | if 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
|
---|
3008 | fi
|
---|
3009 |
|
---|
3010 |
|
---|
3011 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
---|
3012 | $as_echo "$_am_result" >&6; }
|
---|
3013 | rm -f confinc confmf
|
---|
3014 |
|
---|
3015 | # Check whether --enable-dependency-tracking was given.
|
---|
3016 | if test "${enable_dependency_tracking+set}" = set; then :
|
---|
3017 | enableval=$enable_dependency_tracking;
|
---|
3018 | fi
|
---|
3019 |
|
---|
3020 | if test "x$enable_dependency_tracking" != xno; then
|
---|
3021 | am_depcomp="$ac_aux_dir/depcomp"
|
---|
3022 | AMDEPBACKSLASH='\'
|
---|
3023 | am__nodep='_no'
|
---|
3024 | fi
|
---|
3025 | if test "x$enable_dependency_tracking" != xno; then
|
---|
3026 | AMDEP_TRUE=
|
---|
3027 | AMDEP_FALSE='#'
|
---|
3028 | else
|
---|
3029 | AMDEP_TRUE='#'
|
---|
3030 | AMDEP_FALSE=
|
---|
3031 | fi
|
---|
3032 |
|
---|
3033 |
|
---|
3034 |
|
---|
3035 | depcc="$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; }
|
---|
3039 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
|
---|
3040 | $as_echo_n "(cached) " >&6
|
---|
3041 | else
|
---|
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
|
---|
3143 | else
|
---|
3144 | am_cv_CXX_dependencies_compiler_type=none
|
---|
3145 | fi
|
---|
3146 |
|
---|
3147 | fi
|
---|
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; }
|
---|
3150 | CXXDEPMODE=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='#'
|
---|
3157 | else
|
---|
3158 | am__fastdepCXX_TRUE='#'
|
---|
3159 | am__fastdepCXX_FALSE=
|
---|
3160 | fi
|
---|
3161 |
|
---|
3162 |
|
---|
3163 |
|
---|
3164 | # Checks for libraries.
|
---|
3165 | ac_ext=c
|
---|
3166 | ac_cpp='$CPP $CPPFLAGS'
|
---|
3167 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
3168 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
3169 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
3170 | if 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.
|
---|
3172 | set 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; }
|
---|
3175 | if ${ac_cv_prog_CC+:} false; then :
|
---|
3176 | $as_echo_n "(cached) " >&6
|
---|
3177 | else
|
---|
3178 | if test -n "$CC"; then
|
---|
3179 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
3180 | else
|
---|
3181 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3182 | for as_dir in $PATH
|
---|
3183 | do
|
---|
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
|
---|
3192 | done
|
---|
3193 | done
|
---|
3194 | IFS=$as_save_IFS
|
---|
3195 |
|
---|
3196 | fi
|
---|
3197 | fi
|
---|
3198 | CC=$ac_cv_prog_CC
|
---|
3199 | if test -n "$CC"; then
|
---|
3200 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
3201 | $as_echo "$CC" >&6; }
|
---|
3202 | else
|
---|
3203 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3204 | $as_echo "no" >&6; }
|
---|
3205 | fi
|
---|
3206 |
|
---|
3207 |
|
---|
3208 | fi
|
---|
3209 | if 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.
|
---|
3212 | set 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; }
|
---|
3215 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
3216 | $as_echo_n "(cached) " >&6
|
---|
3217 | else
|
---|
3218 | if test -n "$ac_ct_CC"; then
|
---|
3219 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
3220 | else
|
---|
3221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3222 | for as_dir in $PATH
|
---|
3223 | do
|
---|
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
|
---|
3232 | done
|
---|
3233 | done
|
---|
3234 | IFS=$as_save_IFS
|
---|
3235 |
|
---|
3236 | fi
|
---|
3237 | fi
|
---|
3238 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
3239 | if 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; }
|
---|
3242 | else
|
---|
3243 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3244 | $as_echo "no" >&6; }
|
---|
3245 | fi
|
---|
3246 |
|
---|
3247 | if test "x$ac_ct_CC" = x; then
|
---|
3248 | CC=""
|
---|
3249 | else
|
---|
3250 | case $cross_compiling:$ac_tool_warned in
|
---|
3251 | yes:)
|
---|
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;}
|
---|
3254 | ac_tool_warned=yes ;;
|
---|
3255 | esac
|
---|
3256 | CC=$ac_ct_CC
|
---|
3257 | fi
|
---|
3258 | else
|
---|
3259 | CC="$ac_cv_prog_CC"
|
---|
3260 | fi
|
---|
3261 |
|
---|
3262 | if 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.
|
---|
3265 | set 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; }
|
---|
3268 | if ${ac_cv_prog_CC+:} false; then :
|
---|
3269 | $as_echo_n "(cached) " >&6
|
---|
3270 | else
|
---|
3271 | if test -n "$CC"; then
|
---|
3272 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
3273 | else
|
---|
3274 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3275 | for as_dir in $PATH
|
---|
3276 | do
|
---|
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
|
---|
3285 | done
|
---|
3286 | done
|
---|
3287 | IFS=$as_save_IFS
|
---|
3288 |
|
---|
3289 | fi
|
---|
3290 | fi
|
---|
3291 | CC=$ac_cv_prog_CC
|
---|
3292 | if test -n "$CC"; then
|
---|
3293 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
3294 | $as_echo "$CC" >&6; }
|
---|
3295 | else
|
---|
3296 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3297 | $as_echo "no" >&6; }
|
---|
3298 | fi
|
---|
3299 |
|
---|
3300 |
|
---|
3301 | fi
|
---|
3302 | fi
|
---|
3303 | if test -z "$CC"; then
|
---|
3304 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
3305 | set 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; }
|
---|
3308 | if ${ac_cv_prog_CC+:} false; then :
|
---|
3309 | $as_echo_n "(cached) " >&6
|
---|
3310 | else
|
---|
3311 | if test -n "$CC"; then
|
---|
3312 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
3313 | else
|
---|
3314 | ac_prog_rejected=no
|
---|
3315 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3316 | for as_dir in $PATH
|
---|
3317 | do
|
---|
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
|
---|
3330 | done
|
---|
3331 | done
|
---|
3332 | IFS=$as_save_IFS
|
---|
3333 |
|
---|
3334 | if 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
|
---|
3345 | fi
|
---|
3346 | fi
|
---|
3347 | fi
|
---|
3348 | CC=$ac_cv_prog_CC
|
---|
3349 | if test -n "$CC"; then
|
---|
3350 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
3351 | $as_echo "$CC" >&6; }
|
---|
3352 | else
|
---|
3353 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3354 | $as_echo "no" >&6; }
|
---|
3355 | fi
|
---|
3356 |
|
---|
3357 |
|
---|
3358 | fi
|
---|
3359 | if 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.
|
---|
3364 | set 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; }
|
---|
3367 | if ${ac_cv_prog_CC+:} false; then :
|
---|
3368 | $as_echo_n "(cached) " >&6
|
---|
3369 | else
|
---|
3370 | if test -n "$CC"; then
|
---|
3371 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
3372 | else
|
---|
3373 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3374 | for as_dir in $PATH
|
---|
3375 | do
|
---|
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
|
---|
3384 | done
|
---|
3385 | done
|
---|
3386 | IFS=$as_save_IFS
|
---|
3387 |
|
---|
3388 | fi
|
---|
3389 | fi
|
---|
3390 | CC=$ac_cv_prog_CC
|
---|
3391 | if test -n "$CC"; then
|
---|
3392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
3393 | $as_echo "$CC" >&6; }
|
---|
3394 | else
|
---|
3395 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3396 | $as_echo "no" >&6; }
|
---|
3397 | fi
|
---|
3398 |
|
---|
3399 |
|
---|
3400 | test -n "$CC" && break
|
---|
3401 | done
|
---|
3402 | fi
|
---|
3403 | if test -z "$CC"; then
|
---|
3404 | ac_ct_CC=$CC
|
---|
3405 | for ac_prog in cl.exe
|
---|
3406 | do
|
---|
3407 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
3408 | set 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; }
|
---|
3411 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
3412 | $as_echo_n "(cached) " >&6
|
---|
3413 | else
|
---|
3414 | if test -n "$ac_ct_CC"; then
|
---|
3415 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
3416 | else
|
---|
3417 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
3418 | for as_dir in $PATH
|
---|
3419 | do
|
---|
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
|
---|
3428 | done
|
---|
3429 | done
|
---|
3430 | IFS=$as_save_IFS
|
---|
3431 |
|
---|
3432 | fi
|
---|
3433 | fi
|
---|
3434 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
3435 | if 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; }
|
---|
3438 | else
|
---|
3439 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
3440 | $as_echo "no" >&6; }
|
---|
3441 | fi
|
---|
3442 |
|
---|
3443 |
|
---|
3444 | test -n "$ac_ct_CC" && break
|
---|
3445 | done
|
---|
3446 |
|
---|
3447 | if test "x$ac_ct_CC" = x; then
|
---|
3448 | CC=""
|
---|
3449 | else
|
---|
3450 | case $cross_compiling:$ac_tool_warned in
|
---|
3451 | yes:)
|
---|
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;}
|
---|
3454 | ac_tool_warned=yes ;;
|
---|
3455 | esac
|
---|
3456 | CC=$ac_ct_CC
|
---|
3457 | fi
|
---|
3458 | fi
|
---|
3459 |
|
---|
3460 | fi
|
---|
3461 |
|
---|
3462 |
|
---|
3463 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
3464 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
3465 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
3466 | See \`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
|
---|
3470 | set X $ac_compile
|
---|
3471 | ac_compiler=$2
|
---|
3472 | for ac_option in --version -v -V -qversion; do
|
---|
3473 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
3474 | case "(($ac_try" in
|
---|
3475 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
3476 | *) ac_try_echo=$ac_try;;
|
---|
3477 | esac
|
---|
3478 | eval 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; }
|
---|
3491 | done
|
---|
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; }
|
---|
3495 | if ${ac_cv_c_compiler_gnu+:} false; then :
|
---|
3496 | $as_echo_n "(cached) " >&6
|
---|
3497 | else
|
---|
3498 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3499 | /* end confdefs.h. */
|
---|
3500 |
|
---|
3501 | int
|
---|
3502 | main ()
|
---|
3503 | {
|
---|
3504 | #ifndef __GNUC__
|
---|
3505 | choke me
|
---|
3506 | #endif
|
---|
3507 |
|
---|
3508 | ;
|
---|
3509 | return 0;
|
---|
3510 | }
|
---|
3511 | _ACEOF
|
---|
3512 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3513 | ac_compiler_gnu=yes
|
---|
3514 | else
|
---|
3515 | ac_compiler_gnu=no
|
---|
3516 | fi
|
---|
3517 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3518 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
3519 |
|
---|
3520 | fi
|
---|
3521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
3522 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
3523 | if test $ac_compiler_gnu = yes; then
|
---|
3524 | GCC=yes
|
---|
3525 | else
|
---|
3526 | GCC=
|
---|
3527 | fi
|
---|
3528 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
3529 | ac_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; }
|
---|
3532 | if ${ac_cv_prog_cc_g+:} false; then :
|
---|
3533 | $as_echo_n "(cached) " >&6
|
---|
3534 | else
|
---|
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 |
|
---|
3542 | int
|
---|
3543 | main ()
|
---|
3544 | {
|
---|
3545 |
|
---|
3546 | ;
|
---|
3547 | return 0;
|
---|
3548 | }
|
---|
3549 | _ACEOF
|
---|
3550 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3551 | ac_cv_prog_cc_g=yes
|
---|
3552 | else
|
---|
3553 | CFLAGS=""
|
---|
3554 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3555 | /* end confdefs.h. */
|
---|
3556 |
|
---|
3557 | int
|
---|
3558 | main ()
|
---|
3559 | {
|
---|
3560 |
|
---|
3561 | ;
|
---|
3562 | return 0;
|
---|
3563 | }
|
---|
3564 | _ACEOF
|
---|
3565 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3566 |
|
---|
3567 | else
|
---|
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 |
|
---|
3573 | int
|
---|
3574 | main ()
|
---|
3575 | {
|
---|
3576 |
|
---|
3577 | ;
|
---|
3578 | return 0;
|
---|
3579 | }
|
---|
3580 | _ACEOF
|
---|
3581 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3582 | ac_cv_prog_cc_g=yes
|
---|
3583 | fi
|
---|
3584 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3585 | fi
|
---|
3586 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3587 | fi
|
---|
3588 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
3589 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
3590 | fi
|
---|
3591 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
3592 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
3593 | if test "$ac_test_CFLAGS" = set; then
|
---|
3594 | CFLAGS=$ac_save_CFLAGS
|
---|
3595 | elif 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
|
---|
3601 | else
|
---|
3602 | if test "$GCC" = yes; then
|
---|
3603 | CFLAGS="-O2"
|
---|
3604 | else
|
---|
3605 | CFLAGS=
|
---|
3606 | fi
|
---|
3607 | fi
|
---|
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; }
|
---|
3610 | if ${ac_cv_prog_cc_c89+:} false; then :
|
---|
3611 | $as_echo_n "(cached) " >&6
|
---|
3612 | else
|
---|
3613 | ac_cv_prog_cc_c89=no
|
---|
3614 | ac_save_CC=$CC
|
---|
3615 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
3616 | /* end confdefs.h. */
|
---|
3617 | #include <stdarg.h>
|
---|
3618 | #include <stdio.h>
|
---|
3619 | struct stat;
|
---|
3620 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
3621 | struct buf { int x; };
|
---|
3622 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
3623 | static char *e (p, i)
|
---|
3624 | char **p;
|
---|
3625 | int i;
|
---|
3626 | {
|
---|
3627 | return p[i];
|
---|
3628 | }
|
---|
3629 | static 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. */
|
---|
3646 | int 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'
|
---|
3651 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
3652 |
|
---|
3653 | int test (int i, double x);
|
---|
3654 | struct s1 {int (*f) (int a);};
|
---|
3655 | struct s2 {int (*f) (double a);};
|
---|
3656 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
3657 | int argc;
|
---|
3658 | char **argv;
|
---|
3659 | int
|
---|
3660 | main ()
|
---|
3661 | {
|
---|
3662 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
3663 | ;
|
---|
3664 | return 0;
|
---|
3665 | }
|
---|
3666 | _ACEOF
|
---|
3667 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
3668 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
3669 | do
|
---|
3670 | CC="$ac_save_CC $ac_arg"
|
---|
3671 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
3672 | ac_cv_prog_cc_c89=$ac_arg
|
---|
3673 | fi
|
---|
3674 | rm -f core conftest.err conftest.$ac_objext
|
---|
3675 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
3676 | done
|
---|
3677 | rm -f conftest.$ac_ext
|
---|
3678 | CC=$ac_save_CC
|
---|
3679 |
|
---|
3680 | fi
|
---|
3681 | # AC_CACHE_VAL
|
---|
3682 | case "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; } ;;
|
---|
3693 | esac
|
---|
3694 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
3695 |
|
---|
3696 | fi
|
---|
3697 |
|
---|
3698 | ac_ext=c
|
---|
3699 | ac_cpp='$CPP $CPPFLAGS'
|
---|
3700 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
3701 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
3702 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
3703 |
|
---|
3704 | depcc="$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; }
|
---|
3708 | if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
---|
3709 | $as_echo_n "(cached) " >&6
|
---|
3710 | else
|
---|
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
|
---|
3812 | else
|
---|
3813 | am_cv_CC_dependencies_compiler_type=none
|
---|
3814 | fi
|
---|
3815 |
|
---|
3816 | fi
|
---|
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; }
|
---|
3819 | CCDEPMODE=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='#'
|
---|
3826 | else
|
---|
3827 | am__fastdepCC_TRUE='#'
|
---|
3828 | am__fastdepCC_FALSE=
|
---|
3829 | fi
|
---|
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; }
|
---|
3835 | if ${ac_cv_lib_mpi_MPI_Init+:} false; then :
|
---|
3836 | $as_echo_n "(cached) " >&6
|
---|
3837 | else
|
---|
3838 | ac_check_lib_save_LIBS=$LIBS
|
---|
3839 | LIBS="-lmpi $LIBS"
|
---|
3840 | cat 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
|
---|
3847 | extern "C"
|
---|
3848 | #endif
|
---|
3849 | char MPI_Init ();
|
---|
3850 | int
|
---|
3851 | main ()
|
---|
3852 | {
|
---|
3853 | return MPI_Init ();
|
---|
3854 | ;
|
---|
3855 | return 0;
|
---|
3856 | }
|
---|
3857 | _ACEOF
|
---|
3858 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
3859 | ac_cv_lib_mpi_MPI_Init=yes
|
---|
3860 | else
|
---|
3861 | ac_cv_lib_mpi_MPI_Init=no
|
---|
3862 | fi
|
---|
3863 | rm -f core conftest.err conftest.$ac_objext \
|
---|
3864 | conftest$ac_exeext conftest.$ac_ext
|
---|
3865 | LIBS=$ac_check_lib_save_LIBS
|
---|
3866 | fi
|
---|
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; }
|
---|
3869 | if 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 |
|
---|
3876 | fi
|
---|
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
|
---|
3886 | ac_config_files="$ac_config_files Makefile"
|
---|
3887 |
|
---|
3888 | cat >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
|
---|
3950 | if 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
|
---|
3971 | fi
|
---|
3972 | rm -f confcache
|
---|
3973 |
|
---|
3974 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
3975 | # Let make expand exec_prefix.
|
---|
3976 | test "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.
|
---|
3985 | ac_script='
|
---|
3986 | :mline
|
---|
3987 | /\\$/{
|
---|
3988 | N
|
---|
3989 | s,\\\n,,
|
---|
3990 | b mline
|
---|
3991 | }
|
---|
3992 | t clear
|
---|
3993 | :clear
|
---|
3994 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
---|
3995 | t quote
|
---|
3996 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
---|
3997 | t quote
|
---|
3998 | b any
|
---|
3999 | :quote
|
---|
4000 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
---|
4001 | s/\[/\\&/g
|
---|
4002 | s/\]/\\&/g
|
---|
4003 | s/\$/$$/g
|
---|
4004 | H
|
---|
4005 | :any
|
---|
4006 | ${
|
---|
4007 | g
|
---|
4008 | s/^\n//
|
---|
4009 | s/\n/ /g
|
---|
4010 | p
|
---|
4011 | }
|
---|
4012 | '
|
---|
4013 | DEFS=`sed -n "$ac_script" confdefs.h`
|
---|
4014 |
|
---|
4015 |
|
---|
4016 | ac_libobjs=
|
---|
4017 | ac_ltlibobjs=
|
---|
4018 | U=
|
---|
4019 | for 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'
|
---|
4027 | done
|
---|
4028 | LIBOBJS=$ac_libobjs
|
---|
4029 |
|
---|
4030 | LTLIBOBJS=$ac_ltlibobjs
|
---|
4031 |
|
---|
4032 |
|
---|
4033 | if test -n "$EXEEXT"; then
|
---|
4034 | am__EXEEXT_TRUE=
|
---|
4035 | am__EXEEXT_FALSE='#'
|
---|
4036 | else
|
---|
4037 | am__EXEEXT_TRUE='#'
|
---|
4038 | am__EXEEXT_FALSE=
|
---|
4039 | fi
|
---|
4040 |
|
---|
4041 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
---|
4042 | as_fn_error $? "conditional \"AMDEP\" was never defined.
|
---|
4043 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
4044 | fi
|
---|
4045 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
---|
4046 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
|
---|
4047 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
4048 | fi
|
---|
4049 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
---|
4050 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
---|
4051 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
---|
4052 | fi
|
---|
4053 |
|
---|
4054 | : "${CONFIG_STATUS=./config.status}"
|
---|
4055 | ac_write_fail=0
|
---|
4056 | ac_clean_files_save=$ac_clean_files
|
---|
4057 | ac_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;}
|
---|
4060 | as_write_fail=0
|
---|
4061 | cat >$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 |
|
---|
4068 | debug=false
|
---|
4069 | ac_cs_recheck=false
|
---|
4070 | ac_cs_silent=false
|
---|
4071 |
|
---|
4072 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
4073 | export SHELL
|
---|
4074 | _ASEOF
|
---|
4075 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
4076 | ## -------------------- ##
|
---|
4077 | ## M4sh Initialization. ##
|
---|
4078 | ## -------------------- ##
|
---|
4079 |
|
---|
4080 | # Be more Bourne compatible
|
---|
4081 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
4082 | if 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
|
---|
4089 | else
|
---|
4090 | case `(set -o) 2>/dev/null` in #(
|
---|
4091 | *posix*) :
|
---|
4092 | set -o posix ;; #(
|
---|
4093 | *) :
|
---|
4094 | ;;
|
---|
4095 | esac
|
---|
4096 | fi
|
---|
4097 |
|
---|
4098 |
|
---|
4099 | as_nl='
|
---|
4100 | '
|
---|
4101 | export as_nl
|
---|
4102 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
4103 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
4104 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
4105 | as_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.
|
---|
4108 | if 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 --'
|
---|
4112 | elif (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'
|
---|
4115 | else
|
---|
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'
|
---|
4135 | fi
|
---|
4136 |
|
---|
4137 | # The user is always right.
|
---|
4138 | if 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 | }
|
---|
4144 | fi
|
---|
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.)
|
---|
4152 | IFS=" "" $as_nl"
|
---|
4153 |
|
---|
4154 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
4155 | as_myself=
|
---|
4156 | case $0 in #((
|
---|
4157 | *[\\/]* ) as_myself=$0 ;;
|
---|
4158 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
4159 | for as_dir in $PATH
|
---|
4160 | do
|
---|
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
|
---|
4165 | IFS=$as_save_IFS
|
---|
4166 |
|
---|
4167 | ;;
|
---|
4168 | esac
|
---|
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.
|
---|
4171 | if test "x$as_myself" = x; then
|
---|
4172 | as_myself=$0
|
---|
4173 | fi
|
---|
4174 | if test ! -f "$as_myself"; then
|
---|
4175 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
4176 | exit 1
|
---|
4177 | fi
|
---|
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.
|
---|
4183 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
4184 | do eval test x\${$as_var+set} = xset \
|
---|
4185 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
4186 | done
|
---|
4187 | PS1='$ '
|
---|
4188 | PS2='> '
|
---|
4189 | PS4='+ '
|
---|
4190 |
|
---|
4191 | # NLS nuisances.
|
---|
4192 | LC_ALL=C
|
---|
4193 | export LC_ALL
|
---|
4194 | LANGUAGE=C
|
---|
4195 | export 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.
|
---|
4206 | as_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.
|
---|
4221 | as_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.
|
---|
4229 | as_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.
|
---|
4239 | as_fn_unset ()
|
---|
4240 | {
|
---|
4241 | { eval $1=; unset $1;}
|
---|
4242 | }
|
---|
4243 | as_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.
|
---|
4250 | if (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 | }'
|
---|
4255 | else
|
---|
4256 | as_fn_append ()
|
---|
4257 | {
|
---|
4258 | eval $1=\$$1\$2
|
---|
4259 | }
|
---|
4260 | fi # 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.
|
---|
4267 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
4268 | eval 'as_fn_arith ()
|
---|
4269 | {
|
---|
4270 | as_val=$(( $* ))
|
---|
4271 | }'
|
---|
4272 | else
|
---|
4273 | as_fn_arith ()
|
---|
4274 | {
|
---|
4275 | as_val=`expr "$@" || test $? -eq 1`
|
---|
4276 | }
|
---|
4277 | fi # as_fn_arith
|
---|
4278 |
|
---|
4279 |
|
---|
4280 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
4281 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
4282 | as_expr=expr
|
---|
4283 | else
|
---|
4284 | as_expr=false
|
---|
4285 | fi
|
---|
4286 |
|
---|
4287 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
4288 | as_basename=basename
|
---|
4289 | else
|
---|
4290 | as_basename=false
|
---|
4291 | fi
|
---|
4292 |
|
---|
4293 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
4294 | as_dirname=dirname
|
---|
4295 | else
|
---|
4296 | as_dirname=false
|
---|
4297 | fi
|
---|
4298 |
|
---|
4299 | as_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.
|
---|
4319 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
4320 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
4321 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
4322 | as_cr_digits='0123456789'
|
---|
4323 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
4324 |
|
---|
4325 | ECHO_C= ECHO_N= ECHO_T=
|
---|
4326 | case `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';;
|
---|
4336 | esac
|
---|
4337 |
|
---|
4338 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
4339 | if test -d conf$$.dir; then
|
---|
4340 | rm -f conf$$.dir/conf$$.file
|
---|
4341 | else
|
---|
4342 | rm -f conf$$.dir
|
---|
4343 | mkdir conf$$.dir 2>/dev/null
|
---|
4344 | fi
|
---|
4345 | if (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
|
---|
4359 | else
|
---|
4360 | as_ln_s='cp -pR'
|
---|
4361 | fi
|
---|
4362 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
4363 | rmdir conf$$.dir 2>/dev/null
|
---|
4364 |
|
---|
4365 |
|
---|
4366 | # as_fn_mkdir_p
|
---|
4367 | # -------------
|
---|
4368 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
4369 | as_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
|
---|
4413 | if mkdir -p . 2>/dev/null; then
|
---|
4414 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
4415 | else
|
---|
4416 | test -d ./-p && rmdir ./-p
|
---|
4417 | as_mkdir_p=false
|
---|
4418 | fi
|
---|
4419 |
|
---|
4420 |
|
---|
4421 | # as_fn_executable_p FILE
|
---|
4422 | # -----------------------
|
---|
4423 | # Test if FILE is an executable regular file.
|
---|
4424 | as_fn_executable_p ()
|
---|
4425 | {
|
---|
4426 | test -f "$1" && test -x "$1"
|
---|
4427 | } # as_fn_executable_p
|
---|
4428 | as_test_x='test -x'
|
---|
4429 | as_executable_p=as_fn_executable_p
|
---|
4430 |
|
---|
4431 | # Sed expression to map a string onto a valid CPP name.
|
---|
4432 | as_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.
|
---|
4435 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
4436 |
|
---|
4437 |
|
---|
4438 | exec 6>&1
|
---|
4439 | ## ----------------------------------- ##
|
---|
4440 | ## Main body of $CONFIG_STATUS script. ##
|
---|
4441 | ## ----------------------------------- ##
|
---|
4442 | _ASEOF
|
---|
4443 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
4444 |
|
---|
4445 | cat >>$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.
|
---|
4449 | ac_log="
|
---|
4450 | This file was extended by mpidspacemediafilter $as_me 1.0, which was
|
---|
4451 | generated 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 |
|
---|
4459 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
4460 | "
|
---|
4461 |
|
---|
4462 | _ACEOF
|
---|
4463 |
|
---|
4464 | case $ac_config_files in *"
|
---|
4465 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
4466 | esac
|
---|
4467 |
|
---|
4468 |
|
---|
4469 |
|
---|
4470 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4471 | # Files that config.status was made for.
|
---|
4472 | config_files="$ac_config_files"
|
---|
4473 | config_commands="$ac_config_commands"
|
---|
4474 |
|
---|
4475 | _ACEOF
|
---|
4476 |
|
---|
4477 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4478 | ac_cs_usage="\
|
---|
4479 | \`$as_me' instantiates files and other configuration actions
|
---|
4480 | from templates according to the current configuration. Unless the files
|
---|
4481 | and actions are specified as TAGs, all are instantiated by default.
|
---|
4482 |
|
---|
4483 | Usage: $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 |
|
---|
4495 | Configuration files:
|
---|
4496 | $config_files
|
---|
4497 |
|
---|
4498 | Configuration commands:
|
---|
4499 | $config_commands
|
---|
4500 |
|
---|
4501 | Report bugs to <[email protected]>."
|
---|
4502 |
|
---|
4503 | _ACEOF
|
---|
4504 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4505 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
4506 | ac_cs_version="\\
|
---|
4507 | mpidspacemediafilter config.status 1.0
|
---|
4508 | configured by $0, generated by GNU Autoconf 2.69,
|
---|
4509 | with options \\"\$ac_cs_config\\"
|
---|
4510 |
|
---|
4511 | Copyright (C) 2012 Free Software Foundation, Inc.
|
---|
4512 | This config.status script is free software; the Free Software Foundation
|
---|
4513 | gives unlimited permission to copy, distribute and modify it."
|
---|
4514 |
|
---|
4515 | ac_pwd='$ac_pwd'
|
---|
4516 | srcdir='$srcdir'
|
---|
4517 | INSTALL='$INSTALL'
|
---|
4518 | MKDIR_P='$MKDIR_P'
|
---|
4519 | AWK='$AWK'
|
---|
4520 | test -n "\$AWK" || AWK=awk
|
---|
4521 | _ACEOF
|
---|
4522 |
|
---|
4523 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4524 | # The default lists apply if the user does not specify any file.
|
---|
4525 | ac_need_defaults=:
|
---|
4526 | while test $# != 0
|
---|
4527 | do
|
---|
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'
|
---|
4572 | Try \`$0 --help' for more information." ;;
|
---|
4573 |
|
---|
4574 | *) as_fn_append ac_config_targets " $1"
|
---|
4575 | ac_need_defaults=false ;;
|
---|
4576 |
|
---|
4577 | esac
|
---|
4578 | shift
|
---|
4579 | done
|
---|
4580 |
|
---|
4581 | ac_configure_extra_args=
|
---|
4582 |
|
---|
4583 | if $ac_cs_silent; then
|
---|
4584 | exec 6>/dev/null
|
---|
4585 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
4586 | fi
|
---|
4587 |
|
---|
4588 | _ACEOF
|
---|
4589 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4590 | if \$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 "\$@"
|
---|
4597 | fi
|
---|
4598 |
|
---|
4599 | _ACEOF
|
---|
4600 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4601 | exec 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
|
---|
4611 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4612 | #
|
---|
4613 | # INIT-COMMANDS
|
---|
4614 | #
|
---|
4615 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
---|
4616 |
|
---|
4617 | _ACEOF
|
---|
4618 |
|
---|
4619 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4620 |
|
---|
4621 | # Handling of arguments.
|
---|
4622 | for ac_config_target in $ac_config_targets
|
---|
4623 | do
|
---|
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
|
---|
4630 | done
|
---|
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.
|
---|
4637 | if $ac_need_defaults; then
|
---|
4638 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
4639 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
---|
4640 | fi
|
---|
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
|
---|
4667 | ac_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'.
|
---|
4672 | if test -n "$CONFIG_FILES"; then
|
---|
4673 |
|
---|
4674 |
|
---|
4675 | ac_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.
|
---|
4679 | if test "x$ac_cr" = x; then
|
---|
4680 | eval ac_cr=\$\'\\r\'
|
---|
4681 | fi
|
---|
4682 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
4683 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
4684 | ac_cs_awk_cr='\\r'
|
---|
4685 | else
|
---|
4686 | ac_cs_awk_cr=$ac_cr
|
---|
4687 | fi
|
---|
4688 |
|
---|
4689 | echo '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
|
---|
4699 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
4700 | ac_delim='%!_!# '
|
---|
4701 | for 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
|
---|
4713 | done
|
---|
4714 | rm -f conf$$subs.sh
|
---|
4715 |
|
---|
4716 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4717 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
---|
4718 | _ACEOF
|
---|
4719 | sed -n '
|
---|
4720 | h
|
---|
4721 | s/^/S["/; s/!.*/"]=/
|
---|
4722 | p
|
---|
4723 | g
|
---|
4724 | s/^[^!]*!//
|
---|
4725 | :repl
|
---|
4726 | t repl
|
---|
4727 | s/'"$ac_delim"'$//
|
---|
4728 | t delim
|
---|
4729 | :nl
|
---|
4730 | h
|
---|
4731 | s/\(.\{148\}\)..*/\1/
|
---|
4732 | t more1
|
---|
4733 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
4734 | p
|
---|
4735 | n
|
---|
4736 | b repl
|
---|
4737 | :more1
|
---|
4738 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
4739 | p
|
---|
4740 | g
|
---|
4741 | s/.\{148\}//
|
---|
4742 | t nl
|
---|
4743 | :delim
|
---|
4744 | h
|
---|
4745 | s/\(.\{148\}\)..*/\1/
|
---|
4746 | t more2
|
---|
4747 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
4748 | p
|
---|
4749 | b
|
---|
4750 | :more2
|
---|
4751 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
4752 | p
|
---|
4753 | g
|
---|
4754 | s/.\{148\}//
|
---|
4755 | t delim
|
---|
4756 | ' <conf$$subs.awk | sed '
|
---|
4757 | /^[^""]/{
|
---|
4758 | N
|
---|
4759 | s/\n//
|
---|
4760 | }
|
---|
4761 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
4762 | rm -f conf$$subs.awk
|
---|
4763 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
4764 | _ACAWK
|
---|
4765 | cat >>"\$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
|
---|
4792 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4793 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
4794 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
4795 | else
|
---|
4796 | cat
|
---|
4797 | fi < "$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).
|
---|
4805 | if test "x$srcdir" = x.; then
|
---|
4806 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
4807 | h
|
---|
4808 | s///
|
---|
4809 | s/^/:/
|
---|
4810 | s/[ ]*$/:/
|
---|
4811 | s/:\$(srcdir):/:/g
|
---|
4812 | s/:\${srcdir}:/:/g
|
---|
4813 | s/:@srcdir@:/:/g
|
---|
4814 | s/^:*//
|
---|
4815 | s/:*$//
|
---|
4816 | x
|
---|
4817 | s/\(=[ ]*\).*/\1/
|
---|
4818 | G
|
---|
4819 | s/\n//
|
---|
4820 | s/^[^=]*=[ ]*$//
|
---|
4821 | }'
|
---|
4822 | fi
|
---|
4823 |
|
---|
4824 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
4825 | fi # test -n "$CONFIG_FILES"
|
---|
4826 |
|
---|
4827 |
|
---|
4828 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
|
---|
4829 | shift
|
---|
4830 | for ac_tag
|
---|
4831 | do
|
---|
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 |
|
---|
4923 | case "$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 ;;
|
---|
4933 | esac
|
---|
4934 | ac_abs_top_builddir=$ac_pwd
|
---|
4935 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
4936 | # for backward compatibility:
|
---|
4937 | ac_top_builddir=$ac_top_build_prefix
|
---|
4938 |
|
---|
4939 | case $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 ;;
|
---|
4952 | esac
|
---|
4953 | ac_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 |
|
---|
4973 | cat >>$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.
|
---|
4976 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
4977 | ac_sed_dataroot='
|
---|
4978 | /datarootdir/ {
|
---|
4979 | p
|
---|
4980 | q
|
---|
4981 | }
|
---|
4982 | /@datadir@/p
|
---|
4983 | /@docdir@/p
|
---|
4984 | /@infodir@/p
|
---|
4985 | /@localedir@/p
|
---|
4986 | /@mandir@/p'
|
---|
4987 | case `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
|
---|
4993 | cat >>$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' ;;
|
---|
5001 | esac
|
---|
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?
|
---|
5007 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
5008 | ac_sed_extra="$ac_vpsub
|
---|
5009 | $extrasub
|
---|
5010 | _ACEOF
|
---|
5011 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
5012 | :t
|
---|
5013 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
5014 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
5015 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
5016 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
5017 | s&@srcdir@&$ac_srcdir&;t t
|
---|
5018 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
5019 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
5020 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
5021 | s&@builddir@&$ac_builddir&;t t
|
---|
5022 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
5023 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
5024 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
5025 | s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
---|
5026 | $ac_datarootdir_hack
|
---|
5027 | "
|
---|
5028 | eval 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 |
|
---|
5031 | test -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'
|
---|
5036 | which 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'
|
---|
5038 | which 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
|
---|
5153 | done # for ac_tag
|
---|
5154 |
|
---|
5155 |
|
---|
5156 | as_fn_exit 0
|
---|
5157 | _ACEOF
|
---|
5158 | ac_clean_files=$ac_clean_files_save
|
---|
5159 |
|
---|
5160 | test $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.
|
---|
5172 | if 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
|
---|
5183 | fi
|
---|
5184 | if 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;}
|
---|
5187 | fi
|
---|