1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for suite3270 4.0.
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"
199  if (eval "$as_required") 2>/dev/null; then :
200  as_have_required=yes
201else
202  as_have_required=no
203fi
204  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206else
207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208as_found=false
209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210do
211  IFS=$as_save_IFS
212  test -z "$as_dir" && as_dir=.
213  as_found=:
214  case $as_dir in #(
215	 /*)
216	   for as_base in sh bash ksh sh5; do
217	     # Try only shells that exist, to save several forks.
218	     as_shell=$as_dir/$as_base
219	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221  CONFIG_SHELL=$as_shell as_have_required=yes
222		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223  break 2
224fi
225fi
226	   done;;
227       esac
228  as_found=false
229done
230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232  CONFIG_SHELL=$SHELL as_have_required=yes
233fi; }
234IFS=$as_save_IFS
235
236
237      if test "x$CONFIG_SHELL" != x; then :
238  export CONFIG_SHELL
239             # We cannot yet assume a decent shell, so we have to provide a
240# neutralization value for shells without unset; and this also
241# works around shells that cannot unset nonexistent variables.
242# Preserve -v and -x to the replacement shell.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247  *v*x* | *x*v* ) as_opts=-vx ;;
248  *v* ) as_opts=-v ;;
249  *x* ) as_opts=-x ;;
250  * ) as_opts= ;;
251esac
252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253# Admittedly, this is quite paranoid, since all the known shells bail
254# out after a failed `exec'.
255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256exit 255
257fi
258
259    if test x$as_have_required = xno; then :
260  $as_echo "$0: This script requires a shell more modern than all"
261  $as_echo "$0: the shells that I found on your system."
262  if test x${ZSH_VERSION+set} = xset ; then
263    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265  else
266    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267$0: including any error possibly output before this
268$0: message. Then install a modern shell, or manually run
269$0: the script under such a shell if you do have one."
270  fi
271  exit 1
272fi
273fi
274fi
275SHELL=${CONFIG_SHELL-/bin/sh}
276export SHELL
277# Unset more variables known to interfere with behavior of common tools.
278CLICOLOR_FORCE= GREP_OPTIONS=
279unset CLICOLOR_FORCE GREP_OPTIONS
280
281## --------------------- ##
282## M4sh Shell Functions. ##
283## --------------------- ##
284# as_fn_unset VAR
285# ---------------
286# Portably unset VAR.
287as_fn_unset ()
288{
289  { eval $1=; unset $1;}
290}
291as_unset=as_fn_unset
292
293# as_fn_set_status STATUS
294# -----------------------
295# Set $? to STATUS, without forking.
296as_fn_set_status ()
297{
298  return $1
299} # as_fn_set_status
300
301# as_fn_exit STATUS
302# -----------------
303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304as_fn_exit ()
305{
306  set +e
307  as_fn_set_status $1
308  exit $1
309} # as_fn_exit
310
311# as_fn_mkdir_p
312# -------------
313# Create "$as_dir" as a directory, including parents if necessary.
314as_fn_mkdir_p ()
315{
316
317  case $as_dir in #(
318  -*) as_dir=./$as_dir;;
319  esac
320  test -d "$as_dir" || eval $as_mkdir_p || {
321    as_dirs=
322    while :; do
323      case $as_dir in #(
324      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325      *) as_qdir=$as_dir;;
326      esac
327      as_dirs="'$as_qdir' $as_dirs"
328      as_dir=`$as_dirname -- "$as_dir" ||
329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330	 X"$as_dir" : 'X\(//\)[^/]' \| \
331	 X"$as_dir" : 'X\(//\)$' \| \
332	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333$as_echo X"$as_dir" |
334    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335	    s//\1/
336	    q
337	  }
338	  /^X\(\/\/\)[^/].*/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)$/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\).*/{
347	    s//\1/
348	    q
349	  }
350	  s/.*/./; q'`
351      test -d "$as_dir" && break
352    done
353    test -z "$as_dirs" || eval "mkdir $as_dirs"
354  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357} # as_fn_mkdir_p
358
359# as_fn_executable_p FILE
360# -----------------------
361# Test if FILE is an executable regular file.
362as_fn_executable_p ()
363{
364  test -f "$1" && test -x "$1"
365} # as_fn_executable_p
366# as_fn_append VAR VALUE
367# ----------------------
368# Append the text in VALUE to the end of the definition contained in VAR. Take
369# advantage of any shell optimizations that allow amortized linear growth over
370# repeated appends, instead of the typical quadratic growth present in naive
371# implementations.
372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373  eval 'as_fn_append ()
374  {
375    eval $1+=\$2
376  }'
377else
378  as_fn_append ()
379  {
380    eval $1=\$$1\$2
381  }
382fi # as_fn_append
383
384# as_fn_arith ARG...
385# ------------------
386# Perform arithmetic evaluation on the ARGs, and store the result in the
387# global $as_val. Take advantage of shells that can avoid forks. The arguments
388# must be portable across $(()) and expr.
389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390  eval 'as_fn_arith ()
391  {
392    as_val=$(( $* ))
393  }'
394else
395  as_fn_arith ()
396  {
397    as_val=`expr "$@" || test $? -eq 1`
398  }
399fi # as_fn_arith
400
401
402# as_fn_error STATUS ERROR [LINENO LOG_FD]
403# ----------------------------------------
404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406# script with STATUS, using 1 if that was 0.
407as_fn_error ()
408{
409  as_status=$1; test $as_status -eq 0 && as_status=1
410  if test "$4"; then
411    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413  fi
414  $as_echo "$as_me: error: $2" >&2
415  as_fn_exit $as_status
416} # as_fn_error
417
418if expr a : '\(a\)' >/dev/null 2>&1 &&
419   test "X`expr 00001 : '.*\(...\)'`" = X001; then
420  as_expr=expr
421else
422  as_expr=false
423fi
424
425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426  as_basename=basename
427else
428  as_basename=false
429fi
430
431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432  as_dirname=dirname
433else
434  as_dirname=false
435fi
436
437as_me=`$as_basename -- "$0" ||
438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439	 X"$0" : 'X\(//\)$' \| \
440	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441$as_echo X/"$0" |
442    sed '/^.*\/\([^/][^/]*\)\/*$/{
443	    s//\1/
444	    q
445	  }
446	  /^X\/\(\/\/\)$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\).*/{
451	    s//\1/
452	    q
453	  }
454	  s/.*/./; q'`
455
456# Avoid depending upon Character Ranges.
457as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460as_cr_digits='0123456789'
461as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464  as_lineno_1=$LINENO as_lineno_1a=$LINENO
465  as_lineno_2=$LINENO as_lineno_2a=$LINENO
466  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
469  sed -n '
470    p
471    /[$]LINENO/=
472  ' <$as_myself |
473    sed '
474      s/[$]LINENO.*/&-/
475      t lineno
476      b
477      :lineno
478      N
479      :loop
480      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481      t loop
482      s/-\n.*//
483    ' >$as_me.lineno &&
484  chmod +x "$as_me.lineno" ||
485    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488  # already done that, so ensure we don't try to do so again and fall
489  # in an infinite loop.  This has already happened in practice.
490  _as_can_reexec=no; export _as_can_reexec
491  # Don't try to exec as it changes $[0], causing all sort of problems
492  # (the dirname of $[0] is not the place where we might find the
493  # original and so on.  Autoconf is especially sensitive to this).
494  . "./$as_me.lineno"
495  # Exit status is that of the last command.
496  exit
497}
498
499ECHO_C= ECHO_N= ECHO_T=
500case `echo -n x` in #(((((
501-n*)
502  case `echo 'xy\c'` in
503  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
504  xy)  ECHO_C='\c';;
505  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
506       ECHO_T='	';;
507  esac;;
508*)
509  ECHO_N='-n';;
510esac
511
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514  rm -f conf$$.dir/conf$$.file
515else
516  rm -f conf$$.dir
517  mkdir conf$$.dir 2>/dev/null
518fi
519if (echo >conf$$.file) 2>/dev/null; then
520  if ln -s conf$$.file conf$$ 2>/dev/null; then
521    as_ln_s='ln -s'
522    # ... but there are two gotchas:
523    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525    # In both cases, we have to default to `cp -pR'.
526    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527      as_ln_s='cp -pR'
528  elif ln conf$$.file conf$$ 2>/dev/null; then
529    as_ln_s=ln
530  else
531    as_ln_s='cp -pR'
532  fi
533else
534  as_ln_s='cp -pR'
535fi
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
538
539if mkdir -p . 2>/dev/null; then
540  as_mkdir_p='mkdir -p "$as_dir"'
541else
542  test -d ./-p && rmdir ./-p
543  as_mkdir_p=false
544fi
545
546as_test_x='test -x'
547as_executable_p=as_fn_executable_p
548
549# Sed expression to map a string onto a valid CPP name.
550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552# Sed expression to map a string onto a valid variable name.
553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556test -n "$DJDIR" || exec 7<&0 </dev/null
557exec 6>&1
558
559# Name of the host.
560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561# so uname gets run too.
562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564#
565# Initializations.
566#
567ac_default_prefix=/usr/local
568ac_clean_files=
569ac_config_libobj_dir=.
570LIBOBJS=
571cross_compiling=no
572subdirs=
573MFLAGS=
574MAKEFLAGS=
575
576# Identity of this package.
577PACKAGE_NAME='suite3270'
578PACKAGE_TARNAME='suite3270'
579PACKAGE_VERSION='4.0'
580PACKAGE_STRING='suite3270 4.0'
581PACKAGE_BUGREPORT=''
582PACKAGE_URL=''
583
584enable_option_checking=no
585ac_subst_vars='LTLIBOBJS
586LIBOBJS
587T_WINDOWS_CLOBBER
588T_WINDOWS_CLEAN
589T_UNIX_CLOBBER
590T_UNIX_CLEAN
591T_LIB_CLOBBER
592T_LIB_CLEAN
593T_LIB
594T_INSTALL_MAN
595T_INSTALL
596T_CLOBBER
597T_CLEAN
598T_ALL
599subdirs
600mingw32_found
601mingw64_found
602target_alias
603host_alias
604build_alias
605LIBS
606ECHO_T
607ECHO_N
608ECHO_C
609DEFS
610mandir
611localedir
612libdir
613psdir
614pdfdir
615dvidir
616htmldir
617infodir
618docdir
619oldincludedir
620includedir
621runstatedir
622localstatedir
623sharedstatedir
624sysconfdir
625datadir
626datarootdir
627libexecdir
628sbindir
629bindir
630program_transform_name
631prefix
632exec_prefix
633PACKAGE_URL
634PACKAGE_BUGREPORT
635PACKAGE_STRING
636PACKAGE_VERSION
637PACKAGE_TARNAME
638PACKAGE_NAME
639PATH_SEPARATOR
640SHELL'
641ac_subst_files=''
642ac_user_opts='
643enable_option_checking
644enable_unix
645enable_windows
646enable_x3270
647enable_c3270
648enable_s3270
649enable_b3270
650enable_tcl3270
651enable_pr3287
652enable_x3270if
653enable_unix_lib
654enable_wc3270
655enable_ws3270
656enable_wb3270
657enable_wpr3287
658enable_wx3270if
659enable_windows_lib
660'
661      ac_precious_vars='build_alias
662host_alias
663target_alias'
664ac_subdirs_all='lib
665lib/w32xx
666x3270
667c3270
668s3270
669b3270
670tcl3270
671pr3287
672x3270if'
673
674# Initialize some variables set by options.
675ac_init_help=
676ac_init_version=false
677ac_unrecognized_opts=
678ac_unrecognized_sep=
679# The variables have the same names as the options, with
680# dashes changed to underlines.
681cache_file=/dev/null
682exec_prefix=NONE
683no_create=
684no_recursion=
685prefix=NONE
686program_prefix=NONE
687program_suffix=NONE
688program_transform_name=s,x,x,
689silent=
690site=
691srcdir=
692verbose=
693x_includes=NONE
694x_libraries=NONE
695
696# Installation directory options.
697# These are left unexpanded so users can "make install exec_prefix=/foo"
698# and all the variables that are supposed to be based on exec_prefix
699# by default will actually change.
700# Use braces instead of parens because sh, perl, etc. also accept them.
701# (The list follows the same order as the GNU Coding Standards.)
702bindir='${exec_prefix}/bin'
703sbindir='${exec_prefix}/sbin'
704libexecdir='${exec_prefix}/libexec'
705datarootdir='${prefix}/share'
706datadir='${datarootdir}'
707sysconfdir='${prefix}/etc'
708sharedstatedir='${prefix}/com'
709localstatedir='${prefix}/var'
710runstatedir='${localstatedir}/run'
711includedir='${prefix}/include'
712oldincludedir='/usr/include'
713docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
714infodir='${datarootdir}/info'
715htmldir='${docdir}'
716dvidir='${docdir}'
717pdfdir='${docdir}'
718psdir='${docdir}'
719libdir='${exec_prefix}/lib'
720localedir='${datarootdir}/locale'
721mandir='${datarootdir}/man'
722
723ac_prev=
724ac_dashdash=
725for ac_option
726do
727  # If the previous option needs an argument, assign it.
728  if test -n "$ac_prev"; then
729    eval $ac_prev=\$ac_option
730    ac_prev=
731    continue
732  fi
733
734  case $ac_option in
735  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
736  *=)   ac_optarg= ;;
737  *)    ac_optarg=yes ;;
738  esac
739
740  # Accept the important Cygnus configure options, so we can diagnose typos.
741
742  case $ac_dashdash$ac_option in
743  --)
744    ac_dashdash=yes ;;
745
746  -bindir | --bindir | --bindi | --bind | --bin | --bi)
747    ac_prev=bindir ;;
748  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
749    bindir=$ac_optarg ;;
750
751  -build | --build | --buil | --bui | --bu)
752    ac_prev=build_alias ;;
753  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
754    build_alias=$ac_optarg ;;
755
756  -cache-file | --cache-file | --cache-fil | --cache-fi \
757  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
758    ac_prev=cache_file ;;
759  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
760  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
761    cache_file=$ac_optarg ;;
762
763  --config-cache | -C)
764    cache_file=config.cache ;;
765
766  -datadir | --datadir | --datadi | --datad)
767    ac_prev=datadir ;;
768  -datadir=* | --datadir=* | --datadi=* | --datad=*)
769    datadir=$ac_optarg ;;
770
771  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
772  | --dataroo | --dataro | --datar)
773    ac_prev=datarootdir ;;
774  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
775  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
776    datarootdir=$ac_optarg ;;
777
778  -disable-* | --disable-*)
779    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
780    # Reject names that are not valid shell variable names.
781    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
782      as_fn_error $? "invalid feature name: $ac_useropt"
783    ac_useropt_orig=$ac_useropt
784    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
785    case $ac_user_opts in
786      *"
787"enable_$ac_useropt"
788"*) ;;
789      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
790	 ac_unrecognized_sep=', ';;
791    esac
792    eval enable_$ac_useropt=no ;;
793
794  -docdir | --docdir | --docdi | --doc | --do)
795    ac_prev=docdir ;;
796  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
797    docdir=$ac_optarg ;;
798
799  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
800    ac_prev=dvidir ;;
801  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
802    dvidir=$ac_optarg ;;
803
804  -enable-* | --enable-*)
805    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806    # Reject names that are not valid shell variable names.
807    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808      as_fn_error $? "invalid feature name: $ac_useropt"
809    ac_useropt_orig=$ac_useropt
810    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811    case $ac_user_opts in
812      *"
813"enable_$ac_useropt"
814"*) ;;
815      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
816	 ac_unrecognized_sep=', ';;
817    esac
818    eval enable_$ac_useropt=\$ac_optarg ;;
819
820  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
821  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
822  | --exec | --exe | --ex)
823    ac_prev=exec_prefix ;;
824  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
825  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
826  | --exec=* | --exe=* | --ex=*)
827    exec_prefix=$ac_optarg ;;
828
829  -gas | --gas | --ga | --g)
830    # Obsolete; use --with-gas.
831    with_gas=yes ;;
832
833  -help | --help | --hel | --he | -h)
834    ac_init_help=long ;;
835  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
836    ac_init_help=recursive ;;
837  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
838    ac_init_help=short ;;
839
840  -host | --host | --hos | --ho)
841    ac_prev=host_alias ;;
842  -host=* | --host=* | --hos=* | --ho=*)
843    host_alias=$ac_optarg ;;
844
845  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
846    ac_prev=htmldir ;;
847  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
848  | --ht=*)
849    htmldir=$ac_optarg ;;
850
851  -includedir | --includedir | --includedi | --included | --include \
852  | --includ | --inclu | --incl | --inc)
853    ac_prev=includedir ;;
854  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
855  | --includ=* | --inclu=* | --incl=* | --inc=*)
856    includedir=$ac_optarg ;;
857
858  -infodir | --infodir | --infodi | --infod | --info | --inf)
859    ac_prev=infodir ;;
860  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
861    infodir=$ac_optarg ;;
862
863  -libdir | --libdir | --libdi | --libd)
864    ac_prev=libdir ;;
865  -libdir=* | --libdir=* | --libdi=* | --libd=*)
866    libdir=$ac_optarg ;;
867
868  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
869  | --libexe | --libex | --libe)
870    ac_prev=libexecdir ;;
871  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
872  | --libexe=* | --libex=* | --libe=*)
873    libexecdir=$ac_optarg ;;
874
875  -localedir | --localedir | --localedi | --localed | --locale)
876    ac_prev=localedir ;;
877  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
878    localedir=$ac_optarg ;;
879
880  -localstatedir | --localstatedir | --localstatedi | --localstated \
881  | --localstate | --localstat | --localsta | --localst | --locals)
882    ac_prev=localstatedir ;;
883  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
884  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
885    localstatedir=$ac_optarg ;;
886
887  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
888    ac_prev=mandir ;;
889  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
890    mandir=$ac_optarg ;;
891
892  -nfp | --nfp | --nf)
893    # Obsolete; use --without-fp.
894    with_fp=no ;;
895
896  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
897  | --no-cr | --no-c | -n)
898    no_create=yes ;;
899
900  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
901  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
902    no_recursion=yes ;;
903
904  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
905  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
906  | --oldin | --oldi | --old | --ol | --o)
907    ac_prev=oldincludedir ;;
908  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
909  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
910  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
911    oldincludedir=$ac_optarg ;;
912
913  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
914    ac_prev=prefix ;;
915  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
916    prefix=$ac_optarg ;;
917
918  -program-prefix | --program-prefix | --program-prefi | --program-pref \
919  | --program-pre | --program-pr | --program-p)
920    ac_prev=program_prefix ;;
921  -program-prefix=* | --program-prefix=* | --program-prefi=* \
922  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
923    program_prefix=$ac_optarg ;;
924
925  -program-suffix | --program-suffix | --program-suffi | --program-suff \
926  | --program-suf | --program-su | --program-s)
927    ac_prev=program_suffix ;;
928  -program-suffix=* | --program-suffix=* | --program-suffi=* \
929  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
930    program_suffix=$ac_optarg ;;
931
932  -program-transform-name | --program-transform-name \
933  | --program-transform-nam | --program-transform-na \
934  | --program-transform-n | --program-transform- \
935  | --program-transform | --program-transfor \
936  | --program-transfo | --program-transf \
937  | --program-trans | --program-tran \
938  | --progr-tra | --program-tr | --program-t)
939    ac_prev=program_transform_name ;;
940  -program-transform-name=* | --program-transform-name=* \
941  | --program-transform-nam=* | --program-transform-na=* \
942  | --program-transform-n=* | --program-transform-=* \
943  | --program-transform=* | --program-transfor=* \
944  | --program-transfo=* | --program-transf=* \
945  | --program-trans=* | --program-tran=* \
946  | --progr-tra=* | --program-tr=* | --program-t=*)
947    program_transform_name=$ac_optarg ;;
948
949  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
950    ac_prev=pdfdir ;;
951  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
952    pdfdir=$ac_optarg ;;
953
954  -psdir | --psdir | --psdi | --psd | --ps)
955    ac_prev=psdir ;;
956  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
957    psdir=$ac_optarg ;;
958
959  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
960  | -silent | --silent | --silen | --sile | --sil)
961    silent=yes ;;
962
963  -runstatedir | --runstatedir | --runstatedi | --runstated \
964  | --runstate | --runstat | --runsta | --runst | --runs \
965  | --run | --ru | --r)
966    ac_prev=runstatedir ;;
967  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
968  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
969  | --run=* | --ru=* | --r=*)
970    runstatedir=$ac_optarg ;;
971
972  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
973    ac_prev=sbindir ;;
974  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
975  | --sbi=* | --sb=*)
976    sbindir=$ac_optarg ;;
977
978  -sharedstatedir | --sharedstatedir | --sharedstatedi \
979  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
980  | --sharedst | --shareds | --shared | --share | --shar \
981  | --sha | --sh)
982    ac_prev=sharedstatedir ;;
983  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
984  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
985  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
986  | --sha=* | --sh=*)
987    sharedstatedir=$ac_optarg ;;
988
989  -site | --site | --sit)
990    ac_prev=site ;;
991  -site=* | --site=* | --sit=*)
992    site=$ac_optarg ;;
993
994  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
995    ac_prev=srcdir ;;
996  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
997    srcdir=$ac_optarg ;;
998
999  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1000  | --syscon | --sysco | --sysc | --sys | --sy)
1001    ac_prev=sysconfdir ;;
1002  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1003  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1004    sysconfdir=$ac_optarg ;;
1005
1006  -target | --target | --targe | --targ | --tar | --ta | --t)
1007    ac_prev=target_alias ;;
1008  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1009    target_alias=$ac_optarg ;;
1010
1011  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1012    verbose=yes ;;
1013
1014  -version | --version | --versio | --versi | --vers | -V)
1015    ac_init_version=: ;;
1016
1017  -with-* | --with-*)
1018    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1019    # Reject names that are not valid shell variable names.
1020    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021      as_fn_error $? "invalid package name: $ac_useropt"
1022    ac_useropt_orig=$ac_useropt
1023    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024    case $ac_user_opts in
1025      *"
1026"with_$ac_useropt"
1027"*) ;;
1028      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1029	 ac_unrecognized_sep=', ';;
1030    esac
1031    eval with_$ac_useropt=\$ac_optarg ;;
1032
1033  -without-* | --without-*)
1034    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1035    # Reject names that are not valid shell variable names.
1036    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037      as_fn_error $? "invalid package name: $ac_useropt"
1038    ac_useropt_orig=$ac_useropt
1039    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040    case $ac_user_opts in
1041      *"
1042"with_$ac_useropt"
1043"*) ;;
1044      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1045	 ac_unrecognized_sep=', ';;
1046    esac
1047    eval with_$ac_useropt=no ;;
1048
1049  --x)
1050    # Obsolete; use --with-x.
1051    with_x=yes ;;
1052
1053  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1054  | --x-incl | --x-inc | --x-in | --x-i)
1055    ac_prev=x_includes ;;
1056  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1057  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1058    x_includes=$ac_optarg ;;
1059
1060  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1061  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1062    ac_prev=x_libraries ;;
1063  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1064  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1065    x_libraries=$ac_optarg ;;
1066
1067  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1068Try \`$0 --help' for more information"
1069    ;;
1070
1071  *=*)
1072    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073    # Reject names that are not valid shell variable names.
1074    case $ac_envvar in #(
1075      '' | [0-9]* | *[!_$as_cr_alnum]* )
1076      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1077    esac
1078    eval $ac_envvar=\$ac_optarg
1079    export $ac_envvar ;;
1080
1081  *)
1082    # FIXME: should be removed in autoconf 3.0.
1083    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1084    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1085      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1086    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1087    ;;
1088
1089  esac
1090done
1091
1092if test -n "$ac_prev"; then
1093  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1094  as_fn_error $? "missing argument to $ac_option"
1095fi
1096
1097if test -n "$ac_unrecognized_opts"; then
1098  case $enable_option_checking in
1099    no) ;;
1100    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1101    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1102  esac
1103fi
1104
1105# Check all directory arguments for consistency.
1106for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1107		datadir sysconfdir sharedstatedir localstatedir includedir \
1108		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1109		libdir localedir mandir runstatedir
1110do
1111  eval ac_val=\$$ac_var
1112  # Remove trailing slashes.
1113  case $ac_val in
1114    */ )
1115      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1116      eval $ac_var=\$ac_val;;
1117  esac
1118  # Be sure to have absolute directory names.
1119  case $ac_val in
1120    [\\/$]* | ?:[\\/]* )  continue;;
1121    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1122  esac
1123  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1124done
1125
1126# There might be people who depend on the old broken behavior: `$host'
1127# used to hold the argument of --host etc.
1128# FIXME: To remove some day.
1129build=$build_alias
1130host=$host_alias
1131target=$target_alias
1132
1133# FIXME: To remove some day.
1134if test "x$host_alias" != x; then
1135  if test "x$build_alias" = x; then
1136    cross_compiling=maybe
1137  elif test "x$build_alias" != "x$host_alias"; then
1138    cross_compiling=yes
1139  fi
1140fi
1141
1142ac_tool_prefix=
1143test -n "$host_alias" && ac_tool_prefix=$host_alias-
1144
1145test "$silent" = yes && exec 6>/dev/null
1146
1147
1148ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149ac_ls_di=`ls -di .` &&
1150ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151  as_fn_error $? "working directory cannot be determined"
1152test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153  as_fn_error $? "pwd does not report name of working directory"
1154
1155
1156# Find the source files, if location was not specified.
1157if test -z "$srcdir"; then
1158  ac_srcdir_defaulted=yes
1159  # Try the directory containing this script, then the parent directory.
1160  ac_confdir=`$as_dirname -- "$as_myself" ||
1161$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162	 X"$as_myself" : 'X\(//\)[^/]' \| \
1163	 X"$as_myself" : 'X\(//\)$' \| \
1164	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165$as_echo X"$as_myself" |
1166    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167	    s//\1/
1168	    q
1169	  }
1170	  /^X\(\/\/\)[^/].*/{
1171	    s//\1/
1172	    q
1173	  }
1174	  /^X\(\/\/\)$/{
1175	    s//\1/
1176	    q
1177	  }
1178	  /^X\(\/\).*/{
1179	    s//\1/
1180	    q
1181	  }
1182	  s/.*/./; q'`
1183  srcdir=$ac_confdir
1184  if test ! -r "$srcdir/$ac_unique_file"; then
1185    srcdir=..
1186  fi
1187else
1188  ac_srcdir_defaulted=no
1189fi
1190if test ! -r "$srcdir/$ac_unique_file"; then
1191  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1192  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1193fi
1194ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1195ac_abs_confdir=`(
1196	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1197	pwd)`
1198# When building in place, set srcdir=.
1199if test "$ac_abs_confdir" = "$ac_pwd"; then
1200  srcdir=.
1201fi
1202# Remove unnecessary trailing slashes from srcdir.
1203# Double slashes in file names in object file debugging info
1204# mess up M-x gdb in Emacs.
1205case $srcdir in
1206*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207esac
1208for ac_var in $ac_precious_vars; do
1209  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210  eval ac_env_${ac_var}_value=\$${ac_var}
1211  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1213done
1214
1215#
1216# Report the --help message.
1217#
1218if test "$ac_init_help" = "long"; then
1219  # Omit some internal or obsolete options to make the list less imposing.
1220  # This message is too long to be a string in the A/UX 3.1 sh.
1221  cat <<_ACEOF
1222\`configure' configures suite3270 4.0 to adapt to many kinds of systems.
1223
1224Usage: $0 [OPTION]... [VAR=VALUE]...
1225
1226To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227VAR=VALUE.  See below for descriptions of some of the useful variables.
1228
1229Defaults for the options are specified in brackets.
1230
1231Configuration:
1232  -h, --help              display this help and exit
1233      --help=short        display options specific to this package
1234      --help=recursive    display the short help of all the included packages
1235  -V, --version           display version information and exit
1236  -q, --quiet, --silent   do not print \`checking ...' messages
1237      --cache-file=FILE   cache test results in FILE [disabled]
1238  -C, --config-cache      alias for \`--cache-file=config.cache'
1239  -n, --no-create         do not create output files
1240      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1241
1242Installation directories:
1243  --prefix=PREFIX         install architecture-independent files in PREFIX
1244                          [$ac_default_prefix]
1245  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1246                          [PREFIX]
1247
1248By default, \`make install' will install all the files in
1249\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1250an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251for instance \`--prefix=\$HOME'.
1252
1253For better control, use the options below.
1254
1255Fine tuning of the installation directories:
1256  --bindir=DIR            user executables [EPREFIX/bin]
1257  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1258  --libexecdir=DIR        program executables [EPREFIX/libexec]
1259  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1260  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1261  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1262  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1263  --libdir=DIR            object code libraries [EPREFIX/lib]
1264  --includedir=DIR        C header files [PREFIX/include]
1265  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1266  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1267  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1268  --infodir=DIR           info documentation [DATAROOTDIR/info]
1269  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1270  --mandir=DIR            man documentation [DATAROOTDIR/man]
1271  --docdir=DIR            documentation root [DATAROOTDIR/doc/suite3270]
1272  --htmldir=DIR           html documentation [DOCDIR]
1273  --dvidir=DIR            dvi documentation [DOCDIR]
1274  --pdfdir=DIR            pdf documentation [DOCDIR]
1275  --psdir=DIR             ps documentation [DOCDIR]
1276_ACEOF
1277
1278  cat <<\_ACEOF
1279_ACEOF
1280fi
1281
1282if test -n "$ac_init_help"; then
1283  case $ac_init_help in
1284     short | recursive ) echo "Configuration of suite3270 4.0:";;
1285   esac
1286  cat <<\_ACEOF
1287
1288Optional Features:
1289  --disable-option-checking  ignore unrecognized --enable/--with options
1290  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1291  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1292  --enable-unix           build all Unix emulators
1293  --enable-windows        build all Windows emulators
1294  --enable-x3270          build x3270
1295  --enable-c3270          build c3270
1296  --enable-s3270          build s3270
1297  --enable-b3270          build b3270
1298  --enable-tcl3270        build tcl3270
1299  --enable-pr3287         build pr3287
1300  --enable-x3270if        build x3270if
1301  --enable-lib            build Unix libraries
1302  --enable-wc3270         build wc3270
1303  --enable-ws3270         build Windows s3270
1304  --enable-wb3270         build Windows b3270
1305  --enable-wpr3287        build Windows pr3287
1306  --enable-wx3270if       build Windows x3270if
1307  --enable-windows-lib    build Windows libraries
1308
1309Report bugs to the package provider.
1310_ACEOF
1311ac_status=$?
1312fi
1313
1314if test "$ac_init_help" = "recursive"; then
1315  # If there are subdirs, report their specific --help.
1316  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1317    test -d "$ac_dir" ||
1318      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1319      continue
1320    ac_builddir=.
1321
1322case "$ac_dir" in
1323.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324*)
1325  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1326  # A ".." for each directory in $ac_dir_suffix.
1327  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1328  case $ac_top_builddir_sub in
1329  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331  esac ;;
1332esac
1333ac_abs_top_builddir=$ac_pwd
1334ac_abs_builddir=$ac_pwd$ac_dir_suffix
1335# for backward compatibility:
1336ac_top_builddir=$ac_top_build_prefix
1337
1338case $srcdir in
1339  .)  # We are building in place.
1340    ac_srcdir=.
1341    ac_top_srcdir=$ac_top_builddir_sub
1342    ac_abs_top_srcdir=$ac_pwd ;;
1343  [\\/]* | ?:[\\/]* )  # Absolute name.
1344    ac_srcdir=$srcdir$ac_dir_suffix;
1345    ac_top_srcdir=$srcdir
1346    ac_abs_top_srcdir=$srcdir ;;
1347  *) # Relative name.
1348    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349    ac_top_srcdir=$ac_top_build_prefix$srcdir
1350    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351esac
1352ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353
1354    cd "$ac_dir" || { ac_status=$?; continue; }
1355    # Check for guested configure.
1356    if test -f "$ac_srcdir/configure.gnu"; then
1357      echo &&
1358      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359    elif test -f "$ac_srcdir/configure"; then
1360      echo &&
1361      $SHELL "$ac_srcdir/configure" --help=recursive
1362    else
1363      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364    fi || ac_status=$?
1365    cd "$ac_pwd" || { ac_status=$?; break; }
1366  done
1367fi
1368
1369test -n "$ac_init_help" && exit $ac_status
1370if $ac_init_version; then
1371  cat <<\_ACEOF
1372suite3270 configure 4.0
1373generated by GNU Autoconf 2.69
1374
1375Copyright (C) 2012 Free Software Foundation, Inc.
1376This configure script is free software; the Free Software Foundation
1377gives unlimited permission to copy, distribute and modify it.
1378_ACEOF
1379  exit
1380fi
1381
1382## ------------------------ ##
1383## Autoconf initialization. ##
1384## ------------------------ ##
1385cat >config.log <<_ACEOF
1386This file contains any messages produced by compilers while
1387running configure, to aid debugging if configure makes a mistake.
1388
1389It was created by suite3270 $as_me 4.0, which was
1390generated by GNU Autoconf 2.69.  Invocation command line was
1391
1392  $ $0 $@
1393
1394_ACEOF
1395exec 5>>config.log
1396{
1397cat <<_ASUNAME
1398## --------- ##
1399## Platform. ##
1400## --------- ##
1401
1402hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1403uname -m = `(uname -m) 2>/dev/null || echo unknown`
1404uname -r = `(uname -r) 2>/dev/null || echo unknown`
1405uname -s = `(uname -s) 2>/dev/null || echo unknown`
1406uname -v = `(uname -v) 2>/dev/null || echo unknown`
1407
1408/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1409/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1410
1411/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1412/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1413/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1414/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1415/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1416/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1417/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1418
1419_ASUNAME
1420
1421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422for as_dir in $PATH
1423do
1424  IFS=$as_save_IFS
1425  test -z "$as_dir" && as_dir=.
1426    $as_echo "PATH: $as_dir"
1427  done
1428IFS=$as_save_IFS
1429
1430} >&5
1431
1432cat >&5 <<_ACEOF
1433
1434
1435## ----------- ##
1436## Core tests. ##
1437## ----------- ##
1438
1439_ACEOF
1440
1441
1442# Keep a trace of the command line.
1443# Strip out --no-create and --no-recursion so they do not pile up.
1444# Strip out --silent because we don't want to record it for future runs.
1445# Also quote any args containing shell meta-characters.
1446# Make two passes to allow for proper duplicate-argument suppression.
1447ac_configure_args=
1448ac_configure_args0=
1449ac_configure_args1=
1450ac_must_keep_next=false
1451for ac_pass in 1 2
1452do
1453  for ac_arg
1454  do
1455    case $ac_arg in
1456    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1457    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1458    | -silent | --silent | --silen | --sile | --sil)
1459      continue ;;
1460    *\'*)
1461      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1462    esac
1463    case $ac_pass in
1464    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1465    2)
1466      as_fn_append ac_configure_args1 " '$ac_arg'"
1467      if test $ac_must_keep_next = true; then
1468	ac_must_keep_next=false # Got value, back to normal.
1469      else
1470	case $ac_arg in
1471	  *=* | --config-cache | -C | -disable-* | --disable-* \
1472	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1473	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1474	  | -with-* | --with-* | -without-* | --without-* | --x)
1475	    case "$ac_configure_args0 " in
1476	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1477	    esac
1478	    ;;
1479	  -* ) ac_must_keep_next=true ;;
1480	esac
1481      fi
1482      as_fn_append ac_configure_args " '$ac_arg'"
1483      ;;
1484    esac
1485  done
1486done
1487{ ac_configure_args0=; unset ac_configure_args0;}
1488{ ac_configure_args1=; unset ac_configure_args1;}
1489
1490# When interrupted or exit'd, cleanup temporary files, and complete
1491# config.log.  We remove comments because anyway the quotes in there
1492# would cause problems or look ugly.
1493# WARNING: Use '\'' to represent an apostrophe within the trap.
1494# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1495trap 'exit_status=$?
1496  # Save into config.log some information that might help in debugging.
1497  {
1498    echo
1499
1500    $as_echo "## ---------------- ##
1501## Cache variables. ##
1502## ---------------- ##"
1503    echo
1504    # The following way of writing the cache mishandles newlines in values,
1505(
1506  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1507    eval ac_val=\$$ac_var
1508    case $ac_val in #(
1509    *${as_nl}*)
1510      case $ac_var in #(
1511      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1512$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1513      esac
1514      case $ac_var in #(
1515      _ | IFS | as_nl) ;; #(
1516      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1517      *) { eval $ac_var=; unset $ac_var;} ;;
1518      esac ;;
1519    esac
1520  done
1521  (set) 2>&1 |
1522    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1523    *${as_nl}ac_space=\ *)
1524      sed -n \
1525	"s/'\''/'\''\\\\'\'''\''/g;
1526	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1527      ;; #(
1528    *)
1529      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1530      ;;
1531    esac |
1532    sort
1533)
1534    echo
1535
1536    $as_echo "## ----------------- ##
1537## Output variables. ##
1538## ----------------- ##"
1539    echo
1540    for ac_var in $ac_subst_vars
1541    do
1542      eval ac_val=\$$ac_var
1543      case $ac_val in
1544      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545      esac
1546      $as_echo "$ac_var='\''$ac_val'\''"
1547    done | sort
1548    echo
1549
1550    if test -n "$ac_subst_files"; then
1551      $as_echo "## ------------------- ##
1552## File substitutions. ##
1553## ------------------- ##"
1554      echo
1555      for ac_var in $ac_subst_files
1556      do
1557	eval ac_val=\$$ac_var
1558	case $ac_val in
1559	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1560	esac
1561	$as_echo "$ac_var='\''$ac_val'\''"
1562      done | sort
1563      echo
1564    fi
1565
1566    if test -s confdefs.h; then
1567      $as_echo "## ----------- ##
1568## confdefs.h. ##
1569## ----------- ##"
1570      echo
1571      cat confdefs.h
1572      echo
1573    fi
1574    test "$ac_signal" != 0 &&
1575      $as_echo "$as_me: caught signal $ac_signal"
1576    $as_echo "$as_me: exit $exit_status"
1577  } >&5
1578  rm -f core *.core core.conftest.* &&
1579    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1580    exit $exit_status
1581' 0
1582for ac_signal in 1 2 13 15; do
1583  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1584done
1585ac_signal=0
1586
1587# confdefs.h avoids OS command line length limits that DEFS can exceed.
1588rm -f -r conftest* confdefs.h
1589
1590$as_echo "/* confdefs.h */" > confdefs.h
1591
1592# Predefined preprocessor variables.
1593
1594cat >>confdefs.h <<_ACEOF
1595#define PACKAGE_NAME "$PACKAGE_NAME"
1596_ACEOF
1597
1598cat >>confdefs.h <<_ACEOF
1599#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1600_ACEOF
1601
1602cat >>confdefs.h <<_ACEOF
1603#define PACKAGE_VERSION "$PACKAGE_VERSION"
1604_ACEOF
1605
1606cat >>confdefs.h <<_ACEOF
1607#define PACKAGE_STRING "$PACKAGE_STRING"
1608_ACEOF
1609
1610cat >>confdefs.h <<_ACEOF
1611#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1612_ACEOF
1613
1614cat >>confdefs.h <<_ACEOF
1615#define PACKAGE_URL "$PACKAGE_URL"
1616_ACEOF
1617
1618
1619# Let the site file select an alternate cache file if it wants to.
1620# Prefer an explicitly selected file to automatically selected ones.
1621ac_site_file1=NONE
1622ac_site_file2=NONE
1623if test -n "$CONFIG_SITE"; then
1624  # We do not want a PATH search for config.site.
1625  case $CONFIG_SITE in #((
1626    -*)  ac_site_file1=./$CONFIG_SITE;;
1627    */*) ac_site_file1=$CONFIG_SITE;;
1628    *)   ac_site_file1=./$CONFIG_SITE;;
1629  esac
1630elif test "x$prefix" != xNONE; then
1631  ac_site_file1=$prefix/share/config.site
1632  ac_site_file2=$prefix/etc/config.site
1633else
1634  ac_site_file1=$ac_default_prefix/share/config.site
1635  ac_site_file2=$ac_default_prefix/etc/config.site
1636fi
1637for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1638do
1639  test "x$ac_site_file" = xNONE && continue
1640  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1641    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1642$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1643    sed 's/^/| /' "$ac_site_file" >&5
1644    . "$ac_site_file" \
1645      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1647as_fn_error $? "failed to load site script $ac_site_file
1648See \`config.log' for more details" "$LINENO" 5; }
1649  fi
1650done
1651
1652if test -r "$cache_file"; then
1653  # Some versions of bash will fail to source /dev/null (special files
1654  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1655  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1656    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1657$as_echo "$as_me: loading cache $cache_file" >&6;}
1658    case $cache_file in
1659      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1660      *)                      . "./$cache_file";;
1661    esac
1662  fi
1663else
1664  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1665$as_echo "$as_me: creating cache $cache_file" >&6;}
1666  >$cache_file
1667fi
1668
1669# Check that the precious variables saved in the cache have kept the same
1670# value.
1671ac_cache_corrupted=false
1672for ac_var in $ac_precious_vars; do
1673  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1674  eval ac_new_set=\$ac_env_${ac_var}_set
1675  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1676  eval ac_new_val=\$ac_env_${ac_var}_value
1677  case $ac_old_set,$ac_new_set in
1678    set,)
1679      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1680$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1681      ac_cache_corrupted=: ;;
1682    ,set)
1683      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1684$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1685      ac_cache_corrupted=: ;;
1686    ,);;
1687    *)
1688      if test "x$ac_old_val" != "x$ac_new_val"; then
1689	# differences in whitespace do not lead to failure.
1690	ac_old_val_w=`echo x $ac_old_val`
1691	ac_new_val_w=`echo x $ac_new_val`
1692	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1693	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1694$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1695	  ac_cache_corrupted=:
1696	else
1697	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1698$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1699	  eval $ac_var=\$ac_old_val
1700	fi
1701	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1702$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1703	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1704$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1705      fi;;
1706  esac
1707  # Pass precious variables to config.status.
1708  if test "$ac_new_set" = set; then
1709    case $ac_new_val in
1710    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1711    *) ac_arg=$ac_var=$ac_new_val ;;
1712    esac
1713    case " $ac_configure_args " in
1714      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1715      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1716    esac
1717  fi
1718done
1719if $ac_cache_corrupted; then
1720  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1721$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1722  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1723$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1724  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1725fi
1726## -------------------- ##
1727## Main body of script. ##
1728## -------------------- ##
1729
1730ac_ext=c
1731ac_cpp='$CPP $CPPFLAGS'
1732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1734ac_compiler_gnu=$ac_cv_c_compiler_gnu
1735
1736
1737
1738
1739# Check whether --enable-unix was given.
1740if test "${enable_unix+set}" = set; then :
1741  enableval=$enable_unix;
1742fi
1743
1744# Check whether --enable-windows was given.
1745if test "${enable_windows+set}" = set; then :
1746  enableval=$enable_windows;
1747fi
1748
1749
1750# Check whether --enable-x3270 was given.
1751if test "${enable_x3270+set}" = set; then :
1752  enableval=$enable_x3270;
1753fi
1754
1755# Check whether --enable-c3270 was given.
1756if test "${enable_c3270+set}" = set; then :
1757  enableval=$enable_c3270;
1758fi
1759
1760# Check whether --enable-s3270 was given.
1761if test "${enable_s3270+set}" = set; then :
1762  enableval=$enable_s3270;
1763fi
1764
1765# Check whether --enable-b3270 was given.
1766if test "${enable_b3270+set}" = set; then :
1767  enableval=$enable_b3270;
1768fi
1769
1770# Check whether --enable-tcl3270 was given.
1771if test "${enable_tcl3270+set}" = set; then :
1772  enableval=$enable_tcl3270;
1773fi
1774
1775# Check whether --enable-pr3287 was given.
1776if test "${enable_pr3287+set}" = set; then :
1777  enableval=$enable_pr3287;
1778fi
1779
1780# Check whether --enable-x3270if was given.
1781if test "${enable_x3270if+set}" = set; then :
1782  enableval=$enable_x3270if;
1783fi
1784
1785# Check whether --enable-unix-lib was given.
1786if test "${enable_unix_lib+set}" = set; then :
1787  enableval=$enable_unix_lib;
1788fi
1789
1790
1791# Check whether --enable-wc3270 was given.
1792if test "${enable_wc3270+set}" = set; then :
1793  enableval=$enable_wc3270;
1794fi
1795
1796# Check whether --enable-ws3270 was given.
1797if test "${enable_ws3270+set}" = set; then :
1798  enableval=$enable_ws3270;
1799fi
1800
1801# Check whether --enable-wb3270 was given.
1802if test "${enable_wb3270+set}" = set; then :
1803  enableval=$enable_wb3270;
1804fi
1805
1806# Check whether --enable-wpr3287 was given.
1807if test "${enable_wpr3287+set}" = set; then :
1808  enableval=$enable_wpr3287;
1809fi
1810
1811# Check whether --enable-wx3270if was given.
1812if test "${enable_wx3270if+set}" = set; then :
1813  enableval=$enable_wx3270if;
1814fi
1815
1816# Check whether --enable-windows-lib was given.
1817if test "${enable_windows_lib+set}" = set; then :
1818  enableval=$enable_windows_lib;
1819fi
1820
1821
1822# Extract the first word of "x86_64-w64-mingw32-gcc", so it can be a program name with args.
1823set dummy x86_64-w64-mingw32-gcc; ac_word=$2
1824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1825$as_echo_n "checking for $ac_word... " >&6; }
1826if ${ac_cv_prog_mingw64_found+:} false; then :
1827  $as_echo_n "(cached) " >&6
1828else
1829  if test -n "$mingw64_found"; then
1830  ac_cv_prog_mingw64_found="$mingw64_found" # Let the user override the test.
1831else
1832as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1833for as_dir in $PATH
1834do
1835  IFS=$as_save_IFS
1836  test -z "$as_dir" && as_dir=.
1837    for ac_exec_ext in '' $ac_executable_extensions; do
1838  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1839    ac_cv_prog_mingw64_found="yes"
1840    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1841    break 2
1842  fi
1843done
1844  done
1845IFS=$as_save_IFS
1846
1847  test -z "$ac_cv_prog_mingw64_found" && ac_cv_prog_mingw64_found="no"
1848fi
1849fi
1850mingw64_found=$ac_cv_prog_mingw64_found
1851if test -n "$mingw64_found"; then
1852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mingw64_found" >&5
1853$as_echo "$mingw64_found" >&6; }
1854else
1855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1856$as_echo "no" >&6; }
1857fi
1858
1859
1860# Extract the first word of "i686-w64-mingw32-gcc", so it can be a program name with args.
1861set dummy i686-w64-mingw32-gcc; ac_word=$2
1862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1863$as_echo_n "checking for $ac_word... " >&6; }
1864if ${ac_cv_prog_mingw32_found+:} false; then :
1865  $as_echo_n "(cached) " >&6
1866else
1867  if test -n "$mingw32_found"; then
1868  ac_cv_prog_mingw32_found="$mingw32_found" # Let the user override the test.
1869else
1870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871for as_dir in $PATH
1872do
1873  IFS=$as_save_IFS
1874  test -z "$as_dir" && as_dir=.
1875    for ac_exec_ext in '' $ac_executable_extensions; do
1876  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1877    ac_cv_prog_mingw32_found="yes"
1878    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1879    break 2
1880  fi
1881done
1882  done
1883IFS=$as_save_IFS
1884
1885  test -z "$ac_cv_prog_mingw32_found" && ac_cv_prog_mingw32_found="no"
1886fi
1887fi
1888mingw32_found=$ac_cv_prog_mingw32_found
1889if test -n "$mingw32_found"; then
1890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mingw32_found" >&5
1891$as_echo "$mingw32_found" >&6; }
1892else
1893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1894$as_echo "no" >&6; }
1895fi
1896
1897
1898
1899if test "x$enable_unix" = xyes; then
1900    if test "x$enable_x3270" != xno; then enable_x3270=yes; fi
1901    if test "x$enable_c3270" != xno; then enable_c3270=yes; fi
1902    if test "x$enable_s3270" != xno; then enable_s3270=yes; fi
1903    if test "x$enable_b3270" != xno; then enable_b3270=yes; fi
1904    if test "x$enable_tcl3270" != xno; then enable_tcl3270=yes; fi
1905    if test "x$enable_pr3287" != xno; then enable_pr3287=yes; fi
1906    if test "x$enable_x3270if" != xno; then enable_x3270if=yes; fi
1907fi
1908if test "x$enable_unix" = xno; then
1909    enable_x3270=no
1910    enable_c3270=no
1911    enable_s3270=no
1912    enable_b3270=no
1913    enable_tcl3270=no
1914    enable_pr3287=no
1915    enable_x3270if=no
1916fi
1917
1918if test "$mingw64_found" = "no" -o "$mingw32_found" = "no"
1919then	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling Windows cross-compile" >&5
1920$as_echo "$as_me: WARNING: Disabling Windows cross-compile" >&2;}
1921	enable_windows=no
1922fi
1923
1924if test "x$enable_windows" = xyes; then
1925    if test "x$enable_wc3270" != xno; then enable_wc3270=yes; fi
1926    if test "x$enable_ws3270" != xno; then enable_ws3270=yes; fi
1927    if test "x$enable_wb3270" != xno; then enable_wb3270=yes; fi
1928    if test "x$enable_wpr3287" != xno; then enable_wpr3287=yes; fi
1929    if test "x$enable_wx3270if" != xno; then enable_wx3270if=yes; fi
1930fi
1931if test "x$enable_windows" = xno; then
1932    enable_wc3270=no
1933    enable_ws3270=no
1934    enable_wb3270=no
1935    enable_wpr3287=no
1936    enable_wx3270if=no
1937    enable_windows_lib=no
1938fi
1939
1940if test "x$enable_x3270" = x -a \
1941        "x$enable_c3270" = x -a \
1942        "x$enable_s3270" = x -a \
1943        "x$enable_b3270" = x -a \
1944        "x$enable_tcl3270" = x -a \
1945        "x$enable_pr3287" = x -a \
1946        "x$enable_x3270if" = x -a \
1947	"x$enable_unix_lib" = x -a \
1948        "x$enable_wc3270" = x -a \
1949        "x$enable_ws3270" = x -a \
1950        "x$enable_wb3270" = x -a \
1951        "x$enable_wpr3287" = x -a \
1952        "x$enable_wx3270if" = x -a \
1953	"x$enable_windows_lib" = x; then
1954    { $as_echo "$as_me:${as_lineno-$LINENO}: configuring all emulators... use --enable or --disable options to pick a subset" >&5
1955$as_echo "$as_me: configuring all emulators... use --enable or --disable options to pick a subset" >&6;}
1956    enable_x3270=yes
1957    enable_c3270=yes
1958    enable_s3270=yes
1959    enable_b3270=yes
1960    enable_tcl3270=yes
1961    enable_pr3287=yes
1962    enable_x3270if=yes
1963    enable_wc3270=yes
1964    enable_ws3270=yes
1965    enable_wb3270=yes
1966    enable_wpr3287=yes
1967    enable_wx3270if=yes
1968fi
1969
1970lparen="("
1971rparen=")"
1972if test "x$enable_x3270" != xyes -a \
1973	"x$enable_c3270" != xyes -a \
1974	"x$enable_s3270" != xyes -a \
1975	"x$enable_b3270" != xyes -a \
1976	"x$enable_tcl3270" != xyes -a \
1977	"x$enable_pr3287" != xyes -a \
1978	"x$enable_x3270if" != xyes -a \
1979	"x$enable_unix_lib" != xyes -a \
1980	"x$enable_wc3270" != xyes -a \
1981	"x$enable_ws3270" != xyes -a \
1982	"x$enable_wb3270" != xyes -a \
1983	"x$enable_wpr3287" != xyes -a \
1984	"x$enable_wx3270if" != xyes -a \
1985	"x$enable_windows_lib" != xyes -a \
1986	$lparen "x$enable_x3270" = xno -o \
1987	 "x$enable_c3270" = xno -o \
1988	 "x$enable_s3270" = xno -o \
1989	 "x$enable_b3270" = xno -o \
1990	 "x$enable_tcl3270" = xno -o \
1991	 "x$enable_pr3287" = xno -o \
1992	 "x$enable_x3270if" = xno -o \
1993	 "x$enable_unix_lib" = xno -o \
1994	 "x$enable_wc3270" = xno -o \
1995	 "x$enable_ws3270" = xno -o \
1996	 "x$enable_wb3270" = xno -o \
1997	 "x$enable_wpr3287" = xno -o \
1998	 "x$enable_wx3270if" = xno -o \
1999	 "x$enable_windows_lib" = xno $rparen; then
2000        if test "x$enable_x3270" != xno; then enable_x3270=yes; fi
2001    if test "x$enable_c3270" != xno; then enable_c3270=yes; fi
2002    if test "x$enable_s3270" != xno; then enable_s3270=yes; fi
2003    if test "x$enable_b3270" != xno; then enable_b3270=yes; fi
2004    if test "x$enable_tcl3270" != xno; then enable_tcl3270=yes; fi
2005    if test "x$enable_pr3287" != xno; then enable_pr3287=yes; fi
2006    if test "x$enable_x3270if" != xno; then enable_x3270if=yes; fi
2007    if test "x$enable_wc3270" != xno; then enable_wc3270=yes; fi
2008    if test "x$enable_ws3270" != xno; then enable_ws3270=yes; fi
2009    if test "x$enable_wb3270" != xno; then enable_wb3270=yes; fi
2010    if test "x$enable_wpr3287" != xno; then enable_wpr3287=yes; fi
2011    if test "x$enable_wx3270if" != xno; then enable_wx3270if=yes; fi
2012fi
2013
2014if test "x$enable_tcl3270" = xyes; then
2015    enable_s3270=yes
2016fi
2017if test "x$enable_x3270" = xyes -o \
2018        "x$enable_c3270" = xyes -o \
2019        "x$enable_s3270" = xyes -o \
2020        "x$enable_b3270" = xyes -o \
2021	"x$enable_tcl3270" = xyes; then
2022    enable_x3270if=yes
2023fi
2024if test "x$enable_wc3270" = xyes -o \
2025        "x$enable_ws3270" = xyes -o \
2026	"x$enable_wb3270" = xyes; then
2027    enable_wx3270if=yes
2028fi
2029if test "x$enable_x3270" = xyes -o \
2030        "x$enable_c3270" = xyes -o \
2031        "x$enable_s3270" = xyes -o \
2032        "x$enable_b3270" = xyes -o \
2033	"x$enable_pr3287" = xyes; then
2034    enable_unix_lib=yes
2035fi
2036if test "x$enable_wc3270" = xyes -o \
2037        "x$enable_ws3270" = xyes -o \
2038        "x$enable_wb3270" = xyes -o \
2039	"x$enable_wpr3287" = xyes; then
2040    enable_windows_lib=yes
2041fi
2042
2043if test "x$enable_unix_lib" = xyes; then
2044    ac_aux_dir=
2045for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2046  if test -f "$ac_dir/install-sh"; then
2047    ac_aux_dir=$ac_dir
2048    ac_install_sh="$ac_aux_dir/install-sh -c"
2049    break
2050  elif test -f "$ac_dir/install.sh"; then
2051    ac_aux_dir=$ac_dir
2052    ac_install_sh="$ac_aux_dir/install.sh -c"
2053    break
2054  elif test -f "$ac_dir/shtool"; then
2055    ac_aux_dir=$ac_dir
2056    ac_install_sh="$ac_aux_dir/shtool install -c"
2057    break
2058  fi
2059done
2060if test -z "$ac_aux_dir"; then
2061  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2062fi
2063
2064# These three variables are undocumented and unsupported,
2065# and are intended to be withdrawn in a future Autoconf release.
2066# They can cause serious problems if a builder's source tree is in a directory
2067# whose full name contains unusual characters.
2068ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2069ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2070ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2071
2072
2073
2074
2075subdirs="$subdirs lib"
2076
2077fi
2078
2079if test "x$enable_windows_lib" = xyes; then
2080    subdirs="$subdirs lib/w32xx"
2081
2082fi
2083
2084T_ALL=""
2085T_CLEAN=""
2086T_CLOBBER=""
2087T_INSTALL=""
2088T_INSTALL_MAN=""
2089T_LIB=""
2090T_LIB_CLEAN=""
2091T_LIB_CLOBBER=""
2092T_UNIX_CLEAN=""
2093T_UNIX_CLOBBER=""
2094T_WINDOWS_CLEAN=""
2095T_WINDOWS_CLOBBER=""
2096
2097for i in x3270 c3270 s3270 b3270 tcl3270 pr3287 x3270if wc3270 ws3270 wb3270 wc3270 wpr3287 wx3270if; do
2098    eval x=\$enable_$i
2099    if test "x$x" = xyes; then
2100	T_ALL="$T_ALL $i"
2101	T_CLEAN="$T_CLEAN $i-clean"
2102	T_CLOBBER="$T_CLOBBER $i-clobber"
2103	case "$i" in
2104	w*)	;;
2105	*)	T_INSTALL="$T_INSTALL $i-install"
2106		T_INSTALL_MAN="$T_INSTALL_MAN $i-install.man"
2107	esac
2108    fi
2109done
2110
2111if test "x$enable_unix_lib" = xyes; then
2112    T_CLEAN="$T_CLEAN unix-lib-clean"
2113    T_CLOBBER="$T_CLOBBER unix-lib-clobber"
2114    T_LIB="$T_LIB unix-lib"
2115    T_LIB_CLEAN="$T_LIB_CLEAN unix-lib-clean"
2116    T_LIB_CLOBBER="$T_LIB_CLOBBER unix-lib-clobber"
2117    T_UNIX_CLEAN="$T_UNIX_CLEAN unix-lib-clean"
2118    T_UNIX_CLOBBER="$T_UNIX_CLOBBER unix-lib-clobber"
2119fi
2120
2121if test "x$enable_windows_lib" = xyes; then
2122    T_CLEAN="$T_CLEAN windows-lib-clean"
2123    T_CLOBBER="$T_CLOBBER windows-lib-clobber"
2124    T_LIB="$T_LIB windows-lib"
2125    T_LIB_CLEAN="$T_LIB_CLEAN windows-lib-clean"
2126    T_LIB_CLOBBER="$T_LIB_CLOBBER windows-lib-clobber"
2127    T_WINDOWS_CLEAN="$T_WINDOWS_CLEAN windows-lib-clean"
2128    T_WINDOWS_CLOBBER="$T_WINDOWS_CLOBBER windows-lib-clobber"
2129fi
2130
2131if test "x$enable_x3270" = xyes; then
2132    subdirs="$subdirs x3270"
2133
2134    T_UNIX_CLEAN="$T_UNIX_CLEAN x3270-clean"
2135    T_UNIX_CLOBBER="$T_UNIX_CLOBBER x3270-clobber"
2136fi
2137if test "x$enable_c3270" = xyes; then
2138    subdirs="$subdirs c3270"
2139
2140    T_UNIX_CLEAN="$T_UNIX_CLEAN c3270-clean"
2141    T_UNIX_CLOBBER="$T_UNIX_CLOBBER c3270-clobber"
2142fi
2143if test "x$enable_s3270" = xyes; then
2144    subdirs="$subdirs s3270"
2145
2146    T_UNIX_CLEAN="$T_UNIX_CLEAN s3270-clean"
2147    T_UNIX_CLOBBER="$T_UNIX_CLOBBER s3270-clobber"
2148fi
2149if test "x$enable_b3270" = xyes; then
2150    subdirs="$subdirs b3270"
2151
2152    T_UNIX_CLEAN="$T_UNIX_CLEAN b3270-clean"
2153    T_UNIX_CLOBBER="$T_UNIX_CLOBBER b3270-clobber"
2154fi
2155if test "x$enable_tcl3270" = xyes; then
2156    subdirs="$subdirs tcl3270"
2157
2158    T_UNIX_CLEAN="$T_UNIX_CLEAN tcl3270-clean"
2159    T_UNIX_CLOBBER="$T_UNIX_CLOBBER tcl3270-clobber"
2160fi
2161if test "x$enable_pr3287" = xyes; then
2162    subdirs="$subdirs pr3287"
2163
2164    T_UNIX_CLEAN="$T_UNIX_CLEAN pr3287-clean"
2165    T_UNIX_CLOBBER="$T_UNIX_CLOBBER pr3287-clobber"
2166fi
2167if test "x$enable_x3270if" = xyes; then
2168    subdirs="$subdirs x3270if"
2169
2170    T_UNIX_CLEAN="$T_UNIX_CLEAN x3270if-clean"
2171    T_UNIX_CLOBBER="$T_UNIX_CLOBBER x3270if-clobber"
2172fi
2173
2174if test "x$enable_wc3270" = xyes; then
2175    T_WINDOWS_CLEAN="$T_WINDOWS_CLEAN wc3270-clean"
2176    T_WINDOWS_CLOBBER="$T_WINDOWS_CLOBBER wc3270-clobber"
2177fi
2178if test "x$enable_ws3270" = xyes; then
2179    T_WINDOWS_CLEAN="$T_WINDOWS_CLEAN ws3270-clean"
2180    T_WINDOWS_CLOBBER="$T_WINDOWS_CLOBBER ws3270-clobber"
2181fi
2182if test "x$enable_wb3270" = xyes; then
2183    T_WINDOWS_CLEAN="$T_WINDOWS_CLEAN wb3270-clean"
2184    T_WINDOWS_CLOBBER="$T_WINDOWS_CLOBBER wb3270-clobber"
2185fi
2186if test "x$enable_wpr3287" = xyes; then
2187    T_WINDOWS_CLEAN="$T_WINDOWS_CLEAN wpr3287-clean"
2188    T_WINDOWS_CLOBBER="$T_WINDOWS_CLOBBER wpr3287-clobber"
2189fi
2190if test "x$enable_wx3270if" = xyes; then
2191    T_WINDOWS_CLEAN="$T_WINDOWS_CLEAN wwx3270if-clean"
2192    T_WINDOWS_CLOBBER="$T_WINDOWS_CLOBBER wwx3270if-clobber"
2193fi
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208ac_config_files="$ac_config_files Makefile"
2209
2210cat >confcache <<\_ACEOF
2211# This file is a shell script that caches the results of configure
2212# tests run on this system so they can be shared between configure
2213# scripts and configure runs, see configure's option --config-cache.
2214# It is not useful on other systems.  If it contains results you don't
2215# want to keep, you may remove or edit it.
2216#
2217# config.status only pays attention to the cache file if you give it
2218# the --recheck option to rerun configure.
2219#
2220# `ac_cv_env_foo' variables (set or unset) will be overridden when
2221# loading this file, other *unset* `ac_cv_foo' will be assigned the
2222# following values.
2223
2224_ACEOF
2225
2226# The following way of writing the cache mishandles newlines in values,
2227# but we know of no workaround that is simple, portable, and efficient.
2228# So, we kill variables containing newlines.
2229# Ultrix sh set writes to stderr and can't be redirected directly,
2230# and sets the high bit in the cache file unless we assign to the vars.
2231(
2232  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2233    eval ac_val=\$$ac_var
2234    case $ac_val in #(
2235    *${as_nl}*)
2236      case $ac_var in #(
2237      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2238$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2239      esac
2240      case $ac_var in #(
2241      _ | IFS | as_nl) ;; #(
2242      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2243      *) { eval $ac_var=; unset $ac_var;} ;;
2244      esac ;;
2245    esac
2246  done
2247
2248  (set) 2>&1 |
2249    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2250    *${as_nl}ac_space=\ *)
2251      # `set' does not quote correctly, so add quotes: double-quote
2252      # substitution turns \\\\ into \\, and sed turns \\ into \.
2253      sed -n \
2254	"s/'/'\\\\''/g;
2255	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2256      ;; #(
2257    *)
2258      # `set' quotes correctly as required by POSIX, so do not add quotes.
2259      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2260      ;;
2261    esac |
2262    sort
2263) |
2264  sed '
2265     /^ac_cv_env_/b end
2266     t clear
2267     :clear
2268     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2269     t end
2270     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2271     :end' >>confcache
2272if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2273  if test -w "$cache_file"; then
2274    if test "x$cache_file" != "x/dev/null"; then
2275      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2276$as_echo "$as_me: updating cache $cache_file" >&6;}
2277      if test ! -f "$cache_file" || test -h "$cache_file"; then
2278	cat confcache >"$cache_file"
2279      else
2280        case $cache_file in #(
2281        */* | ?:*)
2282	  mv -f confcache "$cache_file"$$ &&
2283	  mv -f "$cache_file"$$ "$cache_file" ;; #(
2284        *)
2285	  mv -f confcache "$cache_file" ;;
2286	esac
2287      fi
2288    fi
2289  else
2290    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2291$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2292  fi
2293fi
2294rm -f confcache
2295
2296test "x$prefix" = xNONE && prefix=$ac_default_prefix
2297# Let make expand exec_prefix.
2298test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2299
2300# Transform confdefs.h into DEFS.
2301# Protect against shell expansion while executing Makefile rules.
2302# Protect against Makefile macro expansion.
2303#
2304# If the first sed substitution is executed (which looks for macros that
2305# take arguments), then branch to the quote section.  Otherwise,
2306# look for a macro that doesn't take arguments.
2307ac_script='
2308:mline
2309/\\$/{
2310 N
2311 s,\\\n,,
2312 b mline
2313}
2314t clear
2315:clear
2316s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2317t quote
2318s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2319t quote
2320b any
2321:quote
2322s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2323s/\[/\\&/g
2324s/\]/\\&/g
2325s/\$/$$/g
2326H
2327:any
2328${
2329	g
2330	s/^\n//
2331	s/\n/ /g
2332	p
2333}
2334'
2335DEFS=`sed -n "$ac_script" confdefs.h`
2336
2337
2338ac_libobjs=
2339ac_ltlibobjs=
2340U=
2341for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2342  # 1. Remove the extension, and $U if already installed.
2343  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2344  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2345  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2346  #    will be set to the directory where LIBOBJS objects are built.
2347  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2348  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2349done
2350LIBOBJS=$ac_libobjs
2351
2352LTLIBOBJS=$ac_ltlibobjs
2353
2354
2355
2356: "${CONFIG_STATUS=./config.status}"
2357ac_write_fail=0
2358ac_clean_files_save=$ac_clean_files
2359ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2360{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2361$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2362as_write_fail=0
2363cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2364#! $SHELL
2365# Generated by $as_me.
2366# Run this file to recreate the current configuration.
2367# Compiler output produced by configure, useful for debugging
2368# configure, is in config.log if it exists.
2369
2370debug=false
2371ac_cs_recheck=false
2372ac_cs_silent=false
2373
2374SHELL=\${CONFIG_SHELL-$SHELL}
2375export SHELL
2376_ASEOF
2377cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2378## -------------------- ##
2379## M4sh Initialization. ##
2380## -------------------- ##
2381
2382# Be more Bourne compatible
2383DUALCASE=1; export DUALCASE # for MKS sh
2384if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2385  emulate sh
2386  NULLCMD=:
2387  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2388  # is contrary to our usage.  Disable this feature.
2389  alias -g '${1+"$@"}'='"$@"'
2390  setopt NO_GLOB_SUBST
2391else
2392  case `(set -o) 2>/dev/null` in #(
2393  *posix*) :
2394    set -o posix ;; #(
2395  *) :
2396     ;;
2397esac
2398fi
2399
2400
2401as_nl='
2402'
2403export as_nl
2404# Printing a long string crashes Solaris 7 /usr/bin/printf.
2405as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2406as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2407as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2408# Prefer a ksh shell builtin over an external printf program on Solaris,
2409# but without wasting forks for bash or zsh.
2410if test -z "$BASH_VERSION$ZSH_VERSION" \
2411    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2412  as_echo='print -r --'
2413  as_echo_n='print -rn --'
2414elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2415  as_echo='printf %s\n'
2416  as_echo_n='printf %s'
2417else
2418  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2419    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2420    as_echo_n='/usr/ucb/echo -n'
2421  else
2422    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2423    as_echo_n_body='eval
2424      arg=$1;
2425      case $arg in #(
2426      *"$as_nl"*)
2427	expr "X$arg" : "X\\(.*\\)$as_nl";
2428	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2429      esac;
2430      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2431    '
2432    export as_echo_n_body
2433    as_echo_n='sh -c $as_echo_n_body as_echo'
2434  fi
2435  export as_echo_body
2436  as_echo='sh -c $as_echo_body as_echo'
2437fi
2438
2439# The user is always right.
2440if test "${PATH_SEPARATOR+set}" != set; then
2441  PATH_SEPARATOR=:
2442  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2443    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2444      PATH_SEPARATOR=';'
2445  }
2446fi
2447
2448
2449# IFS
2450# We need space, tab and new line, in precisely that order.  Quoting is
2451# there to prevent editors from complaining about space-tab.
2452# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2453# splitting by setting IFS to empty value.)
2454IFS=" ""	$as_nl"
2455
2456# Find who we are.  Look in the path if we contain no directory separator.
2457as_myself=
2458case $0 in #((
2459  *[\\/]* ) as_myself=$0 ;;
2460  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461for as_dir in $PATH
2462do
2463  IFS=$as_save_IFS
2464  test -z "$as_dir" && as_dir=.
2465    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2466  done
2467IFS=$as_save_IFS
2468
2469     ;;
2470esac
2471# We did not find ourselves, most probably we were run as `sh COMMAND'
2472# in which case we are not to be found in the path.
2473if test "x$as_myself" = x; then
2474  as_myself=$0
2475fi
2476if test ! -f "$as_myself"; then
2477  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2478  exit 1
2479fi
2480
2481# Unset variables that we do not need and which cause bugs (e.g. in
2482# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2483# suppresses any "Segmentation fault" message there.  '((' could
2484# trigger a bug in pdksh 5.2.14.
2485for as_var in BASH_ENV ENV MAIL MAILPATH
2486do eval test x\${$as_var+set} = xset \
2487  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2488done
2489PS1='$ '
2490PS2='> '
2491PS4='+ '
2492
2493# NLS nuisances.
2494LC_ALL=C
2495export LC_ALL
2496LANGUAGE=C
2497export LANGUAGE
2498
2499# CDPATH.
2500(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2501
2502
2503# as_fn_error STATUS ERROR [LINENO LOG_FD]
2504# ----------------------------------------
2505# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2506# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2507# script with STATUS, using 1 if that was 0.
2508as_fn_error ()
2509{
2510  as_status=$1; test $as_status -eq 0 && as_status=1
2511  if test "$4"; then
2512    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2514  fi
2515  $as_echo "$as_me: error: $2" >&2
2516  as_fn_exit $as_status
2517} # as_fn_error
2518
2519
2520# as_fn_set_status STATUS
2521# -----------------------
2522# Set $? to STATUS, without forking.
2523as_fn_set_status ()
2524{
2525  return $1
2526} # as_fn_set_status
2527
2528# as_fn_exit STATUS
2529# -----------------
2530# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2531as_fn_exit ()
2532{
2533  set +e
2534  as_fn_set_status $1
2535  exit $1
2536} # as_fn_exit
2537
2538# as_fn_unset VAR
2539# ---------------
2540# Portably unset VAR.
2541as_fn_unset ()
2542{
2543  { eval $1=; unset $1;}
2544}
2545as_unset=as_fn_unset
2546# as_fn_append VAR VALUE
2547# ----------------------
2548# Append the text in VALUE to the end of the definition contained in VAR. Take
2549# advantage of any shell optimizations that allow amortized linear growth over
2550# repeated appends, instead of the typical quadratic growth present in naive
2551# implementations.
2552if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2553  eval 'as_fn_append ()
2554  {
2555    eval $1+=\$2
2556  }'
2557else
2558  as_fn_append ()
2559  {
2560    eval $1=\$$1\$2
2561  }
2562fi # as_fn_append
2563
2564# as_fn_arith ARG...
2565# ------------------
2566# Perform arithmetic evaluation on the ARGs, and store the result in the
2567# global $as_val. Take advantage of shells that can avoid forks. The arguments
2568# must be portable across $(()) and expr.
2569if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2570  eval 'as_fn_arith ()
2571  {
2572    as_val=$(( $* ))
2573  }'
2574else
2575  as_fn_arith ()
2576  {
2577    as_val=`expr "$@" || test $? -eq 1`
2578  }
2579fi # as_fn_arith
2580
2581
2582if expr a : '\(a\)' >/dev/null 2>&1 &&
2583   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2584  as_expr=expr
2585else
2586  as_expr=false
2587fi
2588
2589if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2590  as_basename=basename
2591else
2592  as_basename=false
2593fi
2594
2595if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2596  as_dirname=dirname
2597else
2598  as_dirname=false
2599fi
2600
2601as_me=`$as_basename -- "$0" ||
2602$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2603	 X"$0" : 'X\(//\)$' \| \
2604	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2605$as_echo X/"$0" |
2606    sed '/^.*\/\([^/][^/]*\)\/*$/{
2607	    s//\1/
2608	    q
2609	  }
2610	  /^X\/\(\/\/\)$/{
2611	    s//\1/
2612	    q
2613	  }
2614	  /^X\/\(\/\).*/{
2615	    s//\1/
2616	    q
2617	  }
2618	  s/.*/./; q'`
2619
2620# Avoid depending upon Character Ranges.
2621as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2622as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2623as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2624as_cr_digits='0123456789'
2625as_cr_alnum=$as_cr_Letters$as_cr_digits
2626
2627ECHO_C= ECHO_N= ECHO_T=
2628case `echo -n x` in #(((((
2629-n*)
2630  case `echo 'xy\c'` in
2631  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2632  xy)  ECHO_C='\c';;
2633  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2634       ECHO_T='	';;
2635  esac;;
2636*)
2637  ECHO_N='-n';;
2638esac
2639
2640rm -f conf$$ conf$$.exe conf$$.file
2641if test -d conf$$.dir; then
2642  rm -f conf$$.dir/conf$$.file
2643else
2644  rm -f conf$$.dir
2645  mkdir conf$$.dir 2>/dev/null
2646fi
2647if (echo >conf$$.file) 2>/dev/null; then
2648  if ln -s conf$$.file conf$$ 2>/dev/null; then
2649    as_ln_s='ln -s'
2650    # ... but there are two gotchas:
2651    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2652    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2653    # In both cases, we have to default to `cp -pR'.
2654    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2655      as_ln_s='cp -pR'
2656  elif ln conf$$.file conf$$ 2>/dev/null; then
2657    as_ln_s=ln
2658  else
2659    as_ln_s='cp -pR'
2660  fi
2661else
2662  as_ln_s='cp -pR'
2663fi
2664rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2665rmdir conf$$.dir 2>/dev/null
2666
2667
2668# as_fn_mkdir_p
2669# -------------
2670# Create "$as_dir" as a directory, including parents if necessary.
2671as_fn_mkdir_p ()
2672{
2673
2674  case $as_dir in #(
2675  -*) as_dir=./$as_dir;;
2676  esac
2677  test -d "$as_dir" || eval $as_mkdir_p || {
2678    as_dirs=
2679    while :; do
2680      case $as_dir in #(
2681      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2682      *) as_qdir=$as_dir;;
2683      esac
2684      as_dirs="'$as_qdir' $as_dirs"
2685      as_dir=`$as_dirname -- "$as_dir" ||
2686$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2687	 X"$as_dir" : 'X\(//\)[^/]' \| \
2688	 X"$as_dir" : 'X\(//\)$' \| \
2689	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2690$as_echo X"$as_dir" |
2691    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2692	    s//\1/
2693	    q
2694	  }
2695	  /^X\(\/\/\)[^/].*/{
2696	    s//\1/
2697	    q
2698	  }
2699	  /^X\(\/\/\)$/{
2700	    s//\1/
2701	    q
2702	  }
2703	  /^X\(\/\).*/{
2704	    s//\1/
2705	    q
2706	  }
2707	  s/.*/./; q'`
2708      test -d "$as_dir" && break
2709    done
2710    test -z "$as_dirs" || eval "mkdir $as_dirs"
2711  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2712
2713
2714} # as_fn_mkdir_p
2715if mkdir -p . 2>/dev/null; then
2716  as_mkdir_p='mkdir -p "$as_dir"'
2717else
2718  test -d ./-p && rmdir ./-p
2719  as_mkdir_p=false
2720fi
2721
2722
2723# as_fn_executable_p FILE
2724# -----------------------
2725# Test if FILE is an executable regular file.
2726as_fn_executable_p ()
2727{
2728  test -f "$1" && test -x "$1"
2729} # as_fn_executable_p
2730as_test_x='test -x'
2731as_executable_p=as_fn_executable_p
2732
2733# Sed expression to map a string onto a valid CPP name.
2734as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2735
2736# Sed expression to map a string onto a valid variable name.
2737as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2738
2739
2740exec 6>&1
2741## ----------------------------------- ##
2742## Main body of $CONFIG_STATUS script. ##
2743## ----------------------------------- ##
2744_ASEOF
2745test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2746
2747cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2748# Save the log message, to keep $0 and so on meaningful, and to
2749# report actual input values of CONFIG_FILES etc. instead of their
2750# values after options handling.
2751ac_log="
2752This file was extended by suite3270 $as_me 4.0, which was
2753generated by GNU Autoconf 2.69.  Invocation command line was
2754
2755  CONFIG_FILES    = $CONFIG_FILES
2756  CONFIG_HEADERS  = $CONFIG_HEADERS
2757  CONFIG_LINKS    = $CONFIG_LINKS
2758  CONFIG_COMMANDS = $CONFIG_COMMANDS
2759  $ $0 $@
2760
2761on `(hostname || uname -n) 2>/dev/null | sed 1q`
2762"
2763
2764_ACEOF
2765
2766case $ac_config_files in *"
2767"*) set x $ac_config_files; shift; ac_config_files=$*;;
2768esac
2769
2770
2771
2772cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2773# Files that config.status was made for.
2774config_files="$ac_config_files"
2775
2776_ACEOF
2777
2778cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2779ac_cs_usage="\
2780\`$as_me' instantiates files and other configuration actions
2781from templates according to the current configuration.  Unless the files
2782and actions are specified as TAGs, all are instantiated by default.
2783
2784Usage: $0 [OPTION]... [TAG]...
2785
2786  -h, --help       print this help, then exit
2787  -V, --version    print version number and configuration settings, then exit
2788      --config     print configuration, then exit
2789  -q, --quiet, --silent
2790                   do not print progress messages
2791  -d, --debug      don't remove temporary files
2792      --recheck    update $as_me by reconfiguring in the same conditions
2793      --file=FILE[:TEMPLATE]
2794                   instantiate the configuration file FILE
2795
2796Configuration files:
2797$config_files
2798
2799Report bugs to the package provider."
2800
2801_ACEOF
2802cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2803ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2804ac_cs_version="\\
2805suite3270 config.status 4.0
2806configured by $0, generated by GNU Autoconf 2.69,
2807  with options \\"\$ac_cs_config\\"
2808
2809Copyright (C) 2012 Free Software Foundation, Inc.
2810This config.status script is free software; the Free Software Foundation
2811gives unlimited permission to copy, distribute and modify it."
2812
2813ac_pwd='$ac_pwd'
2814srcdir='$srcdir'
2815test -n "\$AWK" || AWK=awk
2816_ACEOF
2817
2818cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2819# The default lists apply if the user does not specify any file.
2820ac_need_defaults=:
2821while test $# != 0
2822do
2823  case $1 in
2824  --*=?*)
2825    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2826    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2827    ac_shift=:
2828    ;;
2829  --*=)
2830    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2831    ac_optarg=
2832    ac_shift=:
2833    ;;
2834  *)
2835    ac_option=$1
2836    ac_optarg=$2
2837    ac_shift=shift
2838    ;;
2839  esac
2840
2841  case $ac_option in
2842  # Handling of the options.
2843  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2844    ac_cs_recheck=: ;;
2845  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2846    $as_echo "$ac_cs_version"; exit ;;
2847  --config | --confi | --conf | --con | --co | --c )
2848    $as_echo "$ac_cs_config"; exit ;;
2849  --debug | --debu | --deb | --de | --d | -d )
2850    debug=: ;;
2851  --file | --fil | --fi | --f )
2852    $ac_shift
2853    case $ac_optarg in
2854    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2855    '') as_fn_error $? "missing file argument" ;;
2856    esac
2857    as_fn_append CONFIG_FILES " '$ac_optarg'"
2858    ac_need_defaults=false;;
2859  --he | --h |  --help | --hel | -h )
2860    $as_echo "$ac_cs_usage"; exit ;;
2861  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2862  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2863    ac_cs_silent=: ;;
2864
2865  # This is an error.
2866  -*) as_fn_error $? "unrecognized option: \`$1'
2867Try \`$0 --help' for more information." ;;
2868
2869  *) as_fn_append ac_config_targets " $1"
2870     ac_need_defaults=false ;;
2871
2872  esac
2873  shift
2874done
2875
2876ac_configure_extra_args=
2877
2878if $ac_cs_silent; then
2879  exec 6>/dev/null
2880  ac_configure_extra_args="$ac_configure_extra_args --silent"
2881fi
2882
2883_ACEOF
2884cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2885if \$ac_cs_recheck; then
2886  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2887  shift
2888  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2889  CONFIG_SHELL='$SHELL'
2890  export CONFIG_SHELL
2891  exec "\$@"
2892fi
2893
2894_ACEOF
2895cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2896exec 5>>config.log
2897{
2898  echo
2899  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2900## Running $as_me. ##
2901_ASBOX
2902  $as_echo "$ac_log"
2903} >&5
2904
2905_ACEOF
2906cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2907_ACEOF
2908
2909cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2910
2911# Handling of arguments.
2912for ac_config_target in $ac_config_targets
2913do
2914  case $ac_config_target in
2915    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2916
2917  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2918  esac
2919done
2920
2921
2922# If the user did not use the arguments to specify the items to instantiate,
2923# then the envvar interface is used.  Set only those that are not.
2924# We use the long form for the default assignment because of an extremely
2925# bizarre bug on SunOS 4.1.3.
2926if $ac_need_defaults; then
2927  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2928fi
2929
2930# Have a temporary directory for convenience.  Make it in the build tree
2931# simply because there is no reason against having it here, and in addition,
2932# creating and moving files from /tmp can sometimes cause problems.
2933# Hook for its removal unless debugging.
2934# Note that there is a small window in which the directory will not be cleaned:
2935# after its creation but before its name has been assigned to `$tmp'.
2936$debug ||
2937{
2938  tmp= ac_tmp=
2939  trap 'exit_status=$?
2940  : "${ac_tmp:=$tmp}"
2941  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2942' 0
2943  trap 'as_fn_exit 1' 1 2 13 15
2944}
2945# Create a (secure) tmp directory for tmp files.
2946
2947{
2948  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2949  test -d "$tmp"
2950}  ||
2951{
2952  tmp=./conf$$-$RANDOM
2953  (umask 077 && mkdir "$tmp")
2954} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2955ac_tmp=$tmp
2956
2957# Set up the scripts for CONFIG_FILES section.
2958# No need to generate them if there are no CONFIG_FILES.
2959# This happens for instance with `./config.status config.h'.
2960if test -n "$CONFIG_FILES"; then
2961
2962
2963ac_cr=`echo X | tr X '\015'`
2964# On cygwin, bash can eat \r inside `` if the user requested igncr.
2965# But we know of no other shell where ac_cr would be empty at this
2966# point, so we can use a bashism as a fallback.
2967if test "x$ac_cr" = x; then
2968  eval ac_cr=\$\'\\r\'
2969fi
2970ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2971if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2972  ac_cs_awk_cr='\\r'
2973else
2974  ac_cs_awk_cr=$ac_cr
2975fi
2976
2977echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2978_ACEOF
2979
2980
2981{
2982  echo "cat >conf$$subs.awk <<_ACEOF" &&
2983  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2984  echo "_ACEOF"
2985} >conf$$subs.sh ||
2986  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2987ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2988ac_delim='%!_!# '
2989for ac_last_try in false false false false false :; do
2990  . ./conf$$subs.sh ||
2991    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2992
2993  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2994  if test $ac_delim_n = $ac_delim_num; then
2995    break
2996  elif $ac_last_try; then
2997    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2998  else
2999    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3000  fi
3001done
3002rm -f conf$$subs.sh
3003
3004cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3005cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3006_ACEOF
3007sed -n '
3008h
3009s/^/S["/; s/!.*/"]=/
3010p
3011g
3012s/^[^!]*!//
3013:repl
3014t repl
3015s/'"$ac_delim"'$//
3016t delim
3017:nl
3018h
3019s/\(.\{148\}\)..*/\1/
3020t more1
3021s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3022p
3023n
3024b repl
3025:more1
3026s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3027p
3028g
3029s/.\{148\}//
3030t nl
3031:delim
3032h
3033s/\(.\{148\}\)..*/\1/
3034t more2
3035s/["\\]/\\&/g; s/^/"/; s/$/"/
3036p
3037b
3038:more2
3039s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3040p
3041g
3042s/.\{148\}//
3043t delim
3044' <conf$$subs.awk | sed '
3045/^[^""]/{
3046  N
3047  s/\n//
3048}
3049' >>$CONFIG_STATUS || ac_write_fail=1
3050rm -f conf$$subs.awk
3051cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3052_ACAWK
3053cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3054  for (key in S) S_is_set[key] = 1
3055  FS = ""
3056
3057}
3058{
3059  line = $ 0
3060  nfields = split(line, field, "@")
3061  substed = 0
3062  len = length(field[1])
3063  for (i = 2; i < nfields; i++) {
3064    key = field[i]
3065    keylen = length(key)
3066    if (S_is_set[key]) {
3067      value = S[key]
3068      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3069      len += length(value) + length(field[++i])
3070      substed = 1
3071    } else
3072      len += 1 + keylen
3073  }
3074
3075  print line
3076}
3077
3078_ACAWK
3079_ACEOF
3080cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3081if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3082  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3083else
3084  cat
3085fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3086  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3087_ACEOF
3088
3089# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3090# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3091# trailing colons and then remove the whole line if VPATH becomes empty
3092# (actually we leave an empty line to preserve line numbers).
3093if test "x$srcdir" = x.; then
3094  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3095h
3096s///
3097s/^/:/
3098s/[	 ]*$/:/
3099s/:\$(srcdir):/:/g
3100s/:\${srcdir}:/:/g
3101s/:@srcdir@:/:/g
3102s/^:*//
3103s/:*$//
3104x
3105s/\(=[	 ]*\).*/\1/
3106G
3107s/\n//
3108s/^[^=]*=[	 ]*$//
3109}'
3110fi
3111
3112cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3113fi # test -n "$CONFIG_FILES"
3114
3115
3116eval set X "  :F $CONFIG_FILES      "
3117shift
3118for ac_tag
3119do
3120  case $ac_tag in
3121  :[FHLC]) ac_mode=$ac_tag; continue;;
3122  esac
3123  case $ac_mode$ac_tag in
3124  :[FHL]*:*);;
3125  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3126  :[FH]-) ac_tag=-:-;;
3127  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3128  esac
3129  ac_save_IFS=$IFS
3130  IFS=:
3131  set x $ac_tag
3132  IFS=$ac_save_IFS
3133  shift
3134  ac_file=$1
3135  shift
3136
3137  case $ac_mode in
3138  :L) ac_source=$1;;
3139  :[FH])
3140    ac_file_inputs=
3141    for ac_f
3142    do
3143      case $ac_f in
3144      -) ac_f="$ac_tmp/stdin";;
3145      *) # Look for the file first in the build tree, then in the source tree
3146	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3147	 # because $ac_f cannot contain `:'.
3148	 test -f "$ac_f" ||
3149	   case $ac_f in
3150	   [\\/$]*) false;;
3151	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3152	   esac ||
3153	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3154      esac
3155      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3156      as_fn_append ac_file_inputs " '$ac_f'"
3157    done
3158
3159    # Let's still pretend it is `configure' which instantiates (i.e., don't
3160    # use $as_me), people would be surprised to read:
3161    #    /* config.h.  Generated by config.status.  */
3162    configure_input='Generated from '`
3163	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3164	`' by configure.'
3165    if test x"$ac_file" != x-; then
3166      configure_input="$ac_file.  $configure_input"
3167      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3168$as_echo "$as_me: creating $ac_file" >&6;}
3169    fi
3170    # Neutralize special characters interpreted by sed in replacement strings.
3171    case $configure_input in #(
3172    *\&* | *\|* | *\\* )
3173       ac_sed_conf_input=`$as_echo "$configure_input" |
3174       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3175    *) ac_sed_conf_input=$configure_input;;
3176    esac
3177
3178    case $ac_tag in
3179    *:-:* | *:-) cat >"$ac_tmp/stdin" \
3180      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3181    esac
3182    ;;
3183  esac
3184
3185  ac_dir=`$as_dirname -- "$ac_file" ||
3186$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3187	 X"$ac_file" : 'X\(//\)[^/]' \| \
3188	 X"$ac_file" : 'X\(//\)$' \| \
3189	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3190$as_echo X"$ac_file" |
3191    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3192	    s//\1/
3193	    q
3194	  }
3195	  /^X\(\/\/\)[^/].*/{
3196	    s//\1/
3197	    q
3198	  }
3199	  /^X\(\/\/\)$/{
3200	    s//\1/
3201	    q
3202	  }
3203	  /^X\(\/\).*/{
3204	    s//\1/
3205	    q
3206	  }
3207	  s/.*/./; q'`
3208  as_dir="$ac_dir"; as_fn_mkdir_p
3209  ac_builddir=.
3210
3211case "$ac_dir" in
3212.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3213*)
3214  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3215  # A ".." for each directory in $ac_dir_suffix.
3216  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3217  case $ac_top_builddir_sub in
3218  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3219  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3220  esac ;;
3221esac
3222ac_abs_top_builddir=$ac_pwd
3223ac_abs_builddir=$ac_pwd$ac_dir_suffix
3224# for backward compatibility:
3225ac_top_builddir=$ac_top_build_prefix
3226
3227case $srcdir in
3228  .)  # We are building in place.
3229    ac_srcdir=.
3230    ac_top_srcdir=$ac_top_builddir_sub
3231    ac_abs_top_srcdir=$ac_pwd ;;
3232  [\\/]* | ?:[\\/]* )  # Absolute name.
3233    ac_srcdir=$srcdir$ac_dir_suffix;
3234    ac_top_srcdir=$srcdir
3235    ac_abs_top_srcdir=$srcdir ;;
3236  *) # Relative name.
3237    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3238    ac_top_srcdir=$ac_top_build_prefix$srcdir
3239    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3240esac
3241ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3242
3243
3244  case $ac_mode in
3245  :F)
3246  #
3247  # CONFIG_FILE
3248  #
3249
3250_ACEOF
3251
3252cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3253# If the template does not know about datarootdir, expand it.
3254# FIXME: This hack should be removed a few years after 2.60.
3255ac_datarootdir_hack=; ac_datarootdir_seen=
3256ac_sed_dataroot='
3257/datarootdir/ {
3258  p
3259  q
3260}
3261/@datadir@/p
3262/@docdir@/p
3263/@infodir@/p
3264/@localedir@/p
3265/@mandir@/p'
3266case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3267*datarootdir*) ac_datarootdir_seen=yes;;
3268*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3269  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3270$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3271_ACEOF
3272cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3273  ac_datarootdir_hack='
3274  s&@datadir@&$datadir&g
3275  s&@docdir@&$docdir&g
3276  s&@infodir@&$infodir&g
3277  s&@localedir@&$localedir&g
3278  s&@mandir@&$mandir&g
3279  s&\\\${datarootdir}&$datarootdir&g' ;;
3280esac
3281_ACEOF
3282
3283# Neutralize VPATH when `$srcdir' = `.'.
3284# Shell code in configure.ac might set extrasub.
3285# FIXME: do we really want to maintain this feature?
3286cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3287ac_sed_extra="$ac_vpsub
3288$extrasub
3289_ACEOF
3290cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3291:t
3292/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3293s|@configure_input@|$ac_sed_conf_input|;t t
3294s&@top_builddir@&$ac_top_builddir_sub&;t t
3295s&@top_build_prefix@&$ac_top_build_prefix&;t t
3296s&@srcdir@&$ac_srcdir&;t t
3297s&@abs_srcdir@&$ac_abs_srcdir&;t t
3298s&@top_srcdir@&$ac_top_srcdir&;t t
3299s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3300s&@builddir@&$ac_builddir&;t t
3301s&@abs_builddir@&$ac_abs_builddir&;t t
3302s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3303$ac_datarootdir_hack
3304"
3305eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3306  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3307
3308test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3309  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3310  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3311      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3312  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3313which seems to be undefined.  Please make sure it is defined" >&5
3314$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3315which seems to be undefined.  Please make sure it is defined" >&2;}
3316
3317  rm -f "$ac_tmp/stdin"
3318  case $ac_file in
3319  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3320  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3321  esac \
3322  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3323 ;;
3324
3325
3326
3327  esac
3328
3329done # for ac_tag
3330
3331
3332as_fn_exit 0
3333_ACEOF
3334ac_clean_files=$ac_clean_files_save
3335
3336test $ac_write_fail = 0 ||
3337  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3338
3339
3340# configure is writing to config.log, and then calls config.status.
3341# config.status does its own redirection, appending to config.log.
3342# Unfortunately, on DOS this fails, as config.log is still kept open
3343# by configure, so config.status won't be able to write to it; its
3344# output is simply discarded.  So we exec the FD to /dev/null,
3345# effectively closing config.log, so it can be properly (re)opened and
3346# appended to by config.status.  When coming back to configure, we
3347# need to make the FD available again.
3348if test "$no_create" != yes; then
3349  ac_cs_success=:
3350  ac_config_status_args=
3351  test "$silent" = yes &&
3352    ac_config_status_args="$ac_config_status_args --quiet"
3353  exec 5>/dev/null
3354  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3355  exec 5>>config.log
3356  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3357  # would make configure fail if this is the last instruction.
3358  $ac_cs_success || as_fn_exit 1
3359fi
3360
3361#
3362# CONFIG_SUBDIRS section.
3363#
3364if test "$no_recursion" != yes; then
3365
3366  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3367  # so they do not pile up.
3368  ac_sub_configure_args=
3369  ac_prev=
3370  eval "set x $ac_configure_args"
3371  shift
3372  for ac_arg
3373  do
3374    if test -n "$ac_prev"; then
3375      ac_prev=
3376      continue
3377    fi
3378    case $ac_arg in
3379    -cache-file | --cache-file | --cache-fil | --cache-fi \
3380    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3381      ac_prev=cache_file ;;
3382    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3383    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3384    | --c=*)
3385      ;;
3386    --config-cache | -C)
3387      ;;
3388    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3389      ac_prev=srcdir ;;
3390    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3391      ;;
3392    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3393      ac_prev=prefix ;;
3394    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3395      ;;
3396    --disable-option-checking)
3397      ;;
3398    *)
3399      case $ac_arg in
3400      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3401      esac
3402      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
3403    esac
3404  done
3405
3406  # Always prepend --prefix to ensure using the same prefix
3407  # in subdir configurations.
3408  ac_arg="--prefix=$prefix"
3409  case $ac_arg in
3410  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3411  esac
3412  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3413
3414  # Pass --silent
3415  if test "$silent" = yes; then
3416    ac_sub_configure_args="--silent $ac_sub_configure_args"
3417  fi
3418
3419  # Always prepend --disable-option-checking to silence warnings, since
3420  # different subdirs can have different --enable and --with options.
3421  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3422
3423  ac_popdir=`pwd`
3424  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3425
3426    # Do not complain, so a configure script can configure whichever
3427    # parts of a large source tree are present.
3428    test -d "$srcdir/$ac_dir" || continue
3429
3430    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3431    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3432    $as_echo "$ac_msg" >&6
3433    as_dir="$ac_dir"; as_fn_mkdir_p
3434    ac_builddir=.
3435
3436case "$ac_dir" in
3437.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3438*)
3439  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3440  # A ".." for each directory in $ac_dir_suffix.
3441  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3442  case $ac_top_builddir_sub in
3443  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3444  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3445  esac ;;
3446esac
3447ac_abs_top_builddir=$ac_pwd
3448ac_abs_builddir=$ac_pwd$ac_dir_suffix
3449# for backward compatibility:
3450ac_top_builddir=$ac_top_build_prefix
3451
3452case $srcdir in
3453  .)  # We are building in place.
3454    ac_srcdir=.
3455    ac_top_srcdir=$ac_top_builddir_sub
3456    ac_abs_top_srcdir=$ac_pwd ;;
3457  [\\/]* | ?:[\\/]* )  # Absolute name.
3458    ac_srcdir=$srcdir$ac_dir_suffix;
3459    ac_top_srcdir=$srcdir
3460    ac_abs_top_srcdir=$srcdir ;;
3461  *) # Relative name.
3462    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3463    ac_top_srcdir=$ac_top_build_prefix$srcdir
3464    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3465esac
3466ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3467
3468
3469    cd "$ac_dir"
3470
3471    # Check for guested configure; otherwise get Cygnus style configure.
3472    if test -f "$ac_srcdir/configure.gnu"; then
3473      ac_sub_configure=$ac_srcdir/configure.gnu
3474    elif test -f "$ac_srcdir/configure"; then
3475      ac_sub_configure=$ac_srcdir/configure
3476    elif test -f "$ac_srcdir/configure.in"; then
3477      # This should be Cygnus configure.
3478      ac_sub_configure=$ac_aux_dir/configure
3479    else
3480      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3481$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3482      ac_sub_configure=
3483    fi
3484
3485    # The recursion is here.
3486    if test -n "$ac_sub_configure"; then
3487      # Make the cache file name correct relative to the subdirectory.
3488      case $cache_file in
3489      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3490      *) # Relative name.
3491	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3492      esac
3493
3494      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3495$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3496      # The eval makes quoting arguments work.
3497      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3498	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3499	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3500    fi
3501
3502    cd "$ac_popdir"
3503  done
3504fi
3505if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3506  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3507$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3508fi
3509
3510