Mass update GPLv2 from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
[dockapps.git] / wmacpiload / config.status
blob745b9290432cd5082b1e091d4b94e176713e1d1f
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.
7 debug=false
8 SHELL=${CONFIG_SHELL-/bin/sh}
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19 set -o posix
22 # NLS nuisances.
23 # Support unset when possible.
24 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
25 as_unset=unset
26 else
27 as_unset=false
30 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
31 { $as_unset LANG || test "${LANG+set}" != set; } ||
32 { LANG=C; export LANG; }
33 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
34 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
35 { LC_ALL=C; export LC_ALL; }
36 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
37 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
38 { LC_TIME=C; export LC_TIME; }
39 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
40 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
41 { LC_CTYPE=C; export LC_CTYPE; }
42 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
43 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
44 { LANGUAGE=C; export LANGUAGE; }
45 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
46 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
47 { LC_COLLATE=C; export LC_COLLATE; }
48 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
49 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
50 { LC_NUMERIC=C; export LC_NUMERIC; }
51 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
52 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
53 { LC_MESSAGES=C; export LC_MESSAGES; }
56 # Name of the executable.
57 as_me=`(basename "$0") 2>/dev/null ||
58 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59 X"$0" : 'X\(//\)$' \| \
60 X"$0" : 'X\(/\)$' \| \
61 . : '\(.\)' 2>/dev/null ||
62 echo X/"$0" |
63 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
64 /^X\/\(\/\/\)$/{ s//\1/; q; }
65 /^X\/\(\/\).*/{ s//\1/; q; }
66 s/.*/./; q'`
68 # PATH needs CR, and LINENO needs CR and PATH.
69 # Avoid depending upon Character Ranges.
70 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
71 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73 as_cr_digits='0123456789'
74 as_cr_alnum=$as_cr_Letters$as_cr_digits
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 echo "#! /bin/sh" >conftest.sh
79 echo "exit 0" >>conftest.sh
80 chmod +x conftest.sh
81 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
82 PATH_SEPARATOR=';'
83 else
84 PATH_SEPARATOR=:
86 rm -f conftest.sh
90 as_lineno_1=$LINENO
91 as_lineno_2=$LINENO
92 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
93 test "x$as_lineno_1" != "x$as_lineno_2" &&
94 test "x$as_lineno_3" = "x$as_lineno_2" || {
95 # Find who we are. Look in the path if we contain no path at all
96 # relative or not.
97 case $0 in
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 for as_dir in $PATH
102 IFS=$as_save_IFS
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 done
108 esac
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
112 as_myself=$0
114 if test ! -f "$as_myself"; then
115 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
116 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
117 { (exit 1); exit 1; }; }
119 case $CONFIG_SHELL in
121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
122 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
124 IFS=$as_save_IFS
125 test -z "$as_dir" && as_dir=.
126 for as_base in sh bash ksh sh5; do
127 case $as_dir in
129 if ("$as_dir/$as_base" -c '
130 as_lineno_1=$LINENO
131 as_lineno_2=$LINENO
132 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
133 test "x$as_lineno_1" != "x$as_lineno_2" &&
134 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
135 CONFIG_SHELL=$as_dir/$as_base
136 export CONFIG_SHELL
137 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
138 fi;;
139 esac
140 done
141 done
143 esac
145 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
146 # uniformly replaced by the line number. The first 'sed' inserts a
147 # line-number line before each line; the second 'sed' does the real
148 # work. The second script uses 'N' to pair each line-number line
149 # with the numbered line, and appends trailing '-' during
150 # substitution so that $LINENO is not a special case at line end.
151 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
152 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
153 sed '=' <$as_myself |
154 sed '
156 s,$,-,
157 : loop
158 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
159 t loop
160 s,-$,,
161 s,^['$as_cr_digits']*\n,,
162 ' >$as_me.lineno &&
163 chmod +x $as_me.lineno ||
164 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
165 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
166 { (exit 1); exit 1; }; }
168 # Don't try to exec as it changes $[0], causing all sort of problems
169 # (the dirname of $[0] is not the place where we might find the
170 # original and so on. Autoconf is especially sensible to this).
171 . ./$as_me.lineno
172 # Exit status is that of the last command.
173 exit
177 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
178 *c*,-n*) ECHO_N= ECHO_C='
179 ' ECHO_T=' ' ;;
180 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
181 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
182 esac
184 if expr a : '\(a\)' >/dev/null 2>&1; then
185 as_expr=expr
186 else
187 as_expr=false
190 rm -f conf$$ conf$$.exe conf$$.file
191 echo >conf$$.file
192 if ln -s conf$$.file conf$$ 2>/dev/null; then
193 # We could just check for DJGPP; but this test a) works b) is more generic
194 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
195 if test -f conf$$.exe; then
196 # Don't use ln at all; we don't have any links
197 as_ln_s='cp -p'
198 else
199 as_ln_s='ln -s'
201 elif ln conf$$.file conf$$ 2>/dev/null; then
202 as_ln_s=ln
203 else
204 as_ln_s='cp -p'
206 rm -f conf$$ conf$$.exe conf$$.file
208 as_executable_p="test -f"
210 # Sed expression to map a string onto a valid CPP name.
211 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
213 # Sed expression to map a string onto a valid variable name.
214 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
217 # IFS
218 # We need space, tab and new line, in precisely that order.
219 as_nl='
221 IFS=" $as_nl"
223 # CDPATH.
224 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
226 exec 6>&1
228 # Open the log real soon, to keep \$[0] and so on meaningful, and to
229 # report actual input values of CONFIG_FILES etc. instead of their
230 # values after options handling. Logging --version etc. is OK.
231 exec 5>>config.log
233 echo
234 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
235 ## Running $as_me. ##
236 _ASBOX
237 } >&5
238 cat >&5 <<_CSEOF
240 This file was extended by wmapmload $as_me 0.3.2, which was
241 generated by GNU Autoconf 2.53. Invocation command line was
243 CONFIG_FILES = $CONFIG_FILES
244 CONFIG_HEADERS = $CONFIG_HEADERS
245 CONFIG_LINKS = $CONFIG_LINKS
246 CONFIG_COMMANDS = $CONFIG_COMMANDS
247 $ $0 $@
249 _CSEOF
250 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
251 echo >&5
252 config_files=" Makefile src/Makefile doc/Makefile"
253 config_headers=" config.h"
254 config_commands=" default-1"
256 ac_cs_usage="\
257 \`$as_me' instantiates files from templates according to the
258 current configuration.
260 Usage: $0 [OPTIONS] [FILE]...
262 -h, --help print this help, then exit
263 -V, --version print version number, then exit
264 -d, --debug don't remove temporary files
265 --recheck update $as_me by reconfiguring in the same conditions
266 --file=FILE[:TEMPLATE]
267 instantiate the configuration file FILE
268 --header=FILE[:TEMPLATE]
269 instantiate the configuration header FILE
271 Configuration files:
272 $config_files
274 Configuration headers:
275 $config_headers
277 Configuration commands:
278 $config_commands
280 Report bugs to <bug-autoconf@gnu.org>."
281 ac_cs_version="\
282 wmapmload config.status 0.3.2
283 configured by ./configure, generated by GNU Autoconf 2.53,
284 with options \"\"
286 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
287 Free Software Foundation, Inc.
288 This config.status script is free software; the Free Software Foundation
289 gives unlimited permission to copy, distribute and modify it."
290 srcdir=.
291 INSTALL="/usr/bin/install -c"
292 # If no file are specified by the user, then we need to provide default
293 # value. By we need to know if files were specified by the user.
294 ac_need_defaults=:
295 while test $# != 0
297 case $1 in
298 --*=*)
299 ac_option=`expr "x$1" : 'x\([^=]*\)='`
300 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
301 shift
302 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
303 shift
305 -*);;
306 *) # This is not an option, so the user has probably given explicit
307 # arguments.
308 ac_need_defaults=false;;
309 esac
311 case $1 in
312 # Handling of the options.
313 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
314 echo "running /bin/sh ./configure " " --no-create --no-recursion"
315 exec /bin/sh ./configure --no-create --no-recursion ;;
316 --version | --vers* | -V )
317 echo "$ac_cs_version"; exit 0 ;;
318 --he | --h)
319 # Conflict between --help and --header
320 { { echo "$as_me:$LINENO: error: ambiguous option: $1
321 Try \`$0 --help' for more information." >&5
322 echo "$as_me: error: ambiguous option: $1
323 Try \`$0 --help' for more information." >&2;}
324 { (exit 1); exit 1; }; };;
325 --help | --hel | -h )
326 echo "$ac_cs_usage"; exit 0 ;;
327 --debug | --d* | -d )
328 debug=: ;;
329 --file | --fil | --fi | --f )
330 shift
331 CONFIG_FILES="$CONFIG_FILES $1"
332 ac_need_defaults=false;;
333 --header | --heade | --head | --hea )
334 shift
335 CONFIG_HEADERS="$CONFIG_HEADERS $1"
336 ac_need_defaults=false;;
338 # This is an error.
339 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
340 Try \`$0 --help' for more information." >&5
341 echo "$as_me: error: unrecognized option: $1
342 Try \`$0 --help' for more information." >&2;}
343 { (exit 1); exit 1; }; } ;;
345 *) ac_config_targets="$ac_config_targets $1" ;;
347 esac
348 shift
349 done
352 # INIT-COMMANDS section.
357 for ac_config_target in $ac_config_targets
359 case "$ac_config_target" in
360 # Handling of arguments.
361 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
362 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
363 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
364 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
365 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
366 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
367 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
368 { (exit 1); exit 1; }; };;
369 esac
370 done
372 # If the user did not use the arguments to specify the items to instantiate,
373 # then the envvar interface is used. Set only those that are not.
374 # We use the long form for the default assignment because of an extremely
375 # bizarre bug on SunOS 4.1.3.
376 if $ac_need_defaults; then
377 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
378 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
379 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
382 # Create a temporary directory, and hook for its removal unless debugging.
383 $debug ||
385 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
386 trap '{ (exit 1); exit 1; }' 1 2 13 15
389 # Create a (secure) tmp directory for tmp files.
390 : ${TMPDIR=/tmp}
392 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
393 test -n "$tmp" && test -d "$tmp"
394 } ||
396 tmp=$TMPDIR/cs$$-$RANDOM
397 (umask 077 && mkdir $tmp)
398 } ||
400 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
401 { (exit 1); exit 1; }
406 # CONFIG_FILES section.
409 # No need to generate the scripts if there are no CONFIG_FILES.
410 # This happens for instance when ./config.status config.h
411 if test -n "$CONFIG_FILES"; then
412 # Protect against being on the right side of a sed subst in config.status.
413 sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
414 s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
415 s,@SHELL@,/bin/sh,;t t
416 s,@PATH_SEPARATOR@,:,;t t
417 s,@PACKAGE_NAME@,wmapmload,;t t
418 s,@PACKAGE_TARNAME@,wmapmload,;t t
419 s,@PACKAGE_VERSION@,0.3.2,;t t
420 s,@PACKAGE_STRING@,wmapmload 0.3.2,;t t
421 s,@PACKAGE_BUGREPORT@,tnemeth@free.fr,;t t
422 s,@exec_prefix@,${prefix},;t t
423 s,@prefix@,/usr/local,;t t
424 s,@program_transform_name@,s,x,x,,;t t
425 s,@bindir@,${exec_prefix}/bin,;t t
426 s,@sbindir@,${exec_prefix}/sbin,;t t
427 s,@libexecdir@,${exec_prefix}/libexec,;t t
428 s,@datadir@,${prefix}/share,;t t
429 s,@sysconfdir@,${prefix}/etc,;t t
430 s,@sharedstatedir@,${prefix}/com,;t t
431 s,@localstatedir@,${prefix}/var,;t t
432 s,@libdir@,${exec_prefix}/lib,;t t
433 s,@includedir@,${prefix}/include,;t t
434 s,@oldincludedir@,/usr/include,;t t
435 s,@infodir@,${prefix}/info,;t t
436 s,@mandir@,${prefix}/man,;t t
437 s,@build_alias@,,;t t
438 s,@host_alias@,,;t t
439 s,@target_alias@,,;t t
440 s,@DEFS@,-DHAVE_CONFIG_H,;t t
441 s,@ECHO_C@,,;t t
442 s,@ECHO_N@,-n,;t t
443 s,@ECHO_T@,,;t t
444 s,@LIBS@,,;t t
445 s,@build@,i686-pc-linux-gnu,;t t
446 s,@build_cpu@,i686,;t t
447 s,@build_vendor@,pc,;t t
448 s,@build_os@,linux-gnu,;t t
449 s,@host@,i686-pc-linux-gnu,;t t
450 s,@host_cpu@,i686,;t t
451 s,@host_vendor@,pc,;t t
452 s,@host_os@,linux-gnu,;t t
453 s,@target@,i686-pc-linux-gnu,;t t
454 s,@target_cpu@,i686,;t t
455 s,@target_vendor@,pc,;t t
456 s,@target_os@,linux-gnu,;t t
457 s,@INSTALL_PROGRAM@,${INSTALL},;t t
458 s,@INSTALL_SCRIPT@,${INSTALL},;t t
459 s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
460 s,@PACKAGE@,wmapmload,;t t
461 s,@VERSION@,0.3.2,;t t
462 s,@ACLOCAL@,aclocal,;t t
463 s,@AUTOCONF@,autoconf,;t t
464 s,@AUTOMAKE@,automake,;t t
465 s,@AUTOHEADER@,autoheader,;t t
466 s,@MAKEINFO@,makeinfo,;t t
467 s,@SET_MAKE@,,;t t
468 s,@AWK@,gawk,;t t
469 s,@CC@,gcc,;t t
470 s,@CFLAGS@,-g -O2,;t t
471 s,@LDFLAGS@,,;t t
472 s,@CPPFLAGS@,,;t t
473 s,@ac_ct_CC@,gcc,;t t
474 s,@EXEEXT@,,;t t
475 s,@OBJEXT@,o,;t t
476 s,@LN_S@,ln -s,;t t
477 s,@CPP@,gcc -E,;t t
478 s,@X_CFLAGS@, -I/usr/X11R6/include,;t t
479 s,@X_PRE_LIBS@, -lSM -lICE,;t t
480 s,@X_LIBS@, -L/usr/X11R6/lib,;t t
481 s,@X_EXTRA_LIBS@,,;t t
482 s,@X_LIBRARY_PATH@,/usr/X11R6/lib,;t t
483 s,@XCFLAGS@, -I/usr/X11R6/include,;t t
484 s,@XLFLAGS@, -L/usr/X11R6/lib,;t t
485 s,@XLIBS@,-lX11 -lXext -lXpm,;t t
486 s,@DFLAGS@,,;t t
487 s,@OS@,linux,;t t
488 s,@SETGID_FLAGS@,,;t t
489 s,@LIBRARY_SEARCH_PATH@, -L/usr/X11R6/lib -L/usr/local/lib,;t t
490 s,@HEADER_SEARCH_PATH@, -I/usr/X11R6/include -I/usr/local/include,;t t
491 CEOF
493 # Split the substitutions into bite-sized pieces for seds with
494 # small command number limits, like on Digital OSF/1 and HP-UX.
495 ac_max_sed_lines=48
496 ac_sed_frag=1 # Number of current file.
497 ac_beg=1 # First line for current file.
498 ac_end=$ac_max_sed_lines # Line after last line for current file.
499 ac_more_lines=:
500 ac_sed_cmds=
501 while $ac_more_lines; do
502 if test $ac_beg -gt 1; then
503 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
504 else
505 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
507 if test ! -s $tmp/subs.frag; then
508 ac_more_lines=false
509 else
510 # The purpose of the label and of the branching condition is to
511 # speed up the sed processing (if there are no `@' at all, there
512 # is no need to browse any of the substitutions).
513 # These are the two extra sed commands mentioned above.
514 (echo ':t
515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
516 if test -z "$ac_sed_cmds"; then
517 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
518 else
519 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
521 ac_sed_frag=`expr $ac_sed_frag + 1`
522 ac_beg=$ac_end
523 ac_end=`expr $ac_end + $ac_max_sed_lines`
525 done
526 if test -z "$ac_sed_cmds"; then
527 ac_sed_cmds=cat
529 fi # test -n "$CONFIG_FILES"
531 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
532 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
533 case $ac_file in
534 - | *:- | *:-:* ) # input from stdin
535 cat >$tmp/stdin
536 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
537 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
538 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
539 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
540 * ) ac_file_in=$ac_file.in ;;
541 esac
543 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
544 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
545 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
546 X"$ac_file" : 'X\(//\)[^/]' \| \
547 X"$ac_file" : 'X\(//\)$' \| \
548 X"$ac_file" : 'X\(/\)' \| \
549 . : '\(.\)' 2>/dev/null ||
550 echo X"$ac_file" |
551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
552 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
553 /^X\(\/\/\)$/{ s//\1/; q; }
554 /^X\(\/\).*/{ s//\1/; q; }
555 s/.*/./; q'`
556 { case "$ac_dir" in
557 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
558 *) as_incr_dir=.;;
559 esac
560 as_dummy="$ac_dir"
561 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
562 case $as_mkdir_dir in
563 # Skip DOS drivespec
564 ?:) as_incr_dir=$as_mkdir_dir ;;
566 as_incr_dir=$as_incr_dir/$as_mkdir_dir
567 test -d "$as_incr_dir" ||
568 mkdir "$as_incr_dir" ||
569 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
570 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
571 { (exit 1); exit 1; }; }
573 esac
574 done; }
576 ac_builddir=.
578 if test "$ac_dir" != .; then
579 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
580 # A "../" for each directory in $ac_dir_suffix.
581 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
582 else
583 ac_dir_suffix= ac_top_builddir=
586 case $srcdir in
587 .) # No --srcdir option. We are building in place.
588 ac_srcdir=.
589 if test -z "$ac_top_builddir"; then
590 ac_top_srcdir=.
591 else
592 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
593 fi ;;
594 [\\/]* | ?:[\\/]* ) # Absolute path.
595 ac_srcdir=$srcdir$ac_dir_suffix;
596 ac_top_srcdir=$srcdir ;;
597 *) # Relative path.
598 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
599 ac_top_srcdir=$ac_top_builddir$srcdir ;;
600 esac
601 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
602 # absolute.
603 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
604 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
605 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
606 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
609 case $INSTALL in
610 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
611 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
612 esac
614 if test x"$ac_file" != x-; then
615 { echo "$as_me:$LINENO: creating $ac_file" >&5
616 echo "$as_me: creating $ac_file" >&6;}
617 rm -f "$ac_file"
619 # Let's still pretend it is `configure' which instantiates (i.e., don't
620 # use $as_me), people would be surprised to read:
621 # /* config.h. Generated by config.status. */
622 if test x"$ac_file" = x-; then
623 configure_input=
624 else
625 configure_input="$ac_file. "
627 configure_input=$configure_input"Generated from `echo $ac_file_in |
628 sed 's,.*/,,'` by configure."
630 # First look for the input files in the build tree, otherwise in the
631 # src tree.
632 ac_file_inputs=`IFS=:
633 for f in $ac_file_in; do
634 case $f in
635 -) echo $tmp/stdin ;;
636 [\\/$]*)
637 # Absolute (can't be DOS-style, as IFS=:)
638 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
639 echo "$as_me: error: cannot find input file: $f" >&2;}
640 { (exit 1); exit 1; }; }
641 echo $f;;
642 *) # Relative
643 if test -f "$f"; then
644 # Build tree
645 echo $f
646 elif test -f "$srcdir/$f"; then
647 # Source tree
648 echo $srcdir/$f
649 else
650 # /dev/null tree
651 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
652 echo "$as_me: error: cannot find input file: $f" >&2;}
653 { (exit 1); exit 1; }; }
654 fi;;
655 esac
656 done` || { (exit 1); exit 1; }
657 sed "/^[ ]*VPATH[ ]*=/{
658 s/:*\$(srcdir):*/:/;
659 s/:*\${srcdir}:*/:/;
660 s/:*@srcdir@:*/:/;
661 s/^\([^=]*=[ ]*\):*/\1/;
662 s/:*$//;
663 s/^[^=]*=[ ]*$//;
667 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
668 s,@configure_input@,$configure_input,;t t
669 s,@srcdir@,$ac_srcdir,;t t
670 s,@abs_srcdir@,$ac_abs_srcdir,;t t
671 s,@top_srcdir@,$ac_top_srcdir,;t t
672 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
673 s,@builddir@,$ac_builddir,;t t
674 s,@abs_builddir@,$ac_abs_builddir,;t t
675 s,@top_builddir@,$ac_top_builddir,;t t
676 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
677 s,@INSTALL@,$ac_INSTALL,;t t
678 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
679 rm -f $tmp/stdin
680 if test x"$ac_file" != x-; then
681 mv $tmp/out $ac_file
682 else
683 cat $tmp/out
684 rm -f $tmp/out
687 done
690 # CONFIG_HEADER section.
693 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
694 # NAME is the cpp macro being defined and VALUE is the value it is being given.
696 # ac_d sets the value in "#define NAME VALUE" lines.
697 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
698 ac_dB='[ ].*$,\1#\2'
699 ac_dC=' '
700 ac_dD=',;t'
701 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
702 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
703 ac_uB='$,\1#\2define\3'
704 ac_uC=' '
705 ac_uD=',;t'
707 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
708 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
709 case $ac_file in
710 - | *:- | *:-:* ) # input from stdin
711 cat >$tmp/stdin
712 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
713 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
714 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
715 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
716 * ) ac_file_in=$ac_file.in ;;
717 esac
719 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
720 echo "$as_me: creating $ac_file" >&6;}
722 # First look for the input files in the build tree, otherwise in the
723 # src tree.
724 ac_file_inputs=`IFS=:
725 for f in $ac_file_in; do
726 case $f in
727 -) echo $tmp/stdin ;;
728 [\\/$]*)
729 # Absolute (can't be DOS-style, as IFS=:)
730 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
731 echo "$as_me: error: cannot find input file: $f" >&2;}
732 { (exit 1); exit 1; }; }
733 echo $f;;
734 *) # Relative
735 if test -f "$f"; then
736 # Build tree
737 echo $f
738 elif test -f "$srcdir/$f"; then
739 # Source tree
740 echo $srcdir/$f
741 else
742 # /dev/null tree
743 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
744 echo "$as_me: error: cannot find input file: $f" >&2;}
745 { (exit 1); exit 1; }; }
746 fi;;
747 esac
748 done` || { (exit 1); exit 1; }
749 # Remove the trailing spaces.
750 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
752 # Handle all the #define templates only if necessary.
753 if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then
754 # If there are no defines, we may have an empty if/fi
756 cat >$tmp/defines.sed <<CEOF
757 /^[ ]*#[ ]*define/!b
758 t clr
759 : clr
760 ${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}"wmapmload"${ac_dD}
761 ${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}"wmapmload"${ac_dD}
762 ${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}"0.3.2"${ac_dD}
763 ${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}"wmapmload 0.3.2"${ac_dD}
764 ${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}"tnemeth@free.fr"${ac_dD}
765 ${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"wmapmload"${ac_dD}
766 ${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"0.3.2"${ac_dD}
767 ${ac_dA}IGNORE_BUFFERS${ac_dB}IGNORE_BUFFERS${ac_dC}1${ac_dD}
768 ${ac_dA}IGNORE_CACHED${ac_dB}IGNORE_CACHED${ac_dC}1${ac_dD}
769 ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
770 ${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
771 ${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
772 ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
773 ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
774 ${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
775 ${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
776 ${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
777 ${ac_dA}HAVE_STDINT_H${ac_dB}HAVE_STDINT_H${ac_dC}1${ac_dD}
778 ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
779 ${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD}
780 ${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
781 ${ac_dA}HAVE_STDDEF_H${ac_dB}HAVE_STDDEF_H${ac_dC}1${ac_dD}
782 ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
783 ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
784 ${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
785 ${ac_dA}HAVE_SYS_PARAM_H${ac_dB}HAVE_SYS_PARAM_H${ac_dC}1${ac_dD}
786 ${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
787 ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
788 ${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD}
789 ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
790 ${ac_dA}HAVE_MALLOC${ac_dB}HAVE_MALLOC${ac_dC}1${ac_dD}
791 ${ac_dA}HAVE_SELECT${ac_dB}HAVE_SELECT${ac_dC}1${ac_dD}
792 ${ac_dA}HAVE_STRTOUL${ac_dB}HAVE_STRTOUL${ac_dC}1${ac_dD}
793 ${ac_dA}HAVE_UNAME${ac_dB}HAVE_UNAME${ac_dC}1${ac_dD}
794 CEOF
795 sed -f $tmp/defines.sed $tmp/in >$tmp/out
796 rm -f $tmp/in
797 mv $tmp/out $tmp/in
799 fi # egrep
801 # Handle all the #undef templates
802 cat >$tmp/undefs.sed <<CEOF
803 /^[ ]*#[ ]*undef/!b
804 t clr
805 : clr
806 ${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}"wmapmload"${ac_uD}
807 ${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}"wmapmload"${ac_uD}
808 ${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}"0.3.2"${ac_uD}
809 ${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}"wmapmload 0.3.2"${ac_uD}
810 ${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}"tnemeth@free.fr"${ac_uD}
811 ${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"wmapmload"${ac_uD}
812 ${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"0.3.2"${ac_uD}
813 ${ac_uA}IGNORE_BUFFERS${ac_uB}IGNORE_BUFFERS${ac_uC}1${ac_uD}
814 ${ac_uA}IGNORE_CACHED${ac_uB}IGNORE_CACHED${ac_uC}1${ac_uD}
815 ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
816 ${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
817 ${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
818 ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
819 ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
820 ${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
821 ${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
822 ${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
823 ${ac_uA}HAVE_STDINT_H${ac_uB}HAVE_STDINT_H${ac_uC}1${ac_uD}
824 ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
825 ${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD}
826 ${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
827 ${ac_uA}HAVE_STDDEF_H${ac_uB}HAVE_STDDEF_H${ac_uC}1${ac_uD}
828 ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
829 ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
830 ${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
831 ${ac_uA}HAVE_SYS_PARAM_H${ac_uB}HAVE_SYS_PARAM_H${ac_uC}1${ac_uD}
832 ${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
833 ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
834 ${ac_uA}TIME_WITH_SYS_TIME${ac_uB}TIME_WITH_SYS_TIME${ac_uC}1${ac_uD}
835 ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
836 ${ac_uA}HAVE_MALLOC${ac_uB}HAVE_MALLOC${ac_uC}1${ac_uD}
837 ${ac_uA}HAVE_SELECT${ac_uB}HAVE_SELECT${ac_uC}1${ac_uD}
838 ${ac_uA}HAVE_STRTOUL${ac_uB}HAVE_STRTOUL${ac_uC}1${ac_uD}
839 ${ac_uA}HAVE_UNAME${ac_uB}HAVE_UNAME${ac_uC}1${ac_uD}
840 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
841 CEOF
842 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
843 rm -f $tmp/in
844 mv $tmp/out $tmp/in
846 # Let's still pretend it is `configure' which instantiates (i.e., don't
847 # use $as_me), people would be surprised to read:
848 # /* config.h. Generated by config.status. */
849 if test x"$ac_file" = x-; then
850 echo "/* Generated by configure. */" >$tmp/config.h
851 else
852 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
854 cat $tmp/in >>$tmp/config.h
855 rm -f $tmp/in
856 if test x"$ac_file" != x-; then
857 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
858 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
859 echo "$as_me: $ac_file is unchanged" >&6;}
860 else
861 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
863 X"$ac_file" : 'X\(//\)[^/]' \| \
864 X"$ac_file" : 'X\(//\)$' \| \
865 X"$ac_file" : 'X\(/\)' \| \
866 . : '\(.\)' 2>/dev/null ||
867 echo X"$ac_file" |
868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
870 /^X\(\/\/\)$/{ s//\1/; q; }
871 /^X\(\/\).*/{ s//\1/; q; }
872 s/.*/./; q'`
873 { case "$ac_dir" in
874 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
875 *) as_incr_dir=.;;
876 esac
877 as_dummy="$ac_dir"
878 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
879 case $as_mkdir_dir in
880 # Skip DOS drivespec
881 ?:) as_incr_dir=$as_mkdir_dir ;;
883 as_incr_dir=$as_incr_dir/$as_mkdir_dir
884 test -d "$as_incr_dir" ||
885 mkdir "$as_incr_dir" ||
886 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
887 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
888 { (exit 1); exit 1; }; }
890 esac
891 done; }
893 rm -f $ac_file
894 mv $tmp/config.h $ac_file
896 else
897 cat $tmp/config.h
898 rm -f $tmp/config.h
900 done
903 # CONFIG_COMMANDS section.
905 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
906 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
907 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
908 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
909 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
910 X"$ac_dest" : 'X\(//\)[^/]' \| \
911 X"$ac_dest" : 'X\(//\)$' \| \
912 X"$ac_dest" : 'X\(/\)' \| \
913 . : '\(.\)' 2>/dev/null ||
914 echo X"$ac_dest" |
915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
916 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
917 /^X\(\/\/\)$/{ s//\1/; q; }
918 /^X\(\/\).*/{ s//\1/; q; }
919 s/.*/./; q'`
920 ac_builddir=.
922 if test "$ac_dir" != .; then
923 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
924 # A "../" for each directory in $ac_dir_suffix.
925 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
926 else
927 ac_dir_suffix= ac_top_builddir=
930 case $srcdir in
931 .) # No --srcdir option. We are building in place.
932 ac_srcdir=.
933 if test -z "$ac_top_builddir"; then
934 ac_top_srcdir=.
935 else
936 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
937 fi ;;
938 [\\/]* | ?:[\\/]* ) # Absolute path.
939 ac_srcdir=$srcdir$ac_dir_suffix;
940 ac_top_srcdir=$srcdir ;;
941 *) # Relative path.
942 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
943 ac_top_srcdir=$ac_top_builddir$srcdir ;;
944 esac
945 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
946 # absolute.
947 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
948 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
949 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
950 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
953 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
954 echo "$as_me: executing $ac_dest commands" >&6;}
955 case $ac_dest in
956 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
957 esac
958 done
960 { (exit 0); exit 0; }