initial commit of v0.2.3
[dragbox.git] / configure
bloba91b035d52125cafbdbac9ba744667613976b56b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for dragbox 0.2.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 setopt NO_GLOB_SUBST
21 else
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24 BIN_SH=xpg4; export BIN_SH # for Tru64
25 DUALCASE=1; export DUALCASE # for MKS sh
28 # PATH needs CR
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
40 chmod +x conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42 PATH_SEPARATOR=';'
43 else
44 PATH_SEPARATOR=:
46 rm -f conf$$.sh
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51 as_unset=unset
52 else
53 as_unset=false
57 # IFS
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
62 as_nl='
64 IFS=" "" $as_nl"
66 # Find who we are. Look in the path if we contain no directory separator.
67 case $0 in
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70 for as_dir in $PATH
72 IFS=$as_save_IFS
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75 done
76 IFS=$as_save_IFS
79 esac
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x; then
83 as_myself=$0
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
87 { (exit 1); exit 1; }
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93 done
94 PS1='$ '
95 PS2='> '
96 PS4='+ '
98 # NLS nuisances.
99 for as_var in \
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
102 LC_TELEPHONE LC_TIME
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
106 else
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109 done
111 # Required to use basename.
112 if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
114 as_expr=expr
115 else
116 as_expr=false
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
120 as_basename=basename
121 else
122 as_basename=false
126 # Name of the executable.
127 as_me=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
131 echo X/"$0" |
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
133 s//\1/
136 /^X\/\(\/\/\)$/{
137 s//\1/
140 /^X\/\(\/\).*/{
141 s//\1/
144 s/.*/./; q'`
146 # CDPATH.
147 $as_unset CDPATH
150 if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
152 as_have_required=yes
153 else
154 as_have_required=no
157 if test $as_have_required = yes && (eval ":
158 (as_func_return () {
159 (exit \$1)
161 as_func_success () {
162 as_func_return 0
164 as_func_failure () {
165 as_func_return 1
167 as_func_ret_success () {
168 return 0
170 as_func_ret_failure () {
171 return 1
174 exitcode=0
175 if as_func_success; then
177 else
178 exitcode=1
179 echo as_func_success failed.
182 if as_func_failure; then
183 exitcode=1
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
189 else
190 exitcode=1
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
195 exitcode=1
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
201 else
202 exitcode=1
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
209 as_lineno_1=\$LINENO
210 as_lineno_2=\$LINENO
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev/null; then
215 else
216 as_candidate_shells=
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 case $as_dir in
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
226 done;;
227 esac
228 done
229 IFS=$as_save_IFS
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
238 emulate sh
239 NULLCMD=:
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
243 setopt NO_GLOB_SUBST
244 else
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 BIN_SH=xpg4; export BIN_SH # for Tru64
248 DUALCASE=1; export DUALCASE # for MKS sh
251 _ASEOF
252 }; then
253 CONFIG_SHELL=$as_shell
254 as_have_required=yes
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
258 emulate sh
259 NULLCMD=:
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
263 setopt NO_GLOB_SUBST
264 else
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 BIN_SH=xpg4; export BIN_SH # for Tru64
268 DUALCASE=1; export DUALCASE # for MKS sh
271 (as_func_return () {
272 (exit $1)
274 as_func_success () {
275 as_func_return 0
277 as_func_failure () {
278 as_func_return 1
280 as_func_ret_success () {
281 return 0
283 as_func_ret_failure () {
284 return 1
287 exitcode=0
288 if as_func_success; then
290 else
291 exitcode=1
292 echo as_func_success failed.
295 if as_func_failure; then
296 exitcode=1
297 echo as_func_failure succeeded.
300 if as_func_ret_success; then
302 else
303 exitcode=1
304 echo as_func_ret_success failed.
307 if as_func_ret_failure; then
308 exitcode=1
309 echo as_func_ret_failure succeeded.
312 if ( set x; as_func_ret_success y && test x = "$1" ); then
314 else
315 exitcode=1
316 echo positional parameters were not saved.
319 test $exitcode = 0) || { (exit 1); exit 1; }
322 as_lineno_1=$LINENO
323 as_lineno_2=$LINENO
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
327 _ASEOF
328 }; then
329 break
334 done
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
339 done
340 export CONFIG_SHELL
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
361 (exit \$1)
363 as_func_success () {
364 as_func_return 0
366 as_func_failure () {
367 as_func_return 1
369 as_func_ret_success () {
370 return 0
372 as_func_ret_failure () {
373 return 1
376 exitcode=0
377 if as_func_success; then
379 else
380 exitcode=1
381 echo as_func_success failed.
384 if as_func_failure; then
385 exitcode=1
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
391 else
392 exitcode=1
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
397 exitcode=1
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
403 else
404 exitcode=1
405 echo positional parameters were not saved.
408 test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system,
411 echo including any error possibly output before this
412 echo message
417 as_lineno_1=$LINENO
418 as_lineno_2=$LINENO
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
428 # case at line end.
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
454 . "./$as_me.lineno"
455 # Exit status is that of the last command.
456 exit
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461 as_dirname=dirname
462 else
463 as_dirname=false
466 ECHO_C= ECHO_N= ECHO_T=
467 case `echo -n x` in
468 -n*)
469 case `echo 'x\c'` in
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
471 *) ECHO_C='\c';;
472 esac;;
474 ECHO_N='-n';;
475 esac
477 if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
479 as_expr=expr
480 else
481 as_expr=false
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487 else
488 rm -f conf$$.dir
489 mkdir conf$$.dir
491 echo >conf$$.file
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s='ln -s'
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
500 elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502 else
503 as_ln_s='cp -p'
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p=:
510 else
511 test -d ./-p && rmdir ./-p
512 as_mkdir_p=false
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.file <<_ASEOF
518 #! /bin/sh
519 exit 0
520 _ASEOF
521 chmod +x conf$$.file
522 if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
524 else
525 as_executable_p=:
527 rm -f conf$$.file
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555 SHELL=${CONFIG_SHELL-/bin/sh}
557 # Identity of this package.
558 PACKAGE_NAME='dragbox'
559 PACKAGE_TARNAME='dragbox'
560 PACKAGE_VERSION='0.2.3'
561 PACKAGE_STRING='dragbox 0.2.3'
562 PACKAGE_BUGREPORT=''
564 ac_unique_file="Dragbox/__init__.py"
565 ac_subst_vars='SHELL
566 PATH_SEPARATOR
567 PACKAGE_NAME
568 PACKAGE_TARNAME
569 PACKAGE_VERSION
570 PACKAGE_STRING
571 PACKAGE_BUGREPORT
572 exec_prefix
573 prefix
574 program_transform_name
575 bindir
576 sbindir
577 libexecdir
578 datarootdir
579 datadir
580 sysconfdir
581 sharedstatedir
582 localstatedir
583 includedir
584 oldincludedir
585 docdir
586 infodir
587 htmldir
588 dvidir
589 pdfdir
590 psdir
591 libdir
592 localedir
593 mandir
594 DEFS
595 ECHO_C
596 ECHO_N
597 ECHO_T
598 LIBS
599 build_alias
600 host_alias
601 target_alias
602 INSTALL_PROGRAM
603 INSTALL_SCRIPT
604 INSTALL_DATA
605 CYGPATH_W
606 PACKAGE
607 VERSION
608 ACLOCAL
609 AUTOCONF
610 AUTOMAKE
611 AUTOHEADER
612 MAKEINFO
613 install_sh
614 STRIP
615 INSTALL_STRIP_PROGRAM
616 mkdir_p
618 SET_MAKE
619 am__leading_dot
620 AMTAR
621 am__tar
622 am__untar
623 MAINTAINER_MODE_TRUE
624 MAINTAINER_MODE_FALSE
625 MAINT
626 PYTHON
627 PYTHON_VERSION
628 PYTHON_PREFIX
629 PYTHON_EXEC_PREFIX
630 PYTHON_PLATFORM
631 pythondir
632 pkgpythondir
633 pyexecdir
634 pkgpyexecdir
635 PKG_CONFIG
636 PYGTK_CFLAGS
637 PYGTK_LIBS
638 DBUS_ENABLED
639 PREFIX
640 DATADIR
641 GLADEDIR
642 LIBOBJS
643 LTLIBOBJS'
644 ac_subst_files=''
645 ac_precious_vars='build_alias
646 host_alias
647 target_alias
648 PKG_CONFIG
649 PYGTK_CFLAGS
650 PYGTK_LIBS'
653 # Initialize some variables set by options.
654 ac_init_help=
655 ac_init_version=false
656 # The variables have the same names as the options, with
657 # dashes changed to underlines.
658 cache_file=/dev/null
659 exec_prefix=NONE
660 no_create=
661 no_recursion=
662 prefix=NONE
663 program_prefix=NONE
664 program_suffix=NONE
665 program_transform_name=s,x,x,
666 silent=
667 site=
668 srcdir=
669 verbose=
670 x_includes=NONE
671 x_libraries=NONE
673 # Installation directory options.
674 # These are left unexpanded so users can "make install exec_prefix=/foo"
675 # and all the variables that are supposed to be based on exec_prefix
676 # by default will actually change.
677 # Use braces instead of parens because sh, perl, etc. also accept them.
678 # (The list follows the same order as the GNU Coding Standards.)
679 bindir='${exec_prefix}/bin'
680 sbindir='${exec_prefix}/sbin'
681 libexecdir='${exec_prefix}/libexec'
682 datarootdir='${prefix}/share'
683 datadir='${datarootdir}'
684 sysconfdir='${prefix}/etc'
685 sharedstatedir='${prefix}/com'
686 localstatedir='${prefix}/var'
687 includedir='${prefix}/include'
688 oldincludedir='/usr/include'
689 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
690 infodir='${datarootdir}/info'
691 htmldir='${docdir}'
692 dvidir='${docdir}'
693 pdfdir='${docdir}'
694 psdir='${docdir}'
695 libdir='${exec_prefix}/lib'
696 localedir='${datarootdir}/locale'
697 mandir='${datarootdir}/man'
699 ac_prev=
700 ac_dashdash=
701 for ac_option
703 # If the previous option needs an argument, assign it.
704 if test -n "$ac_prev"; then
705 eval $ac_prev=\$ac_option
706 ac_prev=
707 continue
710 case $ac_option in
711 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
712 *) ac_optarg=yes ;;
713 esac
715 # Accept the important Cygnus configure options, so we can diagnose typos.
717 case $ac_dashdash$ac_option in
719 ac_dashdash=yes ;;
721 -bindir | --bindir | --bindi | --bind | --bin | --bi)
722 ac_prev=bindir ;;
723 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
724 bindir=$ac_optarg ;;
726 -build | --build | --buil | --bui | --bu)
727 ac_prev=build_alias ;;
728 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
729 build_alias=$ac_optarg ;;
731 -cache-file | --cache-file | --cache-fil | --cache-fi \
732 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
733 ac_prev=cache_file ;;
734 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
735 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
736 cache_file=$ac_optarg ;;
738 --config-cache | -C)
739 cache_file=config.cache ;;
741 -datadir | --datadir | --datadi | --datad)
742 ac_prev=datadir ;;
743 -datadir=* | --datadir=* | --datadi=* | --datad=*)
744 datadir=$ac_optarg ;;
746 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
747 | --dataroo | --dataro | --datar)
748 ac_prev=datarootdir ;;
749 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
750 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
751 datarootdir=$ac_optarg ;;
753 -disable-* | --disable-*)
754 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
757 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
758 { (exit 1); exit 1; }; }
759 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
760 eval enable_$ac_feature=no ;;
762 -docdir | --docdir | --docdi | --doc | --do)
763 ac_prev=docdir ;;
764 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
765 docdir=$ac_optarg ;;
767 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
768 ac_prev=dvidir ;;
769 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
770 dvidir=$ac_optarg ;;
772 -enable-* | --enable-*)
773 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
774 # Reject names that are not valid shell variable names.
775 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
776 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
777 { (exit 1); exit 1; }; }
778 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
779 eval enable_$ac_feature=\$ac_optarg ;;
781 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
782 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
783 | --exec | --exe | --ex)
784 ac_prev=exec_prefix ;;
785 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
786 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
787 | --exec=* | --exe=* | --ex=*)
788 exec_prefix=$ac_optarg ;;
790 -gas | --gas | --ga | --g)
791 # Obsolete; use --with-gas.
792 with_gas=yes ;;
794 -help | --help | --hel | --he | -h)
795 ac_init_help=long ;;
796 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
797 ac_init_help=recursive ;;
798 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
799 ac_init_help=short ;;
801 -host | --host | --hos | --ho)
802 ac_prev=host_alias ;;
803 -host=* | --host=* | --hos=* | --ho=*)
804 host_alias=$ac_optarg ;;
806 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
807 ac_prev=htmldir ;;
808 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
809 | --ht=*)
810 htmldir=$ac_optarg ;;
812 -includedir | --includedir | --includedi | --included | --include \
813 | --includ | --inclu | --incl | --inc)
814 ac_prev=includedir ;;
815 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
816 | --includ=* | --inclu=* | --incl=* | --inc=*)
817 includedir=$ac_optarg ;;
819 -infodir | --infodir | --infodi | --infod | --info | --inf)
820 ac_prev=infodir ;;
821 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
822 infodir=$ac_optarg ;;
824 -libdir | --libdir | --libdi | --libd)
825 ac_prev=libdir ;;
826 -libdir=* | --libdir=* | --libdi=* | --libd=*)
827 libdir=$ac_optarg ;;
829 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
830 | --libexe | --libex | --libe)
831 ac_prev=libexecdir ;;
832 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
833 | --libexe=* | --libex=* | --libe=*)
834 libexecdir=$ac_optarg ;;
836 -localedir | --localedir | --localedi | --localed | --locale)
837 ac_prev=localedir ;;
838 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
839 localedir=$ac_optarg ;;
841 -localstatedir | --localstatedir | --localstatedi | --localstated \
842 | --localstate | --localstat | --localsta | --localst | --locals)
843 ac_prev=localstatedir ;;
844 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
845 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
846 localstatedir=$ac_optarg ;;
848 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
849 ac_prev=mandir ;;
850 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
851 mandir=$ac_optarg ;;
853 -nfp | --nfp | --nf)
854 # Obsolete; use --without-fp.
855 with_fp=no ;;
857 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
858 | --no-cr | --no-c | -n)
859 no_create=yes ;;
861 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
862 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
863 no_recursion=yes ;;
865 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
866 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
867 | --oldin | --oldi | --old | --ol | --o)
868 ac_prev=oldincludedir ;;
869 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
870 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
871 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
872 oldincludedir=$ac_optarg ;;
874 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
875 ac_prev=prefix ;;
876 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
877 prefix=$ac_optarg ;;
879 -program-prefix | --program-prefix | --program-prefi | --program-pref \
880 | --program-pre | --program-pr | --program-p)
881 ac_prev=program_prefix ;;
882 -program-prefix=* | --program-prefix=* | --program-prefi=* \
883 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
884 program_prefix=$ac_optarg ;;
886 -program-suffix | --program-suffix | --program-suffi | --program-suff \
887 | --program-suf | --program-su | --program-s)
888 ac_prev=program_suffix ;;
889 -program-suffix=* | --program-suffix=* | --program-suffi=* \
890 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
891 program_suffix=$ac_optarg ;;
893 -program-transform-name | --program-transform-name \
894 | --program-transform-nam | --program-transform-na \
895 | --program-transform-n | --program-transform- \
896 | --program-transform | --program-transfor \
897 | --program-transfo | --program-transf \
898 | --program-trans | --program-tran \
899 | --progr-tra | --program-tr | --program-t)
900 ac_prev=program_transform_name ;;
901 -program-transform-name=* | --program-transform-name=* \
902 | --program-transform-nam=* | --program-transform-na=* \
903 | --program-transform-n=* | --program-transform-=* \
904 | --program-transform=* | --program-transfor=* \
905 | --program-transfo=* | --program-transf=* \
906 | --program-trans=* | --program-tran=* \
907 | --progr-tra=* | --program-tr=* | --program-t=*)
908 program_transform_name=$ac_optarg ;;
910 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
911 ac_prev=pdfdir ;;
912 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
913 pdfdir=$ac_optarg ;;
915 -psdir | --psdir | --psdi | --psd | --ps)
916 ac_prev=psdir ;;
917 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
918 psdir=$ac_optarg ;;
920 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
921 | -silent | --silent | --silen | --sile | --sil)
922 silent=yes ;;
924 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
925 ac_prev=sbindir ;;
926 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
927 | --sbi=* | --sb=*)
928 sbindir=$ac_optarg ;;
930 -sharedstatedir | --sharedstatedir | --sharedstatedi \
931 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
932 | --sharedst | --shareds | --shared | --share | --shar \
933 | --sha | --sh)
934 ac_prev=sharedstatedir ;;
935 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
936 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
937 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
938 | --sha=* | --sh=*)
939 sharedstatedir=$ac_optarg ;;
941 -site | --site | --sit)
942 ac_prev=site ;;
943 -site=* | --site=* | --sit=*)
944 site=$ac_optarg ;;
946 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
947 ac_prev=srcdir ;;
948 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
949 srcdir=$ac_optarg ;;
951 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
952 | --syscon | --sysco | --sysc | --sys | --sy)
953 ac_prev=sysconfdir ;;
954 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
955 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
956 sysconfdir=$ac_optarg ;;
958 -target | --target | --targe | --targ | --tar | --ta | --t)
959 ac_prev=target_alias ;;
960 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
961 target_alias=$ac_optarg ;;
963 -v | -verbose | --verbose | --verbos | --verbo | --verb)
964 verbose=yes ;;
966 -version | --version | --versio | --versi | --vers | -V)
967 ac_init_version=: ;;
969 -with-* | --with-*)
970 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
973 { echo "$as_me: error: invalid package name: $ac_package" >&2
974 { (exit 1); exit 1; }; }
975 ac_package=`echo $ac_package| sed 's/-/_/g'`
976 eval with_$ac_package=\$ac_optarg ;;
978 -without-* | --without-*)
979 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
982 { echo "$as_me: error: invalid package name: $ac_package" >&2
983 { (exit 1); exit 1; }; }
984 ac_package=`echo $ac_package | sed 's/-/_/g'`
985 eval with_$ac_package=no ;;
987 --x)
988 # Obsolete; use --with-x.
989 with_x=yes ;;
991 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
992 | --x-incl | --x-inc | --x-in | --x-i)
993 ac_prev=x_includes ;;
994 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
995 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
996 x_includes=$ac_optarg ;;
998 -x-libraries | --x-libraries | --x-librarie | --x-librari \
999 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1000 ac_prev=x_libraries ;;
1001 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1002 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1003 x_libraries=$ac_optarg ;;
1005 -*) { echo "$as_me: error: unrecognized option: $ac_option
1006 Try \`$0 --help' for more information." >&2
1007 { (exit 1); exit 1; }; }
1010 *=*)
1011 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1014 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1015 { (exit 1); exit 1; }; }
1016 eval $ac_envvar=\$ac_optarg
1017 export $ac_envvar ;;
1020 # FIXME: should be removed in autoconf 3.0.
1021 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1022 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1023 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1024 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1027 esac
1028 done
1030 if test -n "$ac_prev"; then
1031 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1032 { echo "$as_me: error: missing argument to $ac_option" >&2
1033 { (exit 1); exit 1; }; }
1036 # Be sure to have absolute directory names.
1037 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1038 datadir sysconfdir sharedstatedir localstatedir includedir \
1039 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1040 libdir localedir mandir
1042 eval ac_val=\$$ac_var
1043 case $ac_val in
1044 [\\/$]* | ?:[\\/]* ) continue;;
1045 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1046 esac
1047 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1048 { (exit 1); exit 1; }; }
1049 done
1051 # There might be people who depend on the old broken behavior: `$host'
1052 # used to hold the argument of --host etc.
1053 # FIXME: To remove some day.
1054 build=$build_alias
1055 host=$host_alias
1056 target=$target_alias
1058 # FIXME: To remove some day.
1059 if test "x$host_alias" != x; then
1060 if test "x$build_alias" = x; then
1061 cross_compiling=maybe
1062 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1063 If a cross compiler is detected then cross compile mode will be used." >&2
1064 elif test "x$build_alias" != "x$host_alias"; then
1065 cross_compiling=yes
1069 ac_tool_prefix=
1070 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1072 test "$silent" = yes && exec 6>/dev/null
1075 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1076 ac_ls_di=`ls -di .` &&
1077 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1078 { echo "$as_me: error: Working directory cannot be determined" >&2
1079 { (exit 1); exit 1; }; }
1080 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1081 { echo "$as_me: error: pwd does not report name of working directory" >&2
1082 { (exit 1); exit 1; }; }
1085 # Find the source files, if location was not specified.
1086 if test -z "$srcdir"; then
1087 ac_srcdir_defaulted=yes
1088 # Try the directory containing this script, then the parent directory.
1089 ac_confdir=`$as_dirname -- "$0" ||
1090 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1091 X"$0" : 'X\(//\)[^/]' \| \
1092 X"$0" : 'X\(//\)$' \| \
1093 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1094 echo X"$0" |
1095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1096 s//\1/
1099 /^X\(\/\/\)[^/].*/{
1100 s//\1/
1103 /^X\(\/\/\)$/{
1104 s//\1/
1107 /^X\(\/\).*/{
1108 s//\1/
1111 s/.*/./; q'`
1112 srcdir=$ac_confdir
1113 if test ! -r "$srcdir/$ac_unique_file"; then
1114 srcdir=..
1116 else
1117 ac_srcdir_defaulted=no
1119 if test ! -r "$srcdir/$ac_unique_file"; then
1120 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1121 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1122 { (exit 1); exit 1; }; }
1124 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1125 ac_abs_confdir=`(
1126 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1127 { (exit 1); exit 1; }; }
1128 pwd)`
1129 # When building in place, set srcdir=.
1130 if test "$ac_abs_confdir" = "$ac_pwd"; then
1131 srcdir=.
1133 # Remove unnecessary trailing slashes from srcdir.
1134 # Double slashes in file names in object file debugging info
1135 # mess up M-x gdb in Emacs.
1136 case $srcdir in
1137 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1138 esac
1139 for ac_var in $ac_precious_vars; do
1140 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1141 eval ac_env_${ac_var}_value=\$${ac_var}
1142 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1143 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1144 done
1147 # Report the --help message.
1149 if test "$ac_init_help" = "long"; then
1150 # Omit some internal or obsolete options to make the list less imposing.
1151 # This message is too long to be a string in the A/UX 3.1 sh.
1152 cat <<_ACEOF
1153 \`configure' configures dragbox 0.2.3 to adapt to many kinds of systems.
1155 Usage: $0 [OPTION]... [VAR=VALUE]...
1157 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1158 VAR=VALUE. See below for descriptions of some of the useful variables.
1160 Defaults for the options are specified in brackets.
1162 Configuration:
1163 -h, --help display this help and exit
1164 --help=short display options specific to this package
1165 --help=recursive display the short help of all the included packages
1166 -V, --version display version information and exit
1167 -q, --quiet, --silent do not print \`checking...' messages
1168 --cache-file=FILE cache test results in FILE [disabled]
1169 -C, --config-cache alias for \`--cache-file=config.cache'
1170 -n, --no-create do not create output files
1171 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1173 Installation directories:
1174 --prefix=PREFIX install architecture-independent files in PREFIX
1175 [$ac_default_prefix]
1176 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1177 [PREFIX]
1179 By default, \`make install' will install all the files in
1180 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1181 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1182 for instance \`--prefix=\$HOME'.
1184 For better control, use the options below.
1186 Fine tuning of the installation directories:
1187 --bindir=DIR user executables [EPREFIX/bin]
1188 --sbindir=DIR system admin executables [EPREFIX/sbin]
1189 --libexecdir=DIR program executables [EPREFIX/libexec]
1190 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1191 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1192 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1193 --libdir=DIR object code libraries [EPREFIX/lib]
1194 --includedir=DIR C header files [PREFIX/include]
1195 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1196 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1197 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1198 --infodir=DIR info documentation [DATAROOTDIR/info]
1199 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1200 --mandir=DIR man documentation [DATAROOTDIR/man]
1201 --docdir=DIR documentation root [DATAROOTDIR/doc/dragbox]
1202 --htmldir=DIR html documentation [DOCDIR]
1203 --dvidir=DIR dvi documentation [DOCDIR]
1204 --pdfdir=DIR pdf documentation [DOCDIR]
1205 --psdir=DIR ps documentation [DOCDIR]
1206 _ACEOF
1208 cat <<\_ACEOF
1210 Program names:
1211 --program-prefix=PREFIX prepend PREFIX to installed program names
1212 --program-suffix=SUFFIX append SUFFIX to installed program names
1213 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1214 _ACEOF
1217 if test -n "$ac_init_help"; then
1218 case $ac_init_help in
1219 short | recursive ) echo "Configuration of dragbox 0.2.3:";;
1220 esac
1221 cat <<\_ACEOF
1223 Optional Features:
1224 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1225 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1226 --enable-maintainer-mode enable make rules and dependencies not useful
1227 (and sometimes confusing) to the casual installer
1228 --disable-dbus disable dbus [default=no]
1230 Some influential environment variables:
1231 PKG_CONFIG path to pkg-config utility
1232 PYGTK_CFLAGS
1233 C compiler flags for PYGTK, overriding pkg-config
1234 PYGTK_LIBS linker flags for PYGTK, overriding pkg-config
1236 Use these variables to override the choices made by `configure' or to help
1237 it to find libraries and programs with nonstandard names/locations.
1239 _ACEOF
1240 ac_status=$?
1243 if test "$ac_init_help" = "recursive"; then
1244 # If there are subdirs, report their specific --help.
1245 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1246 test -d "$ac_dir" || continue
1247 ac_builddir=.
1249 case "$ac_dir" in
1250 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1252 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1253 # A ".." for each directory in $ac_dir_suffix.
1254 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1255 case $ac_top_builddir_sub in
1256 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1257 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1258 esac ;;
1259 esac
1260 ac_abs_top_builddir=$ac_pwd
1261 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1262 # for backward compatibility:
1263 ac_top_builddir=$ac_top_build_prefix
1265 case $srcdir in
1266 .) # We are building in place.
1267 ac_srcdir=.
1268 ac_top_srcdir=$ac_top_builddir_sub
1269 ac_abs_top_srcdir=$ac_pwd ;;
1270 [\\/]* | ?:[\\/]* ) # Absolute name.
1271 ac_srcdir=$srcdir$ac_dir_suffix;
1272 ac_top_srcdir=$srcdir
1273 ac_abs_top_srcdir=$srcdir ;;
1274 *) # Relative name.
1275 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_build_prefix$srcdir
1277 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1278 esac
1279 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1281 cd "$ac_dir" || { ac_status=$?; continue; }
1282 # Check for guested configure.
1283 if test -f "$ac_srcdir/configure.gnu"; then
1284 echo &&
1285 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1286 elif test -f "$ac_srcdir/configure"; then
1287 echo &&
1288 $SHELL "$ac_srcdir/configure" --help=recursive
1289 else
1290 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1291 fi || ac_status=$?
1292 cd "$ac_pwd" || { ac_status=$?; break; }
1293 done
1296 test -n "$ac_init_help" && exit $ac_status
1297 if $ac_init_version; then
1298 cat <<\_ACEOF
1299 dragbox configure 0.2.3
1300 generated by GNU Autoconf 2.60
1302 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1303 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1304 This configure script is free software; the Free Software Foundation
1305 gives unlimited permission to copy, distribute and modify it.
1306 _ACEOF
1307 exit
1309 cat >config.log <<_ACEOF
1310 This file contains any messages produced by compilers while
1311 running configure, to aid debugging if configure makes a mistake.
1313 It was created by dragbox $as_me 0.2.3, which was
1314 generated by GNU Autoconf 2.60. Invocation command line was
1316 $ $0 $@
1318 _ACEOF
1319 exec 5>>config.log
1321 cat <<_ASUNAME
1322 ## --------- ##
1323 ## Platform. ##
1324 ## --------- ##
1326 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1327 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1328 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1329 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1330 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1332 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1333 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1335 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1336 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1337 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1338 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1339 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1340 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1341 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1343 _ASUNAME
1345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1346 for as_dir in $PATH
1348 IFS=$as_save_IFS
1349 test -z "$as_dir" && as_dir=.
1350 echo "PATH: $as_dir"
1351 done
1352 IFS=$as_save_IFS
1354 } >&5
1356 cat >&5 <<_ACEOF
1359 ## ----------- ##
1360 ## Core tests. ##
1361 ## ----------- ##
1363 _ACEOF
1366 # Keep a trace of the command line.
1367 # Strip out --no-create and --no-recursion so they do not pile up.
1368 # Strip out --silent because we don't want to record it for future runs.
1369 # Also quote any args containing shell meta-characters.
1370 # Make two passes to allow for proper duplicate-argument suppression.
1371 ac_configure_args=
1372 ac_configure_args0=
1373 ac_configure_args1=
1374 ac_must_keep_next=false
1375 for ac_pass in 1 2
1377 for ac_arg
1379 case $ac_arg in
1380 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1381 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1382 | -silent | --silent | --silen | --sile | --sil)
1383 continue ;;
1384 *\'*)
1385 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1386 esac
1387 case $ac_pass in
1388 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1390 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1391 if test $ac_must_keep_next = true; then
1392 ac_must_keep_next=false # Got value, back to normal.
1393 else
1394 case $ac_arg in
1395 *=* | --config-cache | -C | -disable-* | --disable-* \
1396 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1397 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1398 | -with-* | --with-* | -without-* | --without-* | --x)
1399 case "$ac_configure_args0 " in
1400 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1401 esac
1403 -* ) ac_must_keep_next=true ;;
1404 esac
1406 ac_configure_args="$ac_configure_args '$ac_arg'"
1408 esac
1409 done
1410 done
1411 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1412 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1414 # When interrupted or exit'd, cleanup temporary files, and complete
1415 # config.log. We remove comments because anyway the quotes in there
1416 # would cause problems or look ugly.
1417 # WARNING: Use '\'' to represent an apostrophe within the trap.
1418 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1419 trap 'exit_status=$?
1420 # Save into config.log some information that might help in debugging.
1422 echo
1424 cat <<\_ASBOX
1425 ## ---------------- ##
1426 ## Cache variables. ##
1427 ## ---------------- ##
1428 _ASBOX
1429 echo
1430 # The following way of writing the cache mishandles newlines in values,
1432 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1433 eval ac_val=\$$ac_var
1434 case $ac_val in #(
1435 *${as_nl}*)
1436 case $ac_var in #(
1437 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1438 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1439 esac
1440 case $ac_var in #(
1441 _ | IFS | as_nl) ;; #(
1442 *) $as_unset $ac_var ;;
1443 esac ;;
1444 esac
1445 done
1446 (set) 2>&1 |
1447 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1448 *${as_nl}ac_space=\ *)
1449 sed -n \
1450 "s/'\''/'\''\\\\'\'''\''/g;
1451 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1452 ;; #(
1454 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1456 esac |
1457 sort
1459 echo
1461 cat <<\_ASBOX
1462 ## ----------------- ##
1463 ## Output variables. ##
1464 ## ----------------- ##
1465 _ASBOX
1466 echo
1467 for ac_var in $ac_subst_vars
1469 eval ac_val=\$$ac_var
1470 case $ac_val in
1471 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1472 esac
1473 echo "$ac_var='\''$ac_val'\''"
1474 done | sort
1475 echo
1477 if test -n "$ac_subst_files"; then
1478 cat <<\_ASBOX
1479 ## ------------------- ##
1480 ## File substitutions. ##
1481 ## ------------------- ##
1482 _ASBOX
1483 echo
1484 for ac_var in $ac_subst_files
1486 eval ac_val=\$$ac_var
1487 case $ac_val in
1488 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1489 esac
1490 echo "$ac_var='\''$ac_val'\''"
1491 done | sort
1492 echo
1495 if test -s confdefs.h; then
1496 cat <<\_ASBOX
1497 ## ----------- ##
1498 ## confdefs.h. ##
1499 ## ----------- ##
1500 _ASBOX
1501 echo
1502 cat confdefs.h
1503 echo
1505 test "$ac_signal" != 0 &&
1506 echo "$as_me: caught signal $ac_signal"
1507 echo "$as_me: exit $exit_status"
1508 } >&5
1509 rm -f core *.core core.conftest.* &&
1510 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1511 exit $exit_status
1513 for ac_signal in 1 2 13 15; do
1514 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1515 done
1516 ac_signal=0
1518 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1519 rm -f -r conftest* confdefs.h
1521 # Predefined preprocessor variables.
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_NAME "$PACKAGE_NAME"
1525 _ACEOF
1528 cat >>confdefs.h <<_ACEOF
1529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1530 _ACEOF
1533 cat >>confdefs.h <<_ACEOF
1534 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1535 _ACEOF
1538 cat >>confdefs.h <<_ACEOF
1539 #define PACKAGE_STRING "$PACKAGE_STRING"
1540 _ACEOF
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1545 _ACEOF
1548 # Let the site file select an alternate cache file if it wants to.
1549 # Prefer explicitly selected file to automatically selected ones.
1550 if test -n "$CONFIG_SITE"; then
1551 set x "$CONFIG_SITE"
1552 elif test "x$prefix" != xNONE; then
1553 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1554 else
1555 set x "$ac_default_prefix/share/config.site" \
1556 "$ac_default_prefix/etc/config.site"
1558 shift
1559 for ac_site_file
1561 if test -r "$ac_site_file"; then
1562 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1563 echo "$as_me: loading site script $ac_site_file" >&6;}
1564 sed 's/^/| /' "$ac_site_file" >&5
1565 . "$ac_site_file"
1567 done
1569 if test -r "$cache_file"; then
1570 # Some versions of bash will fail to source /dev/null (special
1571 # files actually), so we avoid doing that.
1572 if test -f "$cache_file"; then
1573 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1574 echo "$as_me: loading cache $cache_file" >&6;}
1575 case $cache_file in
1576 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1577 *) . "./$cache_file";;
1578 esac
1580 else
1581 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1582 echo "$as_me: creating cache $cache_file" >&6;}
1583 >$cache_file
1586 # Check that the precious variables saved in the cache have kept the same
1587 # value.
1588 ac_cache_corrupted=false
1589 for ac_var in $ac_precious_vars; do
1590 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1591 eval ac_new_set=\$ac_env_${ac_var}_set
1592 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1593 eval ac_new_val=\$ac_env_${ac_var}_value
1594 case $ac_old_set,$ac_new_set in
1595 set,)
1596 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1597 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1598 ac_cache_corrupted=: ;;
1599 ,set)
1600 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1601 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1602 ac_cache_corrupted=: ;;
1603 ,);;
1605 if test "x$ac_old_val" != "x$ac_new_val"; then
1606 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1607 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1608 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1609 echo "$as_me: former value: $ac_old_val" >&2;}
1610 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1611 echo "$as_me: current value: $ac_new_val" >&2;}
1612 ac_cache_corrupted=:
1613 fi;;
1614 esac
1615 # Pass precious variables to config.status.
1616 if test "$ac_new_set" = set; then
1617 case $ac_new_val in
1618 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1619 *) ac_arg=$ac_var=$ac_new_val ;;
1620 esac
1621 case " $ac_configure_args " in
1622 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1623 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1624 esac
1626 done
1627 if $ac_cache_corrupted; then
1628 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1629 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1630 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1631 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1632 { (exit 1); exit 1; }; }
1659 ac_ext=c
1660 ac_cpp='$CPP $CPPFLAGS'
1661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1667 am__api_version="1.9"
1668 ac_aux_dir=
1669 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1670 if test -f "$ac_dir/install-sh"; then
1671 ac_aux_dir=$ac_dir
1672 ac_install_sh="$ac_aux_dir/install-sh -c"
1673 break
1674 elif test -f "$ac_dir/install.sh"; then
1675 ac_aux_dir=$ac_dir
1676 ac_install_sh="$ac_aux_dir/install.sh -c"
1677 break
1678 elif test -f "$ac_dir/shtool"; then
1679 ac_aux_dir=$ac_dir
1680 ac_install_sh="$ac_aux_dir/shtool install -c"
1681 break
1683 done
1684 if test -z "$ac_aux_dir"; then
1685 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1686 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1687 { (exit 1); exit 1; }; }
1690 # These three variables are undocumented and unsupported,
1691 # and are intended to be withdrawn in a future Autoconf release.
1692 # They can cause serious problems if a builder's source tree is in a directory
1693 # whose full name contains unusual characters.
1694 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1695 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1696 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1699 # Find a good install program. We prefer a C program (faster),
1700 # so one script is as good as another. But avoid the broken or
1701 # incompatible versions:
1702 # SysV /etc/install, /usr/sbin/install
1703 # SunOS /usr/etc/install
1704 # IRIX /sbin/install
1705 # AIX /bin/install
1706 # AmigaOS /C/install, which installs bootblocks on floppy discs
1707 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1708 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1709 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1710 # OS/2's system install, which has a completely different semantic
1711 # ./install, which can be erroneously created by make from ./install.sh.
1712 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1713 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1714 if test -z "$INSTALL"; then
1715 if test "${ac_cv_path_install+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 else
1718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719 for as_dir in $PATH
1721 IFS=$as_save_IFS
1722 test -z "$as_dir" && as_dir=.
1723 # Account for people who put trailing slashes in PATH elements.
1724 case $as_dir/ in
1725 ./ | .// | /cC/* | \
1726 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1727 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1728 /usr/ucb/* ) ;;
1730 # OSF1 and SCO ODT 3.0 have their own names for install.
1731 # Don't use installbsd from OSF since it installs stuff as root
1732 # by default.
1733 for ac_prog in ginstall scoinst install; do
1734 for ac_exec_ext in '' $ac_executable_extensions; do
1735 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1736 if test $ac_prog = install &&
1737 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1738 # AIX install. It has an incompatible calling convention.
1740 elif test $ac_prog = install &&
1741 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1742 # program-specific install script used by HP pwplus--don't use.
1744 else
1745 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1746 break 3
1749 done
1750 done
1752 esac
1753 done
1754 IFS=$as_save_IFS
1758 if test "${ac_cv_path_install+set}" = set; then
1759 INSTALL=$ac_cv_path_install
1760 else
1761 # As a last resort, use the slow shell script. Don't cache a
1762 # value for INSTALL within a source directory, because that will
1763 # break other packages using the cache if that directory is
1764 # removed, or if the value is a relative name.
1765 INSTALL=$ac_install_sh
1768 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1769 echo "${ECHO_T}$INSTALL" >&6; }
1771 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1772 # It thinks the first close brace ends the variable substitution.
1773 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1775 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1777 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1779 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1780 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1781 # Just in case
1782 sleep 1
1783 echo timestamp > conftest.file
1784 # Do `set' in a subshell so we don't clobber the current shell's
1785 # arguments. Must try -L first in case configure is actually a
1786 # symlink; some systems play weird games with the mod time of symlinks
1787 # (eg FreeBSD returns the mod time of the symlink's containing
1788 # directory).
1789 if (
1790 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1791 if test "$*" = "X"; then
1792 # -L didn't work.
1793 set X `ls -t $srcdir/configure conftest.file`
1795 rm -f conftest.file
1796 if test "$*" != "X $srcdir/configure conftest.file" \
1797 && test "$*" != "X conftest.file $srcdir/configure"; then
1799 # If neither matched, then we have a broken ls. This can happen
1800 # if, for instance, CONFIG_SHELL is bash and it inherits a
1801 # broken ls alias from the environment. This has actually
1802 # happened. Such a system could not be considered "sane".
1803 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1804 alias in your environment" >&5
1805 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1806 alias in your environment" >&2;}
1807 { (exit 1); exit 1; }; }
1810 test "$2" = conftest.file
1812 then
1813 # Ok.
1815 else
1816 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1817 Check your system clock" >&5
1818 echo "$as_me: error: newly created file is older than distributed files!
1819 Check your system clock" >&2;}
1820 { (exit 1); exit 1; }; }
1822 { echo "$as_me:$LINENO: result: yes" >&5
1823 echo "${ECHO_T}yes" >&6; }
1824 test "$program_prefix" != NONE &&
1825 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1826 # Use a double $ so make ignores it.
1827 test "$program_suffix" != NONE &&
1828 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1829 # Double any \ or $. echo might interpret backslashes.
1830 # By default was `s,x,x', remove it if useless.
1831 cat <<\_ACEOF >conftest.sed
1832 s/[\\$]/&&/g;s/;s,x,x,$//
1833 _ACEOF
1834 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1835 rm -f conftest.sed
1837 # expand $ac_aux_dir to an absolute path
1838 am_aux_dir=`cd $ac_aux_dir && pwd`
1840 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1841 # Use eval to expand $SHELL
1842 if eval "$MISSING --run true"; then
1843 am_missing_run="$MISSING --run "
1844 else
1845 am_missing_run=
1846 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1847 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1850 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1851 # We used to keeping the `.' as first argument, in order to
1852 # allow $(mkdir_p) to be used without argument. As in
1853 # $(mkdir_p) $(somedir)
1854 # where $(somedir) is conditionally defined. However this is wrong
1855 # for two reasons:
1856 # 1. if the package is installed by a user who cannot write `.'
1857 # make install will fail,
1858 # 2. the above comment should most certainly read
1859 # $(mkdir_p) $(DESTDIR)$(somedir)
1860 # so it does not work when $(somedir) is undefined and
1861 # $(DESTDIR) is not.
1862 # To support the latter case, we have to write
1863 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1864 # so the `.' trick is pointless.
1865 mkdir_p='mkdir -p --'
1866 else
1867 # On NextStep and OpenStep, the `mkdir' command does not
1868 # recognize any option. It will interpret all options as
1869 # directories to create, and then abort because `.' already
1870 # exists.
1871 for d in ./-p ./--version;
1873 test -d $d && rmdir $d
1874 done
1875 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1876 if test -f "$ac_aux_dir/mkinstalldirs"; then
1877 mkdir_p='$(mkinstalldirs)'
1878 else
1879 mkdir_p='$(install_sh) -d'
1883 for ac_prog in gawk mawk nawk awk
1885 # Extract the first word of "$ac_prog", so it can be a program name with args.
1886 set dummy $ac_prog; ac_word=$2
1887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1889 if test "${ac_cv_prog_AWK+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 else
1892 if test -n "$AWK"; then
1893 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1894 else
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 for as_dir in $PATH
1898 IFS=$as_save_IFS
1899 test -z "$as_dir" && as_dir=.
1900 for ac_exec_ext in '' $ac_executable_extensions; do
1901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1902 ac_cv_prog_AWK="$ac_prog"
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 break 2
1906 done
1907 done
1908 IFS=$as_save_IFS
1912 AWK=$ac_cv_prog_AWK
1913 if test -n "$AWK"; then
1914 { echo "$as_me:$LINENO: result: $AWK" >&5
1915 echo "${ECHO_T}$AWK" >&6; }
1916 else
1917 { echo "$as_me:$LINENO: result: no" >&5
1918 echo "${ECHO_T}no" >&6; }
1922 test -n "$AWK" && break
1923 done
1925 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1926 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1927 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1928 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 else
1931 cat >conftest.make <<\_ACEOF
1932 SHELL = /bin/sh
1933 all:
1934 @echo '@@@%%%=$(MAKE)=@@@%%%'
1935 _ACEOF
1936 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1937 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1938 *@@@%%%=?*=@@@%%%*)
1939 eval ac_cv_prog_make_${ac_make}_set=yes;;
1941 eval ac_cv_prog_make_${ac_make}_set=no;;
1942 esac
1943 rm -f conftest.make
1945 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1946 { echo "$as_me:$LINENO: result: yes" >&5
1947 echo "${ECHO_T}yes" >&6; }
1948 SET_MAKE=
1949 else
1950 { echo "$as_me:$LINENO: result: no" >&5
1951 echo "${ECHO_T}no" >&6; }
1952 SET_MAKE="MAKE=${MAKE-make}"
1955 rm -rf .tst 2>/dev/null
1956 mkdir .tst 2>/dev/null
1957 if test -d .tst; then
1958 am__leading_dot=.
1959 else
1960 am__leading_dot=_
1962 rmdir .tst 2>/dev/null
1964 # test to see if srcdir already configured
1965 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1966 test -f $srcdir/config.status; then
1967 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1968 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1969 { (exit 1); exit 1; }; }
1972 # test whether we have cygpath
1973 if test -z "$CYGPATH_W"; then
1974 if (cygpath --version) >/dev/null 2>/dev/null; then
1975 CYGPATH_W='cygpath -w'
1976 else
1977 CYGPATH_W=echo
1982 # Define the identity of the package.
1983 PACKAGE='dragbox'
1984 VERSION='0.2.3'
1987 cat >>confdefs.h <<_ACEOF
1988 #define PACKAGE "$PACKAGE"
1989 _ACEOF
1992 cat >>confdefs.h <<_ACEOF
1993 #define VERSION "$VERSION"
1994 _ACEOF
1996 # Some tools Automake needs.
1998 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2001 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2004 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2007 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2010 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2012 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2014 # Installed binaries are usually stripped using `strip' when the user
2015 # run `make install-strip'. However `strip' might not be the right
2016 # tool to use in cross-compilation environments, therefore Automake
2017 # will honor the `STRIP' environment variable to overrule this program.
2018 if test "$cross_compiling" != no; then
2019 if test -n "$ac_tool_prefix"; then
2020 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2021 set dummy ${ac_tool_prefix}strip; ac_word=$2
2022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2024 if test "${ac_cv_prog_STRIP+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 else
2027 if test -n "$STRIP"; then
2028 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2029 else
2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031 for as_dir in $PATH
2033 IFS=$as_save_IFS
2034 test -z "$as_dir" && as_dir=.
2035 for ac_exec_ext in '' $ac_executable_extensions; do
2036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2037 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 break 2
2041 done
2042 done
2043 IFS=$as_save_IFS
2047 STRIP=$ac_cv_prog_STRIP
2048 if test -n "$STRIP"; then
2049 { echo "$as_me:$LINENO: result: $STRIP" >&5
2050 echo "${ECHO_T}$STRIP" >&6; }
2051 else
2052 { echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6; }
2058 if test -z "$ac_cv_prog_STRIP"; then
2059 ac_ct_STRIP=$STRIP
2060 # Extract the first word of "strip", so it can be a program name with args.
2061 set dummy strip; ac_word=$2
2062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2064 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 else
2067 if test -n "$ac_ct_STRIP"; then
2068 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2069 else
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 for as_dir in $PATH
2073 IFS=$as_save_IFS
2074 test -z "$as_dir" && as_dir=.
2075 for ac_exec_ext in '' $ac_executable_extensions; do
2076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2077 ac_cv_prog_ac_ct_STRIP="strip"
2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 break 2
2081 done
2082 done
2083 IFS=$as_save_IFS
2087 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2088 if test -n "$ac_ct_STRIP"; then
2089 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2090 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2091 else
2092 { echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6; }
2096 if test "x$ac_ct_STRIP" = x; then
2097 STRIP=":"
2098 else
2099 case $cross_compiling:$ac_tool_warned in
2100 yes:)
2101 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2102 whose name does not start with the host triplet. If you think this
2103 configuration is useful to you, please write to autoconf@gnu.org." >&5
2104 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2105 whose name does not start with the host triplet. If you think this
2106 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2107 ac_tool_warned=yes ;;
2108 esac
2109 STRIP=$ac_ct_STRIP
2111 else
2112 STRIP="$ac_cv_prog_STRIP"
2116 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2118 # We need awk for the "check" target. The system "awk" is bad on
2119 # some platforms.
2120 # Always define AMTAR for backward compatibility.
2122 AMTAR=${AMTAR-"${am_missing_run}tar"}
2124 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2131 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2132 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2133 # Check whether --enable-maintainer-mode was given.
2134 if test "${enable_maintainer_mode+set}" = set; then
2135 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2136 else
2137 USE_MAINTAINER_MODE=no
2140 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2141 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2144 if test $USE_MAINTAINER_MODE = yes; then
2145 MAINTAINER_MODE_TRUE=
2146 MAINTAINER_MODE_FALSE='#'
2147 else
2148 MAINTAINER_MODE_TRUE='#'
2149 MAINTAINER_MODE_FALSE=
2152 MAINT=$MAINTAINER_MODE_TRUE
2157 # Check whether --enable-dbus was given.
2158 if test "${enable_dbus+set}" = set; then
2159 enableval=$enable_dbus; dbus_enabled=$enableval
2160 else
2161 dbus_enabled=yes
2171 if test -n "$PYTHON"; then
2172 # If the user set $PYTHON, use it and don't search something else.
2173 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&5
2174 echo $ECHO_N "checking whether $PYTHON version >= 2.4... $ECHO_C" >&6; }
2175 prog="import sys, string
2176 # split strings by '.' and convert to numeric. Append some zeros
2177 # because we need at least 4 digits for the hex conversion.
2178 minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
2179 minverhex = 0
2180 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
2181 sys.exit(sys.hexversion < minverhex)"
2182 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
2183 ($PYTHON -c "$prog") >&5 2>&5
2184 ac_status=$?
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; then
2187 { echo "$as_me:$LINENO: result: yes" >&5
2188 echo "${ECHO_T}yes" >&6; }
2189 else
2190 { { echo "$as_me:$LINENO: error: too old" >&5
2191 echo "$as_me: error: too old" >&2;}
2192 { (exit 1); exit 1; }; }
2195 am_display_PYTHON=$PYTHON
2196 else
2197 # Otherwise, try each interpreter until we find one that satisfies
2198 # VERSION.
2199 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.4" >&5
2200 echo $ECHO_N "checking for a Python interpreter with version >= 2.4... $ECHO_C" >&6; }
2201 if test "${am_cv_pathless_PYTHON+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2203 else
2205 for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
2206 test "$am_cv_pathless_PYTHON" = none && break
2207 prog="import sys, string
2208 # split strings by '.' and convert to numeric. Append some zeros
2209 # because we need at least 4 digits for the hex conversion.
2210 minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
2211 minverhex = 0
2212 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
2213 sys.exit(sys.hexversion < minverhex)"
2214 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
2215 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
2216 ac_status=$?
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; then
2219 break
2222 done
2224 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
2225 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
2226 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
2227 if test "$am_cv_pathless_PYTHON" = none; then
2228 PYTHON=:
2229 else
2230 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
2231 set dummy $am_cv_pathless_PYTHON; ac_word=$2
2232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2234 if test "${ac_cv_path_PYTHON+set}" = set; then
2235 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 else
2237 case $PYTHON in
2238 [\\/]* | ?:[\\/]*)
2239 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 for as_dir in $PATH
2245 IFS=$as_save_IFS
2246 test -z "$as_dir" && as_dir=.
2247 for ac_exec_ext in '' $ac_executable_extensions; do
2248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2249 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
2250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 break 2
2253 done
2254 done
2255 IFS=$as_save_IFS
2258 esac
2260 PYTHON=$ac_cv_path_PYTHON
2261 if test -n "$PYTHON"; then
2262 { echo "$as_me:$LINENO: result: $PYTHON" >&5
2263 echo "${ECHO_T}$PYTHON" >&6; }
2264 else
2265 { echo "$as_me:$LINENO: result: no" >&5
2266 echo "${ECHO_T}no" >&6; }
2271 am_display_PYTHON=$am_cv_pathless_PYTHON
2275 if test "$PYTHON" = :; then
2276 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
2277 echo "$as_me: error: no suitable Python interpreter found" >&2;}
2278 { (exit 1); exit 1; }; }
2279 else
2282 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
2283 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
2284 if test "${am_cv_python_version+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 else
2287 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
2289 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
2290 echo "${ECHO_T}$am_cv_python_version" >&6; }
2291 PYTHON_VERSION=$am_cv_python_version
2295 PYTHON_PREFIX='${prefix}'
2297 PYTHON_EXEC_PREFIX='${exec_prefix}'
2301 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
2302 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
2303 if test "${am_cv_python_platform+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 else
2306 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
2308 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
2309 echo "${ECHO_T}$am_cv_python_platform" >&6; }
2310 PYTHON_PLATFORM=$am_cv_python_platform
2315 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
2316 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
2317 if test "${am_cv_python_pythondir+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2319 else
2320 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
2321 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
2323 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
2324 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
2325 pythondir=$am_cv_python_pythondir
2329 pkgpythondir=\${pythondir}/$PACKAGE
2332 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
2333 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
2334 if test "${am_cv_python_pyexecdir+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 else
2337 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
2338 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
2340 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
2341 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
2342 pyexecdir=$am_cv_python_pyexecdir
2346 pkgpyexecdir=\${pyexecdir}/$PACKAGE
2356 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2357 if test -n "$ac_tool_prefix"; then
2358 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2359 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2362 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 else
2365 case $PKG_CONFIG in
2366 [\\/]* | ?:[\\/]*)
2367 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2373 IFS=$as_save_IFS
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2377 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 break 2
2381 done
2382 done
2383 IFS=$as_save_IFS
2386 esac
2388 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2389 if test -n "$PKG_CONFIG"; then
2390 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2391 echo "${ECHO_T}$PKG_CONFIG" >&6; }
2392 else
2393 { echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6; }
2399 if test -z "$ac_cv_path_PKG_CONFIG"; then
2400 ac_pt_PKG_CONFIG=$PKG_CONFIG
2401 # Extract the first word of "pkg-config", so it can be a program name with args.
2402 set dummy pkg-config; ac_word=$2
2403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2405 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2406 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 else
2408 case $ac_pt_PKG_CONFIG in
2409 [\\/]* | ?:[\\/]*)
2410 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH
2416 IFS=$as_save_IFS
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 break 2
2424 done
2425 done
2426 IFS=$as_save_IFS
2429 esac
2431 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2432 if test -n "$ac_pt_PKG_CONFIG"; then
2433 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2434 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2435 else
2436 { echo "$as_me:$LINENO: result: no" >&5
2437 echo "${ECHO_T}no" >&6; }
2440 if test "x$ac_pt_PKG_CONFIG" = x; then
2441 PKG_CONFIG=""
2442 else
2443 case $cross_compiling:$ac_tool_warned in
2444 yes:)
2445 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2446 whose name does not start with the host triplet. If you think this
2447 configuration is useful to you, please write to autoconf@gnu.org." >&5
2448 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2449 whose name does not start with the host triplet. If you think this
2450 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2451 ac_tool_warned=yes ;;
2452 esac
2453 PKG_CONFIG=$ac_pt_PKG_CONFIG
2455 else
2456 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2460 if test -n "$PKG_CONFIG"; then
2461 _pkg_min_version=0.9.0
2462 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2463 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2464 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2465 { echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6; }
2467 else
2468 { echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6; }
2470 PKG_CONFIG=""
2475 pkg_failed=no
2476 { echo "$as_me:$LINENO: checking for PYGTK" >&5
2477 echo $ECHO_N "checking for PYGTK... $ECHO_C" >&6; }
2479 if test -n "$PKG_CONFIG"; then
2480 if test -n "$PYGTK_CFLAGS"; then
2481 pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
2482 else
2483 if test -n "$PKG_CONFIG" && \
2484 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.6\"") >&5
2485 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.6") 2>&5
2486 ac_status=$?
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; then
2489 pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.6" 2>/dev/null`
2490 else
2491 pkg_failed=yes
2494 else
2495 pkg_failed=untried
2497 if test -n "$PKG_CONFIG"; then
2498 if test -n "$PYGTK_LIBS"; then
2499 pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
2500 else
2501 if test -n "$PKG_CONFIG" && \
2502 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.6\"") >&5
2503 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.6") 2>&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; then
2507 pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.6" 2>/dev/null`
2508 else
2509 pkg_failed=yes
2512 else
2513 pkg_failed=untried
2518 if test $pkg_failed = yes; then
2520 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2521 _pkg_short_errors_supported=yes
2522 else
2523 _pkg_short_errors_supported=no
2525 if test $_pkg_short_errors_supported = yes; then
2526 PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= 2.6"`
2527 else
2528 PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= 2.6"`
2530 # Put the nasty error message in config.log where it belongs
2531 echo "$PYGTK_PKG_ERRORS" >&5
2533 { { echo "$as_me:$LINENO: error: Package requirements (pygtk-2.0 >= 2.6) were not met:
2535 $PYGTK_PKG_ERRORS
2537 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2538 installed software in a non-standard prefix.
2540 Alternatively, you may set the environment variables PYGTK_CFLAGS
2541 and PYGTK_LIBS to avoid the need to call pkg-config.
2542 See the pkg-config man page for more details.
2543 " >&5
2544 echo "$as_me: error: Package requirements (pygtk-2.0 >= 2.6) were not met:
2546 $PYGTK_PKG_ERRORS
2548 Consider adjusting the PKG_CONFIG_PATH environment variable if you
2549 installed software in a non-standard prefix.
2551 Alternatively, you may set the environment variables PYGTK_CFLAGS
2552 and PYGTK_LIBS to avoid the need to call pkg-config.
2553 See the pkg-config man page for more details.
2554 " >&2;}
2555 { (exit 1); exit 1; }; }
2556 elif test $pkg_failed = untried; then
2557 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
2558 is in your PATH or set the PKG_CONFIG environment variable to the full
2559 path to pkg-config.
2561 Alternatively, you may set the environment variables PYGTK_CFLAGS
2562 and PYGTK_LIBS to avoid the need to call pkg-config.
2563 See the pkg-config man page for more details.
2565 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
2566 See \`config.log' for more details." >&5
2567 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
2568 is in your PATH or set the PKG_CONFIG environment variable to the full
2569 path to pkg-config.
2571 Alternatively, you may set the environment variables PYGTK_CFLAGS
2572 and PYGTK_LIBS to avoid the need to call pkg-config.
2573 See the pkg-config man page for more details.
2575 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
2576 See \`config.log' for more details." >&2;}
2577 { (exit 1); exit 1; }; }
2578 else
2579 PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
2580 PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
2581 { echo "$as_me:$LINENO: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6; }
2589 { echo "$as_me:$LINENO: checking for python module: pygtk" >&5
2590 echo $ECHO_N "checking for python module: pygtk... $ECHO_C" >&6; }
2591 python -c "import pygtk" 2>/dev/null
2592 if test $? -eq 0;
2593 then
2594 { echo "$as_me:$LINENO: result: yes" >&5
2595 echo "${ECHO_T}yes" >&6; }
2596 eval HAVE_PYMOD_PYGTK=yes
2597 else
2598 { echo "$as_me:$LINENO: result: no" >&5
2599 echo "${ECHO_T}no" >&6; }
2600 eval HAVE_PYMOD_PYGTK=no
2602 if test -n "exit"
2603 then
2604 { { echo "$as_me:$LINENO: error: failed to find required module pygtk" >&5
2605 echo "$as_me: error: failed to find required module pygtk" >&2;}
2606 { (exit 1); exit 1; }; }
2607 exit 1
2612 { echo "$as_me:$LINENO: checking for python module: gtk" >&5
2613 echo $ECHO_N "checking for python module: gtk... $ECHO_C" >&6; }
2614 python -c "import gtk" 2>/dev/null
2615 if test $? -eq 0;
2616 then
2617 { echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6; }
2619 eval HAVE_PYMOD_GTK=yes
2620 else
2621 { echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6; }
2623 eval HAVE_PYMOD_GTK=no
2625 if test -n "exit"
2626 then
2627 { { echo "$as_me:$LINENO: error: failed to find required module gtk" >&5
2628 echo "$as_me: error: failed to find required module gtk" >&2;}
2629 { (exit 1); exit 1; }; }
2630 exit 1
2635 { echo "$as_me:$LINENO: checking for python module: gtk.glade" >&5
2636 echo $ECHO_N "checking for python module: gtk.glade... $ECHO_C" >&6; }
2637 python -c "import gtk.glade" 2>/dev/null
2638 if test $? -eq 0;
2639 then
2640 { echo "$as_me:$LINENO: result: yes" >&5
2641 echo "${ECHO_T}yes" >&6; }
2642 eval HAVE_PYMOD_GTK_GLADE=yes
2643 else
2644 { echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6; }
2646 eval HAVE_PYMOD_GTK_GLADE=no
2648 if test -n "exit"
2649 then
2650 { { echo "$as_me:$LINENO: error: failed to find required module gtk.glade" >&5
2651 echo "$as_me: error: failed to find required module gtk.glade" >&2;}
2652 { (exit 1); exit 1; }; }
2653 exit 1
2658 { echo "$as_me:$LINENO: checking for python module: gnomevfs" >&5
2659 echo $ECHO_N "checking for python module: gnomevfs... $ECHO_C" >&6; }
2660 python -c "import gnomevfs" 2>/dev/null
2661 if test $? -eq 0;
2662 then
2663 { echo "$as_me:$LINENO: result: yes" >&5
2664 echo "${ECHO_T}yes" >&6; }
2665 eval HAVE_PYMOD_GNOMEVFS=yes
2666 else
2667 { echo "$as_me:$LINENO: result: no" >&5
2668 echo "${ECHO_T}no" >&6; }
2669 eval HAVE_PYMOD_GNOMEVFS=no
2671 if test -n "exit"
2672 then
2673 { { echo "$as_me:$LINENO: error: failed to find required module gnomevfs" >&5
2674 echo "$as_me: error: failed to find required module gnomevfs" >&2;}
2675 { (exit 1); exit 1; }; }
2676 exit 1
2681 { echo "$as_me:$LINENO: checking for python module: gnome.ui" >&5
2682 echo $ECHO_N "checking for python module: gnome.ui... $ECHO_C" >&6; }
2683 python -c "import gnome.ui" 2>/dev/null
2684 if test $? -eq 0;
2685 then
2686 { echo "$as_me:$LINENO: result: yes" >&5
2687 echo "${ECHO_T}yes" >&6; }
2688 eval HAVE_PYMOD_GNOME_UI=yes
2689 else
2690 { echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6; }
2692 eval HAVE_PYMOD_GNOME_UI=no
2694 if test -n "exit"
2695 then
2696 { { echo "$as_me:$LINENO: error: failed to find required module gnome.ui" >&5
2697 echo "$as_me: error: failed to find required module gnome.ui" >&2;}
2698 { (exit 1); exit 1; }; }
2699 exit 1
2704 { echo "$as_me:$LINENO: checking for python module: gconf" >&5
2705 echo $ECHO_N "checking for python module: gconf... $ECHO_C" >&6; }
2706 python -c "import gconf" 2>/dev/null
2707 if test $? -eq 0;
2708 then
2709 { echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6; }
2711 eval HAVE_PYMOD_GCONF=yes
2712 else
2713 { echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6; }
2715 eval HAVE_PYMOD_GCONF=no
2717 if test -n "exit"
2718 then
2719 { { echo "$as_me:$LINENO: error: failed to find required module gconf" >&5
2720 echo "$as_me: error: failed to find required module gconf" >&2;}
2721 { (exit 1); exit 1; }; }
2722 exit 1
2727 { echo "$as_me:$LINENO: checking for python module: dbus" >&5
2728 echo $ECHO_N "checking for python module: dbus... $ECHO_C" >&6; }
2729 python -c "import dbus" 2>/dev/null
2730 if test $? -eq 0;
2731 then
2732 { echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6; }
2734 eval HAVE_PYMOD_DBUS=yes
2735 else
2736 { echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6; }
2738 eval HAVE_PYMOD_DBUS=no
2740 if test -n ""
2741 then
2742 { { echo "$as_me:$LINENO: error: failed to find required module dbus" >&5
2743 echo "$as_me: error: failed to find required module dbus" >&2;}
2744 { (exit 1); exit 1; }; }
2745 exit 1
2749 if test $HAVE_PYMOD_DBUS = no
2750 then
2751 dbus_enabled=no
2755 EXP_VAR=DBUS_ENABLED
2756 FROM_VAR=$dbus_enabled
2758 prefix_save=$prefix
2759 exec_prefix_save=$exec_prefix
2761 if test "x$prefix" = "xNONE"; then
2762 prefix=$ac_default_prefix
2764 if test "x$exec_prefix" = "xNONE"; then
2765 exec_prefix=$prefix
2768 full_var="$FROM_VAR"
2769 while true; do
2770 new_full_var="`eval echo $full_var`"
2771 if test "x$new_full_var" = "x$full_var"; then break; fi
2772 full_var=$new_full_var
2773 done
2775 full_var=$new_full_var
2776 DBUS_ENABLED="$full_var"
2779 prefix=$prefix_save
2780 exec_prefix=$exec_prefix_save
2786 EXP_VAR=PREFIX
2787 FROM_VAR=$prefix
2789 prefix_save=$prefix
2790 exec_prefix_save=$exec_prefix
2792 if test "x$prefix" = "xNONE"; then
2793 prefix=$ac_default_prefix
2795 if test "x$exec_prefix" = "xNONE"; then
2796 exec_prefix=$prefix
2799 full_var="$FROM_VAR"
2800 while true; do
2801 new_full_var="`eval echo $full_var`"
2802 if test "x$new_full_var" = "x$full_var"; then break; fi
2803 full_var=$new_full_var
2804 done
2806 full_var=$new_full_var
2807 PREFIX="$full_var"
2810 prefix=$prefix_save
2811 exec_prefix=$exec_prefix_save
2815 gladedir="${datadir}/dragbox"
2817 EXP_VAR=DATADIR
2818 FROM_VAR=$datadir
2820 prefix_save=$prefix
2821 exec_prefix_save=$exec_prefix
2823 if test "x$prefix" = "xNONE"; then
2824 prefix=$ac_default_prefix
2826 if test "x$exec_prefix" = "xNONE"; then
2827 exec_prefix=$prefix
2830 full_var="$FROM_VAR"
2831 while true; do
2832 new_full_var="`eval echo $full_var`"
2833 if test "x$new_full_var" = "x$full_var"; then break; fi
2834 full_var=$new_full_var
2835 done
2837 full_var=$new_full_var
2838 DATADIR="$full_var"
2841 prefix=$prefix_save
2842 exec_prefix=$exec_prefix_save
2845 EXP_VAR=GLADEDIR
2846 FROM_VAR=$gladedir
2848 prefix_save=$prefix
2849 exec_prefix_save=$exec_prefix
2851 if test "x$prefix" = "xNONE"; then
2852 prefix=$ac_default_prefix
2854 if test "x$exec_prefix" = "xNONE"; then
2855 exec_prefix=$prefix
2858 full_var="$FROM_VAR"
2859 while true; do
2860 new_full_var="`eval echo $full_var`"
2861 if test "x$new_full_var" = "x$full_var"; then break; fi
2862 full_var=$new_full_var
2863 done
2865 full_var=$new_full_var
2866 GLADEDIR="$full_var"
2869 prefix=$prefix_save
2870 exec_prefix=$exec_prefix_save
2874 ac_config_files="$ac_config_files Makefile Dragbox/Makefile Dragbox/globals.py glade/Makefile doc/Makefile"
2876 cat >confcache <<\_ACEOF
2877 # This file is a shell script that caches the results of configure
2878 # tests run on this system so they can be shared between configure
2879 # scripts and configure runs, see configure's option --config-cache.
2880 # It is not useful on other systems. If it contains results you don't
2881 # want to keep, you may remove or edit it.
2883 # config.status only pays attention to the cache file if you give it
2884 # the --recheck option to rerun configure.
2886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2888 # following values.
2890 _ACEOF
2892 # The following way of writing the cache mishandles newlines in values,
2893 # but we know of no workaround that is simple, portable, and efficient.
2894 # So, we kill variables containing newlines.
2895 # Ultrix sh set writes to stderr and can't be redirected directly,
2896 # and sets the high bit in the cache file unless we assign to the vars.
2898 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2899 eval ac_val=\$$ac_var
2900 case $ac_val in #(
2901 *${as_nl}*)
2902 case $ac_var in #(
2903 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2904 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2905 esac
2906 case $ac_var in #(
2907 _ | IFS | as_nl) ;; #(
2908 *) $as_unset $ac_var ;;
2909 esac ;;
2910 esac
2911 done
2913 (set) 2>&1 |
2914 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2915 *${as_nl}ac_space=\ *)
2916 # `set' does not quote correctly, so add quotes (double-quote
2917 # substitution turns \\\\ into \\, and sed turns \\ into \).
2918 sed -n \
2919 "s/'/'\\\\''/g;
2920 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2921 ;; #(
2923 # `set' quotes correctly as required by POSIX, so do not add quotes.
2924 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2926 esac |
2927 sort
2929 sed '
2930 /^ac_cv_env_/b end
2931 t clear
2932 :clear
2933 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2934 t end
2935 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2936 :end' >>confcache
2937 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2938 if test -w "$cache_file"; then
2939 test "x$cache_file" != "x/dev/null" &&
2940 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2941 echo "$as_me: updating cache $cache_file" >&6;}
2942 cat confcache >$cache_file
2943 else
2944 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2945 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2948 rm -f confcache
2950 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2951 # Let make expand exec_prefix.
2952 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2954 # Transform confdefs.h into DEFS.
2955 # Protect against shell expansion while executing Makefile rules.
2956 # Protect against Makefile macro expansion.
2958 # If the first sed substitution is executed (which looks for macros that
2959 # take arguments), then branch to the quote section. Otherwise,
2960 # look for a macro that doesn't take arguments.
2961 ac_script='
2962 t clear
2963 :clear
2964 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2965 t quote
2966 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2967 t quote
2968 b any
2969 :quote
2970 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2971 s/\[/\\&/g
2972 s/\]/\\&/g
2973 s/\$/$$/g
2975 :any
2978 s/^\n//
2979 s/\n/ /g
2983 DEFS=`sed -n "$ac_script" confdefs.h`
2986 ac_libobjs=
2987 ac_ltlibobjs=
2988 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2989 # 1. Remove the extension, and $U if already installed.
2990 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2991 ac_i=`echo "$ac_i" | sed "$ac_script"`
2992 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2993 # will be set to the directory where LIBOBJS objects are built.
2994 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2995 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2996 done
2997 LIBOBJS=$ac_libobjs
2999 LTLIBOBJS=$ac_ltlibobjs
3002 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3003 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3004 Usually this means the macro was only invoked conditionally." >&5
3005 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3006 Usually this means the macro was only invoked conditionally." >&2;}
3007 { (exit 1); exit 1; }; }
3010 : ${CONFIG_STATUS=./config.status}
3011 ac_clean_files_save=$ac_clean_files
3012 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3013 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3014 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3015 cat >$CONFIG_STATUS <<_ACEOF
3016 #! $SHELL
3017 # Generated by $as_me.
3018 # Run this file to recreate the current configuration.
3019 # Compiler output produced by configure, useful for debugging
3020 # configure, is in config.log if it exists.
3022 debug=false
3023 ac_cs_recheck=false
3024 ac_cs_silent=false
3025 SHELL=\${CONFIG_SHELL-$SHELL}
3026 _ACEOF
3028 cat >>$CONFIG_STATUS <<\_ACEOF
3029 ## --------------------- ##
3030 ## M4sh Initialization. ##
3031 ## --------------------- ##
3033 # Be Bourne compatible
3034 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3035 emulate sh
3036 NULLCMD=:
3037 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3038 # is contrary to our usage. Disable this feature.
3039 alias -g '${1+"$@"}'='"$@"'
3040 setopt NO_GLOB_SUBST
3041 else
3042 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
3044 BIN_SH=xpg4; export BIN_SH # for Tru64
3045 DUALCASE=1; export DUALCASE # for MKS sh
3048 # PATH needs CR
3049 # Avoid depending upon Character Ranges.
3050 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3051 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3052 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3053 as_cr_digits='0123456789'
3054 as_cr_alnum=$as_cr_Letters$as_cr_digits
3056 # The user is always right.
3057 if test "${PATH_SEPARATOR+set}" != set; then
3058 echo "#! /bin/sh" >conf$$.sh
3059 echo "exit 0" >>conf$$.sh
3060 chmod +x conf$$.sh
3061 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3062 PATH_SEPARATOR=';'
3063 else
3064 PATH_SEPARATOR=:
3066 rm -f conf$$.sh
3069 # Support unset when possible.
3070 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3071 as_unset=unset
3072 else
3073 as_unset=false
3077 # IFS
3078 # We need space, tab and new line, in precisely that order. Quoting is
3079 # there to prevent editors from complaining about space-tab.
3080 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3081 # splitting by setting IFS to empty value.)
3082 as_nl='
3084 IFS=" "" $as_nl"
3086 # Find who we are. Look in the path if we contain no directory separator.
3087 case $0 in
3088 *[\\/]* ) as_myself=$0 ;;
3089 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3092 IFS=$as_save_IFS
3093 test -z "$as_dir" && as_dir=.
3094 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3095 done
3096 IFS=$as_save_IFS
3099 esac
3100 # We did not find ourselves, most probably we were run as `sh COMMAND'
3101 # in which case we are not to be found in the path.
3102 if test "x$as_myself" = x; then
3103 as_myself=$0
3105 if test ! -f "$as_myself"; then
3106 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3107 { (exit 1); exit 1; }
3110 # Work around bugs in pre-3.0 UWIN ksh.
3111 for as_var in ENV MAIL MAILPATH
3112 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3113 done
3114 PS1='$ '
3115 PS2='> '
3116 PS4='+ '
3118 # NLS nuisances.
3119 for as_var in \
3120 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3121 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3122 LC_TELEPHONE LC_TIME
3124 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3125 eval $as_var=C; export $as_var
3126 else
3127 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3129 done
3131 # Required to use basename.
3132 if expr a : '\(a\)' >/dev/null 2>&1 &&
3133 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3134 as_expr=expr
3135 else
3136 as_expr=false
3139 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3140 as_basename=basename
3141 else
3142 as_basename=false
3146 # Name of the executable.
3147 as_me=`$as_basename -- "$0" ||
3148 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3149 X"$0" : 'X\(//\)$' \| \
3150 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3151 echo X/"$0" |
3152 sed '/^.*\/\([^/][^/]*\)\/*$/{
3153 s//\1/
3156 /^X\/\(\/\/\)$/{
3157 s//\1/
3160 /^X\/\(\/\).*/{
3161 s//\1/
3164 s/.*/./; q'`
3166 # CDPATH.
3167 $as_unset CDPATH
3171 as_lineno_1=$LINENO
3172 as_lineno_2=$LINENO
3173 test "x$as_lineno_1" != "x$as_lineno_2" &&
3174 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3176 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3177 # uniformly replaced by the line number. The first 'sed' inserts a
3178 # line-number line after each line using $LINENO; the second 'sed'
3179 # does the real work. The second script uses 'N' to pair each
3180 # line-number line with the line containing $LINENO, and appends
3181 # trailing '-' during substitution so that $LINENO is not a special
3182 # case at line end.
3183 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3184 # scripts with optimization help from Paolo Bonzini. Blame Lee
3185 # E. McMahon (1931-1989) for sed's syntax. :-)
3186 sed -n '
3188 /[$]LINENO/=
3189 ' <$as_myself |
3190 sed '
3191 s/[$]LINENO.*/&-/
3192 t lineno
3194 :lineno
3196 :loop
3197 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3198 t loop
3199 s/-\n.*//
3200 ' >$as_me.lineno &&
3201 chmod +x "$as_me.lineno" ||
3202 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3203 { (exit 1); exit 1; }; }
3205 # Don't try to exec as it changes $[0], causing all sort of problems
3206 # (the dirname of $[0] is not the place where we might find the
3207 # original and so on. Autoconf is especially sensitive to this).
3208 . "./$as_me.lineno"
3209 # Exit status is that of the last command.
3210 exit
3214 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3215 as_dirname=dirname
3216 else
3217 as_dirname=false
3220 ECHO_C= ECHO_N= ECHO_T=
3221 case `echo -n x` in
3222 -n*)
3223 case `echo 'x\c'` in
3224 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3225 *) ECHO_C='\c';;
3226 esac;;
3228 ECHO_N='-n';;
3229 esac
3231 if expr a : '\(a\)' >/dev/null 2>&1 &&
3232 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3233 as_expr=expr
3234 else
3235 as_expr=false
3238 rm -f conf$$ conf$$.exe conf$$.file
3239 if test -d conf$$.dir; then
3240 rm -f conf$$.dir/conf$$.file
3241 else
3242 rm -f conf$$.dir
3243 mkdir conf$$.dir
3245 echo >conf$$.file
3246 if ln -s conf$$.file conf$$ 2>/dev/null; then
3247 as_ln_s='ln -s'
3248 # ... but there are two gotchas:
3249 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3250 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3251 # In both cases, we have to default to `cp -p'.
3252 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3253 as_ln_s='cp -p'
3254 elif ln conf$$.file conf$$ 2>/dev/null; then
3255 as_ln_s=ln
3256 else
3257 as_ln_s='cp -p'
3259 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3260 rmdir conf$$.dir 2>/dev/null
3262 if mkdir -p . 2>/dev/null; then
3263 as_mkdir_p=:
3264 else
3265 test -d ./-p && rmdir ./-p
3266 as_mkdir_p=false
3269 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3270 # systems may use methods other than mode bits to determine executability.
3271 cat >conf$$.file <<_ASEOF
3272 #! /bin/sh
3273 exit 0
3274 _ASEOF
3275 chmod +x conf$$.file
3276 if test -x conf$$.file >/dev/null 2>&1; then
3277 as_executable_p="test -x"
3278 else
3279 as_executable_p=:
3281 rm -f conf$$.file
3283 # Sed expression to map a string onto a valid CPP name.
3284 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3286 # Sed expression to map a string onto a valid variable name.
3287 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3290 exec 6>&1
3292 # Save the log message, to keep $[0] and so on meaningful, and to
3293 # report actual input values of CONFIG_FILES etc. instead of their
3294 # values after options handling.
3295 ac_log="
3296 This file was extended by dragbox $as_me 0.2.3, which was
3297 generated by GNU Autoconf 2.60. Invocation command line was
3299 CONFIG_FILES = $CONFIG_FILES
3300 CONFIG_HEADERS = $CONFIG_HEADERS
3301 CONFIG_LINKS = $CONFIG_LINKS
3302 CONFIG_COMMANDS = $CONFIG_COMMANDS
3303 $ $0 $@
3305 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3308 _ACEOF
3310 cat >>$CONFIG_STATUS <<_ACEOF
3311 # Files that config.status was made for.
3312 config_files="$ac_config_files"
3314 _ACEOF
3316 cat >>$CONFIG_STATUS <<\_ACEOF
3317 ac_cs_usage="\
3318 \`$as_me' instantiates files from templates according to the
3319 current configuration.
3321 Usage: $0 [OPTIONS] [FILE]...
3323 -h, --help print this help, then exit
3324 -V, --version print version number, then exit
3325 -q, --quiet do not print progress messages
3326 -d, --debug don't remove temporary files
3327 --recheck update $as_me by reconfiguring in the same conditions
3328 --file=FILE[:TEMPLATE]
3329 instantiate the configuration file FILE
3331 Configuration files:
3332 $config_files
3334 Report bugs to <bug-autoconf@gnu.org>."
3336 _ACEOF
3337 cat >>$CONFIG_STATUS <<_ACEOF
3338 ac_cs_version="\\
3339 dragbox config.status 0.2.3
3340 configured by $0, generated by GNU Autoconf 2.60,
3341 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3343 Copyright (C) 2006 Free Software Foundation, Inc.
3344 This config.status script is free software; the Free Software Foundation
3345 gives unlimited permission to copy, distribute and modify it."
3347 ac_pwd='$ac_pwd'
3348 srcdir='$srcdir'
3349 INSTALL='$INSTALL'
3350 _ACEOF
3352 cat >>$CONFIG_STATUS <<\_ACEOF
3353 # If no file are specified by the user, then we need to provide default
3354 # value. By we need to know if files were specified by the user.
3355 ac_need_defaults=:
3356 while test $# != 0
3358 case $1 in
3359 --*=*)
3360 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3361 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3362 ac_shift=:
3365 ac_option=$1
3366 ac_optarg=$2
3367 ac_shift=shift
3369 esac
3371 case $ac_option in
3372 # Handling of the options.
3373 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3374 ac_cs_recheck=: ;;
3375 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3376 echo "$ac_cs_version"; exit ;;
3377 --debug | --debu | --deb | --de | --d | -d )
3378 debug=: ;;
3379 --file | --fil | --fi | --f )
3380 $ac_shift
3381 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3382 ac_need_defaults=false;;
3383 --he | --h | --help | --hel | -h )
3384 echo "$ac_cs_usage"; exit ;;
3385 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3386 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3387 ac_cs_silent=: ;;
3389 # This is an error.
3390 -*) { echo "$as_me: error: unrecognized option: $1
3391 Try \`$0 --help' for more information." >&2
3392 { (exit 1); exit 1; }; } ;;
3394 *) ac_config_targets="$ac_config_targets $1"
3395 ac_need_defaults=false ;;
3397 esac
3398 shift
3399 done
3401 ac_configure_extra_args=
3403 if $ac_cs_silent; then
3404 exec 6>/dev/null
3405 ac_configure_extra_args="$ac_configure_extra_args --silent"
3408 _ACEOF
3409 cat >>$CONFIG_STATUS <<_ACEOF
3410 if \$ac_cs_recheck; then
3411 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3412 CONFIG_SHELL=$SHELL
3413 export CONFIG_SHELL
3414 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3417 _ACEOF
3418 cat >>$CONFIG_STATUS <<\_ACEOF
3419 exec 5>>config.log
3421 echo
3422 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3423 ## Running $as_me. ##
3424 _ASBOX
3425 echo "$ac_log"
3426 } >&5
3428 _ACEOF
3429 cat >>$CONFIG_STATUS <<_ACEOF
3430 _ACEOF
3432 cat >>$CONFIG_STATUS <<\_ACEOF
3434 # Handling of arguments.
3435 for ac_config_target in $ac_config_targets
3437 case $ac_config_target in
3438 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3439 "Dragbox/Makefile") CONFIG_FILES="$CONFIG_FILES Dragbox/Makefile" ;;
3440 "Dragbox/globals.py") CONFIG_FILES="$CONFIG_FILES Dragbox/globals.py" ;;
3441 "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
3442 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3444 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3445 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3446 { (exit 1); exit 1; }; };;
3447 esac
3448 done
3451 # If the user did not use the arguments to specify the items to instantiate,
3452 # then the envvar interface is used. Set only those that are not.
3453 # We use the long form for the default assignment because of an extremely
3454 # bizarre bug on SunOS 4.1.3.
3455 if $ac_need_defaults; then
3456 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3459 # Have a temporary directory for convenience. Make it in the build tree
3460 # simply because there is no reason against having it here, and in addition,
3461 # creating and moving files from /tmp can sometimes cause problems.
3462 # Hook for its removal unless debugging.
3463 # Note that there is a small window in which the directory will not be cleaned:
3464 # after its creation but before its name has been assigned to `$tmp'.
3465 $debug ||
3467 tmp=
3468 trap 'exit_status=$?
3469 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3471 trap '{ (exit 1); exit 1; }' 1 2 13 15
3473 # Create a (secure) tmp directory for tmp files.
3476 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3477 test -n "$tmp" && test -d "$tmp"
3478 } ||
3480 tmp=./conf$$-$RANDOM
3481 (umask 077 && mkdir "$tmp")
3482 } ||
3484 echo "$me: cannot create a temporary directory in ." >&2
3485 { (exit 1); exit 1; }
3489 # Set up the sed scripts for CONFIG_FILES section.
3492 # No need to generate the scripts if there are no CONFIG_FILES.
3493 # This happens for instance when ./config.status config.h
3494 if test -n "$CONFIG_FILES"; then
3496 _ACEOF
3500 ac_delim='%!_!# '
3501 for ac_last_try in false false false false false :; do
3502 cat >conf$$subs.sed <<_ACEOF
3503 SHELL!$SHELL$ac_delim
3504 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3505 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3506 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3507 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3508 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3509 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3510 exec_prefix!$exec_prefix$ac_delim
3511 prefix!$prefix$ac_delim
3512 program_transform_name!$program_transform_name$ac_delim
3513 bindir!$bindir$ac_delim
3514 sbindir!$sbindir$ac_delim
3515 libexecdir!$libexecdir$ac_delim
3516 datarootdir!$datarootdir$ac_delim
3517 datadir!$datadir$ac_delim
3518 sysconfdir!$sysconfdir$ac_delim
3519 sharedstatedir!$sharedstatedir$ac_delim
3520 localstatedir!$localstatedir$ac_delim
3521 includedir!$includedir$ac_delim
3522 oldincludedir!$oldincludedir$ac_delim
3523 docdir!$docdir$ac_delim
3524 infodir!$infodir$ac_delim
3525 htmldir!$htmldir$ac_delim
3526 dvidir!$dvidir$ac_delim
3527 pdfdir!$pdfdir$ac_delim
3528 psdir!$psdir$ac_delim
3529 libdir!$libdir$ac_delim
3530 localedir!$localedir$ac_delim
3531 mandir!$mandir$ac_delim
3532 DEFS!$DEFS$ac_delim
3533 ECHO_C!$ECHO_C$ac_delim
3534 ECHO_N!$ECHO_N$ac_delim
3535 ECHO_T!$ECHO_T$ac_delim
3536 LIBS!$LIBS$ac_delim
3537 build_alias!$build_alias$ac_delim
3538 host_alias!$host_alias$ac_delim
3539 target_alias!$target_alias$ac_delim
3540 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3541 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3542 INSTALL_DATA!$INSTALL_DATA$ac_delim
3543 CYGPATH_W!$CYGPATH_W$ac_delim
3544 PACKAGE!$PACKAGE$ac_delim
3545 VERSION!$VERSION$ac_delim
3546 ACLOCAL!$ACLOCAL$ac_delim
3547 AUTOCONF!$AUTOCONF$ac_delim
3548 AUTOMAKE!$AUTOMAKE$ac_delim
3549 AUTOHEADER!$AUTOHEADER$ac_delim
3550 MAKEINFO!$MAKEINFO$ac_delim
3551 install_sh!$install_sh$ac_delim
3552 STRIP!$STRIP$ac_delim
3553 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3554 mkdir_p!$mkdir_p$ac_delim
3555 AWK!$AWK$ac_delim
3556 SET_MAKE!$SET_MAKE$ac_delim
3557 am__leading_dot!$am__leading_dot$ac_delim
3558 AMTAR!$AMTAR$ac_delim
3559 am__tar!$am__tar$ac_delim
3560 am__untar!$am__untar$ac_delim
3561 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
3562 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
3563 MAINT!$MAINT$ac_delim
3564 PYTHON!$PYTHON$ac_delim
3565 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
3566 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
3567 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
3568 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
3569 pythondir!$pythondir$ac_delim
3570 pkgpythondir!$pkgpythondir$ac_delim
3571 pyexecdir!$pyexecdir$ac_delim
3572 pkgpyexecdir!$pkgpyexecdir$ac_delim
3573 PKG_CONFIG!$PKG_CONFIG$ac_delim
3574 PYGTK_CFLAGS!$PYGTK_CFLAGS$ac_delim
3575 PYGTK_LIBS!$PYGTK_LIBS$ac_delim
3576 DBUS_ENABLED!$DBUS_ENABLED$ac_delim
3577 PREFIX!$PREFIX$ac_delim
3578 DATADIR!$DATADIR$ac_delim
3579 GLADEDIR!$GLADEDIR$ac_delim
3580 LIBOBJS!$LIBOBJS$ac_delim
3581 LTLIBOBJS!$LTLIBOBJS$ac_delim
3582 _ACEOF
3584 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
3585 break
3586 elif $ac_last_try; then
3587 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3588 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3589 { (exit 1); exit 1; }; }
3590 else
3591 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3593 done
3595 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3596 if test -n "$ac_eof"; then
3597 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3598 ac_eof=`expr $ac_eof + 1`
3601 cat >>$CONFIG_STATUS <<_ACEOF
3602 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3604 _ACEOF
3605 sed '
3606 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3607 s/^/s,@/; s/!/@,|#_!!_#|/
3610 s/'"$ac_delim"'$/,g/; t
3611 s/$/\\/; p
3612 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3613 ' >>$CONFIG_STATUS <conf$$subs.sed
3614 rm -f conf$$subs.sed
3615 cat >>$CONFIG_STATUS <<_ACEOF
3616 :end
3617 s/|#_!!_#|//g
3618 CEOF$ac_eof
3619 _ACEOF
3622 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3623 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3624 # trailing colons and then remove the whole line if VPATH becomes empty
3625 # (actually we leave an empty line to preserve line numbers).
3626 if test "x$srcdir" = x.; then
3627 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3628 s/:*\$(srcdir):*/:/
3629 s/:*\${srcdir}:*/:/
3630 s/:*@srcdir@:*/:/
3631 s/^\([^=]*=[ ]*\):*/\1/
3632 s/:*$//
3633 s/^[^=]*=[ ]*$//
3637 cat >>$CONFIG_STATUS <<\_ACEOF
3638 fi # test -n "$CONFIG_FILES"
3641 for ac_tag in :F $CONFIG_FILES
3643 case $ac_tag in
3644 :[FHLC]) ac_mode=$ac_tag; continue;;
3645 esac
3646 case $ac_mode$ac_tag in
3647 :[FHL]*:*);;
3648 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3649 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3650 { (exit 1); exit 1; }; };;
3651 :[FH]-) ac_tag=-:-;;
3652 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3653 esac
3654 ac_save_IFS=$IFS
3655 IFS=:
3656 set x $ac_tag
3657 IFS=$ac_save_IFS
3658 shift
3659 ac_file=$1
3660 shift
3662 case $ac_mode in
3663 :L) ac_source=$1;;
3664 :[FH])
3665 ac_file_inputs=
3666 for ac_f
3668 case $ac_f in
3669 -) ac_f="$tmp/stdin";;
3670 *) # Look for the file first in the build tree, then in the source tree
3671 # (if the path is not absolute). The absolute path cannot be DOS-style,
3672 # because $ac_f cannot contain `:'.
3673 test -f "$ac_f" ||
3674 case $ac_f in
3675 [\\/$]*) false;;
3676 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3677 esac ||
3678 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3679 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3680 { (exit 1); exit 1; }; };;
3681 esac
3682 ac_file_inputs="$ac_file_inputs $ac_f"
3683 done
3685 # Let's still pretend it is `configure' which instantiates (i.e., don't
3686 # use $as_me), people would be surprised to read:
3687 # /* config.h. Generated by config.status. */
3688 configure_input="Generated from "`IFS=:
3689 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3690 if test x"$ac_file" != x-; then
3691 configure_input="$ac_file. $configure_input"
3692 { echo "$as_me:$LINENO: creating $ac_file" >&5
3693 echo "$as_me: creating $ac_file" >&6;}
3696 case $ac_tag in
3697 *:-:* | *:-) cat >"$tmp/stdin";;
3698 esac
3700 esac
3702 ac_dir=`$as_dirname -- "$ac_file" ||
3703 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3704 X"$ac_file" : 'X\(//\)[^/]' \| \
3705 X"$ac_file" : 'X\(//\)$' \| \
3706 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3707 echo X"$ac_file" |
3708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3709 s//\1/
3712 /^X\(\/\/\)[^/].*/{
3713 s//\1/
3716 /^X\(\/\/\)$/{
3717 s//\1/
3720 /^X\(\/\).*/{
3721 s//\1/
3724 s/.*/./; q'`
3725 { as_dir="$ac_dir"
3726 case $as_dir in #(
3727 -*) as_dir=./$as_dir;;
3728 esac
3729 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3730 as_dirs=
3731 while :; do
3732 case $as_dir in #(
3733 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3734 *) as_qdir=$as_dir;;
3735 esac
3736 as_dirs="'$as_qdir' $as_dirs"
3737 as_dir=`$as_dirname -- "$as_dir" ||
3738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3739 X"$as_dir" : 'X\(//\)[^/]' \| \
3740 X"$as_dir" : 'X\(//\)$' \| \
3741 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3742 echo X"$as_dir" |
3743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3744 s//\1/
3747 /^X\(\/\/\)[^/].*/{
3748 s//\1/
3751 /^X\(\/\/\)$/{
3752 s//\1/
3755 /^X\(\/\).*/{
3756 s//\1/
3759 s/.*/./; q'`
3760 test -d "$as_dir" && break
3761 done
3762 test -z "$as_dirs" || eval "mkdir $as_dirs"
3763 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3764 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3765 { (exit 1); exit 1; }; }; }
3766 ac_builddir=.
3768 case "$ac_dir" in
3769 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3771 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3772 # A ".." for each directory in $ac_dir_suffix.
3773 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3774 case $ac_top_builddir_sub in
3775 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3776 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3777 esac ;;
3778 esac
3779 ac_abs_top_builddir=$ac_pwd
3780 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3781 # for backward compatibility:
3782 ac_top_builddir=$ac_top_build_prefix
3784 case $srcdir in
3785 .) # We are building in place.
3786 ac_srcdir=.
3787 ac_top_srcdir=$ac_top_builddir_sub
3788 ac_abs_top_srcdir=$ac_pwd ;;
3789 [\\/]* | ?:[\\/]* ) # Absolute name.
3790 ac_srcdir=$srcdir$ac_dir_suffix;
3791 ac_top_srcdir=$srcdir
3792 ac_abs_top_srcdir=$srcdir ;;
3793 *) # Relative name.
3794 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3795 ac_top_srcdir=$ac_top_build_prefix$srcdir
3796 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3797 esac
3798 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3801 case $ac_mode in
3804 # CONFIG_FILE
3807 case $INSTALL in
3808 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3809 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3810 esac
3811 _ACEOF
3813 cat >>$CONFIG_STATUS <<\_ACEOF
3814 # If the template does not know about datarootdir, expand it.
3815 # FIXME: This hack should be removed a few years after 2.60.
3816 ac_datarootdir_hack=; ac_datarootdir_seen=
3818 case `sed -n '/datarootdir/ {
3822 /@datadir@/p
3823 /@docdir@/p
3824 /@infodir@/p
3825 /@localedir@/p
3826 /@mandir@/p
3827 ' $ac_file_inputs` in
3828 *datarootdir*) ac_datarootdir_seen=yes;;
3829 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3830 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3831 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3832 _ACEOF
3833 cat >>$CONFIG_STATUS <<_ACEOF
3834 ac_datarootdir_hack='
3835 s&@datadir@&$datadir&g
3836 s&@docdir@&$docdir&g
3837 s&@infodir@&$infodir&g
3838 s&@localedir@&$localedir&g
3839 s&@mandir@&$mandir&g
3840 s&\\\${datarootdir}&$datarootdir&g' ;;
3841 esac
3842 _ACEOF
3844 # Neutralize VPATH when `$srcdir' = `.'.
3845 # Shell code in configure.ac might set extrasub.
3846 # FIXME: do we really want to maintain this feature?
3847 cat >>$CONFIG_STATUS <<_ACEOF
3848 sed "$ac_vpsub
3849 $extrasub
3850 _ACEOF
3851 cat >>$CONFIG_STATUS <<\_ACEOF
3853 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3854 s&@configure_input@&$configure_input&;t t
3855 s&@top_builddir@&$ac_top_builddir_sub&;t t
3856 s&@srcdir@&$ac_srcdir&;t t
3857 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3858 s&@top_srcdir@&$ac_top_srcdir&;t t
3859 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3860 s&@builddir@&$ac_builddir&;t t
3861 s&@abs_builddir@&$ac_abs_builddir&;t t
3862 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3863 s&@INSTALL@&$ac_INSTALL&;t t
3864 $ac_datarootdir_hack
3865 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3867 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3868 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3869 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3870 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3871 which seems to be undefined. Please make sure it is defined." >&5
3872 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3873 which seems to be undefined. Please make sure it is defined." >&2;}
3875 rm -f "$tmp/stdin"
3876 case $ac_file in
3877 -) cat "$tmp/out"; rm -f "$tmp/out";;
3878 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3879 esac
3884 esac
3886 done # for ac_tag
3889 { (exit 0); exit 0; }
3890 _ACEOF
3891 chmod +x $CONFIG_STATUS
3892 ac_clean_files=$ac_clean_files_save
3895 # configure is writing to config.log, and then calls config.status.
3896 # config.status does its own redirection, appending to config.log.
3897 # Unfortunately, on DOS this fails, as config.log is still kept open
3898 # by configure, so config.status won't be able to write to it; its
3899 # output is simply discarded. So we exec the FD to /dev/null,
3900 # effectively closing config.log, so it can be properly (re)opened and
3901 # appended to by config.status. When coming back to configure, we
3902 # need to make the FD available again.
3903 if test "$no_create" != yes; then
3904 ac_cs_success=:
3905 ac_config_status_args=
3906 test "$silent" = yes &&
3907 ac_config_status_args="$ac_config_status_args --quiet"
3908 exec 5>/dev/null
3909 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3910 exec 5>>config.log
3911 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3912 # would make configure fail if this is the last instruction.
3913 $ac_cs_success || { (exit 1); exit 1; }
3917 echo
3918 echo Ready to build dragbox
3919 echo Options
3920 echo dbus ....... $dbus_enabled