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