Chris@0
|
1 #! /bin/bash
|
Chris@0
|
2 # Generated by configure.
|
Chris@0
|
3 # Run this file to recreate the current configuration.
|
Chris@0
|
4 # Compiler output produced by configure, useful for debugging
|
Chris@0
|
5 # configure, is in config.log if it exists.
|
Chris@0
|
6
|
Chris@0
|
7 debug=false
|
Chris@0
|
8 ac_cs_recheck=false
|
Chris@0
|
9 ac_cs_silent=false
|
Chris@0
|
10 SHELL=${CONFIG_SHELL-/bin/bash}
|
Chris@0
|
11 ## --------------------- ##
|
Chris@0
|
12 ## M4sh Initialization. ##
|
Chris@0
|
13 ## --------------------- ##
|
Chris@0
|
14
|
Chris@0
|
15 # Be Bourne compatible
|
Chris@0
|
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
Chris@0
|
17 emulate sh
|
Chris@0
|
18 NULLCMD=:
|
Chris@0
|
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
Chris@0
|
20 # is contrary to our usage. Disable this feature.
|
Chris@0
|
21 alias -g '${1+"$@"}'='"$@"'
|
Chris@0
|
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
Chris@0
|
23 set -o posix
|
Chris@0
|
24 fi
|
Chris@0
|
25
|
Chris@0
|
26 # Support unset when possible.
|
Chris@0
|
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
Chris@0
|
28 as_unset=unset
|
Chris@0
|
29 else
|
Chris@0
|
30 as_unset=false
|
Chris@0
|
31 fi
|
Chris@0
|
32
|
Chris@0
|
33
|
Chris@0
|
34 # Work around bugs in pre-3.0 UWIN ksh.
|
Chris@0
|
35 $as_unset ENV MAIL MAILPATH
|
Chris@0
|
36 PS1='$ '
|
Chris@0
|
37 PS2='> '
|
Chris@0
|
38 PS4='+ '
|
Chris@0
|
39
|
Chris@0
|
40 # NLS nuisances.
|
Chris@0
|
41 for as_var in \
|
Chris@0
|
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
Chris@0
|
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
Chris@0
|
44 LC_TELEPHONE LC_TIME
|
Chris@0
|
45 do
|
Chris@0
|
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
Chris@0
|
47 eval $as_var=C; export $as_var
|
Chris@0
|
48 else
|
Chris@0
|
49 $as_unset $as_var
|
Chris@0
|
50 fi
|
Chris@0
|
51 done
|
Chris@0
|
52
|
Chris@0
|
53 # Required to use basename.
|
Chris@0
|
54 if expr a : '\(a\)' >/dev/null 2>&1; then
|
Chris@0
|
55 as_expr=expr
|
Chris@0
|
56 else
|
Chris@0
|
57 as_expr=false
|
Chris@0
|
58 fi
|
Chris@0
|
59
|
Chris@0
|
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
Chris@0
|
61 as_basename=basename
|
Chris@0
|
62 else
|
Chris@0
|
63 as_basename=false
|
Chris@0
|
64 fi
|
Chris@0
|
65
|
Chris@0
|
66
|
Chris@0
|
67 # Name of the executable.
|
Chris@0
|
68 as_me=`$as_basename "$0" ||
|
Chris@0
|
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
Chris@0
|
70 X"$0" : 'X\(//\)$' \| \
|
Chris@0
|
71 X"$0" : 'X\(/\)$' \| \
|
Chris@0
|
72 . : '\(.\)' 2>/dev/null ||
|
Chris@0
|
73 echo X/"$0" |
|
Chris@0
|
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
Chris@0
|
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
|
Chris@0
|
76 /^X\/\(\/\).*/{ s//\1/; q; }
|
Chris@0
|
77 s/.*/./; q'`
|
Chris@0
|
78
|
Chris@0
|
79
|
Chris@0
|
80 # PATH needs CR, and LINENO needs CR and PATH.
|
Chris@0
|
81 # Avoid depending upon Character Ranges.
|
Chris@0
|
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
Chris@0
|
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
Chris@0
|
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
Chris@0
|
85 as_cr_digits='0123456789'
|
Chris@0
|
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
Chris@0
|
87
|
Chris@0
|
88 # The user is always right.
|
Chris@0
|
89 if test "${PATH_SEPARATOR+set}" != set; then
|
Chris@0
|
90 echo "#! /bin/sh" >conf$$.sh
|
Chris@0
|
91 echo "exit 0" >>conf$$.sh
|
Chris@0
|
92 chmod +x conf$$.sh
|
Chris@0
|
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
Chris@0
|
94 PATH_SEPARATOR=';'
|
Chris@0
|
95 else
|
Chris@0
|
96 PATH_SEPARATOR=:
|
Chris@0
|
97 fi
|
Chris@0
|
98 rm -f conf$$.sh
|
Chris@0
|
99 fi
|
Chris@0
|
100
|
Chris@0
|
101
|
Chris@0
|
102 as_lineno_1=$LINENO
|
Chris@0
|
103 as_lineno_2=$LINENO
|
Chris@0
|
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
Chris@0
|
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
Chris@0
|
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
|
Chris@0
|
107 # Find who we are. Look in the path if we contain no path at all
|
Chris@0
|
108 # relative or not.
|
Chris@0
|
109 case $0 in
|
Chris@0
|
110 *[\\/]* ) as_myself=$0 ;;
|
Chris@0
|
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
Chris@0
|
112 for as_dir in $PATH
|
Chris@0
|
113 do
|
Chris@0
|
114 IFS=$as_save_IFS
|
Chris@0
|
115 test -z "$as_dir" && as_dir=.
|
Chris@0
|
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
Chris@0
|
117 done
|
Chris@0
|
118
|
Chris@0
|
119 ;;
|
Chris@0
|
120 esac
|
Chris@0
|
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
Chris@0
|
122 # in which case we are not to be found in the path.
|
Chris@0
|
123 if test "x$as_myself" = x; then
|
Chris@0
|
124 as_myself=$0
|
Chris@0
|
125 fi
|
Chris@0
|
126 if test ! -f "$as_myself"; then
|
Chris@0
|
127 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
Chris@0
|
128 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
Chris@0
|
129 { (exit 1); exit 1; }; }
|
Chris@0
|
130 fi
|
Chris@0
|
131 case $CONFIG_SHELL in
|
Chris@0
|
132 '')
|
Chris@0
|
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
Chris@0
|
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
Chris@0
|
135 do
|
Chris@0
|
136 IFS=$as_save_IFS
|
Chris@0
|
137 test -z "$as_dir" && as_dir=.
|
Chris@0
|
138 for as_base in sh bash ksh sh5; do
|
Chris@0
|
139 case $as_dir in
|
Chris@0
|
140 /*)
|
Chris@0
|
141 if ("$as_dir/$as_base" -c '
|
Chris@0
|
142 as_lineno_1=$LINENO
|
Chris@0
|
143 as_lineno_2=$LINENO
|
Chris@0
|
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
Chris@0
|
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
Chris@0
|
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
Chris@0
|
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
Chris@0
|
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
Chris@0
|
149 CONFIG_SHELL=$as_dir/$as_base
|
Chris@0
|
150 export CONFIG_SHELL
|
Chris@0
|
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
Chris@0
|
152 fi;;
|
Chris@0
|
153 esac
|
Chris@0
|
154 done
|
Chris@0
|
155 done
|
Chris@0
|
156 ;;
|
Chris@0
|
157 esac
|
Chris@0
|
158
|
Chris@0
|
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
Chris@0
|
160 # uniformly replaced by the line number. The first 'sed' inserts a
|
Chris@0
|
161 # line-number line before each line; the second 'sed' does the real
|
Chris@0
|
162 # work. The second script uses 'N' to pair each line-number line
|
Chris@0
|
163 # with the numbered line, and appends trailing '-' during
|
Chris@0
|
164 # substitution so that $LINENO is not a special case at line end.
|
Chris@0
|
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
Chris@0
|
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
Chris@0
|
167 sed '=' <$as_myself |
|
Chris@0
|
168 sed '
|
Chris@0
|
169 N
|
Chris@0
|
170 s,$,-,
|
Chris@0
|
171 : loop
|
Chris@0
|
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
Chris@0
|
173 t loop
|
Chris@0
|
174 s,-$,,
|
Chris@0
|
175 s,^['$as_cr_digits']*\n,,
|
Chris@0
|
176 ' >$as_me.lineno &&
|
Chris@0
|
177 chmod +x $as_me.lineno ||
|
Chris@0
|
178 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
Chris@0
|
179 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
Chris@0
|
180 { (exit 1); exit 1; }; }
|
Chris@0
|
181
|
Chris@0
|
182 # Don't try to exec as it changes $[0], causing all sort of problems
|
Chris@0
|
183 # (the dirname of $[0] is not the place where we might find the
|
Chris@0
|
184 # original and so on. Autoconf is especially sensible to this).
|
Chris@0
|
185 . ./$as_me.lineno
|
Chris@0
|
186 # Exit status is that of the last command.
|
Chris@0
|
187 exit
|
Chris@0
|
188 }
|
Chris@0
|
189
|
Chris@0
|
190
|
Chris@0
|
191 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
Chris@0
|
192 *c*,-n*) ECHO_N= ECHO_C='
|
Chris@0
|
193 ' ECHO_T=' ' ;;
|
Chris@0
|
194 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
Chris@0
|
195 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
Chris@0
|
196 esac
|
Chris@0
|
197
|
Chris@0
|
198 if expr a : '\(a\)' >/dev/null 2>&1; then
|
Chris@0
|
199 as_expr=expr
|
Chris@0
|
200 else
|
Chris@0
|
201 as_expr=false
|
Chris@0
|
202 fi
|
Chris@0
|
203
|
Chris@0
|
204 rm -f conf$$ conf$$.exe conf$$.file
|
Chris@0
|
205 echo >conf$$.file
|
Chris@0
|
206 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
Chris@0
|
207 # We could just check for DJGPP; but this test a) works b) is more generic
|
Chris@0
|
208 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
Chris@0
|
209 if test -f conf$$.exe; then
|
Chris@0
|
210 # Don't use ln at all; we don't have any links
|
Chris@0
|
211 as_ln_s='cp -p'
|
Chris@0
|
212 else
|
Chris@0
|
213 as_ln_s='ln -s'
|
Chris@0
|
214 fi
|
Chris@0
|
215 elif ln conf$$.file conf$$ 2>/dev/null; then
|
Chris@0
|
216 as_ln_s=ln
|
Chris@0
|
217 else
|
Chris@0
|
218 as_ln_s='cp -p'
|
Chris@0
|
219 fi
|
Chris@0
|
220 rm -f conf$$ conf$$.exe conf$$.file
|
Chris@0
|
221
|
Chris@0
|
222 if mkdir -p . 2>/dev/null; then
|
Chris@0
|
223 as_mkdir_p=:
|
Chris@0
|
224 else
|
Chris@0
|
225 as_mkdir_p=false
|
Chris@0
|
226 fi
|
Chris@0
|
227
|
Chris@0
|
228 as_executable_p="test -f"
|
Chris@0
|
229
|
Chris@0
|
230 # Sed expression to map a string onto a valid CPP name.
|
Chris@0
|
231 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
Chris@0
|
232
|
Chris@0
|
233 # Sed expression to map a string onto a valid variable name.
|
Chris@0
|
234 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
Chris@0
|
235
|
Chris@0
|
236
|
Chris@0
|
237 # IFS
|
Chris@0
|
238 # We need space, tab and new line, in precisely that order.
|
Chris@0
|
239 as_nl='
|
Chris@0
|
240 '
|
Chris@0
|
241 IFS=" $as_nl"
|
Chris@0
|
242
|
Chris@0
|
243 # CDPATH.
|
Chris@0
|
244 $as_unset CDPATH
|
Chris@0
|
245
|
Chris@0
|
246 exec 6>&1
|
Chris@0
|
247
|
Chris@0
|
248 # Open the log real soon, to keep \$[0] and so on meaningful, and to
|
Chris@0
|
249 # report actual input values of CONFIG_FILES etc. instead of their
|
Chris@0
|
250 # values after options handling. Logging --version etc. is OK.
|
Chris@0
|
251 exec 5>>config.log
|
Chris@0
|
252 {
|
Chris@0
|
253 echo
|
Chris@0
|
254 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
Chris@0
|
255 ## Running $as_me. ##
|
Chris@0
|
256 _ASBOX
|
Chris@0
|
257 } >&5
|
Chris@0
|
258 cat >&5 <<_CSEOF
|
Chris@0
|
259
|
Chris@0
|
260 This file was extended by $as_me, which was
|
Chris@0
|
261 generated by GNU Autoconf 2.57. Invocation command line was
|
Chris@0
|
262
|
Chris@0
|
263 CONFIG_FILES = $CONFIG_FILES
|
Chris@0
|
264 CONFIG_HEADERS = $CONFIG_HEADERS
|
Chris@0
|
265 CONFIG_LINKS = $CONFIG_LINKS
|
Chris@0
|
266 CONFIG_COMMANDS = $CONFIG_COMMANDS
|
Chris@0
|
267 $ $0 $@
|
Chris@0
|
268
|
Chris@0
|
269 _CSEOF
|
Chris@0
|
270 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
Chris@0
|
271 echo >&5
|
Chris@0
|
272 config_files=" Makefile"
|
Chris@0
|
273
|
Chris@0
|
274 ac_cs_usage="\
|
Chris@0
|
275 \`$as_me' instantiates files from templates according to the
|
Chris@0
|
276 current configuration.
|
Chris@0
|
277
|
Chris@0
|
278 Usage: $0 [OPTIONS] [FILE]...
|
Chris@0
|
279
|
Chris@0
|
280 -h, --help print this help, then exit
|
Chris@0
|
281 -V, --version print version number, then exit
|
Chris@0
|
282 -q, --quiet do not print progress messages
|
Chris@0
|
283 -d, --debug don't remove temporary files
|
Chris@0
|
284 --recheck update $as_me by reconfiguring in the same conditions
|
Chris@0
|
285 --file=FILE[:TEMPLATE]
|
Chris@0
|
286 instantiate the configuration file FILE
|
Chris@0
|
287
|
Chris@0
|
288 Configuration files:
|
Chris@0
|
289 $config_files
|
Chris@0
|
290
|
Chris@0
|
291 Report bugs to <bug-autoconf@gnu.org>."
|
Chris@0
|
292 ac_cs_version="\
|
Chris@0
|
293 config.status
|
Chris@0
|
294 configured by ./configure, generated by GNU Autoconf 2.57,
|
Chris@0
|
295 with options \"\"
|
Chris@0
|
296
|
Chris@0
|
297 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
Chris@0
|
298 Free Software Foundation, Inc.
|
Chris@0
|
299 This config.status script is free software; the Free Software Foundation
|
Chris@0
|
300 gives unlimited permission to copy, distribute and modify it."
|
Chris@0
|
301 srcdir=.
|
Chris@0
|
302 INSTALL="/usr/bin/install -c"
|
Chris@0
|
303 # If no file are specified by the user, then we need to provide default
|
Chris@0
|
304 # value. By we need to know if files were specified by the user.
|
Chris@0
|
305 ac_need_defaults=:
|
Chris@0
|
306 while test $# != 0
|
Chris@0
|
307 do
|
Chris@0
|
308 case $1 in
|
Chris@0
|
309 --*=*)
|
Chris@0
|
310 ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
Chris@0
|
311 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
Chris@0
|
312 ac_shift=:
|
Chris@0
|
313 ;;
|
Chris@0
|
314 -*)
|
Chris@0
|
315 ac_option=$1
|
Chris@0
|
316 ac_optarg=$2
|
Chris@0
|
317 ac_shift=shift
|
Chris@0
|
318 ;;
|
Chris@0
|
319 *) # This is not an option, so the user has probably given explicit
|
Chris@0
|
320 # arguments.
|
Chris@0
|
321 ac_option=$1
|
Chris@0
|
322 ac_need_defaults=false;;
|
Chris@0
|
323 esac
|
Chris@0
|
324
|
Chris@0
|
325 case $ac_option in
|
Chris@0
|
326 # Handling of the options.
|
Chris@0
|
327 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
Chris@0
|
328 ac_cs_recheck=: ;;
|
Chris@0
|
329 --version | --vers* | -V )
|
Chris@0
|
330 echo "$ac_cs_version"; exit 0 ;;
|
Chris@0
|
331 --he | --h)
|
Chris@0
|
332 # Conflict between --help and --header
|
Chris@0
|
333 { { echo "$as_me:$LINENO: error: ambiguous option: $1
|
Chris@0
|
334 Try \`$0 --help' for more information." >&5
|
Chris@0
|
335 echo "$as_me: error: ambiguous option: $1
|
Chris@0
|
336 Try \`$0 --help' for more information." >&2;}
|
Chris@0
|
337 { (exit 1); exit 1; }; };;
|
Chris@0
|
338 --help | --hel | -h )
|
Chris@0
|
339 echo "$ac_cs_usage"; exit 0 ;;
|
Chris@0
|
340 --debug | --d* | -d )
|
Chris@0
|
341 debug=: ;;
|
Chris@0
|
342 --file | --fil | --fi | --f )
|
Chris@0
|
343 $ac_shift
|
Chris@0
|
344 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
Chris@0
|
345 ac_need_defaults=false;;
|
Chris@0
|
346 --header | --heade | --head | --hea )
|
Chris@0
|
347 $ac_shift
|
Chris@0
|
348 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
Chris@0
|
349 ac_need_defaults=false;;
|
Chris@0
|
350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
Chris@0
|
351 | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
Chris@0
|
352 ac_cs_silent=: ;;
|
Chris@0
|
353
|
Chris@0
|
354 # This is an error.
|
Chris@0
|
355 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
Chris@0
|
356 Try \`$0 --help' for more information." >&5
|
Chris@0
|
357 echo "$as_me: error: unrecognized option: $1
|
Chris@0
|
358 Try \`$0 --help' for more information." >&2;}
|
Chris@0
|
359 { (exit 1); exit 1; }; } ;;
|
Chris@0
|
360
|
Chris@0
|
361 *) ac_config_targets="$ac_config_targets $1" ;;
|
Chris@0
|
362
|
Chris@0
|
363 esac
|
Chris@0
|
364 shift
|
Chris@0
|
365 done
|
Chris@0
|
366
|
Chris@0
|
367 ac_configure_extra_args=
|
Chris@0
|
368
|
Chris@0
|
369 if $ac_cs_silent; then
|
Chris@0
|
370 exec 6>/dev/null
|
Chris@0
|
371 ac_configure_extra_args="$ac_configure_extra_args --silent"
|
Chris@0
|
372 fi
|
Chris@0
|
373
|
Chris@0
|
374 if $ac_cs_recheck; then
|
Chris@0
|
375 echo "running /bin/bash ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6
|
Chris@0
|
376 exec /bin/bash ./configure $ac_configure_extra_args --no-create --no-recursion
|
Chris@0
|
377 fi
|
Chris@0
|
378
|
Chris@0
|
379 for ac_config_target in $ac_config_targets
|
Chris@0
|
380 do
|
Chris@0
|
381 case "$ac_config_target" in
|
Chris@0
|
382 # Handling of arguments.
|
Chris@0
|
383 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
Chris@0
|
384 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
Chris@0
|
385 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
Chris@0
|
386 { (exit 1); exit 1; }; };;
|
Chris@0
|
387 esac
|
Chris@0
|
388 done
|
Chris@0
|
389
|
Chris@0
|
390 # If the user did not use the arguments to specify the items to instantiate,
|
Chris@0
|
391 # then the envvar interface is used. Set only those that are not.
|
Chris@0
|
392 # We use the long form for the default assignment because of an extremely
|
Chris@0
|
393 # bizarre bug on SunOS 4.1.3.
|
Chris@0
|
394 if $ac_need_defaults; then
|
Chris@0
|
395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
Chris@0
|
396 fi
|
Chris@0
|
397
|
Chris@0
|
398 # Have a temporary directory for convenience. Make it in the build tree
|
Chris@0
|
399 # simply because there is no reason to put it here, and in addition,
|
Chris@0
|
400 # creating and moving files from /tmp can sometimes cause problems.
|
Chris@0
|
401 # Create a temporary directory, and hook for its removal unless debugging.
|
Chris@0
|
402 $debug ||
|
Chris@0
|
403 {
|
Chris@0
|
404 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
Chris@0
|
405 trap '{ (exit 1); exit 1; }' 1 2 13 15
|
Chris@0
|
406 }
|
Chris@0
|
407
|
Chris@0
|
408 # Create a (secure) tmp directory for tmp files.
|
Chris@0
|
409
|
Chris@0
|
410 {
|
Chris@0
|
411 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
Chris@0
|
412 test -n "$tmp" && test -d "$tmp"
|
Chris@0
|
413 } ||
|
Chris@0
|
414 {
|
Chris@0
|
415 tmp=./confstat$$-$RANDOM
|
Chris@0
|
416 (umask 077 && mkdir $tmp)
|
Chris@0
|
417 } ||
|
Chris@0
|
418 {
|
Chris@0
|
419 echo "$me: cannot create a temporary directory in ." >&2
|
Chris@0
|
420 { (exit 1); exit 1; }
|
Chris@0
|
421 }
|
Chris@0
|
422
|
Chris@0
|
423
|
Chris@0
|
424 #
|
Chris@0
|
425 # CONFIG_FILES section.
|
Chris@0
|
426 #
|
Chris@0
|
427
|
Chris@0
|
428 # No need to generate the scripts if there are no CONFIG_FILES.
|
Chris@0
|
429 # This happens for instance when ./config.status config.h
|
Chris@0
|
430 if test -n "$CONFIG_FILES"; then
|
Chris@0
|
431 # Protect against being on the right side of a sed subst in config.status.
|
Chris@0
|
432 sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
|
Chris@0
|
433 s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
|
Chris@0
|
434 s,@SHELL@,/bin/bash,;t t
|
Chris@0
|
435 s,@PATH_SEPARATOR@,:,;t t
|
Chris@0
|
436 s,@PACKAGE_NAME@,,;t t
|
Chris@0
|
437 s,@PACKAGE_TARNAME@,,;t t
|
Chris@0
|
438 s,@PACKAGE_VERSION@,,;t t
|
Chris@0
|
439 s,@PACKAGE_STRING@,,;t t
|
Chris@0
|
440 s,@PACKAGE_BUGREPORT@,,;t t
|
Chris@0
|
441 s,@exec_prefix@,${prefix},;t t
|
Chris@0
|
442 s,@prefix@,/usr/local,;t t
|
Chris@0
|
443 s,@program_transform_name@,s,x,x,,;t t
|
Chris@0
|
444 s,@bindir@,${exec_prefix}/bin,;t t
|
Chris@0
|
445 s,@sbindir@,${exec_prefix}/sbin,;t t
|
Chris@0
|
446 s,@libexecdir@,${exec_prefix}/libexec,;t t
|
Chris@0
|
447 s,@datadir@,${prefix}/share,;t t
|
Chris@0
|
448 s,@sysconfdir@,${prefix}/etc,;t t
|
Chris@0
|
449 s,@sharedstatedir@,${prefix}/com,;t t
|
Chris@0
|
450 s,@localstatedir@,${prefix}/var,;t t
|
Chris@0
|
451 s,@libdir@,${exec_prefix}/lib,;t t
|
Chris@0
|
452 s,@includedir@,${prefix}/include,;t t
|
Chris@0
|
453 s,@oldincludedir@,/usr/include,;t t
|
Chris@0
|
454 s,@infodir@,${prefix}/info,;t t
|
Chris@0
|
455 s,@mandir@,${prefix}/man,;t t
|
Chris@0
|
456 s,@build_alias@,,;t t
|
Chris@0
|
457 s,@host_alias@,,;t t
|
Chris@0
|
458 s,@target_alias@,,;t t
|
Chris@0
|
459 s,@DEFS@,-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" ,;t t
|
Chris@0
|
460 s,@ECHO_C@,,;t t
|
Chris@0
|
461 s,@ECHO_N@,-n,;t t
|
Chris@0
|
462 s,@ECHO_T@,,;t t
|
Chris@0
|
463 s,@LIBS@,,;t t
|
Chris@0
|
464 s,@PL@,pl,;t t
|
Chris@0
|
465 s,@PLBASE@,/usr/local/lib/pl-5.6.25,;t t
|
Chris@0
|
466 s,@PLARCH@,i686-linux,;t t
|
Chris@0
|
467 s,@MAKE@,make,;t t
|
Chris@0
|
468 s,@INSTALL_PROGRAM@,${INSTALL},;t t
|
Chris@0
|
469 s,@INSTALL_SCRIPT@,${INSTALL},;t t
|
Chris@0
|
470 s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
|
Chris@0
|
471 s,@LIBOBJS@,,;t t
|
Chris@0
|
472 s,@LTLIBOBJS@,,;t t
|
Chris@0
|
473 CEOF
|
Chris@0
|
474
|
Chris@0
|
475 # Split the substitutions into bite-sized pieces for seds with
|
Chris@0
|
476 # small command number limits, like on Digital OSF/1 and HP-UX.
|
Chris@0
|
477 ac_max_sed_lines=48
|
Chris@0
|
478 ac_sed_frag=1 # Number of current file.
|
Chris@0
|
479 ac_beg=1 # First line for current file.
|
Chris@0
|
480 ac_end=$ac_max_sed_lines # Line after last line for current file.
|
Chris@0
|
481 ac_more_lines=:
|
Chris@0
|
482 ac_sed_cmds=
|
Chris@0
|
483 while $ac_more_lines; do
|
Chris@0
|
484 if test $ac_beg -gt 1; then
|
Chris@0
|
485 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
Chris@0
|
486 else
|
Chris@0
|
487 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
Chris@0
|
488 fi
|
Chris@0
|
489 if test ! -s $tmp/subs.frag; then
|
Chris@0
|
490 ac_more_lines=false
|
Chris@0
|
491 else
|
Chris@0
|
492 # The purpose of the label and of the branching condition is to
|
Chris@0
|
493 # speed up the sed processing (if there are no `@' at all, there
|
Chris@0
|
494 # is no need to browse any of the substitutions).
|
Chris@0
|
495 # These are the two extra sed commands mentioned above.
|
Chris@0
|
496 (echo ':t
|
Chris@0
|
497 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
Chris@0
|
498 if test -z "$ac_sed_cmds"; then
|
Chris@0
|
499 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
Chris@0
|
500 else
|
Chris@0
|
501 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
Chris@0
|
502 fi
|
Chris@0
|
503 ac_sed_frag=`expr $ac_sed_frag + 1`
|
Chris@0
|
504 ac_beg=$ac_end
|
Chris@0
|
505 ac_end=`expr $ac_end + $ac_max_sed_lines`
|
Chris@0
|
506 fi
|
Chris@0
|
507 done
|
Chris@0
|
508 if test -z "$ac_sed_cmds"; then
|
Chris@0
|
509 ac_sed_cmds=cat
|
Chris@0
|
510 fi
|
Chris@0
|
511 fi # test -n "$CONFIG_FILES"
|
Chris@0
|
512
|
Chris@0
|
513 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
Chris@0
|
514 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
Chris@0
|
515 case $ac_file in
|
Chris@0
|
516 - | *:- | *:-:* ) # input from stdin
|
Chris@0
|
517 cat >$tmp/stdin
|
Chris@0
|
518 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
Chris@0
|
519 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
Chris@0
|
520 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
Chris@0
|
521 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
Chris@0
|
522 * ) ac_file_in=$ac_file.in ;;
|
Chris@0
|
523 esac
|
Chris@0
|
524
|
Chris@0
|
525 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
Chris@0
|
526 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
Chris@0
|
527 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
Chris@0
|
528 X"$ac_file" : 'X\(//\)[^/]' \| \
|
Chris@0
|
529 X"$ac_file" : 'X\(//\)$' \| \
|
Chris@0
|
530 X"$ac_file" : 'X\(/\)' \| \
|
Chris@0
|
531 . : '\(.\)' 2>/dev/null ||
|
Chris@0
|
532 echo X"$ac_file" |
|
Chris@0
|
533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
Chris@0
|
534 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
Chris@0
|
535 /^X\(\/\/\)$/{ s//\1/; q; }
|
Chris@0
|
536 /^X\(\/\).*/{ s//\1/; q; }
|
Chris@0
|
537 s/.*/./; q'`
|
Chris@0
|
538 { if $as_mkdir_p; then
|
Chris@0
|
539 mkdir -p "$ac_dir"
|
Chris@0
|
540 else
|
Chris@0
|
541 as_dir="$ac_dir"
|
Chris@0
|
542 as_dirs=
|
Chris@0
|
543 while test ! -d "$as_dir"; do
|
Chris@0
|
544 as_dirs="$as_dir $as_dirs"
|
Chris@0
|
545 as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
Chris@0
|
546 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
Chris@0
|
547 X"$as_dir" : 'X\(//\)[^/]' \| \
|
Chris@0
|
548 X"$as_dir" : 'X\(//\)$' \| \
|
Chris@0
|
549 X"$as_dir" : 'X\(/\)' \| \
|
Chris@0
|
550 . : '\(.\)' 2>/dev/null ||
|
Chris@0
|
551 echo X"$as_dir" |
|
Chris@0
|
552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
Chris@0
|
553 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
Chris@0
|
554 /^X\(\/\/\)$/{ s//\1/; q; }
|
Chris@0
|
555 /^X\(\/\).*/{ s//\1/; q; }
|
Chris@0
|
556 s/.*/./; q'`
|
Chris@0
|
557 done
|
Chris@0
|
558 test ! -n "$as_dirs" || mkdir $as_dirs
|
Chris@0
|
559 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
Chris@0
|
560 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
Chris@0
|
561 { (exit 1); exit 1; }; }; }
|
Chris@0
|
562
|
Chris@0
|
563 ac_builddir=.
|
Chris@0
|
564
|
Chris@0
|
565 if test "$ac_dir" != .; then
|
Chris@0
|
566 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
Chris@0
|
567 # A "../" for each directory in $ac_dir_suffix.
|
Chris@0
|
568 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
Chris@0
|
569 else
|
Chris@0
|
570 ac_dir_suffix= ac_top_builddir=
|
Chris@0
|
571 fi
|
Chris@0
|
572
|
Chris@0
|
573 case $srcdir in
|
Chris@0
|
574 .) # No --srcdir option. We are building in place.
|
Chris@0
|
575 ac_srcdir=.
|
Chris@0
|
576 if test -z "$ac_top_builddir"; then
|
Chris@0
|
577 ac_top_srcdir=.
|
Chris@0
|
578 else
|
Chris@0
|
579 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
Chris@0
|
580 fi ;;
|
Chris@0
|
581 [\\/]* | ?:[\\/]* ) # Absolute path.
|
Chris@0
|
582 ac_srcdir=$srcdir$ac_dir_suffix;
|
Chris@0
|
583 ac_top_srcdir=$srcdir ;;
|
Chris@0
|
584 *) # Relative path.
|
Chris@0
|
585 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
Chris@0
|
586 ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
Chris@0
|
587 esac
|
Chris@0
|
588 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
Chris@0
|
589 # absolute.
|
Chris@0
|
590 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
Chris@0
|
591 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
Chris@0
|
592 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
Chris@0
|
593 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
Chris@0
|
594
|
Chris@0
|
595
|
Chris@0
|
596 case $INSTALL in
|
Chris@0
|
597 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
Chris@0
|
598 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
Chris@0
|
599 esac
|
Chris@0
|
600
|
Chris@0
|
601 if test x"$ac_file" != x-; then
|
Chris@0
|
602 { echo "$as_me:$LINENO: creating $ac_file" >&5
|
Chris@0
|
603 echo "$as_me: creating $ac_file" >&6;}
|
Chris@0
|
604 rm -f "$ac_file"
|
Chris@0
|
605 fi
|
Chris@0
|
606 # Let's still pretend it is `configure' which instantiates (i.e., don't
|
Chris@0
|
607 # use $as_me), people would be surprised to read:
|
Chris@0
|
608 # /* config.h. Generated by config.status. */
|
Chris@0
|
609 if test x"$ac_file" = x-; then
|
Chris@0
|
610 configure_input=
|
Chris@0
|
611 else
|
Chris@0
|
612 configure_input="$ac_file. "
|
Chris@0
|
613 fi
|
Chris@0
|
614 configure_input=$configure_input"Generated from `echo $ac_file_in |
|
Chris@0
|
615 sed 's,.*/,,'` by configure."
|
Chris@0
|
616
|
Chris@0
|
617 # First look for the input files in the build tree, otherwise in the
|
Chris@0
|
618 # src tree.
|
Chris@0
|
619 ac_file_inputs=`IFS=:
|
Chris@0
|
620 for f in $ac_file_in; do
|
Chris@0
|
621 case $f in
|
Chris@0
|
622 -) echo $tmp/stdin ;;
|
Chris@0
|
623 [\\/$]*)
|
Chris@0
|
624 # Absolute (can't be DOS-style, as IFS=:)
|
Chris@0
|
625 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
Chris@0
|
626 echo "$as_me: error: cannot find input file: $f" >&2;}
|
Chris@0
|
627 { (exit 1); exit 1; }; }
|
Chris@0
|
628 echo $f;;
|
Chris@0
|
629 *) # Relative
|
Chris@0
|
630 if test -f "$f"; then
|
Chris@0
|
631 # Build tree
|
Chris@0
|
632 echo $f
|
Chris@0
|
633 elif test -f "$srcdir/$f"; then
|
Chris@0
|
634 # Source tree
|
Chris@0
|
635 echo $srcdir/$f
|
Chris@0
|
636 else
|
Chris@0
|
637 # /dev/null tree
|
Chris@0
|
638 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
Chris@0
|
639 echo "$as_me: error: cannot find input file: $f" >&2;}
|
Chris@0
|
640 { (exit 1); exit 1; }; }
|
Chris@0
|
641 fi;;
|
Chris@0
|
642 esac
|
Chris@0
|
643 done` || { (exit 1); exit 1; }
|
Chris@0
|
644 sed "/^[ ]*VPATH[ ]*=/{
|
Chris@0
|
645 s/:*\$(srcdir):*/:/;
|
Chris@0
|
646 s/:*\${srcdir}:*/:/;
|
Chris@0
|
647 s/:*@srcdir@:*/:/;
|
Chris@0
|
648 s/^\([^=]*=[ ]*\):*/\1/;
|
Chris@0
|
649 s/:*$//;
|
Chris@0
|
650 s/^[^=]*=[ ]*$//;
|
Chris@0
|
651 }
|
Chris@0
|
652
|
Chris@0
|
653 :t
|
Chris@0
|
654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
Chris@0
|
655 s,@configure_input@,$configure_input,;t t
|
Chris@0
|
656 s,@srcdir@,$ac_srcdir,;t t
|
Chris@0
|
657 s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
Chris@0
|
658 s,@top_srcdir@,$ac_top_srcdir,;t t
|
Chris@0
|
659 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
Chris@0
|
660 s,@builddir@,$ac_builddir,;t t
|
Chris@0
|
661 s,@abs_builddir@,$ac_abs_builddir,;t t
|
Chris@0
|
662 s,@top_builddir@,$ac_top_builddir,;t t
|
Chris@0
|
663 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
Chris@0
|
664 s,@INSTALL@,$ac_INSTALL,;t t
|
Chris@0
|
665 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
Chris@0
|
666 rm -f $tmp/stdin
|
Chris@0
|
667 if test x"$ac_file" != x-; then
|
Chris@0
|
668 mv $tmp/out $ac_file
|
Chris@0
|
669 else
|
Chris@0
|
670 cat $tmp/out
|
Chris@0
|
671 rm -f $tmp/out
|
Chris@0
|
672 fi
|
Chris@0
|
673
|
Chris@0
|
674 done
|
Chris@0
|
675
|
Chris@0
|
676 { (exit 0); exit 0; }
|