d1f2c773c9dfc969c17f2a37a43a076c6b371fe5
[packages.git] / XOrg / proto / calibrateproto / src / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for xcalibrateproto 0.1.0.
4 #
5 # Report bugs to <pb@nexus.co.uk>.
6 #
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 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # 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+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # 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
46   chmod +x conf$$.sh
47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48     PATH_SEPARATOR=';'
49   else
50     PATH_SEPARATOR=:
51   fi
52   rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57   as_unset=unset
58 else
59   as_unset=false
60 fi
61
62
63 # IFS
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.)
68 as_nl='
69 '
70 IFS=" ""        $as_nl"
71
72 # Find who we are.  Look in the path if we contain no directory separator.
73 case $0 in
74   *[\\/]* ) as_myself=$0 ;;
75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78   IFS=$as_save_IFS
79   test -z "$as_dir" && as_dir=.
80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84      ;;
85 esac
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
89   as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93   { (exit 1); exit 1; }
94 fi
95
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
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
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 \
108   LC_TELEPHONE LC_TIME
109 do
110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111     eval $as_var=C; export $as_var
112   else
113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114   fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
120   as_expr=expr
121 else
122   as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126   as_basename=basename
127 else
128   as_basename=false
129 fi
130
131
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 ||
137 echo X/"$0" |
138     sed '/^.*\/\([^/][^/]*\)\/*$/{
139             s//\1/
140             q
141           }
142           /^X\/\(\/\/\)$/{
143             s//\1/
144             q
145           }
146           /^X\/\(\/\).*/{
147             s//\1/
148             q
149           }
150           s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157   if (eval ":") 2>/dev/null; then
158   as_have_required=yes
159 else
160   as_have_required=no
161 fi
162
163   if test $as_have_required = yes &&     (eval ":
164 (as_func_return () {
165   (exit \$1)
166 }
167 as_func_success () {
168   as_func_return 0
169 }
170 as_func_failure () {
171   as_func_return 1
172 }
173 as_func_ret_success () {
174   return 0
175 }
176 as_func_ret_failure () {
177   return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182   :
183 else
184   exitcode=1
185   echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189   exitcode=1
190   echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194   :
195 else
196   exitcode=1
197   echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201   exitcode=1
202   echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206   :
207 else
208   exitcode=1
209   echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215   as_lineno_1=\$LINENO
216   as_lineno_2=\$LINENO
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
220   :
221 else
222   as_candidate_shells=
223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226   IFS=$as_save_IFS
227   test -z "$as_dir" && as_dir=.
228   case $as_dir in
229          /*)
230            for as_base in sh bash ksh sh5; do
231              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232            done;;
233        esac
234 done
235 IFS=$as_save_IFS
236
237
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
243   emulate sh
244   NULLCMD=:
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+"$@"}'='"$@"'
248   setopt NO_GLOB_SUBST
249 else
250   case `(set -o) 2>/dev/null` in
251   *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260   CONFIG_SHELL=$as_shell
261                as_have_required=yes
262                if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264   emulate sh
265   NULLCMD=:
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+"$@"}'='"$@"'
269   setopt NO_GLOB_SUBST
270 else
271   case `(set -o) 2>/dev/null` in
272   *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280   (exit $1)
281 }
282 as_func_success () {
283   as_func_return 0
284 }
285 as_func_failure () {
286   as_func_return 1
287 }
288 as_func_ret_success () {
289   return 0
290 }
291 as_func_ret_failure () {
292   return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297   :
298 else
299   exitcode=1
300   echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304   exitcode=1
305   echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309   :
310 else
311   exitcode=1
312   echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316   exitcode=1
317   echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321   :
322 else
323   exitcode=1
324   echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330   as_lineno_1=$LINENO
331   as_lineno_2=$LINENO
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; }
334
335 _ASEOF
336 }; then
337   break
338 fi
339
340 fi
341
342       done
343
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
347         done
348         export CONFIG_SHELL
349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
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; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369   (exit \$1)
370 }
371 as_func_success () {
372   as_func_return 0
373 }
374 as_func_failure () {
375   as_func_return 1
376 }
377 as_func_ret_success () {
378   return 0
379 }
380 as_func_ret_failure () {
381   return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386   :
387 else
388   exitcode=1
389   echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393   exitcode=1
394   echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398   :
399 else
400   exitcode=1
401   echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405   exitcode=1
406   echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410   :
411 else
412   exitcode=1
413   echo positional parameters were not saved.
414 fi
415
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
420   echo message
421 }
422
423
424
425   as_lineno_1=$LINENO
426   as_lineno_2=$LINENO
427   test "x$as_lineno_1" != "x$as_lineno_2" &&
428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
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
436   # case at line end.
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.  :-)
440   sed -n '
441     p
442     /[$]LINENO/=
443   ' <$as_myself |
444     sed '
445       s/[$]LINENO.*/&-/
446       t lineno
447       b
448       :lineno
449       N
450       :loop
451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452       t loop
453       s/-\n.*//
454     ' >$as_me.lineno &&
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; }; }
458
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).
462   . "./$as_me.lineno"
463   # Exit status is that of the last command.
464   exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469   as_dirname=dirname
470 else
471   as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477   case `echo 'x\c'` in
478   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479   *)   ECHO_C='\c';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
487   as_expr=expr
488 else
489   as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494   rm -f conf$$.dir/conf$$.file
495 else
496   rm -f conf$$.dir
497   mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501   as_ln_s='ln -s'
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 ||
507     as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509   as_ln_s=ln
510 else
511   as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517   as_mkdir_p=:
518 else
519   test -d ./-p && rmdir ./-p
520   as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524   as_test_x='test -x'
525 else
526   if ls -dL / >/dev/null 2>&1; then
527     as_ls_L_option=L
528   else
529     as_ls_L_option=
530   fi
531   as_test_x='
532     eval sh -c '\''
533       if test -d "$1"; then
534         test -d "$1/.";
535       else
536         case $1 in
537         -*)set "./$1";;
538         esac;
539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540         ???[sx]*):;;*)false;;esac;fi
541     '\'' sh
542   '
543 fi
544 as_executable_p=$as_test_x
545
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'"
548
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'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
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`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
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'
580
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 INSTALL_PROGRAM
619 INSTALL_SCRIPT
620 INSTALL_DATA
621 am__isrc
622 CYGPATH_W
623 PACKAGE
624 VERSION
625 ACLOCAL
626 AUTOCONF
627 AUTOMAKE
628 AUTOHEADER
629 MAKEINFO
630 install_sh
631 STRIP
632 INSTALL_STRIP_PROGRAM
633 mkdir_p
634 AWK
635 SET_MAKE
636 am__leading_dot
637 AMTAR
638 am__tar
639 am__untar
640 LIBOBJS
641 LTLIBOBJS'
642 ac_subst_files=''
643       ac_precious_vars='build_alias
644 host_alias
645 target_alias'
646
647
648 # Initialize some variables set by options.
649 ac_init_help=
650 ac_init_version=false
651 # The variables have the same names as the options, with
652 # dashes changed to underlines.
653 cache_file=/dev/null
654 exec_prefix=NONE
655 no_create=
656 no_recursion=
657 prefix=NONE
658 program_prefix=NONE
659 program_suffix=NONE
660 program_transform_name=s,x,x,
661 silent=
662 site=
663 srcdir=
664 verbose=
665 x_includes=NONE
666 x_libraries=NONE
667
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'
686 htmldir='${docdir}'
687 dvidir='${docdir}'
688 pdfdir='${docdir}'
689 psdir='${docdir}'
690 libdir='${exec_prefix}/lib'
691 localedir='${datarootdir}/locale'
692 mandir='${datarootdir}/man'
693
694 ac_prev=
695 ac_dashdash=
696 for ac_option
697 do
698   # If the previous option needs an argument, assign it.
699   if test -n "$ac_prev"; then
700     eval $ac_prev=\$ac_option
701     ac_prev=
702     continue
703   fi
704
705   case $ac_option in
706   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
707   *)    ac_optarg=yes ;;
708   esac
709
710   # Accept the important Cygnus configure options, so we can diagnose typos.
711
712   case $ac_dashdash$ac_option in
713   --)
714     ac_dashdash=yes ;;
715
716   -bindir | --bindir | --bindi | --bind | --bin | --bi)
717     ac_prev=bindir ;;
718   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
719     bindir=$ac_optarg ;;
720
721   -build | --build | --buil | --bui | --bu)
722     ac_prev=build_alias ;;
723   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
724     build_alias=$ac_optarg ;;
725
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 ;;
732
733   --config-cache | -C)
734     cache_file=config.cache ;;
735
736   -datadir | --datadir | --datadi | --datad)
737     ac_prev=datadir ;;
738   -datadir=* | --datadir=* | --datadi=* | --datad=*)
739     datadir=$ac_optarg ;;
740
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 ;;
747
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 ;;
756
757   -docdir | --docdir | --docdi | --doc | --do)
758     ac_prev=docdir ;;
759   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
760     docdir=$ac_optarg ;;
761
762   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
763     ac_prev=dvidir ;;
764   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
765     dvidir=$ac_optarg ;;
766
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 ;;
775
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 ;;
784
785   -gas | --gas | --ga | --g)
786     # Obsolete; use --with-gas.
787     with_gas=yes ;;
788
789   -help | --help | --hel | --he | -h)
790     ac_init_help=long ;;
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 ;;
795
796   -host | --host | --hos | --ho)
797     ac_prev=host_alias ;;
798   -host=* | --host=* | --hos=* | --ho=*)
799     host_alias=$ac_optarg ;;
800
801   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
802     ac_prev=htmldir ;;
803   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
804   | --ht=*)
805     htmldir=$ac_optarg ;;
806
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 ;;
813
814   -infodir | --infodir | --infodi | --infod | --info | --inf)
815     ac_prev=infodir ;;
816   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
817     infodir=$ac_optarg ;;
818
819   -libdir | --libdir | --libdi | --libd)
820     ac_prev=libdir ;;
821   -libdir=* | --libdir=* | --libdi=* | --libd=*)
822     libdir=$ac_optarg ;;
823
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 ;;
830
831   -localedir | --localedir | --localedi | --localed | --locale)
832     ac_prev=localedir ;;
833   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
834     localedir=$ac_optarg ;;
835
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 ;;
842
843   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
844     ac_prev=mandir ;;
845   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
846     mandir=$ac_optarg ;;
847
848   -nfp | --nfp | --nf)
849     # Obsolete; use --without-fp.
850     with_fp=no ;;
851
852   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
853   | --no-cr | --no-c | -n)
854     no_create=yes ;;
855
856   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
857   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
858     no_recursion=yes ;;
859
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 ;;
868
869   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
870     ac_prev=prefix ;;
871   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
872     prefix=$ac_optarg ;;
873
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 ;;
880
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 ;;
887
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 ;;
904
905   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
906     ac_prev=pdfdir ;;
907   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
908     pdfdir=$ac_optarg ;;
909
910   -psdir | --psdir | --psdi | --psd | --ps)
911     ac_prev=psdir ;;
912   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
913     psdir=$ac_optarg ;;
914
915   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
916   | -silent | --silent | --silen | --sile | --sil)
917     silent=yes ;;
918
919   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
920     ac_prev=sbindir ;;
921   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
922   | --sbi=* | --sb=*)
923     sbindir=$ac_optarg ;;
924
925   -sharedstatedir | --sharedstatedir | --sharedstatedi \
926   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
927   | --sharedst | --shareds | --shared | --share | --shar \
928   | --sha | --sh)
929     ac_prev=sharedstatedir ;;
930   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
931   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
932   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
933   | --sha=* | --sh=*)
934     sharedstatedir=$ac_optarg ;;
935
936   -site | --site | --sit)
937     ac_prev=site ;;
938   -site=* | --site=* | --sit=*)
939     site=$ac_optarg ;;
940
941   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
942     ac_prev=srcdir ;;
943   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
944     srcdir=$ac_optarg ;;
945
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 ;;
952
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 ;;
957
958   -v | -verbose | --verbose | --verbos | --verbo | --verb)
959     verbose=yes ;;
960
961   -version | --version | --versio | --versi | --vers | -V)
962     ac_init_version=: ;;
963
964   -with-* | --with-*)
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 ;;
972
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 ;;
981
982   --x)
983     # Obsolete; use --with-x.
984     with_x=yes ;;
985
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 ;;
992
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 ;;
999
1000   -*) { echo "$as_me: error: unrecognized option: $ac_option
1001 Try \`$0 --help' for more information." >&2
1002    { (exit 1); exit 1; }; }
1003     ;;
1004
1005   *=*)
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 ;;
1013
1014   *)
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}
1020     ;;
1021
1022   esac
1023 done
1024
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; }; }
1029 fi
1030
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
1036 do
1037   eval ac_val=\$$ac_var
1038   case $ac_val in
1039     [\\/$]* | ?:[\\/]* )  continue;;
1040     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1041   esac
1042   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1043    { (exit 1); exit 1; }; }
1044 done
1045
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.
1049 build=$build_alias
1050 host=$host_alias
1051 target=$target_alias
1052
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
1060     cross_compiling=yes
1061   fi
1062 fi
1063
1064 ac_tool_prefix=
1065 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1066
1067 test "$silent" = yes && exec 6>/dev/null
1068
1069
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; }; }
1078
1079
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 ||
1089 echo X"$0" |
1090     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1091             s//\1/
1092             q
1093           }
1094           /^X\(\/\/\)[^/].*/{
1095             s//\1/
1096             q
1097           }
1098           /^X\(\/\/\)$/{
1099             s//\1/
1100             q
1101           }
1102           /^X\(\/\).*/{
1103             s//\1/
1104             q
1105           }
1106           s/.*/./; q'`
1107   srcdir=$ac_confdir
1108   if test ! -r "$srcdir/$ac_unique_file"; then
1109     srcdir=..
1110   fi
1111 else
1112   ac_srcdir_defaulted=no
1113 fi
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; }; }
1118 fi
1119 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1120 ac_abs_confdir=`(
1121         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1122    { (exit 1); exit 1; }; }
1123         pwd)`
1124 # When building in place, set srcdir=.
1125 if test "$ac_abs_confdir" = "$ac_pwd"; then
1126   srcdir=.
1127 fi
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.
1131 case $srcdir in
1132 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1133 esac
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}
1139 done
1140
1141 #
1142 # Report the --help message.
1143 #
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.
1147   cat <<_ACEOF
1148 \`configure' configures xcalibrateproto 0.1.0 to adapt to many kinds of systems.
1149
1150 Usage: $0 [OPTION]... [VAR=VALUE]...
1151
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.
1154
1155 Defaults for the options are specified in brackets.
1156
1157 Configuration:
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 \`..']
1167
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
1172                           [PREFIX]
1173
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'.
1178
1179 For better control, use the options below.
1180
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]
1201 _ACEOF
1202
1203   cat <<\_ACEOF
1204
1205 Program names:
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
1209 _ACEOF
1210 fi
1211
1212 if test -n "$ac_init_help"; then
1213   case $ac_init_help in
1214      short | recursive ) echo "Configuration of xcalibrateproto 0.1.0:";;
1215    esac
1216   cat <<\_ACEOF
1217
1218 Report bugs to <pb@nexus.co.uk>.
1219 _ACEOF
1220 ac_status=$?
1221 fi
1222
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
1227     ac_builddir=.
1228
1229 case "$ac_dir" in
1230 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1231 *)
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/ ;;
1238   esac ;;
1239 esac
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
1244
1245 case $srcdir in
1246   .)  # We are building in place.
1247     ac_srcdir=.
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 ;;
1254   *) # Relative name.
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 ;;
1258 esac
1259 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1260
1261     cd "$ac_dir" || { ac_status=$?; continue; }
1262     # Check for guested configure.
1263     if test -f "$ac_srcdir/configure.gnu"; then
1264       echo &&
1265       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1266     elif test -f "$ac_srcdir/configure"; then
1267       echo &&
1268       $SHELL "$ac_srcdir/configure" --help=recursive
1269     else
1270       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1271     fi || ac_status=$?
1272     cd "$ac_pwd" || { ac_status=$?; break; }
1273   done
1274 fi
1275
1276 test -n "$ac_init_help" && exit $ac_status
1277 if $ac_init_version; then
1278   cat <<\_ACEOF
1279 xcalibrateproto configure 0.1.0
1280 generated by GNU Autoconf 2.61
1281
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.
1286 _ACEOF
1287   exit
1288 fi
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.
1292
1293 It was created by xcalibrateproto $as_me 0.1.0, which was
1294 generated by GNU Autoconf 2.61.  Invocation command line was
1295
1296   $ $0 $@
1297
1298 _ACEOF
1299 exec 5>>config.log
1300 {
1301 cat <<_ASUNAME
1302 ## --------- ##
1303 ## Platform. ##
1304 ## --------- ##
1305
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`
1311
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`
1314
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`
1322
1323 _ASUNAME
1324
1325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1326 for as_dir in $PATH
1327 do
1328   IFS=$as_save_IFS
1329   test -z "$as_dir" && as_dir=.
1330   echo "PATH: $as_dir"
1331 done
1332 IFS=$as_save_IFS
1333
1334 } >&5
1335
1336 cat >&5 <<_ACEOF
1337
1338
1339 ## ----------- ##
1340 ## Core tests. ##
1341 ## ----------- ##
1342
1343 _ACEOF
1344
1345
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.
1351 ac_configure_args=
1352 ac_configure_args0=
1353 ac_configure_args1=
1354 ac_must_keep_next=false
1355 for ac_pass in 1 2
1356 do
1357   for ac_arg
1358   do
1359     case $ac_arg in
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)
1363       continue ;;
1364     *\'*)
1365       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1366     esac
1367     case $ac_pass in
1368     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1369     2)
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.
1373       else
1374         case $ac_arg in
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 ;;
1381             esac
1382             ;;
1383           -* ) ac_must_keep_next=true ;;
1384         esac
1385       fi
1386       ac_configure_args="$ac_configure_args '$ac_arg'"
1387       ;;
1388     esac
1389   done
1390 done
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; }
1393
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.
1401   {
1402     echo
1403
1404     cat <<\_ASBOX
1405 ## ---------------- ##
1406 ## Cache variables. ##
1407 ## ---------------- ##
1408 _ASBOX
1409     echo
1410     # The following way of writing the cache mishandles newlines in values,
1411 (
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
1414     case $ac_val in #(
1415     *${as_nl}*)
1416       case $ac_var in #(
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;} ;;
1419       esac
1420       case $ac_var in #(
1421       _ | IFS | as_nl) ;; #(
1422       *) $as_unset $ac_var ;;
1423       esac ;;
1424     esac
1425   done
1426   (set) 2>&1 |
1427     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1428     *${as_nl}ac_space=\ *)
1429       sed -n \
1430         "s/'\''/'\''\\\\'\'''\''/g;
1431           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1432       ;; #(
1433     *)
1434       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1435       ;;
1436     esac |
1437     sort
1438 )
1439     echo
1440
1441     cat <<\_ASBOX
1442 ## ----------------- ##
1443 ## Output variables. ##
1444 ## ----------------- ##
1445 _ASBOX
1446     echo
1447     for ac_var in $ac_subst_vars
1448     do
1449       eval ac_val=\$$ac_var
1450       case $ac_val in
1451       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1452       esac
1453       echo "$ac_var='\''$ac_val'\''"
1454     done | sort
1455     echo
1456
1457     if test -n "$ac_subst_files"; then
1458       cat <<\_ASBOX
1459 ## ------------------- ##
1460 ## File substitutions. ##
1461 ## ------------------- ##
1462 _ASBOX
1463       echo
1464       for ac_var in $ac_subst_files
1465       do
1466         eval ac_val=\$$ac_var
1467         case $ac_val in
1468         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1469         esac
1470         echo "$ac_var='\''$ac_val'\''"
1471       done | sort
1472       echo
1473     fi
1474
1475     if test -s confdefs.h; then
1476       cat <<\_ASBOX
1477 ## ----------- ##
1478 ## confdefs.h. ##
1479 ## ----------- ##
1480 _ASBOX
1481       echo
1482       cat confdefs.h
1483       echo
1484     fi
1485     test "$ac_signal" != 0 &&
1486       echo "$as_me: caught signal $ac_signal"
1487     echo "$as_me: exit $exit_status"
1488   } >&5
1489   rm -f core *.core core.conftest.* &&
1490     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1491     exit $exit_status
1492 ' 0
1493 for ac_signal in 1 2 13 15; do
1494   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1495 done
1496 ac_signal=0
1497
1498 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1499 rm -f -r conftest* confdefs.h
1500
1501 # Predefined preprocessor variables.
1502
1503 cat >>confdefs.h <<_ACEOF
1504 #define PACKAGE_NAME "$PACKAGE_NAME"
1505 _ACEOF
1506
1507
1508 cat >>confdefs.h <<_ACEOF
1509 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1510 _ACEOF
1511
1512
1513 cat >>confdefs.h <<_ACEOF
1514 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1515 _ACEOF
1516
1517
1518 cat >>confdefs.h <<_ACEOF
1519 #define PACKAGE_STRING "$PACKAGE_STRING"
1520 _ACEOF
1521
1522
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1525 _ACEOF
1526
1527
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"
1534 else
1535   set x "$ac_default_prefix/share/config.site" \
1536         "$ac_default_prefix/etc/config.site"
1537 fi
1538 shift
1539 for ac_site_file
1540 do
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
1545     . "$ac_site_file"
1546   fi
1547 done
1548
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;}
1555     case $cache_file in
1556       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1557       *)                      . "./$cache_file";;
1558     esac
1559   fi
1560 else
1561   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1562 echo "$as_me: creating cache $cache_file" >&6;}
1563   >$cache_file
1564 fi
1565
1566 # Check that the precious variables saved in the cache have kept the same
1567 # value.
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
1575     set,)
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=: ;;
1579     ,set)
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=: ;;
1583     ,);;
1584     *)
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=:
1593       fi;;
1594   esac
1595   # Pass precious variables to config.status.
1596   if test "$ac_new_set" = set; then
1597     case $ac_new_val in
1598     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1599     *) ac_arg=$ac_var=$ac_new_val ;;
1600     esac
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'" ;;
1604     esac
1605   fi
1606 done
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; }; }
1613 fi
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639 ac_ext=c
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
1644
1645
1646 am__api_version='1.10'
1647
1648 ac_aux_dir=
1649 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1650   if test -f "$ac_dir/install-sh"; then
1651     ac_aux_dir=$ac_dir
1652     ac_install_sh="$ac_aux_dir/install-sh -c"
1653     break
1654   elif test -f "$ac_dir/install.sh"; then
1655     ac_aux_dir=$ac_dir
1656     ac_install_sh="$ac_aux_dir/install.sh -c"
1657     break
1658   elif test -f "$ac_dir/shtool"; then
1659     ac_aux_dir=$ac_dir
1660     ac_install_sh="$ac_aux_dir/shtool install -c"
1661     break
1662   fi
1663 done
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; }; }
1668 fi
1669
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.
1677
1678
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
1685 # AIX /bin/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
1697 else
1698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1699 for as_dir in $PATH
1700 do
1701   IFS=$as_save_IFS
1702   test -z "$as_dir" && as_dir=.
1703   # Account for people who put trailing slashes in PATH elements.
1704 case $as_dir/ in
1705   ./ | .// | /cC/* | \
1706   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1707   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1708   /usr/ucb/* ) ;;
1709   *)
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
1712     # by default.
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.
1719             :
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.
1723             :
1724           else
1725             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1726             break 3
1727           fi
1728         fi
1729       done
1730     done
1731     ;;
1732 esac
1733 done
1734 IFS=$as_save_IFS
1735
1736
1737 fi
1738   if test "${ac_cv_path_install+set}" = set; then
1739     INSTALL=$ac_cv_path_install
1740   else
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
1746   fi
1747 fi
1748 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1749 echo "${ECHO_T}$INSTALL" >&6; }
1750
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}'
1754
1755 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1756
1757 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1758
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; }
1761 # Just in case
1762 sleep 1
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
1768 # directory).
1769 if (
1770    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1771    if test "$*" = "X"; then
1772       # -L didn't work.
1773       set X `ls -t $srcdir/configure conftest.file`
1774    fi
1775    rm -f conftest.file
1776    if test "$*" != "X $srcdir/configure conftest.file" \
1777       && test "$*" != "X conftest.file $srcdir/configure"; then
1778
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; }; }
1788    fi
1789
1790    test "$2" = conftest.file
1791    )
1792 then
1793    # Ok.
1794    :
1795 else
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; }; }
1801 fi
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,$//
1813 _ACEOF
1814 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1815 rm -f conftest.sed
1816
1817 # expand $ac_aux_dir to an absolute path
1818 am_aux_dir=`cd $ac_aux_dir && pwd`
1819
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 "
1824 else
1825   am_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;}
1828 fi
1829
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
1835 else
1836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1838 do
1839   IFS=$as_save_IFS
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
1849                break 3;;
1850            esac
1851          done
1852        done
1853 done
1854 IFS=$as_save_IFS
1855
1856 fi
1857
1858   if test "${ac_cv_path_mkdir+set}" = set; then
1859     MKDIR_P="$ac_cv_path_mkdir -p"
1860   else
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"
1867   fi
1868 fi
1869 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1870 echo "${ECHO_T}$MKDIR_P" >&6; }
1871
1872 mkdir_p="$MKDIR_P"
1873 case $mkdir_p in
1874   [\\/$]* | ?:[\\/]*) ;;
1875   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1876 esac
1877
1878 for ac_prog in gawk mawk nawk awk
1879 do
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
1886 else
1887   if test -n "$AWK"; then
1888   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1889 else
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 for as_dir in $PATH
1892 do
1893   IFS=$as_save_IFS
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
1899     break 2
1900   fi
1901 done
1902 done
1903 IFS=$as_save_IFS
1904
1905 fi
1906 fi
1907 AWK=$ac_cv_prog_AWK
1908 if test -n "$AWK"; then
1909   { echo "$as_me:$LINENO: result: $AWK" >&5
1910 echo "${ECHO_T}$AWK" >&6; }
1911 else
1912   { echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6; }
1914 fi
1915
1916
1917   test -n "$AWK" && break
1918 done
1919
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
1925 else
1926   cat >conftest.make <<\_ACEOF
1927 SHELL = /bin/sh
1928 all:
1929         @echo '@@@%%%=$(MAKE)=@@@%%%'
1930 _ACEOF
1931 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1932 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1933   *@@@%%%=?*=@@@%%%*)
1934     eval ac_cv_prog_make_${ac_make}_set=yes;;
1935   *)
1936     eval ac_cv_prog_make_${ac_make}_set=no;;
1937 esac
1938 rm -f conftest.make
1939 fi
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; }
1943   SET_MAKE=
1944 else
1945   { echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6; }
1947   SET_MAKE="MAKE=${MAKE-make}"
1948 fi
1949
1950 rm -rf .tst 2>/dev/null
1951 mkdir .tst 2>/dev/null
1952 if test -d .tst; then
1953   am__leading_dot=.
1954 else
1955   am__leading_dot=_
1956 fi
1957 rmdir .tst 2>/dev/null
1958
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; }; }
1968   fi
1969 fi
1970
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'
1975   else
1976     CYGPATH_W=echo
1977   fi
1978 fi
1979
1980
1981 # Define the identity of the package.
1982  PACKAGE='xcalibrateproto'
1983  VERSION='0.1.0'
1984
1985
1986 cat >>confdefs.h <<_ACEOF
1987 #define PACKAGE "$PACKAGE"
1988 _ACEOF
1989
1990
1991 cat >>confdefs.h <<_ACEOF
1992 #define VERSION "$VERSION"
1993 _ACEOF
1994
1995 # Some tools Automake needs.
1996
1997 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1998
1999
2000 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2001
2002
2003 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2004
2005
2006 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2007
2008
2009 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2010
2011 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2012
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
2025 else
2026   if test -n "$STRIP"; then
2027   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2028 else
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 for as_dir in $PATH
2031 do
2032   IFS=$as_save_IFS
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
2038     break 2
2039   fi
2040 done
2041 done
2042 IFS=$as_save_IFS
2043
2044 fi
2045 fi
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; }
2050 else
2051   { echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6; }
2053 fi
2054
2055
2056 fi
2057 if test -z "$ac_cv_prog_STRIP"; then
2058   ac_ct_STRIP=$STRIP
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
2065 else
2066   if test -n "$ac_ct_STRIP"; then
2067   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2068 else
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2071 do
2072   IFS=$as_save_IFS
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
2078     break 2
2079   fi
2080 done
2081 done
2082 IFS=$as_save_IFS
2083
2084 fi
2085 fi
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; }
2090 else
2091   { echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6; }
2093 fi
2094
2095   if test "x$ac_ct_STRIP" = x; then
2096     STRIP=":"
2097   else
2098     case $cross_compiling:$ac_tool_warned in
2099 yes:)
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 ;;
2107 esac
2108     STRIP=$ac_ct_STRIP
2109   fi
2110 else
2111   STRIP="$ac_cv_prog_STRIP"
2112 fi
2113
2114 fi
2115 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2116
2117 # We need awk for the "check" target.  The system "awk" is bad on
2118 # some platforms.
2119 # Always define AMTAR for backward compatibility.
2120
2121 AMTAR=${AMTAR-"${am_missing_run}tar"}
2122
2123 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2124
2125
2126
2127
2128
2129
2130 ac_config_files="$ac_config_files Makefile xcalibrateproto.pc"
2131
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.
2138 #
2139 # config.status only pays attention to the cache file if you give it
2140 # the --recheck option to rerun configure.
2141 #
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
2144 # following values.
2145
2146 _ACEOF
2147
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.
2153 (
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
2156     case $ac_val in #(
2157     *${as_nl}*)
2158       case $ac_var in #(
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;} ;;
2161       esac
2162       case $ac_var in #(
2163       _ | IFS | as_nl) ;; #(
2164       *) $as_unset $ac_var ;;
2165       esac ;;
2166     esac
2167   done
2168
2169   (set) 2>&1 |
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 \).
2174       sed -n \
2175         "s/'/'\\\\''/g;
2176           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2177       ;; #(
2178     *)
2179       # `set' quotes correctly as required by POSIX, so do not add quotes.
2180       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181       ;;
2182     esac |
2183     sort
2184 ) |
2185   sed '
2186      /^ac_cv_env_/b end
2187      t clear
2188      :clear
2189      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2190      t end
2191      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2192      :end' >>confcache
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
2199   else
2200     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2201 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2202   fi
2203 fi
2204 rm -f confcache
2205
2206 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2207 # Let make expand exec_prefix.
2208 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2209
2210 # Transform confdefs.h into DEFS.
2211 # Protect against shell expansion while executing Makefile rules.
2212 # Protect against Makefile macro expansion.
2213 #
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.
2217 ac_script='
2218 t clear
2219 :clear
2220 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2221 t quote
2222 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2223 t quote
2224 b any
2225 :quote
2226 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2227 s/\[/\\&/g
2228 s/\]/\\&/g
2229 s/\$/$$/g
2230 H
2231 :any
2232 ${
2233         g
2234         s/^\n//
2235         s/\n/ /g
2236         p
2237 }
2238 '
2239 DEFS=`sed -n "$ac_script" confdefs.h`
2240
2241
2242 ac_libobjs=
2243 ac_ltlibobjs=
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'
2252 done
2253 LIBOBJS=$ac_libobjs
2254
2255 LTLIBOBJS=$ac_ltlibobjs
2256
2257
2258
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
2265 #! $SHELL
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.
2270
2271 debug=false
2272 ac_cs_recheck=false
2273 ac_cs_silent=false
2274 SHELL=\${CONFIG_SHELL-$SHELL}
2275 _ACEOF
2276
2277 cat >>$CONFIG_STATUS <<\_ACEOF
2278 ## --------------------- ##
2279 ## M4sh Initialization.  ##
2280 ## --------------------- ##
2281
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
2285   emulate sh
2286   NULLCMD=:
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
2291 else
2292   case `(set -o) 2>/dev/null` in
2293   *posix*) set -o posix ;;
2294 esac
2295
2296 fi
2297
2298
2299
2300
2301 # PATH needs CR
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
2308
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
2313   chmod +x conf$$.sh
2314   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2315     PATH_SEPARATOR=';'
2316   else
2317     PATH_SEPARATOR=:
2318   fi
2319   rm -f conf$$.sh
2320 fi
2321
2322 # Support unset when possible.
2323 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2324   as_unset=unset
2325 else
2326   as_unset=false
2327 fi
2328
2329
2330 # IFS
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.)
2335 as_nl='
2336 '
2337 IFS=" ""        $as_nl"
2338
2339 # Find who we are.  Look in the path if we contain no directory separator.
2340 case $0 in
2341   *[\\/]* ) as_myself=$0 ;;
2342   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH
2344 do
2345   IFS=$as_save_IFS
2346   test -z "$as_dir" && as_dir=.
2347   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2348 done
2349 IFS=$as_save_IFS
2350
2351      ;;
2352 esac
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
2356   as_myself=$0
2357 fi
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; }
2361 fi
2362
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
2366 done
2367 PS1='$ '
2368 PS2='> '
2369 PS4='+ '
2370
2371 # NLS nuisances.
2372 for as_var in \
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
2376 do
2377   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2378     eval $as_var=C; export $as_var
2379   else
2380     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2381   fi
2382 done
2383
2384 # Required to use basename.
2385 if expr a : '\(a\)' >/dev/null 2>&1 &&
2386    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2387   as_expr=expr
2388 else
2389   as_expr=false
2390 fi
2391
2392 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2393   as_basename=basename
2394 else
2395   as_basename=false
2396 fi
2397
2398
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 ||
2404 echo X/"$0" |
2405     sed '/^.*\/\([^/][^/]*\)\/*$/{
2406             s//\1/
2407             q
2408           }
2409           /^X\/\(\/\/\)$/{
2410             s//\1/
2411             q
2412           }
2413           /^X\/\(\/\).*/{
2414             s//\1/
2415             q
2416           }
2417           s/.*/./; q'`
2418
2419 # CDPATH.
2420 $as_unset CDPATH
2421
2422
2423
2424   as_lineno_1=$LINENO
2425   as_lineno_2=$LINENO
2426   test "x$as_lineno_1" != "x$as_lineno_2" &&
2427   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2428
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
2435   # case at line end.
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.  :-)
2439   sed -n '
2440     p
2441     /[$]LINENO/=
2442   ' <$as_myself |
2443     sed '
2444       s/[$]LINENO.*/&-/
2445       t lineno
2446       b
2447       :lineno
2448       N
2449       :loop
2450       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2451       t loop
2452       s/-\n.*//
2453     ' >$as_me.lineno &&
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; }; }
2457
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).
2461   . "./$as_me.lineno"
2462   # Exit status is that of the last command.
2463   exit
2464 }
2465
2466
2467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2468   as_dirname=dirname
2469 else
2470   as_dirname=false
2471 fi
2472
2473 ECHO_C= ECHO_N= ECHO_T=
2474 case `echo -n x` in
2475 -n*)
2476   case `echo 'x\c'` in
2477   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2478   *)   ECHO_C='\c';;
2479   esac;;
2480 *)
2481   ECHO_N='-n';;
2482 esac
2483
2484 if expr a : '\(a\)' >/dev/null 2>&1 &&
2485    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2486   as_expr=expr
2487 else
2488   as_expr=false
2489 fi
2490
2491 rm -f conf$$ conf$$.exe conf$$.file
2492 if test -d conf$$.dir; then
2493   rm -f conf$$.dir/conf$$.file
2494 else
2495   rm -f conf$$.dir
2496   mkdir conf$$.dir
2497 fi
2498 echo >conf$$.file
2499 if ln -s conf$$.file conf$$ 2>/dev/null; then
2500   as_ln_s='ln -s'
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 ||
2506     as_ln_s='cp -p'
2507 elif ln conf$$.file conf$$ 2>/dev/null; then
2508   as_ln_s=ln
2509 else
2510   as_ln_s='cp -p'
2511 fi
2512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2513 rmdir conf$$.dir 2>/dev/null
2514
2515 if mkdir -p . 2>/dev/null; then
2516   as_mkdir_p=:
2517 else
2518   test -d ./-p && rmdir ./-p
2519   as_mkdir_p=false
2520 fi
2521
2522 if test -x / >/dev/null 2>&1; then
2523   as_test_x='test -x'
2524 else
2525   if ls -dL / >/dev/null 2>&1; then
2526     as_ls_L_option=L
2527   else
2528     as_ls_L_option=
2529   fi
2530   as_test_x='
2531     eval sh -c '\''
2532       if test -d "$1"; then
2533         test -d "$1/.";
2534       else
2535         case $1 in
2536         -*)set "./$1";;
2537         esac;
2538         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2539         ???[sx]*):;;*)false;;esac;fi
2540     '\'' sh
2541   '
2542 fi
2543 as_executable_p=$as_test_x
2544
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'"
2547
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'"
2550
2551
2552 exec 6>&1
2553
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.
2557 ac_log="
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
2560
2561   CONFIG_FILES    = $CONFIG_FILES
2562   CONFIG_HEADERS  = $CONFIG_HEADERS
2563   CONFIG_LINKS    = $CONFIG_LINKS
2564   CONFIG_COMMANDS = $CONFIG_COMMANDS
2565   $ $0 $@
2566
2567 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2568 "
2569
2570 _ACEOF
2571
2572 cat >>$CONFIG_STATUS <<_ACEOF
2573 # Files that config.status was made for.
2574 config_files="$ac_config_files"
2575
2576 _ACEOF
2577
2578 cat >>$CONFIG_STATUS <<\_ACEOF
2579 ac_cs_usage="\
2580 \`$as_me' instantiates files from templates according to the
2581 current configuration.
2582
2583 Usage: $0 [OPTIONS] [FILE]...
2584
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
2592
2593 Configuration files:
2594 $config_files
2595
2596 Report bugs to <bug-autoconf@gnu.org>."
2597
2598 _ACEOF
2599 cat >>$CONFIG_STATUS <<_ACEOF
2600 ac_cs_version="\\
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'`\\"
2604
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."
2608
2609 ac_pwd='$ac_pwd'
2610 srcdir='$srcdir'
2611 INSTALL='$INSTALL'
2612 MKDIR_P='$MKDIR_P'
2613 _ACEOF
2614
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.
2618 ac_need_defaults=:
2619 while test $# != 0
2620 do
2621   case $1 in
2622   --*=*)
2623     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2624     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2625     ac_shift=:
2626     ;;
2627   *)
2628     ac_option=$1
2629     ac_optarg=$2
2630     ac_shift=shift
2631     ;;
2632   esac
2633
2634   case $ac_option in
2635   # Handling of the options.
2636   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2637     ac_cs_recheck=: ;;
2638   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2639     echo "$ac_cs_version"; exit ;;
2640   --debug | --debu | --deb | --de | --d | -d )
2641     debug=: ;;
2642   --file | --fil | --fi | --f )
2643     $ac_shift
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)
2650     ac_cs_silent=: ;;
2651
2652   # This is an error.
2653   -*) { echo "$as_me: error: unrecognized option: $1
2654 Try \`$0 --help' for more information." >&2
2655    { (exit 1); exit 1; }; } ;;
2656
2657   *) ac_config_targets="$ac_config_targets $1"
2658      ac_need_defaults=false ;;
2659
2660   esac
2661   shift
2662 done
2663
2664 ac_configure_extra_args=
2665
2666 if $ac_cs_silent; then
2667   exec 6>/dev/null
2668   ac_configure_extra_args="$ac_configure_extra_args --silent"
2669 fi
2670
2671 _ACEOF
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
2675   CONFIG_SHELL=$SHELL
2676   export CONFIG_SHELL
2677   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2678 fi
2679
2680 _ACEOF
2681 cat >>$CONFIG_STATUS <<\_ACEOF
2682 exec 5>>config.log
2683 {
2684   echo
2685   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2686 ## Running $as_me. ##
2687 _ASBOX
2688   echo "$ac_log"
2689 } >&5
2690
2691 _ACEOF
2692 cat >>$CONFIG_STATUS <<_ACEOF
2693 _ACEOF
2694
2695 cat >>$CONFIG_STATUS <<\_ACEOF
2696
2697 # Handling of arguments.
2698 for ac_config_target in $ac_config_targets
2699 do
2700   case $ac_config_target in
2701     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2702     "xcalibrateproto.pc") CONFIG_FILES="$CONFIG_FILES xcalibrateproto.pc" ;;
2703
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; }; };;
2707   esac
2708 done
2709
2710
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
2717 fi
2718
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'.
2725 $debug ||
2726 {
2727   tmp=
2728   trap 'exit_status=$?
2729   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2730 ' 0
2731   trap '{ (exit 1); exit 1; }' 1 2 13 15
2732 }
2733 # Create a (secure) tmp directory for tmp files.
2734
2735 {
2736   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2737   test -n "$tmp" && test -d "$tmp"
2738 }  ||
2739 {
2740   tmp=./conf$$-$RANDOM
2741   (umask 077 && mkdir "$tmp")
2742 } ||
2743 {
2744    echo "$me: cannot create a temporary directory in ." >&2
2745    { (exit 1); exit 1; }
2746 }
2747
2748 #
2749 # Set up the sed scripts for CONFIG_FILES section.
2750 #
2751
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
2755
2756 _ACEOF
2757
2758
2759
2760 ac_delim='%!_!# '
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
2792 DEFS!$DEFS$ac_delim
2793 ECHO_C!$ECHO_C$ac_delim
2794 ECHO_N!$ECHO_N$ac_delim
2795 ECHO_T!$ECHO_T$ac_delim
2796 LIBS!$LIBS$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
2816 AWK!$AWK$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
2824 _ACEOF
2825
2826   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then
2827     break
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; }; }
2832   else
2833     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2834   fi
2835 done
2836
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`
2841 fi
2842
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
2846 _ACEOF
2847 sed '
2848 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2849 s/^/s,@/; s/!/@,|#_!!_#|/
2850 :n
2851 t n
2852 s/'"$ac_delim"'$/,g/; t
2853 s/$/\\/; p
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
2858 :end
2859 s/|#_!!_#|//g
2860 CEOF$ac_eof
2861 _ACEOF
2862
2863
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[        ]*=/{
2870 s/:*\$(srcdir):*/:/
2871 s/:*\${srcdir}:*/:/
2872 s/:*@srcdir@:*/:/
2873 s/^\([^=]*=[     ]*\):*/\1/
2874 s/:*$//
2875 s/^[^=]*=[       ]*$//
2876 }'
2877 fi
2878
2879 cat >>$CONFIG_STATUS <<\_ACEOF
2880 fi # test -n "$CONFIG_FILES"
2881
2882
2883 for ac_tag in  :F $CONFIG_FILES
2884 do
2885   case $ac_tag in
2886   :[FHLC]) ac_mode=$ac_tag; continue;;
2887   esac
2888   case $ac_mode$ac_tag in
2889   :[FHL]*:*);;
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;;
2895   esac
2896   ac_save_IFS=$IFS
2897   IFS=:
2898   set x $ac_tag
2899   IFS=$ac_save_IFS
2900   shift
2901   ac_file=$1
2902   shift
2903
2904   case $ac_mode in
2905   :L) ac_source=$1;;
2906   :[FH])
2907     ac_file_inputs=
2908     for ac_f
2909     do
2910       case $ac_f 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 `:'.
2915          test -f "$ac_f" ||
2916            case $ac_f in
2917            [\\/$]*) false;;
2918            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2919            esac ||
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; }; };;
2923       esac
2924       ac_file_inputs="$ac_file_inputs $ac_f"
2925     done
2926
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;}
2936     fi
2937
2938     case $ac_tag in
2939     *:-:* | *:-) cat >"$tmp/stdin";;
2940     esac
2941     ;;
2942   esac
2943
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 ||
2949 echo X"$ac_file" |
2950     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2951             s//\1/
2952             q
2953           }
2954           /^X\(\/\/\)[^/].*/{
2955             s//\1/
2956             q
2957           }
2958           /^X\(\/\/\)$/{
2959             s//\1/
2960             q
2961           }
2962           /^X\(\/\).*/{
2963             s//\1/
2964             q
2965           }
2966           s/.*/./; q'`
2967   { as_dir="$ac_dir"
2968   case $as_dir in #(
2969   -*) as_dir=./$as_dir;;
2970   esac
2971   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2972     as_dirs=
2973     while :; do
2974       case $as_dir in #(
2975       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2976       *) as_qdir=$as_dir;;
2977       esac
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 ||
2984 echo X"$as_dir" |
2985     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2986             s//\1/
2987             q
2988           }
2989           /^X\(\/\/\)[^/].*/{
2990             s//\1/
2991             q
2992           }
2993           /^X\(\/\/\)$/{
2994             s//\1/
2995             q
2996           }
2997           /^X\(\/\).*/{
2998             s//\1/
2999             q
3000           }
3001           s/.*/./; q'`
3002       test -d "$as_dir" && break
3003     done
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; }; }; }
3008   ac_builddir=.
3009
3010 case "$ac_dir" in
3011 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3012 *)
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/ ;;
3019   esac ;;
3020 esac
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
3025
3026 case $srcdir in
3027   .)  # We are building in place.
3028     ac_srcdir=.
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 ;;
3035   *) # Relative name.
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 ;;
3039 esac
3040 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3041
3042
3043   case $ac_mode in
3044   :F)
3045   #
3046   # CONFIG_FILE
3047   #
3048
3049   case $INSTALL in
3050   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3051   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3052   esac
3053   ac_MKDIR_P=$MKDIR_P
3054   case $MKDIR_P in
3055   [\\/$]* | ?:[\\/]* ) ;;
3056   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3057   esac
3058 _ACEOF
3059
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=
3064
3065 case `sed -n '/datarootdir/ {
3066   p
3067   q
3068 }
3069 /@datadir@/p
3070 /@docdir@/p
3071 /@infodir@/p
3072 /@localedir@/p
3073 /@mandir@/p
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;}
3079 _ACEOF
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' ;;
3088 esac
3089 _ACEOF
3090
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
3095   sed "$ac_vpsub
3096 $extrasub
3097 _ACEOF
3098 cat >>$CONFIG_STATUS <<\_ACEOF
3099 :t
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
3114
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;}
3122
3123   rm -f "$tmp/stdin"
3124   case $ac_file in
3125   -) cat "$tmp/out"; rm -f "$tmp/out";;
3126   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3127   esac
3128  ;;
3129
3130
3131
3132   esac
3133
3134 done # for ac_tag
3135
3136
3137 { (exit 0); exit 0; }
3138 _ACEOF
3139 chmod +x $CONFIG_STATUS
3140 ac_clean_files=$ac_clean_files_save
3141
3142
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
3152   ac_cs_success=:
3153   ac_config_status_args=
3154   test "$silent" = yes &&
3155     ac_config_status_args="$ac_config_status_args --quiet"
3156   exec 5>/dev/null
3157   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3158   exec 5>>config.log
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; }
3162 fi
3163