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