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