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