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