Debian Codegraph @

xpa/config.status

raw
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 more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
88 fi
89
90
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
97
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
103 do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
109
110 ;;
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
116 fi
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
120 fi
121
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
142 fi
143
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
148 fi
149
150
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
170
171 # CDPATH.
172 $as_unset CDPATH
173
174
175
176 as_lineno_1=$LINENO
177 as_lineno_2=$LINENO
178 test "x$as_lineno_1" != "x$as_lineno_2" &&
179 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
180
181 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
182 # uniformly replaced by the line number. The first 'sed' inserts a
183 # line-number line after each line using $LINENO; the second 'sed'
184 # does the real work. The second script uses 'N' to pair each
185 # line-number line with the line containing $LINENO, and appends
186 # trailing '-' during substitution so that $LINENO is not a special
187 # case at line end.
188 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
189 # scripts with optimization help from Paolo Bonzini. Blame Lee
190 # E. McMahon (1931-1989) for sed's syntax. :-)
191 sed -n '
192 p
193 /[$]LINENO/=
194 ' <$as_myself |
195 sed '
196 s/[$]LINENO.*/&-/
197 t lineno
198 b
199 :lineno
200 N
201 :loop
202 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
203 t loop
204 s/-\n.*//
205 ' >$as_me.lineno &&
206 chmod +x "$as_me.lineno" ||
207 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
208 { (exit 1); exit 1; }; }
209
210 # Don't try to exec as it changes $[0], causing all sort of problems
211 # (the dirname of $[0] is not the place where we might find the
212 # original and so on. Autoconf is especially sensitive to this).
213 . "./$as_me.lineno"
214 # Exit status is that of the last command.
215 exit
216 }
217
218
219 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
220 as_dirname=dirname
221 else
222 as_dirname=false
223 fi
224
225 ECHO_C= ECHO_N= ECHO_T=
226 case `echo -n x` in
227 -n*)
228 case `echo 'x\c'` in
229 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
230 *) ECHO_C='\c';;
231 esac;;
232 *)
233 ECHO_N='-n';;
234 esac
235 if expr a : '\(a\)' >/dev/null 2>&1 &&
236 test "X`expr 00001 : '.*\(...\)'`" = X001; then
237 as_expr=expr
238 else
239 as_expr=false
240 fi
241
242 rm -f conf$$ conf$$.exe conf$$.file
243 if test -d conf$$.dir; then
244 rm -f conf$$.dir/conf$$.file
245 else
246 rm -f conf$$.dir
247 mkdir conf$$.dir 2>/dev/null
248 fi
249 if (echo >conf$$.file) 2>/dev/null; then
250 if ln -s conf$$.file conf$$ 2>/dev/null; then
251 as_ln_s='ln -s'
252 # ... but there are two gotchas:
253 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
254 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
255 # In both cases, we have to default to `cp -p'.
256 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
257 as_ln_s='cp -p'
258 elif ln conf$$.file conf$$ 2>/dev/null; then
259 as_ln_s=ln
260 else
261 as_ln_s='cp -p'
262 fi
263 else
264 as_ln_s='cp -p'
265 fi
266 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
267 rmdir conf$$.dir 2>/dev/null
268
269 if mkdir -p . 2>/dev/null; then
270 as_mkdir_p=:
271 else
272 test -d ./-p && rmdir ./-p
273 as_mkdir_p=false
274 fi
275
276 if test -x / >/dev/null 2>&1; then
277 as_test_x='test -x'
278 else
279 if ls -dL / >/dev/null 2>&1; then
280 as_ls_L_option=L
281 else
282 as_ls_L_option=
283 fi
284 as_test_x='
285 eval sh -c '\''
286 if test -d "$1"; then
287 test -d "$1/.";
288 else
289 case $1 in
290 -*)set "./$1";;
291 esac;
292 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
293 ???[sx]*):;;*)false;;esac;fi
294 '\'' sh
295 '
296 fi
297 as_executable_p=$as_test_x
298
299 # Sed expression to map a string onto a valid CPP name.
300 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
301
302 # Sed expression to map a string onto a valid variable name.
303 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
304
305
306 exec 6>&1
307
308 # Save the log message, to keep $[0] and so on meaningful, and to
309 # report actual input values of CONFIG_FILES etc. instead of their
310 # values after options handling.
311 ac_log="
312 This file was extended by xpa $as_me 2.1.15, which was
313 generated by GNU Autoconf 2.63. Invocation command line was
314
315 CONFIG_FILES = $CONFIG_FILES
316 CONFIG_HEADERS = $CONFIG_HEADERS
317 CONFIG_LINKS = $CONFIG_LINKS
318 CONFIG_COMMANDS = $CONFIG_COMMANDS
319 $ $0 $@
320
321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
322 "
323
324 # Files that config.status was made for.
325 config_files=" Makefile"
326 config_headers=" conf.h"
327
328 ac_cs_usage="\
329 \`$as_me' instantiates files from templates according to the
330 current configuration.
331
332 Usage: $0 [OPTION]... [FILE]...
333
334 -h, --help print this help, then exit
335 -V, --version print version number and configuration settings, then exit
336 -q, --quiet, --silent
337 do not print progress messages
338 -d, --debug don't remove temporary files
339 --recheck update $as_me by reconfiguring in the same conditions
340 --file=FILE[:TEMPLATE]
341 instantiate the configuration file FILE
342 --header=FILE[:TEMPLATE]
343 instantiate the configuration header FILE
344
345 Configuration files:
346 $config_files
347
348 Configuration headers:
349 $config_headers
350
351 Report bugs to <[email protected]>."
352
353 ac_cs_version="\
354 xpa config.status 2.1.15
355 configured by ./configure, generated by GNU Autoconf 2.63,
356 with options \"'--enable-shared' '--without-tcl'\"
357
358 Copyright (C) 2008 Free Software Foundation, Inc.
359 This config.status script is free software; the Free Software Foundation
360 gives unlimited permission to copy, distribute and modify it."
361
362 ac_pwd='/proj/rd/eric/pyds9/xpa'
363 srcdir='.'
364 test -n "$AWK" || AWK=awk
365 # The default lists apply if the user does not specify any file.
366 ac_need_defaults=:
367 while test $# != 0
368 do
369 case $1 in
370 --*=*)
371 ac_option=`expr "X$1" : 'X\([^=]*\)='`
372 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
373 ac_shift=:
374 ;;
375 *)
376 ac_option=$1
377 ac_optarg=$2
378 ac_shift=shift
379 ;;
380 esac
381
382 case $ac_option in
383 # Handling of the options.
384 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
385 ac_cs_recheck=: ;;
386 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
387 $as_echo "$ac_cs_version"; exit ;;
388 --debug | --debu | --deb | --de | --d | -d )
389 debug=: ;;
390 --file | --fil | --fi | --f )
391 $ac_shift
392 case $ac_optarg in
393 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
394 esac
395 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
396 ac_need_defaults=false;;
397 --header | --heade | --head | --hea )
398 $ac_shift
399 case $ac_optarg in
400 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
401 esac
402 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
403 ac_need_defaults=false;;
404 --he | --h)
405 # Conflict between --help and --header
406 { $as_echo "$as_me: error: ambiguous option: $1
407 Try \`$0 --help' for more information." >&2
408 { (exit 1); exit 1; }; };;
409 --help | --hel | -h )
410 $as_echo "$ac_cs_usage"; exit ;;
411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
412 | -silent | --silent | --silen | --sile | --sil | --si | --s)
413 ac_cs_silent=: ;;
414
415 # This is an error.
416 -*) { $as_echo "$as_me: error: unrecognized option: $1
417 Try \`$0 --help' for more information." >&2
418 { (exit 1); exit 1; }; } ;;
419
420 *) ac_config_targets="$ac_config_targets $1"
421 ac_need_defaults=false ;;
422
423 esac
424 shift
425 done
426
427 ac_configure_extra_args=
428
429 if $ac_cs_silent; then
430 exec 6>/dev/null
431 ac_configure_extra_args="$ac_configure_extra_args --silent"
432 fi
433
434 if $ac_cs_recheck; then
435 set X '/bin/sh' './configure' '--enable-shared' '--without-tcl' $ac_configure_extra_args --no-create --no-recursion
436 shift
437 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
438 CONFIG_SHELL='/bin/sh'
439 export CONFIG_SHELL
440 exec "$@"
441 fi
442
443 exec 5>>config.log
444 {
445 echo
446 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
447 ## Running $as_me. ##
448 _ASBOX
449 $as_echo "$ac_log"
450 } >&5
451
452
453 # Handling of arguments.
454 for ac_config_target in $ac_config_targets
455 do
456 case $ac_config_target in
457 "conf.h") CONFIG_HEADERS="$CONFIG_HEADERS conf.h" ;;
458 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
459
460 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
461 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
462 { (exit 1); exit 1; }; };;
463 esac
464 done
465
466
467 # If the user did not use the arguments to specify the items to instantiate,
468 # then the envvar interface is used. Set only those that are not.
469 # We use the long form for the default assignment because of an extremely
470 # bizarre bug on SunOS 4.1.3.
471 if $ac_need_defaults; then
472 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
473 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
474 fi
475
476 # Have a temporary directory for convenience. Make it in the build tree
477 # simply because there is no reason against having it here, and in addition,
478 # creating and moving files from /tmp can sometimes cause problems.
479 # Hook for its removal unless debugging.
480 # Note that there is a small window in which the directory will not be cleaned:
481 # after its creation but before its name has been assigned to `$tmp'.
482 $debug ||
483 {
484 tmp=
485 trap 'exit_status=$?
486 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
487 ' 0
488 trap '{ (exit 1); exit 1; }' 1 2 13 15
489 }
490 # Create a (secure) tmp directory for tmp files.
491
492 {
493 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
494 test -n "$tmp" && test -d "$tmp"
495 } ||
496 {
497 tmp=./conf$$-$RANDOM
498 (umask 077 && mkdir "$tmp")
499 } ||
500 {
501 $as_echo "$as_me: cannot create a temporary directory in ." >&2
502 { (exit 1); exit 1; }
503 }
504
505 # Set up the scripts for CONFIG_FILES section.
506 # No need to generate them if there are no CONFIG_FILES.
507 # This happens for instance with `./config.status config.h'.
508 if test -n "$CONFIG_FILES"; then
509
510
511 ac_cr=' '
512 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
513 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
514 ac_cs_awk_cr='\\r'
515 else
516 ac_cs_awk_cr=$ac_cr
517 fi
518
519 echo 'BEGIN {' >"$tmp/subs1.awk" &&
520 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
521 S["LTLIBOBJS"]=""
522 S["LIBOBJS"]=""
523 S["EXTRA_LIBS"]=""
524 S["GTK_LIBS"]=""
525 S["GTK_CFLAGS"]=""
526 S["TCL_LIBS"]=""
527 S["TCL_CFLAGS"]=""
528 S["TCL_STUB_LIB_SPEC"]=""
529 S["TCL_STUB_LIB_FLAG"]=""
530 S["TCL_STUB_LIB_FILE"]=""
531 S["TCL_LIB_SPEC"]=""
532 S["TCL_LIB_FLAG"]=""
533 S["TCL_LIB_FILE"]=""
534 S["TCL_SRC_DIR"]=""
535 S["TCL_BIN_DIR"]=""
536 S["TCL_VERSION"]=""
537 S["X_EXTRA_LIBS"]=""
538 S["X_LIBS"]=""
539 S["X_PRE_LIBS"]=" -lSM -lICE"
540 S["X_CFLAGS"]=""
541 S["XMKMF"]=""
542 S["LLIB"]="$(LIB)"
543 S["DOSHARED"]="shlib"
544 S["TLIB"]=""
545 S["RANLIB"]="ranlib"
546 S["SZ_LONG"]="8"
547 S["EGREP"]="/bin/grep -E"
548 S["GREP"]="/bin/grep"
549 S["CPP"]="gcc -E"
550 S["OBJEXT"]="o"
551 S["EXEEXT"]=""
552 S["ac_ct_CC"]="gcc"
553 S["CPPFLAGS"]=""
554 S["LDFLAGS"]=" "
555 S["CFLAGS"]="-g -O2 -fPIC"
556 S["CC"]="gcc"
557 S["host_os"]="linux-gnu"
558 S["host_vendor"]="unknown"
559 S["host_cpu"]="x86_64"
560 S["host"]="x86_64-unknown-linux-gnu"
561 S["build_os"]="linux-gnu"
562 S["build_vendor"]="unknown"
563 S["build_cpu"]="x86_64"
564 S["build"]="x86_64-unknown-linux-gnu"
565 S["target_alias"]=""
566 S["host_alias"]=""
567 S["build_alias"]=""
568 S["LIBS"]=""
569 S["ECHO_T"]=""
570 S["ECHO_N"]="-n"
571 S["ECHO_C"]=""
572 S["DEFS"]="-DHAVE_CONFIG_H"
573 S["mandir"]="${datarootdir}/man"
574 S["localedir"]="${datarootdir}/locale"
575 S["libdir"]="${exec_prefix}/lib"
576 S["psdir"]="${docdir}"
577 S["pdfdir"]="${docdir}"
578 S["dvidir"]="${docdir}"
579 S["htmldir"]="${docdir}"
580 S["infodir"]="${datarootdir}/info"
581 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
582 S["oldincludedir"]="/usr/include"
583 S["includedir"]="${prefix}/include"
584 S["localstatedir"]="${prefix}/var"
585 S["sharedstatedir"]="${prefix}/com"
586 S["sysconfdir"]="${prefix}/etc"
587 S["datadir"]="${datarootdir}"
588 S["datarootdir"]="${prefix}/share"
589 S["libexecdir"]="${exec_prefix}/libexec"
590 S["sbindir"]="${exec_prefix}/sbin"
591 S["bindir"]="${exec_prefix}/bin"
592 S["program_transform_name"]="s,x,x,"
593 S["prefix"]="/usr/local"
594 S["exec_prefix"]="${prefix}"
595 S["PACKAGE_BUGREPORT"]="[email protected]"
596 S["PACKAGE_STRING"]="xpa 2.1.15"
597 S["PACKAGE_VERSION"]="2.1.15"
598 S["PACKAGE_TARNAME"]="xpa"
599 S["PACKAGE_NAME"]="xpa"
600 S["PATH_SEPARATOR"]=":"
601 S["SHELL"]="/bin/sh"
602 _ACAWK
603 cat >>"$tmp/subs1.awk" <<_ACAWK &&
604 for (key in S) S_is_set[key] = 1
605 FS = ""
606
607 }
608 {
609 line = $ 0
610 nfields = split(line, field, "@")
611 substed = 0
612 len = length(field[1])
613 for (i = 2; i < nfields; i++) {
614 key = field[i]
615 keylen = length(key)
616 if (S_is_set[key]) {
617 value = S[key]
618 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
619 len += length(value) + length(field[++i])
620 substed = 1
621 } else
622 len += 1 + keylen
623 }
624
625 print line
626 }
627
628 _ACAWK
629 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
630 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
631 else
632 cat
633 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
634 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
635 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
636 { (exit 1); exit 1; }; }
637 fi # test -n "$CONFIG_FILES"
638
639 # Set up the scripts for CONFIG_HEADERS section.
640 # No need to generate them if there are no CONFIG_HEADERS.
641 # This happens for instance with `./config.status Makefile'.
642 if test -n "$CONFIG_HEADERS"; then
643 cat >"$tmp/defines.awk" <<\_ACAWK ||
644 BEGIN {
645 D["PACKAGE_NAME"]=" \"xpa\""
646 D["PACKAGE_TARNAME"]=" \"xpa\""
647 D["PACKAGE_VERSION"]=" \"2.1.15\""
648 D["PACKAGE_STRING"]=" \"xpa 2.1.15\""
649 D["PACKAGE_BUGREPORT"]=" \"[email protected]\""
650 D["STDC_HEADERS"]=" 1"
651 D["HAVE_SYS_TYPES_H"]=" 1"
652 D["HAVE_SYS_STAT_H"]=" 1"
653 D["HAVE_STDLIB_H"]=" 1"
654 D["HAVE_STRING_H"]=" 1"
655 D["HAVE_MEMORY_H"]=" 1"
656 D["HAVE_STRINGS_H"]=" 1"
657 D["HAVE_INTTYPES_H"]=" 1"
658 D["HAVE_STDINT_H"]=" 1"
659 D["HAVE_UNISTD_H"]=" 1"
660 D["SIZEOF_LONG"]=" 8"
661 D["STDC_HEADERS"]=" 1"
662 D["HAVE_MALLOC_H"]=" 1"
663 D["HAVE_GETOPT_H"]=" 1"
664 D["HAVE_PWD_H"]=" 1"
665 D["HAVE_VALUES_H"]=" 1"
666 D["HAVE_DLFCN_H"]=" 1"
667 D["HAVE_SETJMP_H"]=" 1"
668 D["HAVE_SYS_UN_H"]=" 1"
669 D["HAVE_SYS_SHM_H"]=" 1"
670 D["HAVE_SYS_MMAN_H"]=" 1"
671 D["HAVE_SYS_IPC_H"]=" 1"
672 D["HAVE_SOCKLEN_T"]=" 1"
673 D["HAVE_STRCHR"]=" 1"
674 D["HAVE_MEMCPY"]=" 1"
675 D["HAVE_SNPRINTF"]=" 1"
676 D["HAVE_ATEXIT"]=" 1"
677 D["HAVE_SETENV"]=" 1"
678 D["HAVE_XT"]=" 1"
679 for (key in D) D_is_set[key] = 1
680 FS = ""
681 }
682 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
683 line = $ 0
684 split(line, arg, " ")
685 if (arg[1] == "#") {
686 defundef = arg[2]
687 mac1 = arg[3]
688 } else {
689 defundef = substr(arg[1], 2)
690 mac1 = arg[2]
691 }
692 split(mac1, mac2, "(") #)
693 macro = mac2[1]
694 prefix = substr(line, 1, index(line, defundef) - 1)
695 if (D_is_set[macro]) {
696 # Preserve the white space surrounding the "#".
697 print prefix "define", macro P[macro] D[macro]
698 next
699 } else {
700 # Replace #undef with comments. This is necessary, for example,
701 # in the case of _POSIX_SOURCE, which is predefined and required
702 # on some systems where configure will not decide to define it.
703 if (defundef == "undef") {
704 print "/*", prefix defundef, macro, "*/"
705 next
706 }
707 }
708 }
709 { print }
710 _ACAWK
711 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
712 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
713 { (exit 1); exit 1; }; }
714 fi # test -n "$CONFIG_HEADERS"
715
716
717 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
718 shift
719 for ac_tag
720 do
721 case $ac_tag in
722 :[FHLC]) ac_mode=$ac_tag; continue;;
723 esac
724 case $ac_mode$ac_tag in
725 :[FHL]*:*);;
726 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
727 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
728 { (exit 1); exit 1; }; };;
729 :[FH]-) ac_tag=-:-;;
730 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
731 esac
732 ac_save_IFS=$IFS
733 IFS=:
734 set x $ac_tag
735 IFS=$ac_save_IFS
736 shift
737 ac_file=$1
738 shift
739
740 case $ac_mode in
741 :L) ac_source=$1;;
742 :[FH])
743 ac_file_inputs=
744 for ac_f
745 do
746 case $ac_f in
747 -) ac_f="$tmp/stdin";;
748 *) # Look for the file first in the build tree, then in the source tree
749 # (if the path is not absolute). The absolute path cannot be DOS-style,
750 # because $ac_f cannot contain `:'.
751 test -f "$ac_f" ||
752 case $ac_f in
753 [\\/$]*) false;;
754 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
755 esac ||
756 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
757 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
758 { (exit 1); exit 1; }; };;
759 esac
760 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
761 ac_file_inputs="$ac_file_inputs '$ac_f'"
762 done
763
764 # Let's still pretend it is `configure' which instantiates (i.e., don't
765 # use $as_me), people would be surprised to read:
766 # /* config.h. Generated by config.status. */
767 configure_input='Generated from '`
768 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
769 `' by configure.'
770 if test x"$ac_file" != x-; then
771 configure_input="$ac_file. $configure_input"
772 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
773 $as_echo "$as_me: creating $ac_file" >&6;}
774 fi
775 # Neutralize special characters interpreted by sed in replacement strings.
776 case $configure_input in #(
777 *\&* | *\|* | *\\* )
778 ac_sed_conf_input=`$as_echo "$configure_input" |
779 sed 's/[\\\\&|]/\\\\&/g'`;; #(
780 *) ac_sed_conf_input=$configure_input;;
781 esac
782
783 case $ac_tag in
784 *:-:* | *:-) cat >"$tmp/stdin" \
785 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
786 $as_echo "$as_me: error: could not create $ac_file" >&2;}
787 { (exit 1); exit 1; }; } ;;
788 esac
789 ;;
790 esac
791
792 ac_dir=`$as_dirname -- "$ac_file" ||
793 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
794 X"$ac_file" : 'X\(//\)[^/]' \| \
795 X"$ac_file" : 'X\(//\)$' \| \
796 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
797 $as_echo X"$ac_file" |
798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
799 s//\1/
800 q
801 }
802 /^X\(\/\/\)[^/].*/{
803 s//\1/
804 q
805 }
806 /^X\(\/\/\)$/{
807 s//\1/
808 q
809 }
810 /^X\(\/\).*/{
811 s//\1/
812 q
813 }
814 s/.*/./; q'`
815 { as_dir="$ac_dir"
816 case $as_dir in #(
817 -*) as_dir=./$as_dir;;
818 esac
819 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
820 as_dirs=
821 while :; do
822 case $as_dir in #(
823 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
824 *) as_qdir=$as_dir;;
825 esac
826 as_dirs="'$as_qdir' $as_dirs"
827 as_dir=`$as_dirname -- "$as_dir" ||
828 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
829 X"$as_dir" : 'X\(//\)[^/]' \| \
830 X"$as_dir" : 'X\(//\)$' \| \
831 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
832 $as_echo X"$as_dir" |
833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
834 s//\1/
835 q
836 }
837 /^X\(\/\/\)[^/].*/{
838 s//\1/
839 q
840 }
841 /^X\(\/\/\)$/{
842 s//\1/
843 q
844 }
845 /^X\(\/\).*/{
846 s//\1/
847 q
848 }
849 s/.*/./; q'`
850 test -d "$as_dir" && break
851 done
852 test -z "$as_dirs" || eval "mkdir $as_dirs"
853 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
854 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
855 { (exit 1); exit 1; }; }; }
856 ac_builddir=.
857
858 case "$ac_dir" in
859 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
860 *)
861 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
862 # A ".." for each directory in $ac_dir_suffix.
863 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
864 case $ac_top_builddir_sub in
865 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
866 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
867 esac ;;
868 esac
869 ac_abs_top_builddir=$ac_pwd
870 ac_abs_builddir=$ac_pwd$ac_dir_suffix
871 # for backward compatibility:
872 ac_top_builddir=$ac_top_build_prefix
873
874 case $srcdir in
875 .) # We are building in place.
876 ac_srcdir=.
877 ac_top_srcdir=$ac_top_builddir_sub
878 ac_abs_top_srcdir=$ac_pwd ;;
879 [\\/]* | ?:[\\/]* ) # Absolute name.
880 ac_srcdir=$srcdir$ac_dir_suffix;
881 ac_top_srcdir=$srcdir
882 ac_abs_top_srcdir=$srcdir ;;
883 *) # Relative name.
884 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
885 ac_top_srcdir=$ac_top_build_prefix$srcdir
886 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
887 esac
888 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
889
890
891 case $ac_mode in
892 :F)
893 #
894 # CONFIG_FILE
895 #
896
897 # If the template does not know about datarootdir, expand it.
898 # FIXME: This hack should be removed a few years after 2.60.
899 ac_datarootdir_hack=; ac_datarootdir_seen=
900
901 ac_sed_dataroot='
902 /datarootdir/ {
903 p
904 q
905 }
906 /@datadir@/p
907 /@docdir@/p
908 /@infodir@/p
909 /@localedir@/p
910 /@mandir@/p
911 '
912 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
913 *datarootdir*) ac_datarootdir_seen=yes;;
914 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
915 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
916 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
917 ac_datarootdir_hack='
918 s&@datadir@&${datarootdir}&g
919 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
920 s&@infodir@&${datarootdir}/info&g
921 s&@localedir@&${datarootdir}/locale&g
922 s&@mandir@&${datarootdir}/man&g
923 s&\${datarootdir}&${prefix}/share&g' ;;
924 esac
925 ac_sed_extra="/^[ ]*VPATH[ ]*=/{
926 s/:*\$(srcdir):*/:/
927 s/:*\${srcdir}:*/:/
928 s/:*@srcdir@:*/:/
929 s/^\([^=]*=[ ]*\):*/\1/
930 s/:*$//
931 s/^[^=]*=[ ]*$//
932 }
933
934 :t
935 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
936 s|@configure_input@|$ac_sed_conf_input|;t t
937 s&@top_builddir@&$ac_top_builddir_sub&;t t
938 s&@top_build_prefix@&$ac_top_build_prefix&;t t
939 s&@srcdir@&$ac_srcdir&;t t
940 s&@abs_srcdir@&$ac_abs_srcdir&;t t
941 s&@top_srcdir@&$ac_top_srcdir&;t t
942 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
943 s&@builddir@&$ac_builddir&;t t
944 s&@abs_builddir@&$ac_abs_builddir&;t t
945 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
946 $ac_datarootdir_hack
947 "
948 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
949 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
950 $as_echo "$as_me: error: could not create $ac_file" >&2;}
951 { (exit 1); exit 1; }; }
952
953 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
954 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
955 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
956 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
957 which seems to be undefined. Please make sure it is defined." >&5
958 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
959 which seems to be undefined. Please make sure it is defined." >&2;}
960
961 rm -f "$tmp/stdin"
962 case $ac_file in
963 -) cat "$tmp/out" && rm -f "$tmp/out";;
964 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
965 esac \
966 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
967 $as_echo "$as_me: error: could not create $ac_file" >&2;}
968 { (exit 1); exit 1; }; }
969 ;;
970 :H)
971 #
972 # CONFIG_HEADER
973 #
974 if test x"$ac_file" != x-; then
975 {
976 $as_echo "/* $configure_input */" \
977 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
978 } >"$tmp/config.h" \
979 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
980 $as_echo "$as_me: error: could not create $ac_file" >&2;}
981 { (exit 1); exit 1; }; }
982 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
983 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
984 $as_echo "$as_me: $ac_file is unchanged" >&6;}
985 else
986 rm -f "$ac_file"
987 mv "$tmp/config.h" "$ac_file" \
988 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
989 $as_echo "$as_me: error: could not create $ac_file" >&2;}
990 { (exit 1); exit 1; }; }
991 fi
992 else
993 $as_echo "/* $configure_input */" \
994 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
995 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
996 $as_echo "$as_me: error: could not create -" >&2;}
997 { (exit 1); exit 1; }; }
998 fi
999 ;;
1000
1001
1002 esac
1003
1004 done # for ac_tag
1005
1006
1007 { (exit 0); exit 0; }