configure revision 9adf33a3
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for xrandr 1.3.2.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 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
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85  as_unset=unset
86else
87  as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order.  Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" ""	$as_nl"
97
98# Find who we are.  Look in the path if we contain no directory separator.
99case $0 in
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139  as_expr=expr
140else
141  as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145  as_basename=basename
146else
147  as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154	 X"$0" : 'X\(//\)$' \| \
155	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157    sed '/^.*\/\([^/][^/]*\)\/*$/{
158	    s//\1/
159	    q
160	  }
161	  /^X\/\(\/\/\)$/{
162	    s//\1/
163	    q
164	  }
165	  /^X\/\(\/\).*/{
166	    s//\1/
167	    q
168	  }
169	  s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176  if (eval ":") 2>/dev/null; then
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181
182  if test $as_have_required = yes &&	 (eval ":
183(as_func_return () {
184  (exit \$1)
185}
186as_func_success () {
187  as_func_return 0
188}
189as_func_failure () {
190  as_func_return 1
191}
192as_func_ret_success () {
193  return 0
194}
195as_func_ret_failure () {
196  return 1
197}
198
199exitcode=0
200if as_func_success; then
201  :
202else
203  exitcode=1
204  echo as_func_success failed.
205fi
206
207if as_func_failure; then
208  exitcode=1
209  echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213  :
214else
215  exitcode=1
216  echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220  exitcode=1
221  echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225  :
226else
227  exitcode=1
228  echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234  as_lineno_1=\$LINENO
235  as_lineno_2=\$LINENO
236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239  :
240else
241  as_candidate_shells=
242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245  IFS=$as_save_IFS
246  test -z "$as_dir" && as_dir=.
247  case $as_dir in
248	 /*)
249	   for as_base in sh bash ksh sh5; do
250	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251	   done;;
252       esac
253done
254IFS=$as_save_IFS
255
256
257      for as_shell in $as_candidate_shells $SHELL; do
258	 # Try only shells that exist, to save several forks.
259	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260		{ ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279  CONFIG_SHELL=$as_shell
280	       as_have_required=yes
281	       if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283  emulate sh
284  NULLCMD=:
285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286  # is contrary to our usage.  Disable this feature.
287  alias -g '${1+"$@"}'='"$@"'
288  setopt NO_GLOB_SUBST
289else
290  case `(set -o) 2>/dev/null` in
291  *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299  (exit $1)
300}
301as_func_success () {
302  as_func_return 0
303}
304as_func_failure () {
305  as_func_return 1
306}
307as_func_ret_success () {
308  return 0
309}
310as_func_ret_failure () {
311  return 1
312}
313
314exitcode=0
315if as_func_success; then
316  :
317else
318  exitcode=1
319  echo as_func_success failed.
320fi
321
322if as_func_failure; then
323  exitcode=1
324  echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328  :
329else
330  exitcode=1
331  echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335  exitcode=1
336  echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340  :
341else
342  exitcode=1
343  echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349  as_lineno_1=$LINENO
350  as_lineno_2=$LINENO
351  test "x$as_lineno_1" != "x$as_lineno_2" &&
352  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356  break
357fi
358
359fi
360
361      done
362
363      if test "x$CONFIG_SHELL" != x; then
364  for as_var in BASH_ENV ENV
365	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366	done
367	export CONFIG_SHELL
368	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372    if test $as_have_required = no; then
373  echo This script requires a shell more modern than all the
374      echo shells that I found on your system.  Please install a
375      echo modern shell, or manually run the script under such a
376      echo shell if you do have one.
377      { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388  (exit \$1)
389}
390as_func_success () {
391  as_func_return 0
392}
393as_func_failure () {
394  as_func_return 1
395}
396as_func_ret_success () {
397  return 0
398}
399as_func_ret_failure () {
400  return 1
401}
402
403exitcode=0
404if as_func_success; then
405  :
406else
407  exitcode=1
408  echo as_func_success failed.
409fi
410
411if as_func_failure; then
412  exitcode=1
413  echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417  :
418else
419  exitcode=1
420  echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424  exitcode=1
425  echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429  :
430else
431  exitcode=1
432  echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436  echo No shell found that supports shell functions.
437  echo Please tell bug-autoconf@gnu.org about your system,
438  echo including any error possibly output before this message.
439  echo This can help us improve future autoconf versions.
440  echo Configuration will now proceed without shell functions.
441}
442
443
444
445  as_lineno_1=$LINENO
446  as_lineno_2=$LINENO
447  test "x$as_lineno_1" != "x$as_lineno_2" &&
448  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451  # uniformly replaced by the line number.  The first 'sed' inserts a
452  # line-number line after each line using $LINENO; the second 'sed'
453  # does the real work.  The second script uses 'N' to pair each
454  # line-number line with the line containing $LINENO, and appends
455  # trailing '-' during substitution so that $LINENO is not a special
456  # case at line end.
457  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459  # E. McMahon (1931-1989) for sed's syntax.  :-)
460  sed -n '
461    p
462    /[$]LINENO/=
463  ' <$as_myself |
464    sed '
465      s/[$]LINENO.*/&-/
466      t lineno
467      b
468      :lineno
469      N
470      :loop
471      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472      t loop
473      s/-\n.*//
474    ' >$as_me.lineno &&
475  chmod +x "$as_me.lineno" ||
476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477   { (exit 1); exit 1; }; }
478
479  # Don't try to exec as it changes $[0], causing all sort of problems
480  # (the dirname of $[0] is not the place where we might find the
481  # original and so on.  Autoconf is especially sensitive to this).
482  . "./$as_me.lineno"
483  # Exit status is that of the last command.
484  exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489  as_dirname=dirname
490else
491  as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497  case `echo 'x\c'` in
498  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
499  *)   ECHO_C='\c';;
500  esac;;
501*)
502  ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506  as_expr=expr
507else
508  as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513  rm -f conf$$.dir/conf$$.file
514else
515  rm -f conf$$.dir
516  mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519  if ln -s conf$$.file conf$$ 2>/dev/null; then
520    as_ln_s='ln -s'
521    # ... but there are two gotchas:
522    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524    # In both cases, we have to default to `cp -p'.
525    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526      as_ln_s='cp -p'
527  elif ln conf$$.file conf$$ 2>/dev/null; then
528    as_ln_s=ln
529  else
530    as_ln_s='cp -p'
531  fi
532else
533  as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539  as_mkdir_p=:
540else
541  test -d ./-p && rmdir ./-p
542  as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546  as_test_x='test -x'
547else
548  if ls -dL / >/dev/null 2>&1; then
549    as_ls_L_option=L
550  else
551    as_ls_L_option=
552  fi
553  as_test_x='
554    eval sh -c '\''
555      if test -d "$1"; then
556	test -d "$1/.";
557      else
558	case $1 in
559	-*)set "./$1";;
560	esac;
561	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562	???[sx]*):;;*)false;;esac;fi
563    '\'' sh
564  '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576exec 7<&0 </dev/null 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIBOBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
596# Identity of this package.
597PACKAGE_NAME='xrandr'
598PACKAGE_TARNAME='xrandr'
599PACKAGE_VERSION='1.3.2'
600PACKAGE_STRING='xrandr 1.3.2'
601PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
602
603# Factoring default headers for most tests.
604ac_includes_default="\
605#include <stdio.h>
606#ifdef HAVE_SYS_TYPES_H
607# include <sys/types.h>
608#endif
609#ifdef HAVE_SYS_STAT_H
610# include <sys/stat.h>
611#endif
612#ifdef STDC_HEADERS
613# include <stdlib.h>
614# include <stddef.h>
615#else
616# ifdef HAVE_STDLIB_H
617#  include <stdlib.h>
618# endif
619#endif
620#ifdef HAVE_STRING_H
621# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622#  include <memory.h>
623# endif
624# include <string.h>
625#endif
626#ifdef HAVE_STRINGS_H
627# include <strings.h>
628#endif
629#ifdef HAVE_INTTYPES_H
630# include <inttypes.h>
631#endif
632#ifdef HAVE_STDINT_H
633# include <stdint.h>
634#endif
635#ifdef HAVE_UNISTD_H
636# include <unistd.h>
637#endif"
638
639ac_subst_vars='LTLIBOBJS
640LIBOBJS
641distcleancheck_listfiles
642CHANGELOG_CMD
643ADMIN_MAN_DIR
644DRIVER_MAN_DIR
645MISC_MAN_DIR
646FILE_MAN_DIR
647LIB_MAN_DIR
648APP_MAN_DIR
649ADMIN_MAN_SUFFIX
650DRIVER_MAN_SUFFIX
651MISC_MAN_SUFFIX
652FILE_MAN_SUFFIX
653LIB_MAN_SUFFIX
654APP_MAN_SUFFIX
655host_os
656host_vendor
657host_cpu
658host
659build_os
660build_vendor
661build_cpu
662build
663XRANDR_LIBS
664XRANDR_CFLAGS
665PKG_CONFIG
666CWARNFLAGS
667EGREP
668GREP
669CPP
670am__fastdepCC_FALSE
671am__fastdepCC_TRUE
672CCDEPMODE
673AMDEPBACKSLASH
674AMDEP_FALSE
675AMDEP_TRUE
676am__quote
677am__include
678DEPDIR
679OBJEXT
680EXEEXT
681ac_ct_CC
682CPPFLAGS
683LDFLAGS
684CFLAGS
685CC
686MAINT
687MAINTAINER_MODE_FALSE
688MAINTAINER_MODE_TRUE
689am__untar
690am__tar
691AMTAR
692am__leading_dot
693SET_MAKE
694AWK
695mkdir_p
696MKDIR_P
697INSTALL_STRIP_PROGRAM
698STRIP
699install_sh
700MAKEINFO
701AUTOHEADER
702AUTOMAKE
703AUTOCONF
704ACLOCAL
705VERSION
706PACKAGE
707CYGPATH_W
708am__isrc
709INSTALL_DATA
710INSTALL_SCRIPT
711INSTALL_PROGRAM
712target_alias
713host_alias
714build_alias
715LIBS
716ECHO_T
717ECHO_N
718ECHO_C
719DEFS
720mandir
721localedir
722libdir
723psdir
724pdfdir
725dvidir
726htmldir
727infodir
728docdir
729oldincludedir
730includedir
731localstatedir
732sharedstatedir
733sysconfdir
734datadir
735datarootdir
736libexecdir
737sbindir
738bindir
739program_transform_name
740prefix
741exec_prefix
742PACKAGE_BUGREPORT
743PACKAGE_STRING
744PACKAGE_VERSION
745PACKAGE_TARNAME
746PACKAGE_NAME
747PATH_SEPARATOR
748SHELL'
749ac_subst_files=''
750ac_user_opts='
751enable_option_checking
752enable_maintainer_mode
753enable_dependency_tracking
754with_release_version
755'
756      ac_precious_vars='build_alias
757host_alias
758target_alias
759CC
760CFLAGS
761LDFLAGS
762LIBS
763CPPFLAGS
764CPP
765PKG_CONFIG
766XRANDR_CFLAGS
767XRANDR_LIBS'
768
769
770# Initialize some variables set by options.
771ac_init_help=
772ac_init_version=false
773ac_unrecognized_opts=
774ac_unrecognized_sep=
775# The variables have the same names as the options, with
776# dashes changed to underlines.
777cache_file=/dev/null
778exec_prefix=NONE
779no_create=
780no_recursion=
781prefix=NONE
782program_prefix=NONE
783program_suffix=NONE
784program_transform_name=s,x,x,
785silent=
786site=
787srcdir=
788verbose=
789x_includes=NONE
790x_libraries=NONE
791
792# Installation directory options.
793# These are left unexpanded so users can "make install exec_prefix=/foo"
794# and all the variables that are supposed to be based on exec_prefix
795# by default will actually change.
796# Use braces instead of parens because sh, perl, etc. also accept them.
797# (The list follows the same order as the GNU Coding Standards.)
798bindir='${exec_prefix}/bin'
799sbindir='${exec_prefix}/sbin'
800libexecdir='${exec_prefix}/libexec'
801datarootdir='${prefix}/share'
802datadir='${datarootdir}'
803sysconfdir='${prefix}/etc'
804sharedstatedir='${prefix}/com'
805localstatedir='${prefix}/var'
806includedir='${prefix}/include'
807oldincludedir='/usr/include'
808docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
809infodir='${datarootdir}/info'
810htmldir='${docdir}'
811dvidir='${docdir}'
812pdfdir='${docdir}'
813psdir='${docdir}'
814libdir='${exec_prefix}/lib'
815localedir='${datarootdir}/locale'
816mandir='${datarootdir}/man'
817
818ac_prev=
819ac_dashdash=
820for ac_option
821do
822  # If the previous option needs an argument, assign it.
823  if test -n "$ac_prev"; then
824    eval $ac_prev=\$ac_option
825    ac_prev=
826    continue
827  fi
828
829  case $ac_option in
830  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
831  *)	ac_optarg=yes ;;
832  esac
833
834  # Accept the important Cygnus configure options, so we can diagnose typos.
835
836  case $ac_dashdash$ac_option in
837  --)
838    ac_dashdash=yes ;;
839
840  -bindir | --bindir | --bindi | --bind | --bin | --bi)
841    ac_prev=bindir ;;
842  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
843    bindir=$ac_optarg ;;
844
845  -build | --build | --buil | --bui | --bu)
846    ac_prev=build_alias ;;
847  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
848    build_alias=$ac_optarg ;;
849
850  -cache-file | --cache-file | --cache-fil | --cache-fi \
851  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
852    ac_prev=cache_file ;;
853  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
854  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
855    cache_file=$ac_optarg ;;
856
857  --config-cache | -C)
858    cache_file=config.cache ;;
859
860  -datadir | --datadir | --datadi | --datad)
861    ac_prev=datadir ;;
862  -datadir=* | --datadir=* | --datadi=* | --datad=*)
863    datadir=$ac_optarg ;;
864
865  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
866  | --dataroo | --dataro | --datar)
867    ac_prev=datarootdir ;;
868  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
869  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
870    datarootdir=$ac_optarg ;;
871
872  -disable-* | --disable-*)
873    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
874    # Reject names that are not valid shell variable names.
875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
877   { (exit 1); exit 1; }; }
878    ac_useropt_orig=$ac_useropt
879    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880    case $ac_user_opts in
881      *"
882"enable_$ac_useropt"
883"*) ;;
884      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
885	 ac_unrecognized_sep=', ';;
886    esac
887    eval enable_$ac_useropt=no ;;
888
889  -docdir | --docdir | --docdi | --doc | --do)
890    ac_prev=docdir ;;
891  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
892    docdir=$ac_optarg ;;
893
894  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895    ac_prev=dvidir ;;
896  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
897    dvidir=$ac_optarg ;;
898
899  -enable-* | --enable-*)
900    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901    # Reject names that are not valid shell variable names.
902    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
904   { (exit 1); exit 1; }; }
905    ac_useropt_orig=$ac_useropt
906    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907    case $ac_user_opts in
908      *"
909"enable_$ac_useropt"
910"*) ;;
911      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912	 ac_unrecognized_sep=', ';;
913    esac
914    eval enable_$ac_useropt=\$ac_optarg ;;
915
916  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
917  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
918  | --exec | --exe | --ex)
919    ac_prev=exec_prefix ;;
920  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
921  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
922  | --exec=* | --exe=* | --ex=*)
923    exec_prefix=$ac_optarg ;;
924
925  -gas | --gas | --ga | --g)
926    # Obsolete; use --with-gas.
927    with_gas=yes ;;
928
929  -help | --help | --hel | --he | -h)
930    ac_init_help=long ;;
931  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
932    ac_init_help=recursive ;;
933  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
934    ac_init_help=short ;;
935
936  -host | --host | --hos | --ho)
937    ac_prev=host_alias ;;
938  -host=* | --host=* | --hos=* | --ho=*)
939    host_alias=$ac_optarg ;;
940
941  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
942    ac_prev=htmldir ;;
943  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
944  | --ht=*)
945    htmldir=$ac_optarg ;;
946
947  -includedir | --includedir | --includedi | --included | --include \
948  | --includ | --inclu | --incl | --inc)
949    ac_prev=includedir ;;
950  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
951  | --includ=* | --inclu=* | --incl=* | --inc=*)
952    includedir=$ac_optarg ;;
953
954  -infodir | --infodir | --infodi | --infod | --info | --inf)
955    ac_prev=infodir ;;
956  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
957    infodir=$ac_optarg ;;
958
959  -libdir | --libdir | --libdi | --libd)
960    ac_prev=libdir ;;
961  -libdir=* | --libdir=* | --libdi=* | --libd=*)
962    libdir=$ac_optarg ;;
963
964  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
965  | --libexe | --libex | --libe)
966    ac_prev=libexecdir ;;
967  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
968  | --libexe=* | --libex=* | --libe=*)
969    libexecdir=$ac_optarg ;;
970
971  -localedir | --localedir | --localedi | --localed | --locale)
972    ac_prev=localedir ;;
973  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
974    localedir=$ac_optarg ;;
975
976  -localstatedir | --localstatedir | --localstatedi | --localstated \
977  | --localstate | --localstat | --localsta | --localst | --locals)
978    ac_prev=localstatedir ;;
979  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
980  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
981    localstatedir=$ac_optarg ;;
982
983  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
984    ac_prev=mandir ;;
985  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
986    mandir=$ac_optarg ;;
987
988  -nfp | --nfp | --nf)
989    # Obsolete; use --without-fp.
990    with_fp=no ;;
991
992  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
993  | --no-cr | --no-c | -n)
994    no_create=yes ;;
995
996  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
997  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
998    no_recursion=yes ;;
999
1000  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1001  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1002  | --oldin | --oldi | --old | --ol | --o)
1003    ac_prev=oldincludedir ;;
1004  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1005  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1006  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1007    oldincludedir=$ac_optarg ;;
1008
1009  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1010    ac_prev=prefix ;;
1011  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1012    prefix=$ac_optarg ;;
1013
1014  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1015  | --program-pre | --program-pr | --program-p)
1016    ac_prev=program_prefix ;;
1017  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1018  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1019    program_prefix=$ac_optarg ;;
1020
1021  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1022  | --program-suf | --program-su | --program-s)
1023    ac_prev=program_suffix ;;
1024  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1025  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1026    program_suffix=$ac_optarg ;;
1027
1028  -program-transform-name | --program-transform-name \
1029  | --program-transform-nam | --program-transform-na \
1030  | --program-transform-n | --program-transform- \
1031  | --program-transform | --program-transfor \
1032  | --program-transfo | --program-transf \
1033  | --program-trans | --program-tran \
1034  | --progr-tra | --program-tr | --program-t)
1035    ac_prev=program_transform_name ;;
1036  -program-transform-name=* | --program-transform-name=* \
1037  | --program-transform-nam=* | --program-transform-na=* \
1038  | --program-transform-n=* | --program-transform-=* \
1039  | --program-transform=* | --program-transfor=* \
1040  | --program-transfo=* | --program-transf=* \
1041  | --program-trans=* | --program-tran=* \
1042  | --progr-tra=* | --program-tr=* | --program-t=*)
1043    program_transform_name=$ac_optarg ;;
1044
1045  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1046    ac_prev=pdfdir ;;
1047  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1048    pdfdir=$ac_optarg ;;
1049
1050  -psdir | --psdir | --psdi | --psd | --ps)
1051    ac_prev=psdir ;;
1052  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1053    psdir=$ac_optarg ;;
1054
1055  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056  | -silent | --silent | --silen | --sile | --sil)
1057    silent=yes ;;
1058
1059  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1060    ac_prev=sbindir ;;
1061  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062  | --sbi=* | --sb=*)
1063    sbindir=$ac_optarg ;;
1064
1065  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1066  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1067  | --sharedst | --shareds | --shared | --share | --shar \
1068  | --sha | --sh)
1069    ac_prev=sharedstatedir ;;
1070  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1071  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1072  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1073  | --sha=* | --sh=*)
1074    sharedstatedir=$ac_optarg ;;
1075
1076  -site | --site | --sit)
1077    ac_prev=site ;;
1078  -site=* | --site=* | --sit=*)
1079    site=$ac_optarg ;;
1080
1081  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1082    ac_prev=srcdir ;;
1083  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1084    srcdir=$ac_optarg ;;
1085
1086  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1087  | --syscon | --sysco | --sysc | --sys | --sy)
1088    ac_prev=sysconfdir ;;
1089  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1090  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1091    sysconfdir=$ac_optarg ;;
1092
1093  -target | --target | --targe | --targ | --tar | --ta | --t)
1094    ac_prev=target_alias ;;
1095  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1096    target_alias=$ac_optarg ;;
1097
1098  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1099    verbose=yes ;;
1100
1101  -version | --version | --versio | --versi | --vers | -V)
1102    ac_init_version=: ;;
1103
1104  -with-* | --with-*)
1105    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106    # Reject names that are not valid shell variable names.
1107    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1109   { (exit 1); exit 1; }; }
1110    ac_useropt_orig=$ac_useropt
1111    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112    case $ac_user_opts in
1113      *"
1114"with_$ac_useropt"
1115"*) ;;
1116      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1117	 ac_unrecognized_sep=', ';;
1118    esac
1119    eval with_$ac_useropt=\$ac_optarg ;;
1120
1121  -without-* | --without-*)
1122    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123    # Reject names that are not valid shell variable names.
1124    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1126   { (exit 1); exit 1; }; }
1127    ac_useropt_orig=$ac_useropt
1128    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129    case $ac_user_opts in
1130      *"
1131"with_$ac_useropt"
1132"*) ;;
1133      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1134	 ac_unrecognized_sep=', ';;
1135    esac
1136    eval with_$ac_useropt=no ;;
1137
1138  --x)
1139    # Obsolete; use --with-x.
1140    with_x=yes ;;
1141
1142  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1143  | --x-incl | --x-inc | --x-in | --x-i)
1144    ac_prev=x_includes ;;
1145  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1146  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1147    x_includes=$ac_optarg ;;
1148
1149  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1150  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1151    ac_prev=x_libraries ;;
1152  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1153  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1154    x_libraries=$ac_optarg ;;
1155
1156  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1157Try \`$0 --help' for more information." >&2
1158   { (exit 1); exit 1; }; }
1159    ;;
1160
1161  *=*)
1162    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1163    # Reject names that are not valid shell variable names.
1164    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1165      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1166   { (exit 1); exit 1; }; }
1167    eval $ac_envvar=\$ac_optarg
1168    export $ac_envvar ;;
1169
1170  *)
1171    # FIXME: should be removed in autoconf 3.0.
1172    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1173    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1175    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1176    ;;
1177
1178  esac
1179done
1180
1181if test -n "$ac_prev"; then
1182  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1183  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1184   { (exit 1); exit 1; }; }
1185fi
1186
1187if test -n "$ac_unrecognized_opts"; then
1188  case $enable_option_checking in
1189    no) ;;
1190    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1191   { (exit 1); exit 1; }; } ;;
1192    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1193  esac
1194fi
1195
1196# Check all directory arguments for consistency.
1197for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1198		datadir sysconfdir sharedstatedir localstatedir includedir \
1199		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1200		libdir localedir mandir
1201do
1202  eval ac_val=\$$ac_var
1203  # Remove trailing slashes.
1204  case $ac_val in
1205    */ )
1206      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1207      eval $ac_var=\$ac_val;;
1208  esac
1209  # Be sure to have absolute directory names.
1210  case $ac_val in
1211    [\\/$]* | ?:[\\/]* )  continue;;
1212    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1213  esac
1214  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1215   { (exit 1); exit 1; }; }
1216done
1217
1218# There might be people who depend on the old broken behavior: `$host'
1219# used to hold the argument of --host etc.
1220# FIXME: To remove some day.
1221build=$build_alias
1222host=$host_alias
1223target=$target_alias
1224
1225# FIXME: To remove some day.
1226if test "x$host_alias" != x; then
1227  if test "x$build_alias" = x; then
1228    cross_compiling=maybe
1229    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1230    If a cross compiler is detected then cross compile mode will be used." >&2
1231  elif test "x$build_alias" != "x$host_alias"; then
1232    cross_compiling=yes
1233  fi
1234fi
1235
1236ac_tool_prefix=
1237test -n "$host_alias" && ac_tool_prefix=$host_alias-
1238
1239test "$silent" = yes && exec 6>/dev/null
1240
1241
1242ac_pwd=`pwd` && test -n "$ac_pwd" &&
1243ac_ls_di=`ls -di .` &&
1244ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1245  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1246   { (exit 1); exit 1; }; }
1247test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1249   { (exit 1); exit 1; }; }
1250
1251
1252# Find the source files, if location was not specified.
1253if test -z "$srcdir"; then
1254  ac_srcdir_defaulted=yes
1255  # Try the directory containing this script, then the parent directory.
1256  ac_confdir=`$as_dirname -- "$as_myself" ||
1257$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1258	 X"$as_myself" : 'X\(//\)[^/]' \| \
1259	 X"$as_myself" : 'X\(//\)$' \| \
1260	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1261$as_echo X"$as_myself" |
1262    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263	    s//\1/
1264	    q
1265	  }
1266	  /^X\(\/\/\)[^/].*/{
1267	    s//\1/
1268	    q
1269	  }
1270	  /^X\(\/\/\)$/{
1271	    s//\1/
1272	    q
1273	  }
1274	  /^X\(\/\).*/{
1275	    s//\1/
1276	    q
1277	  }
1278	  s/.*/./; q'`
1279  srcdir=$ac_confdir
1280  if test ! -r "$srcdir/$ac_unique_file"; then
1281    srcdir=..
1282  fi
1283else
1284  ac_srcdir_defaulted=no
1285fi
1286if test ! -r "$srcdir/$ac_unique_file"; then
1287  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1288  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1289   { (exit 1); exit 1; }; }
1290fi
1291ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292ac_abs_confdir=`(
1293	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1294   { (exit 1); exit 1; }; }
1295	pwd)`
1296# When building in place, set srcdir=.
1297if test "$ac_abs_confdir" = "$ac_pwd"; then
1298  srcdir=.
1299fi
1300# Remove unnecessary trailing slashes from srcdir.
1301# Double slashes in file names in object file debugging info
1302# mess up M-x gdb in Emacs.
1303case $srcdir in
1304*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1305esac
1306for ac_var in $ac_precious_vars; do
1307  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1308  eval ac_env_${ac_var}_value=\$${ac_var}
1309  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1310  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1311done
1312
1313#
1314# Report the --help message.
1315#
1316if test "$ac_init_help" = "long"; then
1317  # Omit some internal or obsolete options to make the list less imposing.
1318  # This message is too long to be a string in the A/UX 3.1 sh.
1319  cat <<_ACEOF
1320\`configure' configures xrandr 1.3.2 to adapt to many kinds of systems.
1321
1322Usage: $0 [OPTION]... [VAR=VALUE]...
1323
1324To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325VAR=VALUE.  See below for descriptions of some of the useful variables.
1326
1327Defaults for the options are specified in brackets.
1328
1329Configuration:
1330  -h, --help              display this help and exit
1331      --help=short        display options specific to this package
1332      --help=recursive    display the short help of all the included packages
1333  -V, --version           display version information and exit
1334  -q, --quiet, --silent   do not print \`checking...' messages
1335      --cache-file=FILE   cache test results in FILE [disabled]
1336  -C, --config-cache      alias for \`--cache-file=config.cache'
1337  -n, --no-create         do not create output files
1338      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1339
1340Installation directories:
1341  --prefix=PREFIX         install architecture-independent files in PREFIX
1342                          [$ac_default_prefix]
1343  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1344                          [PREFIX]
1345
1346By default, \`make install' will install all the files in
1347\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1348an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1349for instance \`--prefix=\$HOME'.
1350
1351For better control, use the options below.
1352
1353Fine tuning of the installation directories:
1354  --bindir=DIR            user executables [EPREFIX/bin]
1355  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1356  --libexecdir=DIR        program executables [EPREFIX/libexec]
1357  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1358  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1359  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1360  --libdir=DIR            object code libraries [EPREFIX/lib]
1361  --includedir=DIR        C header files [PREFIX/include]
1362  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1363  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1364  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1365  --infodir=DIR           info documentation [DATAROOTDIR/info]
1366  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1367  --mandir=DIR            man documentation [DATAROOTDIR/man]
1368  --docdir=DIR            documentation root [DATAROOTDIR/doc/xrandr]
1369  --htmldir=DIR           html documentation [DOCDIR]
1370  --dvidir=DIR            dvi documentation [DOCDIR]
1371  --pdfdir=DIR            pdf documentation [DOCDIR]
1372  --psdir=DIR             ps documentation [DOCDIR]
1373_ACEOF
1374
1375  cat <<\_ACEOF
1376
1377Program names:
1378  --program-prefix=PREFIX            prepend PREFIX to installed program names
1379  --program-suffix=SUFFIX            append SUFFIX to installed program names
1380  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1381
1382System types:
1383  --build=BUILD     configure for building on BUILD [guessed]
1384  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1385_ACEOF
1386fi
1387
1388if test -n "$ac_init_help"; then
1389  case $ac_init_help in
1390     short | recursive ) echo "Configuration of xrandr 1.3.2:";;
1391   esac
1392  cat <<\_ACEOF
1393
1394Optional Features:
1395  --disable-option-checking  ignore unrecognized --enable/--with options
1396  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1397  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1398  --enable-maintainer-mode  enable make rules and dependencies not useful
1399			  (and sometimes confusing) to the casual installer
1400  --disable-dependency-tracking  speeds up one-time build
1401  --enable-dependency-tracking   do not reject slow dependency extractors
1402
1403Optional Packages:
1404  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1405  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1406  --with-release-version=STRING
1407                          Use release version string in package name
1408
1409Some influential environment variables:
1410  CC          C compiler command
1411  CFLAGS      C compiler flags
1412  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1413              nonstandard directory <lib dir>
1414  LIBS        libraries to pass to the linker, e.g. -l<library>
1415  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1416              you have headers in a nonstandard directory <include dir>
1417  CPP         C preprocessor
1418  PKG_CONFIG  path to pkg-config utility
1419  XRANDR_CFLAGS
1420              C compiler flags for XRANDR, overriding pkg-config
1421  XRANDR_LIBS linker flags for XRANDR, overriding pkg-config
1422
1423Use these variables to override the choices made by `configure' or to help
1424it to find libraries and programs with nonstandard names/locations.
1425
1426Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1427_ACEOF
1428ac_status=$?
1429fi
1430
1431if test "$ac_init_help" = "recursive"; then
1432  # If there are subdirs, report their specific --help.
1433  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1434    test -d "$ac_dir" ||
1435      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1436      continue
1437    ac_builddir=.
1438
1439case "$ac_dir" in
1440.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441*)
1442  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1443  # A ".." for each directory in $ac_dir_suffix.
1444  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1445  case $ac_top_builddir_sub in
1446  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1448  esac ;;
1449esac
1450ac_abs_top_builddir=$ac_pwd
1451ac_abs_builddir=$ac_pwd$ac_dir_suffix
1452# for backward compatibility:
1453ac_top_builddir=$ac_top_build_prefix
1454
1455case $srcdir in
1456  .)  # We are building in place.
1457    ac_srcdir=.
1458    ac_top_srcdir=$ac_top_builddir_sub
1459    ac_abs_top_srcdir=$ac_pwd ;;
1460  [\\/]* | ?:[\\/]* )  # Absolute name.
1461    ac_srcdir=$srcdir$ac_dir_suffix;
1462    ac_top_srcdir=$srcdir
1463    ac_abs_top_srcdir=$srcdir ;;
1464  *) # Relative name.
1465    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1466    ac_top_srcdir=$ac_top_build_prefix$srcdir
1467    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1468esac
1469ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1470
1471    cd "$ac_dir" || { ac_status=$?; continue; }
1472    # Check for guested configure.
1473    if test -f "$ac_srcdir/configure.gnu"; then
1474      echo &&
1475      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1476    elif test -f "$ac_srcdir/configure"; then
1477      echo &&
1478      $SHELL "$ac_srcdir/configure" --help=recursive
1479    else
1480      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1481    fi || ac_status=$?
1482    cd "$ac_pwd" || { ac_status=$?; break; }
1483  done
1484fi
1485
1486test -n "$ac_init_help" && exit $ac_status
1487if $ac_init_version; then
1488  cat <<\_ACEOF
1489xrandr configure 1.3.2
1490generated by GNU Autoconf 2.63
1491
1492Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14932002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1494This configure script is free software; the Free Software Foundation
1495gives unlimited permission to copy, distribute and modify it.
1496_ACEOF
1497  exit
1498fi
1499cat >config.log <<_ACEOF
1500This file contains any messages produced by compilers while
1501running configure, to aid debugging if configure makes a mistake.
1502
1503It was created by xrandr $as_me 1.3.2, which was
1504generated by GNU Autoconf 2.63.  Invocation command line was
1505
1506  $ $0 $@
1507
1508_ACEOF
1509exec 5>>config.log
1510{
1511cat <<_ASUNAME
1512## --------- ##
1513## Platform. ##
1514## --------- ##
1515
1516hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1517uname -m = `(uname -m) 2>/dev/null || echo unknown`
1518uname -r = `(uname -r) 2>/dev/null || echo unknown`
1519uname -s = `(uname -s) 2>/dev/null || echo unknown`
1520uname -v = `(uname -v) 2>/dev/null || echo unknown`
1521
1522/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1523/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1524
1525/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1526/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1527/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1528/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1529/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1530/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1531/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1532
1533_ASUNAME
1534
1535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536for as_dir in $PATH
1537do
1538  IFS=$as_save_IFS
1539  test -z "$as_dir" && as_dir=.
1540  $as_echo "PATH: $as_dir"
1541done
1542IFS=$as_save_IFS
1543
1544} >&5
1545
1546cat >&5 <<_ACEOF
1547
1548
1549## ----------- ##
1550## Core tests. ##
1551## ----------- ##
1552
1553_ACEOF
1554
1555
1556# Keep a trace of the command line.
1557# Strip out --no-create and --no-recursion so they do not pile up.
1558# Strip out --silent because we don't want to record it for future runs.
1559# Also quote any args containing shell meta-characters.
1560# Make two passes to allow for proper duplicate-argument suppression.
1561ac_configure_args=
1562ac_configure_args0=
1563ac_configure_args1=
1564ac_must_keep_next=false
1565for ac_pass in 1 2
1566do
1567  for ac_arg
1568  do
1569    case $ac_arg in
1570    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1571    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1572    | -silent | --silent | --silen | --sile | --sil)
1573      continue ;;
1574    *\'*)
1575      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1576    esac
1577    case $ac_pass in
1578    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1579    2)
1580      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1581      if test $ac_must_keep_next = true; then
1582	ac_must_keep_next=false # Got value, back to normal.
1583      else
1584	case $ac_arg in
1585	  *=* | --config-cache | -C | -disable-* | --disable-* \
1586	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1587	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1588	  | -with-* | --with-* | -without-* | --without-* | --x)
1589	    case "$ac_configure_args0 " in
1590	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1591	    esac
1592	    ;;
1593	  -* ) ac_must_keep_next=true ;;
1594	esac
1595      fi
1596      ac_configure_args="$ac_configure_args '$ac_arg'"
1597      ;;
1598    esac
1599  done
1600done
1601$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1602$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1603
1604# When interrupted or exit'd, cleanup temporary files, and complete
1605# config.log.  We remove comments because anyway the quotes in there
1606# would cause problems or look ugly.
1607# WARNING: Use '\'' to represent an apostrophe within the trap.
1608# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1609trap 'exit_status=$?
1610  # Save into config.log some information that might help in debugging.
1611  {
1612    echo
1613
1614    cat <<\_ASBOX
1615## ---------------- ##
1616## Cache variables. ##
1617## ---------------- ##
1618_ASBOX
1619    echo
1620    # The following way of writing the cache mishandles newlines in values,
1621(
1622  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1623    eval ac_val=\$$ac_var
1624    case $ac_val in #(
1625    *${as_nl}*)
1626      case $ac_var in #(
1627      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1628$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1629      esac
1630      case $ac_var in #(
1631      _ | IFS | as_nl) ;; #(
1632      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1633      *) $as_unset $ac_var ;;
1634      esac ;;
1635    esac
1636  done
1637  (set) 2>&1 |
1638    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1639    *${as_nl}ac_space=\ *)
1640      sed -n \
1641	"s/'\''/'\''\\\\'\'''\''/g;
1642	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1643      ;; #(
1644    *)
1645      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1646      ;;
1647    esac |
1648    sort
1649)
1650    echo
1651
1652    cat <<\_ASBOX
1653## ----------------- ##
1654## Output variables. ##
1655## ----------------- ##
1656_ASBOX
1657    echo
1658    for ac_var in $ac_subst_vars
1659    do
1660      eval ac_val=\$$ac_var
1661      case $ac_val in
1662      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1663      esac
1664      $as_echo "$ac_var='\''$ac_val'\''"
1665    done | sort
1666    echo
1667
1668    if test -n "$ac_subst_files"; then
1669      cat <<\_ASBOX
1670## ------------------- ##
1671## File substitutions. ##
1672## ------------------- ##
1673_ASBOX
1674      echo
1675      for ac_var in $ac_subst_files
1676      do
1677	eval ac_val=\$$ac_var
1678	case $ac_val in
1679	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1680	esac
1681	$as_echo "$ac_var='\''$ac_val'\''"
1682      done | sort
1683      echo
1684    fi
1685
1686    if test -s confdefs.h; then
1687      cat <<\_ASBOX
1688## ----------- ##
1689## confdefs.h. ##
1690## ----------- ##
1691_ASBOX
1692      echo
1693      cat confdefs.h
1694      echo
1695    fi
1696    test "$ac_signal" != 0 &&
1697      $as_echo "$as_me: caught signal $ac_signal"
1698    $as_echo "$as_me: exit $exit_status"
1699  } >&5
1700  rm -f core *.core core.conftest.* &&
1701    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1702    exit $exit_status
1703' 0
1704for ac_signal in 1 2 13 15; do
1705  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1706done
1707ac_signal=0
1708
1709# confdefs.h avoids OS command line length limits that DEFS can exceed.
1710rm -f -r conftest* confdefs.h
1711
1712# Predefined preprocessor variables.
1713
1714cat >>confdefs.h <<_ACEOF
1715#define PACKAGE_NAME "$PACKAGE_NAME"
1716_ACEOF
1717
1718
1719cat >>confdefs.h <<_ACEOF
1720#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1721_ACEOF
1722
1723
1724cat >>confdefs.h <<_ACEOF
1725#define PACKAGE_VERSION "$PACKAGE_VERSION"
1726_ACEOF
1727
1728
1729cat >>confdefs.h <<_ACEOF
1730#define PACKAGE_STRING "$PACKAGE_STRING"
1731_ACEOF
1732
1733
1734cat >>confdefs.h <<_ACEOF
1735#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1736_ACEOF
1737
1738
1739# Let the site file select an alternate cache file if it wants to.
1740# Prefer an explicitly selected file to automatically selected ones.
1741ac_site_file1=NONE
1742ac_site_file2=NONE
1743if test -n "$CONFIG_SITE"; then
1744  ac_site_file1=$CONFIG_SITE
1745elif test "x$prefix" != xNONE; then
1746  ac_site_file1=$prefix/share/config.site
1747  ac_site_file2=$prefix/etc/config.site
1748else
1749  ac_site_file1=$ac_default_prefix/share/config.site
1750  ac_site_file2=$ac_default_prefix/etc/config.site
1751fi
1752for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1753do
1754  test "x$ac_site_file" = xNONE && continue
1755  if test -r "$ac_site_file"; then
1756    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1757$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1758    sed 's/^/| /' "$ac_site_file" >&5
1759    . "$ac_site_file"
1760  fi
1761done
1762
1763if test -r "$cache_file"; then
1764  # Some versions of bash will fail to source /dev/null (special
1765  # files actually), so we avoid doing that.
1766  if test -f "$cache_file"; then
1767    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1768$as_echo "$as_me: loading cache $cache_file" >&6;}
1769    case $cache_file in
1770      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1771      *)                      . "./$cache_file";;
1772    esac
1773  fi
1774else
1775  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1776$as_echo "$as_me: creating cache $cache_file" >&6;}
1777  >$cache_file
1778fi
1779
1780# Check that the precious variables saved in the cache have kept the same
1781# value.
1782ac_cache_corrupted=false
1783for ac_var in $ac_precious_vars; do
1784  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1785  eval ac_new_set=\$ac_env_${ac_var}_set
1786  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1787  eval ac_new_val=\$ac_env_${ac_var}_value
1788  case $ac_old_set,$ac_new_set in
1789    set,)
1790      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1791$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1792      ac_cache_corrupted=: ;;
1793    ,set)
1794      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1795$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1796      ac_cache_corrupted=: ;;
1797    ,);;
1798    *)
1799      if test "x$ac_old_val" != "x$ac_new_val"; then
1800	# differences in whitespace do not lead to failure.
1801	ac_old_val_w=`echo x $ac_old_val`
1802	ac_new_val_w=`echo x $ac_new_val`
1803	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1804	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1805$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1806	  ac_cache_corrupted=:
1807	else
1808	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1809$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1810	  eval $ac_var=\$ac_old_val
1811	fi
1812	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1813$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1814	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1815$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1816      fi;;
1817  esac
1818  # Pass precious variables to config.status.
1819  if test "$ac_new_set" = set; then
1820    case $ac_new_val in
1821    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1822    *) ac_arg=$ac_var=$ac_new_val ;;
1823    esac
1824    case " $ac_configure_args " in
1825      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1826      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1827    esac
1828  fi
1829done
1830if $ac_cache_corrupted; then
1831  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1832$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1833  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1834$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1835  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1836$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1837   { (exit 1); exit 1; }; }
1838fi
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864ac_ext=c
1865ac_cpp='$CPP $CPPFLAGS'
1866ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1867ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1868ac_compiler_gnu=$ac_cv_c_compiler_gnu
1869
1870
1871am__api_version='1.10'
1872
1873ac_aux_dir=
1874for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1875  if test -f "$ac_dir/install-sh"; then
1876    ac_aux_dir=$ac_dir
1877    ac_install_sh="$ac_aux_dir/install-sh -c"
1878    break
1879  elif test -f "$ac_dir/install.sh"; then
1880    ac_aux_dir=$ac_dir
1881    ac_install_sh="$ac_aux_dir/install.sh -c"
1882    break
1883  elif test -f "$ac_dir/shtool"; then
1884    ac_aux_dir=$ac_dir
1885    ac_install_sh="$ac_aux_dir/shtool install -c"
1886    break
1887  fi
1888done
1889if test -z "$ac_aux_dir"; then
1890  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1891$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1892   { (exit 1); exit 1; }; }
1893fi
1894
1895# These three variables are undocumented and unsupported,
1896# and are intended to be withdrawn in a future Autoconf release.
1897# They can cause serious problems if a builder's source tree is in a directory
1898# whose full name contains unusual characters.
1899ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1900ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1901ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1902
1903
1904# Find a good install program.  We prefer a C program (faster),
1905# so one script is as good as another.  But avoid the broken or
1906# incompatible versions:
1907# SysV /etc/install, /usr/sbin/install
1908# SunOS /usr/etc/install
1909# IRIX /sbin/install
1910# AIX /bin/install
1911# AmigaOS /C/install, which installs bootblocks on floppy discs
1912# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1913# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1914# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1915# OS/2's system install, which has a completely different semantic
1916# ./install, which can be erroneously created by make from ./install.sh.
1917# Reject install programs that cannot install multiple files.
1918{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1919$as_echo_n "checking for a BSD-compatible install... " >&6; }
1920if test -z "$INSTALL"; then
1921if test "${ac_cv_path_install+set}" = set; then
1922  $as_echo_n "(cached) " >&6
1923else
1924  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925for as_dir in $PATH
1926do
1927  IFS=$as_save_IFS
1928  test -z "$as_dir" && as_dir=.
1929  # Account for people who put trailing slashes in PATH elements.
1930case $as_dir/ in
1931  ./ | .// | /cC/* | \
1932  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1933  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1934  /usr/ucb/* ) ;;
1935  *)
1936    # OSF1 and SCO ODT 3.0 have their own names for install.
1937    # Don't use installbsd from OSF since it installs stuff as root
1938    # by default.
1939    for ac_prog in ginstall scoinst install; do
1940      for ac_exec_ext in '' $ac_executable_extensions; do
1941	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1942	  if test $ac_prog = install &&
1943	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1944	    # AIX install.  It has an incompatible calling convention.
1945	    :
1946	  elif test $ac_prog = install &&
1947	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1948	    # program-specific install script used by HP pwplus--don't use.
1949	    :
1950	  else
1951	    rm -rf conftest.one conftest.two conftest.dir
1952	    echo one > conftest.one
1953	    echo two > conftest.two
1954	    mkdir conftest.dir
1955	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1956	      test -s conftest.one && test -s conftest.two &&
1957	      test -s conftest.dir/conftest.one &&
1958	      test -s conftest.dir/conftest.two
1959	    then
1960	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1961	      break 3
1962	    fi
1963	  fi
1964	fi
1965      done
1966    done
1967    ;;
1968esac
1969
1970done
1971IFS=$as_save_IFS
1972
1973rm -rf conftest.one conftest.two conftest.dir
1974
1975fi
1976  if test "${ac_cv_path_install+set}" = set; then
1977    INSTALL=$ac_cv_path_install
1978  else
1979    # As a last resort, use the slow shell script.  Don't cache a
1980    # value for INSTALL within a source directory, because that will
1981    # break other packages using the cache if that directory is
1982    # removed, or if the value is a relative name.
1983    INSTALL=$ac_install_sh
1984  fi
1985fi
1986{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1987$as_echo "$INSTALL" >&6; }
1988
1989# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1990# It thinks the first close brace ends the variable substitution.
1991test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1992
1993test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1994
1995test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1996
1997{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1998$as_echo_n "checking whether build environment is sane... " >&6; }
1999# Just in case
2000sleep 1
2001echo timestamp > conftest.file
2002# Do `set' in a subshell so we don't clobber the current shell's
2003# arguments.  Must try -L first in case configure is actually a
2004# symlink; some systems play weird games with the mod time of symlinks
2005# (eg FreeBSD returns the mod time of the symlink's containing
2006# directory).
2007if (
2008   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2009   if test "$*" = "X"; then
2010      # -L didn't work.
2011      set X `ls -t $srcdir/configure conftest.file`
2012   fi
2013   rm -f conftest.file
2014   if test "$*" != "X $srcdir/configure conftest.file" \
2015      && test "$*" != "X conftest.file $srcdir/configure"; then
2016
2017      # If neither matched, then we have a broken ls.  This can happen
2018      # if, for instance, CONFIG_SHELL is bash and it inherits a
2019      # broken ls alias from the environment.  This has actually
2020      # happened.  Such a system could not be considered "sane".
2021      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2022alias in your environment" >&5
2023$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2024alias in your environment" >&2;}
2025   { (exit 1); exit 1; }; }
2026   fi
2027
2028   test "$2" = conftest.file
2029   )
2030then
2031   # Ok.
2032   :
2033else
2034   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2035Check your system clock" >&5
2036$as_echo "$as_me: error: newly created file is older than distributed files!
2037Check your system clock" >&2;}
2038   { (exit 1); exit 1; }; }
2039fi
2040{ $as_echo "$as_me:$LINENO: result: yes" >&5
2041$as_echo "yes" >&6; }
2042test "$program_prefix" != NONE &&
2043  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2044# Use a double $ so make ignores it.
2045test "$program_suffix" != NONE &&
2046  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2047# Double any \ or $.
2048# By default was `s,x,x', remove it if useless.
2049ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2050program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2051
2052# expand $ac_aux_dir to an absolute path
2053am_aux_dir=`cd $ac_aux_dir && pwd`
2054
2055test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2056# Use eval to expand $SHELL
2057if eval "$MISSING --run true"; then
2058  am_missing_run="$MISSING --run "
2059else
2060  am_missing_run=
2061  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2062$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2063fi
2064
2065{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2066$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2067if test -z "$MKDIR_P"; then
2068  if test "${ac_cv_path_mkdir+set}" = set; then
2069  $as_echo_n "(cached) " >&6
2070else
2071  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2073do
2074  IFS=$as_save_IFS
2075  test -z "$as_dir" && as_dir=.
2076  for ac_prog in mkdir gmkdir; do
2077	 for ac_exec_ext in '' $ac_executable_extensions; do
2078	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2079	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2080	     'mkdir (GNU coreutils) '* | \
2081	     'mkdir (coreutils) '* | \
2082	     'mkdir (fileutils) '4.1*)
2083	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2084	       break 3;;
2085	   esac
2086	 done
2087       done
2088done
2089IFS=$as_save_IFS
2090
2091fi
2092
2093  if test "${ac_cv_path_mkdir+set}" = set; then
2094    MKDIR_P="$ac_cv_path_mkdir -p"
2095  else
2096    # As a last resort, use the slow shell script.  Don't cache a
2097    # value for MKDIR_P within a source directory, because that will
2098    # break other packages using the cache if that directory is
2099    # removed, or if the value is a relative name.
2100    test -d ./--version && rmdir ./--version
2101    MKDIR_P="$ac_install_sh -d"
2102  fi
2103fi
2104{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2105$as_echo "$MKDIR_P" >&6; }
2106
2107mkdir_p="$MKDIR_P"
2108case $mkdir_p in
2109  [\\/$]* | ?:[\\/]*) ;;
2110  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2111esac
2112
2113for ac_prog in gawk mawk nawk awk
2114do
2115  # Extract the first word of "$ac_prog", so it can be a program name with args.
2116set dummy $ac_prog; ac_word=$2
2117{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2118$as_echo_n "checking for $ac_word... " >&6; }
2119if test "${ac_cv_prog_AWK+set}" = set; then
2120  $as_echo_n "(cached) " >&6
2121else
2122  if test -n "$AWK"; then
2123  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2124else
2125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126for as_dir in $PATH
2127do
2128  IFS=$as_save_IFS
2129  test -z "$as_dir" && as_dir=.
2130  for ac_exec_ext in '' $ac_executable_extensions; do
2131  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2132    ac_cv_prog_AWK="$ac_prog"
2133    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134    break 2
2135  fi
2136done
2137done
2138IFS=$as_save_IFS
2139
2140fi
2141fi
2142AWK=$ac_cv_prog_AWK
2143if test -n "$AWK"; then
2144  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2145$as_echo "$AWK" >&6; }
2146else
2147  { $as_echo "$as_me:$LINENO: result: no" >&5
2148$as_echo "no" >&6; }
2149fi
2150
2151
2152  test -n "$AWK" && break
2153done
2154
2155{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2156$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2157set x ${MAKE-make}
2158ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2159if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2160  $as_echo_n "(cached) " >&6
2161else
2162  cat >conftest.make <<\_ACEOF
2163SHELL = /bin/sh
2164all:
2165	@echo '@@@%%%=$(MAKE)=@@@%%%'
2166_ACEOF
2167# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2168case `${MAKE-make} -f conftest.make 2>/dev/null` in
2169  *@@@%%%=?*=@@@%%%*)
2170    eval ac_cv_prog_make_${ac_make}_set=yes;;
2171  *)
2172    eval ac_cv_prog_make_${ac_make}_set=no;;
2173esac
2174rm -f conftest.make
2175fi
2176if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2177  { $as_echo "$as_me:$LINENO: result: yes" >&5
2178$as_echo "yes" >&6; }
2179  SET_MAKE=
2180else
2181  { $as_echo "$as_me:$LINENO: result: no" >&5
2182$as_echo "no" >&6; }
2183  SET_MAKE="MAKE=${MAKE-make}"
2184fi
2185
2186rm -rf .tst 2>/dev/null
2187mkdir .tst 2>/dev/null
2188if test -d .tst; then
2189  am__leading_dot=.
2190else
2191  am__leading_dot=_
2192fi
2193rmdir .tst 2>/dev/null
2194
2195if test "`cd $srcdir && pwd`" != "`pwd`"; then
2196  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2197  # is not polluted with repeated "-I."
2198  am__isrc=' -I$(srcdir)'
2199  # test to see if srcdir already configured
2200  if test -f $srcdir/config.status; then
2201    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2202$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2203   { (exit 1); exit 1; }; }
2204  fi
2205fi
2206
2207# test whether we have cygpath
2208if test -z "$CYGPATH_W"; then
2209  if (cygpath --version) >/dev/null 2>/dev/null; then
2210    CYGPATH_W='cygpath -w'
2211  else
2212    CYGPATH_W=echo
2213  fi
2214fi
2215
2216
2217# Define the identity of the package.
2218 PACKAGE='xrandr'
2219 VERSION='1.3.2'
2220
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE "$PACKAGE"
2224_ACEOF
2225
2226
2227cat >>confdefs.h <<_ACEOF
2228#define VERSION "$VERSION"
2229_ACEOF
2230
2231# Some tools Automake needs.
2232
2233ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2234
2235
2236AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2237
2238
2239AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2240
2241
2242AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2243
2244
2245MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2246
2247install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2248
2249# Installed binaries are usually stripped using `strip' when the user
2250# run `make install-strip'.  However `strip' might not be the right
2251# tool to use in cross-compilation environments, therefore Automake
2252# will honor the `STRIP' environment variable to overrule this program.
2253if test "$cross_compiling" != no; then
2254  if test -n "$ac_tool_prefix"; then
2255  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2256set dummy ${ac_tool_prefix}strip; ac_word=$2
2257{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2258$as_echo_n "checking for $ac_word... " >&6; }
2259if test "${ac_cv_prog_STRIP+set}" = set; then
2260  $as_echo_n "(cached) " >&6
2261else
2262  if test -n "$STRIP"; then
2263  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2264else
2265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266for as_dir in $PATH
2267do
2268  IFS=$as_save_IFS
2269  test -z "$as_dir" && as_dir=.
2270  for ac_exec_ext in '' $ac_executable_extensions; do
2271  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2273    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274    break 2
2275  fi
2276done
2277done
2278IFS=$as_save_IFS
2279
2280fi
2281fi
2282STRIP=$ac_cv_prog_STRIP
2283if test -n "$STRIP"; then
2284  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2285$as_echo "$STRIP" >&6; }
2286else
2287  { $as_echo "$as_me:$LINENO: result: no" >&5
2288$as_echo "no" >&6; }
2289fi
2290
2291
2292fi
2293if test -z "$ac_cv_prog_STRIP"; then
2294  ac_ct_STRIP=$STRIP
2295  # Extract the first word of "strip", so it can be a program name with args.
2296set dummy strip; ac_word=$2
2297{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2298$as_echo_n "checking for $ac_word... " >&6; }
2299if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2300  $as_echo_n "(cached) " >&6
2301else
2302  if test -n "$ac_ct_STRIP"; then
2303  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2304else
2305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306for as_dir in $PATH
2307do
2308  IFS=$as_save_IFS
2309  test -z "$as_dir" && as_dir=.
2310  for ac_exec_ext in '' $ac_executable_extensions; do
2311  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312    ac_cv_prog_ac_ct_STRIP="strip"
2313    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314    break 2
2315  fi
2316done
2317done
2318IFS=$as_save_IFS
2319
2320fi
2321fi
2322ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2323if test -n "$ac_ct_STRIP"; then
2324  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2325$as_echo "$ac_ct_STRIP" >&6; }
2326else
2327  { $as_echo "$as_me:$LINENO: result: no" >&5
2328$as_echo "no" >&6; }
2329fi
2330
2331  if test "x$ac_ct_STRIP" = x; then
2332    STRIP=":"
2333  else
2334    case $cross_compiling:$ac_tool_warned in
2335yes:)
2336{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2337$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2338ac_tool_warned=yes ;;
2339esac
2340    STRIP=$ac_ct_STRIP
2341  fi
2342else
2343  STRIP="$ac_cv_prog_STRIP"
2344fi
2345
2346fi
2347INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2348
2349# We need awk for the "check" target.  The system "awk" is bad on
2350# some platforms.
2351# Always define AMTAR for backward compatibility.
2352
2353AMTAR=${AMTAR-"${am_missing_run}tar"}
2354
2355am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2356
2357
2358
2359
2360
2361{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2362$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2363    # Check whether --enable-maintainer-mode was given.
2364if test "${enable_maintainer_mode+set}" = set; then
2365  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2366else
2367  USE_MAINTAINER_MODE=no
2368fi
2369
2370  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2371$as_echo "$USE_MAINTAINER_MODE" >&6; }
2372   if test $USE_MAINTAINER_MODE = yes; then
2373  MAINTAINER_MODE_TRUE=
2374  MAINTAINER_MODE_FALSE='#'
2375else
2376  MAINTAINER_MODE_TRUE='#'
2377  MAINTAINER_MODE_FALSE=
2378fi
2379
2380  MAINT=$MAINTAINER_MODE_TRUE
2381
2382
2383
2384# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397ac_config_headers="$ac_config_headers config.h"
2398
2399
2400ac_ext=c
2401ac_cpp='$CPP $CPPFLAGS'
2402ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2403ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2404ac_compiler_gnu=$ac_cv_c_compiler_gnu
2405if test -n "$ac_tool_prefix"; then
2406  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2407set dummy ${ac_tool_prefix}gcc; ac_word=$2
2408{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2409$as_echo_n "checking for $ac_word... " >&6; }
2410if test "${ac_cv_prog_CC+set}" = set; then
2411  $as_echo_n "(cached) " >&6
2412else
2413  if test -n "$CC"; then
2414  ac_cv_prog_CC="$CC" # Let the user override the test.
2415else
2416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417for as_dir in $PATH
2418do
2419  IFS=$as_save_IFS
2420  test -z "$as_dir" && as_dir=.
2421  for ac_exec_ext in '' $ac_executable_extensions; do
2422  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2423    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2424    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425    break 2
2426  fi
2427done
2428done
2429IFS=$as_save_IFS
2430
2431fi
2432fi
2433CC=$ac_cv_prog_CC
2434if test -n "$CC"; then
2435  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2436$as_echo "$CC" >&6; }
2437else
2438  { $as_echo "$as_me:$LINENO: result: no" >&5
2439$as_echo "no" >&6; }
2440fi
2441
2442
2443fi
2444if test -z "$ac_cv_prog_CC"; then
2445  ac_ct_CC=$CC
2446  # Extract the first word of "gcc", so it can be a program name with args.
2447set dummy gcc; ac_word=$2
2448{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2449$as_echo_n "checking for $ac_word... " >&6; }
2450if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2451  $as_echo_n "(cached) " >&6
2452else
2453  if test -n "$ac_ct_CC"; then
2454  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2455else
2456as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457for as_dir in $PATH
2458do
2459  IFS=$as_save_IFS
2460  test -z "$as_dir" && as_dir=.
2461  for ac_exec_ext in '' $ac_executable_extensions; do
2462  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2463    ac_cv_prog_ac_ct_CC="gcc"
2464    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465    break 2
2466  fi
2467done
2468done
2469IFS=$as_save_IFS
2470
2471fi
2472fi
2473ac_ct_CC=$ac_cv_prog_ac_ct_CC
2474if test -n "$ac_ct_CC"; then
2475  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2476$as_echo "$ac_ct_CC" >&6; }
2477else
2478  { $as_echo "$as_me:$LINENO: result: no" >&5
2479$as_echo "no" >&6; }
2480fi
2481
2482  if test "x$ac_ct_CC" = x; then
2483    CC=""
2484  else
2485    case $cross_compiling:$ac_tool_warned in
2486yes:)
2487{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2488$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2489ac_tool_warned=yes ;;
2490esac
2491    CC=$ac_ct_CC
2492  fi
2493else
2494  CC="$ac_cv_prog_CC"
2495fi
2496
2497if test -z "$CC"; then
2498          if test -n "$ac_tool_prefix"; then
2499    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2500set dummy ${ac_tool_prefix}cc; ac_word=$2
2501{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2502$as_echo_n "checking for $ac_word... " >&6; }
2503if test "${ac_cv_prog_CC+set}" = set; then
2504  $as_echo_n "(cached) " >&6
2505else
2506  if test -n "$CC"; then
2507  ac_cv_prog_CC="$CC" # Let the user override the test.
2508else
2509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510for as_dir in $PATH
2511do
2512  IFS=$as_save_IFS
2513  test -z "$as_dir" && as_dir=.
2514  for ac_exec_ext in '' $ac_executable_extensions; do
2515  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516    ac_cv_prog_CC="${ac_tool_prefix}cc"
2517    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518    break 2
2519  fi
2520done
2521done
2522IFS=$as_save_IFS
2523
2524fi
2525fi
2526CC=$ac_cv_prog_CC
2527if test -n "$CC"; then
2528  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2529$as_echo "$CC" >&6; }
2530else
2531  { $as_echo "$as_me:$LINENO: result: no" >&5
2532$as_echo "no" >&6; }
2533fi
2534
2535
2536  fi
2537fi
2538if test -z "$CC"; then
2539  # Extract the first word of "cc", so it can be a program name with args.
2540set dummy cc; ac_word=$2
2541{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2542$as_echo_n "checking for $ac_word... " >&6; }
2543if test "${ac_cv_prog_CC+set}" = set; then
2544  $as_echo_n "(cached) " >&6
2545else
2546  if test -n "$CC"; then
2547  ac_cv_prog_CC="$CC" # Let the user override the test.
2548else
2549  ac_prog_rejected=no
2550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551for as_dir in $PATH
2552do
2553  IFS=$as_save_IFS
2554  test -z "$as_dir" && as_dir=.
2555  for ac_exec_ext in '' $ac_executable_extensions; do
2556  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2557    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2558       ac_prog_rejected=yes
2559       continue
2560     fi
2561    ac_cv_prog_CC="cc"
2562    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563    break 2
2564  fi
2565done
2566done
2567IFS=$as_save_IFS
2568
2569if test $ac_prog_rejected = yes; then
2570  # We found a bogon in the path, so make sure we never use it.
2571  set dummy $ac_cv_prog_CC
2572  shift
2573  if test $# != 0; then
2574    # We chose a different compiler from the bogus one.
2575    # However, it has the same basename, so the bogon will be chosen
2576    # first if we set CC to just the basename; use the full file name.
2577    shift
2578    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2579  fi
2580fi
2581fi
2582fi
2583CC=$ac_cv_prog_CC
2584if test -n "$CC"; then
2585  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2586$as_echo "$CC" >&6; }
2587else
2588  { $as_echo "$as_me:$LINENO: result: no" >&5
2589$as_echo "no" >&6; }
2590fi
2591
2592
2593fi
2594if test -z "$CC"; then
2595  if test -n "$ac_tool_prefix"; then
2596  for ac_prog in cl.exe
2597  do
2598    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2599set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2600{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2601$as_echo_n "checking for $ac_word... " >&6; }
2602if test "${ac_cv_prog_CC+set}" = set; then
2603  $as_echo_n "(cached) " >&6
2604else
2605  if test -n "$CC"; then
2606  ac_cv_prog_CC="$CC" # Let the user override the test.
2607else
2608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609for as_dir in $PATH
2610do
2611  IFS=$as_save_IFS
2612  test -z "$as_dir" && as_dir=.
2613  for ac_exec_ext in '' $ac_executable_extensions; do
2614  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2615    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2616    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2617    break 2
2618  fi
2619done
2620done
2621IFS=$as_save_IFS
2622
2623fi
2624fi
2625CC=$ac_cv_prog_CC
2626if test -n "$CC"; then
2627  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2628$as_echo "$CC" >&6; }
2629else
2630  { $as_echo "$as_me:$LINENO: result: no" >&5
2631$as_echo "no" >&6; }
2632fi
2633
2634
2635    test -n "$CC" && break
2636  done
2637fi
2638if test -z "$CC"; then
2639  ac_ct_CC=$CC
2640  for ac_prog in cl.exe
2641do
2642  # Extract the first word of "$ac_prog", so it can be a program name with args.
2643set dummy $ac_prog; ac_word=$2
2644{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2645$as_echo_n "checking for $ac_word... " >&6; }
2646if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2647  $as_echo_n "(cached) " >&6
2648else
2649  if test -n "$ac_ct_CC"; then
2650  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2651else
2652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653for as_dir in $PATH
2654do
2655  IFS=$as_save_IFS
2656  test -z "$as_dir" && as_dir=.
2657  for ac_exec_ext in '' $ac_executable_extensions; do
2658  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659    ac_cv_prog_ac_ct_CC="$ac_prog"
2660    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2661    break 2
2662  fi
2663done
2664done
2665IFS=$as_save_IFS
2666
2667fi
2668fi
2669ac_ct_CC=$ac_cv_prog_ac_ct_CC
2670if test -n "$ac_ct_CC"; then
2671  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2672$as_echo "$ac_ct_CC" >&6; }
2673else
2674  { $as_echo "$as_me:$LINENO: result: no" >&5
2675$as_echo "no" >&6; }
2676fi
2677
2678
2679  test -n "$ac_ct_CC" && break
2680done
2681
2682  if test "x$ac_ct_CC" = x; then
2683    CC=""
2684  else
2685    case $cross_compiling:$ac_tool_warned in
2686yes:)
2687{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2688$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689ac_tool_warned=yes ;;
2690esac
2691    CC=$ac_ct_CC
2692  fi
2693fi
2694
2695fi
2696
2697
2698test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2699$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2701See \`config.log' for more details." >&5
2702$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2703See \`config.log' for more details." >&2;}
2704   { (exit 1); exit 1; }; }; }
2705
2706# Provide some information about the compiler.
2707$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2708set X $ac_compile
2709ac_compiler=$2
2710{ (ac_try="$ac_compiler --version >&5"
2711case "(($ac_try" in
2712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713  *) ac_try_echo=$ac_try;;
2714esac
2715eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2716$as_echo "$ac_try_echo") >&5
2717  (eval "$ac_compiler --version >&5") 2>&5
2718  ac_status=$?
2719  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720  (exit $ac_status); }
2721{ (ac_try="$ac_compiler -v >&5"
2722case "(($ac_try" in
2723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724  *) ac_try_echo=$ac_try;;
2725esac
2726eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2727$as_echo "$ac_try_echo") >&5
2728  (eval "$ac_compiler -v >&5") 2>&5
2729  ac_status=$?
2730  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731  (exit $ac_status); }
2732{ (ac_try="$ac_compiler -V >&5"
2733case "(($ac_try" in
2734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735  *) ac_try_echo=$ac_try;;
2736esac
2737eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2738$as_echo "$ac_try_echo") >&5
2739  (eval "$ac_compiler -V >&5") 2>&5
2740  ac_status=$?
2741  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742  (exit $ac_status); }
2743
2744cat >conftest.$ac_ext <<_ACEOF
2745/* confdefs.h.  */
2746_ACEOF
2747cat confdefs.h >>conftest.$ac_ext
2748cat >>conftest.$ac_ext <<_ACEOF
2749/* end confdefs.h.  */
2750
2751int
2752main ()
2753{
2754
2755  ;
2756  return 0;
2757}
2758_ACEOF
2759ac_clean_files_save=$ac_clean_files
2760ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2761# Try to create an executable without -o first, disregard a.out.
2762# It will help us diagnose broken compilers, and finding out an intuition
2763# of exeext.
2764{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2765$as_echo_n "checking for C compiler default output file name... " >&6; }
2766ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2767
2768# The possible output files:
2769ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2770
2771ac_rmfiles=
2772for ac_file in $ac_files
2773do
2774  case $ac_file in
2775    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2776    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2777  esac
2778done
2779rm -f $ac_rmfiles
2780
2781if { (ac_try="$ac_link_default"
2782case "(($ac_try" in
2783  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784  *) ac_try_echo=$ac_try;;
2785esac
2786eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2787$as_echo "$ac_try_echo") >&5
2788  (eval "$ac_link_default") 2>&5
2789  ac_status=$?
2790  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791  (exit $ac_status); }; then
2792  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2793# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2794# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2795# so that the user can short-circuit this test for compilers unknown to
2796# Autoconf.
2797for ac_file in $ac_files ''
2798do
2799  test -f "$ac_file" || continue
2800  case $ac_file in
2801    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2802	;;
2803    [ab].out )
2804	# We found the default executable, but exeext='' is most
2805	# certainly right.
2806	break;;
2807    *.* )
2808        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2809	then :; else
2810	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2811	fi
2812	# We set ac_cv_exeext here because the later test for it is not
2813	# safe: cross compilers may not add the suffix if given an `-o'
2814	# argument, so we may need to know it at that point already.
2815	# Even if this section looks crufty: it has the advantage of
2816	# actually working.
2817	break;;
2818    * )
2819	break;;
2820  esac
2821done
2822test "$ac_cv_exeext" = no && ac_cv_exeext=
2823
2824else
2825  ac_file=''
2826fi
2827
2828{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2829$as_echo "$ac_file" >&6; }
2830if test -z "$ac_file"; then
2831  $as_echo "$as_me: failed program was:" >&5
2832sed 's/^/| /' conftest.$ac_ext >&5
2833
2834{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2835$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2836{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2837See \`config.log' for more details." >&5
2838$as_echo "$as_me: error: C compiler cannot create executables
2839See \`config.log' for more details." >&2;}
2840   { (exit 77); exit 77; }; }; }
2841fi
2842
2843ac_exeext=$ac_cv_exeext
2844
2845# Check that the compiler produces executables we can run.  If not, either
2846# the compiler is broken, or we cross compile.
2847{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2848$as_echo_n "checking whether the C compiler works... " >&6; }
2849# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2850# If not cross compiling, check that we can run a simple program.
2851if test "$cross_compiling" != yes; then
2852  if { ac_try='./$ac_file'
2853  { (case "(($ac_try" in
2854  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855  *) ac_try_echo=$ac_try;;
2856esac
2857eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2858$as_echo "$ac_try_echo") >&5
2859  (eval "$ac_try") 2>&5
2860  ac_status=$?
2861  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862  (exit $ac_status); }; }; then
2863    cross_compiling=no
2864  else
2865    if test "$cross_compiling" = maybe; then
2866	cross_compiling=yes
2867    else
2868	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2869$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2870{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2871If you meant to cross compile, use \`--host'.
2872See \`config.log' for more details." >&5
2873$as_echo "$as_me: error: cannot run C compiled programs.
2874If you meant to cross compile, use \`--host'.
2875See \`config.log' for more details." >&2;}
2876   { (exit 1); exit 1; }; }; }
2877    fi
2878  fi
2879fi
2880{ $as_echo "$as_me:$LINENO: result: yes" >&5
2881$as_echo "yes" >&6; }
2882
2883rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2884ac_clean_files=$ac_clean_files_save
2885# Check that the compiler produces executables we can run.  If not, either
2886# the compiler is broken, or we cross compile.
2887{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2888$as_echo_n "checking whether we are cross compiling... " >&6; }
2889{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2890$as_echo "$cross_compiling" >&6; }
2891
2892{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2893$as_echo_n "checking for suffix of executables... " >&6; }
2894if { (ac_try="$ac_link"
2895case "(($ac_try" in
2896  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897  *) ac_try_echo=$ac_try;;
2898esac
2899eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2900$as_echo "$ac_try_echo") >&5
2901  (eval "$ac_link") 2>&5
2902  ac_status=$?
2903  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904  (exit $ac_status); }; then
2905  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2906# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2907# work properly (i.e., refer to `conftest.exe'), while it won't with
2908# `rm'.
2909for ac_file in conftest.exe conftest conftest.*; do
2910  test -f "$ac_file" || continue
2911  case $ac_file in
2912    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2913    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2914	  break;;
2915    * ) break;;
2916  esac
2917done
2918else
2919  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2920$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2921{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2922See \`config.log' for more details." >&5
2923$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2924See \`config.log' for more details." >&2;}
2925   { (exit 1); exit 1; }; }; }
2926fi
2927
2928rm -f conftest$ac_cv_exeext
2929{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2930$as_echo "$ac_cv_exeext" >&6; }
2931
2932rm -f conftest.$ac_ext
2933EXEEXT=$ac_cv_exeext
2934ac_exeext=$EXEEXT
2935{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2936$as_echo_n "checking for suffix of object files... " >&6; }
2937if test "${ac_cv_objext+set}" = set; then
2938  $as_echo_n "(cached) " >&6
2939else
2940  cat >conftest.$ac_ext <<_ACEOF
2941/* confdefs.h.  */
2942_ACEOF
2943cat confdefs.h >>conftest.$ac_ext
2944cat >>conftest.$ac_ext <<_ACEOF
2945/* end confdefs.h.  */
2946
2947int
2948main ()
2949{
2950
2951  ;
2952  return 0;
2953}
2954_ACEOF
2955rm -f conftest.o conftest.obj
2956if { (ac_try="$ac_compile"
2957case "(($ac_try" in
2958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959  *) ac_try_echo=$ac_try;;
2960esac
2961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2962$as_echo "$ac_try_echo") >&5
2963  (eval "$ac_compile") 2>&5
2964  ac_status=$?
2965  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966  (exit $ac_status); }; then
2967  for ac_file in conftest.o conftest.obj conftest.*; do
2968  test -f "$ac_file" || continue;
2969  case $ac_file in
2970    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2971    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2972       break;;
2973  esac
2974done
2975else
2976  $as_echo "$as_me: failed program was:" >&5
2977sed 's/^/| /' conftest.$ac_ext >&5
2978
2979{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2981{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2982See \`config.log' for more details." >&5
2983$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2984See \`config.log' for more details." >&2;}
2985   { (exit 1); exit 1; }; }; }
2986fi
2987
2988rm -f conftest.$ac_cv_objext conftest.$ac_ext
2989fi
2990{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2991$as_echo "$ac_cv_objext" >&6; }
2992OBJEXT=$ac_cv_objext
2993ac_objext=$OBJEXT
2994{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2995$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2996if test "${ac_cv_c_compiler_gnu+set}" = set; then
2997  $as_echo_n "(cached) " >&6
2998else
2999  cat >conftest.$ac_ext <<_ACEOF
3000/* confdefs.h.  */
3001_ACEOF
3002cat confdefs.h >>conftest.$ac_ext
3003cat >>conftest.$ac_ext <<_ACEOF
3004/* end confdefs.h.  */
3005
3006int
3007main ()
3008{
3009#ifndef __GNUC__
3010       choke me
3011#endif
3012
3013  ;
3014  return 0;
3015}
3016_ACEOF
3017rm -f conftest.$ac_objext
3018if { (ac_try="$ac_compile"
3019case "(($ac_try" in
3020  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021  *) ac_try_echo=$ac_try;;
3022esac
3023eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3024$as_echo "$ac_try_echo") >&5
3025  (eval "$ac_compile") 2>conftest.er1
3026  ac_status=$?
3027  grep -v '^ *+' conftest.er1 >conftest.err
3028  rm -f conftest.er1
3029  cat conftest.err >&5
3030  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031  (exit $ac_status); } && {
3032	 test -z "$ac_c_werror_flag" ||
3033	 test ! -s conftest.err
3034       } && test -s conftest.$ac_objext; then
3035  ac_compiler_gnu=yes
3036else
3037  $as_echo "$as_me: failed program was:" >&5
3038sed 's/^/| /' conftest.$ac_ext >&5
3039
3040	ac_compiler_gnu=no
3041fi
3042
3043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044ac_cv_c_compiler_gnu=$ac_compiler_gnu
3045
3046fi
3047{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3048$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3049if test $ac_compiler_gnu = yes; then
3050  GCC=yes
3051else
3052  GCC=
3053fi
3054ac_test_CFLAGS=${CFLAGS+set}
3055ac_save_CFLAGS=$CFLAGS
3056{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3057$as_echo_n "checking whether $CC accepts -g... " >&6; }
3058if test "${ac_cv_prog_cc_g+set}" = set; then
3059  $as_echo_n "(cached) " >&6
3060else
3061  ac_save_c_werror_flag=$ac_c_werror_flag
3062   ac_c_werror_flag=yes
3063   ac_cv_prog_cc_g=no
3064   CFLAGS="-g"
3065   cat >conftest.$ac_ext <<_ACEOF
3066/* confdefs.h.  */
3067_ACEOF
3068cat confdefs.h >>conftest.$ac_ext
3069cat >>conftest.$ac_ext <<_ACEOF
3070/* end confdefs.h.  */
3071
3072int
3073main ()
3074{
3075
3076  ;
3077  return 0;
3078}
3079_ACEOF
3080rm -f conftest.$ac_objext
3081if { (ac_try="$ac_compile"
3082case "(($ac_try" in
3083  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084  *) ac_try_echo=$ac_try;;
3085esac
3086eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3087$as_echo "$ac_try_echo") >&5
3088  (eval "$ac_compile") 2>conftest.er1
3089  ac_status=$?
3090  grep -v '^ *+' conftest.er1 >conftest.err
3091  rm -f conftest.er1
3092  cat conftest.err >&5
3093  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094  (exit $ac_status); } && {
3095	 test -z "$ac_c_werror_flag" ||
3096	 test ! -s conftest.err
3097       } && test -s conftest.$ac_objext; then
3098  ac_cv_prog_cc_g=yes
3099else
3100  $as_echo "$as_me: failed program was:" >&5
3101sed 's/^/| /' conftest.$ac_ext >&5
3102
3103	CFLAGS=""
3104      cat >conftest.$ac_ext <<_ACEOF
3105/* confdefs.h.  */
3106_ACEOF
3107cat confdefs.h >>conftest.$ac_ext
3108cat >>conftest.$ac_ext <<_ACEOF
3109/* end confdefs.h.  */
3110
3111int
3112main ()
3113{
3114
3115  ;
3116  return 0;
3117}
3118_ACEOF
3119rm -f conftest.$ac_objext
3120if { (ac_try="$ac_compile"
3121case "(($ac_try" in
3122  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3123  *) ac_try_echo=$ac_try;;
3124esac
3125eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3126$as_echo "$ac_try_echo") >&5
3127  (eval "$ac_compile") 2>conftest.er1
3128  ac_status=$?
3129  grep -v '^ *+' conftest.er1 >conftest.err
3130  rm -f conftest.er1
3131  cat conftest.err >&5
3132  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133  (exit $ac_status); } && {
3134	 test -z "$ac_c_werror_flag" ||
3135	 test ! -s conftest.err
3136       } && test -s conftest.$ac_objext; then
3137  :
3138else
3139  $as_echo "$as_me: failed program was:" >&5
3140sed 's/^/| /' conftest.$ac_ext >&5
3141
3142	ac_c_werror_flag=$ac_save_c_werror_flag
3143	 CFLAGS="-g"
3144	 cat >conftest.$ac_ext <<_ACEOF
3145/* confdefs.h.  */
3146_ACEOF
3147cat confdefs.h >>conftest.$ac_ext
3148cat >>conftest.$ac_ext <<_ACEOF
3149/* end confdefs.h.  */
3150
3151int
3152main ()
3153{
3154
3155  ;
3156  return 0;
3157}
3158_ACEOF
3159rm -f conftest.$ac_objext
3160if { (ac_try="$ac_compile"
3161case "(($ac_try" in
3162  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163  *) ac_try_echo=$ac_try;;
3164esac
3165eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3166$as_echo "$ac_try_echo") >&5
3167  (eval "$ac_compile") 2>conftest.er1
3168  ac_status=$?
3169  grep -v '^ *+' conftest.er1 >conftest.err
3170  rm -f conftest.er1
3171  cat conftest.err >&5
3172  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173  (exit $ac_status); } && {
3174	 test -z "$ac_c_werror_flag" ||
3175	 test ! -s conftest.err
3176       } && test -s conftest.$ac_objext; then
3177  ac_cv_prog_cc_g=yes
3178else
3179  $as_echo "$as_me: failed program was:" >&5
3180sed 's/^/| /' conftest.$ac_ext >&5
3181
3182
3183fi
3184
3185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186fi
3187
3188rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189fi
3190
3191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192   ac_c_werror_flag=$ac_save_c_werror_flag
3193fi
3194{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3195$as_echo "$ac_cv_prog_cc_g" >&6; }
3196if test "$ac_test_CFLAGS" = set; then
3197  CFLAGS=$ac_save_CFLAGS
3198elif test $ac_cv_prog_cc_g = yes; then
3199  if test "$GCC" = yes; then
3200    CFLAGS="-g -O2"
3201  else
3202    CFLAGS="-g"
3203  fi
3204else
3205  if test "$GCC" = yes; then
3206    CFLAGS="-O2"
3207  else
3208    CFLAGS=
3209  fi
3210fi
3211{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3212$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3213if test "${ac_cv_prog_cc_c89+set}" = set; then
3214  $as_echo_n "(cached) " >&6
3215else
3216  ac_cv_prog_cc_c89=no
3217ac_save_CC=$CC
3218cat >conftest.$ac_ext <<_ACEOF
3219/* confdefs.h.  */
3220_ACEOF
3221cat confdefs.h >>conftest.$ac_ext
3222cat >>conftest.$ac_ext <<_ACEOF
3223/* end confdefs.h.  */
3224#include <stdarg.h>
3225#include <stdio.h>
3226#include <sys/types.h>
3227#include <sys/stat.h>
3228/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3229struct buf { int x; };
3230FILE * (*rcsopen) (struct buf *, struct stat *, int);
3231static char *e (p, i)
3232     char **p;
3233     int i;
3234{
3235  return p[i];
3236}
3237static char *f (char * (*g) (char **, int), char **p, ...)
3238{
3239  char *s;
3240  va_list v;
3241  va_start (v,p);
3242  s = g (p, va_arg (v,int));
3243  va_end (v);
3244  return s;
3245}
3246
3247/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3248   function prototypes and stuff, but not '\xHH' hex character constants.
3249   These don't provoke an error unfortunately, instead are silently treated
3250   as 'x'.  The following induces an error, until -std is added to get
3251   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3252   array size at least.  It's necessary to write '\x00'==0 to get something
3253   that's true only with -std.  */
3254int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3255
3256/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3257   inside strings and character constants.  */
3258#define FOO(x) 'x'
3259int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3260
3261int test (int i, double x);
3262struct s1 {int (*f) (int a);};
3263struct s2 {int (*f) (double a);};
3264int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3265int argc;
3266char **argv;
3267int
3268main ()
3269{
3270return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3271  ;
3272  return 0;
3273}
3274_ACEOF
3275for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3276	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3277do
3278  CC="$ac_save_CC $ac_arg"
3279  rm -f conftest.$ac_objext
3280if { (ac_try="$ac_compile"
3281case "(($ac_try" in
3282  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283  *) ac_try_echo=$ac_try;;
3284esac
3285eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3286$as_echo "$ac_try_echo") >&5
3287  (eval "$ac_compile") 2>conftest.er1
3288  ac_status=$?
3289  grep -v '^ *+' conftest.er1 >conftest.err
3290  rm -f conftest.er1
3291  cat conftest.err >&5
3292  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293  (exit $ac_status); } && {
3294	 test -z "$ac_c_werror_flag" ||
3295	 test ! -s conftest.err
3296       } && test -s conftest.$ac_objext; then
3297  ac_cv_prog_cc_c89=$ac_arg
3298else
3299  $as_echo "$as_me: failed program was:" >&5
3300sed 's/^/| /' conftest.$ac_ext >&5
3301
3302
3303fi
3304
3305rm -f core conftest.err conftest.$ac_objext
3306  test "x$ac_cv_prog_cc_c89" != "xno" && break
3307done
3308rm -f conftest.$ac_ext
3309CC=$ac_save_CC
3310
3311fi
3312# AC_CACHE_VAL
3313case "x$ac_cv_prog_cc_c89" in
3314  x)
3315    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3316$as_echo "none needed" >&6; } ;;
3317  xno)
3318    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3319$as_echo "unsupported" >&6; } ;;
3320  *)
3321    CC="$CC $ac_cv_prog_cc_c89"
3322    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3323$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3324esac
3325
3326
3327ac_ext=c
3328ac_cpp='$CPP $CPPFLAGS'
3329ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3330ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3331ac_compiler_gnu=$ac_cv_c_compiler_gnu
3332DEPDIR="${am__leading_dot}deps"
3333
3334ac_config_commands="$ac_config_commands depfiles"
3335
3336
3337am_make=${MAKE-make}
3338cat > confinc << 'END'
3339am__doit:
3340	@echo done
3341.PHONY: am__doit
3342END
3343# If we don't find an include directive, just comment out the code.
3344{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3345$as_echo_n "checking for style of include used by $am_make... " >&6; }
3346am__include="#"
3347am__quote=
3348_am_result=none
3349# First try GNU make style include.
3350echo "include confinc" > confmf
3351# We grep out `Entering directory' and `Leaving directory'
3352# messages which can occur if `w' ends up in MAKEFLAGS.
3353# In particular we don't look at `^make:' because GNU make might
3354# be invoked under some other name (usually "gmake"), in which
3355# case it prints its new name instead of `make'.
3356if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3357   am__include=include
3358   am__quote=
3359   _am_result=GNU
3360fi
3361# Now try BSD make style include.
3362if test "$am__include" = "#"; then
3363   echo '.include "confinc"' > confmf
3364   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3365      am__include=.include
3366      am__quote="\""
3367      _am_result=BSD
3368   fi
3369fi
3370
3371
3372{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3373$as_echo "$_am_result" >&6; }
3374rm -f confinc confmf
3375
3376# Check whether --enable-dependency-tracking was given.
3377if test "${enable_dependency_tracking+set}" = set; then
3378  enableval=$enable_dependency_tracking;
3379fi
3380
3381if test "x$enable_dependency_tracking" != xno; then
3382  am_depcomp="$ac_aux_dir/depcomp"
3383  AMDEPBACKSLASH='\'
3384fi
3385 if test "x$enable_dependency_tracking" != xno; then
3386  AMDEP_TRUE=
3387  AMDEP_FALSE='#'
3388else
3389  AMDEP_TRUE='#'
3390  AMDEP_FALSE=
3391fi
3392
3393
3394
3395depcc="$CC"   am_compiler_list=
3396
3397{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3398$as_echo_n "checking dependency style of $depcc... " >&6; }
3399if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3400  $as_echo_n "(cached) " >&6
3401else
3402  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3403  # We make a subdir and do the tests there.  Otherwise we can end up
3404  # making bogus files that we don't know about and never remove.  For
3405  # instance it was reported that on HP-UX the gcc test will end up
3406  # making a dummy file named `D' -- because `-MD' means `put the output
3407  # in D'.
3408  mkdir conftest.dir
3409  # Copy depcomp to subdir because otherwise we won't find it if we're
3410  # using a relative directory.
3411  cp "$am_depcomp" conftest.dir
3412  cd conftest.dir
3413  # We will build objects and dependencies in a subdirectory because
3414  # it helps to detect inapplicable dependency modes.  For instance
3415  # both Tru64's cc and ICC support -MD to output dependencies as a
3416  # side effect of compilation, but ICC will put the dependencies in
3417  # the current directory while Tru64 will put them in the object
3418  # directory.
3419  mkdir sub
3420
3421  am_cv_CC_dependencies_compiler_type=none
3422  if test "$am_compiler_list" = ""; then
3423     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3424  fi
3425  for depmode in $am_compiler_list; do
3426    # Setup a source with many dependencies, because some compilers
3427    # like to wrap large dependency lists on column 80 (with \), and
3428    # we should not choose a depcomp mode which is confused by this.
3429    #
3430    # We need to recreate these files for each test, as the compiler may
3431    # overwrite some of them when testing with obscure command lines.
3432    # This happens at least with the AIX C compiler.
3433    : > sub/conftest.c
3434    for i in 1 2 3 4 5 6; do
3435      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3436      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3437      # Solaris 8's {/usr,}/bin/sh.
3438      touch sub/conftst$i.h
3439    done
3440    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3441
3442    case $depmode in
3443    nosideeffect)
3444      # after this tag, mechanisms are not by side-effect, so they'll
3445      # only be used when explicitly requested
3446      if test "x$enable_dependency_tracking" = xyes; then
3447	continue
3448      else
3449	break
3450      fi
3451      ;;
3452    none) break ;;
3453    esac
3454    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3455    # mode.  It turns out that the SunPro C++ compiler does not properly
3456    # handle `-M -o', and we need to detect this.
3457    if depmode=$depmode \
3458       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3459       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3460       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3461         >/dev/null 2>conftest.err &&
3462       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3463       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3464       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3465       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3466      # icc doesn't choke on unknown options, it will just issue warnings
3467      # or remarks (even with -Werror).  So we grep stderr for any message
3468      # that says an option was ignored or not supported.
3469      # When given -MP, icc 7.0 and 7.1 complain thusly:
3470      #   icc: Command line warning: ignoring option '-M'; no argument required
3471      # The diagnosis changed in icc 8.0:
3472      #   icc: Command line remark: option '-MP' not supported
3473      if (grep 'ignoring option' conftest.err ||
3474          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3475        am_cv_CC_dependencies_compiler_type=$depmode
3476        break
3477      fi
3478    fi
3479  done
3480
3481  cd ..
3482  rm -rf conftest.dir
3483else
3484  am_cv_CC_dependencies_compiler_type=none
3485fi
3486
3487fi
3488{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3489$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3490CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3491
3492 if
3493  test "x$enable_dependency_tracking" != xno \
3494  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3495  am__fastdepCC_TRUE=
3496  am__fastdepCC_FALSE='#'
3497else
3498  am__fastdepCC_TRUE='#'
3499  am__fastdepCC_FALSE=
3500fi
3501
3502
3503# Find a good install program.  We prefer a C program (faster),
3504# so one script is as good as another.  But avoid the broken or
3505# incompatible versions:
3506# SysV /etc/install, /usr/sbin/install
3507# SunOS /usr/etc/install
3508# IRIX /sbin/install
3509# AIX /bin/install
3510# AmigaOS /C/install, which installs bootblocks on floppy discs
3511# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3512# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3513# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3514# OS/2's system install, which has a completely different semantic
3515# ./install, which can be erroneously created by make from ./install.sh.
3516# Reject install programs that cannot install multiple files.
3517{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3518$as_echo_n "checking for a BSD-compatible install... " >&6; }
3519if test -z "$INSTALL"; then
3520if test "${ac_cv_path_install+set}" = set; then
3521  $as_echo_n "(cached) " >&6
3522else
3523  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524for as_dir in $PATH
3525do
3526  IFS=$as_save_IFS
3527  test -z "$as_dir" && as_dir=.
3528  # Account for people who put trailing slashes in PATH elements.
3529case $as_dir/ in
3530  ./ | .// | /cC/* | \
3531  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3532  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3533  /usr/ucb/* ) ;;
3534  *)
3535    # OSF1 and SCO ODT 3.0 have their own names for install.
3536    # Don't use installbsd from OSF since it installs stuff as root
3537    # by default.
3538    for ac_prog in ginstall scoinst install; do
3539      for ac_exec_ext in '' $ac_executable_extensions; do
3540	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3541	  if test $ac_prog = install &&
3542	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3543	    # AIX install.  It has an incompatible calling convention.
3544	    :
3545	  elif test $ac_prog = install &&
3546	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3547	    # program-specific install script used by HP pwplus--don't use.
3548	    :
3549	  else
3550	    rm -rf conftest.one conftest.two conftest.dir
3551	    echo one > conftest.one
3552	    echo two > conftest.two
3553	    mkdir conftest.dir
3554	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3555	      test -s conftest.one && test -s conftest.two &&
3556	      test -s conftest.dir/conftest.one &&
3557	      test -s conftest.dir/conftest.two
3558	    then
3559	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3560	      break 3
3561	    fi
3562	  fi
3563	fi
3564      done
3565    done
3566    ;;
3567esac
3568
3569done
3570IFS=$as_save_IFS
3571
3572rm -rf conftest.one conftest.two conftest.dir
3573
3574fi
3575  if test "${ac_cv_path_install+set}" = set; then
3576    INSTALL=$ac_cv_path_install
3577  else
3578    # As a last resort, use the slow shell script.  Don't cache a
3579    # value for INSTALL within a source directory, because that will
3580    # break other packages using the cache if that directory is
3581    # removed, or if the value is a relative name.
3582    INSTALL=$ac_install_sh
3583  fi
3584fi
3585{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3586$as_echo "$INSTALL" >&6; }
3587
3588# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3589# It thinks the first close brace ends the variable substitution.
3590test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3591
3592test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3593
3594test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3595
3596
3597ac_ext=c
3598ac_cpp='$CPP $CPPFLAGS'
3599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3601ac_compiler_gnu=$ac_cv_c_compiler_gnu
3602{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3603$as_echo_n "checking how to run the C preprocessor... " >&6; }
3604# On Suns, sometimes $CPP names a directory.
3605if test -n "$CPP" && test -d "$CPP"; then
3606  CPP=
3607fi
3608if test -z "$CPP"; then
3609  if test "${ac_cv_prog_CPP+set}" = set; then
3610  $as_echo_n "(cached) " >&6
3611else
3612      # Double quotes because CPP needs to be expanded
3613    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3614    do
3615      ac_preproc_ok=false
3616for ac_c_preproc_warn_flag in '' yes
3617do
3618  # Use a header file that comes with gcc, so configuring glibc
3619  # with a fresh cross-compiler works.
3620  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3621  # <limits.h> exists even on freestanding compilers.
3622  # On the NeXT, cc -E runs the code through the compiler's parser,
3623  # not just through cpp. "Syntax error" is here to catch this case.
3624  cat >conftest.$ac_ext <<_ACEOF
3625/* confdefs.h.  */
3626_ACEOF
3627cat confdefs.h >>conftest.$ac_ext
3628cat >>conftest.$ac_ext <<_ACEOF
3629/* end confdefs.h.  */
3630#ifdef __STDC__
3631# include <limits.h>
3632#else
3633# include <assert.h>
3634#endif
3635		     Syntax error
3636_ACEOF
3637if { (ac_try="$ac_cpp conftest.$ac_ext"
3638case "(($ac_try" in
3639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3640  *) ac_try_echo=$ac_try;;
3641esac
3642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3643$as_echo "$ac_try_echo") >&5
3644  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3645  ac_status=$?
3646  grep -v '^ *+' conftest.er1 >conftest.err
3647  rm -f conftest.er1
3648  cat conftest.err >&5
3649  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650  (exit $ac_status); } >/dev/null && {
3651	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3652	 test ! -s conftest.err
3653       }; then
3654  :
3655else
3656  $as_echo "$as_me: failed program was:" >&5
3657sed 's/^/| /' conftest.$ac_ext >&5
3658
3659  # Broken: fails on valid input.
3660continue
3661fi
3662
3663rm -f conftest.err conftest.$ac_ext
3664
3665  # OK, works on sane cases.  Now check whether nonexistent headers
3666  # can be detected and how.
3667  cat >conftest.$ac_ext <<_ACEOF
3668/* confdefs.h.  */
3669_ACEOF
3670cat confdefs.h >>conftest.$ac_ext
3671cat >>conftest.$ac_ext <<_ACEOF
3672/* end confdefs.h.  */
3673#include <ac_nonexistent.h>
3674_ACEOF
3675if { (ac_try="$ac_cpp conftest.$ac_ext"
3676case "(($ac_try" in
3677  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678  *) ac_try_echo=$ac_try;;
3679esac
3680eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3681$as_echo "$ac_try_echo") >&5
3682  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3683  ac_status=$?
3684  grep -v '^ *+' conftest.er1 >conftest.err
3685  rm -f conftest.er1
3686  cat conftest.err >&5
3687  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688  (exit $ac_status); } >/dev/null && {
3689	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3690	 test ! -s conftest.err
3691       }; then
3692  # Broken: success on invalid input.
3693continue
3694else
3695  $as_echo "$as_me: failed program was:" >&5
3696sed 's/^/| /' conftest.$ac_ext >&5
3697
3698  # Passes both tests.
3699ac_preproc_ok=:
3700break
3701fi
3702
3703rm -f conftest.err conftest.$ac_ext
3704
3705done
3706# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3707rm -f conftest.err conftest.$ac_ext
3708if $ac_preproc_ok; then
3709  break
3710fi
3711
3712    done
3713    ac_cv_prog_CPP=$CPP
3714
3715fi
3716  CPP=$ac_cv_prog_CPP
3717else
3718  ac_cv_prog_CPP=$CPP
3719fi
3720{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3721$as_echo "$CPP" >&6; }
3722ac_preproc_ok=false
3723for ac_c_preproc_warn_flag in '' yes
3724do
3725  # Use a header file that comes with gcc, so configuring glibc
3726  # with a fresh cross-compiler works.
3727  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3728  # <limits.h> exists even on freestanding compilers.
3729  # On the NeXT, cc -E runs the code through the compiler's parser,
3730  # not just through cpp. "Syntax error" is here to catch this case.
3731  cat >conftest.$ac_ext <<_ACEOF
3732/* confdefs.h.  */
3733_ACEOF
3734cat confdefs.h >>conftest.$ac_ext
3735cat >>conftest.$ac_ext <<_ACEOF
3736/* end confdefs.h.  */
3737#ifdef __STDC__
3738# include <limits.h>
3739#else
3740# include <assert.h>
3741#endif
3742		     Syntax error
3743_ACEOF
3744if { (ac_try="$ac_cpp conftest.$ac_ext"
3745case "(($ac_try" in
3746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747  *) ac_try_echo=$ac_try;;
3748esac
3749eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3750$as_echo "$ac_try_echo") >&5
3751  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3752  ac_status=$?
3753  grep -v '^ *+' conftest.er1 >conftest.err
3754  rm -f conftest.er1
3755  cat conftest.err >&5
3756  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757  (exit $ac_status); } >/dev/null && {
3758	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3759	 test ! -s conftest.err
3760       }; then
3761  :
3762else
3763  $as_echo "$as_me: failed program was:" >&5
3764sed 's/^/| /' conftest.$ac_ext >&5
3765
3766  # Broken: fails on valid input.
3767continue
3768fi
3769
3770rm -f conftest.err conftest.$ac_ext
3771
3772  # OK, works on sane cases.  Now check whether nonexistent headers
3773  # can be detected and how.
3774  cat >conftest.$ac_ext <<_ACEOF
3775/* confdefs.h.  */
3776_ACEOF
3777cat confdefs.h >>conftest.$ac_ext
3778cat >>conftest.$ac_ext <<_ACEOF
3779/* end confdefs.h.  */
3780#include <ac_nonexistent.h>
3781_ACEOF
3782if { (ac_try="$ac_cpp conftest.$ac_ext"
3783case "(($ac_try" in
3784  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785  *) ac_try_echo=$ac_try;;
3786esac
3787eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3788$as_echo "$ac_try_echo") >&5
3789  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3790  ac_status=$?
3791  grep -v '^ *+' conftest.er1 >conftest.err
3792  rm -f conftest.er1
3793  cat conftest.err >&5
3794  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795  (exit $ac_status); } >/dev/null && {
3796	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3797	 test ! -s conftest.err
3798       }; then
3799  # Broken: success on invalid input.
3800continue
3801else
3802  $as_echo "$as_me: failed program was:" >&5
3803sed 's/^/| /' conftest.$ac_ext >&5
3804
3805  # Passes both tests.
3806ac_preproc_ok=:
3807break
3808fi
3809
3810rm -f conftest.err conftest.$ac_ext
3811
3812done
3813# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3814rm -f conftest.err conftest.$ac_ext
3815if $ac_preproc_ok; then
3816  :
3817else
3818  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3819$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3820{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3821See \`config.log' for more details." >&5
3822$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3823See \`config.log' for more details." >&2;}
3824   { (exit 1); exit 1; }; }; }
3825fi
3826
3827ac_ext=c
3828ac_cpp='$CPP $CPPFLAGS'
3829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832
3833
3834{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3835$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3836if test "${ac_cv_path_GREP+set}" = set; then
3837  $as_echo_n "(cached) " >&6
3838else
3839  if test -z "$GREP"; then
3840  ac_path_GREP_found=false
3841  # Loop through the user's path and test for each of PROGNAME-LIST
3842  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3844do
3845  IFS=$as_save_IFS
3846  test -z "$as_dir" && as_dir=.
3847  for ac_prog in grep ggrep; do
3848    for ac_exec_ext in '' $ac_executable_extensions; do
3849      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3850      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3851# Check for GNU ac_path_GREP and select it if it is found.
3852  # Check for GNU $ac_path_GREP
3853case `"$ac_path_GREP" --version 2>&1` in
3854*GNU*)
3855  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3856*)
3857  ac_count=0
3858  $as_echo_n 0123456789 >"conftest.in"
3859  while :
3860  do
3861    cat "conftest.in" "conftest.in" >"conftest.tmp"
3862    mv "conftest.tmp" "conftest.in"
3863    cp "conftest.in" "conftest.nl"
3864    $as_echo 'GREP' >> "conftest.nl"
3865    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3866    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3867    ac_count=`expr $ac_count + 1`
3868    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3869      # Best one so far, save it but keep looking for a better one
3870      ac_cv_path_GREP="$ac_path_GREP"
3871      ac_path_GREP_max=$ac_count
3872    fi
3873    # 10*(2^10) chars as input seems more than enough
3874    test $ac_count -gt 10 && break
3875  done
3876  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3877esac
3878
3879      $ac_path_GREP_found && break 3
3880    done
3881  done
3882done
3883IFS=$as_save_IFS
3884  if test -z "$ac_cv_path_GREP"; then
3885    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3886$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3887   { (exit 1); exit 1; }; }
3888  fi
3889else
3890  ac_cv_path_GREP=$GREP
3891fi
3892
3893fi
3894{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3895$as_echo "$ac_cv_path_GREP" >&6; }
3896 GREP="$ac_cv_path_GREP"
3897
3898
3899{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3900$as_echo_n "checking for egrep... " >&6; }
3901if test "${ac_cv_path_EGREP+set}" = set; then
3902  $as_echo_n "(cached) " >&6
3903else
3904  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3905   then ac_cv_path_EGREP="$GREP -E"
3906   else
3907     if test -z "$EGREP"; then
3908  ac_path_EGREP_found=false
3909  # Loop through the user's path and test for each of PROGNAME-LIST
3910  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3912do
3913  IFS=$as_save_IFS
3914  test -z "$as_dir" && as_dir=.
3915  for ac_prog in egrep; do
3916    for ac_exec_ext in '' $ac_executable_extensions; do
3917      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3918      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3919# Check for GNU ac_path_EGREP and select it if it is found.
3920  # Check for GNU $ac_path_EGREP
3921case `"$ac_path_EGREP" --version 2>&1` in
3922*GNU*)
3923  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3924*)
3925  ac_count=0
3926  $as_echo_n 0123456789 >"conftest.in"
3927  while :
3928  do
3929    cat "conftest.in" "conftest.in" >"conftest.tmp"
3930    mv "conftest.tmp" "conftest.in"
3931    cp "conftest.in" "conftest.nl"
3932    $as_echo 'EGREP' >> "conftest.nl"
3933    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3934    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3935    ac_count=`expr $ac_count + 1`
3936    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3937      # Best one so far, save it but keep looking for a better one
3938      ac_cv_path_EGREP="$ac_path_EGREP"
3939      ac_path_EGREP_max=$ac_count
3940    fi
3941    # 10*(2^10) chars as input seems more than enough
3942    test $ac_count -gt 10 && break
3943  done
3944  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3945esac
3946
3947      $ac_path_EGREP_found && break 3
3948    done
3949  done
3950done
3951IFS=$as_save_IFS
3952  if test -z "$ac_cv_path_EGREP"; then
3953    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3954$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3955   { (exit 1); exit 1; }; }
3956  fi
3957else
3958  ac_cv_path_EGREP=$EGREP
3959fi
3960
3961   fi
3962fi
3963{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3964$as_echo "$ac_cv_path_EGREP" >&6; }
3965 EGREP="$ac_cv_path_EGREP"
3966
3967
3968{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3969$as_echo_n "checking for ANSI C header files... " >&6; }
3970if test "${ac_cv_header_stdc+set}" = set; then
3971  $as_echo_n "(cached) " >&6
3972else
3973  cat >conftest.$ac_ext <<_ACEOF
3974/* confdefs.h.  */
3975_ACEOF
3976cat confdefs.h >>conftest.$ac_ext
3977cat >>conftest.$ac_ext <<_ACEOF
3978/* end confdefs.h.  */
3979#include <stdlib.h>
3980#include <stdarg.h>
3981#include <string.h>
3982#include <float.h>
3983
3984int
3985main ()
3986{
3987
3988  ;
3989  return 0;
3990}
3991_ACEOF
3992rm -f conftest.$ac_objext
3993if { (ac_try="$ac_compile"
3994case "(($ac_try" in
3995  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996  *) ac_try_echo=$ac_try;;
3997esac
3998eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3999$as_echo "$ac_try_echo") >&5
4000  (eval "$ac_compile") 2>conftest.er1
4001  ac_status=$?
4002  grep -v '^ *+' conftest.er1 >conftest.err
4003  rm -f conftest.er1
4004  cat conftest.err >&5
4005  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006  (exit $ac_status); } && {
4007	 test -z "$ac_c_werror_flag" ||
4008	 test ! -s conftest.err
4009       } && test -s conftest.$ac_objext; then
4010  ac_cv_header_stdc=yes
4011else
4012  $as_echo "$as_me: failed program was:" >&5
4013sed 's/^/| /' conftest.$ac_ext >&5
4014
4015	ac_cv_header_stdc=no
4016fi
4017
4018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019
4020if test $ac_cv_header_stdc = yes; then
4021  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4022  cat >conftest.$ac_ext <<_ACEOF
4023/* confdefs.h.  */
4024_ACEOF
4025cat confdefs.h >>conftest.$ac_ext
4026cat >>conftest.$ac_ext <<_ACEOF
4027/* end confdefs.h.  */
4028#include <string.h>
4029
4030_ACEOF
4031if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4032  $EGREP "memchr" >/dev/null 2>&1; then
4033  :
4034else
4035  ac_cv_header_stdc=no
4036fi
4037rm -f conftest*
4038
4039fi
4040
4041if test $ac_cv_header_stdc = yes; then
4042  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4043  cat >conftest.$ac_ext <<_ACEOF
4044/* confdefs.h.  */
4045_ACEOF
4046cat confdefs.h >>conftest.$ac_ext
4047cat >>conftest.$ac_ext <<_ACEOF
4048/* end confdefs.h.  */
4049#include <stdlib.h>
4050
4051_ACEOF
4052if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4053  $EGREP "free" >/dev/null 2>&1; then
4054  :
4055else
4056  ac_cv_header_stdc=no
4057fi
4058rm -f conftest*
4059
4060fi
4061
4062if test $ac_cv_header_stdc = yes; then
4063  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4064  if test "$cross_compiling" = yes; then
4065  :
4066else
4067  cat >conftest.$ac_ext <<_ACEOF
4068/* confdefs.h.  */
4069_ACEOF
4070cat confdefs.h >>conftest.$ac_ext
4071cat >>conftest.$ac_ext <<_ACEOF
4072/* end confdefs.h.  */
4073#include <ctype.h>
4074#include <stdlib.h>
4075#if ((' ' & 0x0FF) == 0x020)
4076# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4077# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4078#else
4079# define ISLOWER(c) \
4080		   (('a' <= (c) && (c) <= 'i') \
4081		     || ('j' <= (c) && (c) <= 'r') \
4082		     || ('s' <= (c) && (c) <= 'z'))
4083# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4084#endif
4085
4086#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4087int
4088main ()
4089{
4090  int i;
4091  for (i = 0; i < 256; i++)
4092    if (XOR (islower (i), ISLOWER (i))
4093	|| toupper (i) != TOUPPER (i))
4094      return 2;
4095  return 0;
4096}
4097_ACEOF
4098rm -f conftest$ac_exeext
4099if { (ac_try="$ac_link"
4100case "(($ac_try" in
4101  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102  *) ac_try_echo=$ac_try;;
4103esac
4104eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4105$as_echo "$ac_try_echo") >&5
4106  (eval "$ac_link") 2>&5
4107  ac_status=$?
4108  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4110  { (case "(($ac_try" in
4111  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112  *) ac_try_echo=$ac_try;;
4113esac
4114eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4115$as_echo "$ac_try_echo") >&5
4116  (eval "$ac_try") 2>&5
4117  ac_status=$?
4118  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119  (exit $ac_status); }; }; then
4120  :
4121else
4122  $as_echo "$as_me: program exited with status $ac_status" >&5
4123$as_echo "$as_me: failed program was:" >&5
4124sed 's/^/| /' conftest.$ac_ext >&5
4125
4126( exit $ac_status )
4127ac_cv_header_stdc=no
4128fi
4129rm -rf conftest.dSYM
4130rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4131fi
4132
4133
4134fi
4135fi
4136{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4137$as_echo "$ac_cv_header_stdc" >&6; }
4138if test $ac_cv_header_stdc = yes; then
4139
4140cat >>confdefs.h <<\_ACEOF
4141#define STDC_HEADERS 1
4142_ACEOF
4143
4144fi
4145
4146# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4157		  inttypes.h stdint.h unistd.h
4158do
4159as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4160{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4161$as_echo_n "checking for $ac_header... " >&6; }
4162if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4163  $as_echo_n "(cached) " >&6
4164else
4165  cat >conftest.$ac_ext <<_ACEOF
4166/* confdefs.h.  */
4167_ACEOF
4168cat confdefs.h >>conftest.$ac_ext
4169cat >>conftest.$ac_ext <<_ACEOF
4170/* end confdefs.h.  */
4171$ac_includes_default
4172
4173#include <$ac_header>
4174_ACEOF
4175rm -f conftest.$ac_objext
4176if { (ac_try="$ac_compile"
4177case "(($ac_try" in
4178  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179  *) ac_try_echo=$ac_try;;
4180esac
4181eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4182$as_echo "$ac_try_echo") >&5
4183  (eval "$ac_compile") 2>conftest.er1
4184  ac_status=$?
4185  grep -v '^ *+' conftest.er1 >conftest.err
4186  rm -f conftest.er1
4187  cat conftest.err >&5
4188  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189  (exit $ac_status); } && {
4190	 test -z "$ac_c_werror_flag" ||
4191	 test ! -s conftest.err
4192       } && test -s conftest.$ac_objext; then
4193  eval "$as_ac_Header=yes"
4194else
4195  $as_echo "$as_me: failed program was:" >&5
4196sed 's/^/| /' conftest.$ac_ext >&5
4197
4198	eval "$as_ac_Header=no"
4199fi
4200
4201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202fi
4203ac_res=`eval 'as_val=${'$as_ac_Header'}
4204		 $as_echo "$as_val"'`
4205	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4206$as_echo "$ac_res" >&6; }
4207as_val=`eval 'as_val=${'$as_ac_Header'}
4208		 $as_echo "$as_val"'`
4209   if test "x$as_val" = x""yes; then
4210  cat >>confdefs.h <<_ACEOF
4211#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4212_ACEOF
4213
4214fi
4215
4216done
4217
4218
4219
4220
4221if  test "x$GCC" = xyes ; then
4222    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4223-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4224-Wbad-function-cast"
4225    case `gcc -dumpversion` in
4226    3.4.* | 4.*)
4227	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4228	;;
4229    esac
4230else
4231    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4232$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4233if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4234  $as_echo_n "(cached) " >&6
4235else
4236  cat >conftest.$ac_ext <<_ACEOF
4237/* confdefs.h.  */
4238_ACEOF
4239cat confdefs.h >>conftest.$ac_ext
4240cat >>conftest.$ac_ext <<_ACEOF
4241/* end confdefs.h.  */
4242$ac_includes_default
4243int
4244main ()
4245{
4246#ifndef __SUNPRO_C
4247  (void) __SUNPRO_C;
4248#endif
4249
4250  ;
4251  return 0;
4252}
4253_ACEOF
4254rm -f conftest.$ac_objext
4255if { (ac_try="$ac_compile"
4256case "(($ac_try" in
4257  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4258  *) ac_try_echo=$ac_try;;
4259esac
4260eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4261$as_echo "$ac_try_echo") >&5
4262  (eval "$ac_compile") 2>conftest.er1
4263  ac_status=$?
4264  grep -v '^ *+' conftest.er1 >conftest.err
4265  rm -f conftest.er1
4266  cat conftest.err >&5
4267  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268  (exit $ac_status); } && {
4269	 test -z "$ac_c_werror_flag" ||
4270	 test ! -s conftest.err
4271       } && test -s conftest.$ac_objext; then
4272  ac_cv_have_decl___SUNPRO_C=yes
4273else
4274  $as_echo "$as_me: failed program was:" >&5
4275sed 's/^/| /' conftest.$ac_ext >&5
4276
4277	ac_cv_have_decl___SUNPRO_C=no
4278fi
4279
4280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4281fi
4282{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4283$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4284if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4285  SUNCC="yes"
4286else
4287  SUNCC="no"
4288fi
4289
4290    if test "x$SUNCC" = "xyes"; then
4291	CWARNFLAGS="-v"
4292    fi
4293fi
4294
4295
4296
4297
4298{ $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5
4299$as_echo_n "checking for floor in -lm... " >&6; }
4300if test "${ac_cv_lib_m_floor+set}" = set; then
4301  $as_echo_n "(cached) " >&6
4302else
4303  ac_check_lib_save_LIBS=$LIBS
4304LIBS="-lm  $LIBS"
4305cat >conftest.$ac_ext <<_ACEOF
4306/* confdefs.h.  */
4307_ACEOF
4308cat confdefs.h >>conftest.$ac_ext
4309cat >>conftest.$ac_ext <<_ACEOF
4310/* end confdefs.h.  */
4311
4312/* Override any GCC internal prototype to avoid an error.
4313   Use char because int might match the return type of a GCC
4314   builtin and then its argument prototype would still apply.  */
4315#ifdef __cplusplus
4316extern "C"
4317#endif
4318char floor ();
4319int
4320main ()
4321{
4322return floor ();
4323  ;
4324  return 0;
4325}
4326_ACEOF
4327rm -f conftest.$ac_objext conftest$ac_exeext
4328if { (ac_try="$ac_link"
4329case "(($ac_try" in
4330  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4331  *) ac_try_echo=$ac_try;;
4332esac
4333eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4334$as_echo "$ac_try_echo") >&5
4335  (eval "$ac_link") 2>conftest.er1
4336  ac_status=$?
4337  grep -v '^ *+' conftest.er1 >conftest.err
4338  rm -f conftest.er1
4339  cat conftest.err >&5
4340  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341  (exit $ac_status); } && {
4342	 test -z "$ac_c_werror_flag" ||
4343	 test ! -s conftest.err
4344       } && test -s conftest$ac_exeext && {
4345	 test "$cross_compiling" = yes ||
4346	 $as_test_x conftest$ac_exeext
4347       }; then
4348  ac_cv_lib_m_floor=yes
4349else
4350  $as_echo "$as_me: failed program was:" >&5
4351sed 's/^/| /' conftest.$ac_ext >&5
4352
4353	ac_cv_lib_m_floor=no
4354fi
4355
4356rm -rf conftest.dSYM
4357rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4358      conftest$ac_exeext conftest.$ac_ext
4359LIBS=$ac_check_lib_save_LIBS
4360fi
4361{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
4362$as_echo "$ac_cv_lib_m_floor" >&6; }
4363if test "x$ac_cv_lib_m_floor" = x""yes; then
4364  cat >>confdefs.h <<_ACEOF
4365#define HAVE_LIBM 1
4366_ACEOF
4367
4368  LIBS="-lm $LIBS"
4369
4370fi
4371
4372# Checks for pkg-config packages
4373
4374
4375if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4376	if test -n "$ac_tool_prefix"; then
4377  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4378set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4379{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4380$as_echo_n "checking for $ac_word... " >&6; }
4381if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4382  $as_echo_n "(cached) " >&6
4383else
4384  case $PKG_CONFIG in
4385  [\\/]* | ?:[\\/]*)
4386  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4387  ;;
4388  *)
4389  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390for as_dir in $PATH
4391do
4392  IFS=$as_save_IFS
4393  test -z "$as_dir" && as_dir=.
4394  for ac_exec_ext in '' $ac_executable_extensions; do
4395  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4396    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4397    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4398    break 2
4399  fi
4400done
4401done
4402IFS=$as_save_IFS
4403
4404  ;;
4405esac
4406fi
4407PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4408if test -n "$PKG_CONFIG"; then
4409  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4410$as_echo "$PKG_CONFIG" >&6; }
4411else
4412  { $as_echo "$as_me:$LINENO: result: no" >&5
4413$as_echo "no" >&6; }
4414fi
4415
4416
4417fi
4418if test -z "$ac_cv_path_PKG_CONFIG"; then
4419  ac_pt_PKG_CONFIG=$PKG_CONFIG
4420  # Extract the first word of "pkg-config", so it can be a program name with args.
4421set dummy pkg-config; ac_word=$2
4422{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4423$as_echo_n "checking for $ac_word... " >&6; }
4424if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4425  $as_echo_n "(cached) " >&6
4426else
4427  case $ac_pt_PKG_CONFIG in
4428  [\\/]* | ?:[\\/]*)
4429  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4430  ;;
4431  *)
4432  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433for as_dir in $PATH
4434do
4435  IFS=$as_save_IFS
4436  test -z "$as_dir" && as_dir=.
4437  for ac_exec_ext in '' $ac_executable_extensions; do
4438  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4439    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4440    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4441    break 2
4442  fi
4443done
4444done
4445IFS=$as_save_IFS
4446
4447  ;;
4448esac
4449fi
4450ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4451if test -n "$ac_pt_PKG_CONFIG"; then
4452  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4453$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4454else
4455  { $as_echo "$as_me:$LINENO: result: no" >&5
4456$as_echo "no" >&6; }
4457fi
4458
4459  if test "x$ac_pt_PKG_CONFIG" = x; then
4460    PKG_CONFIG=""
4461  else
4462    case $cross_compiling:$ac_tool_warned in
4463yes:)
4464{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4465$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4466ac_tool_warned=yes ;;
4467esac
4468    PKG_CONFIG=$ac_pt_PKG_CONFIG
4469  fi
4470else
4471  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4472fi
4473
4474fi
4475if test -n "$PKG_CONFIG"; then
4476	_pkg_min_version=0.9.0
4477	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4478$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4479	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4480		{ $as_echo "$as_me:$LINENO: result: yes" >&5
4481$as_echo "yes" >&6; }
4482	else
4483		{ $as_echo "$as_me:$LINENO: result: no" >&5
4484$as_echo "no" >&6; }
4485		PKG_CONFIG=""
4486	fi
4487
4488fi
4489
4490pkg_failed=no
4491{ $as_echo "$as_me:$LINENO: checking for XRANDR" >&5
4492$as_echo_n "checking for XRANDR... " >&6; }
4493
4494if test -n "$XRANDR_CFLAGS"; then
4495    pkg_cv_XRANDR_CFLAGS="$XRANDR_CFLAGS"
4496 elif test -n "$PKG_CONFIG"; then
4497    if test -n "$PKG_CONFIG" && \
4498    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.3 xrender x11\"") >&5
4499  ($PKG_CONFIG --exists --print-errors "xrandr >= 1.3 xrender x11") 2>&5
4500  ac_status=$?
4501  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502  (exit $ac_status); }; then
4503  pkg_cv_XRANDR_CFLAGS=`$PKG_CONFIG --cflags "xrandr >= 1.3 xrender x11" 2>/dev/null`
4504else
4505  pkg_failed=yes
4506fi
4507 else
4508    pkg_failed=untried
4509fi
4510if test -n "$XRANDR_LIBS"; then
4511    pkg_cv_XRANDR_LIBS="$XRANDR_LIBS"
4512 elif test -n "$PKG_CONFIG"; then
4513    if test -n "$PKG_CONFIG" && \
4514    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.3 xrender x11\"") >&5
4515  ($PKG_CONFIG --exists --print-errors "xrandr >= 1.3 xrender x11") 2>&5
4516  ac_status=$?
4517  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518  (exit $ac_status); }; then
4519  pkg_cv_XRANDR_LIBS=`$PKG_CONFIG --libs "xrandr >= 1.3 xrender x11" 2>/dev/null`
4520else
4521  pkg_failed=yes
4522fi
4523 else
4524    pkg_failed=untried
4525fi
4526
4527
4528
4529if test $pkg_failed = yes; then
4530
4531if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4532        _pkg_short_errors_supported=yes
4533else
4534        _pkg_short_errors_supported=no
4535fi
4536        if test $_pkg_short_errors_supported = yes; then
4537	        XRANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrandr >= 1.3 xrender x11" 2>&1`
4538        else
4539	        XRANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrandr >= 1.3 xrender x11" 2>&1`
4540        fi
4541	# Put the nasty error message in config.log where it belongs
4542	echo "$XRANDR_PKG_ERRORS" >&5
4543
4544	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xrandr >= 1.3 xrender x11) were not met:
4545
4546$XRANDR_PKG_ERRORS
4547
4548Consider adjusting the PKG_CONFIG_PATH environment variable if you
4549installed software in a non-standard prefix.
4550
4551Alternatively, you may set the environment variables XRANDR_CFLAGS
4552and XRANDR_LIBS to avoid the need to call pkg-config.
4553See the pkg-config man page for more details.
4554" >&5
4555$as_echo "$as_me: error: Package requirements (xrandr >= 1.3 xrender x11) were not met:
4556
4557$XRANDR_PKG_ERRORS
4558
4559Consider adjusting the PKG_CONFIG_PATH environment variable if you
4560installed software in a non-standard prefix.
4561
4562Alternatively, you may set the environment variables XRANDR_CFLAGS
4563and XRANDR_LIBS to avoid the need to call pkg-config.
4564See the pkg-config man page for more details.
4565" >&2;}
4566   { (exit 1); exit 1; }; }
4567elif test $pkg_failed = untried; then
4568	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4569$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4570{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4571is in your PATH or set the PKG_CONFIG environment variable to the full
4572path to pkg-config.
4573
4574Alternatively, you may set the environment variables XRANDR_CFLAGS
4575and XRANDR_LIBS to avoid the need to call pkg-config.
4576See the pkg-config man page for more details.
4577
4578To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4579See \`config.log' for more details." >&5
4580$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4581is in your PATH or set the PKG_CONFIG environment variable to the full
4582path to pkg-config.
4583
4584Alternatively, you may set the environment variables XRANDR_CFLAGS
4585and XRANDR_LIBS to avoid the need to call pkg-config.
4586See the pkg-config man page for more details.
4587
4588To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4589See \`config.log' for more details." >&2;}
4590   { (exit 1); exit 1; }; }; }
4591else
4592	XRANDR_CFLAGS=$pkg_cv_XRANDR_CFLAGS
4593	XRANDR_LIBS=$pkg_cv_XRANDR_LIBS
4594        { $as_echo "$as_me:$LINENO: result: yes" >&5
4595$as_echo "yes" >&6; }
4596	:
4597fi
4598XRANDR_CFLAGS="$CWARNFLAGS $XRANDR_CFLAGS"
4599
4600
4601
4602# Make sure we can run config.sub.
4603$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4604  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4605$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4606   { (exit 1); exit 1; }; }
4607
4608{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4609$as_echo_n "checking build system type... " >&6; }
4610if test "${ac_cv_build+set}" = set; then
4611  $as_echo_n "(cached) " >&6
4612else
4613  ac_build_alias=$build_alias
4614test "x$ac_build_alias" = x &&
4615  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4616test "x$ac_build_alias" = x &&
4617  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4618$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4619   { (exit 1); exit 1; }; }
4620ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4621  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4622$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4623   { (exit 1); exit 1; }; }
4624
4625fi
4626{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4627$as_echo "$ac_cv_build" >&6; }
4628case $ac_cv_build in
4629*-*-*) ;;
4630*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4631$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4632   { (exit 1); exit 1; }; };;
4633esac
4634build=$ac_cv_build
4635ac_save_IFS=$IFS; IFS='-'
4636set x $ac_cv_build
4637shift
4638build_cpu=$1
4639build_vendor=$2
4640shift; shift
4641# Remember, the first character of IFS is used to create $*,
4642# except with old shells:
4643build_os=$*
4644IFS=$ac_save_IFS
4645case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4646
4647
4648{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4649$as_echo_n "checking host system type... " >&6; }
4650if test "${ac_cv_host+set}" = set; then
4651  $as_echo_n "(cached) " >&6
4652else
4653  if test "x$host_alias" = x; then
4654  ac_cv_host=$ac_cv_build
4655else
4656  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4657    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4658$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4659   { (exit 1); exit 1; }; }
4660fi
4661
4662fi
4663{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4664$as_echo "$ac_cv_host" >&6; }
4665case $ac_cv_host in
4666*-*-*) ;;
4667*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4668$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4669   { (exit 1); exit 1; }; };;
4670esac
4671host=$ac_cv_host
4672ac_save_IFS=$IFS; IFS='-'
4673set x $ac_cv_host
4674shift
4675host_cpu=$1
4676host_vendor=$2
4677shift; shift
4678# Remember, the first character of IFS is used to create $*,
4679# except with old shells:
4680host_os=$*
4681IFS=$ac_save_IFS
4682case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4683
4684
4685
4686
4687
4688if test x$APP_MAN_SUFFIX = x    ; then
4689    APP_MAN_SUFFIX=1
4690fi
4691if test x$APP_MAN_DIR = x    ; then
4692    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4693fi
4694
4695if test x$LIB_MAN_SUFFIX = x    ; then
4696    LIB_MAN_SUFFIX=3
4697fi
4698if test x$LIB_MAN_DIR = x    ; then
4699    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4700fi
4701
4702if test x$FILE_MAN_SUFFIX = x    ; then
4703    case $host_os in
4704	solaris*)	FILE_MAN_SUFFIX=4  ;;
4705	*)		FILE_MAN_SUFFIX=5  ;;
4706    esac
4707fi
4708if test x$FILE_MAN_DIR = x    ; then
4709    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4710fi
4711
4712if test x$MISC_MAN_SUFFIX = x    ; then
4713    case $host_os in
4714	solaris*)	MISC_MAN_SUFFIX=5  ;;
4715	*)		MISC_MAN_SUFFIX=7  ;;
4716    esac
4717fi
4718if test x$MISC_MAN_DIR = x    ; then
4719    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4720fi
4721
4722if test x$DRIVER_MAN_SUFFIX = x    ; then
4723    case $host_os in
4724	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4725	*)		DRIVER_MAN_SUFFIX=4  ;;
4726    esac
4727fi
4728if test x$DRIVER_MAN_DIR = x    ; then
4729    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4730fi
4731
4732if test x$ADMIN_MAN_SUFFIX = x    ; then
4733    case $host_os in
4734	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4735	*)		ADMIN_MAN_SUFFIX=8  ;;
4736    esac
4737fi
4738if test x$ADMIN_MAN_DIR = x    ; then
4739    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4740fi
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758# Check whether --with-release-version was given.
4759if test "${with_release_version+set}" = set; then
4760  withval=$with_release_version; RELEASE_VERSION="$withval"
4761else
4762  RELEASE_VERSION=""
4763fi
4764
4765	if test "x$RELEASE_VERSION" != "x"; then
4766		PACKAGE="$PACKAGE-$RELEASE_VERSION"
4767		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4768		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4769$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4770	fi
4771
4772cat >>confdefs.h <<_ACEOF
4773#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4774_ACEOF
4775
4776	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4777	if test "x$PVM" = "x"; then
4778		PVM="0"
4779	fi
4780
4781cat >>confdefs.h <<_ACEOF
4782#define PACKAGE_VERSION_MINOR $PVM
4783_ACEOF
4784
4785	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4786	if test "x$PVP" = "x"; then
4787		PVP="0"
4788	fi
4789
4790cat >>confdefs.h <<_ACEOF
4791#define PACKAGE_VERSION_PATCHLEVEL $PVP
4792_ACEOF
4793
4794
4795
4796CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
4797mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
4798echo 'git directory not found: installing possibly empty changelog.' >&2)"
4799
4800distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
4801
4802
4803
4804ac_config_files="$ac_config_files Makefile"
4805
4806cat >confcache <<\_ACEOF
4807# This file is a shell script that caches the results of configure
4808# tests run on this system so they can be shared between configure
4809# scripts and configure runs, see configure's option --config-cache.
4810# It is not useful on other systems.  If it contains results you don't
4811# want to keep, you may remove or edit it.
4812#
4813# config.status only pays attention to the cache file if you give it
4814# the --recheck option to rerun configure.
4815#
4816# `ac_cv_env_foo' variables (set or unset) will be overridden when
4817# loading this file, other *unset* `ac_cv_foo' will be assigned the
4818# following values.
4819
4820_ACEOF
4821
4822# The following way of writing the cache mishandles newlines in values,
4823# but we know of no workaround that is simple, portable, and efficient.
4824# So, we kill variables containing newlines.
4825# Ultrix sh set writes to stderr and can't be redirected directly,
4826# and sets the high bit in the cache file unless we assign to the vars.
4827(
4828  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4829    eval ac_val=\$$ac_var
4830    case $ac_val in #(
4831    *${as_nl}*)
4832      case $ac_var in #(
4833      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4834$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4835      esac
4836      case $ac_var in #(
4837      _ | IFS | as_nl) ;; #(
4838      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4839      *) $as_unset $ac_var ;;
4840      esac ;;
4841    esac
4842  done
4843
4844  (set) 2>&1 |
4845    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4846    *${as_nl}ac_space=\ *)
4847      # `set' does not quote correctly, so add quotes (double-quote
4848      # substitution turns \\\\ into \\, and sed turns \\ into \).
4849      sed -n \
4850	"s/'/'\\\\''/g;
4851	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4852      ;; #(
4853    *)
4854      # `set' quotes correctly as required by POSIX, so do not add quotes.
4855      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4856      ;;
4857    esac |
4858    sort
4859) |
4860  sed '
4861     /^ac_cv_env_/b end
4862     t clear
4863     :clear
4864     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4865     t end
4866     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4867     :end' >>confcache
4868if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4869  if test -w "$cache_file"; then
4870    test "x$cache_file" != "x/dev/null" &&
4871      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4872$as_echo "$as_me: updating cache $cache_file" >&6;}
4873    cat confcache >$cache_file
4874  else
4875    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4876$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4877  fi
4878fi
4879rm -f confcache
4880
4881test "x$prefix" = xNONE && prefix=$ac_default_prefix
4882# Let make expand exec_prefix.
4883test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4884
4885DEFS=-DHAVE_CONFIG_H
4886
4887ac_libobjs=
4888ac_ltlibobjs=
4889for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4890  # 1. Remove the extension, and $U if already installed.
4891  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4892  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4893  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4894  #    will be set to the directory where LIBOBJS objects are built.
4895  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4896  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4897done
4898LIBOBJS=$ac_libobjs
4899
4900LTLIBOBJS=$ac_ltlibobjs
4901
4902
4903if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4904  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4905Usually this means the macro was only invoked conditionally." >&5
4906$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4907Usually this means the macro was only invoked conditionally." >&2;}
4908   { (exit 1); exit 1; }; }
4909fi
4910if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4911  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4912Usually this means the macro was only invoked conditionally." >&5
4913$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4914Usually this means the macro was only invoked conditionally." >&2;}
4915   { (exit 1); exit 1; }; }
4916fi
4917if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4918  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4919Usually this means the macro was only invoked conditionally." >&5
4920$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4921Usually this means the macro was only invoked conditionally." >&2;}
4922   { (exit 1); exit 1; }; }
4923fi
4924
4925: ${CONFIG_STATUS=./config.status}
4926ac_write_fail=0
4927ac_clean_files_save=$ac_clean_files
4928ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4929{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4930$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4931cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4932#! $SHELL
4933# Generated by $as_me.
4934# Run this file to recreate the current configuration.
4935# Compiler output produced by configure, useful for debugging
4936# configure, is in config.log if it exists.
4937
4938debug=false
4939ac_cs_recheck=false
4940ac_cs_silent=false
4941SHELL=\${CONFIG_SHELL-$SHELL}
4942_ACEOF
4943
4944cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4945## --------------------- ##
4946## M4sh Initialization.  ##
4947## --------------------- ##
4948
4949# Be more Bourne compatible
4950DUALCASE=1; export DUALCASE # for MKS sh
4951if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4952  emulate sh
4953  NULLCMD=:
4954  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4955  # is contrary to our usage.  Disable this feature.
4956  alias -g '${1+"$@"}'='"$@"'
4957  setopt NO_GLOB_SUBST
4958else
4959  case `(set -o) 2>/dev/null` in
4960  *posix*) set -o posix ;;
4961esac
4962
4963fi
4964
4965
4966
4967
4968# PATH needs CR
4969# Avoid depending upon Character Ranges.
4970as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4971as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4972as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4973as_cr_digits='0123456789'
4974as_cr_alnum=$as_cr_Letters$as_cr_digits
4975
4976as_nl='
4977'
4978export as_nl
4979# Printing a long string crashes Solaris 7 /usr/bin/printf.
4980as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4981as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4982as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4983if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4984  as_echo='printf %s\n'
4985  as_echo_n='printf %s'
4986else
4987  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4988    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4989    as_echo_n='/usr/ucb/echo -n'
4990  else
4991    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4992    as_echo_n_body='eval
4993      arg=$1;
4994      case $arg in
4995      *"$as_nl"*)
4996	expr "X$arg" : "X\\(.*\\)$as_nl";
4997	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4998      esac;
4999      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5000    '
5001    export as_echo_n_body
5002    as_echo_n='sh -c $as_echo_n_body as_echo'
5003  fi
5004  export as_echo_body
5005  as_echo='sh -c $as_echo_body as_echo'
5006fi
5007
5008# The user is always right.
5009if test "${PATH_SEPARATOR+set}" != set; then
5010  PATH_SEPARATOR=:
5011  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5012    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5013      PATH_SEPARATOR=';'
5014  }
5015fi
5016
5017# Support unset when possible.
5018if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5019  as_unset=unset
5020else
5021  as_unset=false
5022fi
5023
5024
5025# IFS
5026# We need space, tab and new line, in precisely that order.  Quoting is
5027# there to prevent editors from complaining about space-tab.
5028# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5029# splitting by setting IFS to empty value.)
5030IFS=" ""	$as_nl"
5031
5032# Find who we are.  Look in the path if we contain no directory separator.
5033case $0 in
5034  *[\\/]* ) as_myself=$0 ;;
5035  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036for as_dir in $PATH
5037do
5038  IFS=$as_save_IFS
5039  test -z "$as_dir" && as_dir=.
5040  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5041done
5042IFS=$as_save_IFS
5043
5044     ;;
5045esac
5046# We did not find ourselves, most probably we were run as `sh COMMAND'
5047# in which case we are not to be found in the path.
5048if test "x$as_myself" = x; then
5049  as_myself=$0
5050fi
5051if test ! -f "$as_myself"; then
5052  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5053  { (exit 1); exit 1; }
5054fi
5055
5056# Work around bugs in pre-3.0 UWIN ksh.
5057for as_var in ENV MAIL MAILPATH
5058do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5059done
5060PS1='$ '
5061PS2='> '
5062PS4='+ '
5063
5064# NLS nuisances.
5065LC_ALL=C
5066export LC_ALL
5067LANGUAGE=C
5068export LANGUAGE
5069
5070# Required to use basename.
5071if expr a : '\(a\)' >/dev/null 2>&1 &&
5072   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5073  as_expr=expr
5074else
5075  as_expr=false
5076fi
5077
5078if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5079  as_basename=basename
5080else
5081  as_basename=false
5082fi
5083
5084
5085# Name of the executable.
5086as_me=`$as_basename -- "$0" ||
5087$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5088	 X"$0" : 'X\(//\)$' \| \
5089	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5090$as_echo X/"$0" |
5091    sed '/^.*\/\([^/][^/]*\)\/*$/{
5092	    s//\1/
5093	    q
5094	  }
5095	  /^X\/\(\/\/\)$/{
5096	    s//\1/
5097	    q
5098	  }
5099	  /^X\/\(\/\).*/{
5100	    s//\1/
5101	    q
5102	  }
5103	  s/.*/./; q'`
5104
5105# CDPATH.
5106$as_unset CDPATH
5107
5108
5109
5110  as_lineno_1=$LINENO
5111  as_lineno_2=$LINENO
5112  test "x$as_lineno_1" != "x$as_lineno_2" &&
5113  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5114
5115  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5116  # uniformly replaced by the line number.  The first 'sed' inserts a
5117  # line-number line after each line using $LINENO; the second 'sed'
5118  # does the real work.  The second script uses 'N' to pair each
5119  # line-number line with the line containing $LINENO, and appends
5120  # trailing '-' during substitution so that $LINENO is not a special
5121  # case at line end.
5122  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5123  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5124  # E. McMahon (1931-1989) for sed's syntax.  :-)
5125  sed -n '
5126    p
5127    /[$]LINENO/=
5128  ' <$as_myself |
5129    sed '
5130      s/[$]LINENO.*/&-/
5131      t lineno
5132      b
5133      :lineno
5134      N
5135      :loop
5136      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5137      t loop
5138      s/-\n.*//
5139    ' >$as_me.lineno &&
5140  chmod +x "$as_me.lineno" ||
5141    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5142   { (exit 1); exit 1; }; }
5143
5144  # Don't try to exec as it changes $[0], causing all sort of problems
5145  # (the dirname of $[0] is not the place where we might find the
5146  # original and so on.  Autoconf is especially sensitive to this).
5147  . "./$as_me.lineno"
5148  # Exit status is that of the last command.
5149  exit
5150}
5151
5152
5153if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5154  as_dirname=dirname
5155else
5156  as_dirname=false
5157fi
5158
5159ECHO_C= ECHO_N= ECHO_T=
5160case `echo -n x` in
5161-n*)
5162  case `echo 'x\c'` in
5163  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5164  *)   ECHO_C='\c';;
5165  esac;;
5166*)
5167  ECHO_N='-n';;
5168esac
5169if expr a : '\(a\)' >/dev/null 2>&1 &&
5170   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5171  as_expr=expr
5172else
5173  as_expr=false
5174fi
5175
5176rm -f conf$$ conf$$.exe conf$$.file
5177if test -d conf$$.dir; then
5178  rm -f conf$$.dir/conf$$.file
5179else
5180  rm -f conf$$.dir
5181  mkdir conf$$.dir 2>/dev/null
5182fi
5183if (echo >conf$$.file) 2>/dev/null; then
5184  if ln -s conf$$.file conf$$ 2>/dev/null; then
5185    as_ln_s='ln -s'
5186    # ... but there are two gotchas:
5187    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5188    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5189    # In both cases, we have to default to `cp -p'.
5190    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5191      as_ln_s='cp -p'
5192  elif ln conf$$.file conf$$ 2>/dev/null; then
5193    as_ln_s=ln
5194  else
5195    as_ln_s='cp -p'
5196  fi
5197else
5198  as_ln_s='cp -p'
5199fi
5200rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5201rmdir conf$$.dir 2>/dev/null
5202
5203if mkdir -p . 2>/dev/null; then
5204  as_mkdir_p=:
5205else
5206  test -d ./-p && rmdir ./-p
5207  as_mkdir_p=false
5208fi
5209
5210if test -x / >/dev/null 2>&1; then
5211  as_test_x='test -x'
5212else
5213  if ls -dL / >/dev/null 2>&1; then
5214    as_ls_L_option=L
5215  else
5216    as_ls_L_option=
5217  fi
5218  as_test_x='
5219    eval sh -c '\''
5220      if test -d "$1"; then
5221	test -d "$1/.";
5222      else
5223	case $1 in
5224	-*)set "./$1";;
5225	esac;
5226	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5227	???[sx]*):;;*)false;;esac;fi
5228    '\'' sh
5229  '
5230fi
5231as_executable_p=$as_test_x
5232
5233# Sed expression to map a string onto a valid CPP name.
5234as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5235
5236# Sed expression to map a string onto a valid variable name.
5237as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5238
5239
5240exec 6>&1
5241
5242# Save the log message, to keep $[0] and so on meaningful, and to
5243# report actual input values of CONFIG_FILES etc. instead of their
5244# values after options handling.
5245ac_log="
5246This file was extended by xrandr $as_me 1.3.2, which was
5247generated by GNU Autoconf 2.63.  Invocation command line was
5248
5249  CONFIG_FILES    = $CONFIG_FILES
5250  CONFIG_HEADERS  = $CONFIG_HEADERS
5251  CONFIG_LINKS    = $CONFIG_LINKS
5252  CONFIG_COMMANDS = $CONFIG_COMMANDS
5253  $ $0 $@
5254
5255on `(hostname || uname -n) 2>/dev/null | sed 1q`
5256"
5257
5258_ACEOF
5259
5260case $ac_config_files in *"
5261"*) set x $ac_config_files; shift; ac_config_files=$*;;
5262esac
5263
5264case $ac_config_headers in *"
5265"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5266esac
5267
5268
5269cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5270# Files that config.status was made for.
5271config_files="$ac_config_files"
5272config_headers="$ac_config_headers"
5273config_commands="$ac_config_commands"
5274
5275_ACEOF
5276
5277cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5278ac_cs_usage="\
5279\`$as_me' instantiates files from templates according to the
5280current configuration.
5281
5282Usage: $0 [OPTION]... [FILE]...
5283
5284  -h, --help       print this help, then exit
5285  -V, --version    print version number and configuration settings, then exit
5286  -q, --quiet, --silent
5287                   do not print progress messages
5288  -d, --debug      don't remove temporary files
5289      --recheck    update $as_me by reconfiguring in the same conditions
5290      --file=FILE[:TEMPLATE]
5291                   instantiate the configuration file FILE
5292      --header=FILE[:TEMPLATE]
5293                   instantiate the configuration header FILE
5294
5295Configuration files:
5296$config_files
5297
5298Configuration headers:
5299$config_headers
5300
5301Configuration commands:
5302$config_commands
5303
5304Report bugs to <bug-autoconf@gnu.org>."
5305
5306_ACEOF
5307cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5308ac_cs_version="\\
5309xrandr config.status 1.3.2
5310configured by $0, generated by GNU Autoconf 2.63,
5311  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5312
5313Copyright (C) 2008 Free Software Foundation, Inc.
5314This config.status script is free software; the Free Software Foundation
5315gives unlimited permission to copy, distribute and modify it."
5316
5317ac_pwd='$ac_pwd'
5318srcdir='$srcdir'
5319INSTALL='$INSTALL'
5320MKDIR_P='$MKDIR_P'
5321AWK='$AWK'
5322test -n "\$AWK" || AWK=awk
5323_ACEOF
5324
5325cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5326# The default lists apply if the user does not specify any file.
5327ac_need_defaults=:
5328while test $# != 0
5329do
5330  case $1 in
5331  --*=*)
5332    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5333    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5334    ac_shift=:
5335    ;;
5336  *)
5337    ac_option=$1
5338    ac_optarg=$2
5339    ac_shift=shift
5340    ;;
5341  esac
5342
5343  case $ac_option in
5344  # Handling of the options.
5345  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5346    ac_cs_recheck=: ;;
5347  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5348    $as_echo "$ac_cs_version"; exit ;;
5349  --debug | --debu | --deb | --de | --d | -d )
5350    debug=: ;;
5351  --file | --fil | --fi | --f )
5352    $ac_shift
5353    case $ac_optarg in
5354    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5355    esac
5356    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5357    ac_need_defaults=false;;
5358  --header | --heade | --head | --hea )
5359    $ac_shift
5360    case $ac_optarg in
5361    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5362    esac
5363    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5364    ac_need_defaults=false;;
5365  --he | --h)
5366    # Conflict between --help and --header
5367    { $as_echo "$as_me: error: ambiguous option: $1
5368Try \`$0 --help' for more information." >&2
5369   { (exit 1); exit 1; }; };;
5370  --help | --hel | -h )
5371    $as_echo "$ac_cs_usage"; exit ;;
5372  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5373  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5374    ac_cs_silent=: ;;
5375
5376  # This is an error.
5377  -*) { $as_echo "$as_me: error: unrecognized option: $1
5378Try \`$0 --help' for more information." >&2
5379   { (exit 1); exit 1; }; } ;;
5380
5381  *) ac_config_targets="$ac_config_targets $1"
5382     ac_need_defaults=false ;;
5383
5384  esac
5385  shift
5386done
5387
5388ac_configure_extra_args=
5389
5390if $ac_cs_silent; then
5391  exec 6>/dev/null
5392  ac_configure_extra_args="$ac_configure_extra_args --silent"
5393fi
5394
5395_ACEOF
5396cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5397if \$ac_cs_recheck; then
5398  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5399  shift
5400  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5401  CONFIG_SHELL='$SHELL'
5402  export CONFIG_SHELL
5403  exec "\$@"
5404fi
5405
5406_ACEOF
5407cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5408exec 5>>config.log
5409{
5410  echo
5411  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5412## Running $as_me. ##
5413_ASBOX
5414  $as_echo "$ac_log"
5415} >&5
5416
5417_ACEOF
5418cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5419#
5420# INIT-COMMANDS
5421#
5422AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5423
5424_ACEOF
5425
5426cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5427
5428# Handling of arguments.
5429for ac_config_target in $ac_config_targets
5430do
5431  case $ac_config_target in
5432    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5433    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5434    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5435
5436  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5437$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5438   { (exit 1); exit 1; }; };;
5439  esac
5440done
5441
5442
5443# If the user did not use the arguments to specify the items to instantiate,
5444# then the envvar interface is used.  Set only those that are not.
5445# We use the long form for the default assignment because of an extremely
5446# bizarre bug on SunOS 4.1.3.
5447if $ac_need_defaults; then
5448  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5449  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5450  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5451fi
5452
5453# Have a temporary directory for convenience.  Make it in the build tree
5454# simply because there is no reason against having it here, and in addition,
5455# creating and moving files from /tmp can sometimes cause problems.
5456# Hook for its removal unless debugging.
5457# Note that there is a small window in which the directory will not be cleaned:
5458# after its creation but before its name has been assigned to `$tmp'.
5459$debug ||
5460{
5461  tmp=
5462  trap 'exit_status=$?
5463  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5464' 0
5465  trap '{ (exit 1); exit 1; }' 1 2 13 15
5466}
5467# Create a (secure) tmp directory for tmp files.
5468
5469{
5470  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5471  test -n "$tmp" && test -d "$tmp"
5472}  ||
5473{
5474  tmp=./conf$$-$RANDOM
5475  (umask 077 && mkdir "$tmp")
5476} ||
5477{
5478   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5479   { (exit 1); exit 1; }
5480}
5481
5482# Set up the scripts for CONFIG_FILES section.
5483# No need to generate them if there are no CONFIG_FILES.
5484# This happens for instance with `./config.status config.h'.
5485if test -n "$CONFIG_FILES"; then
5486
5487
5488ac_cr='
5489'
5490ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5491if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5492  ac_cs_awk_cr='\\r'
5493else
5494  ac_cs_awk_cr=$ac_cr
5495fi
5496
5497echo 'BEGIN {' >"$tmp/subs1.awk" &&
5498_ACEOF
5499
5500
5501{
5502  echo "cat >conf$$subs.awk <<_ACEOF" &&
5503  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5504  echo "_ACEOF"
5505} >conf$$subs.sh ||
5506  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5507$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5508   { (exit 1); exit 1; }; }
5509ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5510ac_delim='%!_!# '
5511for ac_last_try in false false false false false :; do
5512  . ./conf$$subs.sh ||
5513    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5514$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5515   { (exit 1); exit 1; }; }
5516
5517  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5518  if test $ac_delim_n = $ac_delim_num; then
5519    break
5520  elif $ac_last_try; then
5521    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5522$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5523   { (exit 1); exit 1; }; }
5524  else
5525    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5526  fi
5527done
5528rm -f conf$$subs.sh
5529
5530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5531cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5532_ACEOF
5533sed -n '
5534h
5535s/^/S["/; s/!.*/"]=/
5536p
5537g
5538s/^[^!]*!//
5539:repl
5540t repl
5541s/'"$ac_delim"'$//
5542t delim
5543:nl
5544h
5545s/\(.\{148\}\).*/\1/
5546t more1
5547s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5548p
5549n
5550b repl
5551:more1
5552s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5553p
5554g
5555s/.\{148\}//
5556t nl
5557:delim
5558h
5559s/\(.\{148\}\).*/\1/
5560t more2
5561s/["\\]/\\&/g; s/^/"/; s/$/"/
5562p
5563b
5564:more2
5565s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5566p
5567g
5568s/.\{148\}//
5569t delim
5570' <conf$$subs.awk | sed '
5571/^[^""]/{
5572  N
5573  s/\n//
5574}
5575' >>$CONFIG_STATUS || ac_write_fail=1
5576rm -f conf$$subs.awk
5577cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5578_ACAWK
5579cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5580  for (key in S) S_is_set[key] = 1
5581  FS = ""
5582
5583}
5584{
5585  line = $ 0
5586  nfields = split(line, field, "@")
5587  substed = 0
5588  len = length(field[1])
5589  for (i = 2; i < nfields; i++) {
5590    key = field[i]
5591    keylen = length(key)
5592    if (S_is_set[key]) {
5593      value = S[key]
5594      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5595      len += length(value) + length(field[++i])
5596      substed = 1
5597    } else
5598      len += 1 + keylen
5599  }
5600
5601  print line
5602}
5603
5604_ACAWK
5605_ACEOF
5606cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5607if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5608  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5609else
5610  cat
5611fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5612  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5613$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5614   { (exit 1); exit 1; }; }
5615_ACEOF
5616
5617# VPATH may cause trouble with some makes, so we remove $(srcdir),
5618# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5619# trailing colons and then remove the whole line if VPATH becomes empty
5620# (actually we leave an empty line to preserve line numbers).
5621if test "x$srcdir" = x.; then
5622  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
5623s/:*\$(srcdir):*/:/
5624s/:*\${srcdir}:*/:/
5625s/:*@srcdir@:*/:/
5626s/^\([^=]*=[	 ]*\):*/\1/
5627s/:*$//
5628s/^[^=]*=[	 ]*$//
5629}'
5630fi
5631
5632cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5633fi # test -n "$CONFIG_FILES"
5634
5635# Set up the scripts for CONFIG_HEADERS section.
5636# No need to generate them if there are no CONFIG_HEADERS.
5637# This happens for instance with `./config.status Makefile'.
5638if test -n "$CONFIG_HEADERS"; then
5639cat >"$tmp/defines.awk" <<\_ACAWK ||
5640BEGIN {
5641_ACEOF
5642
5643# Transform confdefs.h into an awk script `defines.awk', embedded as
5644# here-document in config.status, that substitutes the proper values into
5645# config.h.in to produce config.h.
5646
5647# Create a delimiter string that does not exist in confdefs.h, to ease
5648# handling of long lines.
5649ac_delim='%!_!# '
5650for ac_last_try in false false :; do
5651  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5652  if test -z "$ac_t"; then
5653    break
5654  elif $ac_last_try; then
5655    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5656$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5657   { (exit 1); exit 1; }; }
5658  else
5659    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5660  fi
5661done
5662
5663# For the awk script, D is an array of macro values keyed by name,
5664# likewise P contains macro parameters if any.  Preserve backslash
5665# newline sequences.
5666
5667ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5668sed -n '
5669s/.\{148\}/&'"$ac_delim"'/g
5670t rset
5671:rset
5672s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
5673t def
5674d
5675:def
5676s/\\$//
5677t bsnl
5678s/["\\]/\\&/g
5679s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5680D["\1"]=" \3"/p
5681s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
5682d
5683:bsnl
5684s/["\\]/\\&/g
5685s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5686D["\1"]=" \3\\\\\\n"\\/p
5687t cont
5688s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5689t cont
5690d
5691:cont
5692n
5693s/.\{148\}/&'"$ac_delim"'/g
5694t clear
5695:clear
5696s/\\$//
5697t bsnlc
5698s/["\\]/\\&/g; s/^/"/; s/$/"/p
5699d
5700:bsnlc
5701s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5702b cont
5703' <confdefs.h | sed '
5704s/'"$ac_delim"'/"\\\
5705"/g' >>$CONFIG_STATUS || ac_write_fail=1
5706
5707cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5708  for (key in D) D_is_set[key] = 1
5709  FS = ""
5710}
5711/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5712  line = \$ 0
5713  split(line, arg, " ")
5714  if (arg[1] == "#") {
5715    defundef = arg[2]
5716    mac1 = arg[3]
5717  } else {
5718    defundef = substr(arg[1], 2)
5719    mac1 = arg[2]
5720  }
5721  split(mac1, mac2, "(") #)
5722  macro = mac2[1]
5723  prefix = substr(line, 1, index(line, defundef) - 1)
5724  if (D_is_set[macro]) {
5725    # Preserve the white space surrounding the "#".
5726    print prefix "define", macro P[macro] D[macro]
5727    next
5728  } else {
5729    # Replace #undef with comments.  This is necessary, for example,
5730    # in the case of _POSIX_SOURCE, which is predefined and required
5731    # on some systems where configure will not decide to define it.
5732    if (defundef == "undef") {
5733      print "/*", prefix defundef, macro, "*/"
5734      next
5735    }
5736  }
5737}
5738{ print }
5739_ACAWK
5740_ACEOF
5741cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5742  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
5743$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
5744   { (exit 1); exit 1; }; }
5745fi # test -n "$CONFIG_HEADERS"
5746
5747
5748eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5749shift
5750for ac_tag
5751do
5752  case $ac_tag in
5753  :[FHLC]) ac_mode=$ac_tag; continue;;
5754  esac
5755  case $ac_mode$ac_tag in
5756  :[FHL]*:*);;
5757  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5758$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5759   { (exit 1); exit 1; }; };;
5760  :[FH]-) ac_tag=-:-;;
5761  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5762  esac
5763  ac_save_IFS=$IFS
5764  IFS=:
5765  set x $ac_tag
5766  IFS=$ac_save_IFS
5767  shift
5768  ac_file=$1
5769  shift
5770
5771  case $ac_mode in
5772  :L) ac_source=$1;;
5773  :[FH])
5774    ac_file_inputs=
5775    for ac_f
5776    do
5777      case $ac_f in
5778      -) ac_f="$tmp/stdin";;
5779      *) # Look for the file first in the build tree, then in the source tree
5780	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5781	 # because $ac_f cannot contain `:'.
5782	 test -f "$ac_f" ||
5783	   case $ac_f in
5784	   [\\/$]*) false;;
5785	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5786	   esac ||
5787	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5788$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5789   { (exit 1); exit 1; }; };;
5790      esac
5791      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5792      ac_file_inputs="$ac_file_inputs '$ac_f'"
5793    done
5794
5795    # Let's still pretend it is `configure' which instantiates (i.e., don't
5796    # use $as_me), people would be surprised to read:
5797    #    /* config.h.  Generated by config.status.  */
5798    configure_input='Generated from '`
5799	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5800	`' by configure.'
5801    if test x"$ac_file" != x-; then
5802      configure_input="$ac_file.  $configure_input"
5803      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5804$as_echo "$as_me: creating $ac_file" >&6;}
5805    fi
5806    # Neutralize special characters interpreted by sed in replacement strings.
5807    case $configure_input in #(
5808    *\&* | *\|* | *\\* )
5809       ac_sed_conf_input=`$as_echo "$configure_input" |
5810       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5811    *) ac_sed_conf_input=$configure_input;;
5812    esac
5813
5814    case $ac_tag in
5815    *:-:* | *:-) cat >"$tmp/stdin" \
5816      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5817$as_echo "$as_me: error: could not create $ac_file" >&2;}
5818   { (exit 1); exit 1; }; } ;;
5819    esac
5820    ;;
5821  esac
5822
5823  ac_dir=`$as_dirname -- "$ac_file" ||
5824$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5825	 X"$ac_file" : 'X\(//\)[^/]' \| \
5826	 X"$ac_file" : 'X\(//\)$' \| \
5827	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5828$as_echo X"$ac_file" |
5829    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5830	    s//\1/
5831	    q
5832	  }
5833	  /^X\(\/\/\)[^/].*/{
5834	    s//\1/
5835	    q
5836	  }
5837	  /^X\(\/\/\)$/{
5838	    s//\1/
5839	    q
5840	  }
5841	  /^X\(\/\).*/{
5842	    s//\1/
5843	    q
5844	  }
5845	  s/.*/./; q'`
5846  { as_dir="$ac_dir"
5847  case $as_dir in #(
5848  -*) as_dir=./$as_dir;;
5849  esac
5850  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5851    as_dirs=
5852    while :; do
5853      case $as_dir in #(
5854      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5855      *) as_qdir=$as_dir;;
5856      esac
5857      as_dirs="'$as_qdir' $as_dirs"
5858      as_dir=`$as_dirname -- "$as_dir" ||
5859$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5860	 X"$as_dir" : 'X\(//\)[^/]' \| \
5861	 X"$as_dir" : 'X\(//\)$' \| \
5862	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5863$as_echo X"$as_dir" |
5864    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5865	    s//\1/
5866	    q
5867	  }
5868	  /^X\(\/\/\)[^/].*/{
5869	    s//\1/
5870	    q
5871	  }
5872	  /^X\(\/\/\)$/{
5873	    s//\1/
5874	    q
5875	  }
5876	  /^X\(\/\).*/{
5877	    s//\1/
5878	    q
5879	  }
5880	  s/.*/./; q'`
5881      test -d "$as_dir" && break
5882    done
5883    test -z "$as_dirs" || eval "mkdir $as_dirs"
5884  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5885$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5886   { (exit 1); exit 1; }; }; }
5887  ac_builddir=.
5888
5889case "$ac_dir" in
5890.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5891*)
5892  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5893  # A ".." for each directory in $ac_dir_suffix.
5894  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5895  case $ac_top_builddir_sub in
5896  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5897  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5898  esac ;;
5899esac
5900ac_abs_top_builddir=$ac_pwd
5901ac_abs_builddir=$ac_pwd$ac_dir_suffix
5902# for backward compatibility:
5903ac_top_builddir=$ac_top_build_prefix
5904
5905case $srcdir in
5906  .)  # We are building in place.
5907    ac_srcdir=.
5908    ac_top_srcdir=$ac_top_builddir_sub
5909    ac_abs_top_srcdir=$ac_pwd ;;
5910  [\\/]* | ?:[\\/]* )  # Absolute name.
5911    ac_srcdir=$srcdir$ac_dir_suffix;
5912    ac_top_srcdir=$srcdir
5913    ac_abs_top_srcdir=$srcdir ;;
5914  *) # Relative name.
5915    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5916    ac_top_srcdir=$ac_top_build_prefix$srcdir
5917    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5918esac
5919ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5920
5921
5922  case $ac_mode in
5923  :F)
5924  #
5925  # CONFIG_FILE
5926  #
5927
5928  case $INSTALL in
5929  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5930  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5931  esac
5932  ac_MKDIR_P=$MKDIR_P
5933  case $MKDIR_P in
5934  [\\/$]* | ?:[\\/]* ) ;;
5935  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5936  esac
5937_ACEOF
5938
5939cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5940# If the template does not know about datarootdir, expand it.
5941# FIXME: This hack should be removed a few years after 2.60.
5942ac_datarootdir_hack=; ac_datarootdir_seen=
5943
5944ac_sed_dataroot='
5945/datarootdir/ {
5946  p
5947  q
5948}
5949/@datadir@/p
5950/@docdir@/p
5951/@infodir@/p
5952/@localedir@/p
5953/@mandir@/p
5954'
5955case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5956*datarootdir*) ac_datarootdir_seen=yes;;
5957*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5958  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5959$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5960_ACEOF
5961cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5962  ac_datarootdir_hack='
5963  s&@datadir@&$datadir&g
5964  s&@docdir@&$docdir&g
5965  s&@infodir@&$infodir&g
5966  s&@localedir@&$localedir&g
5967  s&@mandir@&$mandir&g
5968    s&\\\${datarootdir}&$datarootdir&g' ;;
5969esac
5970_ACEOF
5971
5972# Neutralize VPATH when `$srcdir' = `.'.
5973# Shell code in configure.ac might set extrasub.
5974# FIXME: do we really want to maintain this feature?
5975cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5976ac_sed_extra="$ac_vpsub
5977$extrasub
5978_ACEOF
5979cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5980:t
5981/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5982s|@configure_input@|$ac_sed_conf_input|;t t
5983s&@top_builddir@&$ac_top_builddir_sub&;t t
5984s&@top_build_prefix@&$ac_top_build_prefix&;t t
5985s&@srcdir@&$ac_srcdir&;t t
5986s&@abs_srcdir@&$ac_abs_srcdir&;t t
5987s&@top_srcdir@&$ac_top_srcdir&;t t
5988s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5989s&@builddir@&$ac_builddir&;t t
5990s&@abs_builddir@&$ac_abs_builddir&;t t
5991s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5992s&@INSTALL@&$ac_INSTALL&;t t
5993s&@MKDIR_P@&$ac_MKDIR_P&;t t
5994$ac_datarootdir_hack
5995"
5996eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5997  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5998$as_echo "$as_me: error: could not create $ac_file" >&2;}
5999   { (exit 1); exit 1; }; }
6000
6001test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6002  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6003  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6004  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6005which seems to be undefined.  Please make sure it is defined." >&5
6006$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6007which seems to be undefined.  Please make sure it is defined." >&2;}
6008
6009  rm -f "$tmp/stdin"
6010  case $ac_file in
6011  -) cat "$tmp/out" && rm -f "$tmp/out";;
6012  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6013  esac \
6014  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6015$as_echo "$as_me: error: could not create $ac_file" >&2;}
6016   { (exit 1); exit 1; }; }
6017 ;;
6018  :H)
6019  #
6020  # CONFIG_HEADER
6021  #
6022  if test x"$ac_file" != x-; then
6023    {
6024      $as_echo "/* $configure_input  */" \
6025      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6026    } >"$tmp/config.h" \
6027      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6028$as_echo "$as_me: error: could not create $ac_file" >&2;}
6029   { (exit 1); exit 1; }; }
6030    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6031      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6032$as_echo "$as_me: $ac_file is unchanged" >&6;}
6033    else
6034      rm -f "$ac_file"
6035      mv "$tmp/config.h" "$ac_file" \
6036	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6037$as_echo "$as_me: error: could not create $ac_file" >&2;}
6038   { (exit 1); exit 1; }; }
6039    fi
6040  else
6041    $as_echo "/* $configure_input  */" \
6042      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6043      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6044$as_echo "$as_me: error: could not create -" >&2;}
6045   { (exit 1); exit 1; }; }
6046  fi
6047# Compute "$ac_file"'s index in $config_headers.
6048_am_arg="$ac_file"
6049_am_stamp_count=1
6050for _am_header in $config_headers :; do
6051  case $_am_header in
6052    $_am_arg | $_am_arg:* )
6053      break ;;
6054    * )
6055      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6056  esac
6057done
6058echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6059$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6060	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6061	 X"$_am_arg" : 'X\(//\)$' \| \
6062	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6063$as_echo X"$_am_arg" |
6064    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6065	    s//\1/
6066	    q
6067	  }
6068	  /^X\(\/\/\)[^/].*/{
6069	    s//\1/
6070	    q
6071	  }
6072	  /^X\(\/\/\)$/{
6073	    s//\1/
6074	    q
6075	  }
6076	  /^X\(\/\).*/{
6077	    s//\1/
6078	    q
6079	  }
6080	  s/.*/./; q'`/stamp-h$_am_stamp_count
6081 ;;
6082
6083  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6084$as_echo "$as_me: executing $ac_file commands" >&6;}
6085 ;;
6086  esac
6087
6088
6089  case $ac_file$ac_mode in
6090    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6091  # Strip MF so we end up with the name of the file.
6092  mf=`echo "$mf" | sed -e 's/:.*$//'`
6093  # Check whether this is an Automake generated Makefile or not.
6094  # We used to match only the files named `Makefile.in', but
6095  # some people rename them; so instead we look at the file content.
6096  # Grep'ing the first line is not enough: some people post-process
6097  # each Makefile.in and add a new line on top of each file to say so.
6098  # Grep'ing the whole file is not good either: AIX grep has a line
6099  # limit of 2048, but all sed's we know have understand at least 4000.
6100  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6101    dirpart=`$as_dirname -- "$mf" ||
6102$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6103	 X"$mf" : 'X\(//\)[^/]' \| \
6104	 X"$mf" : 'X\(//\)$' \| \
6105	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6106$as_echo X"$mf" |
6107    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6108	    s//\1/
6109	    q
6110	  }
6111	  /^X\(\/\/\)[^/].*/{
6112	    s//\1/
6113	    q
6114	  }
6115	  /^X\(\/\/\)$/{
6116	    s//\1/
6117	    q
6118	  }
6119	  /^X\(\/\).*/{
6120	    s//\1/
6121	    q
6122	  }
6123	  s/.*/./; q'`
6124  else
6125    continue
6126  fi
6127  # Extract the definition of DEPDIR, am__include, and am__quote
6128  # from the Makefile without running `make'.
6129  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6130  test -z "$DEPDIR" && continue
6131  am__include=`sed -n 's/^am__include = //p' < "$mf"`
6132  test -z "am__include" && continue
6133  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6134  # When using ansi2knr, U may be empty or an underscore; expand it
6135  U=`sed -n 's/^U = //p' < "$mf"`
6136  # Find all dependency output files, they are included files with
6137  # $(DEPDIR) in their names.  We invoke sed twice because it is the
6138  # simplest approach to changing $(DEPDIR) to its actual value in the
6139  # expansion.
6140  for file in `sed -n "
6141    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6142       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6143    # Make sure the directory exists.
6144    test -f "$dirpart/$file" && continue
6145    fdir=`$as_dirname -- "$file" ||
6146$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6147	 X"$file" : 'X\(//\)[^/]' \| \
6148	 X"$file" : 'X\(//\)$' \| \
6149	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6150$as_echo X"$file" |
6151    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6152	    s//\1/
6153	    q
6154	  }
6155	  /^X\(\/\/\)[^/].*/{
6156	    s//\1/
6157	    q
6158	  }
6159	  /^X\(\/\/\)$/{
6160	    s//\1/
6161	    q
6162	  }
6163	  /^X\(\/\).*/{
6164	    s//\1/
6165	    q
6166	  }
6167	  s/.*/./; q'`
6168    { as_dir=$dirpart/$fdir
6169  case $as_dir in #(
6170  -*) as_dir=./$as_dir;;
6171  esac
6172  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6173    as_dirs=
6174    while :; do
6175      case $as_dir in #(
6176      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6177      *) as_qdir=$as_dir;;
6178      esac
6179      as_dirs="'$as_qdir' $as_dirs"
6180      as_dir=`$as_dirname -- "$as_dir" ||
6181$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6182	 X"$as_dir" : 'X\(//\)[^/]' \| \
6183	 X"$as_dir" : 'X\(//\)$' \| \
6184	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6185$as_echo X"$as_dir" |
6186    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6187	    s//\1/
6188	    q
6189	  }
6190	  /^X\(\/\/\)[^/].*/{
6191	    s//\1/
6192	    q
6193	  }
6194	  /^X\(\/\/\)$/{
6195	    s//\1/
6196	    q
6197	  }
6198	  /^X\(\/\).*/{
6199	    s//\1/
6200	    q
6201	  }
6202	  s/.*/./; q'`
6203      test -d "$as_dir" && break
6204    done
6205    test -z "$as_dirs" || eval "mkdir $as_dirs"
6206  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6207$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6208   { (exit 1); exit 1; }; }; }
6209    # echo "creating $dirpart/$file"
6210    echo '# dummy' > "$dirpart/$file"
6211  done
6212done
6213 ;;
6214
6215  esac
6216done # for ac_tag
6217
6218
6219{ (exit 0); exit 0; }
6220_ACEOF
6221chmod +x $CONFIG_STATUS
6222ac_clean_files=$ac_clean_files_save
6223
6224test $ac_write_fail = 0 ||
6225  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6226$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6227   { (exit 1); exit 1; }; }
6228
6229
6230# configure is writing to config.log, and then calls config.status.
6231# config.status does its own redirection, appending to config.log.
6232# Unfortunately, on DOS this fails, as config.log is still kept open
6233# by configure, so config.status won't be able to write to it; its
6234# output is simply discarded.  So we exec the FD to /dev/null,
6235# effectively closing config.log, so it can be properly (re)opened and
6236# appended to by config.status.  When coming back to configure, we
6237# need to make the FD available again.
6238if test "$no_create" != yes; then
6239  ac_cs_success=:
6240  ac_config_status_args=
6241  test "$silent" = yes &&
6242    ac_config_status_args="$ac_config_status_args --quiet"
6243  exec 5>/dev/null
6244  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6245  exec 5>>config.log
6246  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6247  # would make configure fail if this is the last instruction.
6248  $ac_cs_success || { (exit 1); exit 1; }
6249fi
6250if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6251  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6252$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6253fi
6254
6255