1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for putty 0.76.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212  IFS=$as_save_IFS
213  test -z "$as_dir" && as_dir=.
214  as_found=:
215  case $as_dir in #(
216	 /*)
217	   for as_base in sh bash ksh sh5; do
218	     # Try only shells that exist, to save several forks.
219	     as_shell=$as_dir/$as_base
220	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222  CONFIG_SHELL=$as_shell as_have_required=yes
223		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  break 2
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233  CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238      if test "x$CONFIG_SHELL" != x; then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno; then :
261  $as_echo "$0: This script requires a shell more modern than all"
262  $as_echo "$0: the shells that I found on your system."
263  if test x${ZSH_VERSION+set} = xset ; then
264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299  return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307  set +e
308  as_fn_set_status $1
309  exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318  case $as_dir in #(
319  -*) as_dir=./$as_dir;;
320  esac
321  test -d "$as_dir" || eval $as_mkdir_p || {
322    as_dirs=
323    while :; do
324      case $as_dir in #(
325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326      *) as_qdir=$as_dir;;
327      esac
328      as_dirs="'$as_qdir' $as_dirs"
329      as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331	 X"$as_dir" : 'X\(//\)[^/]' \| \
332	 X"$as_dir" : 'X\(//\)$' \| \
333	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336	    s//\1/
337	    q
338	  }
339	  /^X\(\/\/\)[^/].*/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\).*/{
348	    s//\1/
349	    q
350	  }
351	  s/.*/./; q'`
352      test -d "$as_dir" && break
353    done
354    test -z "$as_dirs" || eval "mkdir $as_dirs"
355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365  test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374  eval 'as_fn_append ()
375  {
376    eval $1+=\$2
377  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410  as_status=$1; test $as_status -eq 0 && as_status=1
411  if test "$4"; then
412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414  fi
415  $as_echo "$as_me: error: $2" >&2
416  as_fn_exit $as_status
417} # as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440	 X"$0" : 'X\(//\)$' \| \
441	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443    sed '/^.*\/\([^/][^/]*\)\/*$/{
444	    s//\1/
445	    q
446	  }
447	  /^X\/\(\/\/\)$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\).*/{
452	    s//\1/
453	    q
454	  }
455	  s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470  sed -n '
471    p
472    /[$]LINENO/=
473  ' <$as_myself |
474    sed '
475      s/[$]LINENO.*/&-/
476      t lineno
477      b
478      :lineno
479      N
480      :loop
481      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482      t loop
483      s/-\n.*//
484    ' >$as_me.lineno &&
485  chmod +x "$as_me.lineno" ||
486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489  # already done that, so ensure we don't try to do so again and fall
490  # in an infinite loop.  This has already happened in practice.
491  _as_can_reexec=no; export _as_can_reexec
492  # Don't try to exec as it changes $[0], causing all sort of problems
493  # (the dirname of $[0] is not the place where we might find the
494  # original and so on.  Autoconf is especially sensitive to this).
495  . "./$as_me.lineno"
496  # Exit status is that of the last command.
497  exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #(((((
502-n*)
503  case `echo 'xy\c'` in
504  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505  xy)  ECHO_C='\c';;
506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507       ECHO_T='	';;
508  esac;;
509*)
510  ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521  if ln -s conf$$.file conf$$ 2>/dev/null; then
522    as_ln_s='ln -s'
523    # ... but there are two gotchas:
524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526    # In both cases, we have to default to `cp -pR'.
527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528      as_ln_s='cp -pR'
529  elif ln conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s=ln
531  else
532    as_ln_s='cp -pR'
533  fi
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME='putty'
579PACKAGE_TARNAME='putty'
580PACKAGE_VERSION='0.76'
581PACKAGE_STRING='putty 0.76'
582PACKAGE_BUGREPORT=''
583PACKAGE_URL=''
584
585# Factoring default headers for most tests.
586ac_includes_default="\
587#include <stdio.h>
588#ifdef HAVE_SYS_TYPES_H
589# include <sys/types.h>
590#endif
591#ifdef HAVE_SYS_STAT_H
592# include <sys/stat.h>
593#endif
594#ifdef STDC_HEADERS
595# include <stdlib.h>
596# include <stddef.h>
597#else
598# ifdef HAVE_STDLIB_H
599#  include <stdlib.h>
600# endif
601#endif
602#ifdef HAVE_STRING_H
603# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604#  include <memory.h>
605# endif
606# include <string.h>
607#endif
608#ifdef HAVE_STRINGS_H
609# include <strings.h>
610#endif
611#ifdef HAVE_INTTYPES_H
612# include <inttypes.h>
613#endif
614#ifdef HAVE_STDINT_H
615# include <stdint.h>
616#endif
617#ifdef HAVE_UNISTD_H
618# include <unistd.h>
619#endif"
620
621ac_subst_vars='am__EXEEXT_FALSE
622am__EXEEXT_TRUE
623LTLIBOBJS
624LIBOBJS
625WARNINGOPTS
626EGREP
627GREP
628CPP
629HAVE_GTK_FALSE
630HAVE_GTK_TRUE
631GTK1_CONFIG
632GTK_LIBS
633GTK_CFLAGS
634PKG_CONFIG_LIBDIR
635PKG_CONFIG_PATH
636PKG_CONFIG
637HAVE_QUARTZ_FALSE
638HAVE_QUARTZ_TRUE
639AUTO_GIT_COMMIT_FALSE
640AUTO_GIT_COMMIT_TRUE
641SETID_MODE
642SETID_CMD
643HAVE_SETID_CMD_FALSE
644HAVE_SETID_CMD_TRUE
645am__fastdepCC_FALSE
646am__fastdepCC_TRUE
647CCDEPMODE
648am__nodep
649AMDEPBACKSLASH
650AMDEP_FALSE
651AMDEP_TRUE
652am__include
653DEPDIR
654OBJEXT
655EXEEXT
656ac_ct_CC
657CPPFLAGS
658LDFLAGS
659CFLAGS
660CC
661ac_ct_AR
662AR
663RANLIB
664AM_BACKSLASH
665AM_DEFAULT_VERBOSITY
666AM_DEFAULT_V
667AM_V
668am__untar
669am__tar
670AMTAR
671am__leading_dot
672SET_MAKE
673AWK
674mkdir_p
675MKDIR_P
676INSTALL_STRIP_PROGRAM
677STRIP
678install_sh
679MAKEINFO
680AUTOHEADER
681AUTOMAKE
682AUTOCONF
683ACLOCAL
684VERSION
685PACKAGE
686CYGPATH_W
687am__isrc
688INSTALL_DATA
689INSTALL_SCRIPT
690INSTALL_PROGRAM
691target_alias
692host_alias
693build_alias
694LIBS
695ECHO_T
696ECHO_N
697ECHO_C
698DEFS
699mandir
700localedir
701libdir
702psdir
703pdfdir
704dvidir
705htmldir
706infodir
707docdir
708oldincludedir
709includedir
710runstatedir
711localstatedir
712sharedstatedir
713sysconfdir
714datadir
715datarootdir
716libexecdir
717sbindir
718bindir
719program_transform_name
720prefix
721exec_prefix
722PACKAGE_URL
723PACKAGE_BUGREPORT
724PACKAGE_STRING
725PACKAGE_VERSION
726PACKAGE_TARNAME
727PACKAGE_NAME
728PATH_SEPARATOR
729SHELL
730am__quote'
731ac_subst_files=''
732ac_user_opts='
733enable_option_checking
734enable_silent_rules
735enable_dependency_tracking
736enable_setuid
737enable_setgid
738enable_git_commit
739with_gssapi
740with_quartz
741with_gtk
742enable_gtktest
743'
744      ac_precious_vars='build_alias
745host_alias
746target_alias
747CC
748CFLAGS
749LDFLAGS
750LIBS
751CPPFLAGS
752PKG_CONFIG
753PKG_CONFIG_PATH
754PKG_CONFIG_LIBDIR
755CPP'
756
757
758# Initialize some variables set by options.
759ac_init_help=
760ac_init_version=false
761ac_unrecognized_opts=
762ac_unrecognized_sep=
763# The variables have the same names as the options, with
764# dashes changed to underlines.
765cache_file=/dev/null
766exec_prefix=NONE
767no_create=
768no_recursion=
769prefix=NONE
770program_prefix=NONE
771program_suffix=NONE
772program_transform_name=s,x,x,
773silent=
774site=
775srcdir=
776verbose=
777x_includes=NONE
778x_libraries=NONE
779
780# Installation directory options.
781# These are left unexpanded so users can "make install exec_prefix=/foo"
782# and all the variables that are supposed to be based on exec_prefix
783# by default will actually change.
784# Use braces instead of parens because sh, perl, etc. also accept them.
785# (The list follows the same order as the GNU Coding Standards.)
786bindir='${exec_prefix}/bin'
787sbindir='${exec_prefix}/sbin'
788libexecdir='${exec_prefix}/libexec'
789datarootdir='${prefix}/share'
790datadir='${datarootdir}'
791sysconfdir='${prefix}/etc'
792sharedstatedir='${prefix}/com'
793localstatedir='${prefix}/var'
794runstatedir='${localstatedir}/run'
795includedir='${prefix}/include'
796oldincludedir='/usr/include'
797docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
798infodir='${datarootdir}/info'
799htmldir='${docdir}'
800dvidir='${docdir}'
801pdfdir='${docdir}'
802psdir='${docdir}'
803libdir='${exec_prefix}/lib'
804localedir='${datarootdir}/locale'
805mandir='${datarootdir}/man'
806
807ac_prev=
808ac_dashdash=
809for ac_option
810do
811  # If the previous option needs an argument, assign it.
812  if test -n "$ac_prev"; then
813    eval $ac_prev=\$ac_option
814    ac_prev=
815    continue
816  fi
817
818  case $ac_option in
819  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
820  *=)   ac_optarg= ;;
821  *)    ac_optarg=yes ;;
822  esac
823
824  # Accept the important Cygnus configure options, so we can diagnose typos.
825
826  case $ac_dashdash$ac_option in
827  --)
828    ac_dashdash=yes ;;
829
830  -bindir | --bindir | --bindi | --bind | --bin | --bi)
831    ac_prev=bindir ;;
832  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
833    bindir=$ac_optarg ;;
834
835  -build | --build | --buil | --bui | --bu)
836    ac_prev=build_alias ;;
837  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
838    build_alias=$ac_optarg ;;
839
840  -cache-file | --cache-file | --cache-fil | --cache-fi \
841  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
842    ac_prev=cache_file ;;
843  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
844  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
845    cache_file=$ac_optarg ;;
846
847  --config-cache | -C)
848    cache_file=config.cache ;;
849
850  -datadir | --datadir | --datadi | --datad)
851    ac_prev=datadir ;;
852  -datadir=* | --datadir=* | --datadi=* | --datad=*)
853    datadir=$ac_optarg ;;
854
855  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
856  | --dataroo | --dataro | --datar)
857    ac_prev=datarootdir ;;
858  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
859  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
860    datarootdir=$ac_optarg ;;
861
862  -disable-* | --disable-*)
863    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
864    # Reject names that are not valid shell variable names.
865    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
866      as_fn_error $? "invalid feature name: $ac_useropt"
867    ac_useropt_orig=$ac_useropt
868    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
869    case $ac_user_opts in
870      *"
871"enable_$ac_useropt"
872"*) ;;
873      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
874	 ac_unrecognized_sep=', ';;
875    esac
876    eval enable_$ac_useropt=no ;;
877
878  -docdir | --docdir | --docdi | --doc | --do)
879    ac_prev=docdir ;;
880  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
881    docdir=$ac_optarg ;;
882
883  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
884    ac_prev=dvidir ;;
885  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
886    dvidir=$ac_optarg ;;
887
888  -enable-* | --enable-*)
889    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
890    # Reject names that are not valid shell variable names.
891    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
892      as_fn_error $? "invalid feature name: $ac_useropt"
893    ac_useropt_orig=$ac_useropt
894    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895    case $ac_user_opts in
896      *"
897"enable_$ac_useropt"
898"*) ;;
899      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
900	 ac_unrecognized_sep=', ';;
901    esac
902    eval enable_$ac_useropt=\$ac_optarg ;;
903
904  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
905  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
906  | --exec | --exe | --ex)
907    ac_prev=exec_prefix ;;
908  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
909  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
910  | --exec=* | --exe=* | --ex=*)
911    exec_prefix=$ac_optarg ;;
912
913  -gas | --gas | --ga | --g)
914    # Obsolete; use --with-gas.
915    with_gas=yes ;;
916
917  -help | --help | --hel | --he | -h)
918    ac_init_help=long ;;
919  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
920    ac_init_help=recursive ;;
921  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
922    ac_init_help=short ;;
923
924  -host | --host | --hos | --ho)
925    ac_prev=host_alias ;;
926  -host=* | --host=* | --hos=* | --ho=*)
927    host_alias=$ac_optarg ;;
928
929  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
930    ac_prev=htmldir ;;
931  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
932  | --ht=*)
933    htmldir=$ac_optarg ;;
934
935  -includedir | --includedir | --includedi | --included | --include \
936  | --includ | --inclu | --incl | --inc)
937    ac_prev=includedir ;;
938  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
939  | --includ=* | --inclu=* | --incl=* | --inc=*)
940    includedir=$ac_optarg ;;
941
942  -infodir | --infodir | --infodi | --infod | --info | --inf)
943    ac_prev=infodir ;;
944  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
945    infodir=$ac_optarg ;;
946
947  -libdir | --libdir | --libdi | --libd)
948    ac_prev=libdir ;;
949  -libdir=* | --libdir=* | --libdi=* | --libd=*)
950    libdir=$ac_optarg ;;
951
952  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
953  | --libexe | --libex | --libe)
954    ac_prev=libexecdir ;;
955  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
956  | --libexe=* | --libex=* | --libe=*)
957    libexecdir=$ac_optarg ;;
958
959  -localedir | --localedir | --localedi | --localed | --locale)
960    ac_prev=localedir ;;
961  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
962    localedir=$ac_optarg ;;
963
964  -localstatedir | --localstatedir | --localstatedi | --localstated \
965  | --localstate | --localstat | --localsta | --localst | --locals)
966    ac_prev=localstatedir ;;
967  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
968  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
969    localstatedir=$ac_optarg ;;
970
971  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
972    ac_prev=mandir ;;
973  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
974    mandir=$ac_optarg ;;
975
976  -nfp | --nfp | --nf)
977    # Obsolete; use --without-fp.
978    with_fp=no ;;
979
980  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
981  | --no-cr | --no-c | -n)
982    no_create=yes ;;
983
984  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
985  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
986    no_recursion=yes ;;
987
988  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
989  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
990  | --oldin | --oldi | --old | --ol | --o)
991    ac_prev=oldincludedir ;;
992  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
993  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
994  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
995    oldincludedir=$ac_optarg ;;
996
997  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
998    ac_prev=prefix ;;
999  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1000    prefix=$ac_optarg ;;
1001
1002  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1003  | --program-pre | --program-pr | --program-p)
1004    ac_prev=program_prefix ;;
1005  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1006  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1007    program_prefix=$ac_optarg ;;
1008
1009  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1010  | --program-suf | --program-su | --program-s)
1011    ac_prev=program_suffix ;;
1012  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1013  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1014    program_suffix=$ac_optarg ;;
1015
1016  -program-transform-name | --program-transform-name \
1017  | --program-transform-nam | --program-transform-na \
1018  | --program-transform-n | --program-transform- \
1019  | --program-transform | --program-transfor \
1020  | --program-transfo | --program-transf \
1021  | --program-trans | --program-tran \
1022  | --progr-tra | --program-tr | --program-t)
1023    ac_prev=program_transform_name ;;
1024  -program-transform-name=* | --program-transform-name=* \
1025  | --program-transform-nam=* | --program-transform-na=* \
1026  | --program-transform-n=* | --program-transform-=* \
1027  | --program-transform=* | --program-transfor=* \
1028  | --program-transfo=* | --program-transf=* \
1029  | --program-trans=* | --program-tran=* \
1030  | --progr-tra=* | --program-tr=* | --program-t=*)
1031    program_transform_name=$ac_optarg ;;
1032
1033  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1034    ac_prev=pdfdir ;;
1035  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1036    pdfdir=$ac_optarg ;;
1037
1038  -psdir | --psdir | --psdi | --psd | --ps)
1039    ac_prev=psdir ;;
1040  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1041    psdir=$ac_optarg ;;
1042
1043  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1044  | -silent | --silent | --silen | --sile | --sil)
1045    silent=yes ;;
1046
1047  -runstatedir | --runstatedir | --runstatedi | --runstated \
1048  | --runstate | --runstat | --runsta | --runst | --runs \
1049  | --run | --ru | --r)
1050    ac_prev=runstatedir ;;
1051  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1052  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1053  | --run=* | --ru=* | --r=*)
1054    runstatedir=$ac_optarg ;;
1055
1056  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1057    ac_prev=sbindir ;;
1058  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1059  | --sbi=* | --sb=*)
1060    sbindir=$ac_optarg ;;
1061
1062  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1063  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1064  | --sharedst | --shareds | --shared | --share | --shar \
1065  | --sha | --sh)
1066    ac_prev=sharedstatedir ;;
1067  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1068  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1069  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1070  | --sha=* | --sh=*)
1071    sharedstatedir=$ac_optarg ;;
1072
1073  -site | --site | --sit)
1074    ac_prev=site ;;
1075  -site=* | --site=* | --sit=*)
1076    site=$ac_optarg ;;
1077
1078  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1079    ac_prev=srcdir ;;
1080  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1081    srcdir=$ac_optarg ;;
1082
1083  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1084  | --syscon | --sysco | --sysc | --sys | --sy)
1085    ac_prev=sysconfdir ;;
1086  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1087  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1088    sysconfdir=$ac_optarg ;;
1089
1090  -target | --target | --targe | --targ | --tar | --ta | --t)
1091    ac_prev=target_alias ;;
1092  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1093    target_alias=$ac_optarg ;;
1094
1095  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1096    verbose=yes ;;
1097
1098  -version | --version | --versio | --versi | --vers | -V)
1099    ac_init_version=: ;;
1100
1101  -with-* | --with-*)
1102    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103    # Reject names that are not valid shell variable names.
1104    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105      as_fn_error $? "invalid package name: $ac_useropt"
1106    ac_useropt_orig=$ac_useropt
1107    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108    case $ac_user_opts in
1109      *"
1110"with_$ac_useropt"
1111"*) ;;
1112      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1113	 ac_unrecognized_sep=', ';;
1114    esac
1115    eval with_$ac_useropt=\$ac_optarg ;;
1116
1117  -without-* | --without-*)
1118    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119    # Reject names that are not valid shell variable names.
1120    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121      as_fn_error $? "invalid package name: $ac_useropt"
1122    ac_useropt_orig=$ac_useropt
1123    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124    case $ac_user_opts in
1125      *"
1126"with_$ac_useropt"
1127"*) ;;
1128      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1129	 ac_unrecognized_sep=', ';;
1130    esac
1131    eval with_$ac_useropt=no ;;
1132
1133  --x)
1134    # Obsolete; use --with-x.
1135    with_x=yes ;;
1136
1137  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1138  | --x-incl | --x-inc | --x-in | --x-i)
1139    ac_prev=x_includes ;;
1140  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1141  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1142    x_includes=$ac_optarg ;;
1143
1144  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1145  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1146    ac_prev=x_libraries ;;
1147  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1148  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1149    x_libraries=$ac_optarg ;;
1150
1151  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1152Try \`$0 --help' for more information"
1153    ;;
1154
1155  *=*)
1156    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1157    # Reject names that are not valid shell variable names.
1158    case $ac_envvar in #(
1159      '' | [0-9]* | *[!_$as_cr_alnum]* )
1160      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1161    esac
1162    eval $ac_envvar=\$ac_optarg
1163    export $ac_envvar ;;
1164
1165  *)
1166    # FIXME: should be removed in autoconf 3.0.
1167    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1168    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1169      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1170    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1171    ;;
1172
1173  esac
1174done
1175
1176if test -n "$ac_prev"; then
1177  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1178  as_fn_error $? "missing argument to $ac_option"
1179fi
1180
1181if test -n "$ac_unrecognized_opts"; then
1182  case $enable_option_checking in
1183    no) ;;
1184    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1185    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186  esac
1187fi
1188
1189# Check all directory arguments for consistency.
1190for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1191		datadir sysconfdir sharedstatedir localstatedir includedir \
1192		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1193		libdir localedir mandir runstatedir
1194do
1195  eval ac_val=\$$ac_var
1196  # Remove trailing slashes.
1197  case $ac_val in
1198    */ )
1199      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1200      eval $ac_var=\$ac_val;;
1201  esac
1202  # Be sure to have absolute directory names.
1203  case $ac_val in
1204    [\\/$]* | ?:[\\/]* )  continue;;
1205    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1206  esac
1207  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1208done
1209
1210# There might be people who depend on the old broken behavior: `$host'
1211# used to hold the argument of --host etc.
1212# FIXME: To remove some day.
1213build=$build_alias
1214host=$host_alias
1215target=$target_alias
1216
1217# FIXME: To remove some day.
1218if test "x$host_alias" != x; then
1219  if test "x$build_alias" = x; then
1220    cross_compiling=maybe
1221  elif test "x$build_alias" != "x$host_alias"; then
1222    cross_compiling=yes
1223  fi
1224fi
1225
1226ac_tool_prefix=
1227test -n "$host_alias" && ac_tool_prefix=$host_alias-
1228
1229test "$silent" = yes && exec 6>/dev/null
1230
1231
1232ac_pwd=`pwd` && test -n "$ac_pwd" &&
1233ac_ls_di=`ls -di .` &&
1234ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1235  as_fn_error $? "working directory cannot be determined"
1236test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237  as_fn_error $? "pwd does not report name of working directory"
1238
1239
1240# Find the source files, if location was not specified.
1241if test -z "$srcdir"; then
1242  ac_srcdir_defaulted=yes
1243  # Try the directory containing this script, then the parent directory.
1244  ac_confdir=`$as_dirname -- "$as_myself" ||
1245$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246	 X"$as_myself" : 'X\(//\)[^/]' \| \
1247	 X"$as_myself" : 'X\(//\)$' \| \
1248	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249$as_echo X"$as_myself" |
1250    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251	    s//\1/
1252	    q
1253	  }
1254	  /^X\(\/\/\)[^/].*/{
1255	    s//\1/
1256	    q
1257	  }
1258	  /^X\(\/\/\)$/{
1259	    s//\1/
1260	    q
1261	  }
1262	  /^X\(\/\).*/{
1263	    s//\1/
1264	    q
1265	  }
1266	  s/.*/./; q'`
1267  srcdir=$ac_confdir
1268  if test ! -r "$srcdir/$ac_unique_file"; then
1269    srcdir=..
1270  fi
1271else
1272  ac_srcdir_defaulted=no
1273fi
1274if test ! -r "$srcdir/$ac_unique_file"; then
1275  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1276  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1277fi
1278ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279ac_abs_confdir=`(
1280	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1281	pwd)`
1282# When building in place, set srcdir=.
1283if test "$ac_abs_confdir" = "$ac_pwd"; then
1284  srcdir=.
1285fi
1286# Remove unnecessary trailing slashes from srcdir.
1287# Double slashes in file names in object file debugging info
1288# mess up M-x gdb in Emacs.
1289case $srcdir in
1290*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291esac
1292for ac_var in $ac_precious_vars; do
1293  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1294  eval ac_env_${ac_var}_value=\$${ac_var}
1295  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1296  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1297done
1298
1299#
1300# Report the --help message.
1301#
1302if test "$ac_init_help" = "long"; then
1303  # Omit some internal or obsolete options to make the list less imposing.
1304  # This message is too long to be a string in the A/UX 3.1 sh.
1305  cat <<_ACEOF
1306\`configure' configures putty 0.76 to adapt to many kinds of systems.
1307
1308Usage: $0 [OPTION]... [VAR=VALUE]...
1309
1310To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311VAR=VALUE.  See below for descriptions of some of the useful variables.
1312
1313Defaults for the options are specified in brackets.
1314
1315Configuration:
1316  -h, --help              display this help and exit
1317      --help=short        display options specific to this package
1318      --help=recursive    display the short help of all the included packages
1319  -V, --version           display version information and exit
1320  -q, --quiet, --silent   do not print \`checking ...' messages
1321      --cache-file=FILE   cache test results in FILE [disabled]
1322  -C, --config-cache      alias for \`--cache-file=config.cache'
1323  -n, --no-create         do not create output files
1324      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1325
1326Installation directories:
1327  --prefix=PREFIX         install architecture-independent files in PREFIX
1328                          [$ac_default_prefix]
1329  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1330                          [PREFIX]
1331
1332By default, \`make install' will install all the files in
1333\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1334an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335for instance \`--prefix=\$HOME'.
1336
1337For better control, use the options below.
1338
1339Fine tuning of the installation directories:
1340  --bindir=DIR            user executables [EPREFIX/bin]
1341  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1342  --libexecdir=DIR        program executables [EPREFIX/libexec]
1343  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1344  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1345  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1346  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1347  --libdir=DIR            object code libraries [EPREFIX/lib]
1348  --includedir=DIR        C header files [PREFIX/include]
1349  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1350  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1351  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1352  --infodir=DIR           info documentation [DATAROOTDIR/info]
1353  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1354  --mandir=DIR            man documentation [DATAROOTDIR/man]
1355  --docdir=DIR            documentation root [DATAROOTDIR/doc/putty]
1356  --htmldir=DIR           html documentation [DOCDIR]
1357  --dvidir=DIR            dvi documentation [DOCDIR]
1358  --pdfdir=DIR            pdf documentation [DOCDIR]
1359  --psdir=DIR             ps documentation [DOCDIR]
1360_ACEOF
1361
1362  cat <<\_ACEOF
1363
1364Program names:
1365  --program-prefix=PREFIX            prepend PREFIX to installed program names
1366  --program-suffix=SUFFIX            append SUFFIX to installed program names
1367  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1368_ACEOF
1369fi
1370
1371if test -n "$ac_init_help"; then
1372  case $ac_init_help in
1373     short | recursive ) echo "Configuration of putty 0.76:";;
1374   esac
1375  cat <<\_ACEOF
1376
1377Optional Features:
1378  --disable-option-checking  ignore unrecognized --enable/--with options
1379  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1380  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1381  --enable-silent-rules   less verbose build output (undo: "make V=1")
1382  --disable-silent-rules  verbose build output (undo: "make V=0")
1383  --enable-dependency-tracking
1384                          do not reject slow dependency extractors
1385  --disable-dependency-tracking
1386                          speeds up one-time build
1387  --enable-setuid=USER    make pterm setuid to a given user
1388  --enable-setgid=GROUP   make pterm setgid to a given group
1389  --disable-git-commit    disable embedding current git HEAD in binaries
1390  --disable-gtktest       do not try to compile and run a test GTK+ program
1391
1392Optional Packages:
1393  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1394  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1395  --without-gssapi        disable GSSAPI support
1396  --with-quartz           build for the MacOS Quartz GTK back end
1397  --with-gtk=VER          specify GTK version to use (`1', `2' or `3')
1398  --without-gtk           do not use GTK (build command-line tools only)
1399
1400Some influential environment variables:
1401  CC          C compiler command
1402  CFLAGS      C compiler flags
1403  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1404              nonstandard directory <lib dir>
1405  LIBS        libraries to pass to the linker, e.g. -l<library>
1406  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1407              you have headers in a nonstandard directory <include dir>
1408  PKG_CONFIG  path to pkg-config utility
1409  PKG_CONFIG_PATH
1410              directories to add to pkg-config's search path
1411  PKG_CONFIG_LIBDIR
1412              path overriding pkg-config's built-in search path
1413  CPP         C preprocessor
1414
1415Use these variables to override the choices made by `configure' or to help
1416it to find libraries and programs with nonstandard names/locations.
1417
1418Report bugs to the package provider.
1419_ACEOF
1420ac_status=$?
1421fi
1422
1423if test "$ac_init_help" = "recursive"; then
1424  # If there are subdirs, report their specific --help.
1425  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1426    test -d "$ac_dir" ||
1427      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1428      continue
1429    ac_builddir=.
1430
1431case "$ac_dir" in
1432.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433*)
1434  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1435  # A ".." for each directory in $ac_dir_suffix.
1436  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1437  case $ac_top_builddir_sub in
1438  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1440  esac ;;
1441esac
1442ac_abs_top_builddir=$ac_pwd
1443ac_abs_builddir=$ac_pwd$ac_dir_suffix
1444# for backward compatibility:
1445ac_top_builddir=$ac_top_build_prefix
1446
1447case $srcdir in
1448  .)  # We are building in place.
1449    ac_srcdir=.
1450    ac_top_srcdir=$ac_top_builddir_sub
1451    ac_abs_top_srcdir=$ac_pwd ;;
1452  [\\/]* | ?:[\\/]* )  # Absolute name.
1453    ac_srcdir=$srcdir$ac_dir_suffix;
1454    ac_top_srcdir=$srcdir
1455    ac_abs_top_srcdir=$srcdir ;;
1456  *) # Relative name.
1457    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1458    ac_top_srcdir=$ac_top_build_prefix$srcdir
1459    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1460esac
1461ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1462
1463    cd "$ac_dir" || { ac_status=$?; continue; }
1464    # Check for guested configure.
1465    if test -f "$ac_srcdir/configure.gnu"; then
1466      echo &&
1467      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1468    elif test -f "$ac_srcdir/configure"; then
1469      echo &&
1470      $SHELL "$ac_srcdir/configure" --help=recursive
1471    else
1472      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1473    fi || ac_status=$?
1474    cd "$ac_pwd" || { ac_status=$?; break; }
1475  done
1476fi
1477
1478test -n "$ac_init_help" && exit $ac_status
1479if $ac_init_version; then
1480  cat <<\_ACEOF
1481putty configure 0.76
1482generated by GNU Autoconf 2.69
1483
1484Copyright (C) 2012 Free Software Foundation, Inc.
1485This configure script is free software; the Free Software Foundation
1486gives unlimited permission to copy, distribute and modify it.
1487_ACEOF
1488  exit
1489fi
1490
1491## ------------------------ ##
1492## Autoconf initialization. ##
1493## ------------------------ ##
1494
1495# ac_fn_c_try_compile LINENO
1496# --------------------------
1497# Try to compile conftest.$ac_ext, and return whether this succeeded.
1498ac_fn_c_try_compile ()
1499{
1500  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501  rm -f conftest.$ac_objext
1502  if { { ac_try="$ac_compile"
1503case "(($ac_try" in
1504  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505  *) ac_try_echo=$ac_try;;
1506esac
1507eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508$as_echo "$ac_try_echo"; } >&5
1509  (eval "$ac_compile") 2>conftest.err
1510  ac_status=$?
1511  if test -s conftest.err; then
1512    grep -v '^ *+' conftest.err >conftest.er1
1513    cat conftest.er1 >&5
1514    mv -f conftest.er1 conftest.err
1515  fi
1516  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517  test $ac_status = 0; } && {
1518	 test -z "$ac_c_werror_flag" ||
1519	 test ! -s conftest.err
1520       } && test -s conftest.$ac_objext; then :
1521  ac_retval=0
1522else
1523  $as_echo "$as_me: failed program was:" >&5
1524sed 's/^/| /' conftest.$ac_ext >&5
1525
1526	ac_retval=1
1527fi
1528  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529  as_fn_set_status $ac_retval
1530
1531} # ac_fn_c_try_compile
1532
1533# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1534# -------------------------------------------------------
1535# Tests whether HEADER exists and can be compiled using the include files in
1536# INCLUDES, setting the cache variable VAR accordingly.
1537ac_fn_c_check_header_compile ()
1538{
1539  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1541$as_echo_n "checking for $2... " >&6; }
1542if eval \${$3+:} false; then :
1543  $as_echo_n "(cached) " >&6
1544else
1545  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1546/* end confdefs.h.  */
1547$4
1548#include <$2>
1549_ACEOF
1550if ac_fn_c_try_compile "$LINENO"; then :
1551  eval "$3=yes"
1552else
1553  eval "$3=no"
1554fi
1555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1556fi
1557eval ac_res=\$$3
1558	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1559$as_echo "$ac_res" >&6; }
1560  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561
1562} # ac_fn_c_check_header_compile
1563
1564# ac_fn_c_try_run LINENO
1565# ----------------------
1566# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1567# that executables *can* be run.
1568ac_fn_c_try_run ()
1569{
1570  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571  if { { ac_try="$ac_link"
1572case "(($ac_try" in
1573  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574  *) ac_try_echo=$ac_try;;
1575esac
1576eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577$as_echo "$ac_try_echo"; } >&5
1578  (eval "$ac_link") 2>&5
1579  ac_status=$?
1580  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1582  { { case "(($ac_try" in
1583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584  *) ac_try_echo=$ac_try;;
1585esac
1586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587$as_echo "$ac_try_echo"; } >&5
1588  (eval "$ac_try") 2>&5
1589  ac_status=$?
1590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591  test $ac_status = 0; }; }; then :
1592  ac_retval=0
1593else
1594  $as_echo "$as_me: program exited with status $ac_status" >&5
1595       $as_echo "$as_me: failed program was:" >&5
1596sed 's/^/| /' conftest.$ac_ext >&5
1597
1598       ac_retval=$ac_status
1599fi
1600  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1601  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602  as_fn_set_status $ac_retval
1603
1604} # ac_fn_c_try_run
1605
1606# ac_fn_c_try_link LINENO
1607# -----------------------
1608# Try to link conftest.$ac_ext, and return whether this succeeded.
1609ac_fn_c_try_link ()
1610{
1611  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612  rm -f conftest.$ac_objext conftest$ac_exeext
1613  if { { ac_try="$ac_link"
1614case "(($ac_try" in
1615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1616  *) ac_try_echo=$ac_try;;
1617esac
1618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619$as_echo "$ac_try_echo"; } >&5
1620  (eval "$ac_link") 2>conftest.err
1621  ac_status=$?
1622  if test -s conftest.err; then
1623    grep -v '^ *+' conftest.err >conftest.er1
1624    cat conftest.er1 >&5
1625    mv -f conftest.er1 conftest.err
1626  fi
1627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628  test $ac_status = 0; } && {
1629	 test -z "$ac_c_werror_flag" ||
1630	 test ! -s conftest.err
1631       } && test -s conftest$ac_exeext && {
1632	 test "$cross_compiling" = yes ||
1633	 test -x conftest$ac_exeext
1634       }; then :
1635  ac_retval=0
1636else
1637  $as_echo "$as_me: failed program was:" >&5
1638sed 's/^/| /' conftest.$ac_ext >&5
1639
1640	ac_retval=1
1641fi
1642  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1643  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1644  # interfere with the next link command; also delete a directory that is
1645  # left behind by Apple's compiler.  We do this before executing the actions.
1646  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1647  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648  as_fn_set_status $ac_retval
1649
1650} # ac_fn_c_try_link
1651
1652# ac_fn_c_check_func LINENO FUNC VAR
1653# ----------------------------------
1654# Tests whether FUNC exists, setting the cache variable VAR accordingly
1655ac_fn_c_check_func ()
1656{
1657  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1659$as_echo_n "checking for $2... " >&6; }
1660if eval \${$3+:} false; then :
1661  $as_echo_n "(cached) " >&6
1662else
1663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664/* end confdefs.h.  */
1665/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1666   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1667#define $2 innocuous_$2
1668
1669/* System header to define __stub macros and hopefully few prototypes,
1670    which can conflict with char $2 (); below.
1671    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1672    <limits.h> exists even on freestanding compilers.  */
1673
1674#ifdef __STDC__
1675# include <limits.h>
1676#else
1677# include <assert.h>
1678#endif
1679
1680#undef $2
1681
1682/* Override any GCC internal prototype to avoid an error.
1683   Use char because int might match the return type of a GCC
1684   builtin and then its argument prototype would still apply.  */
1685#ifdef __cplusplus
1686extern "C"
1687#endif
1688char $2 ();
1689/* The GNU C library defines this for functions which it implements
1690    to always fail with ENOSYS.  Some functions are actually named
1691    something starting with __ and the normal name is an alias.  */
1692#if defined __stub_$2 || defined __stub___$2
1693choke me
1694#endif
1695
1696int
1697main ()
1698{
1699return $2 ();
1700  ;
1701  return 0;
1702}
1703_ACEOF
1704if ac_fn_c_try_link "$LINENO"; then :
1705  eval "$3=yes"
1706else
1707  eval "$3=no"
1708fi
1709rm -f core conftest.err conftest.$ac_objext \
1710    conftest$ac_exeext conftest.$ac_ext
1711fi
1712eval ac_res=\$$3
1713	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714$as_echo "$ac_res" >&6; }
1715  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716
1717} # ac_fn_c_check_func
1718
1719# ac_fn_c_try_cpp LINENO
1720# ----------------------
1721# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1722ac_fn_c_try_cpp ()
1723{
1724  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725  if { { ac_try="$ac_cpp conftest.$ac_ext"
1726case "(($ac_try" in
1727  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728  *) ac_try_echo=$ac_try;;
1729esac
1730eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731$as_echo "$ac_try_echo"; } >&5
1732  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1733  ac_status=$?
1734  if test -s conftest.err; then
1735    grep -v '^ *+' conftest.err >conftest.er1
1736    cat conftest.er1 >&5
1737    mv -f conftest.er1 conftest.err
1738  fi
1739  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740  test $ac_status = 0; } > conftest.i && {
1741	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742	 test ! -s conftest.err
1743       }; then :
1744  ac_retval=0
1745else
1746  $as_echo "$as_me: failed program was:" >&5
1747sed 's/^/| /' conftest.$ac_ext >&5
1748
1749    ac_retval=1
1750fi
1751  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752  as_fn_set_status $ac_retval
1753
1754} # ac_fn_c_try_cpp
1755
1756# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1757# -------------------------------------------------------
1758# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1759# the include files in INCLUDES and setting the cache variable VAR
1760# accordingly.
1761ac_fn_c_check_header_mongrel ()
1762{
1763  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764  if eval \${$3+:} false; then :
1765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766$as_echo_n "checking for $2... " >&6; }
1767if eval \${$3+:} false; then :
1768  $as_echo_n "(cached) " >&6
1769fi
1770eval ac_res=\$$3
1771	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772$as_echo "$ac_res" >&6; }
1773else
1774  # Is the header compilable?
1775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1776$as_echo_n "checking $2 usability... " >&6; }
1777cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1778/* end confdefs.h.  */
1779$4
1780#include <$2>
1781_ACEOF
1782if ac_fn_c_try_compile "$LINENO"; then :
1783  ac_header_compiler=yes
1784else
1785  ac_header_compiler=no
1786fi
1787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1789$as_echo "$ac_header_compiler" >&6; }
1790
1791# Is the header present?
1792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1793$as_echo_n "checking $2 presence... " >&6; }
1794cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1795/* end confdefs.h.  */
1796#include <$2>
1797_ACEOF
1798if ac_fn_c_try_cpp "$LINENO"; then :
1799  ac_header_preproc=yes
1800else
1801  ac_header_preproc=no
1802fi
1803rm -f conftest.err conftest.i conftest.$ac_ext
1804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1805$as_echo "$ac_header_preproc" >&6; }
1806
1807# So?  What about this header?
1808case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1809  yes:no: )
1810    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1811$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1812    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1813$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1814    ;;
1815  no:yes:* )
1816    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1817$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1818    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1819$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1820    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1821$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1822    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1823$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1824    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1826    ;;
1827esac
1828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829$as_echo_n "checking for $2... " >&6; }
1830if eval \${$3+:} false; then :
1831  $as_echo_n "(cached) " >&6
1832else
1833  eval "$3=\$ac_header_compiler"
1834fi
1835eval ac_res=\$$3
1836	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837$as_echo "$ac_res" >&6; }
1838fi
1839  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840
1841} # ac_fn_c_check_header_mongrel
1842
1843# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1844# ---------------------------------------------
1845# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1846# accordingly.
1847ac_fn_c_check_decl ()
1848{
1849  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850  as_decl_name=`echo $2|sed 's/ *(.*//'`
1851  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1853$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1854if eval \${$3+:} false; then :
1855  $as_echo_n "(cached) " >&6
1856else
1857  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858/* end confdefs.h.  */
1859$4
1860int
1861main ()
1862{
1863#ifndef $as_decl_name
1864#ifdef __cplusplus
1865  (void) $as_decl_use;
1866#else
1867  (void) $as_decl_name;
1868#endif
1869#endif
1870
1871  ;
1872  return 0;
1873}
1874_ACEOF
1875if ac_fn_c_try_compile "$LINENO"; then :
1876  eval "$3=yes"
1877else
1878  eval "$3=no"
1879fi
1880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881fi
1882eval ac_res=\$$3
1883	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884$as_echo "$ac_res" >&6; }
1885  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886
1887} # ac_fn_c_check_decl
1888cat >config.log <<_ACEOF
1889This file contains any messages produced by compilers while
1890running configure, to aid debugging if configure makes a mistake.
1891
1892It was created by putty $as_me 0.76, which was
1893generated by GNU Autoconf 2.69.  Invocation command line was
1894
1895  $ $0 $@
1896
1897_ACEOF
1898exec 5>>config.log
1899{
1900cat <<_ASUNAME
1901## --------- ##
1902## Platform. ##
1903## --------- ##
1904
1905hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1906uname -m = `(uname -m) 2>/dev/null || echo unknown`
1907uname -r = `(uname -r) 2>/dev/null || echo unknown`
1908uname -s = `(uname -s) 2>/dev/null || echo unknown`
1909uname -v = `(uname -v) 2>/dev/null || echo unknown`
1910
1911/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1912/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1913
1914/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1915/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1916/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1917/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1918/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1919/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1920/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1921
1922_ASUNAME
1923
1924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925for as_dir in $PATH
1926do
1927  IFS=$as_save_IFS
1928  test -z "$as_dir" && as_dir=.
1929    $as_echo "PATH: $as_dir"
1930  done
1931IFS=$as_save_IFS
1932
1933} >&5
1934
1935cat >&5 <<_ACEOF
1936
1937
1938## ----------- ##
1939## Core tests. ##
1940## ----------- ##
1941
1942_ACEOF
1943
1944
1945# Keep a trace of the command line.
1946# Strip out --no-create and --no-recursion so they do not pile up.
1947# Strip out --silent because we don't want to record it for future runs.
1948# Also quote any args containing shell meta-characters.
1949# Make two passes to allow for proper duplicate-argument suppression.
1950ac_configure_args=
1951ac_configure_args0=
1952ac_configure_args1=
1953ac_must_keep_next=false
1954for ac_pass in 1 2
1955do
1956  for ac_arg
1957  do
1958    case $ac_arg in
1959    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1960    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1961    | -silent | --silent | --silen | --sile | --sil)
1962      continue ;;
1963    *\'*)
1964      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1965    esac
1966    case $ac_pass in
1967    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1968    2)
1969      as_fn_append ac_configure_args1 " '$ac_arg'"
1970      if test $ac_must_keep_next = true; then
1971	ac_must_keep_next=false # Got value, back to normal.
1972      else
1973	case $ac_arg in
1974	  *=* | --config-cache | -C | -disable-* | --disable-* \
1975	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1976	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1977	  | -with-* | --with-* | -without-* | --without-* | --x)
1978	    case "$ac_configure_args0 " in
1979	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1980	    esac
1981	    ;;
1982	  -* ) ac_must_keep_next=true ;;
1983	esac
1984      fi
1985      as_fn_append ac_configure_args " '$ac_arg'"
1986      ;;
1987    esac
1988  done
1989done
1990{ ac_configure_args0=; unset ac_configure_args0;}
1991{ ac_configure_args1=; unset ac_configure_args1;}
1992
1993# When interrupted or exit'd, cleanup temporary files, and complete
1994# config.log.  We remove comments because anyway the quotes in there
1995# would cause problems or look ugly.
1996# WARNING: Use '\'' to represent an apostrophe within the trap.
1997# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1998trap 'exit_status=$?
1999  # Save into config.log some information that might help in debugging.
2000  {
2001    echo
2002
2003    $as_echo "## ---------------- ##
2004## Cache variables. ##
2005## ---------------- ##"
2006    echo
2007    # The following way of writing the cache mishandles newlines in values,
2008(
2009  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2010    eval ac_val=\$$ac_var
2011    case $ac_val in #(
2012    *${as_nl}*)
2013      case $ac_var in #(
2014      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2015$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2016      esac
2017      case $ac_var in #(
2018      _ | IFS | as_nl) ;; #(
2019      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2020      *) { eval $ac_var=; unset $ac_var;} ;;
2021      esac ;;
2022    esac
2023  done
2024  (set) 2>&1 |
2025    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2026    *${as_nl}ac_space=\ *)
2027      sed -n \
2028	"s/'\''/'\''\\\\'\'''\''/g;
2029	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2030      ;; #(
2031    *)
2032      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2033      ;;
2034    esac |
2035    sort
2036)
2037    echo
2038
2039    $as_echo "## ----------------- ##
2040## Output variables. ##
2041## ----------------- ##"
2042    echo
2043    for ac_var in $ac_subst_vars
2044    do
2045      eval ac_val=\$$ac_var
2046      case $ac_val in
2047      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2048      esac
2049      $as_echo "$ac_var='\''$ac_val'\''"
2050    done | sort
2051    echo
2052
2053    if test -n "$ac_subst_files"; then
2054      $as_echo "## ------------------- ##
2055## File substitutions. ##
2056## ------------------- ##"
2057      echo
2058      for ac_var in $ac_subst_files
2059      do
2060	eval ac_val=\$$ac_var
2061	case $ac_val in
2062	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2063	esac
2064	$as_echo "$ac_var='\''$ac_val'\''"
2065      done | sort
2066      echo
2067    fi
2068
2069    if test -s confdefs.h; then
2070      $as_echo "## ----------- ##
2071## confdefs.h. ##
2072## ----------- ##"
2073      echo
2074      cat confdefs.h
2075      echo
2076    fi
2077    test "$ac_signal" != 0 &&
2078      $as_echo "$as_me: caught signal $ac_signal"
2079    $as_echo "$as_me: exit $exit_status"
2080  } >&5
2081  rm -f core *.core core.conftest.* &&
2082    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2083    exit $exit_status
2084' 0
2085for ac_signal in 1 2 13 15; do
2086  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2087done
2088ac_signal=0
2089
2090# confdefs.h avoids OS command line length limits that DEFS can exceed.
2091rm -f -r conftest* confdefs.h
2092
2093$as_echo "/* confdefs.h */" > confdefs.h
2094
2095# Predefined preprocessor variables.
2096
2097cat >>confdefs.h <<_ACEOF
2098#define PACKAGE_NAME "$PACKAGE_NAME"
2099_ACEOF
2100
2101cat >>confdefs.h <<_ACEOF
2102#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2103_ACEOF
2104
2105cat >>confdefs.h <<_ACEOF
2106#define PACKAGE_VERSION "$PACKAGE_VERSION"
2107_ACEOF
2108
2109cat >>confdefs.h <<_ACEOF
2110#define PACKAGE_STRING "$PACKAGE_STRING"
2111_ACEOF
2112
2113cat >>confdefs.h <<_ACEOF
2114#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2115_ACEOF
2116
2117cat >>confdefs.h <<_ACEOF
2118#define PACKAGE_URL "$PACKAGE_URL"
2119_ACEOF
2120
2121
2122# Let the site file select an alternate cache file if it wants to.
2123# Prefer an explicitly selected file to automatically selected ones.
2124ac_site_file1=NONE
2125ac_site_file2=NONE
2126if test -n "$CONFIG_SITE"; then
2127  # We do not want a PATH search for config.site.
2128  case $CONFIG_SITE in #((
2129    -*)  ac_site_file1=./$CONFIG_SITE;;
2130    */*) ac_site_file1=$CONFIG_SITE;;
2131    *)   ac_site_file1=./$CONFIG_SITE;;
2132  esac
2133elif test "x$prefix" != xNONE; then
2134  ac_site_file1=$prefix/share/config.site
2135  ac_site_file2=$prefix/etc/config.site
2136else
2137  ac_site_file1=$ac_default_prefix/share/config.site
2138  ac_site_file2=$ac_default_prefix/etc/config.site
2139fi
2140for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2141do
2142  test "x$ac_site_file" = xNONE && continue
2143  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2144    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2145$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2146    sed 's/^/| /' "$ac_site_file" >&5
2147    . "$ac_site_file" \
2148      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2149$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2150as_fn_error $? "failed to load site script $ac_site_file
2151See \`config.log' for more details" "$LINENO" 5; }
2152  fi
2153done
2154
2155if test -r "$cache_file"; then
2156  # Some versions of bash will fail to source /dev/null (special files
2157  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2158  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2159    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2160$as_echo "$as_me: loading cache $cache_file" >&6;}
2161    case $cache_file in
2162      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2163      *)                      . "./$cache_file";;
2164    esac
2165  fi
2166else
2167  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2168$as_echo "$as_me: creating cache $cache_file" >&6;}
2169  >$cache_file
2170fi
2171
2172# Check that the precious variables saved in the cache have kept the same
2173# value.
2174ac_cache_corrupted=false
2175for ac_var in $ac_precious_vars; do
2176  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2177  eval ac_new_set=\$ac_env_${ac_var}_set
2178  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2179  eval ac_new_val=\$ac_env_${ac_var}_value
2180  case $ac_old_set,$ac_new_set in
2181    set,)
2182      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2183$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2184      ac_cache_corrupted=: ;;
2185    ,set)
2186      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2187$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2188      ac_cache_corrupted=: ;;
2189    ,);;
2190    *)
2191      if test "x$ac_old_val" != "x$ac_new_val"; then
2192	# differences in whitespace do not lead to failure.
2193	ac_old_val_w=`echo x $ac_old_val`
2194	ac_new_val_w=`echo x $ac_new_val`
2195	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2196	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2197$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2198	  ac_cache_corrupted=:
2199	else
2200	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2201$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2202	  eval $ac_var=\$ac_old_val
2203	fi
2204	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2205$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2206	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2207$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2208      fi;;
2209  esac
2210  # Pass precious variables to config.status.
2211  if test "$ac_new_set" = set; then
2212    case $ac_new_val in
2213    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2214    *) ac_arg=$ac_var=$ac_new_val ;;
2215    esac
2216    case " $ac_configure_args " in
2217      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2218      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2219    esac
2220  fi
2221done
2222if $ac_cache_corrupted; then
2223  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2224$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2225  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2226$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2227  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2228fi
2229## -------------------- ##
2230## Main body of script. ##
2231## -------------------- ##
2232
2233ac_ext=c
2234ac_cpp='$CPP $CPPFLAGS'
2235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2237ac_compiler_gnu=$ac_cv_c_compiler_gnu
2238
2239
2240ac_config_files="$ac_config_files Makefile"
2241
2242ac_config_headers="$ac_config_headers uxconfig.h:uxconfig.in"
2243
2244am__api_version='1.16'
2245
2246ac_aux_dir=
2247for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2248  if test -f "$ac_dir/install-sh"; then
2249    ac_aux_dir=$ac_dir
2250    ac_install_sh="$ac_aux_dir/install-sh -c"
2251    break
2252  elif test -f "$ac_dir/install.sh"; then
2253    ac_aux_dir=$ac_dir
2254    ac_install_sh="$ac_aux_dir/install.sh -c"
2255    break
2256  elif test -f "$ac_dir/shtool"; then
2257    ac_aux_dir=$ac_dir
2258    ac_install_sh="$ac_aux_dir/shtool install -c"
2259    break
2260  fi
2261done
2262if test -z "$ac_aux_dir"; then
2263  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2264fi
2265
2266# These three variables are undocumented and unsupported,
2267# and are intended to be withdrawn in a future Autoconf release.
2268# They can cause serious problems if a builder's source tree is in a directory
2269# whose full name contains unusual characters.
2270ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2271ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2272ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2273
2274
2275# Find a good install program.  We prefer a C program (faster),
2276# so one script is as good as another.  But avoid the broken or
2277# incompatible versions:
2278# SysV /etc/install, /usr/sbin/install
2279# SunOS /usr/etc/install
2280# IRIX /sbin/install
2281# AIX /bin/install
2282# AmigaOS /C/install, which installs bootblocks on floppy discs
2283# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2284# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2285# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2286# OS/2's system install, which has a completely different semantic
2287# ./install, which can be erroneously created by make from ./install.sh.
2288# Reject install programs that cannot install multiple files.
2289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2290$as_echo_n "checking for a BSD-compatible install... " >&6; }
2291if test -z "$INSTALL"; then
2292if ${ac_cv_path_install+:} false; then :
2293  $as_echo_n "(cached) " >&6
2294else
2295  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296for as_dir in $PATH
2297do
2298  IFS=$as_save_IFS
2299  test -z "$as_dir" && as_dir=.
2300    # Account for people who put trailing slashes in PATH elements.
2301case $as_dir/ in #((
2302  ./ | .// | /[cC]/* | \
2303  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2304  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2305  /usr/ucb/* ) ;;
2306  *)
2307    # OSF1 and SCO ODT 3.0 have their own names for install.
2308    # Don't use installbsd from OSF since it installs stuff as root
2309    # by default.
2310    for ac_prog in ginstall scoinst install; do
2311      for ac_exec_ext in '' $ac_executable_extensions; do
2312	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2313	  if test $ac_prog = install &&
2314	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2315	    # AIX install.  It has an incompatible calling convention.
2316	    :
2317	  elif test $ac_prog = install &&
2318	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2319	    # program-specific install script used by HP pwplus--don't use.
2320	    :
2321	  else
2322	    rm -rf conftest.one conftest.two conftest.dir
2323	    echo one > conftest.one
2324	    echo two > conftest.two
2325	    mkdir conftest.dir
2326	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2327	      test -s conftest.one && test -s conftest.two &&
2328	      test -s conftest.dir/conftest.one &&
2329	      test -s conftest.dir/conftest.two
2330	    then
2331	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2332	      break 3
2333	    fi
2334	  fi
2335	fi
2336      done
2337    done
2338    ;;
2339esac
2340
2341  done
2342IFS=$as_save_IFS
2343
2344rm -rf conftest.one conftest.two conftest.dir
2345
2346fi
2347  if test "${ac_cv_path_install+set}" = set; then
2348    INSTALL=$ac_cv_path_install
2349  else
2350    # As a last resort, use the slow shell script.  Don't cache a
2351    # value for INSTALL within a source directory, because that will
2352    # break other packages using the cache if that directory is
2353    # removed, or if the value is a relative name.
2354    INSTALL=$ac_install_sh
2355  fi
2356fi
2357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2358$as_echo "$INSTALL" >&6; }
2359
2360# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2361# It thinks the first close brace ends the variable substitution.
2362test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2363
2364test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2365
2366test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2367
2368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2369$as_echo_n "checking whether build environment is sane... " >&6; }
2370# Reject unsafe characters in $srcdir or the absolute working directory
2371# name.  Accept space and tab only in the latter.
2372am_lf='
2373'
2374case `pwd` in
2375  *[\\\"\#\$\&\'\`$am_lf]*)
2376    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2377esac
2378case $srcdir in
2379  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2380    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2381esac
2382
2383# Do 'set' in a subshell so we don't clobber the current shell's
2384# arguments.  Must try -L first in case configure is actually a
2385# symlink; some systems play weird games with the mod time of symlinks
2386# (eg FreeBSD returns the mod time of the symlink's containing
2387# directory).
2388if (
2389   am_has_slept=no
2390   for am_try in 1 2; do
2391     echo "timestamp, slept: $am_has_slept" > conftest.file
2392     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2393     if test "$*" = "X"; then
2394	# -L didn't work.
2395	set X `ls -t "$srcdir/configure" conftest.file`
2396     fi
2397     if test "$*" != "X $srcdir/configure conftest.file" \
2398	&& test "$*" != "X conftest.file $srcdir/configure"; then
2399
2400	# If neither matched, then we have a broken ls.  This can happen
2401	# if, for instance, CONFIG_SHELL is bash and it inherits a
2402	# broken ls alias from the environment.  This has actually
2403	# happened.  Such a system could not be considered "sane".
2404	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2405  alias in your environment" "$LINENO" 5
2406     fi
2407     if test "$2" = conftest.file || test $am_try -eq 2; then
2408       break
2409     fi
2410     # Just in case.
2411     sleep 1
2412     am_has_slept=yes
2413   done
2414   test "$2" = conftest.file
2415   )
2416then
2417   # Ok.
2418   :
2419else
2420   as_fn_error $? "newly created file is older than distributed files!
2421Check your system clock" "$LINENO" 5
2422fi
2423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2424$as_echo "yes" >&6; }
2425# If we didn't sleep, we still need to ensure time stamps of config.status and
2426# generated files are strictly newer.
2427am_sleep_pid=
2428if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2429  ( sleep 1 ) &
2430  am_sleep_pid=$!
2431fi
2432
2433rm -f conftest.file
2434
2435test "$program_prefix" != NONE &&
2436  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2437# Use a double $ so make ignores it.
2438test "$program_suffix" != NONE &&
2439  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2440# Double any \ or $.
2441# By default was `s,x,x', remove it if useless.
2442ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2443program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2444
2445# Expand $ac_aux_dir to an absolute path.
2446am_aux_dir=`cd "$ac_aux_dir" && pwd`
2447
2448if test x"${MISSING+set}" != xset; then
2449  case $am_aux_dir in
2450  *\ * | *\	*)
2451    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2452  *)
2453    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2454  esac
2455fi
2456# Use eval to expand $SHELL
2457if eval "$MISSING --is-lightweight"; then
2458  am_missing_run="$MISSING "
2459else
2460  am_missing_run=
2461  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2462$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2463fi
2464
2465if test x"${install_sh+set}" != xset; then
2466  case $am_aux_dir in
2467  *\ * | *\	*)
2468    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2469  *)
2470    install_sh="\${SHELL} $am_aux_dir/install-sh"
2471  esac
2472fi
2473
2474# Installed binaries are usually stripped using 'strip' when the user
2475# run "make install-strip".  However 'strip' might not be the right
2476# tool to use in cross-compilation environments, therefore Automake
2477# will honor the 'STRIP' environment variable to overrule this program.
2478if test "$cross_compiling" != no; then
2479  if test -n "$ac_tool_prefix"; then
2480  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2481set dummy ${ac_tool_prefix}strip; ac_word=$2
2482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2483$as_echo_n "checking for $ac_word... " >&6; }
2484if ${ac_cv_prog_STRIP+:} false; then :
2485  $as_echo_n "(cached) " >&6
2486else
2487  if test -n "$STRIP"; then
2488  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2489else
2490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491for as_dir in $PATH
2492do
2493  IFS=$as_save_IFS
2494  test -z "$as_dir" && as_dir=.
2495    for ac_exec_ext in '' $ac_executable_extensions; do
2496  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2498    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2499    break 2
2500  fi
2501done
2502  done
2503IFS=$as_save_IFS
2504
2505fi
2506fi
2507STRIP=$ac_cv_prog_STRIP
2508if test -n "$STRIP"; then
2509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2510$as_echo "$STRIP" >&6; }
2511else
2512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513$as_echo "no" >&6; }
2514fi
2515
2516
2517fi
2518if test -z "$ac_cv_prog_STRIP"; then
2519  ac_ct_STRIP=$STRIP
2520  # Extract the first word of "strip", so it can be a program name with args.
2521set dummy strip; ac_word=$2
2522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523$as_echo_n "checking for $ac_word... " >&6; }
2524if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2525  $as_echo_n "(cached) " >&6
2526else
2527  if test -n "$ac_ct_STRIP"; then
2528  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2529else
2530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531for as_dir in $PATH
2532do
2533  IFS=$as_save_IFS
2534  test -z "$as_dir" && as_dir=.
2535    for ac_exec_ext in '' $ac_executable_extensions; do
2536  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2537    ac_cv_prog_ac_ct_STRIP="strip"
2538    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2539    break 2
2540  fi
2541done
2542  done
2543IFS=$as_save_IFS
2544
2545fi
2546fi
2547ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2548if test -n "$ac_ct_STRIP"; then
2549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2550$as_echo "$ac_ct_STRIP" >&6; }
2551else
2552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553$as_echo "no" >&6; }
2554fi
2555
2556  if test "x$ac_ct_STRIP" = x; then
2557    STRIP=":"
2558  else
2559    case $cross_compiling:$ac_tool_warned in
2560yes:)
2561{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2562$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2563ac_tool_warned=yes ;;
2564esac
2565    STRIP=$ac_ct_STRIP
2566  fi
2567else
2568  STRIP="$ac_cv_prog_STRIP"
2569fi
2570
2571fi
2572INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2573
2574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2575$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2576if test -z "$MKDIR_P"; then
2577  if ${ac_cv_path_mkdir+:} false; then :
2578  $as_echo_n "(cached) " >&6
2579else
2580  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2582do
2583  IFS=$as_save_IFS
2584  test -z "$as_dir" && as_dir=.
2585    for ac_prog in mkdir gmkdir; do
2586	 for ac_exec_ext in '' $ac_executable_extensions; do
2587	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2588	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2589	     'mkdir (GNU coreutils) '* | \
2590	     'mkdir (coreutils) '* | \
2591	     'mkdir (fileutils) '4.1*)
2592	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2593	       break 3;;
2594	   esac
2595	 done
2596       done
2597  done
2598IFS=$as_save_IFS
2599
2600fi
2601
2602  test -d ./--version && rmdir ./--version
2603  if test "${ac_cv_path_mkdir+set}" = set; then
2604    MKDIR_P="$ac_cv_path_mkdir -p"
2605  else
2606    # As a last resort, use the slow shell script.  Don't cache a
2607    # value for MKDIR_P within a source directory, because that will
2608    # break other packages using the cache if that directory is
2609    # removed, or if the value is a relative name.
2610    MKDIR_P="$ac_install_sh -d"
2611  fi
2612fi
2613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2614$as_echo "$MKDIR_P" >&6; }
2615
2616for ac_prog in gawk mawk nawk awk
2617do
2618  # Extract the first word of "$ac_prog", so it can be a program name with args.
2619set dummy $ac_prog; ac_word=$2
2620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621$as_echo_n "checking for $ac_word... " >&6; }
2622if ${ac_cv_prog_AWK+:} false; then :
2623  $as_echo_n "(cached) " >&6
2624else
2625  if test -n "$AWK"; then
2626  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2627else
2628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629for as_dir in $PATH
2630do
2631  IFS=$as_save_IFS
2632  test -z "$as_dir" && as_dir=.
2633    for ac_exec_ext in '' $ac_executable_extensions; do
2634  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2635    ac_cv_prog_AWK="$ac_prog"
2636    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2637    break 2
2638  fi
2639done
2640  done
2641IFS=$as_save_IFS
2642
2643fi
2644fi
2645AWK=$ac_cv_prog_AWK
2646if test -n "$AWK"; then
2647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2648$as_echo "$AWK" >&6; }
2649else
2650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651$as_echo "no" >&6; }
2652fi
2653
2654
2655  test -n "$AWK" && break
2656done
2657
2658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2659$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2660set x ${MAKE-make}
2661ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2662if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2663  $as_echo_n "(cached) " >&6
2664else
2665  cat >conftest.make <<\_ACEOF
2666SHELL = /bin/sh
2667all:
2668	@echo '@@@%%%=$(MAKE)=@@@%%%'
2669_ACEOF
2670# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2671case `${MAKE-make} -f conftest.make 2>/dev/null` in
2672  *@@@%%%=?*=@@@%%%*)
2673    eval ac_cv_prog_make_${ac_make}_set=yes;;
2674  *)
2675    eval ac_cv_prog_make_${ac_make}_set=no;;
2676esac
2677rm -f conftest.make
2678fi
2679if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2681$as_echo "yes" >&6; }
2682  SET_MAKE=
2683else
2684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685$as_echo "no" >&6; }
2686  SET_MAKE="MAKE=${MAKE-make}"
2687fi
2688
2689rm -rf .tst 2>/dev/null
2690mkdir .tst 2>/dev/null
2691if test -d .tst; then
2692  am__leading_dot=.
2693else
2694  am__leading_dot=_
2695fi
2696rmdir .tst 2>/dev/null
2697
2698# Check whether --enable-silent-rules was given.
2699if test "${enable_silent_rules+set}" = set; then :
2700  enableval=$enable_silent_rules;
2701fi
2702
2703case $enable_silent_rules in # (((
2704  yes) AM_DEFAULT_VERBOSITY=0;;
2705   no) AM_DEFAULT_VERBOSITY=1;;
2706    *) AM_DEFAULT_VERBOSITY=1;;
2707esac
2708am_make=${MAKE-make}
2709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2710$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2711if ${am_cv_make_support_nested_variables+:} false; then :
2712  $as_echo_n "(cached) " >&6
2713else
2714  if $as_echo 'TRUE=$(BAR$(V))
2715BAR0=false
2716BAR1=true
2717V=1
2718am__doit:
2719	@$(TRUE)
2720.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2721  am_cv_make_support_nested_variables=yes
2722else
2723  am_cv_make_support_nested_variables=no
2724fi
2725fi
2726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2727$as_echo "$am_cv_make_support_nested_variables" >&6; }
2728if test $am_cv_make_support_nested_variables = yes; then
2729    AM_V='$(V)'
2730  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2731else
2732  AM_V=$AM_DEFAULT_VERBOSITY
2733  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2734fi
2735AM_BACKSLASH='\'
2736
2737if test "`cd $srcdir && pwd`" != "`pwd`"; then
2738  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2739  # is not polluted with repeated "-I."
2740  am__isrc=' -I$(srcdir)'
2741  # test to see if srcdir already configured
2742  if test -f $srcdir/config.status; then
2743    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2744  fi
2745fi
2746
2747# test whether we have cygpath
2748if test -z "$CYGPATH_W"; then
2749  if (cygpath --version) >/dev/null 2>/dev/null; then
2750    CYGPATH_W='cygpath -w'
2751  else
2752    CYGPATH_W=echo
2753  fi
2754fi
2755
2756
2757# Define the identity of the package.
2758 PACKAGE='putty'
2759 VERSION='0.76'
2760
2761
2762cat >>confdefs.h <<_ACEOF
2763#define PACKAGE "$PACKAGE"
2764_ACEOF
2765
2766
2767cat >>confdefs.h <<_ACEOF
2768#define VERSION "$VERSION"
2769_ACEOF
2770
2771# Some tools Automake needs.
2772
2773ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2774
2775
2776AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2777
2778
2779AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2780
2781
2782AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2783
2784
2785MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2786
2787# For better backward compatibility.  To be removed once Automake 1.9.x
2788# dies out for good.  For more background, see:
2789# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2790# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2791mkdir_p='$(MKDIR_P)'
2792
2793# We need awk for the "check" target (and possibly the TAP driver).  The
2794# system "awk" is bad on some platforms.
2795# Always define AMTAR for backward compatibility.  Yes, it's still used
2796# in the wild :-(  We should find a proper way to deprecate it ...
2797AMTAR='$${TAR-tar}'
2798
2799
2800# We'll loop over all known methods to create a tar archive until one works.
2801_am_tools='gnutar  pax cpio none'
2802
2803am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2804
2805
2806
2807
2808
2809
2810# POSIX will say in a future version that running "rm -f" with no argument
2811# is OK; and we want to be able to make that assumption in our Makefile
2812# recipes.  So use an aggressive probe to check that the usage we want is
2813# actually supported "in the wild" to an acceptable degree.
2814# See automake bug#10828.
2815# To make any issue more visible, cause the running configure to be aborted
2816# by default if the 'rm' program in use doesn't match our expectations; the
2817# user can still override this though.
2818if rm -f && rm -fr && rm -rf; then : OK; else
2819  cat >&2 <<'END'
2820Oops!
2821
2822Your 'rm' program seems unable to run without file operands specified
2823on the command line, even when the '-f' option is present.  This is contrary
2824to the behaviour of most rm programs out there, and not conforming with
2825the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2826
2827Please tell bug-automake@gnu.org about your system, including the value
2828of your $PATH and any error possibly output before this message.  This
2829can help us improve future automake versions.
2830
2831END
2832  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2833    echo 'Configuration will proceed anyway, since you have set the' >&2
2834    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2835    echo >&2
2836  else
2837    cat >&2 <<'END'
2838Aborting the configuration process, to ensure you take notice of the issue.
2839
2840You can download and install GNU coreutils to get an 'rm' implementation
2841that behaves properly: <https://www.gnu.org/software/coreutils/>.
2842
2843If you want to complete the configuration process using your problematic
2844'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2845to "yes", and re-run configure.
2846
2847END
2848    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2849  fi
2850fi
2851
2852
2853
2854if test -n "$ac_tool_prefix"; then
2855  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2856set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858$as_echo_n "checking for $ac_word... " >&6; }
2859if ${ac_cv_prog_RANLIB+:} false; then :
2860  $as_echo_n "(cached) " >&6
2861else
2862  if test -n "$RANLIB"; then
2863  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2864else
2865as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866for as_dir in $PATH
2867do
2868  IFS=$as_save_IFS
2869  test -z "$as_dir" && as_dir=.
2870    for ac_exec_ext in '' $ac_executable_extensions; do
2871  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2872    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2873    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874    break 2
2875  fi
2876done
2877  done
2878IFS=$as_save_IFS
2879
2880fi
2881fi
2882RANLIB=$ac_cv_prog_RANLIB
2883if test -n "$RANLIB"; then
2884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2885$as_echo "$RANLIB" >&6; }
2886else
2887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888$as_echo "no" >&6; }
2889fi
2890
2891
2892fi
2893if test -z "$ac_cv_prog_RANLIB"; then
2894  ac_ct_RANLIB=$RANLIB
2895  # Extract the first word of "ranlib", so it can be a program name with args.
2896set dummy ranlib; ac_word=$2
2897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898$as_echo_n "checking for $ac_word... " >&6; }
2899if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2900  $as_echo_n "(cached) " >&6
2901else
2902  if test -n "$ac_ct_RANLIB"; then
2903  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2904else
2905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906for as_dir in $PATH
2907do
2908  IFS=$as_save_IFS
2909  test -z "$as_dir" && as_dir=.
2910    for ac_exec_ext in '' $ac_executable_extensions; do
2911  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912    ac_cv_prog_ac_ct_RANLIB="ranlib"
2913    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914    break 2
2915  fi
2916done
2917  done
2918IFS=$as_save_IFS
2919
2920fi
2921fi
2922ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2923if test -n "$ac_ct_RANLIB"; then
2924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2925$as_echo "$ac_ct_RANLIB" >&6; }
2926else
2927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928$as_echo "no" >&6; }
2929fi
2930
2931  if test "x$ac_ct_RANLIB" = x; then
2932    RANLIB=":"
2933  else
2934    case $cross_compiling:$ac_tool_warned in
2935yes:)
2936{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2937$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2938ac_tool_warned=yes ;;
2939esac
2940    RANLIB=$ac_ct_RANLIB
2941  fi
2942else
2943  RANLIB="$ac_cv_prog_RANLIB"
2944fi
2945
2946DEPDIR="${am__leading_dot}deps"
2947
2948ac_config_commands="$ac_config_commands depfiles"
2949
2950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2951$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
2952cat > confinc.mk << 'END'
2953am__doit:
2954	@echo this is the am__doit target >confinc.out
2955.PHONY: am__doit
2956END
2957am__include="#"
2958am__quote=
2959# BSD make does it like this.
2960echo '.include "confinc.mk" # ignored' > confmf.BSD
2961# Other make implementations (GNU, Solaris 10, AIX) do it like this.
2962echo 'include confinc.mk # ignored' > confmf.GNU
2963_am_result=no
2964for s in GNU BSD; do
2965  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2966   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2967   ac_status=$?
2968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969   (exit $ac_status); }
2970  case $?:`cat confinc.out 2>/dev/null` in #(
2971  '0:this is the am__doit target') :
2972    case $s in #(
2973  BSD) :
2974    am__include='.include' am__quote='"' ;; #(
2975  *) :
2976    am__include='include' am__quote='' ;;
2977esac ;; #(
2978  *) :
2979     ;;
2980esac
2981  if test "$am__include" != "#"; then
2982    _am_result="yes ($s style)"
2983    break
2984  fi
2985done
2986rm -f confinc.* confmf.*
2987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2988$as_echo "${_am_result}" >&6; }
2989
2990# Check whether --enable-dependency-tracking was given.
2991if test "${enable_dependency_tracking+set}" = set; then :
2992  enableval=$enable_dependency_tracking;
2993fi
2994
2995if test "x$enable_dependency_tracking" != xno; then
2996  am_depcomp="$ac_aux_dir/depcomp"
2997  AMDEPBACKSLASH='\'
2998  am__nodep='_no'
2999fi
3000 if test "x$enable_dependency_tracking" != xno; then
3001  AMDEP_TRUE=
3002  AMDEP_FALSE='#'
3003else
3004  AMDEP_TRUE='#'
3005  AMDEP_FALSE=
3006fi
3007
3008
3009ac_ext=c
3010ac_cpp='$CPP $CPPFLAGS'
3011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3013ac_compiler_gnu=$ac_cv_c_compiler_gnu
3014if test -n "$ac_tool_prefix"; then
3015  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3016set dummy ${ac_tool_prefix}gcc; ac_word=$2
3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018$as_echo_n "checking for $ac_word... " >&6; }
3019if ${ac_cv_prog_CC+:} false; then :
3020  $as_echo_n "(cached) " >&6
3021else
3022  if test -n "$CC"; then
3023  ac_cv_prog_CC="$CC" # Let the user override the test.
3024else
3025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026for as_dir in $PATH
3027do
3028  IFS=$as_save_IFS
3029  test -z "$as_dir" && as_dir=.
3030    for ac_exec_ext in '' $ac_executable_extensions; do
3031  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3032    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3033    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034    break 2
3035  fi
3036done
3037  done
3038IFS=$as_save_IFS
3039
3040fi
3041fi
3042CC=$ac_cv_prog_CC
3043if test -n "$CC"; then
3044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3045$as_echo "$CC" >&6; }
3046else
3047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048$as_echo "no" >&6; }
3049fi
3050
3051
3052fi
3053if test -z "$ac_cv_prog_CC"; then
3054  ac_ct_CC=$CC
3055  # Extract the first word of "gcc", so it can be a program name with args.
3056set dummy gcc; ac_word=$2
3057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058$as_echo_n "checking for $ac_word... " >&6; }
3059if ${ac_cv_prog_ac_ct_CC+:} false; then :
3060  $as_echo_n "(cached) " >&6
3061else
3062  if test -n "$ac_ct_CC"; then
3063  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3064else
3065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066for as_dir in $PATH
3067do
3068  IFS=$as_save_IFS
3069  test -z "$as_dir" && as_dir=.
3070    for ac_exec_ext in '' $ac_executable_extensions; do
3071  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3072    ac_cv_prog_ac_ct_CC="gcc"
3073    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074    break 2
3075  fi
3076done
3077  done
3078IFS=$as_save_IFS
3079
3080fi
3081fi
3082ac_ct_CC=$ac_cv_prog_ac_ct_CC
3083if test -n "$ac_ct_CC"; then
3084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3085$as_echo "$ac_ct_CC" >&6; }
3086else
3087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088$as_echo "no" >&6; }
3089fi
3090
3091  if test "x$ac_ct_CC" = x; then
3092    CC=""
3093  else
3094    case $cross_compiling:$ac_tool_warned in
3095yes:)
3096{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3097$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3098ac_tool_warned=yes ;;
3099esac
3100    CC=$ac_ct_CC
3101  fi
3102else
3103  CC="$ac_cv_prog_CC"
3104fi
3105
3106if test -z "$CC"; then
3107          if test -n "$ac_tool_prefix"; then
3108    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3109set dummy ${ac_tool_prefix}cc; ac_word=$2
3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111$as_echo_n "checking for $ac_word... " >&6; }
3112if ${ac_cv_prog_CC+:} false; then :
3113  $as_echo_n "(cached) " >&6
3114else
3115  if test -n "$CC"; then
3116  ac_cv_prog_CC="$CC" # Let the user override the test.
3117else
3118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119for as_dir in $PATH
3120do
3121  IFS=$as_save_IFS
3122  test -z "$as_dir" && as_dir=.
3123    for ac_exec_ext in '' $ac_executable_extensions; do
3124  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125    ac_cv_prog_CC="${ac_tool_prefix}cc"
3126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127    break 2
3128  fi
3129done
3130  done
3131IFS=$as_save_IFS
3132
3133fi
3134fi
3135CC=$ac_cv_prog_CC
3136if test -n "$CC"; then
3137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3138$as_echo "$CC" >&6; }
3139else
3140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141$as_echo "no" >&6; }
3142fi
3143
3144
3145  fi
3146fi
3147if test -z "$CC"; then
3148  # Extract the first word of "cc", so it can be a program name with args.
3149set dummy cc; ac_word=$2
3150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151$as_echo_n "checking for $ac_word... " >&6; }
3152if ${ac_cv_prog_CC+:} false; then :
3153  $as_echo_n "(cached) " >&6
3154else
3155  if test -n "$CC"; then
3156  ac_cv_prog_CC="$CC" # Let the user override the test.
3157else
3158  ac_prog_rejected=no
3159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160for as_dir in $PATH
3161do
3162  IFS=$as_save_IFS
3163  test -z "$as_dir" && as_dir=.
3164    for ac_exec_ext in '' $ac_executable_extensions; do
3165  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3166    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3167       ac_prog_rejected=yes
3168       continue
3169     fi
3170    ac_cv_prog_CC="cc"
3171    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172    break 2
3173  fi
3174done
3175  done
3176IFS=$as_save_IFS
3177
3178if test $ac_prog_rejected = yes; then
3179  # We found a bogon in the path, so make sure we never use it.
3180  set dummy $ac_cv_prog_CC
3181  shift
3182  if test $# != 0; then
3183    # We chose a different compiler from the bogus one.
3184    # However, it has the same basename, so the bogon will be chosen
3185    # first if we set CC to just the basename; use the full file name.
3186    shift
3187    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3188  fi
3189fi
3190fi
3191fi
3192CC=$ac_cv_prog_CC
3193if test -n "$CC"; then
3194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3195$as_echo "$CC" >&6; }
3196else
3197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198$as_echo "no" >&6; }
3199fi
3200
3201
3202fi
3203if test -z "$CC"; then
3204  if test -n "$ac_tool_prefix"; then
3205  for ac_prog in cl.exe
3206  do
3207    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3208set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210$as_echo_n "checking for $ac_word... " >&6; }
3211if ${ac_cv_prog_CC+:} false; then :
3212  $as_echo_n "(cached) " >&6
3213else
3214  if test -n "$CC"; then
3215  ac_cv_prog_CC="$CC" # Let the user override the test.
3216else
3217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218for as_dir in $PATH
3219do
3220  IFS=$as_save_IFS
3221  test -z "$as_dir" && as_dir=.
3222    for ac_exec_ext in '' $ac_executable_extensions; do
3223  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3225    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226    break 2
3227  fi
3228done
3229  done
3230IFS=$as_save_IFS
3231
3232fi
3233fi
3234CC=$ac_cv_prog_CC
3235if test -n "$CC"; then
3236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3237$as_echo "$CC" >&6; }
3238else
3239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240$as_echo "no" >&6; }
3241fi
3242
3243
3244    test -n "$CC" && break
3245  done
3246fi
3247if test -z "$CC"; then
3248  ac_ct_CC=$CC
3249  for ac_prog in cl.exe
3250do
3251  # Extract the first word of "$ac_prog", so it can be a program name with args.
3252set dummy $ac_prog; ac_word=$2
3253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254$as_echo_n "checking for $ac_word... " >&6; }
3255if ${ac_cv_prog_ac_ct_CC+:} false; then :
3256  $as_echo_n "(cached) " >&6
3257else
3258  if test -n "$ac_ct_CC"; then
3259  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3260else
3261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262for as_dir in $PATH
3263do
3264  IFS=$as_save_IFS
3265  test -z "$as_dir" && as_dir=.
3266    for ac_exec_ext in '' $ac_executable_extensions; do
3267  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268    ac_cv_prog_ac_ct_CC="$ac_prog"
3269    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3270    break 2
3271  fi
3272done
3273  done
3274IFS=$as_save_IFS
3275
3276fi
3277fi
3278ac_ct_CC=$ac_cv_prog_ac_ct_CC
3279if test -n "$ac_ct_CC"; then
3280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3281$as_echo "$ac_ct_CC" >&6; }
3282else
3283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284$as_echo "no" >&6; }
3285fi
3286
3287
3288  test -n "$ac_ct_CC" && break
3289done
3290
3291  if test "x$ac_ct_CC" = x; then
3292    CC=""
3293  else
3294    case $cross_compiling:$ac_tool_warned in
3295yes:)
3296{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3297$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3298ac_tool_warned=yes ;;
3299esac
3300    CC=$ac_ct_CC
3301  fi
3302fi
3303
3304fi
3305
3306
3307test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309as_fn_error $? "no acceptable C compiler found in \$PATH
3310See \`config.log' for more details" "$LINENO" 5; }
3311
3312# Provide some information about the compiler.
3313$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3314set X $ac_compile
3315ac_compiler=$2
3316for ac_option in --version -v -V -qversion; do
3317  { { ac_try="$ac_compiler $ac_option >&5"
3318case "(($ac_try" in
3319  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320  *) ac_try_echo=$ac_try;;
3321esac
3322eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323$as_echo "$ac_try_echo"; } >&5
3324  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3325  ac_status=$?
3326  if test -s conftest.err; then
3327    sed '10a\
3328... rest of stderr output deleted ...
3329         10q' conftest.err >conftest.er1
3330    cat conftest.er1 >&5
3331  fi
3332  rm -f conftest.er1 conftest.err
3333  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334  test $ac_status = 0; }
3335done
3336
3337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338/* end confdefs.h.  */
3339
3340int
3341main ()
3342{
3343
3344  ;
3345  return 0;
3346}
3347_ACEOF
3348ac_clean_files_save=$ac_clean_files
3349ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3350# Try to create an executable without -o first, disregard a.out.
3351# It will help us diagnose broken compilers, and finding out an intuition
3352# of exeext.
3353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3354$as_echo_n "checking whether the C compiler works... " >&6; }
3355ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3356
3357# The possible output files:
3358ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3359
3360ac_rmfiles=
3361for ac_file in $ac_files
3362do
3363  case $ac_file in
3364    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3365    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3366  esac
3367done
3368rm -f $ac_rmfiles
3369
3370if { { ac_try="$ac_link_default"
3371case "(($ac_try" in
3372  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373  *) ac_try_echo=$ac_try;;
3374esac
3375eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3376$as_echo "$ac_try_echo"; } >&5
3377  (eval "$ac_link_default") 2>&5
3378  ac_status=$?
3379  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3380  test $ac_status = 0; }; then :
3381  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3382# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3383# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3384# so that the user can short-circuit this test for compilers unknown to
3385# Autoconf.
3386for ac_file in $ac_files ''
3387do
3388  test -f "$ac_file" || continue
3389  case $ac_file in
3390    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3391	;;
3392    [ab].out )
3393	# We found the default executable, but exeext='' is most
3394	# certainly right.
3395	break;;
3396    *.* )
3397	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3398	then :; else
3399	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3400	fi
3401	# We set ac_cv_exeext here because the later test for it is not
3402	# safe: cross compilers may not add the suffix if given an `-o'
3403	# argument, so we may need to know it at that point already.
3404	# Even if this section looks crufty: it has the advantage of
3405	# actually working.
3406	break;;
3407    * )
3408	break;;
3409  esac
3410done
3411test "$ac_cv_exeext" = no && ac_cv_exeext=
3412
3413else
3414  ac_file=''
3415fi
3416if test -z "$ac_file"; then :
3417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3418$as_echo "no" >&6; }
3419$as_echo "$as_me: failed program was:" >&5
3420sed 's/^/| /' conftest.$ac_ext >&5
3421
3422{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3423$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3424as_fn_error 77 "C compiler cannot create executables
3425See \`config.log' for more details" "$LINENO" 5; }
3426else
3427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3428$as_echo "yes" >&6; }
3429fi
3430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3431$as_echo_n "checking for C compiler default output file name... " >&6; }
3432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3433$as_echo "$ac_file" >&6; }
3434ac_exeext=$ac_cv_exeext
3435
3436rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3437ac_clean_files=$ac_clean_files_save
3438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3439$as_echo_n "checking for suffix of executables... " >&6; }
3440if { { ac_try="$ac_link"
3441case "(($ac_try" in
3442  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443  *) ac_try_echo=$ac_try;;
3444esac
3445eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3446$as_echo "$ac_try_echo"; } >&5
3447  (eval "$ac_link") 2>&5
3448  ac_status=$?
3449  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3450  test $ac_status = 0; }; then :
3451  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3452# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3453# work properly (i.e., refer to `conftest.exe'), while it won't with
3454# `rm'.
3455for ac_file in conftest.exe conftest conftest.*; do
3456  test -f "$ac_file" || continue
3457  case $ac_file in
3458    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3459    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3460	  break;;
3461    * ) break;;
3462  esac
3463done
3464else
3465  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3468See \`config.log' for more details" "$LINENO" 5; }
3469fi
3470rm -f conftest conftest$ac_cv_exeext
3471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3472$as_echo "$ac_cv_exeext" >&6; }
3473
3474rm -f conftest.$ac_ext
3475EXEEXT=$ac_cv_exeext
3476ac_exeext=$EXEEXT
3477cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478/* end confdefs.h.  */
3479#include <stdio.h>
3480int
3481main ()
3482{
3483FILE *f = fopen ("conftest.out", "w");
3484 return ferror (f) || fclose (f) != 0;
3485
3486  ;
3487  return 0;
3488}
3489_ACEOF
3490ac_clean_files="$ac_clean_files conftest.out"
3491# Check that the compiler produces executables we can run.  If not, either
3492# the compiler is broken, or we cross compile.
3493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3494$as_echo_n "checking whether we are cross compiling... " >&6; }
3495if test "$cross_compiling" != yes; then
3496  { { ac_try="$ac_link"
3497case "(($ac_try" in
3498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499  *) ac_try_echo=$ac_try;;
3500esac
3501eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3502$as_echo "$ac_try_echo"; } >&5
3503  (eval "$ac_link") 2>&5
3504  ac_status=$?
3505  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3506  test $ac_status = 0; }
3507  if { ac_try='./conftest$ac_cv_exeext'
3508  { { case "(($ac_try" in
3509  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3510  *) ac_try_echo=$ac_try;;
3511esac
3512eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3513$as_echo "$ac_try_echo"; } >&5
3514  (eval "$ac_try") 2>&5
3515  ac_status=$?
3516  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3517  test $ac_status = 0; }; }; then
3518    cross_compiling=no
3519  else
3520    if test "$cross_compiling" = maybe; then
3521	cross_compiling=yes
3522    else
3523	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525as_fn_error $? "cannot run C compiled programs.
3526If you meant to cross compile, use \`--host'.
3527See \`config.log' for more details" "$LINENO" 5; }
3528    fi
3529  fi
3530fi
3531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3532$as_echo "$cross_compiling" >&6; }
3533
3534rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3535ac_clean_files=$ac_clean_files_save
3536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3537$as_echo_n "checking for suffix of object files... " >&6; }
3538if ${ac_cv_objext+:} false; then :
3539  $as_echo_n "(cached) " >&6
3540else
3541  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542/* end confdefs.h.  */
3543
3544int
3545main ()
3546{
3547
3548  ;
3549  return 0;
3550}
3551_ACEOF
3552rm -f conftest.o conftest.obj
3553if { { ac_try="$ac_compile"
3554case "(($ac_try" in
3555  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556  *) ac_try_echo=$ac_try;;
3557esac
3558eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559$as_echo "$ac_try_echo"; } >&5
3560  (eval "$ac_compile") 2>&5
3561  ac_status=$?
3562  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3563  test $ac_status = 0; }; then :
3564  for ac_file in conftest.o conftest.obj conftest.*; do
3565  test -f "$ac_file" || continue;
3566  case $ac_file in
3567    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3568    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3569       break;;
3570  esac
3571done
3572else
3573  $as_echo "$as_me: failed program was:" >&5
3574sed 's/^/| /' conftest.$ac_ext >&5
3575
3576{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578as_fn_error $? "cannot compute suffix of object files: cannot compile
3579See \`config.log' for more details" "$LINENO" 5; }
3580fi
3581rm -f conftest.$ac_cv_objext conftest.$ac_ext
3582fi
3583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3584$as_echo "$ac_cv_objext" >&6; }
3585OBJEXT=$ac_cv_objext
3586ac_objext=$OBJEXT
3587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3588$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3589if ${ac_cv_c_compiler_gnu+:} false; then :
3590  $as_echo_n "(cached) " >&6
3591else
3592  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593/* end confdefs.h.  */
3594
3595int
3596main ()
3597{
3598#ifndef __GNUC__
3599       choke me
3600#endif
3601
3602  ;
3603  return 0;
3604}
3605_ACEOF
3606if ac_fn_c_try_compile "$LINENO"; then :
3607  ac_compiler_gnu=yes
3608else
3609  ac_compiler_gnu=no
3610fi
3611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612ac_cv_c_compiler_gnu=$ac_compiler_gnu
3613
3614fi
3615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3616$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3617if test $ac_compiler_gnu = yes; then
3618  GCC=yes
3619else
3620  GCC=
3621fi
3622ac_test_CFLAGS=${CFLAGS+set}
3623ac_save_CFLAGS=$CFLAGS
3624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3625$as_echo_n "checking whether $CC accepts -g... " >&6; }
3626if ${ac_cv_prog_cc_g+:} false; then :
3627  $as_echo_n "(cached) " >&6
3628else
3629  ac_save_c_werror_flag=$ac_c_werror_flag
3630   ac_c_werror_flag=yes
3631   ac_cv_prog_cc_g=no
3632   CFLAGS="-g"
3633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634/* end confdefs.h.  */
3635
3636int
3637main ()
3638{
3639
3640  ;
3641  return 0;
3642}
3643_ACEOF
3644if ac_fn_c_try_compile "$LINENO"; then :
3645  ac_cv_prog_cc_g=yes
3646else
3647  CFLAGS=""
3648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649/* end confdefs.h.  */
3650
3651int
3652main ()
3653{
3654
3655  ;
3656  return 0;
3657}
3658_ACEOF
3659if ac_fn_c_try_compile "$LINENO"; then :
3660
3661else
3662  ac_c_werror_flag=$ac_save_c_werror_flag
3663	 CFLAGS="-g"
3664	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665/* end confdefs.h.  */
3666
3667int
3668main ()
3669{
3670
3671  ;
3672  return 0;
3673}
3674_ACEOF
3675if ac_fn_c_try_compile "$LINENO"; then :
3676  ac_cv_prog_cc_g=yes
3677fi
3678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679fi
3680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3681fi
3682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3683   ac_c_werror_flag=$ac_save_c_werror_flag
3684fi
3685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3686$as_echo "$ac_cv_prog_cc_g" >&6; }
3687if test "$ac_test_CFLAGS" = set; then
3688  CFLAGS=$ac_save_CFLAGS
3689elif test $ac_cv_prog_cc_g = yes; then
3690  if test "$GCC" = yes; then
3691    CFLAGS="-g -O2"
3692  else
3693    CFLAGS="-g"
3694  fi
3695else
3696  if test "$GCC" = yes; then
3697    CFLAGS="-O2"
3698  else
3699    CFLAGS=
3700  fi
3701fi
3702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3703$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3704if ${ac_cv_prog_cc_c89+:} false; then :
3705  $as_echo_n "(cached) " >&6
3706else
3707  ac_cv_prog_cc_c89=no
3708ac_save_CC=$CC
3709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710/* end confdefs.h.  */
3711#include <stdarg.h>
3712#include <stdio.h>
3713struct stat;
3714/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3715struct buf { int x; };
3716FILE * (*rcsopen) (struct buf *, struct stat *, int);
3717static char *e (p, i)
3718     char **p;
3719     int i;
3720{
3721  return p[i];
3722}
3723static char *f (char * (*g) (char **, int), char **p, ...)
3724{
3725  char *s;
3726  va_list v;
3727  va_start (v,p);
3728  s = g (p, va_arg (v,int));
3729  va_end (v);
3730  return s;
3731}
3732
3733/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3734   function prototypes and stuff, but not '\xHH' hex character constants.
3735   These don't provoke an error unfortunately, instead are silently treated
3736   as 'x'.  The following induces an error, until -std is added to get
3737   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3738   array size at least.  It's necessary to write '\x00'==0 to get something
3739   that's true only with -std.  */
3740int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3741
3742/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3743   inside strings and character constants.  */
3744#define FOO(x) 'x'
3745int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3746
3747int test (int i, double x);
3748struct s1 {int (*f) (int a);};
3749struct s2 {int (*f) (double a);};
3750int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3751int argc;
3752char **argv;
3753int
3754main ()
3755{
3756return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3757  ;
3758  return 0;
3759}
3760_ACEOF
3761for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3762	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3763do
3764  CC="$ac_save_CC $ac_arg"
3765  if ac_fn_c_try_compile "$LINENO"; then :
3766  ac_cv_prog_cc_c89=$ac_arg
3767fi
3768rm -f core conftest.err conftest.$ac_objext
3769  test "x$ac_cv_prog_cc_c89" != "xno" && break
3770done
3771rm -f conftest.$ac_ext
3772CC=$ac_save_CC
3773
3774fi
3775# AC_CACHE_VAL
3776case "x$ac_cv_prog_cc_c89" in
3777  x)
3778    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3779$as_echo "none needed" >&6; } ;;
3780  xno)
3781    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3782$as_echo "unsupported" >&6; } ;;
3783  *)
3784    CC="$CC $ac_cv_prog_cc_c89"
3785    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3786$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3787esac
3788if test "x$ac_cv_prog_cc_c89" != xno; then :
3789
3790fi
3791
3792ac_ext=c
3793ac_cpp='$CPP $CPPFLAGS'
3794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3796ac_compiler_gnu=$ac_cv_c_compiler_gnu
3797
3798ac_ext=c
3799ac_cpp='$CPP $CPPFLAGS'
3800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3802ac_compiler_gnu=$ac_cv_c_compiler_gnu
3803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3804$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3805if ${am_cv_prog_cc_c_o+:} false; then :
3806  $as_echo_n "(cached) " >&6
3807else
3808  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809/* end confdefs.h.  */
3810
3811int
3812main ()
3813{
3814
3815  ;
3816  return 0;
3817}
3818_ACEOF
3819  # Make sure it works both with $CC and with simple cc.
3820  # Following AC_PROG_CC_C_O, we do the test twice because some
3821  # compilers refuse to overwrite an existing .o file with -o,
3822  # though they will create one.
3823  am_cv_prog_cc_c_o=yes
3824  for am_i in 1 2; do
3825    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3826   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3827   ac_status=$?
3828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829   (exit $ac_status); } \
3830         && test -f conftest2.$ac_objext; then
3831      : OK
3832    else
3833      am_cv_prog_cc_c_o=no
3834      break
3835    fi
3836  done
3837  rm -f core conftest*
3838  unset am_i
3839fi
3840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3841$as_echo "$am_cv_prog_cc_c_o" >&6; }
3842if test "$am_cv_prog_cc_c_o" != yes; then
3843   # Losing compiler, so override with the script.
3844   # FIXME: It is wrong to rewrite CC.
3845   # But if we don't then we get into trouble of one sort or another.
3846   # A longer-term fix would be to have automake use am__CC in this case,
3847   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3848   CC="$am_aux_dir/compile $CC"
3849fi
3850ac_ext=c
3851ac_cpp='$CPP $CPPFLAGS'
3852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3854ac_compiler_gnu=$ac_cv_c_compiler_gnu
3855
3856
3857depcc="$CC"   am_compiler_list=
3858
3859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3860$as_echo_n "checking dependency style of $depcc... " >&6; }
3861if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3862  $as_echo_n "(cached) " >&6
3863else
3864  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3865  # We make a subdir and do the tests there.  Otherwise we can end up
3866  # making bogus files that we don't know about and never remove.  For
3867  # instance it was reported that on HP-UX the gcc test will end up
3868  # making a dummy file named 'D' -- because '-MD' means "put the output
3869  # in D".
3870  rm -rf conftest.dir
3871  mkdir conftest.dir
3872  # Copy depcomp to subdir because otherwise we won't find it if we're
3873  # using a relative directory.
3874  cp "$am_depcomp" conftest.dir
3875  cd conftest.dir
3876  # We will build objects and dependencies in a subdirectory because
3877  # it helps to detect inapplicable dependency modes.  For instance
3878  # both Tru64's cc and ICC support -MD to output dependencies as a
3879  # side effect of compilation, but ICC will put the dependencies in
3880  # the current directory while Tru64 will put them in the object
3881  # directory.
3882  mkdir sub
3883
3884  am_cv_CC_dependencies_compiler_type=none
3885  if test "$am_compiler_list" = ""; then
3886     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3887  fi
3888  am__universal=false
3889  case " $depcc " in #(
3890     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3891     esac
3892
3893  for depmode in $am_compiler_list; do
3894    # Setup a source with many dependencies, because some compilers
3895    # like to wrap large dependency lists on column 80 (with \), and
3896    # we should not choose a depcomp mode which is confused by this.
3897    #
3898    # We need to recreate these files for each test, as the compiler may
3899    # overwrite some of them when testing with obscure command lines.
3900    # This happens at least with the AIX C compiler.
3901    : > sub/conftest.c
3902    for i in 1 2 3 4 5 6; do
3903      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3904      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3905      # Solaris 10 /bin/sh.
3906      echo '/* dummy */' > sub/conftst$i.h
3907    done
3908    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3909
3910    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3911    # mode.  It turns out that the SunPro C++ compiler does not properly
3912    # handle '-M -o', and we need to detect this.  Also, some Intel
3913    # versions had trouble with output in subdirs.
3914    am__obj=sub/conftest.${OBJEXT-o}
3915    am__minus_obj="-o $am__obj"
3916    case $depmode in
3917    gcc)
3918      # This depmode causes a compiler race in universal mode.
3919      test "$am__universal" = false || continue
3920      ;;
3921    nosideeffect)
3922      # After this tag, mechanisms are not by side-effect, so they'll
3923      # only be used when explicitly requested.
3924      if test "x$enable_dependency_tracking" = xyes; then
3925	continue
3926      else
3927	break
3928      fi
3929      ;;
3930    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3931      # This compiler won't grok '-c -o', but also, the minuso test has
3932      # not run yet.  These depmodes are late enough in the game, and
3933      # so weak that their functioning should not be impacted.
3934      am__obj=conftest.${OBJEXT-o}
3935      am__minus_obj=
3936      ;;
3937    none) break ;;
3938    esac
3939    if depmode=$depmode \
3940       source=sub/conftest.c object=$am__obj \
3941       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3942       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3943         >/dev/null 2>conftest.err &&
3944       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3945       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3946       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3947       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3948      # icc doesn't choke on unknown options, it will just issue warnings
3949      # or remarks (even with -Werror).  So we grep stderr for any message
3950      # that says an option was ignored or not supported.
3951      # When given -MP, icc 7.0 and 7.1 complain thusly:
3952      #   icc: Command line warning: ignoring option '-M'; no argument required
3953      # The diagnosis changed in icc 8.0:
3954      #   icc: Command line remark: option '-MP' not supported
3955      if (grep 'ignoring option' conftest.err ||
3956          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3957        am_cv_CC_dependencies_compiler_type=$depmode
3958        break
3959      fi
3960    fi
3961  done
3962
3963  cd ..
3964  rm -rf conftest.dir
3965else
3966  am_cv_CC_dependencies_compiler_type=none
3967fi
3968
3969fi
3970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3971$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3972CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3973
3974 if
3975  test "x$enable_dependency_tracking" != xno \
3976  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3977  am__fastdepCC_TRUE=
3978  am__fastdepCC_FALSE='#'
3979else
3980  am__fastdepCC_TRUE='#'
3981  am__fastdepCC_FALSE=
3982fi
3983
3984
3985
3986if test -n "$ac_tool_prefix"; then
3987  for ac_prog in ar lib "link -lib"
3988  do
3989    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3990set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992$as_echo_n "checking for $ac_word... " >&6; }
3993if ${ac_cv_prog_AR+:} false; then :
3994  $as_echo_n "(cached) " >&6
3995else
3996  if test -n "$AR"; then
3997  ac_cv_prog_AR="$AR" # Let the user override the test.
3998else
3999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000for as_dir in $PATH
4001do
4002  IFS=$as_save_IFS
4003  test -z "$as_dir" && as_dir=.
4004    for ac_exec_ext in '' $ac_executable_extensions; do
4005  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4006    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008    break 2
4009  fi
4010done
4011  done
4012IFS=$as_save_IFS
4013
4014fi
4015fi
4016AR=$ac_cv_prog_AR
4017if test -n "$AR"; then
4018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4019$as_echo "$AR" >&6; }
4020else
4021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022$as_echo "no" >&6; }
4023fi
4024
4025
4026    test -n "$AR" && break
4027  done
4028fi
4029if test -z "$AR"; then
4030  ac_ct_AR=$AR
4031  for ac_prog in ar lib "link -lib"
4032do
4033  # Extract the first word of "$ac_prog", so it can be a program name with args.
4034set dummy $ac_prog; ac_word=$2
4035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4036$as_echo_n "checking for $ac_word... " >&6; }
4037if ${ac_cv_prog_ac_ct_AR+:} false; then :
4038  $as_echo_n "(cached) " >&6
4039else
4040  if test -n "$ac_ct_AR"; then
4041  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4042else
4043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044for as_dir in $PATH
4045do
4046  IFS=$as_save_IFS
4047  test -z "$as_dir" && as_dir=.
4048    for ac_exec_ext in '' $ac_executable_extensions; do
4049  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4050    ac_cv_prog_ac_ct_AR="$ac_prog"
4051    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4052    break 2
4053  fi
4054done
4055  done
4056IFS=$as_save_IFS
4057
4058fi
4059fi
4060ac_ct_AR=$ac_cv_prog_ac_ct_AR
4061if test -n "$ac_ct_AR"; then
4062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4063$as_echo "$ac_ct_AR" >&6; }
4064else
4065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4066$as_echo "no" >&6; }
4067fi
4068
4069
4070  test -n "$ac_ct_AR" && break
4071done
4072
4073  if test "x$ac_ct_AR" = x; then
4074    AR="false"
4075  else
4076    case $cross_compiling:$ac_tool_warned in
4077yes:)
4078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4080ac_tool_warned=yes ;;
4081esac
4082    AR=$ac_ct_AR
4083  fi
4084fi
4085
4086: ${AR=ar}
4087
4088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4089$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4090if ${am_cv_ar_interface+:} false; then :
4091  $as_echo_n "(cached) " >&6
4092else
4093  ac_ext=c
4094ac_cpp='$CPP $CPPFLAGS'
4095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4097ac_compiler_gnu=$ac_cv_c_compiler_gnu
4098
4099   am_cv_ar_interface=ar
4100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101/* end confdefs.h.  */
4102int some_variable = 0;
4103_ACEOF
4104if ac_fn_c_try_compile "$LINENO"; then :
4105  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4106      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4107  (eval $am_ar_try) 2>&5
4108  ac_status=$?
4109  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110  test $ac_status = 0; }
4111      if test "$ac_status" -eq 0; then
4112        am_cv_ar_interface=ar
4113      else
4114        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4115        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4116  (eval $am_ar_try) 2>&5
4117  ac_status=$?
4118  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4119  test $ac_status = 0; }
4120        if test "$ac_status" -eq 0; then
4121          am_cv_ar_interface=lib
4122        else
4123          am_cv_ar_interface=unknown
4124        fi
4125      fi
4126      rm -f conftest.lib libconftest.a
4127
4128fi
4129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130   ac_ext=c
4131ac_cpp='$CPP $CPPFLAGS'
4132ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4133ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4134ac_compiler_gnu=$ac_cv_c_compiler_gnu
4135
4136fi
4137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4138$as_echo "$am_cv_ar_interface" >&6; }
4139
4140case $am_cv_ar_interface in
4141ar)
4142  ;;
4143lib)
4144  # Microsoft lib, so override with the ar-lib wrapper script.
4145  # FIXME: It is wrong to rewrite AR.
4146  # But if we don't then we get into trouble of one sort or another.
4147  # A longer-term fix would be to have automake use am__AR in this case,
4148  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4149  # similar.
4150  AR="$am_aux_dir/ar-lib $AR"
4151  ;;
4152unknown)
4153  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4154  ;;
4155esac
4156
4157
4158
4159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4160$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4161if ${ac_cv_prog_cc_c99+:} false; then :
4162  $as_echo_n "(cached) " >&6
4163else
4164  ac_cv_prog_cc_c99=no
4165ac_save_CC=$CC
4166cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167/* end confdefs.h.  */
4168#include <stdarg.h>
4169#include <stdbool.h>
4170#include <stdlib.h>
4171#include <wchar.h>
4172#include <stdio.h>
4173
4174// Check varargs macros.  These examples are taken from C99 6.10.3.5.
4175#define debug(...) fprintf (stderr, __VA_ARGS__)
4176#define showlist(...) puts (#__VA_ARGS__)
4177#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4178static void
4179test_varargs_macros (void)
4180{
4181  int x = 1234;
4182  int y = 5678;
4183  debug ("Flag");
4184  debug ("X = %d\n", x);
4185  showlist (The first, second, and third items.);
4186  report (x>y, "x is %d but y is %d", x, y);
4187}
4188
4189// Check long long types.
4190#define BIG64 18446744073709551615ull
4191#define BIG32 4294967295ul
4192#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4193#if !BIG_OK
4194  your preprocessor is broken;
4195#endif
4196#if BIG_OK
4197#else
4198  your preprocessor is broken;
4199#endif
4200static long long int bignum = -9223372036854775807LL;
4201static unsigned long long int ubignum = BIG64;
4202
4203struct incomplete_array
4204{
4205  int datasize;
4206  double data[];
4207};
4208
4209struct named_init {
4210  int number;
4211  const wchar_t *name;
4212  double average;
4213};
4214
4215typedef const char *ccp;
4216
4217static inline int
4218test_restrict (ccp restrict text)
4219{
4220  // See if C++-style comments work.
4221  // Iterate through items via the restricted pointer.
4222  // Also check for declarations in for loops.
4223  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4224    continue;
4225  return 0;
4226}
4227
4228// Check varargs and va_copy.
4229static void
4230test_varargs (const char *format, ...)
4231{
4232  va_list args;
4233  va_start (args, format);
4234  va_list args_copy;
4235  va_copy (args_copy, args);
4236
4237  const char *str;
4238  int number;
4239  float fnumber;
4240
4241  while (*format)
4242    {
4243      switch (*format++)
4244	{
4245	case 's': // string
4246	  str = va_arg (args_copy, const char *);
4247	  break;
4248	case 'd': // int
4249	  number = va_arg (args_copy, int);
4250	  break;
4251	case 'f': // float
4252	  fnumber = va_arg (args_copy, double);
4253	  break;
4254	default:
4255	  break;
4256	}
4257    }
4258  va_end (args_copy);
4259  va_end (args);
4260}
4261
4262int
4263main ()
4264{
4265
4266  // Check bool.
4267  _Bool success = false;
4268
4269  // Check restrict.
4270  if (test_restrict ("String literal") == 0)
4271    success = true;
4272  char *restrict newvar = "Another string";
4273
4274  // Check varargs.
4275  test_varargs ("s, d' f .", "string", 65, 34.234);
4276  test_varargs_macros ();
4277
4278  // Check flexible array members.
4279  struct incomplete_array *ia =
4280    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4281  ia->datasize = 10;
4282  for (int i = 0; i < ia->datasize; ++i)
4283    ia->data[i] = i * 1.234;
4284
4285  // Check named initializers.
4286  struct named_init ni = {
4287    .number = 34,
4288    .name = L"Test wide string",
4289    .average = 543.34343,
4290  };
4291
4292  ni.number = 58;
4293
4294  int dynamic_array[ni.number];
4295  dynamic_array[ni.number - 1] = 543;
4296
4297  // work around unused variable warnings
4298  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4299	  || dynamic_array[ni.number - 1] != 543);
4300
4301  ;
4302  return 0;
4303}
4304_ACEOF
4305for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4306do
4307  CC="$ac_save_CC $ac_arg"
4308  if ac_fn_c_try_compile "$LINENO"; then :
4309  ac_cv_prog_cc_c99=$ac_arg
4310fi
4311rm -f core conftest.err conftest.$ac_objext
4312  test "x$ac_cv_prog_cc_c99" != "xno" && break
4313done
4314rm -f conftest.$ac_ext
4315CC=$ac_save_CC
4316
4317fi
4318# AC_CACHE_VAL
4319case "x$ac_cv_prog_cc_c99" in
4320  x)
4321    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4322$as_echo "none needed" >&6; } ;;
4323  xno)
4324    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4325$as_echo "unsupported" >&6; } ;;
4326  *)
4327    CC="$CC $ac_cv_prog_cc_c99"
4328    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4329$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4330esac
4331if test "x$ac_cv_prog_cc_c99" != xno; then :
4332
4333fi
4334
4335
4336
4337# Mild abuse of the '--enable' option format to allow manual
4338# specification of setuid or setgid setup in pterm.
4339setidtype=none
4340# Check whether --enable-setuid was given.
4341if test "${enable_setuid+set}" = set; then :
4342  enableval=$enable_setuid; case "$enableval" in
4343               no) setidtype=none;;
4344               *) setidtype=setuid; setidval="$enableval";;
4345             esac
4346fi
4347
4348# Check whether --enable-setgid was given.
4349if test "${enable_setgid+set}" = set; then :
4350  enableval=$enable_setgid; case "$enableval" in
4351               no) setidtype=none;;
4352               *) setidtype=setgid; setidval="$enableval";;
4353             esac
4354fi
4355
4356 if test "$setidtype" != "none"; then
4357  HAVE_SETID_CMD_TRUE=
4358  HAVE_SETID_CMD_FALSE='#'
4359else
4360  HAVE_SETID_CMD_TRUE='#'
4361  HAVE_SETID_CMD_FALSE=
4362fi
4363
4364if test "x$setidtype" = "xsetuid"; then :
4365  SETID_CMD="chown $setidval"; SETID_MODE="4755"
4366fi
4367if test "x$setidtype" = "xsetgid"; then :
4368  SETID_CMD="chgrp $setidval"; SETID_MODE="2755"
4369fi
4370
4371
4372
4373# Check whether --enable-git-commit was given.
4374if test "${enable_git_commit+set}" = set; then :
4375  enableval=$enable_git_commit;
4376else
4377  if test -d "$srcdir/.git"; then
4378    enable_git_commit=yes; else enable_git_commit=no; fi
4379fi
4380
4381
4382if test "x$enable_git_commit" = "xyes" -a ! -d "$srcdir/.git"; then
4383  as_fn_error $? "Cannot --enable-git-commit when source tree is not a git checkout" "$LINENO" 5
4384fi
4385 if test "x$enable_git_commit" = "xyes"; then
4386  AUTO_GIT_COMMIT_TRUE=
4387  AUTO_GIT_COMMIT_FALSE='#'
4388else
4389  AUTO_GIT_COMMIT_TRUE='#'
4390  AUTO_GIT_COMMIT_FALSE=
4391fi
4392
4393
4394
4395# Check whether --with-gssapi was given.
4396if test "${with_gssapi+set}" = set; then :
4397  withval=$with_gssapi;
4398else
4399  with_gssapi=yes
4400fi
4401
4402
4403
4404# Check whether --with-quartz was given.
4405if test "${with_quartz+set}" = set; then :
4406  withval=$with_quartz;
4407$as_echo "#define OSX_GTK 1" >>confdefs.h
4408
4409   with_quartz=yes
4410else
4411  with_quartz=no
4412fi
4413
4414
4415 if test "x$with_quartz" = "xyes"; then
4416  HAVE_QUARTZ_TRUE=
4417  HAVE_QUARTZ_FALSE='#'
4418else
4419  HAVE_QUARTZ_TRUE='#'
4420  HAVE_QUARTZ_FALSE=
4421fi
4422
4423
4424WITH_GSSAPI=
4425if test "x$with_gssapi" != xno; then :
4426
4427$as_echo "#define WITH_GSSAPI 1" >>confdefs.h
4428
4429fi
4430
4431
4432# Check whether --with-gtk was given.
4433if test "${with_gtk+set}" = set; then :
4434  withval=$with_gtk; gtk_version_desired="$withval"
4435else
4436  gtk_version_desired="any"
4437fi
4438
4439
4440case "$gtk_version_desired" in
4441  1 | 2 | 3 | any | no) ;;
4442  yes) gtk_version_desired="any" ;;
4443  *) as_fn_error $? "Invalid GTK version specified" "$LINENO" 5
4444esac
4445
4446for ac_header in utmpx.h
4447do :
4448  ac_fn_c_check_header_compile "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "
4449#include <sys/types.h>
4450#include <utmp.h>
4451"
4452if test "x$ac_cv_header_utmpx_h" = xyes; then :
4453  cat >>confdefs.h <<_ACEOF
4454#define HAVE_UTMPX_H 1
4455_ACEOF
4456
4457fi
4458
4459done
4460
4461
4462# Look for GTK 3, GTK 2 and GTK 1, in descending order of preference.
4463# If we can't find any, have the makefile only build the CLI programs.
4464
4465gtk=none
4466
4467case "$gtk_version_desired:$gtk" in
4468  3:none | any:none)
4469
4470# Check whether --enable-gtktest was given.
4471if test "${enable_gtktest+set}" = set; then :
4472  enableval=$enable_gtktest;
4473else
4474  enable_gtktest=yes
4475fi
4476
4477  min_gtk_version=3.0.0
4478
4479  pkg_config_args="gtk+-3.0 >= $min_gtk_version"
4480  for module in .
4481  do
4482      case "$module" in
4483         gthread)
4484             pkg_config_args="$pkg_config_args gthread-2.0"
4485         ;;
4486      esac
4487  done
4488
4489  no_gtk=""
4490
4491
4492
4493
4494
4495
4496
4497
4498if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4499	if test -n "$ac_tool_prefix"; then
4500  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4501set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4503$as_echo_n "checking for $ac_word... " >&6; }
4504if ${ac_cv_path_PKG_CONFIG+:} false; then :
4505  $as_echo_n "(cached) " >&6
4506else
4507  case $PKG_CONFIG in
4508  [\\/]* | ?:[\\/]*)
4509  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4510  ;;
4511  *)
4512  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513for as_dir in $PATH
4514do
4515  IFS=$as_save_IFS
4516  test -z "$as_dir" && as_dir=.
4517    for ac_exec_ext in '' $ac_executable_extensions; do
4518  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4520    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521    break 2
4522  fi
4523done
4524  done
4525IFS=$as_save_IFS
4526
4527  ;;
4528esac
4529fi
4530PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4531if test -n "$PKG_CONFIG"; then
4532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4533$as_echo "$PKG_CONFIG" >&6; }
4534else
4535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536$as_echo "no" >&6; }
4537fi
4538
4539
4540fi
4541if test -z "$ac_cv_path_PKG_CONFIG"; then
4542  ac_pt_PKG_CONFIG=$PKG_CONFIG
4543  # Extract the first word of "pkg-config", so it can be a program name with args.
4544set dummy pkg-config; ac_word=$2
4545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546$as_echo_n "checking for $ac_word... " >&6; }
4547if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4548  $as_echo_n "(cached) " >&6
4549else
4550  case $ac_pt_PKG_CONFIG in
4551  [\\/]* | ?:[\\/]*)
4552  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4553  ;;
4554  *)
4555  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556for as_dir in $PATH
4557do
4558  IFS=$as_save_IFS
4559  test -z "$as_dir" && as_dir=.
4560    for ac_exec_ext in '' $ac_executable_extensions; do
4561  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564    break 2
4565  fi
4566done
4567  done
4568IFS=$as_save_IFS
4569
4570  ;;
4571esac
4572fi
4573ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4574if test -n "$ac_pt_PKG_CONFIG"; then
4575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4576$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4577else
4578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579$as_echo "no" >&6; }
4580fi
4581
4582  if test "x$ac_pt_PKG_CONFIG" = x; then
4583    PKG_CONFIG=""
4584  else
4585    case $cross_compiling:$ac_tool_warned in
4586yes:)
4587{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4588$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4589ac_tool_warned=yes ;;
4590esac
4591    PKG_CONFIG=$ac_pt_PKG_CONFIG
4592  fi
4593else
4594  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4595fi
4596
4597fi
4598if test -n "$PKG_CONFIG"; then
4599	_pkg_min_version=0.16
4600	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4601$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4602	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4603		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4604$as_echo "yes" >&6; }
4605	else
4606		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607$as_echo "no" >&6; }
4608		PKG_CONFIG=""
4609	fi
4610fi
4611
4612  if test -z "$PKG_CONFIG"; then
4613    no_gtk=yes
4614  fi
4615
4616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
4617$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
4618
4619  if test -n "$PKG_CONFIG"; then
4620    ## don't try to run the test against uninstalled libtool libs
4621    if $PKG_CONFIG --uninstalled $pkg_config_args; then
4622	  echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
4623	  enable_gtktest=no
4624    fi
4625
4626    if $PKG_CONFIG $pkg_config_args; then
4627	  :
4628    else
4629	  no_gtk=yes
4630    fi
4631  fi
4632
4633  if test x"$no_gtk" = x ; then
4634    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
4635    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
4636    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
4637           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4638    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
4639           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4640    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
4641           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4642    if test "x$enable_gtktest" = "xyes" ; then
4643      ac_save_CFLAGS="$CFLAGS"
4644      ac_save_LIBS="$LIBS"
4645      CFLAGS="$CFLAGS $GTK_CFLAGS"
4646      LIBS="$GTK_LIBS $LIBS"
4647      rm -f conf.gtktest
4648      if test "$cross_compiling" = yes; then :
4649  echo $ac_n "cross compiling; assumed OK... $ac_c"
4650else
4651  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652/* end confdefs.h.  */
4653
4654#include <gtk/gtk.h>
4655#include <stdio.h>
4656#include <stdlib.h>
4657
4658int
4659main ()
4660{
4661  unsigned int major, minor, micro;
4662
4663  fclose (fopen ("conf.gtktest", "w"));
4664
4665  if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
4666     printf("%s, bad version string\n", "$min_gtk_version");
4667     exit(1);
4668   }
4669
4670  if ((gtk_major_version != $gtk_config_major_version) ||
4671      (gtk_minor_version != $gtk_config_minor_version) ||
4672      (gtk_micro_version != $gtk_config_micro_version))
4673    {
4674      printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
4675             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
4676             gtk_major_version, gtk_minor_version, gtk_micro_version);
4677      printf ("*** was found! If pkg-config was correct, then it is best\n");
4678      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
4679      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
4680      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
4681      printf("*** required on your system.\n");
4682      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
4683      printf("*** to point to the correct configuration files\n");
4684    }
4685  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
4686	   (gtk_minor_version != GTK_MINOR_VERSION) ||
4687           (gtk_micro_version != GTK_MICRO_VERSION))
4688    {
4689      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
4690	     GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
4691      printf("*** library (version %d.%d.%d)\n",
4692	     gtk_major_version, gtk_minor_version, gtk_micro_version);
4693    }
4694  else
4695    {
4696      if ((gtk_major_version > major) ||
4697        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
4698        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
4699      {
4700        return 0;
4701       }
4702     else
4703      {
4704        printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n",
4705               gtk_major_version, gtk_minor_version, gtk_micro_version);
4706        printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n",
4707	       major, minor, micro);
4708        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
4709        printf("***\n");
4710        printf("*** If you have already installed a sufficiently new version, this error\n");
4711        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
4712        printf("*** being found. The easiest way to fix this is to remove the old version\n");
4713        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
4714        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
4715        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
4716        printf("*** so that the correct libraries are found at run-time))\n");
4717      }
4718    }
4719  return 1;
4720}
4721
4722_ACEOF
4723if ac_fn_c_try_run "$LINENO"; then :
4724
4725else
4726  no_gtk=yes
4727fi
4728rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4729  conftest.$ac_objext conftest.beam conftest.$ac_ext
4730fi
4731
4732       CFLAGS="$ac_save_CFLAGS"
4733       LIBS="$ac_save_LIBS"
4734     fi
4735  fi
4736  if test "x$no_gtk" = x ; then
4737     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
4738$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
4739     gtk=3
4740  else
4741     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742$as_echo "no" >&6; }
4743     if test -z "$PKG_CONFIG"; then
4744       echo "*** A new enough version of pkg-config was not found."
4745       echo "*** See http://pkgconfig.sourceforge.net"
4746     else
4747       if test -f conf.gtktest ; then
4748        :
4749       else
4750          echo "*** Could not run GTK+ test program, checking why..."
4751	  ac_save_CFLAGS="$CFLAGS"
4752	  ac_save_LIBS="$LIBS"
4753          CFLAGS="$CFLAGS $GTK_CFLAGS"
4754          LIBS="$LIBS $GTK_LIBS"
4755          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4756/* end confdefs.h.  */
4757
4758#include <gtk/gtk.h>
4759#include <stdio.h>
4760
4761int
4762main ()
4763{
4764 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
4765  ;
4766  return 0;
4767}
4768_ACEOF
4769if ac_fn_c_try_link "$LINENO"; then :
4770   echo "*** The test program compiled, but did not run. This usually means"
4771          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
4772          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
4773          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
4774          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
4775          echo "*** is required on your system"
4776	  echo "***"
4777          echo "*** If you have an old version installed, it is best to remove it, although"
4778          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4779else
4780   echo "*** The test program failed to compile or link. See the file config.log for the"
4781          echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
4782fi
4783rm -f core conftest.err conftest.$ac_objext \
4784    conftest$ac_exeext conftest.$ac_ext
4785          CFLAGS="$ac_save_CFLAGS"
4786          LIBS="$ac_save_LIBS"
4787       fi
4788     fi
4789     GTK_CFLAGS=""
4790     GTK_LIBS=""
4791     :
4792  fi
4793
4794
4795  rm -f conf.gtktest
4796
4797    ;;
4798esac
4799
4800case "$gtk_version_desired:$gtk" in
4801  2:none | any:none)
4802    # Check whether --enable-gtktest was given.
4803if test "${enable_gtktest+set}" = set; then :
4804  enableval=$enable_gtktest;
4805else
4806  enable_gtktest=yes
4807fi
4808
4809
4810  pkg_config_args=gtk+-2.0
4811  for module in .
4812  do
4813      case "$module" in
4814         gthread)
4815             pkg_config_args="$pkg_config_args gthread-2.0"
4816         ;;
4817      esac
4818  done
4819
4820  no_gtk=""
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4831	if test -n "$ac_tool_prefix"; then
4832  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4833set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835$as_echo_n "checking for $ac_word... " >&6; }
4836if ${ac_cv_path_PKG_CONFIG+:} false; then :
4837  $as_echo_n "(cached) " >&6
4838else
4839  case $PKG_CONFIG in
4840  [\\/]* | ?:[\\/]*)
4841  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4842  ;;
4843  *)
4844  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845for as_dir in $PATH
4846do
4847  IFS=$as_save_IFS
4848  test -z "$as_dir" && as_dir=.
4849    for ac_exec_ext in '' $ac_executable_extensions; do
4850  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4851    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4852    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853    break 2
4854  fi
4855done
4856  done
4857IFS=$as_save_IFS
4858
4859  ;;
4860esac
4861fi
4862PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4863if test -n "$PKG_CONFIG"; then
4864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4865$as_echo "$PKG_CONFIG" >&6; }
4866else
4867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868$as_echo "no" >&6; }
4869fi
4870
4871
4872fi
4873if test -z "$ac_cv_path_PKG_CONFIG"; then
4874  ac_pt_PKG_CONFIG=$PKG_CONFIG
4875  # Extract the first word of "pkg-config", so it can be a program name with args.
4876set dummy pkg-config; ac_word=$2
4877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878$as_echo_n "checking for $ac_word... " >&6; }
4879if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4880  $as_echo_n "(cached) " >&6
4881else
4882  case $ac_pt_PKG_CONFIG in
4883  [\\/]* | ?:[\\/]*)
4884  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4885  ;;
4886  *)
4887  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888for as_dir in $PATH
4889do
4890  IFS=$as_save_IFS
4891  test -z "$as_dir" && as_dir=.
4892    for ac_exec_ext in '' $ac_executable_extensions; do
4893  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4894    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4895    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896    break 2
4897  fi
4898done
4899  done
4900IFS=$as_save_IFS
4901
4902  ;;
4903esac
4904fi
4905ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4906if test -n "$ac_pt_PKG_CONFIG"; then
4907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4908$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4909else
4910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911$as_echo "no" >&6; }
4912fi
4913
4914  if test "x$ac_pt_PKG_CONFIG" = x; then
4915    PKG_CONFIG=""
4916  else
4917    case $cross_compiling:$ac_tool_warned in
4918yes:)
4919{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921ac_tool_warned=yes ;;
4922esac
4923    PKG_CONFIG=$ac_pt_PKG_CONFIG
4924  fi
4925else
4926  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4927fi
4928
4929fi
4930if test -n "$PKG_CONFIG"; then
4931	_pkg_min_version=0.7
4932	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4933$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4934	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4935		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936$as_echo "yes" >&6; }
4937	else
4938		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939$as_echo "no" >&6; }
4940		PKG_CONFIG=""
4941	fi
4942fi
4943
4944  min_gtk_version=2.0.0
4945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
4946$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
4947
4948  if test x$PKG_CONFIG != xno ; then
4949    ## don't try to run the test against uninstalled libtool libs
4950    if $PKG_CONFIG --uninstalled $pkg_config_args; then
4951	  echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
4952	  enable_gtktest=no
4953    fi
4954
4955    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
4956	  :
4957    else
4958	  no_gtk=yes
4959    fi
4960  fi
4961
4962  if test x"$no_gtk" = x ; then
4963    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
4964    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
4965    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
4966           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4967    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
4968           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4969    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
4970           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4971    if test "x$enable_gtktest" = "xyes" ; then
4972      ac_save_CFLAGS="$CFLAGS"
4973      ac_save_LIBS="$LIBS"
4974      CFLAGS="$CFLAGS $GTK_CFLAGS"
4975      LIBS="$GTK_LIBS $LIBS"
4976      rm -f conf.gtktest
4977      if test "$cross_compiling" = yes; then :
4978  echo $ac_n "cross compiling; assumed OK... $ac_c"
4979else
4980  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981/* end confdefs.h.  */
4982
4983#include <gtk/gtk.h>
4984#include <stdio.h>
4985#include <stdlib.h>
4986
4987int
4988main ()
4989{
4990  int major, minor, micro;
4991  char *tmp_version;
4992
4993  fclose (fopen ("conf.gtktest", "w"));
4994
4995  /* HP/UX 9 (%@#!) writes to sscanf strings */
4996  tmp_version = g_strdup("$min_gtk_version");
4997  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
4998     printf("%s, bad version string\n", "$min_gtk_version");
4999     exit(1);
5000   }
5001
5002  if ((gtk_major_version != $gtk_config_major_version) ||
5003      (gtk_minor_version != $gtk_config_minor_version) ||
5004      (gtk_micro_version != $gtk_config_micro_version))
5005    {
5006      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
5007             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
5008             gtk_major_version, gtk_minor_version, gtk_micro_version);
5009      printf ("*** was found! If pkg-config was correct, then it is best\n");
5010      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
5011      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
5012      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
5013      printf("*** required on your system.\n");
5014      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
5015      printf("*** to point to the correct configuration files\n");
5016    }
5017  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
5018	   (gtk_minor_version != GTK_MINOR_VERSION) ||
5019           (gtk_micro_version != GTK_MICRO_VERSION))
5020    {
5021      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
5022	     GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
5023      printf("*** library (version %d.%d.%d)\n",
5024	     gtk_major_version, gtk_minor_version, gtk_micro_version);
5025    }
5026  else
5027    {
5028      if ((gtk_major_version > major) ||
5029        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
5030        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
5031      {
5032        return 0;
5033       }
5034     else
5035      {
5036        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
5037               gtk_major_version, gtk_minor_version, gtk_micro_version);
5038        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
5039	       major, minor, micro);
5040        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
5041        printf("***\n");
5042        printf("*** If you have already installed a sufficiently new version, this error\n");
5043        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
5044        printf("*** being found. The easiest way to fix this is to remove the old version\n");
5045        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
5046        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
5047        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
5048        printf("*** so that the correct libraries are found at run-time))\n");
5049      }
5050    }
5051  return 1;
5052}
5053
5054_ACEOF
5055if ac_fn_c_try_run "$LINENO"; then :
5056
5057else
5058  no_gtk=yes
5059fi
5060rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5061  conftest.$ac_objext conftest.beam conftest.$ac_ext
5062fi
5063
5064       CFLAGS="$ac_save_CFLAGS"
5065       LIBS="$ac_save_LIBS"
5066     fi
5067  fi
5068  if test "x$no_gtk" = x ; then
5069     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
5070$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
5071     gtk=2
5072  else
5073     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074$as_echo "no" >&6; }
5075     if test "$PKG_CONFIG" = "no" ; then
5076       echo "*** A new enough version of pkg-config was not found."
5077       echo "*** See http://pkgconfig.sourceforge.net"
5078     else
5079       if test -f conf.gtktest ; then
5080        :
5081       else
5082          echo "*** Could not run GTK+ test program, checking why..."
5083	  ac_save_CFLAGS="$CFLAGS"
5084	  ac_save_LIBS="$LIBS"
5085          CFLAGS="$CFLAGS $GTK_CFLAGS"
5086          LIBS="$LIBS $GTK_LIBS"
5087          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088/* end confdefs.h.  */
5089
5090#include <gtk/gtk.h>
5091#include <stdio.h>
5092
5093int
5094main ()
5095{
5096 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
5097  ;
5098  return 0;
5099}
5100_ACEOF
5101if ac_fn_c_try_link "$LINENO"; then :
5102   echo "*** The test program compiled, but did not run. This usually means"
5103          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
5104          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
5105          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
5106          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
5107          echo "*** is required on your system"
5108	  echo "***"
5109          echo "*** If you have an old version installed, it is best to remove it, although"
5110          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
5111else
5112   echo "*** The test program failed to compile or link. See the file config.log for the"
5113          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
5114fi
5115rm -f core conftest.err conftest.$ac_objext \
5116    conftest$ac_exeext conftest.$ac_ext
5117          CFLAGS="$ac_save_CFLAGS"
5118          LIBS="$ac_save_LIBS"
5119       fi
5120     fi
5121     GTK_CFLAGS=""
5122     GTK_LIBS=""
5123     :
5124  fi
5125
5126
5127  rm -f conf.gtktest
5128
5129    ;;
5130esac
5131
5132case "$gtk_version_desired:$gtk" in
5133  1:none | any:none)
5134
5135    # manual check for gtk1
5136    # Extract the first word of "gtk-config", so it can be a program name with args.
5137set dummy gtk-config; ac_word=$2
5138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139$as_echo_n "checking for $ac_word... " >&6; }
5140if ${ac_cv_path_GTK1_CONFIG+:} false; then :
5141  $as_echo_n "(cached) " >&6
5142else
5143  case $GTK1_CONFIG in
5144  [\\/]* | ?:[\\/]*)
5145  ac_cv_path_GTK1_CONFIG="$GTK1_CONFIG" # Let the user override the test with a path.
5146  ;;
5147  *)
5148  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149for as_dir in $PATH
5150do
5151  IFS=$as_save_IFS
5152  test -z "$as_dir" && as_dir=.
5153    for ac_exec_ext in '' $ac_executable_extensions; do
5154  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5155    ac_cv_path_GTK1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5156    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157    break 2
5158  fi
5159done
5160  done
5161IFS=$as_save_IFS
5162
5163  test -z "$ac_cv_path_GTK1_CONFIG" && ac_cv_path_GTK1_CONFIG="absent"
5164  ;;
5165esac
5166fi
5167GTK1_CONFIG=$ac_cv_path_GTK1_CONFIG
5168if test -n "$GTK1_CONFIG"; then
5169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK1_CONFIG" >&5
5170$as_echo "$GTK1_CONFIG" >&6; }
5171else
5172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173$as_echo "no" >&6; }
5174fi
5175
5176
5177    if test "$GTK1_CONFIG" != "absent"; then
5178      GTK_CFLAGS="`"$GTK1_CONFIG" --cflags`"
5179      GTK_LIBS=`"$GTK1_CONFIG" --libs`
5180
5181
5182      gtk=1
5183    fi
5184
5185    ;;
5186esac
5187
5188case "$gtk" in
5189  1)
5190    # Add some manual #defines to make the GTK 1 headers work when
5191    # compiling in C99 mode. Left to themselves, they'll expect the
5192    # old-style pre-C99 GNU semantics of 'inline' and 'extern inline',
5193    # with the effect that they'll end up defining out-of-line
5194    # versions of the inlined functions in more than one translation
5195    # unit and cause a link failure. Override them to 'static inline',
5196    # which is safe.
5197    GTK_CFLAGS="$GTK_CFLAGS -DG_INLINE_FUNC='static inline' -DG_CAN_INLINE=1"
5198esac
5199
5200 if test "$gtk" != "none"; then
5201  HAVE_GTK_TRUE=
5202  HAVE_GTK_FALSE='#'
5203else
5204  HAVE_GTK_TRUE='#'
5205  HAVE_GTK_FALSE=
5206fi
5207
5208
5209if test "$gtk" = "2" -o "$gtk" = "3"; then
5210  ac_save_CFLAGS="$CFLAGS"
5211  ac_save_LIBS="$LIBS"
5212  CFLAGS="$CFLAGS $GTK_CFLAGS"
5213  LIBS="$GTK_LIBS $LIBS"
5214  for ac_func in pango_font_family_is_monospace pango_font_map_list_families
5215do :
5216  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5217ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5218if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5219  cat >>confdefs.h <<_ACEOF
5220#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5221_ACEOF
5222
5223fi
5224done
5225
5226  CFLAGS="$ac_save_CFLAGS"
5227  LIBS="$ac_save_LIBS"
5228fi
5229
5230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
5231$as_echo_n "checking for library containing socket... " >&6; }
5232if ${ac_cv_search_socket+:} false; then :
5233  $as_echo_n "(cached) " >&6
5234else
5235  ac_func_search_save_LIBS=$LIBS
5236cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237/* end confdefs.h.  */
5238
5239/* Override any GCC internal prototype to avoid an error.
5240   Use char because int might match the return type of a GCC
5241   builtin and then its argument prototype would still apply.  */
5242#ifdef __cplusplus
5243extern "C"
5244#endif
5245char socket ();
5246int
5247main ()
5248{
5249return socket ();
5250  ;
5251  return 0;
5252}
5253_ACEOF
5254for ac_lib in '' xnet; do
5255  if test -z "$ac_lib"; then
5256    ac_res="none required"
5257  else
5258    ac_res=-l$ac_lib
5259    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5260  fi
5261  if ac_fn_c_try_link "$LINENO"; then :
5262  ac_cv_search_socket=$ac_res
5263fi
5264rm -f core conftest.err conftest.$ac_objext \
5265    conftest$ac_exeext
5266  if ${ac_cv_search_socket+:} false; then :
5267  break
5268fi
5269done
5270if ${ac_cv_search_socket+:} false; then :
5271
5272else
5273  ac_cv_search_socket=no
5274fi
5275rm conftest.$ac_ext
5276LIBS=$ac_func_search_save_LIBS
5277fi
5278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
5279$as_echo "$ac_cv_search_socket" >&6; }
5280ac_res=$ac_cv_search_socket
5281if test "$ac_res" != no; then :
5282  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5283
5284fi
5285
5286
5287ac_ext=c
5288ac_cpp='$CPP $CPPFLAGS'
5289ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5290ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5291ac_compiler_gnu=$ac_cv_c_compiler_gnu
5292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5293$as_echo_n "checking how to run the C preprocessor... " >&6; }
5294# On Suns, sometimes $CPP names a directory.
5295if test -n "$CPP" && test -d "$CPP"; then
5296  CPP=
5297fi
5298if test -z "$CPP"; then
5299  if ${ac_cv_prog_CPP+:} false; then :
5300  $as_echo_n "(cached) " >&6
5301else
5302      # Double quotes because CPP needs to be expanded
5303    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5304    do
5305      ac_preproc_ok=false
5306for ac_c_preproc_warn_flag in '' yes
5307do
5308  # Use a header file that comes with gcc, so configuring glibc
5309  # with a fresh cross-compiler works.
5310  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5311  # <limits.h> exists even on freestanding compilers.
5312  # On the NeXT, cc -E runs the code through the compiler's parser,
5313  # not just through cpp. "Syntax error" is here to catch this case.
5314  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315/* end confdefs.h.  */
5316#ifdef __STDC__
5317# include <limits.h>
5318#else
5319# include <assert.h>
5320#endif
5321		     Syntax error
5322_ACEOF
5323if ac_fn_c_try_cpp "$LINENO"; then :
5324
5325else
5326  # Broken: fails on valid input.
5327continue
5328fi
5329rm -f conftest.err conftest.i conftest.$ac_ext
5330
5331  # OK, works on sane cases.  Now check whether nonexistent headers
5332  # can be detected and how.
5333  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334/* end confdefs.h.  */
5335#include <ac_nonexistent.h>
5336_ACEOF
5337if ac_fn_c_try_cpp "$LINENO"; then :
5338  # Broken: success on invalid input.
5339continue
5340else
5341  # Passes both tests.
5342ac_preproc_ok=:
5343break
5344fi
5345rm -f conftest.err conftest.i conftest.$ac_ext
5346
5347done
5348# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5349rm -f conftest.i conftest.err conftest.$ac_ext
5350if $ac_preproc_ok; then :
5351  break
5352fi
5353
5354    done
5355    ac_cv_prog_CPP=$CPP
5356
5357fi
5358  CPP=$ac_cv_prog_CPP
5359else
5360  ac_cv_prog_CPP=$CPP
5361fi
5362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5363$as_echo "$CPP" >&6; }
5364ac_preproc_ok=false
5365for ac_c_preproc_warn_flag in '' yes
5366do
5367  # Use a header file that comes with gcc, so configuring glibc
5368  # with a fresh cross-compiler works.
5369  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5370  # <limits.h> exists even on freestanding compilers.
5371  # On the NeXT, cc -E runs the code through the compiler's parser,
5372  # not just through cpp. "Syntax error" is here to catch this case.
5373  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374/* end confdefs.h.  */
5375#ifdef __STDC__
5376# include <limits.h>
5377#else
5378# include <assert.h>
5379#endif
5380		     Syntax error
5381_ACEOF
5382if ac_fn_c_try_cpp "$LINENO"; then :
5383
5384else
5385  # Broken: fails on valid input.
5386continue
5387fi
5388rm -f conftest.err conftest.i conftest.$ac_ext
5389
5390  # OK, works on sane cases.  Now check whether nonexistent headers
5391  # can be detected and how.
5392  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5393/* end confdefs.h.  */
5394#include <ac_nonexistent.h>
5395_ACEOF
5396if ac_fn_c_try_cpp "$LINENO"; then :
5397  # Broken: success on invalid input.
5398continue
5399else
5400  # Passes both tests.
5401ac_preproc_ok=:
5402break
5403fi
5404rm -f conftest.err conftest.i conftest.$ac_ext
5405
5406done
5407# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5408rm -f conftest.i conftest.err conftest.$ac_ext
5409if $ac_preproc_ok; then :
5410
5411else
5412  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5414as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5415See \`config.log' for more details" "$LINENO" 5; }
5416fi
5417
5418ac_ext=c
5419ac_cpp='$CPP $CPPFLAGS'
5420ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5421ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5422ac_compiler_gnu=$ac_cv_c_compiler_gnu
5423
5424
5425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5426$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5427if ${ac_cv_path_GREP+:} false; then :
5428  $as_echo_n "(cached) " >&6
5429else
5430  if test -z "$GREP"; then
5431  ac_path_GREP_found=false
5432  # Loop through the user's path and test for each of PROGNAME-LIST
5433  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5435do
5436  IFS=$as_save_IFS
5437  test -z "$as_dir" && as_dir=.
5438    for ac_prog in grep ggrep; do
5439    for ac_exec_ext in '' $ac_executable_extensions; do
5440      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5441      as_fn_executable_p "$ac_path_GREP" || continue
5442# Check for GNU ac_path_GREP and select it if it is found.
5443  # Check for GNU $ac_path_GREP
5444case `"$ac_path_GREP" --version 2>&1` in
5445*GNU*)
5446  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5447*)
5448  ac_count=0
5449  $as_echo_n 0123456789 >"conftest.in"
5450  while :
5451  do
5452    cat "conftest.in" "conftest.in" >"conftest.tmp"
5453    mv "conftest.tmp" "conftest.in"
5454    cp "conftest.in" "conftest.nl"
5455    $as_echo 'GREP' >> "conftest.nl"
5456    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5457    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5458    as_fn_arith $ac_count + 1 && ac_count=$as_val
5459    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5460      # Best one so far, save it but keep looking for a better one
5461      ac_cv_path_GREP="$ac_path_GREP"
5462      ac_path_GREP_max=$ac_count
5463    fi
5464    # 10*(2^10) chars as input seems more than enough
5465    test $ac_count -gt 10 && break
5466  done
5467  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5468esac
5469
5470      $ac_path_GREP_found && break 3
5471    done
5472  done
5473  done
5474IFS=$as_save_IFS
5475  if test -z "$ac_cv_path_GREP"; then
5476    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5477  fi
5478else
5479  ac_cv_path_GREP=$GREP
5480fi
5481
5482fi
5483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5484$as_echo "$ac_cv_path_GREP" >&6; }
5485 GREP="$ac_cv_path_GREP"
5486
5487
5488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5489$as_echo_n "checking for egrep... " >&6; }
5490if ${ac_cv_path_EGREP+:} false; then :
5491  $as_echo_n "(cached) " >&6
5492else
5493  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5494   then ac_cv_path_EGREP="$GREP -E"
5495   else
5496     if test -z "$EGREP"; then
5497  ac_path_EGREP_found=false
5498  # Loop through the user's path and test for each of PROGNAME-LIST
5499  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5501do
5502  IFS=$as_save_IFS
5503  test -z "$as_dir" && as_dir=.
5504    for ac_prog in egrep; do
5505    for ac_exec_ext in '' $ac_executable_extensions; do
5506      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5507      as_fn_executable_p "$ac_path_EGREP" || continue
5508# Check for GNU ac_path_EGREP and select it if it is found.
5509  # Check for GNU $ac_path_EGREP
5510case `"$ac_path_EGREP" --version 2>&1` in
5511*GNU*)
5512  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5513*)
5514  ac_count=0
5515  $as_echo_n 0123456789 >"conftest.in"
5516  while :
5517  do
5518    cat "conftest.in" "conftest.in" >"conftest.tmp"
5519    mv "conftest.tmp" "conftest.in"
5520    cp "conftest.in" "conftest.nl"
5521    $as_echo 'EGREP' >> "conftest.nl"
5522    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5523    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5524    as_fn_arith $ac_count + 1 && ac_count=$as_val
5525    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5526      # Best one so far, save it but keep looking for a better one
5527      ac_cv_path_EGREP="$ac_path_EGREP"
5528      ac_path_EGREP_max=$ac_count
5529    fi
5530    # 10*(2^10) chars as input seems more than enough
5531    test $ac_count -gt 10 && break
5532  done
5533  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5534esac
5535
5536      $ac_path_EGREP_found && break 3
5537    done
5538  done
5539  done
5540IFS=$as_save_IFS
5541  if test -z "$ac_cv_path_EGREP"; then
5542    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5543  fi
5544else
5545  ac_cv_path_EGREP=$EGREP
5546fi
5547
5548   fi
5549fi
5550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5551$as_echo "$ac_cv_path_EGREP" >&6; }
5552 EGREP="$ac_cv_path_EGREP"
5553
5554
5555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5556$as_echo_n "checking for ANSI C header files... " >&6; }
5557if ${ac_cv_header_stdc+:} false; then :
5558  $as_echo_n "(cached) " >&6
5559else
5560  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561/* end confdefs.h.  */
5562#include <stdlib.h>
5563#include <stdarg.h>
5564#include <string.h>
5565#include <float.h>
5566
5567int
5568main ()
5569{
5570
5571  ;
5572  return 0;
5573}
5574_ACEOF
5575if ac_fn_c_try_compile "$LINENO"; then :
5576  ac_cv_header_stdc=yes
5577else
5578  ac_cv_header_stdc=no
5579fi
5580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5581
5582if test $ac_cv_header_stdc = yes; then
5583  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5584  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585/* end confdefs.h.  */
5586#include <string.h>
5587
5588_ACEOF
5589if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5590  $EGREP "memchr" >/dev/null 2>&1; then :
5591
5592else
5593  ac_cv_header_stdc=no
5594fi
5595rm -f conftest*
5596
5597fi
5598
5599if test $ac_cv_header_stdc = yes; then
5600  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602/* end confdefs.h.  */
5603#include <stdlib.h>
5604
5605_ACEOF
5606if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5607  $EGREP "free" >/dev/null 2>&1; then :
5608
5609else
5610  ac_cv_header_stdc=no
5611fi
5612rm -f conftest*
5613
5614fi
5615
5616if test $ac_cv_header_stdc = yes; then
5617  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5618  if test "$cross_compiling" = yes; then :
5619  :
5620else
5621  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622/* end confdefs.h.  */
5623#include <ctype.h>
5624#include <stdlib.h>
5625#if ((' ' & 0x0FF) == 0x020)
5626# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5627# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5628#else
5629# define ISLOWER(c) \
5630		   (('a' <= (c) && (c) <= 'i') \
5631		     || ('j' <= (c) && (c) <= 'r') \
5632		     || ('s' <= (c) && (c) <= 'z'))
5633# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5634#endif
5635
5636#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5637int
5638main ()
5639{
5640  int i;
5641  for (i = 0; i < 256; i++)
5642    if (XOR (islower (i), ISLOWER (i))
5643	|| toupper (i) != TOUPPER (i))
5644      return 2;
5645  return 0;
5646}
5647_ACEOF
5648if ac_fn_c_try_run "$LINENO"; then :
5649
5650else
5651  ac_cv_header_stdc=no
5652fi
5653rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5654  conftest.$ac_objext conftest.beam conftest.$ac_ext
5655fi
5656
5657fi
5658fi
5659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5660$as_echo "$ac_cv_header_stdc" >&6; }
5661if test $ac_cv_header_stdc = yes; then
5662
5663$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5664
5665fi
5666
5667# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5668for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5669		  inttypes.h stdint.h unistd.h
5670do :
5671  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5672ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5673"
5674if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5675  cat >>confdefs.h <<_ACEOF
5676#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5677_ACEOF
5678
5679fi
5680
5681done
5682
5683
5684if test "x$with_gssapi" != xno; then :
5685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
5686$as_echo_n "checking for library containing dlopen... " >&6; }
5687if ${ac_cv_search_dlopen+:} false; then :
5688  $as_echo_n "(cached) " >&6
5689else
5690  ac_func_search_save_LIBS=$LIBS
5691cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5692/* end confdefs.h.  */
5693
5694/* Override any GCC internal prototype to avoid an error.
5695   Use char because int might match the return type of a GCC
5696   builtin and then its argument prototype would still apply.  */
5697#ifdef __cplusplus
5698extern "C"
5699#endif
5700char dlopen ();
5701int
5702main ()
5703{
5704return dlopen ();
5705  ;
5706  return 0;
5707}
5708_ACEOF
5709for ac_lib in '' dl; do
5710  if test -z "$ac_lib"; then
5711    ac_res="none required"
5712  else
5713    ac_res=-l$ac_lib
5714    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5715  fi
5716  if ac_fn_c_try_link "$LINENO"; then :
5717  ac_cv_search_dlopen=$ac_res
5718fi
5719rm -f core conftest.err conftest.$ac_objext \
5720    conftest$ac_exeext
5721  if ${ac_cv_search_dlopen+:} false; then :
5722  break
5723fi
5724done
5725if ${ac_cv_search_dlopen+:} false; then :
5726
5727else
5728  ac_cv_search_dlopen=no
5729fi
5730rm conftest.$ac_ext
5731LIBS=$ac_func_search_save_LIBS
5732fi
5733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
5734$as_echo "$ac_cv_search_dlopen" >&6; }
5735ac_res=$ac_cv_search_dlopen
5736if test "$ac_res" != no; then :
5737  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5738
5739else
5740
5741$as_echo "#define NO_LIBDL 1" >>confdefs.h
5742
5743     for ac_header in gssapi/gssapi.h
5744do :
5745  ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
5746if test "x$ac_cv_header_gssapi_gssapi_h" = xyes; then :
5747  cat >>confdefs.h <<_ACEOF
5748#define HAVE_GSSAPI_GSSAPI_H 1
5749_ACEOF
5750
5751fi
5752
5753done
5754
5755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
5756$as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
5757if ${ac_cv_search_gss_init_sec_context+:} false; then :
5758  $as_echo_n "(cached) " >&6
5759else
5760  ac_func_search_save_LIBS=$LIBS
5761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5762/* end confdefs.h.  */
5763
5764/* Override any GCC internal prototype to avoid an error.
5765   Use char because int might match the return type of a GCC
5766   builtin and then its argument prototype would still apply.  */
5767#ifdef __cplusplus
5768extern "C"
5769#endif
5770char gss_init_sec_context ();
5771int
5772main ()
5773{
5774return gss_init_sec_context ();
5775  ;
5776  return 0;
5777}
5778_ACEOF
5779for ac_lib in '' gssapi gssapi_krb5 gss; do
5780  if test -z "$ac_lib"; then
5781    ac_res="none required"
5782  else
5783    ac_res=-l$ac_lib
5784    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5785  fi
5786  if ac_fn_c_try_link "$LINENO"; then :
5787  ac_cv_search_gss_init_sec_context=$ac_res
5788fi
5789rm -f core conftest.err conftest.$ac_objext \
5790    conftest$ac_exeext
5791  if ${ac_cv_search_gss_init_sec_context+:} false; then :
5792  break
5793fi
5794done
5795if ${ac_cv_search_gss_init_sec_context+:} false; then :
5796
5797else
5798  ac_cv_search_gss_init_sec_context=no
5799fi
5800rm conftest.$ac_ext
5801LIBS=$ac_func_search_save_LIBS
5802fi
5803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
5804$as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
5805ac_res=$ac_cv_search_gss_init_sec_context
5806if test "$ac_res" != no; then :
5807  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5808
5809else
5810
5811$as_echo "#define NO_GSSAPI_LIB 1" >>confdefs.h
5812
5813fi
5814
5815fi
5816
5817fi
5818
5819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
5820$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
5821if ${ac_cv_lib_X11_XOpenDisplay+:} false; then :
5822  $as_echo_n "(cached) " >&6
5823else
5824  ac_check_lib_save_LIBS=$LIBS
5825LIBS="-lX11  $LIBS"
5826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5827/* end confdefs.h.  */
5828
5829/* Override any GCC internal prototype to avoid an error.
5830   Use char because int might match the return type of a GCC
5831   builtin and then its argument prototype would still apply.  */
5832#ifdef __cplusplus
5833extern "C"
5834#endif
5835char XOpenDisplay ();
5836int
5837main ()
5838{
5839return XOpenDisplay ();
5840  ;
5841  return 0;
5842}
5843_ACEOF
5844if ac_fn_c_try_link "$LINENO"; then :
5845  ac_cv_lib_X11_XOpenDisplay=yes
5846else
5847  ac_cv_lib_X11_XOpenDisplay=no
5848fi
5849rm -f core conftest.err conftest.$ac_objext \
5850    conftest$ac_exeext conftest.$ac_ext
5851LIBS=$ac_check_lib_save_LIBS
5852fi
5853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
5854$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
5855if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then :
5856  GTK_LIBS="-lX11 $GTK_LIBS"
5857
5858$as_echo "#define HAVE_LIBX11 /**/" >>confdefs.h
5859
5860fi
5861
5862
5863for ac_func in getaddrinfo posix_openpt ptsname setresuid strsignal updwtmpx fstatat dirfd futimes setpwent endpwent getauxval elf_aux_info sysctlbyname
5864do :
5865  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5866ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5867if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5868  cat >>confdefs.h <<_ACEOF
5869#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5870_ACEOF
5871
5872fi
5873done
5874
5875ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#include <time.h>
5876"
5877if test "x$ac_cv_have_decl_CLOCK_MONOTONIC" = xyes; then :
5878  ac_have_decl=1
5879else
5880  ac_have_decl=0
5881fi
5882
5883cat >>confdefs.h <<_ACEOF
5884#define HAVE_DECL_CLOCK_MONOTONIC $ac_have_decl
5885_ACEOF
5886
5887for ac_header in sys/auxv.h asm/hwcap.h sys/sysctl.h sys/types.h glob.h
5888do :
5889  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5890ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5891if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5892  cat >>confdefs.h <<_ACEOF
5893#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5894_ACEOF
5895
5896fi
5897
5898done
5899
5900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
5901$as_echo_n "checking for library containing clock_gettime... " >&6; }
5902if ${ac_cv_search_clock_gettime+:} false; then :
5903  $as_echo_n "(cached) " >&6
5904else
5905  ac_func_search_save_LIBS=$LIBS
5906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5907/* end confdefs.h.  */
5908
5909/* Override any GCC internal prototype to avoid an error.
5910   Use char because int might match the return type of a GCC
5911   builtin and then its argument prototype would still apply.  */
5912#ifdef __cplusplus
5913extern "C"
5914#endif
5915char clock_gettime ();
5916int
5917main ()
5918{
5919return clock_gettime ();
5920  ;
5921  return 0;
5922}
5923_ACEOF
5924for ac_lib in '' rt; do
5925  if test -z "$ac_lib"; then
5926    ac_res="none required"
5927  else
5928    ac_res=-l$ac_lib
5929    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5930  fi
5931  if ac_fn_c_try_link "$LINENO"; then :
5932  ac_cv_search_clock_gettime=$ac_res
5933fi
5934rm -f core conftest.err conftest.$ac_objext \
5935    conftest$ac_exeext
5936  if ${ac_cv_search_clock_gettime+:} false; then :
5937  break
5938fi
5939done
5940if ${ac_cv_search_clock_gettime+:} false; then :
5941
5942else
5943  ac_cv_search_clock_gettime=no
5944fi
5945rm conftest.$ac_ext
5946LIBS=$ac_func_search_save_LIBS
5947fi
5948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
5949$as_echo "$ac_cv_search_clock_gettime" >&6; }
5950ac_res=$ac_cv_search_clock_gettime
5951if test "$ac_res" != no; then :
5952  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5953
5954$as_echo "#define HAVE_CLOCK_GETTIME /**/" >>confdefs.h
5955
5956fi
5957
5958
5959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_PEERCRED and dependencies" >&5
5960$as_echo_n "checking for SO_PEERCRED and dependencies... " >&6; }
5961if ${x_cv_linux_so_peercred+:} false; then :
5962  $as_echo_n "(cached) " >&6
5963else
5964
5965    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5966/* end confdefs.h.  */
5967
5968
5969            #define _GNU_SOURCE
5970            #include <features.h>
5971            #include <sys/socket.h>
5972
5973int
5974main ()
5975{
5976
5977            struct ucred cr;
5978            socklen_t crlen = sizeof(cr);
5979            return getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cr, &crlen) +
5980            cr.pid + cr.uid + cr.gid;
5981
5982
5983  ;
5984  return 0;
5985}
5986_ACEOF
5987if ac_fn_c_try_compile "$LINENO"; then :
5988  x_cv_linux_so_peercred=yes
5989else
5990  x_cv_linux_so_peercred=no
5991
5992fi
5993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5994
5995fi
5996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $x_cv_linux_so_peercred" >&5
5997$as_echo "$x_cv_linux_so_peercred" >&6; }
5998if test $x_cv_linux_so_peercred = yes; then :
5999
6000$as_echo "#define HAVE_SO_PEERCRED 1" >>confdefs.h
6001
6002
6003fi
6004
6005if test "x$GCC" = "xyes"; then
6006  :
6007  WARNINGOPTS='-Wall -Wpointer-arith -Wvla'
6008
6009else
6010  :
6011
6012fi
6013
6014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
6015$as_echo_n "checking for library containing pow... " >&6; }
6016if ${ac_cv_search_pow+:} false; then :
6017  $as_echo_n "(cached) " >&6
6018else
6019  ac_func_search_save_LIBS=$LIBS
6020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6021/* end confdefs.h.  */
6022
6023/* Override any GCC internal prototype to avoid an error.
6024   Use char because int might match the return type of a GCC
6025   builtin and then its argument prototype would still apply.  */
6026#ifdef __cplusplus
6027extern "C"
6028#endif
6029char pow ();
6030int
6031main ()
6032{
6033return pow ();
6034  ;
6035  return 0;
6036}
6037_ACEOF
6038for ac_lib in '' m; do
6039  if test -z "$ac_lib"; then
6040    ac_res="none required"
6041  else
6042    ac_res=-l$ac_lib
6043    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6044  fi
6045  if ac_fn_c_try_link "$LINENO"; then :
6046  ac_cv_search_pow=$ac_res
6047fi
6048rm -f core conftest.err conftest.$ac_objext \
6049    conftest$ac_exeext
6050  if ${ac_cv_search_pow+:} false; then :
6051  break
6052fi
6053done
6054if ${ac_cv_search_pow+:} false; then :
6055
6056else
6057  ac_cv_search_pow=no
6058fi
6059rm conftest.$ac_ext
6060LIBS=$ac_func_search_save_LIBS
6061fi
6062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pow" >&5
6063$as_echo "$ac_cv_search_pow" >&6; }
6064ac_res=$ac_cv_search_pow
6065if test "$ac_res" != no; then :
6066  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6067
6068fi
6069
6070
6071cat >confcache <<\_ACEOF
6072# This file is a shell script that caches the results of configure
6073# tests run on this system so they can be shared between configure
6074# scripts and configure runs, see configure's option --config-cache.
6075# It is not useful on other systems.  If it contains results you don't
6076# want to keep, you may remove or edit it.
6077#
6078# config.status only pays attention to the cache file if you give it
6079# the --recheck option to rerun configure.
6080#
6081# `ac_cv_env_foo' variables (set or unset) will be overridden when
6082# loading this file, other *unset* `ac_cv_foo' will be assigned the
6083# following values.
6084
6085_ACEOF
6086
6087# The following way of writing the cache mishandles newlines in values,
6088# but we know of no workaround that is simple, portable, and efficient.
6089# So, we kill variables containing newlines.
6090# Ultrix sh set writes to stderr and can't be redirected directly,
6091# and sets the high bit in the cache file unless we assign to the vars.
6092(
6093  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6094    eval ac_val=\$$ac_var
6095    case $ac_val in #(
6096    *${as_nl}*)
6097      case $ac_var in #(
6098      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6099$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6100      esac
6101      case $ac_var in #(
6102      _ | IFS | as_nl) ;; #(
6103      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6104      *) { eval $ac_var=; unset $ac_var;} ;;
6105      esac ;;
6106    esac
6107  done
6108
6109  (set) 2>&1 |
6110    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6111    *${as_nl}ac_space=\ *)
6112      # `set' does not quote correctly, so add quotes: double-quote
6113      # substitution turns \\\\ into \\, and sed turns \\ into \.
6114      sed -n \
6115	"s/'/'\\\\''/g;
6116	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6117      ;; #(
6118    *)
6119      # `set' quotes correctly as required by POSIX, so do not add quotes.
6120      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6121      ;;
6122    esac |
6123    sort
6124) |
6125  sed '
6126     /^ac_cv_env_/b end
6127     t clear
6128     :clear
6129     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6130     t end
6131     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6132     :end' >>confcache
6133if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6134  if test -w "$cache_file"; then
6135    if test "x$cache_file" != "x/dev/null"; then
6136      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6137$as_echo "$as_me: updating cache $cache_file" >&6;}
6138      if test ! -f "$cache_file" || test -h "$cache_file"; then
6139	cat confcache >"$cache_file"
6140      else
6141        case $cache_file in #(
6142        */* | ?:*)
6143	  mv -f confcache "$cache_file"$$ &&
6144	  mv -f "$cache_file"$$ "$cache_file" ;; #(
6145        *)
6146	  mv -f confcache "$cache_file" ;;
6147	esac
6148      fi
6149    fi
6150  else
6151    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6152$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6153  fi
6154fi
6155rm -f confcache
6156
6157test "x$prefix" = xNONE && prefix=$ac_default_prefix
6158# Let make expand exec_prefix.
6159test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6160
6161DEFS=-DHAVE_CONFIG_H
6162
6163ac_libobjs=
6164ac_ltlibobjs=
6165U=
6166for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6167  # 1. Remove the extension, and $U if already installed.
6168  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6169  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6170  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6171  #    will be set to the directory where LIBOBJS objects are built.
6172  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6173  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6174done
6175LIBOBJS=$ac_libobjs
6176
6177LTLIBOBJS=$ac_ltlibobjs
6178
6179
6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6181$as_echo_n "checking that generated files are newer than configure... " >&6; }
6182   if test -n "$am_sleep_pid"; then
6183     # Hide warnings about reused PIDs.
6184     wait $am_sleep_pid 2>/dev/null
6185   fi
6186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6187$as_echo "done" >&6; }
6188 if test -n "$EXEEXT"; then
6189  am__EXEEXT_TRUE=
6190  am__EXEEXT_FALSE='#'
6191else
6192  am__EXEEXT_TRUE='#'
6193  am__EXEEXT_FALSE=
6194fi
6195
6196if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6197  as_fn_error $? "conditional \"AMDEP\" was never defined.
6198Usually this means the macro was only invoked conditionally." "$LINENO" 5
6199fi
6200if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6201  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6202Usually this means the macro was only invoked conditionally." "$LINENO" 5
6203fi
6204if test -z "${HAVE_SETID_CMD_TRUE}" && test -z "${HAVE_SETID_CMD_FALSE}"; then
6205  as_fn_error $? "conditional \"HAVE_SETID_CMD\" was never defined.
6206Usually this means the macro was only invoked conditionally." "$LINENO" 5
6207fi
6208if test -z "${AUTO_GIT_COMMIT_TRUE}" && test -z "${AUTO_GIT_COMMIT_FALSE}"; then
6209  as_fn_error $? "conditional \"AUTO_GIT_COMMIT\" was never defined.
6210Usually this means the macro was only invoked conditionally." "$LINENO" 5
6211fi
6212if test -z "${HAVE_QUARTZ_TRUE}" && test -z "${HAVE_QUARTZ_FALSE}"; then
6213  as_fn_error $? "conditional \"HAVE_QUARTZ\" was never defined.
6214Usually this means the macro was only invoked conditionally." "$LINENO" 5
6215fi
6216if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
6217  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
6218Usually this means the macro was only invoked conditionally." "$LINENO" 5
6219fi
6220
6221: "${CONFIG_STATUS=./config.status}"
6222ac_write_fail=0
6223ac_clean_files_save=$ac_clean_files
6224ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6225{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6226$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6227as_write_fail=0
6228cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6229#! $SHELL
6230# Generated by $as_me.
6231# Run this file to recreate the current configuration.
6232# Compiler output produced by configure, useful for debugging
6233# configure, is in config.log if it exists.
6234
6235debug=false
6236ac_cs_recheck=false
6237ac_cs_silent=false
6238
6239SHELL=\${CONFIG_SHELL-$SHELL}
6240export SHELL
6241_ASEOF
6242cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6243## -------------------- ##
6244## M4sh Initialization. ##
6245## -------------------- ##
6246
6247# Be more Bourne compatible
6248DUALCASE=1; export DUALCASE # for MKS sh
6249if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6250  emulate sh
6251  NULLCMD=:
6252  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6253  # is contrary to our usage.  Disable this feature.
6254  alias -g '${1+"$@"}'='"$@"'
6255  setopt NO_GLOB_SUBST
6256else
6257  case `(set -o) 2>/dev/null` in #(
6258  *posix*) :
6259    set -o posix ;; #(
6260  *) :
6261     ;;
6262esac
6263fi
6264
6265
6266as_nl='
6267'
6268export as_nl
6269# Printing a long string crashes Solaris 7 /usr/bin/printf.
6270as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6271as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6272as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6273# Prefer a ksh shell builtin over an external printf program on Solaris,
6274# but without wasting forks for bash or zsh.
6275if test -z "$BASH_VERSION$ZSH_VERSION" \
6276    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6277  as_echo='print -r --'
6278  as_echo_n='print -rn --'
6279elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6280  as_echo='printf %s\n'
6281  as_echo_n='printf %s'
6282else
6283  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6284    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6285    as_echo_n='/usr/ucb/echo -n'
6286  else
6287    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6288    as_echo_n_body='eval
6289      arg=$1;
6290      case $arg in #(
6291      *"$as_nl"*)
6292	expr "X$arg" : "X\\(.*\\)$as_nl";
6293	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6294      esac;
6295      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6296    '
6297    export as_echo_n_body
6298    as_echo_n='sh -c $as_echo_n_body as_echo'
6299  fi
6300  export as_echo_body
6301  as_echo='sh -c $as_echo_body as_echo'
6302fi
6303
6304# The user is always right.
6305if test "${PATH_SEPARATOR+set}" != set; then
6306  PATH_SEPARATOR=:
6307  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6308    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6309      PATH_SEPARATOR=';'
6310  }
6311fi
6312
6313
6314# IFS
6315# We need space, tab and new line, in precisely that order.  Quoting is
6316# there to prevent editors from complaining about space-tab.
6317# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6318# splitting by setting IFS to empty value.)
6319IFS=" ""	$as_nl"
6320
6321# Find who we are.  Look in the path if we contain no directory separator.
6322as_myself=
6323case $0 in #((
6324  *[\\/]* ) as_myself=$0 ;;
6325  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326for as_dir in $PATH
6327do
6328  IFS=$as_save_IFS
6329  test -z "$as_dir" && as_dir=.
6330    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6331  done
6332IFS=$as_save_IFS
6333
6334     ;;
6335esac
6336# We did not find ourselves, most probably we were run as `sh COMMAND'
6337# in which case we are not to be found in the path.
6338if test "x$as_myself" = x; then
6339  as_myself=$0
6340fi
6341if test ! -f "$as_myself"; then
6342  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6343  exit 1
6344fi
6345
6346# Unset variables that we do not need and which cause bugs (e.g. in
6347# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6348# suppresses any "Segmentation fault" message there.  '((' could
6349# trigger a bug in pdksh 5.2.14.
6350for as_var in BASH_ENV ENV MAIL MAILPATH
6351do eval test x\${$as_var+set} = xset \
6352  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6353done
6354PS1='$ '
6355PS2='> '
6356PS4='+ '
6357
6358# NLS nuisances.
6359LC_ALL=C
6360export LC_ALL
6361LANGUAGE=C
6362export LANGUAGE
6363
6364# CDPATH.
6365(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6366
6367
6368# as_fn_error STATUS ERROR [LINENO LOG_FD]
6369# ----------------------------------------
6370# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6371# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6372# script with STATUS, using 1 if that was 0.
6373as_fn_error ()
6374{
6375  as_status=$1; test $as_status -eq 0 && as_status=1
6376  if test "$4"; then
6377    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6378    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6379  fi
6380  $as_echo "$as_me: error: $2" >&2
6381  as_fn_exit $as_status
6382} # as_fn_error
6383
6384
6385# as_fn_set_status STATUS
6386# -----------------------
6387# Set $? to STATUS, without forking.
6388as_fn_set_status ()
6389{
6390  return $1
6391} # as_fn_set_status
6392
6393# as_fn_exit STATUS
6394# -----------------
6395# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6396as_fn_exit ()
6397{
6398  set +e
6399  as_fn_set_status $1
6400  exit $1
6401} # as_fn_exit
6402
6403# as_fn_unset VAR
6404# ---------------
6405# Portably unset VAR.
6406as_fn_unset ()
6407{
6408  { eval $1=; unset $1;}
6409}
6410as_unset=as_fn_unset
6411# as_fn_append VAR VALUE
6412# ----------------------
6413# Append the text in VALUE to the end of the definition contained in VAR. Take
6414# advantage of any shell optimizations that allow amortized linear growth over
6415# repeated appends, instead of the typical quadratic growth present in naive
6416# implementations.
6417if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6418  eval 'as_fn_append ()
6419  {
6420    eval $1+=\$2
6421  }'
6422else
6423  as_fn_append ()
6424  {
6425    eval $1=\$$1\$2
6426  }
6427fi # as_fn_append
6428
6429# as_fn_arith ARG...
6430# ------------------
6431# Perform arithmetic evaluation on the ARGs, and store the result in the
6432# global $as_val. Take advantage of shells that can avoid forks. The arguments
6433# must be portable across $(()) and expr.
6434if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6435  eval 'as_fn_arith ()
6436  {
6437    as_val=$(( $* ))
6438  }'
6439else
6440  as_fn_arith ()
6441  {
6442    as_val=`expr "$@" || test $? -eq 1`
6443  }
6444fi # as_fn_arith
6445
6446
6447if expr a : '\(a\)' >/dev/null 2>&1 &&
6448   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6449  as_expr=expr
6450else
6451  as_expr=false
6452fi
6453
6454if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6455  as_basename=basename
6456else
6457  as_basename=false
6458fi
6459
6460if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6461  as_dirname=dirname
6462else
6463  as_dirname=false
6464fi
6465
6466as_me=`$as_basename -- "$0" ||
6467$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6468	 X"$0" : 'X\(//\)$' \| \
6469	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6470$as_echo X/"$0" |
6471    sed '/^.*\/\([^/][^/]*\)\/*$/{
6472	    s//\1/
6473	    q
6474	  }
6475	  /^X\/\(\/\/\)$/{
6476	    s//\1/
6477	    q
6478	  }
6479	  /^X\/\(\/\).*/{
6480	    s//\1/
6481	    q
6482	  }
6483	  s/.*/./; q'`
6484
6485# Avoid depending upon Character Ranges.
6486as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6487as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6488as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6489as_cr_digits='0123456789'
6490as_cr_alnum=$as_cr_Letters$as_cr_digits
6491
6492ECHO_C= ECHO_N= ECHO_T=
6493case `echo -n x` in #(((((
6494-n*)
6495  case `echo 'xy\c'` in
6496  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6497  xy)  ECHO_C='\c';;
6498  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6499       ECHO_T='	';;
6500  esac;;
6501*)
6502  ECHO_N='-n';;
6503esac
6504
6505rm -f conf$$ conf$$.exe conf$$.file
6506if test -d conf$$.dir; then
6507  rm -f conf$$.dir/conf$$.file
6508else
6509  rm -f conf$$.dir
6510  mkdir conf$$.dir 2>/dev/null
6511fi
6512if (echo >conf$$.file) 2>/dev/null; then
6513  if ln -s conf$$.file conf$$ 2>/dev/null; then
6514    as_ln_s='ln -s'
6515    # ... but there are two gotchas:
6516    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6517    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6518    # In both cases, we have to default to `cp -pR'.
6519    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6520      as_ln_s='cp -pR'
6521  elif ln conf$$.file conf$$ 2>/dev/null; then
6522    as_ln_s=ln
6523  else
6524    as_ln_s='cp -pR'
6525  fi
6526else
6527  as_ln_s='cp -pR'
6528fi
6529rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6530rmdir conf$$.dir 2>/dev/null
6531
6532
6533# as_fn_mkdir_p
6534# -------------
6535# Create "$as_dir" as a directory, including parents if necessary.
6536as_fn_mkdir_p ()
6537{
6538
6539  case $as_dir in #(
6540  -*) as_dir=./$as_dir;;
6541  esac
6542  test -d "$as_dir" || eval $as_mkdir_p || {
6543    as_dirs=
6544    while :; do
6545      case $as_dir in #(
6546      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6547      *) as_qdir=$as_dir;;
6548      esac
6549      as_dirs="'$as_qdir' $as_dirs"
6550      as_dir=`$as_dirname -- "$as_dir" ||
6551$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6552	 X"$as_dir" : 'X\(//\)[^/]' \| \
6553	 X"$as_dir" : 'X\(//\)$' \| \
6554	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6555$as_echo X"$as_dir" |
6556    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6557	    s//\1/
6558	    q
6559	  }
6560	  /^X\(\/\/\)[^/].*/{
6561	    s//\1/
6562	    q
6563	  }
6564	  /^X\(\/\/\)$/{
6565	    s//\1/
6566	    q
6567	  }
6568	  /^X\(\/\).*/{
6569	    s//\1/
6570	    q
6571	  }
6572	  s/.*/./; q'`
6573      test -d "$as_dir" && break
6574    done
6575    test -z "$as_dirs" || eval "mkdir $as_dirs"
6576  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6577
6578
6579} # as_fn_mkdir_p
6580if mkdir -p . 2>/dev/null; then
6581  as_mkdir_p='mkdir -p "$as_dir"'
6582else
6583  test -d ./-p && rmdir ./-p
6584  as_mkdir_p=false
6585fi
6586
6587
6588# as_fn_executable_p FILE
6589# -----------------------
6590# Test if FILE is an executable regular file.
6591as_fn_executable_p ()
6592{
6593  test -f "$1" && test -x "$1"
6594} # as_fn_executable_p
6595as_test_x='test -x'
6596as_executable_p=as_fn_executable_p
6597
6598# Sed expression to map a string onto a valid CPP name.
6599as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6600
6601# Sed expression to map a string onto a valid variable name.
6602as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6603
6604
6605exec 6>&1
6606## ----------------------------------- ##
6607## Main body of $CONFIG_STATUS script. ##
6608## ----------------------------------- ##
6609_ASEOF
6610test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6611
6612cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6613# Save the log message, to keep $0 and so on meaningful, and to
6614# report actual input values of CONFIG_FILES etc. instead of their
6615# values after options handling.
6616ac_log="
6617This file was extended by putty $as_me 0.76, which was
6618generated by GNU Autoconf 2.69.  Invocation command line was
6619
6620  CONFIG_FILES    = $CONFIG_FILES
6621  CONFIG_HEADERS  = $CONFIG_HEADERS
6622  CONFIG_LINKS    = $CONFIG_LINKS
6623  CONFIG_COMMANDS = $CONFIG_COMMANDS
6624  $ $0 $@
6625
6626on `(hostname || uname -n) 2>/dev/null | sed 1q`
6627"
6628
6629_ACEOF
6630
6631case $ac_config_files in *"
6632"*) set x $ac_config_files; shift; ac_config_files=$*;;
6633esac
6634
6635case $ac_config_headers in *"
6636"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6637esac
6638
6639
6640cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6641# Files that config.status was made for.
6642config_files="$ac_config_files"
6643config_headers="$ac_config_headers"
6644config_commands="$ac_config_commands"
6645
6646_ACEOF
6647
6648cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6649ac_cs_usage="\
6650\`$as_me' instantiates files and other configuration actions
6651from templates according to the current configuration.  Unless the files
6652and actions are specified as TAGs, all are instantiated by default.
6653
6654Usage: $0 [OPTION]... [TAG]...
6655
6656  -h, --help       print this help, then exit
6657  -V, --version    print version number and configuration settings, then exit
6658      --config     print configuration, then exit
6659  -q, --quiet, --silent
6660                   do not print progress messages
6661  -d, --debug      don't remove temporary files
6662      --recheck    update $as_me by reconfiguring in the same conditions
6663      --file=FILE[:TEMPLATE]
6664                   instantiate the configuration file FILE
6665      --header=FILE[:TEMPLATE]
6666                   instantiate the configuration header FILE
6667
6668Configuration files:
6669$config_files
6670
6671Configuration headers:
6672$config_headers
6673
6674Configuration commands:
6675$config_commands
6676
6677Report bugs to the package provider."
6678
6679_ACEOF
6680cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6681ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6682ac_cs_version="\\
6683putty config.status 0.76
6684configured by $0, generated by GNU Autoconf 2.69,
6685  with options \\"\$ac_cs_config\\"
6686
6687Copyright (C) 2012 Free Software Foundation, Inc.
6688This config.status script is free software; the Free Software Foundation
6689gives unlimited permission to copy, distribute and modify it."
6690
6691ac_pwd='$ac_pwd'
6692srcdir='$srcdir'
6693INSTALL='$INSTALL'
6694MKDIR_P='$MKDIR_P'
6695AWK='$AWK'
6696test -n "\$AWK" || AWK=awk
6697_ACEOF
6698
6699cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6700# The default lists apply if the user does not specify any file.
6701ac_need_defaults=:
6702while test $# != 0
6703do
6704  case $1 in
6705  --*=?*)
6706    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6707    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6708    ac_shift=:
6709    ;;
6710  --*=)
6711    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6712    ac_optarg=
6713    ac_shift=:
6714    ;;
6715  *)
6716    ac_option=$1
6717    ac_optarg=$2
6718    ac_shift=shift
6719    ;;
6720  esac
6721
6722  case $ac_option in
6723  # Handling of the options.
6724  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6725    ac_cs_recheck=: ;;
6726  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6727    $as_echo "$ac_cs_version"; exit ;;
6728  --config | --confi | --conf | --con | --co | --c )
6729    $as_echo "$ac_cs_config"; exit ;;
6730  --debug | --debu | --deb | --de | --d | -d )
6731    debug=: ;;
6732  --file | --fil | --fi | --f )
6733    $ac_shift
6734    case $ac_optarg in
6735    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6736    '') as_fn_error $? "missing file argument" ;;
6737    esac
6738    as_fn_append CONFIG_FILES " '$ac_optarg'"
6739    ac_need_defaults=false;;
6740  --header | --heade | --head | --hea )
6741    $ac_shift
6742    case $ac_optarg in
6743    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6744    esac
6745    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6746    ac_need_defaults=false;;
6747  --he | --h)
6748    # Conflict between --help and --header
6749    as_fn_error $? "ambiguous option: \`$1'
6750Try \`$0 --help' for more information.";;
6751  --help | --hel | -h )
6752    $as_echo "$ac_cs_usage"; exit ;;
6753  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6754  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6755    ac_cs_silent=: ;;
6756
6757  # This is an error.
6758  -*) as_fn_error $? "unrecognized option: \`$1'
6759Try \`$0 --help' for more information." ;;
6760
6761  *) as_fn_append ac_config_targets " $1"
6762     ac_need_defaults=false ;;
6763
6764  esac
6765  shift
6766done
6767
6768ac_configure_extra_args=
6769
6770if $ac_cs_silent; then
6771  exec 6>/dev/null
6772  ac_configure_extra_args="$ac_configure_extra_args --silent"
6773fi
6774
6775_ACEOF
6776cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6777if \$ac_cs_recheck; then
6778  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6779  shift
6780  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6781  CONFIG_SHELL='$SHELL'
6782  export CONFIG_SHELL
6783  exec "\$@"
6784fi
6785
6786_ACEOF
6787cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6788exec 5>>config.log
6789{
6790  echo
6791  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6792## Running $as_me. ##
6793_ASBOX
6794  $as_echo "$ac_log"
6795} >&5
6796
6797_ACEOF
6798cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6799#
6800# INIT-COMMANDS
6801#
6802AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
6803
6804_ACEOF
6805
6806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6807
6808# Handling of arguments.
6809for ac_config_target in $ac_config_targets
6810do
6811  case $ac_config_target in
6812    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6813    "uxconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS uxconfig.h:uxconfig.in" ;;
6814    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6815
6816  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6817  esac
6818done
6819
6820
6821# If the user did not use the arguments to specify the items to instantiate,
6822# then the envvar interface is used.  Set only those that are not.
6823# We use the long form for the default assignment because of an extremely
6824# bizarre bug on SunOS 4.1.3.
6825if $ac_need_defaults; then
6826  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6827  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6828  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6829fi
6830
6831# Have a temporary directory for convenience.  Make it in the build tree
6832# simply because there is no reason against having it here, and in addition,
6833# creating and moving files from /tmp can sometimes cause problems.
6834# Hook for its removal unless debugging.
6835# Note that there is a small window in which the directory will not be cleaned:
6836# after its creation but before its name has been assigned to `$tmp'.
6837$debug ||
6838{
6839  tmp= ac_tmp=
6840  trap 'exit_status=$?
6841  : "${ac_tmp:=$tmp}"
6842  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6843' 0
6844  trap 'as_fn_exit 1' 1 2 13 15
6845}
6846# Create a (secure) tmp directory for tmp files.
6847
6848{
6849  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6850  test -d "$tmp"
6851}  ||
6852{
6853  tmp=./conf$$-$RANDOM
6854  (umask 077 && mkdir "$tmp")
6855} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6856ac_tmp=$tmp
6857
6858# Set up the scripts for CONFIG_FILES section.
6859# No need to generate them if there are no CONFIG_FILES.
6860# This happens for instance with `./config.status config.h'.
6861if test -n "$CONFIG_FILES"; then
6862
6863
6864ac_cr=`echo X | tr X '\015'`
6865# On cygwin, bash can eat \r inside `` if the user requested igncr.
6866# But we know of no other shell where ac_cr would be empty at this
6867# point, so we can use a bashism as a fallback.
6868if test "x$ac_cr" = x; then
6869  eval ac_cr=\$\'\\r\'
6870fi
6871ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6872if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6873  ac_cs_awk_cr='\\r'
6874else
6875  ac_cs_awk_cr=$ac_cr
6876fi
6877
6878echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6879_ACEOF
6880
6881
6882{
6883  echo "cat >conf$$subs.awk <<_ACEOF" &&
6884  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6885  echo "_ACEOF"
6886} >conf$$subs.sh ||
6887  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6888ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6889ac_delim='%!_!# '
6890for ac_last_try in false false false false false :; do
6891  . ./conf$$subs.sh ||
6892    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6893
6894  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6895  if test $ac_delim_n = $ac_delim_num; then
6896    break
6897  elif $ac_last_try; then
6898    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6899  else
6900    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6901  fi
6902done
6903rm -f conf$$subs.sh
6904
6905cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6906cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6907_ACEOF
6908sed -n '
6909h
6910s/^/S["/; s/!.*/"]=/
6911p
6912g
6913s/^[^!]*!//
6914:repl
6915t repl
6916s/'"$ac_delim"'$//
6917t delim
6918:nl
6919h
6920s/\(.\{148\}\)..*/\1/
6921t more1
6922s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6923p
6924n
6925b repl
6926:more1
6927s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6928p
6929g
6930s/.\{148\}//
6931t nl
6932:delim
6933h
6934s/\(.\{148\}\)..*/\1/
6935t more2
6936s/["\\]/\\&/g; s/^/"/; s/$/"/
6937p
6938b
6939:more2
6940s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6941p
6942g
6943s/.\{148\}//
6944t delim
6945' <conf$$subs.awk | sed '
6946/^[^""]/{
6947  N
6948  s/\n//
6949}
6950' >>$CONFIG_STATUS || ac_write_fail=1
6951rm -f conf$$subs.awk
6952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6953_ACAWK
6954cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6955  for (key in S) S_is_set[key] = 1
6956  FS = ""
6957
6958}
6959{
6960  line = $ 0
6961  nfields = split(line, field, "@")
6962  substed = 0
6963  len = length(field[1])
6964  for (i = 2; i < nfields; i++) {
6965    key = field[i]
6966    keylen = length(key)
6967    if (S_is_set[key]) {
6968      value = S[key]
6969      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6970      len += length(value) + length(field[++i])
6971      substed = 1
6972    } else
6973      len += 1 + keylen
6974  }
6975
6976  print line
6977}
6978
6979_ACAWK
6980_ACEOF
6981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6982if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6983  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6984else
6985  cat
6986fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6987  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6988_ACEOF
6989
6990# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6991# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6992# trailing colons and then remove the whole line if VPATH becomes empty
6993# (actually we leave an empty line to preserve line numbers).
6994if test "x$srcdir" = x.; then
6995  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6996h
6997s///
6998s/^/:/
6999s/[	 ]*$/:/
7000s/:\$(srcdir):/:/g
7001s/:\${srcdir}:/:/g
7002s/:@srcdir@:/:/g
7003s/^:*//
7004s/:*$//
7005x
7006s/\(=[	 ]*\).*/\1/
7007G
7008s/\n//
7009s/^[^=]*=[	 ]*$//
7010}'
7011fi
7012
7013cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7014fi # test -n "$CONFIG_FILES"
7015
7016# Set up the scripts for CONFIG_HEADERS section.
7017# No need to generate them if there are no CONFIG_HEADERS.
7018# This happens for instance with `./config.status Makefile'.
7019if test -n "$CONFIG_HEADERS"; then
7020cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7021BEGIN {
7022_ACEOF
7023
7024# Transform confdefs.h into an awk script `defines.awk', embedded as
7025# here-document in config.status, that substitutes the proper values into
7026# config.h.in to produce config.h.
7027
7028# Create a delimiter string that does not exist in confdefs.h, to ease
7029# handling of long lines.
7030ac_delim='%!_!# '
7031for ac_last_try in false false :; do
7032  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7033  if test -z "$ac_tt"; then
7034    break
7035  elif $ac_last_try; then
7036    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7037  else
7038    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7039  fi
7040done
7041
7042# For the awk script, D is an array of macro values keyed by name,
7043# likewise P contains macro parameters if any.  Preserve backslash
7044# newline sequences.
7045
7046ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7047sed -n '
7048s/.\{148\}/&'"$ac_delim"'/g
7049t rset
7050:rset
7051s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
7052t def
7053d
7054:def
7055s/\\$//
7056t bsnl
7057s/["\\]/\\&/g
7058s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
7059D["\1"]=" \3"/p
7060s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
7061d
7062:bsnl
7063s/["\\]/\\&/g
7064s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
7065D["\1"]=" \3\\\\\\n"\\/p
7066t cont
7067s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7068t cont
7069d
7070:cont
7071n
7072s/.\{148\}/&'"$ac_delim"'/g
7073t clear
7074:clear
7075s/\\$//
7076t bsnlc
7077s/["\\]/\\&/g; s/^/"/; s/$/"/p
7078d
7079:bsnlc
7080s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7081b cont
7082' <confdefs.h | sed '
7083s/'"$ac_delim"'/"\\\
7084"/g' >>$CONFIG_STATUS || ac_write_fail=1
7085
7086cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7087  for (key in D) D_is_set[key] = 1
7088  FS = ""
7089}
7090/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7091  line = \$ 0
7092  split(line, arg, " ")
7093  if (arg[1] == "#") {
7094    defundef = arg[2]
7095    mac1 = arg[3]
7096  } else {
7097    defundef = substr(arg[1], 2)
7098    mac1 = arg[2]
7099  }
7100  split(mac1, mac2, "(") #)
7101  macro = mac2[1]
7102  prefix = substr(line, 1, index(line, defundef) - 1)
7103  if (D_is_set[macro]) {
7104    # Preserve the white space surrounding the "#".
7105    print prefix "define", macro P[macro] D[macro]
7106    next
7107  } else {
7108    # Replace #undef with comments.  This is necessary, for example,
7109    # in the case of _POSIX_SOURCE, which is predefined and required
7110    # on some systems where configure will not decide to define it.
7111    if (defundef == "undef") {
7112      print "/*", prefix defundef, macro, "*/"
7113      next
7114    }
7115  }
7116}
7117{ print }
7118_ACAWK
7119_ACEOF
7120cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7121  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7122fi # test -n "$CONFIG_HEADERS"
7123
7124
7125eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
7126shift
7127for ac_tag
7128do
7129  case $ac_tag in
7130  :[FHLC]) ac_mode=$ac_tag; continue;;
7131  esac
7132  case $ac_mode$ac_tag in
7133  :[FHL]*:*);;
7134  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7135  :[FH]-) ac_tag=-:-;;
7136  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7137  esac
7138  ac_save_IFS=$IFS
7139  IFS=:
7140  set x $ac_tag
7141  IFS=$ac_save_IFS
7142  shift
7143  ac_file=$1
7144  shift
7145
7146  case $ac_mode in
7147  :L) ac_source=$1;;
7148  :[FH])
7149    ac_file_inputs=
7150    for ac_f
7151    do
7152      case $ac_f in
7153      -) ac_f="$ac_tmp/stdin";;
7154      *) # Look for the file first in the build tree, then in the source tree
7155	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
7156	 # because $ac_f cannot contain `:'.
7157	 test -f "$ac_f" ||
7158	   case $ac_f in
7159	   [\\/$]*) false;;
7160	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7161	   esac ||
7162	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7163      esac
7164      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7165      as_fn_append ac_file_inputs " '$ac_f'"
7166    done
7167
7168    # Let's still pretend it is `configure' which instantiates (i.e., don't
7169    # use $as_me), people would be surprised to read:
7170    #    /* config.h.  Generated by config.status.  */
7171    configure_input='Generated from '`
7172	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7173	`' by configure.'
7174    if test x"$ac_file" != x-; then
7175      configure_input="$ac_file.  $configure_input"
7176      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7177$as_echo "$as_me: creating $ac_file" >&6;}
7178    fi
7179    # Neutralize special characters interpreted by sed in replacement strings.
7180    case $configure_input in #(
7181    *\&* | *\|* | *\\* )
7182       ac_sed_conf_input=`$as_echo "$configure_input" |
7183       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7184    *) ac_sed_conf_input=$configure_input;;
7185    esac
7186
7187    case $ac_tag in
7188    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7189      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7190    esac
7191    ;;
7192  esac
7193
7194  ac_dir=`$as_dirname -- "$ac_file" ||
7195$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7196	 X"$ac_file" : 'X\(//\)[^/]' \| \
7197	 X"$ac_file" : 'X\(//\)$' \| \
7198	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7199$as_echo X"$ac_file" |
7200    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7201	    s//\1/
7202	    q
7203	  }
7204	  /^X\(\/\/\)[^/].*/{
7205	    s//\1/
7206	    q
7207	  }
7208	  /^X\(\/\/\)$/{
7209	    s//\1/
7210	    q
7211	  }
7212	  /^X\(\/\).*/{
7213	    s//\1/
7214	    q
7215	  }
7216	  s/.*/./; q'`
7217  as_dir="$ac_dir"; as_fn_mkdir_p
7218  ac_builddir=.
7219
7220case "$ac_dir" in
7221.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7222*)
7223  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7224  # A ".." for each directory in $ac_dir_suffix.
7225  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7226  case $ac_top_builddir_sub in
7227  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7228  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7229  esac ;;
7230esac
7231ac_abs_top_builddir=$ac_pwd
7232ac_abs_builddir=$ac_pwd$ac_dir_suffix
7233# for backward compatibility:
7234ac_top_builddir=$ac_top_build_prefix
7235
7236case $srcdir in
7237  .)  # We are building in place.
7238    ac_srcdir=.
7239    ac_top_srcdir=$ac_top_builddir_sub
7240    ac_abs_top_srcdir=$ac_pwd ;;
7241  [\\/]* | ?:[\\/]* )  # Absolute name.
7242    ac_srcdir=$srcdir$ac_dir_suffix;
7243    ac_top_srcdir=$srcdir
7244    ac_abs_top_srcdir=$srcdir ;;
7245  *) # Relative name.
7246    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7247    ac_top_srcdir=$ac_top_build_prefix$srcdir
7248    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7249esac
7250ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7251
7252
7253  case $ac_mode in
7254  :F)
7255  #
7256  # CONFIG_FILE
7257  #
7258
7259  case $INSTALL in
7260  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7261  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7262  esac
7263  ac_MKDIR_P=$MKDIR_P
7264  case $MKDIR_P in
7265  [\\/$]* | ?:[\\/]* ) ;;
7266  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7267  esac
7268_ACEOF
7269
7270cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7271# If the template does not know about datarootdir, expand it.
7272# FIXME: This hack should be removed a few years after 2.60.
7273ac_datarootdir_hack=; ac_datarootdir_seen=
7274ac_sed_dataroot='
7275/datarootdir/ {
7276  p
7277  q
7278}
7279/@datadir@/p
7280/@docdir@/p
7281/@infodir@/p
7282/@localedir@/p
7283/@mandir@/p'
7284case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7285*datarootdir*) ac_datarootdir_seen=yes;;
7286*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7287  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7288$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7289_ACEOF
7290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7291  ac_datarootdir_hack='
7292  s&@datadir@&$datadir&g
7293  s&@docdir@&$docdir&g
7294  s&@infodir@&$infodir&g
7295  s&@localedir@&$localedir&g
7296  s&@mandir@&$mandir&g
7297  s&\\\${datarootdir}&$datarootdir&g' ;;
7298esac
7299_ACEOF
7300
7301# Neutralize VPATH when `$srcdir' = `.'.
7302# Shell code in configure.ac might set extrasub.
7303# FIXME: do we really want to maintain this feature?
7304cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7305ac_sed_extra="$ac_vpsub
7306$extrasub
7307_ACEOF
7308cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7309:t
7310/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7311s|@configure_input@|$ac_sed_conf_input|;t t
7312s&@top_builddir@&$ac_top_builddir_sub&;t t
7313s&@top_build_prefix@&$ac_top_build_prefix&;t t
7314s&@srcdir@&$ac_srcdir&;t t
7315s&@abs_srcdir@&$ac_abs_srcdir&;t t
7316s&@top_srcdir@&$ac_top_srcdir&;t t
7317s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7318s&@builddir@&$ac_builddir&;t t
7319s&@abs_builddir@&$ac_abs_builddir&;t t
7320s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7321s&@INSTALL@&$ac_INSTALL&;t t
7322s&@MKDIR_P@&$ac_MKDIR_P&;t t
7323$ac_datarootdir_hack
7324"
7325eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7326  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7327
7328test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7329  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7330  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
7331      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7332  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7333which seems to be undefined.  Please make sure it is defined" >&5
7334$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7335which seems to be undefined.  Please make sure it is defined" >&2;}
7336
7337  rm -f "$ac_tmp/stdin"
7338  case $ac_file in
7339  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7340  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7341  esac \
7342  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7343 ;;
7344  :H)
7345  #
7346  # CONFIG_HEADER
7347  #
7348  if test x"$ac_file" != x-; then
7349    {
7350      $as_echo "/* $configure_input  */" \
7351      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7352    } >"$ac_tmp/config.h" \
7353      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7354    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7355      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7356$as_echo "$as_me: $ac_file is unchanged" >&6;}
7357    else
7358      rm -f "$ac_file"
7359      mv "$ac_tmp/config.h" "$ac_file" \
7360	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
7361    fi
7362  else
7363    $as_echo "/* $configure_input  */" \
7364      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7365      || as_fn_error $? "could not create -" "$LINENO" 5
7366  fi
7367# Compute "$ac_file"'s index in $config_headers.
7368_am_arg="$ac_file"
7369_am_stamp_count=1
7370for _am_header in $config_headers :; do
7371  case $_am_header in
7372    $_am_arg | $_am_arg:* )
7373      break ;;
7374    * )
7375      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7376  esac
7377done
7378echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7379$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7380	 X"$_am_arg" : 'X\(//\)[^/]' \| \
7381	 X"$_am_arg" : 'X\(//\)$' \| \
7382	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7383$as_echo X"$_am_arg" |
7384    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7385	    s//\1/
7386	    q
7387	  }
7388	  /^X\(\/\/\)[^/].*/{
7389	    s//\1/
7390	    q
7391	  }
7392	  /^X\(\/\/\)$/{
7393	    s//\1/
7394	    q
7395	  }
7396	  /^X\(\/\).*/{
7397	    s//\1/
7398	    q
7399	  }
7400	  s/.*/./; q'`/stamp-h$_am_stamp_count
7401 ;;
7402
7403  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7404$as_echo "$as_me: executing $ac_file commands" >&6;}
7405 ;;
7406  esac
7407
7408
7409  case $ac_file$ac_mode in
7410    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7411  # Older Autoconf quotes --file arguments for eval, but not when files
7412  # are listed without --file.  Let's play safe and only enable the eval
7413  # if we detect the quoting.
7414  # TODO: see whether this extra hack can be removed once we start
7415  # requiring Autoconf 2.70 or later.
7416  case $CONFIG_FILES in #(
7417  *\'*) :
7418    eval set x "$CONFIG_FILES" ;; #(
7419  *) :
7420    set x $CONFIG_FILES ;; #(
7421  *) :
7422     ;;
7423esac
7424  shift
7425  # Used to flag and report bootstrapping failures.
7426  am_rc=0
7427  for am_mf
7428  do
7429    # Strip MF so we end up with the name of the file.
7430    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
7431    # Check whether this is an Automake generated Makefile which includes
7432    # dependency-tracking related rules and includes.
7433    # Grep'ing the whole file directly is not great: AIX grep has a line
7434    # limit of 2048, but all sed's we know have understand at least 4000.
7435    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
7436      || continue
7437    am_dirpart=`$as_dirname -- "$am_mf" ||
7438$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7439	 X"$am_mf" : 'X\(//\)[^/]' \| \
7440	 X"$am_mf" : 'X\(//\)$' \| \
7441	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7442$as_echo X"$am_mf" |
7443    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7444	    s//\1/
7445	    q
7446	  }
7447	  /^X\(\/\/\)[^/].*/{
7448	    s//\1/
7449	    q
7450	  }
7451	  /^X\(\/\/\)$/{
7452	    s//\1/
7453	    q
7454	  }
7455	  /^X\(\/\).*/{
7456	    s//\1/
7457	    q
7458	  }
7459	  s/.*/./; q'`
7460    am_filepart=`$as_basename -- "$am_mf" ||
7461$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7462	 X"$am_mf" : 'X\(//\)$' \| \
7463	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7464$as_echo X/"$am_mf" |
7465    sed '/^.*\/\([^/][^/]*\)\/*$/{
7466	    s//\1/
7467	    q
7468	  }
7469	  /^X\/\(\/\/\)$/{
7470	    s//\1/
7471	    q
7472	  }
7473	  /^X\/\(\/\).*/{
7474	    s//\1/
7475	    q
7476	  }
7477	  s/.*/./; q'`
7478    { echo "$as_me:$LINENO: cd "$am_dirpart" \
7479      && sed -e '/# am--include-marker/d' "$am_filepart" \
7480        | $MAKE -f - am--depfiles" >&5
7481   (cd "$am_dirpart" \
7482      && sed -e '/# am--include-marker/d' "$am_filepart" \
7483        | $MAKE -f - am--depfiles) >&5 2>&5
7484   ac_status=$?
7485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486   (exit $ac_status); } || am_rc=$?
7487  done
7488  if test $am_rc -ne 0; then
7489    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7490$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7491as_fn_error $? "Something went wrong bootstrapping makefile fragments
7492    for automatic dependency tracking.  Try re-running configure with the
7493    '--disable-dependency-tracking' option to at least be able to build
7494    the package (albeit without support for automatic dependency tracking).
7495See \`config.log' for more details" "$LINENO" 5; }
7496  fi
7497  { am_dirpart=; unset am_dirpart;}
7498  { am_filepart=; unset am_filepart;}
7499  { am_mf=; unset am_mf;}
7500  { am_rc=; unset am_rc;}
7501  rm -f conftest-deps.mk
7502}
7503 ;;
7504
7505  esac
7506done # for ac_tag
7507
7508
7509as_fn_exit 0
7510_ACEOF
7511ac_clean_files=$ac_clean_files_save
7512
7513test $ac_write_fail = 0 ||
7514  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7515
7516
7517# configure is writing to config.log, and then calls config.status.
7518# config.status does its own redirection, appending to config.log.
7519# Unfortunately, on DOS this fails, as config.log is still kept open
7520# by configure, so config.status won't be able to write to it; its
7521# output is simply discarded.  So we exec the FD to /dev/null,
7522# effectively closing config.log, so it can be properly (re)opened and
7523# appended to by config.status.  When coming back to configure, we
7524# need to make the FD available again.
7525if test "$no_create" != yes; then
7526  ac_cs_success=:
7527  ac_config_status_args=
7528  test "$silent" = yes &&
7529    ac_config_status_args="$ac_config_status_args --quiet"
7530  exec 5>/dev/null
7531  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7532  exec 5>>config.log
7533  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7534  # would make configure fail if this is the last instruction.
7535  $ac_cs_success || as_fn_exit 1
7536fi
7537if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7538  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7539$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7540fi
7541
7542
7543if test "$gtk_version_desired" = "no"; then cat <<EOF
7544
7545'configure' was instructed not to build using GTK. Therefore, PuTTY
7546itself and the other GUI utilities will not be built by the generated
7547Makefile: only the command-line tools such as puttygen, plink and
7548psftp will be built.
7549
7550EOF
7551elif test "$gtk" = "none"; then cat <<EOF
7552
7553'configure' was unable to find any version of the GTK libraries on
7554your system. Therefore, PuTTY itself and the other GUI utilities will
7555not be built by the generated Makefile: only the command-line tools
7556such as puttygen, plink and psftp will be built.
7557
7558EOF
7559fi
7560
7561
7562