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