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