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