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