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