1 | #! /bin/sh
|
---|
2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
3 | # Generated by GNU Autoconf 2.59.
|
---|
4 | #
|
---|
5 | # Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
6 | # This configure script is free software; the Free Software Foundation
|
---|
7 | # gives unlimited permission to copy, distribute and modify it.
|
---|
8 | ## --------------------- ##
|
---|
9 | ## M4sh Initialization. ##
|
---|
10 | ## --------------------- ##
|
---|
11 |
|
---|
12 | # Be Bourne compatible
|
---|
13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
14 | emulate sh
|
---|
15 | NULLCMD=:
|
---|
16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
17 | # is contrary to our usage. Disable this feature.
|
---|
18 | alias -g '${1+"$@"}'='"$@"'
|
---|
19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
20 | set -o posix
|
---|
21 | fi
|
---|
22 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
23 |
|
---|
24 | # Support unset when possible.
|
---|
25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
26 | as_unset=unset
|
---|
27 | else
|
---|
28 | as_unset=false
|
---|
29 | fi
|
---|
30 |
|
---|
31 |
|
---|
32 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
33 | $as_unset ENV MAIL MAILPATH
|
---|
34 | PS1='$ '
|
---|
35 | PS2='> '
|
---|
36 | PS4='+ '
|
---|
37 |
|
---|
38 | # NLS nuisances.
|
---|
39 | for as_var in \
|
---|
40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
42 | LC_TELEPHONE LC_TIME
|
---|
43 | do
|
---|
44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
45 | eval $as_var=C; export $as_var
|
---|
46 | else
|
---|
47 | $as_unset $as_var
|
---|
48 | fi
|
---|
49 | done
|
---|
50 |
|
---|
51 | # Required to use basename.
|
---|
52 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
53 | as_expr=expr
|
---|
54 | else
|
---|
55 | as_expr=false
|
---|
56 | fi
|
---|
57 |
|
---|
58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
59 | as_basename=basename
|
---|
60 | else
|
---|
61 | as_basename=false
|
---|
62 | fi
|
---|
63 |
|
---|
64 |
|
---|
65 | # Name of the executable.
|
---|
66 | as_me=`$as_basename "$0" ||
|
---|
67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
68 | X"$0" : 'X\(//\)$' \| \
|
---|
69 | X"$0" : 'X\(/\)$' \| \
|
---|
70 | . : '\(.\)' 2>/dev/null ||
|
---|
71 | echo X/"$0" |
|
---|
72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
73 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
74 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
75 | s/.*/./; q'`
|
---|
76 |
|
---|
77 |
|
---|
78 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
79 | # Avoid depending upon Character Ranges.
|
---|
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
83 | as_cr_digits='0123456789'
|
---|
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
85 |
|
---|
86 | # The user is always right.
|
---|
87 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
88 | echo "#! /bin/sh" >conf$$.sh
|
---|
89 | echo "exit 0" >>conf$$.sh
|
---|
90 | chmod +x conf$$.sh
|
---|
91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
92 | PATH_SEPARATOR=';'
|
---|
93 | else
|
---|
94 | PATH_SEPARATOR=:
|
---|
95 | fi
|
---|
96 | rm -f conf$$.sh
|
---|
97 | fi
|
---|
98 |
|
---|
99 |
|
---|
100 | as_lineno_1=$LINENO
|
---|
101 | as_lineno_2=$LINENO
|
---|
102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
103 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
104 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
105 | # Find who we are. Look in the path if we contain no path at all
|
---|
106 | # relative or not.
|
---|
107 | case $0 in
|
---|
108 | *[\\/]* ) as_myself=$0 ;;
|
---|
109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
110 | for as_dir in $PATH
|
---|
111 | do
|
---|
112 | IFS=$as_save_IFS
|
---|
113 | test -z "$as_dir" && as_dir=.
|
---|
114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
115 | done
|
---|
116 |
|
---|
117 | ;;
|
---|
118 | esac
|
---|
119 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
120 | # in which case we are not to be found in the path.
|
---|
121 | if test "x$as_myself" = x; then
|
---|
122 | as_myself=$0
|
---|
123 | fi
|
---|
124 | if test ! -f "$as_myself"; then
|
---|
125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
---|
126 | { (exit 1); exit 1; }; }
|
---|
127 | fi
|
---|
128 | case $CONFIG_SHELL in
|
---|
129 | '')
|
---|
130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
132 | do
|
---|
133 | IFS=$as_save_IFS
|
---|
134 | test -z "$as_dir" && as_dir=.
|
---|
135 | for as_base in sh bash ksh sh5; do
|
---|
136 | case $as_dir in
|
---|
137 | /*)
|
---|
138 | if ("$as_dir/$as_base" -c '
|
---|
139 | as_lineno_1=$LINENO
|
---|
140 | as_lineno_2=$LINENO
|
---|
141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
142 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
146 | CONFIG_SHELL=$as_dir/$as_base
|
---|
147 | export CONFIG_SHELL
|
---|
148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
149 | fi;;
|
---|
150 | esac
|
---|
151 | done
|
---|
152 | done
|
---|
153 | ;;
|
---|
154 | esac
|
---|
155 |
|
---|
156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
157 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
158 | # line-number line before each line; the second 'sed' does the real
|
---|
159 | # work. The second script uses 'N' to pair each line-number line
|
---|
160 | # with the numbered line, and appends trailing '-' during
|
---|
161 | # substitution so that $LINENO is not a special case at line end.
|
---|
162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
164 | sed '=' <$as_myself |
|
---|
165 | sed '
|
---|
166 | N
|
---|
167 | s,$,-,
|
---|
168 | : loop
|
---|
169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
170 | t loop
|
---|
171 | s,-$,,
|
---|
172 | s,^['$as_cr_digits']*\n,,
|
---|
173 | ' >$as_me.lineno &&
|
---|
174 | chmod +x $as_me.lineno ||
|
---|
175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
176 | { (exit 1); exit 1; }; }
|
---|
177 |
|
---|
178 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
179 | # (the dirname of $[0] is not the place where we might find the
|
---|
180 | # original and so on. Autoconf is especially sensible to this).
|
---|
181 | . ./$as_me.lineno
|
---|
182 | # Exit status is that of the last command.
|
---|
183 | exit
|
---|
184 | }
|
---|
185 |
|
---|
186 |
|
---|
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
188 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
189 | ' ECHO_T=' ' ;;
|
---|
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
192 | esac
|
---|
193 |
|
---|
194 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
195 | as_expr=expr
|
---|
196 | else
|
---|
197 | as_expr=false
|
---|
198 | fi
|
---|
199 |
|
---|
200 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
201 | echo >conf$$.file
|
---|
202 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
203 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
205 | if test -f conf$$.exe; then
|
---|
206 | # Don't use ln at all; we don't have any links
|
---|
207 | as_ln_s='cp -p'
|
---|
208 | else
|
---|
209 | as_ln_s='ln -s'
|
---|
210 | fi
|
---|
211 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
212 | as_ln_s=ln
|
---|
213 | else
|
---|
214 | as_ln_s='cp -p'
|
---|
215 | fi
|
---|
216 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
217 |
|
---|
218 | if mkdir -p . 2>/dev/null; then
|
---|
219 | as_mkdir_p=:
|
---|
220 | else
|
---|
221 | test -d ./-p && rmdir ./-p
|
---|
222 | as_mkdir_p=false
|
---|
223 | fi
|
---|
224 |
|
---|
225 | as_executable_p="test -f"
|
---|
226 |
|
---|
227 | # Sed expression to map a string onto a valid CPP name.
|
---|
228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
229 |
|
---|
230 | # Sed expression to map a string onto a valid variable name.
|
---|
231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
232 |
|
---|
233 |
|
---|
234 | # IFS
|
---|
235 | # We need space, tab and new line, in precisely that order.
|
---|
236 | as_nl='
|
---|
237 | '
|
---|
238 | IFS=" $as_nl"
|
---|
239 |
|
---|
240 | # CDPATH.
|
---|
241 | $as_unset CDPATH
|
---|
242 |
|
---|
243 |
|
---|
244 | # Name of the host.
|
---|
245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
---|
246 | # so uname gets run too.
|
---|
247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
248 |
|
---|
249 | exec 6>&1
|
---|
250 |
|
---|
251 | #
|
---|
252 | # Initializations.
|
---|
253 | #
|
---|
254 | ac_default_prefix=/usr/local
|
---|
255 | ac_config_libobj_dir=.
|
---|
256 | cross_compiling=no
|
---|
257 | subdirs=
|
---|
258 | MFLAGS=
|
---|
259 | MAKEFLAGS=
|
---|
260 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
261 |
|
---|
262 | # Maximum number of lines to put in a shell here document.
|
---|
263 | # This variable seems obsolete. It should probably be removed, and
|
---|
264 | # only ac_max_sed_lines should be used.
|
---|
265 | : ${ac_max_here_lines=38}
|
---|
266 |
|
---|
267 | # Identity of this package.
|
---|
268 | PACKAGE_NAME=
|
---|
269 | PACKAGE_TARNAME=
|
---|
270 | PACKAGE_VERSION=
|
---|
271 | PACKAGE_STRING=
|
---|
272 | PACKAGE_BUGREPORT=
|
---|
273 |
|
---|
274 | 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 PACKAGE VERSION LIBOBJS LTLIBOBJS'
|
---|
275 | ac_subst_files=''
|
---|
276 |
|
---|
277 | # Initialize some variables set by options.
|
---|
278 | ac_init_help=
|
---|
279 | ac_init_version=false
|
---|
280 | # The variables have the same names as the options, with
|
---|
281 | # dashes changed to underlines.
|
---|
282 | cache_file=/dev/null
|
---|
283 | exec_prefix=NONE
|
---|
284 | no_create=
|
---|
285 | no_recursion=
|
---|
286 | prefix=NONE
|
---|
287 | program_prefix=NONE
|
---|
288 | program_suffix=NONE
|
---|
289 | program_transform_name=s,x,x,
|
---|
290 | silent=
|
---|
291 | site=
|
---|
292 | srcdir=
|
---|
293 | verbose=
|
---|
294 | x_includes=NONE
|
---|
295 | x_libraries=NONE
|
---|
296 |
|
---|
297 | # Installation directory options.
|
---|
298 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
299 | # and all the variables that are supposed to be based on exec_prefix
|
---|
300 | # by default will actually change.
|
---|
301 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
302 | bindir='${exec_prefix}/bin'
|
---|
303 | sbindir='${exec_prefix}/sbin'
|
---|
304 | libexecdir='${exec_prefix}/libexec'
|
---|
305 | datadir='${prefix}/share'
|
---|
306 | sysconfdir='${prefix}/etc'
|
---|
307 | sharedstatedir='${prefix}/com'
|
---|
308 | localstatedir='${prefix}/var'
|
---|
309 | libdir='${exec_prefix}/lib'
|
---|
310 | includedir='${prefix}/include'
|
---|
311 | oldincludedir='/usr/include'
|
---|
312 | infodir='${prefix}/info'
|
---|
313 | mandir='${prefix}/man'
|
---|
314 |
|
---|
315 | ac_prev=
|
---|
316 | for ac_option
|
---|
317 | do
|
---|
318 | # If the previous option needs an argument, assign it.
|
---|
319 | if test -n "$ac_prev"; then
|
---|
320 | eval "$ac_prev=\$ac_option"
|
---|
321 | ac_prev=
|
---|
322 | continue
|
---|
323 | fi
|
---|
324 |
|
---|
325 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
---|
326 |
|
---|
327 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
328 |
|
---|
329 | case $ac_option in
|
---|
330 |
|
---|
331 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
332 | ac_prev=bindir ;;
|
---|
333 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
334 | bindir=$ac_optarg ;;
|
---|
335 |
|
---|
336 | -build | --build | --buil | --bui | --bu)
|
---|
337 | ac_prev=build_alias ;;
|
---|
338 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
339 | build_alias=$ac_optarg ;;
|
---|
340 |
|
---|
341 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
342 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
343 | ac_prev=cache_file ;;
|
---|
344 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
345 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
346 | cache_file=$ac_optarg ;;
|
---|
347 |
|
---|
348 | --config-cache | -C)
|
---|
349 | cache_file=config.cache ;;
|
---|
350 |
|
---|
351 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
---|
352 | ac_prev=datadir ;;
|
---|
353 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
---|
354 | | --da=*)
|
---|
355 | datadir=$ac_optarg ;;
|
---|
356 |
|
---|
357 | -disable-* | --disable-*)
|
---|
358 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
359 | # Reject names that are not valid shell variable names.
|
---|
360 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
361 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
362 | { (exit 1); exit 1; }; }
|
---|
363 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
364 | eval "enable_$ac_feature=no" ;;
|
---|
365 |
|
---|
366 | -enable-* | --enable-*)
|
---|
367 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
368 | # Reject names that are not valid shell variable names.
|
---|
369 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
370 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
371 | { (exit 1); exit 1; }; }
|
---|
372 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
373 | case $ac_option in
|
---|
374 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
375 | *) ac_optarg=yes ;;
|
---|
376 | esac
|
---|
377 | eval "enable_$ac_feature='$ac_optarg'" ;;
|
---|
378 |
|
---|
379 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
380 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
381 | | --exec | --exe | --ex)
|
---|
382 | ac_prev=exec_prefix ;;
|
---|
383 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
384 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
385 | | --exec=* | --exe=* | --ex=*)
|
---|
386 | exec_prefix=$ac_optarg ;;
|
---|
387 |
|
---|
388 | -gas | --gas | --ga | --g)
|
---|
389 | # Obsolete; use --with-gas.
|
---|
390 | with_gas=yes ;;
|
---|
391 |
|
---|
392 | -help | --help | --hel | --he | -h)
|
---|
393 | ac_init_help=long ;;
|
---|
394 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
395 | ac_init_help=recursive ;;
|
---|
396 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
397 | ac_init_help=short ;;
|
---|
398 |
|
---|
399 | -host | --host | --hos | --ho)
|
---|
400 | ac_prev=host_alias ;;
|
---|
401 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
402 | host_alias=$ac_optarg ;;
|
---|
403 |
|
---|
404 | -includedir | --includedir | --includedi | --included | --include \
|
---|
405 | | --includ | --inclu | --incl | --inc)
|
---|
406 | ac_prev=includedir ;;
|
---|
407 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
408 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
409 | includedir=$ac_optarg ;;
|
---|
410 |
|
---|
411 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
412 | ac_prev=infodir ;;
|
---|
413 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
414 | infodir=$ac_optarg ;;
|
---|
415 |
|
---|
416 | -libdir | --libdir | --libdi | --libd)
|
---|
417 | ac_prev=libdir ;;
|
---|
418 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
419 | libdir=$ac_optarg ;;
|
---|
420 |
|
---|
421 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
422 | | --libexe | --libex | --libe)
|
---|
423 | ac_prev=libexecdir ;;
|
---|
424 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
425 | | --libexe=* | --libex=* | --libe=*)
|
---|
426 | libexecdir=$ac_optarg ;;
|
---|
427 |
|
---|
428 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
429 | | --localstate | --localstat | --localsta | --localst \
|
---|
430 | | --locals | --local | --loca | --loc | --lo)
|
---|
431 | ac_prev=localstatedir ;;
|
---|
432 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
433 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
---|
434 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
---|
435 | localstatedir=$ac_optarg ;;
|
---|
436 |
|
---|
437 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
438 | ac_prev=mandir ;;
|
---|
439 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
440 | mandir=$ac_optarg ;;
|
---|
441 |
|
---|
442 | -nfp | --nfp | --nf)
|
---|
443 | # Obsolete; use --without-fp.
|
---|
444 | with_fp=no ;;
|
---|
445 |
|
---|
446 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
447 | | --no-cr | --no-c | -n)
|
---|
448 | no_create=yes ;;
|
---|
449 |
|
---|
450 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
451 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
452 | no_recursion=yes ;;
|
---|
453 |
|
---|
454 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
455 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
456 | | --oldin | --oldi | --old | --ol | --o)
|
---|
457 | ac_prev=oldincludedir ;;
|
---|
458 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
459 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
460 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
461 | oldincludedir=$ac_optarg ;;
|
---|
462 |
|
---|
463 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
464 | ac_prev=prefix ;;
|
---|
465 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
466 | prefix=$ac_optarg ;;
|
---|
467 |
|
---|
468 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
469 | | --program-pre | --program-pr | --program-p)
|
---|
470 | ac_prev=program_prefix ;;
|
---|
471 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
472 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
473 | program_prefix=$ac_optarg ;;
|
---|
474 |
|
---|
475 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
476 | | --program-suf | --program-su | --program-s)
|
---|
477 | ac_prev=program_suffix ;;
|
---|
478 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
479 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
480 | program_suffix=$ac_optarg ;;
|
---|
481 |
|
---|
482 | -program-transform-name | --program-transform-name \
|
---|
483 | | --program-transform-nam | --program-transform-na \
|
---|
484 | | --program-transform-n | --program-transform- \
|
---|
485 | | --program-transform | --program-transfor \
|
---|
486 | | --program-transfo | --program-transf \
|
---|
487 | | --program-trans | --program-tran \
|
---|
488 | | --progr-tra | --program-tr | --program-t)
|
---|
489 | ac_prev=program_transform_name ;;
|
---|
490 | -program-transform-name=* | --program-transform-name=* \
|
---|
491 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
492 | | --program-transform-n=* | --program-transform-=* \
|
---|
493 | | --program-transform=* | --program-transfor=* \
|
---|
494 | | --program-transfo=* | --program-transf=* \
|
---|
495 | | --program-trans=* | --program-tran=* \
|
---|
496 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
497 | program_transform_name=$ac_optarg ;;
|
---|
498 |
|
---|
499 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
500 | | -silent | --silent | --silen | --sile | --sil)
|
---|
501 | silent=yes ;;
|
---|
502 |
|
---|
503 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
504 | ac_prev=sbindir ;;
|
---|
505 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
506 | | --sbi=* | --sb=*)
|
---|
507 | sbindir=$ac_optarg ;;
|
---|
508 |
|
---|
509 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
510 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
511 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
512 | | --sha | --sh)
|
---|
513 | ac_prev=sharedstatedir ;;
|
---|
514 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
515 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
516 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
517 | | --sha=* | --sh=*)
|
---|
518 | sharedstatedir=$ac_optarg ;;
|
---|
519 |
|
---|
520 | -site | --site | --sit)
|
---|
521 | ac_prev=site ;;
|
---|
522 | -site=* | --site=* | --sit=*)
|
---|
523 | site=$ac_optarg ;;
|
---|
524 |
|
---|
525 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
526 | ac_prev=srcdir ;;
|
---|
527 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
528 | srcdir=$ac_optarg ;;
|
---|
529 |
|
---|
530 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
531 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
532 | ac_prev=sysconfdir ;;
|
---|
533 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
534 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
535 | sysconfdir=$ac_optarg ;;
|
---|
536 |
|
---|
537 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
538 | ac_prev=target_alias ;;
|
---|
539 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
540 | target_alias=$ac_optarg ;;
|
---|
541 |
|
---|
542 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
543 | verbose=yes ;;
|
---|
544 |
|
---|
545 | -version | --version | --versio | --versi | --vers | -V)
|
---|
546 | ac_init_version=: ;;
|
---|
547 |
|
---|
548 | -with-* | --with-*)
|
---|
549 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
550 | # Reject names that are not valid shell variable names.
|
---|
551 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
552 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
553 | { (exit 1); exit 1; }; }
|
---|
554 | ac_package=`echo $ac_package| sed 's/-/_/g'`
|
---|
555 | case $ac_option in
|
---|
556 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
557 | *) ac_optarg=yes ;;
|
---|
558 | esac
|
---|
559 | eval "with_$ac_package='$ac_optarg'" ;;
|
---|
560 |
|
---|
561 | -without-* | --without-*)
|
---|
562 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
563 | # Reject names that are not valid shell variable names.
|
---|
564 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
565 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
566 | { (exit 1); exit 1; }; }
|
---|
567 | ac_package=`echo $ac_package | sed 's/-/_/g'`
|
---|
568 | eval "with_$ac_package=no" ;;
|
---|
569 |
|
---|
570 | --x)
|
---|
571 | # Obsolete; use --with-x.
|
---|
572 | with_x=yes ;;
|
---|
573 |
|
---|
574 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
575 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
576 | ac_prev=x_includes ;;
|
---|
577 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
578 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
579 | x_includes=$ac_optarg ;;
|
---|
580 |
|
---|
581 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
582 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
583 | ac_prev=x_libraries ;;
|
---|
584 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
585 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
586 | x_libraries=$ac_optarg ;;
|
---|
587 |
|
---|
588 | -*) { echo "$as_me: error: unrecognized option: $ac_option
|
---|
589 | Try \`$0 --help' for more information." >&2
|
---|
590 | { (exit 1); exit 1; }; }
|
---|
591 | ;;
|
---|
592 |
|
---|
593 | *=*)
|
---|
594 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
595 | # Reject names that are not valid shell variable names.
|
---|
596 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
---|
597 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
598 | { (exit 1); exit 1; }; }
|
---|
599 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
---|
600 | eval "$ac_envvar='$ac_optarg'"
|
---|
601 | export $ac_envvar ;;
|
---|
602 |
|
---|
603 | *)
|
---|
604 | # FIXME: should be removed in autoconf 3.0.
|
---|
605 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
606 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
607 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
608 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
609 | ;;
|
---|
610 |
|
---|
611 | esac
|
---|
612 | done
|
---|
613 |
|
---|
614 | if test -n "$ac_prev"; then
|
---|
615 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
616 | { echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
617 | { (exit 1); exit 1; }; }
|
---|
618 | fi
|
---|
619 |
|
---|
620 | # Be sure to have absolute paths.
|
---|
621 | for ac_var in exec_prefix prefix
|
---|
622 | do
|
---|
623 | eval ac_val=$`echo $ac_var`
|
---|
624 | case $ac_val in
|
---|
625 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
---|
626 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
627 | { (exit 1); exit 1; }; };;
|
---|
628 | esac
|
---|
629 | done
|
---|
630 |
|
---|
631 | # Be sure to have absolute paths.
|
---|
632 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
---|
633 | localstatedir libdir includedir oldincludedir infodir mandir
|
---|
634 | do
|
---|
635 | eval ac_val=$`echo $ac_var`
|
---|
636 | case $ac_val in
|
---|
637 | [\\/$]* | ?:[\\/]* ) ;;
|
---|
638 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
639 | { (exit 1); exit 1; }; };;
|
---|
640 | esac
|
---|
641 | done
|
---|
642 |
|
---|
643 | # There might be people who depend on the old broken behavior: `$host'
|
---|
644 | # used to hold the argument of --host etc.
|
---|
645 | # FIXME: To remove some day.
|
---|
646 | build=$build_alias
|
---|
647 | host=$host_alias
|
---|
648 | target=$target_alias
|
---|
649 |
|
---|
650 | # FIXME: To remove some day.
|
---|
651 | if test "x$host_alias" != x; then
|
---|
652 | if test "x$build_alias" = x; then
|
---|
653 | cross_compiling=maybe
|
---|
654 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
655 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
656 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
657 | cross_compiling=yes
|
---|
658 | fi
|
---|
659 | fi
|
---|
660 |
|
---|
661 | ac_tool_prefix=
|
---|
662 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
663 |
|
---|
664 | test "$silent" = yes && exec 6>/dev/null
|
---|
665 |
|
---|
666 |
|
---|
667 | # Find the source files, if location was not specified.
|
---|
668 | if test -z "$srcdir"; then
|
---|
669 | ac_srcdir_defaulted=yes
|
---|
670 | # Try the directory containing this script, then its parent.
|
---|
671 | ac_confdir=`(dirname "$0") 2>/dev/null ||
|
---|
672 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
673 | X"$0" : 'X\(//\)[^/]' \| \
|
---|
674 | X"$0" : 'X\(//\)$' \| \
|
---|
675 | X"$0" : 'X\(/\)' \| \
|
---|
676 | . : '\(.\)' 2>/dev/null ||
|
---|
677 | echo X"$0" |
|
---|
678 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
679 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
680 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
681 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
682 | s/.*/./; q'`
|
---|
683 | srcdir=$ac_confdir
|
---|
684 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
685 | srcdir=..
|
---|
686 | fi
|
---|
687 | else
|
---|
688 | ac_srcdir_defaulted=no
|
---|
689 | fi
|
---|
690 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
691 | if test "$ac_srcdir_defaulted" = yes; then
|
---|
692 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
---|
693 | { (exit 1); exit 1; }; }
|
---|
694 | else
|
---|
695 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
---|
696 | { (exit 1); exit 1; }; }
|
---|
697 | fi
|
---|
698 | fi
|
---|
699 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
---|
700 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
---|
701 | { (exit 1); exit 1; }; }
|
---|
702 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
---|
703 | ac_env_build_alias_set=${build_alias+set}
|
---|
704 | ac_env_build_alias_value=$build_alias
|
---|
705 | ac_cv_env_build_alias_set=${build_alias+set}
|
---|
706 | ac_cv_env_build_alias_value=$build_alias
|
---|
707 | ac_env_host_alias_set=${host_alias+set}
|
---|
708 | ac_env_host_alias_value=$host_alias
|
---|
709 | ac_cv_env_host_alias_set=${host_alias+set}
|
---|
710 | ac_cv_env_host_alias_value=$host_alias
|
---|
711 | ac_env_target_alias_set=${target_alias+set}
|
---|
712 | ac_env_target_alias_value=$target_alias
|
---|
713 | ac_cv_env_target_alias_set=${target_alias+set}
|
---|
714 | ac_cv_env_target_alias_value=$target_alias
|
---|
715 |
|
---|
716 | #
|
---|
717 | # Report the --help message.
|
---|
718 | #
|
---|
719 | if test "$ac_init_help" = "long"; then
|
---|
720 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
721 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
722 | cat <<_ACEOF
|
---|
723 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
724 |
|
---|
725 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
726 |
|
---|
727 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
728 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
729 |
|
---|
730 | Defaults for the options are specified in brackets.
|
---|
731 |
|
---|
732 | Configuration:
|
---|
733 | -h, --help display this help and exit
|
---|
734 | --help=short display options specific to this package
|
---|
735 | --help=recursive display the short help of all the included packages
|
---|
736 | -V, --version display version information and exit
|
---|
737 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
738 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
739 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
740 | -n, --no-create do not create output files
|
---|
741 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
742 |
|
---|
743 | _ACEOF
|
---|
744 |
|
---|
745 | cat <<_ACEOF
|
---|
746 | Installation directories:
|
---|
747 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
748 | [$ac_default_prefix]
|
---|
749 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
750 | [PREFIX]
|
---|
751 |
|
---|
752 | By default, \`make install' will install all the files in
|
---|
753 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
754 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
755 | for instance \`--prefix=\$HOME'.
|
---|
756 |
|
---|
757 | For better control, use the options below.
|
---|
758 |
|
---|
759 | Fine tuning of the installation directories:
|
---|
760 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
761 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
762 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
763 | --datadir=DIR read-only architecture-independent data [PREFIX/share]
|
---|
764 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
765 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
766 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
767 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
768 | --includedir=DIR C header files [PREFIX/include]
|
---|
769 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
770 | --infodir=DIR info documentation [PREFIX/info]
|
---|
771 | --mandir=DIR man documentation [PREFIX/man]
|
---|
772 | _ACEOF
|
---|
773 |
|
---|
774 | cat <<\_ACEOF
|
---|
775 | _ACEOF
|
---|
776 | fi
|
---|
777 |
|
---|
778 | if test -n "$ac_init_help"; then
|
---|
779 |
|
---|
780 | cat <<\_ACEOF
|
---|
781 |
|
---|
782 | _ACEOF
|
---|
783 | fi
|
---|
784 |
|
---|
785 | if test "$ac_init_help" = "recursive"; then
|
---|
786 | # If there are subdirs, report their specific --help.
|
---|
787 | ac_popdir=`pwd`
|
---|
788 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
789 | test -d $ac_dir || continue
|
---|
790 | ac_builddir=.
|
---|
791 |
|
---|
792 | if test "$ac_dir" != .; then
|
---|
793 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
794 | # A "../" for each directory in $ac_dir_suffix.
|
---|
795 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
796 | else
|
---|
797 | ac_dir_suffix= ac_top_builddir=
|
---|
798 | fi
|
---|
799 |
|
---|
800 | case $srcdir in
|
---|
801 | .) # No --srcdir option. We are building in place.
|
---|
802 | ac_srcdir=.
|
---|
803 | if test -z "$ac_top_builddir"; then
|
---|
804 | ac_top_srcdir=.
|
---|
805 | else
|
---|
806 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
807 | fi ;;
|
---|
808 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
809 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
810 | ac_top_srcdir=$srcdir ;;
|
---|
811 | *) # Relative path.
|
---|
812 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
813 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
814 | esac
|
---|
815 |
|
---|
816 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
817 | # the directories may not exist.
|
---|
818 | case `pwd` in
|
---|
819 | .) ac_abs_builddir="$ac_dir";;
|
---|
820 | *)
|
---|
821 | case "$ac_dir" in
|
---|
822 | .) ac_abs_builddir=`pwd`;;
|
---|
823 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
824 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
825 | esac;;
|
---|
826 | esac
|
---|
827 | case $ac_abs_builddir in
|
---|
828 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
829 | *)
|
---|
830 | case ${ac_top_builddir}. in
|
---|
831 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
832 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
833 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
834 | esac;;
|
---|
835 | esac
|
---|
836 | case $ac_abs_builddir in
|
---|
837 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
838 | *)
|
---|
839 | case $ac_srcdir in
|
---|
840 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
841 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
842 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
843 | esac;;
|
---|
844 | esac
|
---|
845 | case $ac_abs_builddir in
|
---|
846 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
847 | *)
|
---|
848 | case $ac_top_srcdir in
|
---|
849 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
850 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
851 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
852 | esac;;
|
---|
853 | esac
|
---|
854 |
|
---|
855 | cd $ac_dir
|
---|
856 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
857 | if test -f $ac_srcdir/configure.gnu; then
|
---|
858 | echo
|
---|
859 | $SHELL $ac_srcdir/configure.gnu --help=recursive
|
---|
860 | elif test -f $ac_srcdir/configure; then
|
---|
861 | echo
|
---|
862 | $SHELL $ac_srcdir/configure --help=recursive
|
---|
863 | elif test -f $ac_srcdir/configure.ac ||
|
---|
864 | test -f $ac_srcdir/configure.in; then
|
---|
865 | echo
|
---|
866 | $ac_configure --help
|
---|
867 | else
|
---|
868 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
869 | fi
|
---|
870 | cd $ac_popdir
|
---|
871 | done
|
---|
872 | fi
|
---|
873 |
|
---|
874 | test -n "$ac_init_help" && exit 0
|
---|
875 | if $ac_init_version; then
|
---|
876 | cat <<\_ACEOF
|
---|
877 |
|
---|
878 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
879 | This configure script is free software; the Free Software Foundation
|
---|
880 | gives unlimited permission to copy, distribute and modify it.
|
---|
881 | _ACEOF
|
---|
882 | exit 0
|
---|
883 | fi
|
---|
884 | exec 5>config.log
|
---|
885 | cat >&5 <<_ACEOF
|
---|
886 | This file contains any messages produced by compilers while
|
---|
887 | running configure, to aid debugging if configure makes a mistake.
|
---|
888 |
|
---|
889 | It was created by $as_me, which was
|
---|
890 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
891 |
|
---|
892 | $ $0 $@
|
---|
893 |
|
---|
894 | _ACEOF
|
---|
895 | {
|
---|
896 | cat <<_ASUNAME
|
---|
897 | ## --------- ##
|
---|
898 | ## Platform. ##
|
---|
899 | ## --------- ##
|
---|
900 |
|
---|
901 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
902 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
903 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
904 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
905 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
906 |
|
---|
907 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
908 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
909 |
|
---|
910 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
911 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
912 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
913 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
---|
914 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
915 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
916 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
917 |
|
---|
918 | _ASUNAME
|
---|
919 |
|
---|
920 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
921 | for as_dir in $PATH
|
---|
922 | do
|
---|
923 | IFS=$as_save_IFS
|
---|
924 | test -z "$as_dir" && as_dir=.
|
---|
925 | echo "PATH: $as_dir"
|
---|
926 | done
|
---|
927 |
|
---|
928 | } >&5
|
---|
929 |
|
---|
930 | cat >&5 <<_ACEOF
|
---|
931 |
|
---|
932 |
|
---|
933 | ## ----------- ##
|
---|
934 | ## Core tests. ##
|
---|
935 | ## ----------- ##
|
---|
936 |
|
---|
937 | _ACEOF
|
---|
938 |
|
---|
939 |
|
---|
940 | # Keep a trace of the command line.
|
---|
941 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
942 | # Strip out --silent because we don't want to record it for future runs.
|
---|
943 | # Also quote any args containing shell meta-characters.
|
---|
944 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
945 | ac_configure_args=
|
---|
946 | ac_configure_args0=
|
---|
947 | ac_configure_args1=
|
---|
948 | ac_sep=
|
---|
949 | ac_must_keep_next=false
|
---|
950 | for ac_pass in 1 2
|
---|
951 | do
|
---|
952 | for ac_arg
|
---|
953 | do
|
---|
954 | case $ac_arg in
|
---|
955 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
956 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
957 | | -silent | --silent | --silen | --sile | --sil)
|
---|
958 | continue ;;
|
---|
959 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
960 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
961 | esac
|
---|
962 | case $ac_pass in
|
---|
963 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
964 | 2)
|
---|
965 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
966 | if test $ac_must_keep_next = true; then
|
---|
967 | ac_must_keep_next=false # Got value, back to normal.
|
---|
968 | else
|
---|
969 | case $ac_arg in
|
---|
970 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
971 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
972 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
973 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
974 | case "$ac_configure_args0 " in
|
---|
975 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
976 | esac
|
---|
977 | ;;
|
---|
978 | -* ) ac_must_keep_next=true ;;
|
---|
979 | esac
|
---|
980 | fi
|
---|
981 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
---|
982 | # Get rid of the leading space.
|
---|
983 | ac_sep=" "
|
---|
984 | ;;
|
---|
985 | esac
|
---|
986 | done
|
---|
987 | done
|
---|
988 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
989 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
990 |
|
---|
991 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
992 | # config.log. We remove comments because anyway the quotes in there
|
---|
993 | # would cause problems or look ugly.
|
---|
994 | # WARNING: Be sure not to use single quotes in there, as some shells,
|
---|
995 | # such as our DU 5.0 friend, will then `close' the trap.
|
---|
996 | trap 'exit_status=$?
|
---|
997 | # Save into config.log some information that might help in debugging.
|
---|
998 | {
|
---|
999 | echo
|
---|
1000 |
|
---|
1001 | cat <<\_ASBOX
|
---|
1002 | ## ---------------- ##
|
---|
1003 | ## Cache variables. ##
|
---|
1004 | ## ---------------- ##
|
---|
1005 | _ASBOX
|
---|
1006 | echo
|
---|
1007 | # The following way of writing the cache mishandles newlines in values,
|
---|
1008 | {
|
---|
1009 | (set) 2>&1 |
|
---|
1010 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
---|
1011 | *ac_space=\ *)
|
---|
1012 | sed -n \
|
---|
1013 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
---|
1014 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
---|
1015 | ;;
|
---|
1016 | *)
|
---|
1017 | sed -n \
|
---|
1018 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
1019 | ;;
|
---|
1020 | esac;
|
---|
1021 | }
|
---|
1022 | echo
|
---|
1023 |
|
---|
1024 | cat <<\_ASBOX
|
---|
1025 | ## ----------------- ##
|
---|
1026 | ## Output variables. ##
|
---|
1027 | ## ----------------- ##
|
---|
1028 | _ASBOX
|
---|
1029 | echo
|
---|
1030 | for ac_var in $ac_subst_vars
|
---|
1031 | do
|
---|
1032 | eval ac_val=$`echo $ac_var`
|
---|
1033 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
1034 | done | sort
|
---|
1035 | echo
|
---|
1036 |
|
---|
1037 | if test -n "$ac_subst_files"; then
|
---|
1038 | cat <<\_ASBOX
|
---|
1039 | ## ------------- ##
|
---|
1040 | ## Output files. ##
|
---|
1041 | ## ------------- ##
|
---|
1042 | _ASBOX
|
---|
1043 | echo
|
---|
1044 | for ac_var in $ac_subst_files
|
---|
1045 | do
|
---|
1046 | eval ac_val=$`echo $ac_var`
|
---|
1047 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
1048 | done | sort
|
---|
1049 | echo
|
---|
1050 | fi
|
---|
1051 |
|
---|
1052 | if test -s confdefs.h; then
|
---|
1053 | cat <<\_ASBOX
|
---|
1054 | ## ----------- ##
|
---|
1055 | ## confdefs.h. ##
|
---|
1056 | ## ----------- ##
|
---|
1057 | _ASBOX
|
---|
1058 | echo
|
---|
1059 | sed "/^$/d" confdefs.h | sort
|
---|
1060 | echo
|
---|
1061 | fi
|
---|
1062 | test "$ac_signal" != 0 &&
|
---|
1063 | echo "$as_me: caught signal $ac_signal"
|
---|
1064 | echo "$as_me: exit $exit_status"
|
---|
1065 | } >&5
|
---|
1066 | rm -f core *.core &&
|
---|
1067 | rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
1068 | exit $exit_status
|
---|
1069 | ' 0
|
---|
1070 | for ac_signal in 1 2 13 15; do
|
---|
1071 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
1072 | done
|
---|
1073 | ac_signal=0
|
---|
1074 |
|
---|
1075 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
1076 | rm -rf conftest* confdefs.h
|
---|
1077 | # AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
---|
1078 | echo >confdefs.h
|
---|
1079 |
|
---|
1080 | # Predefined preprocessor variables.
|
---|
1081 |
|
---|
1082 | cat >>confdefs.h <<_ACEOF
|
---|
1083 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
1084 | _ACEOF
|
---|
1085 |
|
---|
1086 |
|
---|
1087 | cat >>confdefs.h <<_ACEOF
|
---|
1088 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
1089 | _ACEOF
|
---|
1090 |
|
---|
1091 |
|
---|
1092 | cat >>confdefs.h <<_ACEOF
|
---|
1093 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
1094 | _ACEOF
|
---|
1095 |
|
---|
1096 |
|
---|
1097 | cat >>confdefs.h <<_ACEOF
|
---|
1098 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
1099 | _ACEOF
|
---|
1100 |
|
---|
1101 |
|
---|
1102 | cat >>confdefs.h <<_ACEOF
|
---|
1103 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
1104 | _ACEOF
|
---|
1105 |
|
---|
1106 |
|
---|
1107 | # Let the site file select an alternate cache file if it wants to.
|
---|
1108 | # Prefer explicitly selected file to automatically selected ones.
|
---|
1109 | if test -z "$CONFIG_SITE"; then
|
---|
1110 | if test "x$prefix" != xNONE; then
|
---|
1111 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
---|
1112 | else
|
---|
1113 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
---|
1114 | fi
|
---|
1115 | fi
|
---|
1116 | for ac_site_file in $CONFIG_SITE; do
|
---|
1117 | if test -r "$ac_site_file"; then
|
---|
1118 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
1119 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
1120 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
1121 | . "$ac_site_file"
|
---|
1122 | fi
|
---|
1123 | done
|
---|
1124 |
|
---|
1125 | if test -r "$cache_file"; then
|
---|
1126 | # Some versions of bash will fail to source /dev/null (special
|
---|
1127 | # files actually), so we avoid doing that.
|
---|
1128 | if test -f "$cache_file"; then
|
---|
1129 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
1130 | echo "$as_me: loading cache $cache_file" >&6;}
|
---|
1131 | case $cache_file in
|
---|
1132 | [\\/]* | ?:[\\/]* ) . $cache_file;;
|
---|
1133 | *) . ./$cache_file;;
|
---|
1134 | esac
|
---|
1135 | fi
|
---|
1136 | else
|
---|
1137 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
1138 | echo "$as_me: creating cache $cache_file" >&6;}
|
---|
1139 | >$cache_file
|
---|
1140 | fi
|
---|
1141 |
|
---|
1142 | # Check that the precious variables saved in the cache have kept the same
|
---|
1143 | # value.
|
---|
1144 | ac_cache_corrupted=false
|
---|
1145 | for ac_var in `(set) 2>&1 |
|
---|
1146 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
---|
1147 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
1148 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
1149 | eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
---|
1150 | eval ac_new_val="\$ac_env_${ac_var}_value"
|
---|
1151 | case $ac_old_set,$ac_new_set in
|
---|
1152 | set,)
|
---|
1153 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
1154 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
1155 | ac_cache_corrupted=: ;;
|
---|
1156 | ,set)
|
---|
1157 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
1158 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
1159 | ac_cache_corrupted=: ;;
|
---|
1160 | ,);;
|
---|
1161 | *)
|
---|
1162 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
1163 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
1164 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
1165 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
---|
1166 | echo "$as_me: former value: $ac_old_val" >&2;}
|
---|
1167 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
---|
1168 | echo "$as_me: current value: $ac_new_val" >&2;}
|
---|
1169 | ac_cache_corrupted=:
|
---|
1170 | fi;;
|
---|
1171 | esac
|
---|
1172 | # Pass precious variables to config.status.
|
---|
1173 | if test "$ac_new_set" = set; then
|
---|
1174 | case $ac_new_val in
|
---|
1175 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
1176 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
1177 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
1178 | esac
|
---|
1179 | case " $ac_configure_args " in
|
---|
1180 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
1181 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
1182 | esac
|
---|
1183 | fi
|
---|
1184 | done
|
---|
1185 | if $ac_cache_corrupted; then
|
---|
1186 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
1187 | echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
1188 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
1189 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
1190 | { (exit 1); exit 1; }; }
|
---|
1191 | fi
|
---|
1192 |
|
---|
1193 | ac_ext=c
|
---|
1194 | ac_cpp='$CPP $CPPFLAGS'
|
---|
1195 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
1196 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
1197 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
1198 |
|
---|
1199 |
|
---|
1200 |
|
---|
1201 |
|
---|
1202 |
|
---|
1203 |
|
---|
1204 |
|
---|
1205 |
|
---|
1206 |
|
---|
1207 |
|
---|
1208 |
|
---|
1209 |
|
---|
1210 |
|
---|
1211 |
|
---|
1212 |
|
---|
1213 |
|
---|
1214 |
|
---|
1215 |
|
---|
1216 |
|
---|
1217 | ac_config_headers="$ac_config_headers config.h"
|
---|
1218 |
|
---|
1219 |
|
---|
1220 | PACKAGE=audioDB
|
---|
1221 | VERSION=-svn
|
---|
1222 | cat >>confdefs.h <<_ACEOF
|
---|
1223 | #define PACKAGE "$PACKAGE"
|
---|
1224 | _ACEOF
|
---|
1225 |
|
---|
1226 | cat >>confdefs.h <<_ACEOF
|
---|
1227 | #define VERSION "$VERSION"
|
---|
1228 | _ACEOF
|
---|
1229 |
|
---|
1230 |
|
---|
1231 |
|
---|
1232 |
|
---|
1233 | ac_config_files="$ac_config_files Makefile"
|
---|
1234 | cat >confcache <<\_ACEOF
|
---|
1235 | # This file is a shell script that caches the results of configure
|
---|
1236 | # tests run on this system so they can be shared between configure
|
---|
1237 | # scripts and configure runs, see configure's option --config-cache.
|
---|
1238 | # It is not useful on other systems. If it contains results you don't
|
---|
1239 | # want to keep, you may remove or edit it.
|
---|
1240 | #
|
---|
1241 | # config.status only pays attention to the cache file if you give it
|
---|
1242 | # the --recheck option to rerun configure.
|
---|
1243 | #
|
---|
1244 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
1245 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
1246 | # following values.
|
---|
1247 |
|
---|
1248 | _ACEOF
|
---|
1249 |
|
---|
1250 | # The following way of writing the cache mishandles newlines in values,
|
---|
1251 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
1252 | # So, don't put newlines in cache variables' values.
|
---|
1253 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
1254 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
1255 | {
|
---|
1256 | (set) 2>&1 |
|
---|
1257 | case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
---|
1258 | *ac_space=\ *)
|
---|
1259 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
1260 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
1261 | sed -n \
|
---|
1262 | "s/'/'\\\\''/g;
|
---|
1263 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
1264 | ;;
|
---|
1265 | *)
|
---|
1266 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
1267 | sed -n \
|
---|
1268 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
1269 | ;;
|
---|
1270 | esac;
|
---|
1271 | } |
|
---|
1272 | sed '
|
---|
1273 | t clear
|
---|
1274 | : clear
|
---|
1275 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
1276 | t end
|
---|
1277 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
1278 | : end' >>confcache
|
---|
1279 | if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
---|
1280 | if test -w $cache_file; then
|
---|
1281 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
---|
1282 | cat confcache >$cache_file
|
---|
1283 | else
|
---|
1284 | echo "not updating unwritable cache $cache_file"
|
---|
1285 | fi
|
---|
1286 | fi
|
---|
1287 | rm -f confcache
|
---|
1288 |
|
---|
1289 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
1290 | # Let make expand exec_prefix.
|
---|
1291 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
1292 |
|
---|
1293 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
1294 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
1295 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
1296 | # (actually we leave an empty line to preserve line numbers).
|
---|
1297 | if test "x$srcdir" = x.; then
|
---|
1298 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
1299 | s/:*\$(srcdir):*/:/;
|
---|
1300 | s/:*\${srcdir}:*/:/;
|
---|
1301 | s/:*@srcdir@:*/:/;
|
---|
1302 | s/^\([^=]*=[ ]*\):*/\1/;
|
---|
1303 | s/:*$//;
|
---|
1304 | s/^[^=]*=[ ]*$//;
|
---|
1305 | }'
|
---|
1306 | fi
|
---|
1307 |
|
---|
1308 | DEFS=-DHAVE_CONFIG_H
|
---|
1309 |
|
---|
1310 | ac_libobjs=
|
---|
1311 | ac_ltlibobjs=
|
---|
1312 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
1313 | # 1. Remove the extension, and $U if already installed.
|
---|
1314 | ac_i=`echo "$ac_i" |
|
---|
1315 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
---|
1316 | # 2. Add them.
|
---|
1317 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
---|
1318 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
---|
1319 | done
|
---|
1320 | LIBOBJS=$ac_libobjs
|
---|
1321 |
|
---|
1322 | LTLIBOBJS=$ac_ltlibobjs
|
---|
1323 |
|
---|
1324 |
|
---|
1325 |
|
---|
1326 | : ${CONFIG_STATUS=./config.status}
|
---|
1327 | ac_clean_files_save=$ac_clean_files
|
---|
1328 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
1329 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
1330 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
1331 | cat >$CONFIG_STATUS <<_ACEOF
|
---|
1332 | #! $SHELL
|
---|
1333 | # Generated by $as_me.
|
---|
1334 | # Run this file to recreate the current configuration.
|
---|
1335 | # Compiler output produced by configure, useful for debugging
|
---|
1336 | # configure, is in config.log if it exists.
|
---|
1337 |
|
---|
1338 | debug=false
|
---|
1339 | ac_cs_recheck=false
|
---|
1340 | ac_cs_silent=false
|
---|
1341 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
1342 | _ACEOF
|
---|
1343 |
|
---|
1344 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
1345 | ## --------------------- ##
|
---|
1346 | ## M4sh Initialization. ##
|
---|
1347 | ## --------------------- ##
|
---|
1348 |
|
---|
1349 | # Be Bourne compatible
|
---|
1350 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
1351 | emulate sh
|
---|
1352 | NULLCMD=:
|
---|
1353 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
1354 | # is contrary to our usage. Disable this feature.
|
---|
1355 | alias -g '${1+"$@"}'='"$@"'
|
---|
1356 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
1357 | set -o posix
|
---|
1358 | fi
|
---|
1359 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
1360 |
|
---|
1361 | # Support unset when possible.
|
---|
1362 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
1363 | as_unset=unset
|
---|
1364 | else
|
---|
1365 | as_unset=false
|
---|
1366 | fi
|
---|
1367 |
|
---|
1368 |
|
---|
1369 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
1370 | $as_unset ENV MAIL MAILPATH
|
---|
1371 | PS1='$ '
|
---|
1372 | PS2='> '
|
---|
1373 | PS4='+ '
|
---|
1374 |
|
---|
1375 | # NLS nuisances.
|
---|
1376 | for as_var in \
|
---|
1377 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
1378 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
1379 | LC_TELEPHONE LC_TIME
|
---|
1380 | do
|
---|
1381 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
1382 | eval $as_var=C; export $as_var
|
---|
1383 | else
|
---|
1384 | $as_unset $as_var
|
---|
1385 | fi
|
---|
1386 | done
|
---|
1387 |
|
---|
1388 | # Required to use basename.
|
---|
1389 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
1390 | as_expr=expr
|
---|
1391 | else
|
---|
1392 | as_expr=false
|
---|
1393 | fi
|
---|
1394 |
|
---|
1395 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
1396 | as_basename=basename
|
---|
1397 | else
|
---|
1398 | as_basename=false
|
---|
1399 | fi
|
---|
1400 |
|
---|
1401 |
|
---|
1402 | # Name of the executable.
|
---|
1403 | as_me=`$as_basename "$0" ||
|
---|
1404 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
1405 | X"$0" : 'X\(//\)$' \| \
|
---|
1406 | X"$0" : 'X\(/\)$' \| \
|
---|
1407 | . : '\(.\)' 2>/dev/null ||
|
---|
1408 | echo X/"$0" |
|
---|
1409 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
1410 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
1411 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
1412 | s/.*/./; q'`
|
---|
1413 |
|
---|
1414 |
|
---|
1415 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
1416 | # Avoid depending upon Character Ranges.
|
---|
1417 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
1418 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
1419 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
1420 | as_cr_digits='0123456789'
|
---|
1421 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
1422 |
|
---|
1423 | # The user is always right.
|
---|
1424 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
1425 | echo "#! /bin/sh" >conf$$.sh
|
---|
1426 | echo "exit 0" >>conf$$.sh
|
---|
1427 | chmod +x conf$$.sh
|
---|
1428 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
1429 | PATH_SEPARATOR=';'
|
---|
1430 | else
|
---|
1431 | PATH_SEPARATOR=:
|
---|
1432 | fi
|
---|
1433 | rm -f conf$$.sh
|
---|
1434 | fi
|
---|
1435 |
|
---|
1436 |
|
---|
1437 | as_lineno_1=$LINENO
|
---|
1438 | as_lineno_2=$LINENO
|
---|
1439 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
1440 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
1441 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
1442 | # Find who we are. Look in the path if we contain no path at all
|
---|
1443 | # relative or not.
|
---|
1444 | case $0 in
|
---|
1445 | *[\\/]* ) as_myself=$0 ;;
|
---|
1446 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1447 | for as_dir in $PATH
|
---|
1448 | do
|
---|
1449 | IFS=$as_save_IFS
|
---|
1450 | test -z "$as_dir" && as_dir=.
|
---|
1451 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
1452 | done
|
---|
1453 |
|
---|
1454 | ;;
|
---|
1455 | esac
|
---|
1456 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
1457 | # in which case we are not to be found in the path.
|
---|
1458 | if test "x$as_myself" = x; then
|
---|
1459 | as_myself=$0
|
---|
1460 | fi
|
---|
1461 | if test ! -f "$as_myself"; then
|
---|
1462 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
---|
1463 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
---|
1464 | { (exit 1); exit 1; }; }
|
---|
1465 | fi
|
---|
1466 | case $CONFIG_SHELL in
|
---|
1467 | '')
|
---|
1468 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
1469 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
1470 | do
|
---|
1471 | IFS=$as_save_IFS
|
---|
1472 | test -z "$as_dir" && as_dir=.
|
---|
1473 | for as_base in sh bash ksh sh5; do
|
---|
1474 | case $as_dir in
|
---|
1475 | /*)
|
---|
1476 | if ("$as_dir/$as_base" -c '
|
---|
1477 | as_lineno_1=$LINENO
|
---|
1478 | as_lineno_2=$LINENO
|
---|
1479 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
1480 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
1481 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
1482 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
1483 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
1484 | CONFIG_SHELL=$as_dir/$as_base
|
---|
1485 | export CONFIG_SHELL
|
---|
1486 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
1487 | fi;;
|
---|
1488 | esac
|
---|
1489 | done
|
---|
1490 | done
|
---|
1491 | ;;
|
---|
1492 | esac
|
---|
1493 |
|
---|
1494 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
1495 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
1496 | # line-number line before each line; the second 'sed' does the real
|
---|
1497 | # work. The second script uses 'N' to pair each line-number line
|
---|
1498 | # with the numbered line, and appends trailing '-' during
|
---|
1499 | # substitution so that $LINENO is not a special case at line end.
|
---|
1500 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
1501 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
1502 | sed '=' <$as_myself |
|
---|
1503 | sed '
|
---|
1504 | N
|
---|
1505 | s,$,-,
|
---|
1506 | : loop
|
---|
1507 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
1508 | t loop
|
---|
1509 | s,-$,,
|
---|
1510 | s,^['$as_cr_digits']*\n,,
|
---|
1511 | ' >$as_me.lineno &&
|
---|
1512 | chmod +x $as_me.lineno ||
|
---|
1513 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
---|
1514 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
---|
1515 | { (exit 1); exit 1; }; }
|
---|
1516 |
|
---|
1517 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
1518 | # (the dirname of $[0] is not the place where we might find the
|
---|
1519 | # original and so on. Autoconf is especially sensible to this).
|
---|
1520 | . ./$as_me.lineno
|
---|
1521 | # Exit status is that of the last command.
|
---|
1522 | exit
|
---|
1523 | }
|
---|
1524 |
|
---|
1525 |
|
---|
1526 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
1527 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
1528 | ' ECHO_T=' ' ;;
|
---|
1529 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
1530 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
1531 | esac
|
---|
1532 |
|
---|
1533 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
1534 | as_expr=expr
|
---|
1535 | else
|
---|
1536 | as_expr=false
|
---|
1537 | fi
|
---|
1538 |
|
---|
1539 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
1540 | echo >conf$$.file
|
---|
1541 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
1542 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
1543 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
1544 | if test -f conf$$.exe; then
|
---|
1545 | # Don't use ln at all; we don't have any links
|
---|
1546 | as_ln_s='cp -p'
|
---|
1547 | else
|
---|
1548 | as_ln_s='ln -s'
|
---|
1549 | fi
|
---|
1550 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
1551 | as_ln_s=ln
|
---|
1552 | else
|
---|
1553 | as_ln_s='cp -p'
|
---|
1554 | fi
|
---|
1555 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
1556 |
|
---|
1557 | if mkdir -p . 2>/dev/null; then
|
---|
1558 | as_mkdir_p=:
|
---|
1559 | else
|
---|
1560 | test -d ./-p && rmdir ./-p
|
---|
1561 | as_mkdir_p=false
|
---|
1562 | fi
|
---|
1563 |
|
---|
1564 | as_executable_p="test -f"
|
---|
1565 |
|
---|
1566 | # Sed expression to map a string onto a valid CPP name.
|
---|
1567 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
1568 |
|
---|
1569 | # Sed expression to map a string onto a valid variable name.
|
---|
1570 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
1571 |
|
---|
1572 |
|
---|
1573 | # IFS
|
---|
1574 | # We need space, tab and new line, in precisely that order.
|
---|
1575 | as_nl='
|
---|
1576 | '
|
---|
1577 | IFS=" $as_nl"
|
---|
1578 |
|
---|
1579 | # CDPATH.
|
---|
1580 | $as_unset CDPATH
|
---|
1581 |
|
---|
1582 | exec 6>&1
|
---|
1583 |
|
---|
1584 | # Open the log real soon, to keep \$[0] and so on meaningful, and to
|
---|
1585 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
1586 | # values after options handling. Logging --version etc. is OK.
|
---|
1587 | exec 5>>config.log
|
---|
1588 | {
|
---|
1589 | echo
|
---|
1590 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
1591 | ## Running $as_me. ##
|
---|
1592 | _ASBOX
|
---|
1593 | } >&5
|
---|
1594 | cat >&5 <<_CSEOF
|
---|
1595 |
|
---|
1596 | This file was extended by $as_me, which was
|
---|
1597 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
1598 |
|
---|
1599 | CONFIG_FILES = $CONFIG_FILES
|
---|
1600 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
1601 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
1602 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
1603 | $ $0 $@
|
---|
1604 |
|
---|
1605 | _CSEOF
|
---|
1606 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
---|
1607 | echo >&5
|
---|
1608 | _ACEOF
|
---|
1609 |
|
---|
1610 | # Files that config.status was made for.
|
---|
1611 | if test -n "$ac_config_files"; then
|
---|
1612 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
---|
1613 | fi
|
---|
1614 |
|
---|
1615 | if test -n "$ac_config_headers"; then
|
---|
1616 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
---|
1617 | fi
|
---|
1618 |
|
---|
1619 | if test -n "$ac_config_links"; then
|
---|
1620 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
---|
1621 | fi
|
---|
1622 |
|
---|
1623 | if test -n "$ac_config_commands"; then
|
---|
1624 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
---|
1625 | fi
|
---|
1626 |
|
---|
1627 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
1628 |
|
---|
1629 | ac_cs_usage="\
|
---|
1630 | \`$as_me' instantiates files from templates according to the
|
---|
1631 | current configuration.
|
---|
1632 |
|
---|
1633 | Usage: $0 [OPTIONS] [FILE]...
|
---|
1634 |
|
---|
1635 | -h, --help print this help, then exit
|
---|
1636 | -V, --version print version number, then exit
|
---|
1637 | -q, --quiet do not print progress messages
|
---|
1638 | -d, --debug don't remove temporary files
|
---|
1639 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
1640 | --file=FILE[:TEMPLATE]
|
---|
1641 | instantiate the configuration file FILE
|
---|
1642 | --header=FILE[:TEMPLATE]
|
---|
1643 | instantiate the configuration header FILE
|
---|
1644 |
|
---|
1645 | Configuration files:
|
---|
1646 | $config_files
|
---|
1647 |
|
---|
1648 | Configuration headers:
|
---|
1649 | $config_headers
|
---|
1650 |
|
---|
1651 | Report bugs to <bug-autoconf@gnu.org>."
|
---|
1652 | _ACEOF
|
---|
1653 |
|
---|
1654 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
1655 | ac_cs_version="\\
|
---|
1656 | config.status
|
---|
1657 | configured by $0, generated by GNU Autoconf 2.59,
|
---|
1658 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
---|
1659 |
|
---|
1660 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
1661 | This config.status script is free software; the Free Software Foundation
|
---|
1662 | gives unlimited permission to copy, distribute and modify it."
|
---|
1663 | srcdir=$srcdir
|
---|
1664 | _ACEOF
|
---|
1665 |
|
---|
1666 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
1667 | # If no file are specified by the user, then we need to provide default
|
---|
1668 | # value. By we need to know if files were specified by the user.
|
---|
1669 | ac_need_defaults=:
|
---|
1670 | while test $# != 0
|
---|
1671 | do
|
---|
1672 | case $1 in
|
---|
1673 | --*=*)
|
---|
1674 | ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
---|
1675 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
---|
1676 | ac_shift=:
|
---|
1677 | ;;
|
---|
1678 | -*)
|
---|
1679 | ac_option=$1
|
---|
1680 | ac_optarg=$2
|
---|
1681 | ac_shift=shift
|
---|
1682 | ;;
|
---|
1683 | *) # This is not an option, so the user has probably given explicit
|
---|
1684 | # arguments.
|
---|
1685 | ac_option=$1
|
---|
1686 | ac_need_defaults=false;;
|
---|
1687 | esac
|
---|
1688 |
|
---|
1689 | case $ac_option in
|
---|
1690 | # Handling of the options.
|
---|
1691 | _ACEOF
|
---|
1692 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
1693 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
1694 | ac_cs_recheck=: ;;
|
---|
1695 | --version | --vers* | -V )
|
---|
1696 | echo "$ac_cs_version"; exit 0 ;;
|
---|
1697 | --he | --h)
|
---|
1698 | # Conflict between --help and --header
|
---|
1699 | { { echo "$as_me:$LINENO: error: ambiguous option: $1
|
---|
1700 | Try \`$0 --help' for more information." >&5
|
---|
1701 | echo "$as_me: error: ambiguous option: $1
|
---|
1702 | Try \`$0 --help' for more information." >&2;}
|
---|
1703 | { (exit 1); exit 1; }; };;
|
---|
1704 | --help | --hel | -h )
|
---|
1705 | echo "$ac_cs_usage"; exit 0 ;;
|
---|
1706 | --debug | --d* | -d )
|
---|
1707 | debug=: ;;
|
---|
1708 | --file | --fil | --fi | --f )
|
---|
1709 | $ac_shift
|
---|
1710 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
---|
1711 | ac_need_defaults=false;;
|
---|
1712 | --header | --heade | --head | --hea )
|
---|
1713 | $ac_shift
|
---|
1714 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
---|
1715 | ac_need_defaults=false;;
|
---|
1716 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
1717 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
1718 | ac_cs_silent=: ;;
|
---|
1719 |
|
---|
1720 | # This is an error.
|
---|
1721 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
---|
1722 | Try \`$0 --help' for more information." >&5
|
---|
1723 | echo "$as_me: error: unrecognized option: $1
|
---|
1724 | Try \`$0 --help' for more information." >&2;}
|
---|
1725 | { (exit 1); exit 1; }; } ;;
|
---|
1726 |
|
---|
1727 | *) ac_config_targets="$ac_config_targets $1" ;;
|
---|
1728 |
|
---|
1729 | esac
|
---|
1730 | shift
|
---|
1731 | done
|
---|
1732 |
|
---|
1733 | ac_configure_extra_args=
|
---|
1734 |
|
---|
1735 | if $ac_cs_silent; then
|
---|
1736 | exec 6>/dev/null
|
---|
1737 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
1738 | fi
|
---|
1739 |
|
---|
1740 | _ACEOF
|
---|
1741 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
1742 | if \$ac_cs_recheck; then
|
---|
1743 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
---|
1744 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
1745 | fi
|
---|
1746 |
|
---|
1747 | _ACEOF
|
---|
1748 |
|
---|
1749 |
|
---|
1750 |
|
---|
1751 |
|
---|
1752 |
|
---|
1753 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
1754 | for ac_config_target in $ac_config_targets
|
---|
1755 | do
|
---|
1756 | case "$ac_config_target" in
|
---|
1757 | # Handling of arguments.
|
---|
1758 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
1759 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
1760 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
1761 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
1762 | { (exit 1); exit 1; }; };;
|
---|
1763 | esac
|
---|
1764 | done
|
---|
1765 |
|
---|
1766 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
1767 | # then the envvar interface is used. Set only those that are not.
|
---|
1768 | # We use the long form for the default assignment because of an extremely
|
---|
1769 | # bizarre bug on SunOS 4.1.3.
|
---|
1770 | if $ac_need_defaults; then
|
---|
1771 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
1772 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
1773 | fi
|
---|
1774 |
|
---|
1775 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
1776 | # simply because there is no reason to put it here, and in addition,
|
---|
1777 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
1778 | # Create a temporary directory, and hook for its removal unless debugging.
|
---|
1779 | $debug ||
|
---|
1780 | {
|
---|
1781 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
---|
1782 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
1783 | }
|
---|
1784 |
|
---|
1785 | # Create a (secure) tmp directory for tmp files.
|
---|
1786 |
|
---|
1787 | {
|
---|
1788 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
---|
1789 | test -n "$tmp" && test -d "$tmp"
|
---|
1790 | } ||
|
---|
1791 | {
|
---|
1792 | tmp=./confstat$$-$RANDOM
|
---|
1793 | (umask 077 && mkdir $tmp)
|
---|
1794 | } ||
|
---|
1795 | {
|
---|
1796 | echo "$me: cannot create a temporary directory in ." >&2
|
---|
1797 | { (exit 1); exit 1; }
|
---|
1798 | }
|
---|
1799 |
|
---|
1800 | _ACEOF
|
---|
1801 |
|
---|
1802 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
1803 |
|
---|
1804 | #
|
---|
1805 | # CONFIG_FILES section.
|
---|
1806 | #
|
---|
1807 |
|
---|
1808 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
1809 | # This happens for instance when ./config.status config.h
|
---|
1810 | if test -n "\$CONFIG_FILES"; then
|
---|
1811 | # Protect against being on the right side of a sed subst in config.status.
|
---|
1812 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
---|
1813 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
---|
1814 | s,@SHELL@,$SHELL,;t t
|
---|
1815 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
---|
1816 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
---|
1817 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
---|
1818 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
---|
1819 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
---|
1820 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
---|
1821 | s,@exec_prefix@,$exec_prefix,;t t
|
---|
1822 | s,@prefix@,$prefix,;t t
|
---|
1823 | s,@program_transform_name@,$program_transform_name,;t t
|
---|
1824 | s,@bindir@,$bindir,;t t
|
---|
1825 | s,@sbindir@,$sbindir,;t t
|
---|
1826 | s,@libexecdir@,$libexecdir,;t t
|
---|
1827 | s,@datadir@,$datadir,;t t
|
---|
1828 | s,@sysconfdir@,$sysconfdir,;t t
|
---|
1829 | s,@sharedstatedir@,$sharedstatedir,;t t
|
---|
1830 | s,@localstatedir@,$localstatedir,;t t
|
---|
1831 | s,@libdir@,$libdir,;t t
|
---|
1832 | s,@includedir@,$includedir,;t t
|
---|
1833 | s,@oldincludedir@,$oldincludedir,;t t
|
---|
1834 | s,@infodir@,$infodir,;t t
|
---|
1835 | s,@mandir@,$mandir,;t t
|
---|
1836 | s,@build_alias@,$build_alias,;t t
|
---|
1837 | s,@host_alias@,$host_alias,;t t
|
---|
1838 | s,@target_alias@,$target_alias,;t t
|
---|
1839 | s,@DEFS@,$DEFS,;t t
|
---|
1840 | s,@ECHO_C@,$ECHO_C,;t t
|
---|
1841 | s,@ECHO_N@,$ECHO_N,;t t
|
---|
1842 | s,@ECHO_T@,$ECHO_T,;t t
|
---|
1843 | s,@LIBS@,$LIBS,;t t
|
---|
1844 | s,@PACKAGE@,$PACKAGE,;t t
|
---|
1845 | s,@VERSION@,$VERSION,;t t
|
---|
1846 | s,@LIBOBJS@,$LIBOBJS,;t t
|
---|
1847 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
---|
1848 | CEOF
|
---|
1849 |
|
---|
1850 | _ACEOF
|
---|
1851 |
|
---|
1852 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
1853 | # Split the substitutions into bite-sized pieces for seds with
|
---|
1854 | # small command number limits, like on Digital OSF/1 and HP-UX.
|
---|
1855 | ac_max_sed_lines=48
|
---|
1856 | ac_sed_frag=1 # Number of current file.
|
---|
1857 | ac_beg=1 # First line for current file.
|
---|
1858 | ac_end=$ac_max_sed_lines # Line after last line for current file.
|
---|
1859 | ac_more_lines=:
|
---|
1860 | ac_sed_cmds=
|
---|
1861 | while $ac_more_lines; do
|
---|
1862 | if test $ac_beg -gt 1; then
|
---|
1863 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
1864 | else
|
---|
1865 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
1866 | fi
|
---|
1867 | if test ! -s $tmp/subs.frag; then
|
---|
1868 | ac_more_lines=false
|
---|
1869 | else
|
---|
1870 | # The purpose of the label and of the branching condition is to
|
---|
1871 | # speed up the sed processing (if there are no `@' at all, there
|
---|
1872 | # is no need to browse any of the substitutions).
|
---|
1873 | # These are the two extra sed commands mentioned above.
|
---|
1874 | (echo ':t
|
---|
1875 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
---|
1876 | if test -z "$ac_sed_cmds"; then
|
---|
1877 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
1878 | else
|
---|
1879 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
1880 | fi
|
---|
1881 | ac_sed_frag=`expr $ac_sed_frag + 1`
|
---|
1882 | ac_beg=$ac_end
|
---|
1883 | ac_end=`expr $ac_end + $ac_max_sed_lines`
|
---|
1884 | fi
|
---|
1885 | done
|
---|
1886 | if test -z "$ac_sed_cmds"; then
|
---|
1887 | ac_sed_cmds=cat
|
---|
1888 | fi
|
---|
1889 | fi # test -n "$CONFIG_FILES"
|
---|
1890 |
|
---|
1891 | _ACEOF
|
---|
1892 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
1893 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
---|
1894 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
1895 | case $ac_file in
|
---|
1896 | - | *:- | *:-:* ) # input from stdin
|
---|
1897 | cat >$tmp/stdin
|
---|
1898 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
1899 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
1900 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
1901 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
1902 | * ) ac_file_in=$ac_file.in ;;
|
---|
1903 | esac
|
---|
1904 |
|
---|
1905 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
---|
1906 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
1907 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
1908 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
1909 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
1910 | X"$ac_file" : 'X\(/\)' \| \
|
---|
1911 | . : '\(.\)' 2>/dev/null ||
|
---|
1912 | echo X"$ac_file" |
|
---|
1913 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
1914 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
1915 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
1916 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
1917 | s/.*/./; q'`
|
---|
1918 | { if $as_mkdir_p; then
|
---|
1919 | mkdir -p "$ac_dir"
|
---|
1920 | else
|
---|
1921 | as_dir="$ac_dir"
|
---|
1922 | as_dirs=
|
---|
1923 | while test ! -d "$as_dir"; do
|
---|
1924 | as_dirs="$as_dir $as_dirs"
|
---|
1925 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
1926 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
1927 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
1928 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
1929 | X"$as_dir" : 'X\(/\)' \| \
|
---|
1930 | . : '\(.\)' 2>/dev/null ||
|
---|
1931 | echo X"$as_dir" |
|
---|
1932 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
1933 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
1934 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
1935 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
1936 | s/.*/./; q'`
|
---|
1937 | done
|
---|
1938 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
1939 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
1940 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
1941 | { (exit 1); exit 1; }; }; }
|
---|
1942 |
|
---|
1943 | ac_builddir=.
|
---|
1944 |
|
---|
1945 | if test "$ac_dir" != .; then
|
---|
1946 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
1947 | # A "../" for each directory in $ac_dir_suffix.
|
---|
1948 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
1949 | else
|
---|
1950 | ac_dir_suffix= ac_top_builddir=
|
---|
1951 | fi
|
---|
1952 |
|
---|
1953 | case $srcdir in
|
---|
1954 | .) # No --srcdir option. We are building in place.
|
---|
1955 | ac_srcdir=.
|
---|
1956 | if test -z "$ac_top_builddir"; then
|
---|
1957 | ac_top_srcdir=.
|
---|
1958 | else
|
---|
1959 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
1960 | fi ;;
|
---|
1961 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
1962 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
1963 | ac_top_srcdir=$srcdir ;;
|
---|
1964 | *) # Relative path.
|
---|
1965 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
1966 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
1967 | esac
|
---|
1968 |
|
---|
1969 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
1970 | # the directories may not exist.
|
---|
1971 | case `pwd` in
|
---|
1972 | .) ac_abs_builddir="$ac_dir";;
|
---|
1973 | *)
|
---|
1974 | case "$ac_dir" in
|
---|
1975 | .) ac_abs_builddir=`pwd`;;
|
---|
1976 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
1977 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
1978 | esac;;
|
---|
1979 | esac
|
---|
1980 | case $ac_abs_builddir in
|
---|
1981 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
1982 | *)
|
---|
1983 | case ${ac_top_builddir}. in
|
---|
1984 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
1985 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
1986 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
1987 | esac;;
|
---|
1988 | esac
|
---|
1989 | case $ac_abs_builddir in
|
---|
1990 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
1991 | *)
|
---|
1992 | case $ac_srcdir in
|
---|
1993 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
1994 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
1995 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
1996 | esac;;
|
---|
1997 | esac
|
---|
1998 | case $ac_abs_builddir in
|
---|
1999 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
2000 | *)
|
---|
2001 | case $ac_top_srcdir in
|
---|
2002 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
2003 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
2004 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
2005 | esac;;
|
---|
2006 | esac
|
---|
2007 |
|
---|
2008 |
|
---|
2009 |
|
---|
2010 | if test x"$ac_file" != x-; then
|
---|
2011 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
2012 | echo "$as_me: creating $ac_file" >&6;}
|
---|
2013 | rm -f "$ac_file"
|
---|
2014 | fi
|
---|
2015 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
2016 | # use $as_me), people would be surprised to read:
|
---|
2017 | # /* config.h. Generated by config.status. */
|
---|
2018 | if test x"$ac_file" = x-; then
|
---|
2019 | configure_input=
|
---|
2020 | else
|
---|
2021 | configure_input="$ac_file. "
|
---|
2022 | fi
|
---|
2023 | configure_input=$configure_input"Generated from `echo $ac_file_in |
|
---|
2024 | sed 's,.*/,,'` by configure."
|
---|
2025 |
|
---|
2026 | # First look for the input files in the build tree, otherwise in the
|
---|
2027 | # src tree.
|
---|
2028 | ac_file_inputs=`IFS=:
|
---|
2029 | for f in $ac_file_in; do
|
---|
2030 | case $f in
|
---|
2031 | -) echo $tmp/stdin ;;
|
---|
2032 | [\\/$]*)
|
---|
2033 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
2034 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
2035 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
2036 | { (exit 1); exit 1; }; }
|
---|
2037 | echo "$f";;
|
---|
2038 | *) # Relative
|
---|
2039 | if test -f "$f"; then
|
---|
2040 | # Build tree
|
---|
2041 | echo "$f"
|
---|
2042 | elif test -f "$srcdir/$f"; then
|
---|
2043 | # Source tree
|
---|
2044 | echo "$srcdir/$f"
|
---|
2045 | else
|
---|
2046 | # /dev/null tree
|
---|
2047 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
2048 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
2049 | { (exit 1); exit 1; }; }
|
---|
2050 | fi;;
|
---|
2051 | esac
|
---|
2052 | done` || { (exit 1); exit 1; }
|
---|
2053 | _ACEOF
|
---|
2054 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
2055 | sed "$ac_vpsub
|
---|
2056 | $extrasub
|
---|
2057 | _ACEOF
|
---|
2058 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
2059 | :t
|
---|
2060 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
2061 | s,@configure_input@,$configure_input,;t t
|
---|
2062 | s,@srcdir@,$ac_srcdir,;t t
|
---|
2063 | s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
---|
2064 | s,@top_srcdir@,$ac_top_srcdir,;t t
|
---|
2065 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
---|
2066 | s,@builddir@,$ac_builddir,;t t
|
---|
2067 | s,@abs_builddir@,$ac_abs_builddir,;t t
|
---|
2068 | s,@top_builddir@,$ac_top_builddir,;t t
|
---|
2069 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
---|
2070 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
---|
2071 | rm -f $tmp/stdin
|
---|
2072 | if test x"$ac_file" != x-; then
|
---|
2073 | mv $tmp/out $ac_file
|
---|
2074 | else
|
---|
2075 | cat $tmp/out
|
---|
2076 | rm -f $tmp/out
|
---|
2077 | fi
|
---|
2078 |
|
---|
2079 | done
|
---|
2080 | _ACEOF
|
---|
2081 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
2082 |
|
---|
2083 | #
|
---|
2084 | # CONFIG_HEADER section.
|
---|
2085 | #
|
---|
2086 |
|
---|
2087 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
---|
2088 | # NAME is the cpp macro being defined and VALUE is the value it is being given.
|
---|
2089 | #
|
---|
2090 | # ac_d sets the value in "#define NAME VALUE" lines.
|
---|
2091 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
---|
2092 | ac_dB='[ ].*$,\1#\2'
|
---|
2093 | ac_dC=' '
|
---|
2094 | ac_dD=',;t'
|
---|
2095 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
---|
2096 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
---|
2097 | ac_uB='$,\1#\2define\3'
|
---|
2098 | ac_uC=' '
|
---|
2099 | ac_uD=',;t'
|
---|
2100 |
|
---|
2101 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
---|
2102 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
2103 | case $ac_file in
|
---|
2104 | - | *:- | *:-:* ) # input from stdin
|
---|
2105 | cat >$tmp/stdin
|
---|
2106 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
2107 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
2108 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
2109 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
2110 | * ) ac_file_in=$ac_file.in ;;
|
---|
2111 | esac
|
---|
2112 |
|
---|
2113 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
2114 | echo "$as_me: creating $ac_file" >&6;}
|
---|
2115 |
|
---|
2116 | # First look for the input files in the build tree, otherwise in the
|
---|
2117 | # src tree.
|
---|
2118 | ac_file_inputs=`IFS=:
|
---|
2119 | for f in $ac_file_in; do
|
---|
2120 | case $f in
|
---|
2121 | -) echo $tmp/stdin ;;
|
---|
2122 | [\\/$]*)
|
---|
2123 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
2124 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
2125 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
2126 | { (exit 1); exit 1; }; }
|
---|
2127 | # Do quote $f, to prevent DOS paths from being IFS'd.
|
---|
2128 | echo "$f";;
|
---|
2129 | *) # Relative
|
---|
2130 | if test -f "$f"; then
|
---|
2131 | # Build tree
|
---|
2132 | echo "$f"
|
---|
2133 | elif test -f "$srcdir/$f"; then
|
---|
2134 | # Source tree
|
---|
2135 | echo "$srcdir/$f"
|
---|
2136 | else
|
---|
2137 | # /dev/null tree
|
---|
2138 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
2139 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
2140 | { (exit 1); exit 1; }; }
|
---|
2141 | fi;;
|
---|
2142 | esac
|
---|
2143 | done` || { (exit 1); exit 1; }
|
---|
2144 | # Remove the trailing spaces.
|
---|
2145 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
---|
2146 |
|
---|
2147 | _ACEOF
|
---|
2148 |
|
---|
2149 | # Transform confdefs.h into two sed scripts, `conftest.defines' and
|
---|
2150 | # `conftest.undefs', that substitutes the proper values into
|
---|
2151 | # config.h.in to produce config.h. The first handles `#define'
|
---|
2152 | # templates, and the second `#undef' templates.
|
---|
2153 | # And first: Protect against being on the right side of a sed subst in
|
---|
2154 | # config.status. Protect against being in an unquoted here document
|
---|
2155 | # in config.status.
|
---|
2156 | rm -f conftest.defines conftest.undefs
|
---|
2157 | # Using a here document instead of a string reduces the quoting nightmare.
|
---|
2158 | # Putting comments in sed scripts is not portable.
|
---|
2159 | #
|
---|
2160 | # `end' is used to avoid that the second main sed command (meant for
|
---|
2161 | # 0-ary CPP macros) applies to n-ary macro definitions.
|
---|
2162 | # See the Autoconf documentation for `clear'.
|
---|
2163 | cat >confdef2sed.sed <<\_ACEOF
|
---|
2164 | s/[\\&,]/\\&/g
|
---|
2165 | s,[\\$`],\\&,g
|
---|
2166 | t clear
|
---|
2167 | : clear
|
---|
2168 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
---|
2169 | t end
|
---|
2170 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
---|
2171 | : end
|
---|
2172 | _ACEOF
|
---|
2173 | # If some macros were called several times there might be several times
|
---|
2174 | # the same #defines, which is useless. Nevertheless, we may not want to
|
---|
2175 | # sort them, since we want the *last* AC-DEFINE to be honored.
|
---|
2176 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
---|
2177 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
---|
2178 | rm -f confdef2sed.sed
|
---|
2179 |
|
---|
2180 | # This sed command replaces #undef with comments. This is necessary, for
|
---|
2181 | # example, in the case of _POSIX_SOURCE, which is predefined and required
|
---|
2182 | # on some systems where configure will not decide to define it.
|
---|
2183 | cat >>conftest.undefs <<\_ACEOF
|
---|
2184 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
---|
2185 | _ACEOF
|
---|
2186 |
|
---|
2187 | # Break up conftest.defines because some shells have a limit on the size
|
---|
2188 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
2189 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
---|
2190 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
---|
2191 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
---|
2192 | echo ' :' >>$CONFIG_STATUS
|
---|
2193 | rm -f conftest.tail
|
---|
2194 | while grep . conftest.defines >/dev/null
|
---|
2195 | do
|
---|
2196 | # Write a limited-size here document to $tmp/defines.sed.
|
---|
2197 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
---|
2198 | # Speed up: don't consider the non `#define' lines.
|
---|
2199 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
---|
2200 | # Work around the forget-to-reset-the-flag bug.
|
---|
2201 | echo 't clr' >>$CONFIG_STATUS
|
---|
2202 | echo ': clr' >>$CONFIG_STATUS
|
---|
2203 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
---|
2204 | echo 'CEOF
|
---|
2205 | sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
---|
2206 | rm -f $tmp/in
|
---|
2207 | mv $tmp/out $tmp/in
|
---|
2208 | ' >>$CONFIG_STATUS
|
---|
2209 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
---|
2210 | rm -f conftest.defines
|
---|
2211 | mv conftest.tail conftest.defines
|
---|
2212 | done
|
---|
2213 | rm -f conftest.defines
|
---|
2214 | echo ' fi # grep' >>$CONFIG_STATUS
|
---|
2215 | echo >>$CONFIG_STATUS
|
---|
2216 |
|
---|
2217 | # Break up conftest.undefs because some shells have a limit on the size
|
---|
2218 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
2219 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
---|
2220 | rm -f conftest.tail
|
---|
2221 | while grep . conftest.undefs >/dev/null
|
---|
2222 | do
|
---|
2223 | # Write a limited-size here document to $tmp/undefs.sed.
|
---|
2224 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
---|
2225 | # Speed up: don't consider the non `#undef'
|
---|
2226 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
---|
2227 | # Work around the forget-to-reset-the-flag bug.
|
---|
2228 | echo 't clr' >>$CONFIG_STATUS
|
---|
2229 | echo ': clr' >>$CONFIG_STATUS
|
---|
2230 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
---|
2231 | echo 'CEOF
|
---|
2232 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
---|
2233 | rm -f $tmp/in
|
---|
2234 | mv $tmp/out $tmp/in
|
---|
2235 | ' >>$CONFIG_STATUS
|
---|
2236 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
---|
2237 | rm -f conftest.undefs
|
---|
2238 | mv conftest.tail conftest.undefs
|
---|
2239 | done
|
---|
2240 | rm -f conftest.undefs
|
---|
2241 |
|
---|
2242 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
2243 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
2244 | # use $as_me), people would be surprised to read:
|
---|
2245 | # /* config.h. Generated by config.status. */
|
---|
2246 | if test x"$ac_file" = x-; then
|
---|
2247 | echo "/* Generated by configure. */" >$tmp/config.h
|
---|
2248 | else
|
---|
2249 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
---|
2250 | fi
|
---|
2251 | cat $tmp/in >>$tmp/config.h
|
---|
2252 | rm -f $tmp/in
|
---|
2253 | if test x"$ac_file" != x-; then
|
---|
2254 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
---|
2255 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
2256 | echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
2257 | else
|
---|
2258 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
2259 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
2260 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
2261 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
2262 | X"$ac_file" : 'X\(/\)' \| \
|
---|
2263 | . : '\(.\)' 2>/dev/null ||
|
---|
2264 | echo X"$ac_file" |
|
---|
2265 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
2266 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
2267 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
2268 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
2269 | s/.*/./; q'`
|
---|
2270 | { if $as_mkdir_p; then
|
---|
2271 | mkdir -p "$ac_dir"
|
---|
2272 | else
|
---|
2273 | as_dir="$ac_dir"
|
---|
2274 | as_dirs=
|
---|
2275 | while test ! -d "$as_dir"; do
|
---|
2276 | as_dirs="$as_dir $as_dirs"
|
---|
2277 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
2278 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
2279 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
2280 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
2281 | X"$as_dir" : 'X\(/\)' \| \
|
---|
2282 | . : '\(.\)' 2>/dev/null ||
|
---|
2283 | echo X"$as_dir" |
|
---|
2284 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
2285 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
2286 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
2287 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
2288 | s/.*/./; q'`
|
---|
2289 | done
|
---|
2290 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
2291 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
2292 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
2293 | { (exit 1); exit 1; }; }; }
|
---|
2294 |
|
---|
2295 | rm -f $ac_file
|
---|
2296 | mv $tmp/config.h $ac_file
|
---|
2297 | fi
|
---|
2298 | else
|
---|
2299 | cat $tmp/config.h
|
---|
2300 | rm -f $tmp/config.h
|
---|
2301 | fi
|
---|
2302 | done
|
---|
2303 | _ACEOF
|
---|
2304 |
|
---|
2305 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
2306 |
|
---|
2307 | { (exit 0); exit 0; }
|
---|
2308 | _ACEOF
|
---|
2309 | chmod +x $CONFIG_STATUS
|
---|
2310 | ac_clean_files=$ac_clean_files_save
|
---|
2311 |
|
---|
2312 |
|
---|
2313 | # configure is writing to config.log, and then calls config.status.
|
---|
2314 | # config.status does its own redirection, appending to config.log.
|
---|
2315 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
2316 | # by configure, so config.status won't be able to write to it; its
|
---|
2317 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
2318 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
2319 | # appended to by config.status. When coming back to configure, we
|
---|
2320 | # need to make the FD available again.
|
---|
2321 | if test "$no_create" != yes; then
|
---|
2322 | ac_cs_success=:
|
---|
2323 | ac_config_status_args=
|
---|
2324 | test "$silent" = yes &&
|
---|
2325 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
2326 | exec 5>/dev/null
|
---|
2327 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
2328 | exec 5>>config.log
|
---|
2329 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
2330 | # would make configure fail if this is the last instruction.
|
---|
2331 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
2332 | fi
|
---|