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