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