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