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