1 | #! /bin/sh
|
---|
2 | # Generated by configure.
|
---|
3 | # Run this file to recreate the current configuration.
|
---|
4 | # Compiler output produced by configure, useful for debugging
|
---|
5 | # configure, is in config.log if it exists.
|
---|
6 |
|
---|
7 | debug=false
|
---|
8 | ac_cs_recheck=false
|
---|
9 | ac_cs_silent=false
|
---|
10 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
11 | ## --------------------- ##
|
---|
12 | ## M4sh Initialization. ##
|
---|
13 | ## --------------------- ##
|
---|
14 |
|
---|
15 | # Be Bourne compatible
|
---|
16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
17 | emulate sh
|
---|
18 | NULLCMD=:
|
---|
19 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
20 | # is contrary to our usage. Disable this feature.
|
---|
21 | alias -g '${1+"$@"}'='"$@"'
|
---|
22 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
23 | set -o posix
|
---|
24 | fi
|
---|
25 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
26 |
|
---|
27 | # Support unset when possible.
|
---|
28 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
29 | as_unset=unset
|
---|
30 | else
|
---|
31 | as_unset=false
|
---|
32 | fi
|
---|
33 |
|
---|
34 |
|
---|
35 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
36 | $as_unset ENV MAIL MAILPATH
|
---|
37 | PS1='$ '
|
---|
38 | PS2='> '
|
---|
39 | PS4='+ '
|
---|
40 |
|
---|
41 | # NLS nuisances.
|
---|
42 | for as_var in \
|
---|
43 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
44 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
45 | LC_TELEPHONE LC_TIME
|
---|
46 | do
|
---|
47 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
48 | eval $as_var=C; export $as_var
|
---|
49 | else
|
---|
50 | $as_unset $as_var
|
---|
51 | fi
|
---|
52 | done
|
---|
53 |
|
---|
54 | # Required to use basename.
|
---|
55 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
56 | as_expr=expr
|
---|
57 | else
|
---|
58 | as_expr=false
|
---|
59 | fi
|
---|
60 |
|
---|
61 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
62 | as_basename=basename
|
---|
63 | else
|
---|
64 | as_basename=false
|
---|
65 | fi
|
---|
66 |
|
---|
67 |
|
---|
68 | # Name of the executable.
|
---|
69 | as_me=`$as_basename "$0" ||
|
---|
70 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
71 | X"$0" : 'X\(//\)$' \| \
|
---|
72 | X"$0" : 'X\(/\)$' \| \
|
---|
73 | . : '\(.\)' 2>/dev/null ||
|
---|
74 | echo X/"$0" |
|
---|
75 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
76 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
77 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
78 | s/.*/./; q'`
|
---|
79 |
|
---|
80 |
|
---|
81 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
82 | # Avoid depending upon Character Ranges.
|
---|
83 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
84 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
85 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
86 | as_cr_digits='0123456789'
|
---|
87 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
88 |
|
---|
89 | # The user is always right.
|
---|
90 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
91 | echo "#! /bin/sh" >conf$$.sh
|
---|
92 | echo "exit 0" >>conf$$.sh
|
---|
93 | chmod +x conf$$.sh
|
---|
94 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
95 | PATH_SEPARATOR=';'
|
---|
96 | else
|
---|
97 | PATH_SEPARATOR=:
|
---|
98 | fi
|
---|
99 | rm -f conf$$.sh
|
---|
100 | fi
|
---|
101 |
|
---|
102 |
|
---|
103 | as_lineno_1=$LINENO
|
---|
104 | as_lineno_2=$LINENO
|
---|
105 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
106 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
107 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
108 | # Find who we are. Look in the path if we contain no path at all
|
---|
109 | # relative or not.
|
---|
110 | case $0 in
|
---|
111 | *[\\/]* ) as_myself=$0 ;;
|
---|
112 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
113 | for as_dir in $PATH
|
---|
114 | do
|
---|
115 | IFS=$as_save_IFS
|
---|
116 | test -z "$as_dir" && as_dir=.
|
---|
117 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
118 | done
|
---|
119 |
|
---|
120 | ;;
|
---|
121 | esac
|
---|
122 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
123 | # in which case we are not to be found in the path.
|
---|
124 | if test "x$as_myself" = x; then
|
---|
125 | as_myself=$0
|
---|
126 | fi
|
---|
127 | if test ! -f "$as_myself"; then
|
---|
128 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
---|
129 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
---|
130 | { (exit 1); exit 1; }; }
|
---|
131 | fi
|
---|
132 | case $CONFIG_SHELL in
|
---|
133 | '')
|
---|
134 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
135 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
136 | do
|
---|
137 | IFS=$as_save_IFS
|
---|
138 | test -z "$as_dir" && as_dir=.
|
---|
139 | for as_base in sh bash ksh sh5; do
|
---|
140 | case $as_dir in
|
---|
141 | /*)
|
---|
142 | if ("$as_dir/$as_base" -c '
|
---|
143 | as_lineno_1=$LINENO
|
---|
144 | as_lineno_2=$LINENO
|
---|
145 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
146 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
147 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
148 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
149 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
150 | CONFIG_SHELL=$as_dir/$as_base
|
---|
151 | export CONFIG_SHELL
|
---|
152 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
153 | fi;;
|
---|
154 | esac
|
---|
155 | done
|
---|
156 | done
|
---|
157 | ;;
|
---|
158 | esac
|
---|
159 |
|
---|
160 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
161 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
162 | # line-number line before each line; the second 'sed' does the real
|
---|
163 | # work. The second script uses 'N' to pair each line-number line
|
---|
164 | # with the numbered line, and appends trailing '-' during
|
---|
165 | # substitution so that $LINENO is not a special case at line end.
|
---|
166 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
167 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
168 | sed '=' <$as_myself |
|
---|
169 | sed '
|
---|
170 | N
|
---|
171 | s,$,-,
|
---|
172 | : loop
|
---|
173 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
174 | t loop
|
---|
175 | s,-$,,
|
---|
176 | s,^['$as_cr_digits']*\n,,
|
---|
177 | ' >$as_me.lineno &&
|
---|
178 | chmod +x $as_me.lineno ||
|
---|
179 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
---|
180 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
---|
181 | { (exit 1); exit 1; }; }
|
---|
182 |
|
---|
183 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
184 | # (the dirname of $[0] is not the place where we might find the
|
---|
185 | # original and so on. Autoconf is especially sensible to this).
|
---|
186 | . ./$as_me.lineno
|
---|
187 | # Exit status is that of the last command.
|
---|
188 | exit
|
---|
189 | }
|
---|
190 |
|
---|
191 |
|
---|
192 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
193 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
194 | ' ECHO_T=' ' ;;
|
---|
195 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
196 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
197 | esac
|
---|
198 |
|
---|
199 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
200 | as_expr=expr
|
---|
201 | else
|
---|
202 | as_expr=false
|
---|
203 | fi
|
---|
204 |
|
---|
205 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
206 | echo >conf$$.file
|
---|
207 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
208 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
209 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
210 | if test -f conf$$.exe; then
|
---|
211 | # Don't use ln at all; we don't have any links
|
---|
212 | as_ln_s='cp -p'
|
---|
213 | else
|
---|
214 | as_ln_s='ln -s'
|
---|
215 | fi
|
---|
216 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
217 | as_ln_s=ln
|
---|
218 | else
|
---|
219 | as_ln_s='cp -p'
|
---|
220 | fi
|
---|
221 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
222 |
|
---|
223 | if mkdir -p . 2>/dev/null; then
|
---|
224 | as_mkdir_p=:
|
---|
225 | else
|
---|
226 | test -d ./-p && rmdir ./-p
|
---|
227 | as_mkdir_p=false
|
---|
228 | fi
|
---|
229 |
|
---|
230 | as_executable_p="test -f"
|
---|
231 |
|
---|
232 | # Sed expression to map a string onto a valid CPP name.
|
---|
233 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
234 |
|
---|
235 | # Sed expression to map a string onto a valid variable name.
|
---|
236 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
237 |
|
---|
238 |
|
---|
239 | # IFS
|
---|
240 | # We need space, tab and new line, in precisely that order.
|
---|
241 | as_nl='
|
---|
242 | '
|
---|
243 | IFS=" $as_nl"
|
---|
244 |
|
---|
245 | # CDPATH.
|
---|
246 | $as_unset CDPATH
|
---|
247 |
|
---|
248 | exec 6>&1
|
---|
249 |
|
---|
250 | # Open the log real soon, to keep \$[0] and so on meaningful, and to
|
---|
251 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
252 | # values after options handling. Logging --version etc. is OK.
|
---|
253 | exec 5>>config.log
|
---|
254 | {
|
---|
255 | echo
|
---|
256 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
257 | ## Running $as_me. ##
|
---|
258 | _ASBOX
|
---|
259 | } >&5
|
---|
260 | cat >&5 <<_CSEOF
|
---|
261 |
|
---|
262 | This file was extended by $as_me, which was
|
---|
263 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
264 |
|
---|
265 | CONFIG_FILES = $CONFIG_FILES
|
---|
266 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
267 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
268 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
269 | $ $0 $@
|
---|
270 |
|
---|
271 | _CSEOF
|
---|
272 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
---|
273 | echo >&5
|
---|
274 | config_files=" Makefile"
|
---|
275 | config_headers=" config.h"
|
---|
276 |
|
---|
277 | ac_cs_usage="\
|
---|
278 | \`$as_me' instantiates files from templates according to the
|
---|
279 | current configuration.
|
---|
280 |
|
---|
281 | Usage: $0 [OPTIONS] [FILE]...
|
---|
282 |
|
---|
283 | -h, --help print this help, then exit
|
---|
284 | -V, --version print version number, then exit
|
---|
285 | -q, --quiet do not print progress messages
|
---|
286 | -d, --debug don't remove temporary files
|
---|
287 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
288 | --file=FILE[:TEMPLATE]
|
---|
289 | instantiate the configuration file FILE
|
---|
290 | --header=FILE[:TEMPLATE]
|
---|
291 | instantiate the configuration header FILE
|
---|
292 |
|
---|
293 | Configuration files:
|
---|
294 | $config_files
|
---|
295 |
|
---|
296 | Configuration headers:
|
---|
297 | $config_headers
|
---|
298 |
|
---|
299 | Report bugs to <[email protected]>."
|
---|
300 | ac_cs_version="\
|
---|
301 | config.status
|
---|
302 | configured by ./configure, generated by GNU Autoconf 2.59,
|
---|
303 | with options \"\"
|
---|
304 |
|
---|
305 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
306 | This config.status script is free software; the Free Software Foundation
|
---|
307 | gives unlimited permission to copy, distribute and modify it."
|
---|
308 | srcdir=.
|
---|
309 | # If no file are specified by the user, then we need to provide default
|
---|
310 | # value. By we need to know if files were specified by the user.
|
---|
311 | ac_need_defaults=:
|
---|
312 | while test $# != 0
|
---|
313 | do
|
---|
314 | case $1 in
|
---|
315 | --*=*)
|
---|
316 | ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
---|
317 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
---|
318 | ac_shift=:
|
---|
319 | ;;
|
---|
320 | -*)
|
---|
321 | ac_option=$1
|
---|
322 | ac_optarg=$2
|
---|
323 | ac_shift=shift
|
---|
324 | ;;
|
---|
325 | *) # This is not an option, so the user has probably given explicit
|
---|
326 | # arguments.
|
---|
327 | ac_option=$1
|
---|
328 | ac_need_defaults=false;;
|
---|
329 | esac
|
---|
330 |
|
---|
331 | case $ac_option in
|
---|
332 | # Handling of the options.
|
---|
333 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
334 | ac_cs_recheck=: ;;
|
---|
335 | --version | --vers* | -V )
|
---|
336 | echo "$ac_cs_version"; exit 0 ;;
|
---|
337 | --he | --h)
|
---|
338 | # Conflict between --help and --header
|
---|
339 | { { echo "$as_me:$LINENO: error: ambiguous option: $1
|
---|
340 | Try \`$0 --help' for more information." >&5
|
---|
341 | echo "$as_me: error: ambiguous option: $1
|
---|
342 | Try \`$0 --help' for more information." >&2;}
|
---|
343 | { (exit 1); exit 1; }; };;
|
---|
344 | --help | --hel | -h )
|
---|
345 | echo "$ac_cs_usage"; exit 0 ;;
|
---|
346 | --debug | --d* | -d )
|
---|
347 | debug=: ;;
|
---|
348 | --file | --fil | --fi | --f )
|
---|
349 | $ac_shift
|
---|
350 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
---|
351 | ac_need_defaults=false;;
|
---|
352 | --header | --heade | --head | --hea )
|
---|
353 | $ac_shift
|
---|
354 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
---|
355 | ac_need_defaults=false;;
|
---|
356 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
357 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
358 | ac_cs_silent=: ;;
|
---|
359 |
|
---|
360 | # This is an error.
|
---|
361 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
---|
362 | Try \`$0 --help' for more information." >&5
|
---|
363 | echo "$as_me: error: unrecognized option: $1
|
---|
364 | Try \`$0 --help' for more information." >&2;}
|
---|
365 | { (exit 1); exit 1; }; } ;;
|
---|
366 |
|
---|
367 | *) ac_config_targets="$ac_config_targets $1" ;;
|
---|
368 |
|
---|
369 | esac
|
---|
370 | shift
|
---|
371 | done
|
---|
372 |
|
---|
373 | ac_configure_extra_args=
|
---|
374 |
|
---|
375 | if $ac_cs_silent; then
|
---|
376 | exec 6>/dev/null
|
---|
377 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
378 | fi
|
---|
379 |
|
---|
380 | if $ac_cs_recheck; then
|
---|
381 | echo "running /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6
|
---|
382 | exec /bin/sh ./configure $ac_configure_extra_args --no-create --no-recursion
|
---|
383 | fi
|
---|
384 |
|
---|
385 | for ac_config_target in $ac_config_targets
|
---|
386 | do
|
---|
387 | case "$ac_config_target" in
|
---|
388 | # Handling of arguments.
|
---|
389 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
390 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
391 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
392 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
393 | { (exit 1); exit 1; }; };;
|
---|
394 | esac
|
---|
395 | done
|
---|
396 |
|
---|
397 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
398 | # then the envvar interface is used. Set only those that are not.
|
---|
399 | # We use the long form for the default assignment because of an extremely
|
---|
400 | # bizarre bug on SunOS 4.1.3.
|
---|
401 | if $ac_need_defaults; then
|
---|
402 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
403 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
404 | fi
|
---|
405 |
|
---|
406 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
407 | # simply because there is no reason to put it here, and in addition,
|
---|
408 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
409 | # Create a temporary directory, and hook for its removal unless debugging.
|
---|
410 | $debug ||
|
---|
411 | {
|
---|
412 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
---|
413 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
414 | }
|
---|
415 |
|
---|
416 | # Create a (secure) tmp directory for tmp files.
|
---|
417 |
|
---|
418 | {
|
---|
419 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
---|
420 | test -n "$tmp" && test -d "$tmp"
|
---|
421 | } ||
|
---|
422 | {
|
---|
423 | tmp=./confstat$$-$RANDOM
|
---|
424 | (umask 077 && mkdir $tmp)
|
---|
425 | } ||
|
---|
426 | {
|
---|
427 | echo "$me: cannot create a temporary directory in ." >&2
|
---|
428 | { (exit 1); exit 1; }
|
---|
429 | }
|
---|
430 |
|
---|
431 |
|
---|
432 | #
|
---|
433 | # CONFIG_FILES section.
|
---|
434 | #
|
---|
435 |
|
---|
436 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
437 | # This happens for instance when ./config.status config.h
|
---|
438 | if test -n "$CONFIG_FILES"; then
|
---|
439 | # Protect against being on the right side of a sed subst in config.status.
|
---|
440 | sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
|
---|
441 | s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
|
---|
442 | s,@SHELL@,/bin/sh,;t t
|
---|
443 | s,@PATH_SEPARATOR@,:,;t t
|
---|
444 | s,@PACKAGE_NAME@,,;t t
|
---|
445 | s,@PACKAGE_TARNAME@,,;t t
|
---|
446 | s,@PACKAGE_VERSION@,,;t t
|
---|
447 | s,@PACKAGE_STRING@,,;t t
|
---|
448 | s,@PACKAGE_BUGREPORT@,,;t t
|
---|
449 | s,@exec_prefix@,${prefix},;t t
|
---|
450 | s,@prefix@,/usr/local,;t t
|
---|
451 | s,@program_transform_name@,s,x,x,,;t t
|
---|
452 | s,@bindir@,${exec_prefix}/bin,;t t
|
---|
453 | s,@sbindir@,${exec_prefix}/sbin,;t t
|
---|
454 | s,@libexecdir@,${exec_prefix}/libexec,;t t
|
---|
455 | s,@datadir@,${prefix}/share,;t t
|
---|
456 | s,@sysconfdir@,${prefix}/etc,;t t
|
---|
457 | s,@sharedstatedir@,${prefix}/com,;t t
|
---|
458 | s,@localstatedir@,${prefix}/var,;t t
|
---|
459 | s,@libdir@,${exec_prefix}/lib,;t t
|
---|
460 | s,@includedir@,${prefix}/include,;t t
|
---|
461 | s,@oldincludedir@,/usr/include,;t t
|
---|
462 | s,@infodir@,${prefix}/info,;t t
|
---|
463 | s,@mandir@,${prefix}/man,;t t
|
---|
464 | s,@build_alias@,,;t t
|
---|
465 | s,@host_alias@,,;t t
|
---|
466 | s,@target_alias@,,;t t
|
---|
467 | s,@DEFS@,-DHAVE_CONFIG_H,;t t
|
---|
468 | s,@ECHO_C@,,;t t
|
---|
469 | s,@ECHO_N@,-n,;t t
|
---|
470 | s,@ECHO_T@,,;t t
|
---|
471 | s,@LIBS@,,;t t
|
---|
472 | s,@VERSION@,1.7.0,;t t
|
---|
473 | s,@SET_MAKE@,,;t t
|
---|
474 | s,@UNICODE_VERSION@,3.2.0,;t t
|
---|
475 | s,@CC@,gcc,;t t
|
---|
476 | s,@CFLAGS@,-g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes,;t t
|
---|
477 | s,@LDFLAGS@,,;t t
|
---|
478 | s,@CPPFLAGS@,,;t t
|
---|
479 | s,@ac_ct_CC@,gcc,;t t
|
---|
480 | s,@EXEEXT@,,;t t
|
---|
481 | s,@OBJEXT@,o,;t t
|
---|
482 | s,@CPP@,gcc -E,;t t
|
---|
483 | s,@EGREP@,grep -E,;t t
|
---|
484 | s,@build@,i686-pc-linux-gnu,;t t
|
---|
485 | s,@build_cpu@,i686,;t t
|
---|
486 | s,@build_vendor@,pc,;t t
|
---|
487 | s,@build_os@,linux-gnu,;t t
|
---|
488 | s,@host@,i686-pc-linux-gnu,;t t
|
---|
489 | s,@host_cpu@,i686,;t t
|
---|
490 | s,@host_vendor@,pc,;t t
|
---|
491 | s,@host_os@,linux-gnu,;t t
|
---|
492 | s,@LN_S@,ln -s,;t t
|
---|
493 | s,@ECHO@,echo,;t t
|
---|
494 | s,@RANLIB@,ranlib,;t t
|
---|
495 | s,@ac_ct_RANLIB@,ranlib,;t t
|
---|
496 | s,@STRIP@,strip,;t t
|
---|
497 | s,@ac_ct_STRIP@,strip,;t t
|
---|
498 | s,@LIBTOOL@,$(SHELL) $(top_builddir)/libtool,;t t
|
---|
499 | s,@PERL@,/usr/bin/perl,;t t
|
---|
500 | s,@SH@,/bin/sh,;t t
|
---|
501 | s,@MAINTAINER_MODE_TRUE@,#,;t t
|
---|
502 | s,@MAINTAINER_MODE_FALSE@,,;t t
|
---|
503 | s,@MAINT@,#,;t t
|
---|
504 | s,@LIBICONV@,,;t t
|
---|
505 | s,@LTLIBICONV@,,;t t
|
---|
506 | s,@LIBOBJS@,,;t t
|
---|
507 | s,@LTLIBOBJS@,,;t t
|
---|
508 | CEOF
|
---|
509 |
|
---|
510 | # Split the substitutions into bite-sized pieces for seds with
|
---|
511 | # small command number limits, like on Digital OSF/1 and HP-UX.
|
---|
512 | ac_max_sed_lines=48
|
---|
513 | ac_sed_frag=1 # Number of current file.
|
---|
514 | ac_beg=1 # First line for current file.
|
---|
515 | ac_end=$ac_max_sed_lines # Line after last line for current file.
|
---|
516 | ac_more_lines=:
|
---|
517 | ac_sed_cmds=
|
---|
518 | while $ac_more_lines; do
|
---|
519 | if test $ac_beg -gt 1; then
|
---|
520 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
521 | else
|
---|
522 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
523 | fi
|
---|
524 | if test ! -s $tmp/subs.frag; then
|
---|
525 | ac_more_lines=false
|
---|
526 | else
|
---|
527 | # The purpose of the label and of the branching condition is to
|
---|
528 | # speed up the sed processing (if there are no `@' at all, there
|
---|
529 | # is no need to browse any of the substitutions).
|
---|
530 | # These are the two extra sed commands mentioned above.
|
---|
531 | (echo ':t
|
---|
532 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
---|
533 | if test -z "$ac_sed_cmds"; then
|
---|
534 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
535 | else
|
---|
536 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
537 | fi
|
---|
538 | ac_sed_frag=`expr $ac_sed_frag + 1`
|
---|
539 | ac_beg=$ac_end
|
---|
540 | ac_end=`expr $ac_end + $ac_max_sed_lines`
|
---|
541 | fi
|
---|
542 | done
|
---|
543 | if test -z "$ac_sed_cmds"; then
|
---|
544 | ac_sed_cmds=cat
|
---|
545 | fi
|
---|
546 | fi # test -n "$CONFIG_FILES"
|
---|
547 |
|
---|
548 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
---|
549 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
550 | case $ac_file in
|
---|
551 | - | *:- | *:-:* ) # input from stdin
|
---|
552 | cat >$tmp/stdin
|
---|
553 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
554 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
555 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
556 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
557 | * ) ac_file_in=$ac_file.in ;;
|
---|
558 | esac
|
---|
559 |
|
---|
560 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
---|
561 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
562 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
563 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
564 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
565 | X"$ac_file" : 'X\(/\)' \| \
|
---|
566 | . : '\(.\)' 2>/dev/null ||
|
---|
567 | echo X"$ac_file" |
|
---|
568 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
569 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
570 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
571 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
572 | s/.*/./; q'`
|
---|
573 | { if $as_mkdir_p; then
|
---|
574 | mkdir -p "$ac_dir"
|
---|
575 | else
|
---|
576 | as_dir="$ac_dir"
|
---|
577 | as_dirs=
|
---|
578 | while test ! -d "$as_dir"; do
|
---|
579 | as_dirs="$as_dir $as_dirs"
|
---|
580 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
581 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
582 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
583 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
584 | X"$as_dir" : 'X\(/\)' \| \
|
---|
585 | . : '\(.\)' 2>/dev/null ||
|
---|
586 | echo X"$as_dir" |
|
---|
587 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
588 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
589 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
590 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
591 | s/.*/./; q'`
|
---|
592 | done
|
---|
593 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
594 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
595 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
596 | { (exit 1); exit 1; }; }; }
|
---|
597 |
|
---|
598 | ac_builddir=.
|
---|
599 |
|
---|
600 | if test "$ac_dir" != .; then
|
---|
601 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
602 | # A "../" for each directory in $ac_dir_suffix.
|
---|
603 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
604 | else
|
---|
605 | ac_dir_suffix= ac_top_builddir=
|
---|
606 | fi
|
---|
607 |
|
---|
608 | case $srcdir in
|
---|
609 | .) # No --srcdir option. We are building in place.
|
---|
610 | ac_srcdir=.
|
---|
611 | if test -z "$ac_top_builddir"; then
|
---|
612 | ac_top_srcdir=.
|
---|
613 | else
|
---|
614 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
615 | fi ;;
|
---|
616 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
617 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
618 | ac_top_srcdir=$srcdir ;;
|
---|
619 | *) # Relative path.
|
---|
620 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
621 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
622 | esac
|
---|
623 |
|
---|
624 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
625 | # the directories may not exist.
|
---|
626 | case `pwd` in
|
---|
627 | .) ac_abs_builddir="$ac_dir";;
|
---|
628 | *)
|
---|
629 | case "$ac_dir" in
|
---|
630 | .) ac_abs_builddir=`pwd`;;
|
---|
631 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
632 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
633 | esac;;
|
---|
634 | esac
|
---|
635 | case $ac_abs_builddir in
|
---|
636 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
637 | *)
|
---|
638 | case ${ac_top_builddir}. in
|
---|
639 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
640 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
641 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
642 | esac;;
|
---|
643 | esac
|
---|
644 | case $ac_abs_builddir in
|
---|
645 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
646 | *)
|
---|
647 | case $ac_srcdir in
|
---|
648 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
649 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
650 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
651 | esac;;
|
---|
652 | esac
|
---|
653 | case $ac_abs_builddir in
|
---|
654 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
655 | *)
|
---|
656 | case $ac_top_srcdir in
|
---|
657 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
658 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
659 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
660 | esac;;
|
---|
661 | esac
|
---|
662 |
|
---|
663 |
|
---|
664 |
|
---|
665 | if test x"$ac_file" != x-; then
|
---|
666 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
667 | echo "$as_me: creating $ac_file" >&6;}
|
---|
668 | rm -f "$ac_file"
|
---|
669 | fi
|
---|
670 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
671 | # use $as_me), people would be surprised to read:
|
---|
672 | # /* config.h. Generated by config.status. */
|
---|
673 | if test x"$ac_file" = x-; then
|
---|
674 | configure_input=
|
---|
675 | else
|
---|
676 | configure_input="$ac_file. "
|
---|
677 | fi
|
---|
678 | configure_input=$configure_input"Generated from `echo $ac_file_in |
|
---|
679 | sed 's,.*/,,'` by configure."
|
---|
680 |
|
---|
681 | # First look for the input files in the build tree, otherwise in the
|
---|
682 | # src tree.
|
---|
683 | ac_file_inputs=`IFS=:
|
---|
684 | for f in $ac_file_in; do
|
---|
685 | case $f in
|
---|
686 | -) echo $tmp/stdin ;;
|
---|
687 | [\\/$]*)
|
---|
688 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
689 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
690 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
691 | { (exit 1); exit 1; }; }
|
---|
692 | echo "$f";;
|
---|
693 | *) # Relative
|
---|
694 | if test -f "$f"; then
|
---|
695 | # Build tree
|
---|
696 | echo "$f"
|
---|
697 | elif test -f "$srcdir/$f"; then
|
---|
698 | # Source tree
|
---|
699 | echo "$srcdir/$f"
|
---|
700 | else
|
---|
701 | # /dev/null tree
|
---|
702 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
703 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
704 | { (exit 1); exit 1; }; }
|
---|
705 | fi;;
|
---|
706 | esac
|
---|
707 | done` || { (exit 1); exit 1; }
|
---|
708 | sed "/^[ ]*VPATH[ ]*=/{
|
---|
709 | s/:*\$(srcdir):*/:/;
|
---|
710 | s/:*\${srcdir}:*/:/;
|
---|
711 | s/:*@srcdir@:*/:/;
|
---|
712 | s/^\([^=]*=[ ]*\):*/\1/;
|
---|
713 | s/:*$//;
|
---|
714 | s/^[^=]*=[ ]*$//;
|
---|
715 | }
|
---|
716 |
|
---|
717 | :t
|
---|
718 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
719 | s,@configure_input@,$configure_input,;t t
|
---|
720 | s,@srcdir@,$ac_srcdir,;t t
|
---|
721 | s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
---|
722 | s,@top_srcdir@,$ac_top_srcdir,;t t
|
---|
723 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
---|
724 | s,@builddir@,$ac_builddir,;t t
|
---|
725 | s,@abs_builddir@,$ac_abs_builddir,;t t
|
---|
726 | s,@top_builddir@,$ac_top_builddir,;t t
|
---|
727 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
---|
728 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
---|
729 | rm -f $tmp/stdin
|
---|
730 | if test x"$ac_file" != x-; then
|
---|
731 | mv $tmp/out $ac_file
|
---|
732 | else
|
---|
733 | cat $tmp/out
|
---|
734 | rm -f $tmp/out
|
---|
735 | fi
|
---|
736 |
|
---|
737 | done
|
---|
738 |
|
---|
739 | #
|
---|
740 | # CONFIG_HEADER section.
|
---|
741 | #
|
---|
742 |
|
---|
743 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
---|
744 | # NAME is the cpp macro being defined and VALUE is the value it is being given.
|
---|
745 | #
|
---|
746 | # ac_d sets the value in "#define NAME VALUE" lines.
|
---|
747 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
---|
748 | ac_dB='[ ].*$,\1#\2'
|
---|
749 | ac_dC=' '
|
---|
750 | ac_dD=',;t'
|
---|
751 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
---|
752 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
---|
753 | ac_uB='$,\1#\2define\3'
|
---|
754 | ac_uC=' '
|
---|
755 | ac_uD=',;t'
|
---|
756 |
|
---|
757 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
---|
758 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
759 | case $ac_file in
|
---|
760 | - | *:- | *:-:* ) # input from stdin
|
---|
761 | cat >$tmp/stdin
|
---|
762 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
763 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
764 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
765 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
766 | * ) ac_file_in=$ac_file.in ;;
|
---|
767 | esac
|
---|
768 |
|
---|
769 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
770 | echo "$as_me: creating $ac_file" >&6;}
|
---|
771 |
|
---|
772 | # First look for the input files in the build tree, otherwise in the
|
---|
773 | # src tree.
|
---|
774 | ac_file_inputs=`IFS=:
|
---|
775 | for f in $ac_file_in; do
|
---|
776 | case $f in
|
---|
777 | -) echo $tmp/stdin ;;
|
---|
778 | [\\/$]*)
|
---|
779 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
780 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
781 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
782 | { (exit 1); exit 1; }; }
|
---|
783 | # Do quote $f, to prevent DOS paths from being IFS'd.
|
---|
784 | echo "$f";;
|
---|
785 | *) # Relative
|
---|
786 | if test -f "$f"; then
|
---|
787 | # Build tree
|
---|
788 | echo "$f"
|
---|
789 | elif test -f "$srcdir/$f"; then
|
---|
790 | # Source tree
|
---|
791 | echo "$srcdir/$f"
|
---|
792 | else
|
---|
793 | # /dev/null tree
|
---|
794 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
795 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
796 | { (exit 1); exit 1; }; }
|
---|
797 | fi;;
|
---|
798 | esac
|
---|
799 | done` || { (exit 1); exit 1; }
|
---|
800 | # Remove the trailing spaces.
|
---|
801 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
---|
802 |
|
---|
803 | # Handle all the #define templates only if necessary.
|
---|
804 | if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then
|
---|
805 | # If there are no defines, we may have an empty if/fi
|
---|
806 | :
|
---|
807 | cat >$tmp/defines.sed <<CEOF
|
---|
808 | /^[ ]*#[ ]*define/!b
|
---|
809 | t clr
|
---|
810 | : clr
|
---|
811 | ${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}""${ac_dD}
|
---|
812 | ${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}""${ac_dD}
|
---|
813 | ${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}""${ac_dD}
|
---|
814 | ${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}""${ac_dD}
|
---|
815 | ${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}""${ac_dD}
|
---|
816 | ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
|
---|
817 | ${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
|
---|
818 | ${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
|
---|
819 | ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
|
---|
820 | ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
|
---|
821 | ${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
|
---|
822 | ${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
|
---|
823 | ${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
|
---|
824 | ${ac_dA}HAVE_STDINT_H${ac_dB}HAVE_STDINT_H${ac_dC}1${ac_dD}
|
---|
825 | ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
|
---|
826 | ${ac_dA}HAVE_DLFCN_H${ac_dB}HAVE_DLFCN_H${ac_dC}1${ac_dD}
|
---|
827 | ${ac_dA}HAVE_ICONV${ac_dB}HAVE_ICONV${ac_dC}1${ac_dD}
|
---|
828 | ${ac_dA}ICONV_CONST${ac_dB}ICONV_CONST${ac_dC}${ac_dD}
|
---|
829 | ${ac_dA}HAVE_VSNPRINTF${ac_dB}HAVE_VSNPRINTF${ac_dC}1${ac_dD}
|
---|
830 | CEOF
|
---|
831 | sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
---|
832 | rm -f $tmp/in
|
---|
833 | mv $tmp/out $tmp/in
|
---|
834 |
|
---|
835 | fi # grep
|
---|
836 |
|
---|
837 | # Handle all the #undef templates
|
---|
838 | cat >$tmp/undefs.sed <<CEOF
|
---|
839 | /^[ ]*#[ ]*undef/!b
|
---|
840 | t clr
|
---|
841 | : clr
|
---|
842 | ${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}""${ac_uD}
|
---|
843 | ${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}""${ac_uD}
|
---|
844 | ${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}""${ac_uD}
|
---|
845 | ${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}""${ac_uD}
|
---|
846 | ${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}""${ac_uD}
|
---|
847 | ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
|
---|
848 | ${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
|
---|
849 | ${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
|
---|
850 | ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
|
---|
851 | ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
|
---|
852 | ${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
|
---|
853 | ${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
|
---|
854 | ${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
|
---|
855 | ${ac_uA}HAVE_STDINT_H${ac_uB}HAVE_STDINT_H${ac_uC}1${ac_uD}
|
---|
856 | ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
|
---|
857 | ${ac_uA}HAVE_DLFCN_H${ac_uB}HAVE_DLFCN_H${ac_uC}1${ac_uD}
|
---|
858 | ${ac_uA}HAVE_ICONV${ac_uB}HAVE_ICONV${ac_uC}1${ac_uD}
|
---|
859 | ${ac_uA}ICONV_CONST${ac_uB}ICONV_CONST${ac_uC}${ac_uD}
|
---|
860 | ${ac_uA}HAVE_VSNPRINTF${ac_uB}HAVE_VSNPRINTF${ac_uC}1${ac_uD}
|
---|
861 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
---|
862 | CEOF
|
---|
863 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
---|
864 | rm -f $tmp/in
|
---|
865 | mv $tmp/out $tmp/in
|
---|
866 |
|
---|
867 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
868 | # use $as_me), people would be surprised to read:
|
---|
869 | # /* config.h. Generated by config.status. */
|
---|
870 | if test x"$ac_file" = x-; then
|
---|
871 | echo "/* Generated by configure. */" >$tmp/config.h
|
---|
872 | else
|
---|
873 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
---|
874 | fi
|
---|
875 | cat $tmp/in >>$tmp/config.h
|
---|
876 | rm -f $tmp/in
|
---|
877 | if test x"$ac_file" != x-; then
|
---|
878 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
---|
879 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
880 | echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
881 | else
|
---|
882 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
883 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
884 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
885 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
886 | X"$ac_file" : 'X\(/\)' \| \
|
---|
887 | . : '\(.\)' 2>/dev/null ||
|
---|
888 | echo X"$ac_file" |
|
---|
889 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
890 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
891 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
892 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
893 | s/.*/./; q'`
|
---|
894 | { if $as_mkdir_p; then
|
---|
895 | mkdir -p "$ac_dir"
|
---|
896 | else
|
---|
897 | as_dir="$ac_dir"
|
---|
898 | as_dirs=
|
---|
899 | while test ! -d "$as_dir"; do
|
---|
900 | as_dirs="$as_dir $as_dirs"
|
---|
901 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
902 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
903 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
904 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
905 | X"$as_dir" : 'X\(/\)' \| \
|
---|
906 | . : '\(.\)' 2>/dev/null ||
|
---|
907 | echo X"$as_dir" |
|
---|
908 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
909 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
910 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
911 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
912 | s/.*/./; q'`
|
---|
913 | done
|
---|
914 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
915 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
916 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
917 | { (exit 1); exit 1; }; }; }
|
---|
918 |
|
---|
919 | rm -f $ac_file
|
---|
920 | mv $tmp/config.h $ac_file
|
---|
921 | fi
|
---|
922 | else
|
---|
923 | cat $tmp/config.h
|
---|
924 | rm -f $tmp/config.h
|
---|
925 | fi
|
---|
926 | done
|
---|
927 |
|
---|
928 | { (exit 0); exit 0; }
|
---|