2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for xcalibrateproto 0.1.0.
5 # Report bugs to <pb@nexus.co.uk>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='xcalibrateproto'
576 PACKAGE_TARNAME='xcalibrateproto'
577 PACKAGE_VERSION='0.1.0'
578 PACKAGE_STRING='xcalibrateproto 0.1.0'
579 PACKAGE_BUGREPORT='pb@nexus.co.uk'
590 program_transform_name
632 INSTALL_STRIP_PROGRAM
643 ac_precious_vars='build_alias
648 # Initialize some variables set by options.
650 ac_init_version=false
651 # The variables have the same names as the options, with
652 # dashes changed to underlines.
660 program_transform_name=s,x,x,
668 # Installation directory options.
669 # These are left unexpanded so users can "make install exec_prefix=/foo"
670 # and all the variables that are supposed to be based on exec_prefix
671 # by default will actually change.
672 # Use braces instead of parens because sh, perl, etc. also accept them.
673 # (The list follows the same order as the GNU Coding Standards.)
674 bindir='${exec_prefix}/bin'
675 sbindir='${exec_prefix}/sbin'
676 libexecdir='${exec_prefix}/libexec'
677 datarootdir='${prefix}/share'
678 datadir='${datarootdir}'
679 sysconfdir='${prefix}/etc'
680 sharedstatedir='${prefix}/com'
681 localstatedir='${prefix}/var'
682 includedir='${prefix}/include'
683 oldincludedir='/usr/include'
684 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
685 infodir='${datarootdir}/info'
690 libdir='${exec_prefix}/lib'
691 localedir='${datarootdir}/locale'
692 mandir='${datarootdir}/man'
698 # If the previous option needs an argument, assign it.
699 if test -n "$ac_prev"; then
700 eval $ac_prev=\$ac_option
706 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
710 # Accept the important Cygnus configure options, so we can diagnose typos.
712 case $ac_dashdash$ac_option in
716 -bindir | --bindir | --bindi | --bind | --bin | --bi)
718 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
721 -build | --build | --buil | --bui | --bu)
722 ac_prev=build_alias ;;
723 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
724 build_alias=$ac_optarg ;;
726 -cache-file | --cache-file | --cache-fil | --cache-fi \
727 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
728 ac_prev=cache_file ;;
729 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
730 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
731 cache_file=$ac_optarg ;;
734 cache_file=config.cache ;;
736 -datadir | --datadir | --datadi | --datad)
738 -datadir=* | --datadir=* | --datadi=* | --datad=*)
739 datadir=$ac_optarg ;;
741 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
742 | --dataroo | --dataro | --datar)
743 ac_prev=datarootdir ;;
744 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
745 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
746 datarootdir=$ac_optarg ;;
748 -disable-* | --disable-*)
749 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
753 { (exit 1); exit 1; }; }
754 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
755 eval enable_$ac_feature=no ;;
757 -docdir | --docdir | --docdi | --doc | --do)
759 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
762 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
767 -enable-* | --enable-*)
768 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
771 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
772 { (exit 1); exit 1; }; }
773 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
774 eval enable_$ac_feature=\$ac_optarg ;;
776 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
777 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
778 | --exec | --exe | --ex)
779 ac_prev=exec_prefix ;;
780 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
781 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
782 | --exec=* | --exe=* | --ex=*)
783 exec_prefix=$ac_optarg ;;
785 -gas | --gas | --ga | --g)
786 # Obsolete; use --with-gas.
789 -help | --help | --hel | --he | -h)
791 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
792 ac_init_help=recursive ;;
793 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
794 ac_init_help=short ;;
796 -host | --host | --hos | --ho)
797 ac_prev=host_alias ;;
798 -host=* | --host=* | --hos=* | --ho=*)
799 host_alias=$ac_optarg ;;
801 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
803 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
805 htmldir=$ac_optarg ;;
807 -includedir | --includedir | --includedi | --included | --include \
808 | --includ | --inclu | --incl | --inc)
809 ac_prev=includedir ;;
810 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
811 | --includ=* | --inclu=* | --incl=* | --inc=*)
812 includedir=$ac_optarg ;;
814 -infodir | --infodir | --infodi | --infod | --info | --inf)
816 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
817 infodir=$ac_optarg ;;
819 -libdir | --libdir | --libdi | --libd)
821 -libdir=* | --libdir=* | --libdi=* | --libd=*)
824 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
825 | --libexe | --libex | --libe)
826 ac_prev=libexecdir ;;
827 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
828 | --libexe=* | --libex=* | --libe=*)
829 libexecdir=$ac_optarg ;;
831 -localedir | --localedir | --localedi | --localed | --locale)
833 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
834 localedir=$ac_optarg ;;
836 -localstatedir | --localstatedir | --localstatedi | --localstated \
837 | --localstate | --localstat | --localsta | --localst | --locals)
838 ac_prev=localstatedir ;;
839 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
840 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
841 localstatedir=$ac_optarg ;;
843 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
845 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
849 # Obsolete; use --without-fp.
852 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
853 | --no-cr | --no-c | -n)
856 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
857 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
860 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
861 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
862 | --oldin | --oldi | --old | --ol | --o)
863 ac_prev=oldincludedir ;;
864 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
865 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
866 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
867 oldincludedir=$ac_optarg ;;
869 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
871 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
874 -program-prefix | --program-prefix | --program-prefi | --program-pref \
875 | --program-pre | --program-pr | --program-p)
876 ac_prev=program_prefix ;;
877 -program-prefix=* | --program-prefix=* | --program-prefi=* \
878 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
879 program_prefix=$ac_optarg ;;
881 -program-suffix | --program-suffix | --program-suffi | --program-suff \
882 | --program-suf | --program-su | --program-s)
883 ac_prev=program_suffix ;;
884 -program-suffix=* | --program-suffix=* | --program-suffi=* \
885 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
886 program_suffix=$ac_optarg ;;
888 -program-transform-name | --program-transform-name \
889 | --program-transform-nam | --program-transform-na \
890 | --program-transform-n | --program-transform- \
891 | --program-transform | --program-transfor \
892 | --program-transfo | --program-transf \
893 | --program-trans | --program-tran \
894 | --progr-tra | --program-tr | --program-t)
895 ac_prev=program_transform_name ;;
896 -program-transform-name=* | --program-transform-name=* \
897 | --program-transform-nam=* | --program-transform-na=* \
898 | --program-transform-n=* | --program-transform-=* \
899 | --program-transform=* | --program-transfor=* \
900 | --program-transfo=* | --program-transf=* \
901 | --program-trans=* | --program-tran=* \
902 | --progr-tra=* | --program-tr=* | --program-t=*)
903 program_transform_name=$ac_optarg ;;
905 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
907 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
910 -psdir | --psdir | --psdi | --psd | --ps)
912 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
916 | -silent | --silent | --silen | --sile | --sil)
919 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
921 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
923 sbindir=$ac_optarg ;;
925 -sharedstatedir | --sharedstatedir | --sharedstatedi \
926 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
927 | --sharedst | --shareds | --shared | --share | --shar \
929 ac_prev=sharedstatedir ;;
930 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
931 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
932 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
934 sharedstatedir=$ac_optarg ;;
936 -site | --site | --sit)
938 -site=* | --site=* | --sit=*)
941 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
943 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
946 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
947 | --syscon | --sysco | --sysc | --sys | --sy)
948 ac_prev=sysconfdir ;;
949 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
950 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
951 sysconfdir=$ac_optarg ;;
953 -target | --target | --targe | --targ | --tar | --ta | --t)
954 ac_prev=target_alias ;;
955 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
956 target_alias=$ac_optarg ;;
958 -v | -verbose | --verbose | --verbos | --verbo | --verb)
961 -version | --version | --versio | --versi | --vers | -V)
965 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
968 { echo "$as_me: error: invalid package name: $ac_package" >&2
969 { (exit 1); exit 1; }; }
970 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
971 eval with_$ac_package=\$ac_optarg ;;
973 -without-* | --without-*)
974 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
977 { echo "$as_me: error: invalid package name: $ac_package" >&2
978 { (exit 1); exit 1; }; }
979 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
980 eval with_$ac_package=no ;;
983 # Obsolete; use --with-x.
986 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
987 | --x-incl | --x-inc | --x-in | --x-i)
988 ac_prev=x_includes ;;
989 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
990 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
991 x_includes=$ac_optarg ;;
993 -x-libraries | --x-libraries | --x-librarie | --x-librari \
994 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
995 ac_prev=x_libraries ;;
996 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
997 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
998 x_libraries=$ac_optarg ;;
1000 -*) { echo "$as_me: error: unrecognized option: $ac_option
1001 Try \`$0 --help' for more information." >&2
1002 { (exit 1); exit 1; }; }
1006 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1009 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1010 { (exit 1); exit 1; }; }
1011 eval $ac_envvar=\$ac_optarg
1012 export $ac_envvar ;;
1015 # FIXME: should be removed in autoconf 3.0.
1016 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1017 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1018 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1019 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1025 if test -n "$ac_prev"; then
1026 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1027 { echo "$as_me: error: missing argument to $ac_option" >&2
1028 { (exit 1); exit 1; }; }
1031 # Be sure to have absolute directory names.
1032 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1033 datadir sysconfdir sharedstatedir localstatedir includedir \
1034 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1035 libdir localedir mandir
1037 eval ac_val=\$$ac_var
1039 [\\/$]* | ?:[\\/]* ) continue;;
1040 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1042 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1043 { (exit 1); exit 1; }; }
1046 # There might be people who depend on the old broken behavior: `$host'
1047 # used to hold the argument of --host etc.
1048 # FIXME: To remove some day.
1051 target=$target_alias
1053 # FIXME: To remove some day.
1054 if test "x$host_alias" != x; then
1055 if test "x$build_alias" = x; then
1056 cross_compiling=maybe
1057 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1058 If a cross compiler is detected then cross compile mode will be used." >&2
1059 elif test "x$build_alias" != "x$host_alias"; then
1065 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1067 test "$silent" = yes && exec 6>/dev/null
1070 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1071 ac_ls_di=`ls -di .` &&
1072 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1073 { echo "$as_me: error: Working directory cannot be determined" >&2
1074 { (exit 1); exit 1; }; }
1075 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1076 { echo "$as_me: error: pwd does not report name of working directory" >&2
1077 { (exit 1); exit 1; }; }
1080 # Find the source files, if location was not specified.
1081 if test -z "$srcdir"; then
1082 ac_srcdir_defaulted=yes
1083 # Try the directory containing this script, then the parent directory.
1084 ac_confdir=`$as_dirname -- "$0" ||
1085 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1086 X"$0" : 'X\(//\)[^/]' \| \
1087 X"$0" : 'X\(//\)$' \| \
1088 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1108 if test ! -r "$srcdir/$ac_unique_file"; then
1112 ac_srcdir_defaulted=no
1114 if test ! -r "$srcdir/$ac_unique_file"; then
1115 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1116 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1117 { (exit 1); exit 1; }; }
1119 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1121 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1122 { (exit 1); exit 1; }; }
1124 # When building in place, set srcdir=.
1125 if test "$ac_abs_confdir" = "$ac_pwd"; then
1128 # Remove unnecessary trailing slashes from srcdir.
1129 # Double slashes in file names in object file debugging info
1130 # mess up M-x gdb in Emacs.
1132 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1134 for ac_var in $ac_precious_vars; do
1135 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1136 eval ac_env_${ac_var}_value=\$${ac_var}
1137 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1138 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1142 # Report the --help message.
1144 if test "$ac_init_help" = "long"; then
1145 # Omit some internal or obsolete options to make the list less imposing.
1146 # This message is too long to be a string in the A/UX 3.1 sh.
1148 \`configure' configures xcalibrateproto 0.1.0 to adapt to many kinds of systems.
1150 Usage: $0 [OPTION]... [VAR=VALUE]...
1152 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1153 VAR=VALUE. See below for descriptions of some of the useful variables.
1155 Defaults for the options are specified in brackets.
1158 -h, --help display this help and exit
1159 --help=short display options specific to this package
1160 --help=recursive display the short help of all the included packages
1161 -V, --version display version information and exit
1162 -q, --quiet, --silent do not print \`checking...' messages
1163 --cache-file=FILE cache test results in FILE [disabled]
1164 -C, --config-cache alias for \`--cache-file=config.cache'
1165 -n, --no-create do not create output files
1166 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1168 Installation directories:
1169 --prefix=PREFIX install architecture-independent files in PREFIX
1170 [$ac_default_prefix]
1171 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1174 By default, \`make install' will install all the files in
1175 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1176 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1177 for instance \`--prefix=\$HOME'.
1179 For better control, use the options below.
1181 Fine tuning of the installation directories:
1182 --bindir=DIR user executables [EPREFIX/bin]
1183 --sbindir=DIR system admin executables [EPREFIX/sbin]
1184 --libexecdir=DIR program executables [EPREFIX/libexec]
1185 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1186 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1187 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1188 --libdir=DIR object code libraries [EPREFIX/lib]
1189 --includedir=DIR C header files [PREFIX/include]
1190 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1191 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1192 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1193 --infodir=DIR info documentation [DATAROOTDIR/info]
1194 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1195 --mandir=DIR man documentation [DATAROOTDIR/man]
1196 --docdir=DIR documentation root [DATAROOTDIR/doc/xcalibrateproto]
1197 --htmldir=DIR html documentation [DOCDIR]
1198 --dvidir=DIR dvi documentation [DOCDIR]
1199 --pdfdir=DIR pdf documentation [DOCDIR]
1200 --psdir=DIR ps documentation [DOCDIR]
1206 --program-prefix=PREFIX prepend PREFIX to installed program names
1207 --program-suffix=SUFFIX append SUFFIX to installed program names
1208 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1212 if test -n "$ac_init_help"; then
1213 case $ac_init_help in
1214 short | recursive ) echo "Configuration of xcalibrateproto 0.1.0:";;
1218 Report bugs to <pb@nexus.co.uk>.
1223 if test "$ac_init_help" = "recursive"; then
1224 # If there are subdirs, report their specific --help.
1225 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1226 test -d "$ac_dir" || continue
1230 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1232 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1233 # A ".." for each directory in $ac_dir_suffix.
1234 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1235 case $ac_top_builddir_sub in
1236 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1237 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1240 ac_abs_top_builddir=$ac_pwd
1241 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1242 # for backward compatibility:
1243 ac_top_builddir=$ac_top_build_prefix
1246 .) # We are building in place.
1248 ac_top_srcdir=$ac_top_builddir_sub
1249 ac_abs_top_srcdir=$ac_pwd ;;
1250 [\\/]* | ?:[\\/]* ) # Absolute name.
1251 ac_srcdir=$srcdir$ac_dir_suffix;
1252 ac_top_srcdir=$srcdir
1253 ac_abs_top_srcdir=$srcdir ;;
1255 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1256 ac_top_srcdir=$ac_top_build_prefix$srcdir
1257 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1259 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1261 cd "$ac_dir" || { ac_status=$?; continue; }
1262 # Check for guested configure.
1263 if test -f "$ac_srcdir/configure.gnu"; then
1265 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1266 elif test -f "$ac_srcdir/configure"; then
1268 $SHELL "$ac_srcdir/configure" --help=recursive
1270 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1272 cd "$ac_pwd" || { ac_status=$?; break; }
1276 test -n "$ac_init_help" && exit $ac_status
1277 if $ac_init_version; then
1279 xcalibrateproto configure 0.1.0
1280 generated by GNU Autoconf 2.61
1282 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1283 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1284 This configure script is free software; the Free Software Foundation
1285 gives unlimited permission to copy, distribute and modify it.
1289 cat >config.log <<_ACEOF
1290 This file contains any messages produced by compilers while
1291 running configure, to aid debugging if configure makes a mistake.
1293 It was created by xcalibrateproto $as_me 0.1.0, which was
1294 generated by GNU Autoconf 2.61. Invocation command line was
1306 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1307 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1308 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1309 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1310 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1312 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1313 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1315 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1316 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1317 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1318 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1319 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1320 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1321 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1329 test -z "$as_dir" && as_dir=.
1330 echo "PATH: $as_dir"
1346 # Keep a trace of the command line.
1347 # Strip out --no-create and --no-recursion so they do not pile up.
1348 # Strip out --silent because we don't want to record it for future runs.
1349 # Also quote any args containing shell meta-characters.
1350 # Make two passes to allow for proper duplicate-argument suppression.
1354 ac_must_keep_next=false
1360 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1362 | -silent | --silent | --silen | --sile | --sil)
1365 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1368 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1370 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1371 if test $ac_must_keep_next = true; then
1372 ac_must_keep_next=false # Got value, back to normal.
1375 *=* | --config-cache | -C | -disable-* | --disable-* \
1376 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1377 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1378 | -with-* | --with-* | -without-* | --without-* | --x)
1379 case "$ac_configure_args0 " in
1380 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1383 -* ) ac_must_keep_next=true ;;
1386 ac_configure_args="$ac_configure_args '$ac_arg'"
1391 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1392 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1394 # When interrupted or exit'd, cleanup temporary files, and complete
1395 # config.log. We remove comments because anyway the quotes in there
1396 # would cause problems or look ugly.
1397 # WARNING: Use '\'' to represent an apostrophe within the trap.
1398 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1399 trap 'exit_status=$?
1400 # Save into config.log some information that might help in debugging.
1405 ## ---------------- ##
1406 ## Cache variables. ##
1407 ## ---------------- ##
1410 # The following way of writing the cache mishandles newlines in values,
1412 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1413 eval ac_val=\$$ac_var
1417 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1418 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1421 _ | IFS | as_nl) ;; #(
1422 *) $as_unset $ac_var ;;
1427 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1428 *${as_nl}ac_space=\ *)
1430 "s/'\''/'\''\\\\'\'''\''/g;
1431 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1442 ## ----------------- ##
1443 ## Output variables. ##
1444 ## ----------------- ##
1447 for ac_var in $ac_subst_vars
1449 eval ac_val=\$$ac_var
1451 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1453 echo "$ac_var='\''$ac_val'\''"
1457 if test -n "$ac_subst_files"; then
1459 ## ------------------- ##
1460 ## File substitutions. ##
1461 ## ------------------- ##
1464 for ac_var in $ac_subst_files
1466 eval ac_val=\$$ac_var
1468 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1470 echo "$ac_var='\''$ac_val'\''"
1475 if test -s confdefs.h; then
1485 test "$ac_signal" != 0 &&
1486 echo "$as_me: caught signal $ac_signal"
1487 echo "$as_me: exit $exit_status"
1489 rm -f core *.core core.conftest.* &&
1490 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1493 for ac_signal in 1 2 13 15; do
1494 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1498 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1499 rm -f -r conftest* confdefs.h
1501 # Predefined preprocessor variables.
1503 cat >>confdefs.h <<_ACEOF
1504 #define PACKAGE_NAME "$PACKAGE_NAME"
1508 cat >>confdefs.h <<_ACEOF
1509 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1513 cat >>confdefs.h <<_ACEOF
1514 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1518 cat >>confdefs.h <<_ACEOF
1519 #define PACKAGE_STRING "$PACKAGE_STRING"
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1528 # Let the site file select an alternate cache file if it wants to.
1529 # Prefer explicitly selected file to automatically selected ones.
1530 if test -n "$CONFIG_SITE"; then
1531 set x "$CONFIG_SITE"
1532 elif test "x$prefix" != xNONE; then
1533 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1535 set x "$ac_default_prefix/share/config.site" \
1536 "$ac_default_prefix/etc/config.site"
1541 if test -r "$ac_site_file"; then
1542 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1543 echo "$as_me: loading site script $ac_site_file" >&6;}
1544 sed 's/^/| /' "$ac_site_file" >&5
1549 if test -r "$cache_file"; then
1550 # Some versions of bash will fail to source /dev/null (special
1551 # files actually), so we avoid doing that.
1552 if test -f "$cache_file"; then
1553 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1554 echo "$as_me: loading cache $cache_file" >&6;}
1556 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1557 *) . "./$cache_file";;
1561 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1562 echo "$as_me: creating cache $cache_file" >&6;}
1566 # Check that the precious variables saved in the cache have kept the same
1568 ac_cache_corrupted=false
1569 for ac_var in $ac_precious_vars; do
1570 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1571 eval ac_new_set=\$ac_env_${ac_var}_set
1572 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1573 eval ac_new_val=\$ac_env_${ac_var}_value
1574 case $ac_old_set,$ac_new_set in
1576 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1577 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1578 ac_cache_corrupted=: ;;
1580 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1581 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1582 ac_cache_corrupted=: ;;
1585 if test "x$ac_old_val" != "x$ac_new_val"; then
1586 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1587 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1588 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1589 echo "$as_me: former value: $ac_old_val" >&2;}
1590 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1591 echo "$as_me: current value: $ac_new_val" >&2;}
1592 ac_cache_corrupted=:
1595 # Pass precious variables to config.status.
1596 if test "$ac_new_set" = set; then
1598 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1599 *) ac_arg=$ac_var=$ac_new_val ;;
1601 case " $ac_configure_args " in
1602 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1603 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1607 if $ac_cache_corrupted; then
1608 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1609 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1610 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1611 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1612 { (exit 1); exit 1; }; }
1640 ac_cpp='$CPP $CPPFLAGS'
1641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1646 am__api_version='1.10'
1649 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1650 if test -f "$ac_dir/install-sh"; then
1652 ac_install_sh="$ac_aux_dir/install-sh -c"
1654 elif test -f "$ac_dir/install.sh"; then
1656 ac_install_sh="$ac_aux_dir/install.sh -c"
1658 elif test -f "$ac_dir/shtool"; then
1660 ac_install_sh="$ac_aux_dir/shtool install -c"
1664 if test -z "$ac_aux_dir"; then
1665 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1666 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1667 { (exit 1); exit 1; }; }
1670 # These three variables are undocumented and unsupported,
1671 # and are intended to be withdrawn in a future Autoconf release.
1672 # They can cause serious problems if a builder's source tree is in a directory
1673 # whose full name contains unusual characters.
1674 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1675 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1676 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1679 # Find a good install program. We prefer a C program (faster),
1680 # so one script is as good as another. But avoid the broken or
1681 # incompatible versions:
1682 # SysV /etc/install, /usr/sbin/install
1683 # SunOS /usr/etc/install
1684 # IRIX /sbin/install
1686 # AmigaOS /C/install, which installs bootblocks on floppy discs
1687 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1688 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1689 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1690 # OS/2's system install, which has a completely different semantic
1691 # ./install, which can be erroneously created by make from ./install.sh.
1692 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1693 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1694 if test -z "$INSTALL"; then
1695 if test "${ac_cv_path_install+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 # Account for people who put trailing slashes in PATH elements.
1705 ./ | .// | /cC/* | \
1706 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1707 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1710 # OSF1 and SCO ODT 3.0 have their own names for install.
1711 # Don't use installbsd from OSF since it installs stuff as root
1713 for ac_prog in ginstall scoinst install; do
1714 for ac_exec_ext in '' $ac_executable_extensions; do
1715 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1716 if test $ac_prog = install &&
1717 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1718 # AIX install. It has an incompatible calling convention.
1720 elif test $ac_prog = install &&
1721 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1722 # program-specific install script used by HP pwplus--don't use.
1725 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1738 if test "${ac_cv_path_install+set}" = set; then
1739 INSTALL=$ac_cv_path_install
1741 # As a last resort, use the slow shell script. Don't cache a
1742 # value for INSTALL within a source directory, because that will
1743 # break other packages using the cache if that directory is
1744 # removed, or if the value is a relative name.
1745 INSTALL=$ac_install_sh
1748 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1749 echo "${ECHO_T}$INSTALL" >&6; }
1751 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1752 # It thinks the first close brace ends the variable substitution.
1753 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1755 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1757 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1759 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1760 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1763 echo timestamp > conftest.file
1764 # Do `set' in a subshell so we don't clobber the current shell's
1765 # arguments. Must try -L first in case configure is actually a
1766 # symlink; some systems play weird games with the mod time of symlinks
1767 # (eg FreeBSD returns the mod time of the symlink's containing
1770 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1771 if test "$*" = "X"; then
1773 set X `ls -t $srcdir/configure conftest.file`
1776 if test "$*" != "X $srcdir/configure conftest.file" \
1777 && test "$*" != "X conftest.file $srcdir/configure"; then
1779 # If neither matched, then we have a broken ls. This can happen
1780 # if, for instance, CONFIG_SHELL is bash and it inherits a
1781 # broken ls alias from the environment. This has actually
1782 # happened. Such a system could not be considered "sane".
1783 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1784 alias in your environment" >&5
1785 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1786 alias in your environment" >&2;}
1787 { (exit 1); exit 1; }; }
1790 test "$2" = conftest.file
1796 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1797 Check your system clock" >&5
1798 echo "$as_me: error: newly created file is older than distributed files!
1799 Check your system clock" >&2;}
1800 { (exit 1); exit 1; }; }
1802 { echo "$as_me:$LINENO: result: yes" >&5
1803 echo "${ECHO_T}yes" >&6; }
1804 test "$program_prefix" != NONE &&
1805 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1806 # Use a double $ so make ignores it.
1807 test "$program_suffix" != NONE &&
1808 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1809 # Double any \ or $. echo might interpret backslashes.
1810 # By default was `s,x,x', remove it if useless.
1811 cat <<\_ACEOF >conftest.sed
1812 s/[\\$]/&&/g;s/;s,x,x,$//
1814 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1817 # expand $ac_aux_dir to an absolute path
1818 am_aux_dir=`cd $ac_aux_dir && pwd`
1820 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1821 # Use eval to expand $SHELL
1822 if eval "$MISSING --run true"; then
1823 am_missing_run="$MISSING --run "
1826 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1827 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1830 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1831 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1832 if test -z "$MKDIR_P"; then
1833 if test "${ac_cv_path_mkdir+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1840 test -z "$as_dir" && as_dir=.
1841 for ac_prog in mkdir gmkdir; do
1842 for ac_exec_ext in '' $ac_executable_extensions; do
1843 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1844 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1845 'mkdir (GNU coreutils) '* | \
1846 'mkdir (coreutils) '* | \
1847 'mkdir (fileutils) '4.1*)
1848 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1858 if test "${ac_cv_path_mkdir+set}" = set; then
1859 MKDIR_P="$ac_cv_path_mkdir -p"
1861 # As a last resort, use the slow shell script. Don't cache a
1862 # value for MKDIR_P within a source directory, because that will
1863 # break other packages using the cache if that directory is
1864 # removed, or if the value is a relative name.
1865 test -d ./--version && rmdir ./--version
1866 MKDIR_P="$ac_install_sh -d"
1869 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1870 echo "${ECHO_T}$MKDIR_P" >&6; }
1874 [\\/$]* | ?:[\\/]*) ;;
1875 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1878 for ac_prog in gawk mawk nawk awk
1880 # Extract the first word of "$ac_prog", so it can be a program name with args.
1881 set dummy $ac_prog; ac_word=$2
1882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1884 if test "${ac_cv_prog_AWK+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 if test -n "$AWK"; then
1888 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir=.
1895 for ac_exec_ext in '' $ac_executable_extensions; do
1896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1897 ac_cv_prog_AWK="$ac_prog"
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 if test -n "$AWK"; then
1909 { echo "$as_me:$LINENO: result: $AWK" >&5
1910 echo "${ECHO_T}$AWK" >&6; }
1912 { echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6; }
1917 test -n "$AWK" && break
1920 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1921 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1922 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1923 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 cat >conftest.make <<\_ACEOF
1929 @echo '@@@%%%=$(MAKE)=@@@%%%'
1931 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1932 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1934 eval ac_cv_prog_make_${ac_make}_set=yes;;
1936 eval ac_cv_prog_make_${ac_make}_set=no;;
1940 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1941 { echo "$as_me:$LINENO: result: yes" >&5
1942 echo "${ECHO_T}yes" >&6; }
1945 { echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6; }
1947 SET_MAKE="MAKE=${MAKE-make}"
1950 rm -rf .tst 2>/dev/null
1951 mkdir .tst 2>/dev/null
1952 if test -d .tst; then
1957 rmdir .tst 2>/dev/null
1959 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1960 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1961 # is not polluted with repeated "-I."
1962 am__isrc=' -I$(srcdir)'
1963 # test to see if srcdir already configured
1964 if test -f $srcdir/config.status; then
1965 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1966 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1967 { (exit 1); exit 1; }; }
1971 # test whether we have cygpath
1972 if test -z "$CYGPATH_W"; then
1973 if (cygpath --version) >/dev/null 2>/dev/null; then
1974 CYGPATH_W='cygpath -w'
1981 # Define the identity of the package.
1982 PACKAGE='xcalibrateproto'
1986 cat >>confdefs.h <<_ACEOF
1987 #define PACKAGE "$PACKAGE"
1991 cat >>confdefs.h <<_ACEOF
1992 #define VERSION "$VERSION"
1995 # Some tools Automake needs.
1997 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2000 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2003 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2006 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2009 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2011 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2013 # Installed binaries are usually stripped using `strip' when the user
2014 # run `make install-strip'. However `strip' might not be the right
2015 # tool to use in cross-compilation environments, therefore Automake
2016 # will honor the `STRIP' environment variable to overrule this program.
2017 if test "$cross_compiling" != no; then
2018 if test -n "$ac_tool_prefix"; then
2019 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2020 set dummy ${ac_tool_prefix}strip; ac_word=$2
2021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2023 if test "${ac_cv_prog_STRIP+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 if test -n "$STRIP"; then
2027 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033 test -z "$as_dir" && as_dir=.
2034 for ac_exec_ext in '' $ac_executable_extensions; do
2035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2036 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2046 STRIP=$ac_cv_prog_STRIP
2047 if test -n "$STRIP"; then
2048 { echo "$as_me:$LINENO: result: $STRIP" >&5
2049 echo "${ECHO_T}$STRIP" >&6; }
2051 { echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6; }
2057 if test -z "$ac_cv_prog_STRIP"; then
2059 # Extract the first word of "strip", so it can be a program name with args.
2060 set dummy strip; ac_word=$2
2061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2063 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 if test -n "$ac_ct_STRIP"; then
2067 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2076 ac_cv_prog_ac_ct_STRIP="strip"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2087 if test -n "$ac_ct_STRIP"; then
2088 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2089 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2091 { echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6; }
2095 if test "x$ac_ct_STRIP" = x; then
2098 case $cross_compiling:$ac_tool_warned in
2100 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2101 whose name does not start with the host triplet. If you think this
2102 configuration is useful to you, please write to autoconf@gnu.org." >&5
2103 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2104 whose name does not start with the host triplet. If you think this
2105 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2106 ac_tool_warned=yes ;;
2111 STRIP="$ac_cv_prog_STRIP"
2115 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2117 # We need awk for the "check" target. The system "awk" is bad on
2119 # Always define AMTAR for backward compatibility.
2121 AMTAR=${AMTAR-"${am_missing_run}tar"}
2123 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2130 ac_config_files="$ac_config_files Makefile xcalibrateproto.pc"
2132 cat >confcache <<\_ACEOF
2133 # This file is a shell script that caches the results of configure
2134 # tests run on this system so they can be shared between configure
2135 # scripts and configure runs, see configure's option --config-cache.
2136 # It is not useful on other systems. If it contains results you don't
2137 # want to keep, you may remove or edit it.
2139 # config.status only pays attention to the cache file if you give it
2140 # the --recheck option to rerun configure.
2142 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2148 # The following way of writing the cache mishandles newlines in values,
2149 # but we know of no workaround that is simple, portable, and efficient.
2150 # So, we kill variables containing newlines.
2151 # Ultrix sh set writes to stderr and can't be redirected directly,
2152 # and sets the high bit in the cache file unless we assign to the vars.
2154 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2155 eval ac_val=\$$ac_var
2159 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2160 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2163 _ | IFS | as_nl) ;; #(
2164 *) $as_unset $ac_var ;;
2170 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2171 *${as_nl}ac_space=\ *)
2172 # `set' does not quote correctly, so add quotes (double-quote
2173 # substitution turns \\\\ into \\, and sed turns \\ into \).
2176 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2179 # `set' quotes correctly as required by POSIX, so do not add quotes.
2180 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2189 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2191 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2193 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2194 if test -w "$cache_file"; then
2195 test "x$cache_file" != "x/dev/null" &&
2196 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2197 echo "$as_me: updating cache $cache_file" >&6;}
2198 cat confcache >$cache_file
2200 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2201 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2206 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2207 # Let make expand exec_prefix.
2208 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2210 # Transform confdefs.h into DEFS.
2211 # Protect against shell expansion while executing Makefile rules.
2212 # Protect against Makefile macro expansion.
2214 # If the first sed substitution is executed (which looks for macros that
2215 # take arguments), then branch to the quote section. Otherwise,
2216 # look for a macro that doesn't take arguments.
2220 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2222 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2226 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2239 DEFS=`sed -n "$ac_script" confdefs.h`
2244 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2245 # 1. Remove the extension, and $U if already installed.
2246 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2247 ac_i=`echo "$ac_i" | sed "$ac_script"`
2248 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2249 # will be set to the directory where LIBOBJS objects are built.
2250 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2251 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2255 LTLIBOBJS=$ac_ltlibobjs
2259 : ${CONFIG_STATUS=./config.status}
2260 ac_clean_files_save=$ac_clean_files
2261 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2262 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2263 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2264 cat >$CONFIG_STATUS <<_ACEOF
2266 # Generated by $as_me.
2267 # Run this file to recreate the current configuration.
2268 # Compiler output produced by configure, useful for debugging
2269 # configure, is in config.log if it exists.
2274 SHELL=\${CONFIG_SHELL-$SHELL}
2277 cat >>$CONFIG_STATUS <<\_ACEOF
2278 ## --------------------- ##
2279 ## M4sh Initialization. ##
2280 ## --------------------- ##
2282 # Be more Bourne compatible
2283 DUALCASE=1; export DUALCASE # for MKS sh
2284 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2287 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2288 # is contrary to our usage. Disable this feature.
2289 alias -g '${1+"$@"}'='"$@"'
2290 setopt NO_GLOB_SUBST
2292 case `(set -o) 2>/dev/null` in
2293 *posix*) set -o posix ;;
2302 # Avoid depending upon Character Ranges.
2303 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2304 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2305 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2306 as_cr_digits='0123456789'
2307 as_cr_alnum=$as_cr_Letters$as_cr_digits
2309 # The user is always right.
2310 if test "${PATH_SEPARATOR+set}" != set; then
2311 echo "#! /bin/sh" >conf$$.sh
2312 echo "exit 0" >>conf$$.sh
2314 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2322 # Support unset when possible.
2323 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2331 # We need space, tab and new line, in precisely that order. Quoting is
2332 # there to prevent editors from complaining about space-tab.
2333 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2334 # splitting by setting IFS to empty value.)
2339 # Find who we are. Look in the path if we contain no directory separator.
2341 *[\\/]* ) as_myself=$0 ;;
2342 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir=.
2347 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2353 # We did not find ourselves, most probably we were run as `sh COMMAND'
2354 # in which case we are not to be found in the path.
2355 if test "x$as_myself" = x; then
2358 if test ! -f "$as_myself"; then
2359 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2360 { (exit 1); exit 1; }
2363 # Work around bugs in pre-3.0 UWIN ksh.
2364 for as_var in ENV MAIL MAILPATH
2365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2373 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2374 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2375 LC_TELEPHONE LC_TIME
2377 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2378 eval $as_var=C; export $as_var
2380 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2384 # Required to use basename.
2385 if expr a : '\(a\)' >/dev/null 2>&1 &&
2386 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2392 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2393 as_basename=basename
2399 # Name of the executable.
2400 as_me=`$as_basename -- "$0" ||
2401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2402 X"$0" : 'X\(//\)$' \| \
2403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2405 sed '/^.*\/\([^/][^/]*\)\/*$/{
2426 test "x$as_lineno_1" != "x$as_lineno_2" &&
2427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2430 # uniformly replaced by the line number. The first 'sed' inserts a
2431 # line-number line after each line using $LINENO; the second 'sed'
2432 # does the real work. The second script uses 'N' to pair each
2433 # line-number line with the line containing $LINENO, and appends
2434 # trailing '-' during substitution so that $LINENO is not a special
2436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2437 # scripts with optimization help from Paolo Bonzini. Blame Lee
2438 # E. McMahon (1931-1989) for sed's syntax. :-)
2450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2454 chmod +x "$as_me.lineno" ||
2455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2456 { (exit 1); exit 1; }; }
2458 # Don't try to exec as it changes $[0], causing all sort of problems
2459 # (the dirname of $[0] is not the place where we might find the
2460 # original and so on. Autoconf is especially sensitive to this).
2462 # Exit status is that of the last command.
2467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2473 ECHO_C= ECHO_N= ECHO_T=
2476 case `echo 'x\c'` in
2477 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2484 if expr a : '\(a\)' >/dev/null 2>&1 &&
2485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2491 rm -f conf$$ conf$$.exe conf$$.file
2492 if test -d conf$$.dir; then
2493 rm -f conf$$.dir/conf$$.file
2499 if ln -s conf$$.file conf$$ 2>/dev/null; then
2501 # ... but there are two gotchas:
2502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2504 # In both cases, we have to default to `cp -p'.
2505 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2507 elif ln conf$$.file conf$$ 2>/dev/null; then
2512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2513 rmdir conf$$.dir 2>/dev/null
2515 if mkdir -p . 2>/dev/null; then
2518 test -d ./-p && rmdir ./-p
2522 if test -x / >/dev/null 2>&1; then
2525 if ls -dL / >/dev/null 2>&1; then
2532 if test -d "$1"; then
2538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2539 ???[sx]*):;;*)false;;esac;fi
2543 as_executable_p=$as_test_x
2545 # Sed expression to map a string onto a valid CPP name.
2546 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2548 # Sed expression to map a string onto a valid variable name.
2549 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2554 # Save the log message, to keep $[0] and so on meaningful, and to
2555 # report actual input values of CONFIG_FILES etc. instead of their
2556 # values after options handling.
2558 This file was extended by xcalibrateproto $as_me 0.1.0, which was
2559 generated by GNU Autoconf 2.61. Invocation command line was
2561 CONFIG_FILES = $CONFIG_FILES
2562 CONFIG_HEADERS = $CONFIG_HEADERS
2563 CONFIG_LINKS = $CONFIG_LINKS
2564 CONFIG_COMMANDS = $CONFIG_COMMANDS
2567 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2572 cat >>$CONFIG_STATUS <<_ACEOF
2573 # Files that config.status was made for.
2574 config_files="$ac_config_files"
2578 cat >>$CONFIG_STATUS <<\_ACEOF
2580 \`$as_me' instantiates files from templates according to the
2581 current configuration.
2583 Usage: $0 [OPTIONS] [FILE]...
2585 -h, --help print this help, then exit
2586 -V, --version print version number and configuration settings, then exit
2587 -q, --quiet do not print progress messages
2588 -d, --debug don't remove temporary files
2589 --recheck update $as_me by reconfiguring in the same conditions
2590 --file=FILE[:TEMPLATE]
2591 instantiate the configuration file FILE
2593 Configuration files:
2596 Report bugs to <bug-autoconf@gnu.org>."
2599 cat >>$CONFIG_STATUS <<_ACEOF
2601 xcalibrateproto config.status 0.1.0
2602 configured by $0, generated by GNU Autoconf 2.61,
2603 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2605 Copyright (C) 2006 Free Software Foundation, Inc.
2606 This config.status script is free software; the Free Software Foundation
2607 gives unlimited permission to copy, distribute and modify it."
2615 cat >>$CONFIG_STATUS <<\_ACEOF
2616 # If no file are specified by the user, then we need to provide default
2617 # value. By we need to know if files were specified by the user.
2623 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2624 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2635 # Handling of the options.
2636 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2638 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2639 echo "$ac_cs_version"; exit ;;
2640 --debug | --debu | --deb | --de | --d | -d )
2642 --file | --fil | --fi | --f )
2644 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2645 ac_need_defaults=false;;
2646 --he | --h | --help | --hel | -h )
2647 echo "$ac_cs_usage"; exit ;;
2648 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2649 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2653 -*) { echo "$as_me: error: unrecognized option: $1
2654 Try \`$0 --help' for more information." >&2
2655 { (exit 1); exit 1; }; } ;;
2657 *) ac_config_targets="$ac_config_targets $1"
2658 ac_need_defaults=false ;;
2664 ac_configure_extra_args=
2666 if $ac_cs_silent; then
2668 ac_configure_extra_args="$ac_configure_extra_args --silent"
2672 cat >>$CONFIG_STATUS <<_ACEOF
2673 if \$ac_cs_recheck; then
2674 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2677 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2681 cat >>$CONFIG_STATUS <<\_ACEOF
2685 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2686 ## Running $as_me. ##
2692 cat >>$CONFIG_STATUS <<_ACEOF
2695 cat >>$CONFIG_STATUS <<\_ACEOF
2697 # Handling of arguments.
2698 for ac_config_target in $ac_config_targets
2700 case $ac_config_target in
2701 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2702 "xcalibrateproto.pc") CONFIG_FILES="$CONFIG_FILES xcalibrateproto.pc" ;;
2704 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2705 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2706 { (exit 1); exit 1; }; };;
2711 # If the user did not use the arguments to specify the items to instantiate,
2712 # then the envvar interface is used. Set only those that are not.
2713 # We use the long form for the default assignment because of an extremely
2714 # bizarre bug on SunOS 4.1.3.
2715 if $ac_need_defaults; then
2716 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2719 # Have a temporary directory for convenience. Make it in the build tree
2720 # simply because there is no reason against having it here, and in addition,
2721 # creating and moving files from /tmp can sometimes cause problems.
2722 # Hook for its removal unless debugging.
2723 # Note that there is a small window in which the directory will not be cleaned:
2724 # after its creation but before its name has been assigned to `$tmp'.
2728 trap 'exit_status=$?
2729 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2731 trap '{ (exit 1); exit 1; }' 1 2 13 15
2733 # Create a (secure) tmp directory for tmp files.
2736 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2737 test -n "$tmp" && test -d "$tmp"
2740 tmp=./conf$$-$RANDOM
2741 (umask 077 && mkdir "$tmp")
2744 echo "$me: cannot create a temporary directory in ." >&2
2745 { (exit 1); exit 1; }
2749 # Set up the sed scripts for CONFIG_FILES section.
2752 # No need to generate the scripts if there are no CONFIG_FILES.
2753 # This happens for instance when ./config.status config.h
2754 if test -n "$CONFIG_FILES"; then
2761 for ac_last_try in false false false false false :; do
2762 cat >conf$$subs.sed <<_ACEOF
2763 SHELL!$SHELL$ac_delim
2764 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2765 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2766 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2767 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2768 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2769 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2770 exec_prefix!$exec_prefix$ac_delim
2771 prefix!$prefix$ac_delim
2772 program_transform_name!$program_transform_name$ac_delim
2773 bindir!$bindir$ac_delim
2774 sbindir!$sbindir$ac_delim
2775 libexecdir!$libexecdir$ac_delim
2776 datarootdir!$datarootdir$ac_delim
2777 datadir!$datadir$ac_delim
2778 sysconfdir!$sysconfdir$ac_delim
2779 sharedstatedir!$sharedstatedir$ac_delim
2780 localstatedir!$localstatedir$ac_delim
2781 includedir!$includedir$ac_delim
2782 oldincludedir!$oldincludedir$ac_delim
2783 docdir!$docdir$ac_delim
2784 infodir!$infodir$ac_delim
2785 htmldir!$htmldir$ac_delim
2786 dvidir!$dvidir$ac_delim
2787 pdfdir!$pdfdir$ac_delim
2788 psdir!$psdir$ac_delim
2789 libdir!$libdir$ac_delim
2790 localedir!$localedir$ac_delim
2791 mandir!$mandir$ac_delim
2793 ECHO_C!$ECHO_C$ac_delim
2794 ECHO_N!$ECHO_N$ac_delim
2795 ECHO_T!$ECHO_T$ac_delim
2797 build_alias!$build_alias$ac_delim
2798 host_alias!$host_alias$ac_delim
2799 target_alias!$target_alias$ac_delim
2800 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2801 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2802 INSTALL_DATA!$INSTALL_DATA$ac_delim
2803 am__isrc!$am__isrc$ac_delim
2804 CYGPATH_W!$CYGPATH_W$ac_delim
2805 PACKAGE!$PACKAGE$ac_delim
2806 VERSION!$VERSION$ac_delim
2807 ACLOCAL!$ACLOCAL$ac_delim
2808 AUTOCONF!$AUTOCONF$ac_delim
2809 AUTOMAKE!$AUTOMAKE$ac_delim
2810 AUTOHEADER!$AUTOHEADER$ac_delim
2811 MAKEINFO!$MAKEINFO$ac_delim
2812 install_sh!$install_sh$ac_delim
2813 STRIP!$STRIP$ac_delim
2814 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
2815 mkdir_p!$mkdir_p$ac_delim
2817 SET_MAKE!$SET_MAKE$ac_delim
2818 am__leading_dot!$am__leading_dot$ac_delim
2819 AMTAR!$AMTAR$ac_delim
2820 am__tar!$am__tar$ac_delim
2821 am__untar!$am__untar$ac_delim
2822 LIBOBJS!$LIBOBJS$ac_delim
2823 LTLIBOBJS!$LTLIBOBJS$ac_delim
2826 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then
2828 elif $ac_last_try; then
2829 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2830 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2831 { (exit 1); exit 1; }; }
2833 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2837 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2838 if test -n "$ac_eof"; then
2839 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2840 ac_eof=`expr $ac_eof + 1`
2843 cat >>$CONFIG_STATUS <<_ACEOF
2844 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2845 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2848 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2849 s/^/s,@/; s/!/@,|#_!!_#|/
2852 s/'"$ac_delim"'$/,g/; t
2854 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2855 ' >>$CONFIG_STATUS <conf$$subs.sed
2856 rm -f conf$$subs.sed
2857 cat >>$CONFIG_STATUS <<_ACEOF
2864 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2865 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2866 # trailing colons and then remove the whole line if VPATH becomes empty
2867 # (actually we leave an empty line to preserve line numbers).
2868 if test "x$srcdir" = x.; then
2869 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2873 s/^\([^=]*=[ ]*\):*/\1/
2879 cat >>$CONFIG_STATUS <<\_ACEOF
2880 fi # test -n "$CONFIG_FILES"
2883 for ac_tag in :F $CONFIG_FILES
2886 :[FHLC]) ac_mode=$ac_tag; continue;;
2888 case $ac_mode$ac_tag in
2890 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2891 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2892 { (exit 1); exit 1; }; };;
2893 :[FH]-) ac_tag=-:-;;
2894 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2911 -) ac_f="$tmp/stdin";;
2912 *) # Look for the file first in the build tree, then in the source tree
2913 # (if the path is not absolute). The absolute path cannot be DOS-style,
2914 # because $ac_f cannot contain `:'.
2918 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2920 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2921 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2922 { (exit 1); exit 1; }; };;
2924 ac_file_inputs="$ac_file_inputs $ac_f"
2927 # Let's still pretend it is `configure' which instantiates (i.e., don't
2928 # use $as_me), people would be surprised to read:
2929 # /* config.h. Generated by config.status. */
2930 configure_input="Generated from "`IFS=:
2931 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2932 if test x"$ac_file" != x-; then
2933 configure_input="$ac_file. $configure_input"
2934 { echo "$as_me:$LINENO: creating $ac_file" >&5
2935 echo "$as_me: creating $ac_file" >&6;}
2939 *:-:* | *:-) cat >"$tmp/stdin";;
2944 ac_dir=`$as_dirname -- "$ac_file" ||
2945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2946 X"$ac_file" : 'X\(//\)[^/]' \| \
2947 X"$ac_file" : 'X\(//\)$' \| \
2948 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2969 -*) as_dir=./$as_dir;;
2971 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2975 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2976 *) as_qdir=$as_dir;;
2978 as_dirs="'$as_qdir' $as_dirs"
2979 as_dir=`$as_dirname -- "$as_dir" ||
2980 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2981 X"$as_dir" : 'X\(//\)[^/]' \| \
2982 X"$as_dir" : 'X\(//\)$' \| \
2983 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3002 test -d "$as_dir" && break
3004 test -z "$as_dirs" || eval "mkdir $as_dirs"
3005 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3006 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3007 { (exit 1); exit 1; }; }; }
3011 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3013 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3014 # A ".." for each directory in $ac_dir_suffix.
3015 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3016 case $ac_top_builddir_sub in
3017 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3018 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3021 ac_abs_top_builddir=$ac_pwd
3022 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3023 # for backward compatibility:
3024 ac_top_builddir=$ac_top_build_prefix
3027 .) # We are building in place.
3029 ac_top_srcdir=$ac_top_builddir_sub
3030 ac_abs_top_srcdir=$ac_pwd ;;
3031 [\\/]* | ?:[\\/]* ) # Absolute name.
3032 ac_srcdir=$srcdir$ac_dir_suffix;
3033 ac_top_srcdir=$srcdir
3034 ac_abs_top_srcdir=$srcdir ;;
3036 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3037 ac_top_srcdir=$ac_top_build_prefix$srcdir
3038 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3040 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3050 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3051 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3055 [\\/$]* | ?:[\\/]* ) ;;
3056 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3060 cat >>$CONFIG_STATUS <<\_ACEOF
3061 # If the template does not know about datarootdir, expand it.
3062 # FIXME: This hack should be removed a few years after 2.60.
3063 ac_datarootdir_hack=; ac_datarootdir_seen=
3065 case `sed -n '/datarootdir/ {
3074 ' $ac_file_inputs` in
3075 *datarootdir*) ac_datarootdir_seen=yes;;
3076 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3077 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3078 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3080 cat >>$CONFIG_STATUS <<_ACEOF
3081 ac_datarootdir_hack='
3082 s&@datadir@&$datadir&g
3083 s&@docdir@&$docdir&g
3084 s&@infodir@&$infodir&g
3085 s&@localedir@&$localedir&g
3086 s&@mandir@&$mandir&g
3087 s&\\\${datarootdir}&$datarootdir&g' ;;
3091 # Neutralize VPATH when `$srcdir' = `.'.
3092 # Shell code in configure.ac might set extrasub.
3093 # FIXME: do we really want to maintain this feature?
3094 cat >>$CONFIG_STATUS <<_ACEOF
3098 cat >>$CONFIG_STATUS <<\_ACEOF
3100 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3101 s&@configure_input@&$configure_input&;t t
3102 s&@top_builddir@&$ac_top_builddir_sub&;t t
3103 s&@srcdir@&$ac_srcdir&;t t
3104 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3105 s&@top_srcdir@&$ac_top_srcdir&;t t
3106 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3107 s&@builddir@&$ac_builddir&;t t
3108 s&@abs_builddir@&$ac_abs_builddir&;t t
3109 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3110 s&@INSTALL@&$ac_INSTALL&;t t
3111 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3112 $ac_datarootdir_hack
3113 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3115 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3116 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3117 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3118 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3119 which seems to be undefined. Please make sure it is defined." >&5
3120 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3121 which seems to be undefined. Please make sure it is defined." >&2;}
3125 -) cat "$tmp/out"; rm -f "$tmp/out";;
3126 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3137 { (exit 0); exit 0; }
3139 chmod +x $CONFIG_STATUS
3140 ac_clean_files=$ac_clean_files_save
3143 # configure is writing to config.log, and then calls config.status.
3144 # config.status does its own redirection, appending to config.log.
3145 # Unfortunately, on DOS this fails, as config.log is still kept open
3146 # by configure, so config.status won't be able to write to it; its
3147 # output is simply discarded. So we exec the FD to /dev/null,
3148 # effectively closing config.log, so it can be properly (re)opened and
3149 # appended to by config.status. When coming back to configure, we
3150 # need to make the FD available again.
3151 if test "$no_create" != yes; then
3153 ac_config_status_args=
3154 test "$silent" = yes &&
3155 ac_config_status_args="$ac_config_status_args --quiet"
3157 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3159 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3160 # would make configure fail if this is the last instruction.
3161 $ac_cs_success || { (exit 1); exit 1; }