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