~ubuntu-branches/ubuntu/feisty/freeradius/feisty-security

« back to all changes in this revision

Viewing changes to src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2006-12-16 20:45:11 UTC
  • mfrom: (3.1.10 feisty)
  • Revision ID: james.westby@ubuntu.com-20061216204511-3pbbsu4s8jtehsor
Tags: 1.1.3-3
Fix POSIX compliance problem in init script.  Closes: #403384. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
 
 
2
# From configure.in Revision: 1.2 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated automatically using autoconf version 2.13 
5
 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 
4
# Generated by GNU Autoconf 2.59.
6
5
#
 
6
# Copyright (C) 2003 Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
 
 
10
 
# Defaults:
11
 
ac_help=
 
9
## --------------------- ##
 
10
## M4sh Initialization.  ##
 
11
## --------------------- ##
 
12
 
 
13
# Be Bourne compatible
 
14
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
15
  emulate sh
 
16
  NULLCMD=:
 
17
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
18
  # is contrary to our usage.  Disable this feature.
 
19
  alias -g '${1+"$@"}'='"$@"'
 
20
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
21
  set -o posix
 
22
fi
 
23
DUALCASE=1; export DUALCASE # for MKS sh
 
24
 
 
25
# Support unset when possible.
 
26
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
27
  as_unset=unset
 
28
else
 
29
  as_unset=false
 
30
fi
 
31
 
 
32
 
 
33
# Work around bugs in pre-3.0 UWIN ksh.
 
34
$as_unset ENV MAIL MAILPATH
 
35
PS1='$ '
 
36
PS2='> '
 
37
PS4='+ '
 
38
 
 
39
# NLS nuisances.
 
40
for as_var in \
 
41
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
42
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
43
  LC_TELEPHONE LC_TIME
 
44
do
 
45
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
46
    eval $as_var=C; export $as_var
 
47
  else
 
48
    $as_unset $as_var
 
49
  fi
 
50
done
 
51
 
 
52
# Required to use basename.
 
53
if expr a : '\(a\)' >/dev/null 2>&1; then
 
54
  as_expr=expr
 
55
else
 
56
  as_expr=false
 
57
fi
 
58
 
 
59
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
60
  as_basename=basename
 
61
else
 
62
  as_basename=false
 
63
fi
 
64
 
 
65
 
 
66
# Name of the executable.
 
67
as_me=`$as_basename "$0" ||
 
68
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
69
         X"$0" : 'X\(//\)$' \| \
 
70
         X"$0" : 'X\(/\)$' \| \
 
71
         .     : '\(.\)' 2>/dev/null ||
 
72
echo X/"$0" |
 
73
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
74
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
75
          /^X\/\(\/\).*/{ s//\1/; q; }
 
76
          s/.*/./; q'`
 
77
 
 
78
 
 
79
# PATH needs CR, and LINENO needs CR and PATH.
 
80
# Avoid depending upon Character Ranges.
 
81
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
82
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
83
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
84
as_cr_digits='0123456789'
 
85
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
86
 
 
87
# The user is always right.
 
88
if test "${PATH_SEPARATOR+set}" != set; then
 
89
  echo "#! /bin/sh" >conf$$.sh
 
90
  echo  "exit 0"   >>conf$$.sh
 
91
  chmod +x conf$$.sh
 
92
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
93
    PATH_SEPARATOR=';'
 
94
  else
 
95
    PATH_SEPARATOR=:
 
96
  fi
 
97
  rm -f conf$$.sh
 
98
fi
 
99
 
 
100
 
 
101
  as_lineno_1=$LINENO
 
102
  as_lineno_2=$LINENO
 
103
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
104
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
105
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
106
  # Find who we are.  Look in the path if we contain no path at all
 
107
  # relative or not.
 
108
  case $0 in
 
109
    *[\\/]* ) as_myself=$0 ;;
 
110
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
111
for as_dir in $PATH
 
112
do
 
113
  IFS=$as_save_IFS
 
114
  test -z "$as_dir" && as_dir=.
 
115
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
116
done
 
117
 
 
118
       ;;
 
119
  esac
 
120
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
121
  # in which case we are not to be found in the path.
 
122
  if test "x$as_myself" = x; then
 
123
    as_myself=$0
 
124
  fi
 
125
  if test ! -f "$as_myself"; then
 
126
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
127
   { (exit 1); exit 1; }; }
 
128
  fi
 
129
  case $CONFIG_SHELL in
 
130
  '')
 
131
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
132
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
133
do
 
134
  IFS=$as_save_IFS
 
135
  test -z "$as_dir" && as_dir=.
 
136
  for as_base in sh bash ksh sh5; do
 
137
         case $as_dir in
 
138
         /*)
 
139
           if ("$as_dir/$as_base" -c '
 
140
  as_lineno_1=$LINENO
 
141
  as_lineno_2=$LINENO
 
142
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
143
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
144
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
145
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
146
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
147
             CONFIG_SHELL=$as_dir/$as_base
 
148
             export CONFIG_SHELL
 
149
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
150
           fi;;
 
151
         esac
 
152
       done
 
153
done
 
154
;;
 
155
  esac
 
156
 
 
157
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
158
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
159
  # line-number line before each line; the second 'sed' does the real
 
160
  # work.  The second script uses 'N' to pair each line-number line
 
161
  # with the numbered line, and appends trailing '-' during
 
162
  # substitution so that $LINENO is not a special case at line end.
 
163
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
164
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
165
  sed '=' <$as_myself |
 
166
    sed '
 
167
      N
 
168
      s,$,-,
 
169
      : loop
 
170
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
171
      t loop
 
172
      s,-$,,
 
173
      s,^['$as_cr_digits']*\n,,
 
174
    ' >$as_me.lineno &&
 
175
  chmod +x $as_me.lineno ||
 
176
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
177
   { (exit 1); exit 1; }; }
 
178
 
 
179
  # Don't try to exec as it changes $[0], causing all sort of problems
 
180
  # (the dirname of $[0] is not the place where we might find the
 
181
  # original and so on.  Autoconf is especially sensible to this).
 
182
  . ./$as_me.lineno
 
183
  # Exit status is that of the last command.
 
184
  exit
 
185
}
 
186
 
 
187
 
 
188
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
189
  *c*,-n*) ECHO_N= ECHO_C='
 
190
' ECHO_T='      ' ;;
 
191
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
192
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
193
esac
 
194
 
 
195
if expr a : '\(a\)' >/dev/null 2>&1; then
 
196
  as_expr=expr
 
197
else
 
198
  as_expr=false
 
199
fi
 
200
 
 
201
rm -f conf$$ conf$$.exe conf$$.file
 
202
echo >conf$$.file
 
203
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
204
  # We could just check for DJGPP; but this test a) works b) is more generic
 
205
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
206
  if test -f conf$$.exe; then
 
207
    # Don't use ln at all; we don't have any links
 
208
    as_ln_s='cp -p'
 
209
  else
 
210
    as_ln_s='ln -s'
 
211
  fi
 
212
elif ln conf$$.file conf$$ 2>/dev/null; then
 
213
  as_ln_s=ln
 
214
else
 
215
  as_ln_s='cp -p'
 
216
fi
 
217
rm -f conf$$ conf$$.exe conf$$.file
 
218
 
 
219
if mkdir -p . 2>/dev/null; then
 
220
  as_mkdir_p=:
 
221
else
 
222
  test -d ./-p && rmdir ./-p
 
223
  as_mkdir_p=false
 
224
fi
 
225
 
 
226
as_executable_p="test -f"
 
227
 
 
228
# Sed expression to map a string onto a valid CPP name.
 
229
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
230
 
 
231
# Sed expression to map a string onto a valid variable name.
 
232
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
233
 
 
234
 
 
235
# IFS
 
236
# We need space, tab and new line, in precisely that order.
 
237
as_nl='
 
238
'
 
239
IFS="   $as_nl"
 
240
 
 
241
# CDPATH.
 
242
$as_unset CDPATH
 
243
 
 
244
 
 
245
# Name of the host.
 
246
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
247
# so uname gets run too.
 
248
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
249
 
 
250
exec 6>&1
 
251
 
 
252
#
 
253
# Initializations.
 
254
#
12
255
ac_default_prefix=/usr/local
13
 
# Any additions from configure.in:
14
 
ac_help="$ac_help
15
 
  --with-iodbc-include-dir=DIR       Directory where the Iodbc includes may be found "
16
 
ac_help="$ac_help
17
 
  --with-iodbc-lib-dir=DIR       Directory where the Iodbc libraries may be found "
18
 
ac_help="$ac_help
19
 
  --with-iodbc-dir=DIR       Base directory where Iodbc is installed "
 
256
ac_config_libobj_dir=.
 
257
cross_compiling=no
 
258
subdirs=
 
259
MFLAGS=
 
260
MAKEFLAGS=
 
261
SHELL=${CONFIG_SHELL-/bin/sh}
 
262
 
 
263
# Maximum number of lines to put in a shell here document.
 
264
# This variable seems obsolete.  It should probably be removed, and
 
265
# only ac_max_sed_lines should be used.
 
266
: ${ac_max_here_lines=38}
 
267
 
 
268
# Identity of this package.
 
269
PACKAGE_NAME=
 
270
PACKAGE_TARNAME=
 
271
PACKAGE_VERSION=
 
272
PACKAGE_STRING=
 
273
PACKAGE_BUGREPORT=
 
274
 
 
275
ac_unique_file="sql_iodbc.c"
 
276
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP sql_iodbc_ldflags sql_iodbc_cflags targetname LIBOBJS LTLIBOBJS'
 
277
ac_subst_files=''
20
278
 
21
279
# Initialize some variables set by options.
 
280
ac_init_help=
 
281
ac_init_version=false
22
282
# The variables have the same names as the options, with
23
283
# dashes changed to underlines.
24
 
build=NONE
25
 
cache_file=./config.cache
 
284
cache_file=/dev/null
26
285
exec_prefix=NONE
27
 
host=NONE
28
286
no_create=
29
 
nonopt=NONE
30
287
no_recursion=
31
288
prefix=NONE
32
289
program_prefix=NONE
35
292
silent=
36
293
site=
37
294
srcdir=
38
 
target=NONE
39
295
verbose=
40
296
x_includes=NONE
41
297
x_libraries=NONE
 
298
 
 
299
# Installation directory options.
 
300
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
301
# and all the variables that are supposed to be based on exec_prefix
 
302
# by default will actually change.
 
303
# Use braces instead of parens because sh, perl, etc. also accept them.
42
304
bindir='${exec_prefix}/bin'
43
305
sbindir='${exec_prefix}/sbin'
44
306
libexecdir='${exec_prefix}/libexec'
52
314
infodir='${prefix}/info'
53
315
mandir='${prefix}/man'
54
316
 
55
 
# Initialize some other variables.
56
 
subdirs=
57
 
MFLAGS= MAKEFLAGS=
58
 
SHELL=${CONFIG_SHELL-/bin/sh}
59
 
# Maximum number of lines to put in a shell here document.
60
 
ac_max_here_lines=12
61
 
 
62
317
ac_prev=
63
318
for ac_option
64
319
do
65
 
 
66
320
  # If the previous option needs an argument, assign it.
67
321
  if test -n "$ac_prev"; then
68
322
    eval "$ac_prev=\$ac_option"
70
324
    continue
71
325
  fi
72
326
 
73
 
  case "$ac_option" in
74
 
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
75
 
  *) ac_optarg= ;;
76
 
  esac
 
327
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
77
328
 
78
329
  # Accept the important Cygnus configure options, so we can diagnose typos.
79
330
 
80
 
  case "$ac_option" in
 
331
  case $ac_option in
81
332
 
82
333
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
83
334
    ac_prev=bindir ;;
84
335
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
85
 
    bindir="$ac_optarg" ;;
 
336
    bindir=$ac_optarg ;;
86
337
 
87
338
  -build | --build | --buil | --bui | --bu)
88
 
    ac_prev=build ;;
 
339
    ac_prev=build_alias ;;
89
340
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
90
 
    build="$ac_optarg" ;;
 
341
    build_alias=$ac_optarg ;;
91
342
 
92
343
  -cache-file | --cache-file | --cache-fil | --cache-fi \
93
344
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
94
345
    ac_prev=cache_file ;;
95
346
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
96
347
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
97
 
    cache_file="$ac_optarg" ;;
 
348
    cache_file=$ac_optarg ;;
 
349
 
 
350
  --config-cache | -C)
 
351
    cache_file=config.cache ;;
98
352
 
99
353
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
100
354
    ac_prev=datadir ;;
101
355
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
102
356
  | --da=*)
103
 
    datadir="$ac_optarg" ;;
 
357
    datadir=$ac_optarg ;;
104
358
 
105
359
  -disable-* | --disable-*)
106
 
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
 
360
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
107
361
    # Reject names that are not valid shell variable names.
108
 
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
109
 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
110
 
    fi
111
 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
112
 
    eval "enable_${ac_feature}=no" ;;
 
362
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
363
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
364
   { (exit 1); exit 1; }; }
 
365
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
366
    eval "enable_$ac_feature=no" ;;
113
367
 
114
368
  -enable-* | --enable-*)
115
 
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
 
369
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
116
370
    # Reject names that are not valid shell variable names.
117
 
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
118
 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
119
 
    fi
120
 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
121
 
    case "$ac_option" in
122
 
      *=*) ;;
 
371
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
372
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
373
   { (exit 1); exit 1; }; }
 
374
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
375
    case $ac_option in
 
376
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
123
377
      *) ac_optarg=yes ;;
124
378
    esac
125
 
    eval "enable_${ac_feature}='$ac_optarg'" ;;
 
379
    eval "enable_$ac_feature='$ac_optarg'" ;;
126
380
 
127
381
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
128
382
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
131
385
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
132
386
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
133
387
  | --exec=* | --exe=* | --ex=*)
134
 
    exec_prefix="$ac_optarg" ;;
 
388
    exec_prefix=$ac_optarg ;;
135
389
 
136
390
  -gas | --gas | --ga | --g)
137
391
    # Obsolete; use --with-gas.
138
392
    with_gas=yes ;;
139
393
 
140
 
  -help | --help | --hel | --he)
141
 
    # Omit some internal or obsolete options to make the list less imposing.
142
 
    # This message is too long to be a string in the A/UX 3.1 sh.
143
 
    cat << EOF
144
 
Usage: configure [options] [host]
145
 
Options: [defaults in brackets after descriptions]
146
 
Configuration:
147
 
  --cache-file=FILE       cache test results in FILE
148
 
  --help                  print this message
149
 
  --no-create             do not create output files
150
 
  --quiet, --silent       do not print \`checking...' messages
151
 
  --version               print the version of autoconf that created configure
152
 
Directory and file names:
153
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
154
 
                          [$ac_default_prefix]
155
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
156
 
                          [same as prefix]
157
 
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
158
 
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
159
 
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
160
 
  --datadir=DIR           read-only architecture-independent data in DIR
161
 
                          [PREFIX/share]
162
 
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
163
 
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
164
 
                          [PREFIX/com]
165
 
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
166
 
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
167
 
  --includedir=DIR        C header files in DIR [PREFIX/include]
168
 
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
169
 
  --infodir=DIR           info documentation in DIR [PREFIX/info]
170
 
  --mandir=DIR            man documentation in DIR [PREFIX/man]
171
 
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
172
 
  --program-prefix=PREFIX prepend PREFIX to installed program names
173
 
  --program-suffix=SUFFIX append SUFFIX to installed program names
174
 
  --program-transform-name=PROGRAM
175
 
                          run sed PROGRAM on installed program names
176
 
EOF
177
 
    cat << EOF
178
 
Host type:
179
 
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
180
 
  --host=HOST             configure for HOST [guessed]
181
 
  --target=TARGET         configure for TARGET [TARGET=HOST]
182
 
Features and packages:
183
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
184
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
185
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
186
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
187
 
  --x-includes=DIR        X include files are in DIR
188
 
  --x-libraries=DIR       X library files are in DIR
189
 
EOF
190
 
    if test -n "$ac_help"; then
191
 
      echo "--enable and --with options recognized:$ac_help"
192
 
    fi
193
 
    exit 0 ;;
 
394
  -help | --help | --hel | --he | -h)
 
395
    ac_init_help=long ;;
 
396
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
397
    ac_init_help=recursive ;;
 
398
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
399
    ac_init_help=short ;;
194
400
 
195
401
  -host | --host | --hos | --ho)
196
 
    ac_prev=host ;;
 
402
    ac_prev=host_alias ;;
197
403
  -host=* | --host=* | --hos=* | --ho=*)
198
 
    host="$ac_optarg" ;;
 
404
    host_alias=$ac_optarg ;;
199
405
 
200
406
  -includedir | --includedir | --includedi | --included | --include \
201
407
  | --includ | --inclu | --incl | --inc)
202
408
    ac_prev=includedir ;;
203
409
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
204
410
  | --includ=* | --inclu=* | --incl=* | --inc=*)
205
 
    includedir="$ac_optarg" ;;
 
411
    includedir=$ac_optarg ;;
206
412
 
207
413
  -infodir | --infodir | --infodi | --infod | --info | --inf)
208
414
    ac_prev=infodir ;;
209
415
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
210
 
    infodir="$ac_optarg" ;;
 
416
    infodir=$ac_optarg ;;
211
417
 
212
418
  -libdir | --libdir | --libdi | --libd)
213
419
    ac_prev=libdir ;;
214
420
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
215
 
    libdir="$ac_optarg" ;;
 
421
    libdir=$ac_optarg ;;
216
422
 
217
423
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
218
424
  | --libexe | --libex | --libe)
219
425
    ac_prev=libexecdir ;;
220
426
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
221
427
  | --libexe=* | --libex=* | --libe=*)
222
 
    libexecdir="$ac_optarg" ;;
 
428
    libexecdir=$ac_optarg ;;
223
429
 
224
430
  -localstatedir | --localstatedir | --localstatedi | --localstated \
225
431
  | --localstate | --localstat | --localsta | --localst \
228
434
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
229
435
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
230
436
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
231
 
    localstatedir="$ac_optarg" ;;
 
437
    localstatedir=$ac_optarg ;;
232
438
 
233
439
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
234
440
    ac_prev=mandir ;;
235
441
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
236
 
    mandir="$ac_optarg" ;;
 
442
    mandir=$ac_optarg ;;
237
443
 
238
444
  -nfp | --nfp | --nf)
239
445
    # Obsolete; use --without-fp.
240
446
    with_fp=no ;;
241
447
 
242
448
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
243
 
  | --no-cr | --no-c)
 
449
  | --no-cr | --no-c | -n)
244
450
    no_create=yes ;;
245
451
 
246
452
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
254
460
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
255
461
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
256
462
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
257
 
    oldincludedir="$ac_optarg" ;;
 
463
    oldincludedir=$ac_optarg ;;
258
464
 
259
465
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
260
466
    ac_prev=prefix ;;
261
467
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
262
 
    prefix="$ac_optarg" ;;
 
468
    prefix=$ac_optarg ;;
263
469
 
264
470
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
265
471
  | --program-pre | --program-pr | --program-p)
266
472
    ac_prev=program_prefix ;;
267
473
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
268
474
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
269
 
    program_prefix="$ac_optarg" ;;
 
475
    program_prefix=$ac_optarg ;;
270
476
 
271
477
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
272
478
  | --program-suf | --program-su | --program-s)
273
479
    ac_prev=program_suffix ;;
274
480
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
275
481
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
276
 
    program_suffix="$ac_optarg" ;;
 
482
    program_suffix=$ac_optarg ;;
277
483
 
278
484
  -program-transform-name | --program-transform-name \
279
485
  | --program-transform-nam | --program-transform-na \
290
496
  | --program-transfo=* | --program-transf=* \
291
497
  | --program-trans=* | --program-tran=* \
292
498
  | --progr-tra=* | --program-tr=* | --program-t=*)
293
 
    program_transform_name="$ac_optarg" ;;
 
499
    program_transform_name=$ac_optarg ;;
294
500
 
295
501
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
296
502
  | -silent | --silent | --silen | --sile | --sil)
300
506
    ac_prev=sbindir ;;
301
507
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
302
508
  | --sbi=* | --sb=*)
303
 
    sbindir="$ac_optarg" ;;
 
509
    sbindir=$ac_optarg ;;
304
510
 
305
511
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
306
512
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
311
517
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
312
518
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
313
519
  | --sha=* | --sh=*)
314
 
    sharedstatedir="$ac_optarg" ;;
 
520
    sharedstatedir=$ac_optarg ;;
315
521
 
316
522
  -site | --site | --sit)
317
523
    ac_prev=site ;;
318
524
  -site=* | --site=* | --sit=*)
319
 
    site="$ac_optarg" ;;
 
525
    site=$ac_optarg ;;
320
526
 
321
527
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
322
528
    ac_prev=srcdir ;;
323
529
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
324
 
    srcdir="$ac_optarg" ;;
 
530
    srcdir=$ac_optarg ;;
325
531
 
326
532
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
327
533
  | --syscon | --sysco | --sysc | --sys | --sy)
328
534
    ac_prev=sysconfdir ;;
329
535
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
330
536
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
331
 
    sysconfdir="$ac_optarg" ;;
 
537
    sysconfdir=$ac_optarg ;;
332
538
 
333
539
  -target | --target | --targe | --targ | --tar | --ta | --t)
334
 
    ac_prev=target ;;
 
540
    ac_prev=target_alias ;;
335
541
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
336
 
    target="$ac_optarg" ;;
 
542
    target_alias=$ac_optarg ;;
337
543
 
338
544
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
339
545
    verbose=yes ;;
340
546
 
341
 
  -version | --version | --versio | --versi | --vers)
342
 
    echo "configure generated by autoconf version 2.13"
343
 
    exit 0 ;;
 
547
  -version | --version | --versio | --versi | --vers | -V)
 
548
    ac_init_version=: ;;
344
549
 
345
550
  -with-* | --with-*)
346
 
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
 
551
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
347
552
    # Reject names that are not valid shell variable names.
348
 
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
349
 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
350
 
    fi
 
553
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
554
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
555
   { (exit 1); exit 1; }; }
351
556
    ac_package=`echo $ac_package| sed 's/-/_/g'`
352
 
    case "$ac_option" in
353
 
      *=*) ;;
 
557
    case $ac_option in
 
558
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
354
559
      *) ac_optarg=yes ;;
355
560
    esac
356
 
    eval "with_${ac_package}='$ac_optarg'" ;;
 
561
    eval "with_$ac_package='$ac_optarg'" ;;
357
562
 
358
563
  -without-* | --without-*)
359
 
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
 
564
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
360
565
    # Reject names that are not valid shell variable names.
361
 
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
362
 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
363
 
    fi
364
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
365
 
    eval "with_${ac_package}=no" ;;
 
566
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
567
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
568
   { (exit 1); exit 1; }; }
 
569
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
570
    eval "with_$ac_package=no" ;;
366
571
 
367
572
  --x)
368
573
    # Obsolete; use --with-x.
373
578
    ac_prev=x_includes ;;
374
579
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
375
580
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
376
 
    x_includes="$ac_optarg" ;;
 
581
    x_includes=$ac_optarg ;;
377
582
 
378
583
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
379
584
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
380
585
    ac_prev=x_libraries ;;
381
586
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
382
587
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
383
 
    x_libraries="$ac_optarg" ;;
 
588
    x_libraries=$ac_optarg ;;
384
589
 
385
 
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
 
590
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
591
Try \`$0 --help' for more information." >&2
 
592
   { (exit 1); exit 1; }; }
386
593
    ;;
387
594
 
 
595
  *=*)
 
596
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
597
    # Reject names that are not valid shell variable names.
 
598
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
599
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
600
   { (exit 1); exit 1; }; }
 
601
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
602
    eval "$ac_envvar='$ac_optarg'"
 
603
    export $ac_envvar ;;
 
604
 
388
605
  *)
389
 
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
390
 
      echo "configure: warning: $ac_option: invalid host type" 1>&2
391
 
    fi
392
 
    if test "x$nonopt" != xNONE; then
393
 
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
394
 
    fi
395
 
    nonopt="$ac_option"
 
606
    # FIXME: should be removed in autoconf 3.0.
 
607
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
608
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
609
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
610
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
396
611
    ;;
397
612
 
398
613
  esac
399
614
done
400
615
 
401
616
if test -n "$ac_prev"; then
402
 
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
403
 
fi
404
 
 
405
 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
406
 
 
407
 
# File descriptor usage:
408
 
# 0 standard input
409
 
# 1 file creation
410
 
# 2 errors and warnings
411
 
# 3 some systems may open it to /dev/tty
412
 
# 4 used on the Kubota Titan
413
 
# 6 checking for... messages and results
414
 
# 5 compiler messages saved in config.log
415
 
if test "$silent" = yes; then
416
 
  exec 6>/dev/null
417
 
else
418
 
  exec 6>&1
419
 
fi
420
 
exec 5>./config.log
421
 
 
422
 
echo "\
423
 
This file contains any messages produced by compilers while
424
 
running configure, to aid debugging if configure makes a mistake.
425
 
" 1>&5
426
 
 
427
 
# Strip out --no-create and --no-recursion so they do not pile up.
428
 
# Also quote any args containing shell metacharacters.
429
 
ac_configure_args=
430
 
for ac_arg
431
 
do
432
 
  case "$ac_arg" in
433
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
434
 
  | --no-cr | --no-c) ;;
435
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
436
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
437
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
438
 
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
439
 
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
440
 
  esac
441
 
done
442
 
 
443
 
# NLS nuisances.
444
 
# Only set these to C if already set.  These must not be set unconditionally
445
 
# because not all systems understand e.g. LANG=C (notably SCO).
446
 
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
447
 
# Non-C LC_CTYPE values break the ctype check.
448
 
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
449
 
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
450
 
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
451
 
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
452
 
 
453
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
454
 
rm -rf conftest* confdefs.h
455
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
456
 
echo > confdefs.h
457
 
 
458
 
# A filename unique to this package, relative to the directory that
459
 
# configure is in, which we can look for to find out if srcdir is correct.
460
 
ac_unique_file=sql_iodbc.c
 
617
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
618
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
619
   { (exit 1); exit 1; }; }
 
620
fi
 
621
 
 
622
# Be sure to have absolute paths.
 
623
for ac_var in exec_prefix prefix
 
624
do
 
625
  eval ac_val=$`echo $ac_var`
 
626
  case $ac_val in
 
627
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
628
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
629
   { (exit 1); exit 1; }; };;
 
630
  esac
 
631
done
 
632
 
 
633
# Be sure to have absolute paths.
 
634
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
635
              localstatedir libdir includedir oldincludedir infodir mandir
 
636
do
 
637
  eval ac_val=$`echo $ac_var`
 
638
  case $ac_val in
 
639
    [\\/$]* | ?:[\\/]* ) ;;
 
640
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
641
   { (exit 1); exit 1; }; };;
 
642
  esac
 
643
done
 
644
 
 
645
# There might be people who depend on the old broken behavior: `$host'
 
646
# used to hold the argument of --host etc.
 
647
# FIXME: To remove some day.
 
648
build=$build_alias
 
649
host=$host_alias
 
650
target=$target_alias
 
651
 
 
652
# FIXME: To remove some day.
 
653
if test "x$host_alias" != x; then
 
654
  if test "x$build_alias" = x; then
 
655
    cross_compiling=maybe
 
656
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
657
    If a cross compiler is detected then cross compile mode will be used." >&2
 
658
  elif test "x$build_alias" != "x$host_alias"; then
 
659
    cross_compiling=yes
 
660
  fi
 
661
fi
 
662
 
 
663
ac_tool_prefix=
 
664
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
665
 
 
666
test "$silent" = yes && exec 6>/dev/null
 
667
 
461
668
 
462
669
# Find the source files, if location was not specified.
463
670
if test -z "$srcdir"; then
464
671
  ac_srcdir_defaulted=yes
465
672
  # Try the directory containing this script, then its parent.
466
 
  ac_prog=$0
467
 
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
468
 
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
 
673
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
674
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
675
         X"$0" : 'X\(//\)[^/]' \| \
 
676
         X"$0" : 'X\(//\)$' \| \
 
677
         X"$0" : 'X\(/\)' \| \
 
678
         .     : '\(.\)' 2>/dev/null ||
 
679
echo X"$0" |
 
680
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
681
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
682
          /^X\(\/\/\)$/{ s//\1/; q; }
 
683
          /^X\(\/\).*/{ s//\1/; q; }
 
684
          s/.*/./; q'`
469
685
  srcdir=$ac_confdir
470
686
  if test ! -r $srcdir/$ac_unique_file; then
471
687
    srcdir=..
475
691
fi
476
692
if test ! -r $srcdir/$ac_unique_file; then
477
693
  if test "$ac_srcdir_defaulted" = yes; then
478
 
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
 
694
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
695
   { (exit 1); exit 1; }; }
479
696
  else
480
 
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
 
697
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
698
   { (exit 1); exit 1; }; }
481
699
  fi
482
700
fi
483
 
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
484
 
 
 
701
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
702
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
703
   { (exit 1); exit 1; }; }
 
704
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
705
ac_env_build_alias_set=${build_alias+set}
 
706
ac_env_build_alias_value=$build_alias
 
707
ac_cv_env_build_alias_set=${build_alias+set}
 
708
ac_cv_env_build_alias_value=$build_alias
 
709
ac_env_host_alias_set=${host_alias+set}
 
710
ac_env_host_alias_value=$host_alias
 
711
ac_cv_env_host_alias_set=${host_alias+set}
 
712
ac_cv_env_host_alias_value=$host_alias
 
713
ac_env_target_alias_set=${target_alias+set}
 
714
ac_env_target_alias_value=$target_alias
 
715
ac_cv_env_target_alias_set=${target_alias+set}
 
716
ac_cv_env_target_alias_value=$target_alias
 
717
ac_env_CC_set=${CC+set}
 
718
ac_env_CC_value=$CC
 
719
ac_cv_env_CC_set=${CC+set}
 
720
ac_cv_env_CC_value=$CC
 
721
ac_env_CFLAGS_set=${CFLAGS+set}
 
722
ac_env_CFLAGS_value=$CFLAGS
 
723
ac_cv_env_CFLAGS_set=${CFLAGS+set}
 
724
ac_cv_env_CFLAGS_value=$CFLAGS
 
725
ac_env_LDFLAGS_set=${LDFLAGS+set}
 
726
ac_env_LDFLAGS_value=$LDFLAGS
 
727
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 
728
ac_cv_env_LDFLAGS_value=$LDFLAGS
 
729
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 
730
ac_env_CPPFLAGS_value=$CPPFLAGS
 
731
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 
732
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
733
ac_env_CPP_set=${CPP+set}
 
734
ac_env_CPP_value=$CPP
 
735
ac_cv_env_CPP_set=${CPP+set}
 
736
ac_cv_env_CPP_value=$CPP
 
737
 
 
738
#
 
739
# Report the --help message.
 
740
#
 
741
if test "$ac_init_help" = "long"; then
 
742
  # Omit some internal or obsolete options to make the list less imposing.
 
743
  # This message is too long to be a string in the A/UX 3.1 sh.
 
744
  cat <<_ACEOF
 
745
\`configure' configures this package to adapt to many kinds of systems.
 
746
 
 
747
Usage: $0 [OPTION]... [VAR=VALUE]...
 
748
 
 
749
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
750
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
751
 
 
752
Defaults for the options are specified in brackets.
 
753
 
 
754
Configuration:
 
755
  -h, --help              display this help and exit
 
756
      --help=short        display options specific to this package
 
757
      --help=recursive    display the short help of all the included packages
 
758
  -V, --version           display version information and exit
 
759
  -q, --quiet, --silent   do not print \`checking...' messages
 
760
      --cache-file=FILE   cache test results in FILE [disabled]
 
761
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
762
  -n, --no-create         do not create output files
 
763
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
764
 
 
765
_ACEOF
 
766
 
 
767
  cat <<_ACEOF
 
768
Installation directories:
 
769
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
770
                          [$ac_default_prefix]
 
771
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
772
                          [PREFIX]
 
773
 
 
774
By default, \`make install' will install all the files in
 
775
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
776
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
777
for instance \`--prefix=\$HOME'.
 
778
 
 
779
For better control, use the options below.
 
780
 
 
781
Fine tuning of the installation directories:
 
782
  --bindir=DIR           user executables [EPREFIX/bin]
 
783
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
784
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
785
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
 
786
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
787
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
788
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
789
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
790
  --includedir=DIR       C header files [PREFIX/include]
 
791
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
792
  --infodir=DIR          info documentation [PREFIX/info]
 
793
  --mandir=DIR           man documentation [PREFIX/man]
 
794
_ACEOF
 
795
 
 
796
  cat <<\_ACEOF
 
797
_ACEOF
 
798
fi
 
799
 
 
800
if test -n "$ac_init_help"; then
 
801
 
 
802
  cat <<\_ACEOF
 
803
 
 
804
Optional Packages:
 
805
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
806
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
807
  --with-iodbc-include-dir=DIR       Directory where the Iodbc includes may be found
 
808
  --with-iodbc-lib-dir=DIR       Directory where the Iodbc libraries may be found
 
809
  --with-iodbc-dir=DIR       Base directory where Iodbc is installed
 
810
 
 
811
Some influential environment variables:
 
812
  CC          C compiler command
 
813
  CFLAGS      C compiler flags
 
814
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
815
              nonstandard directory <lib dir>
 
816
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
817
              headers in a nonstandard directory <include dir>
 
818
  CPP         C preprocessor
 
819
 
 
820
Use these variables to override the choices made by `configure' or to help
 
821
it to find libraries and programs with nonstandard names/locations.
 
822
 
 
823
_ACEOF
 
824
fi
 
825
 
 
826
if test "$ac_init_help" = "recursive"; then
 
827
  # If there are subdirs, report their specific --help.
 
828
  ac_popdir=`pwd`
 
829
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
830
    test -d $ac_dir || continue
 
831
    ac_builddir=.
 
832
 
 
833
if test "$ac_dir" != .; then
 
834
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
835
  # A "../" for each directory in $ac_dir_suffix.
 
836
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
837
else
 
838
  ac_dir_suffix= ac_top_builddir=
 
839
fi
 
840
 
 
841
case $srcdir in
 
842
  .)  # No --srcdir option.  We are building in place.
 
843
    ac_srcdir=.
 
844
    if test -z "$ac_top_builddir"; then
 
845
       ac_top_srcdir=.
 
846
    else
 
847
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
848
    fi ;;
 
849
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
850
    ac_srcdir=$srcdir$ac_dir_suffix;
 
851
    ac_top_srcdir=$srcdir ;;
 
852
  *) # Relative path.
 
853
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
854
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
855
esac
 
856
 
 
857
# Do not use `cd foo && pwd` to compute absolute paths, because
 
858
# the directories may not exist.
 
859
case `pwd` in
 
860
.) ac_abs_builddir="$ac_dir";;
 
861
*)
 
862
  case "$ac_dir" in
 
863
  .) ac_abs_builddir=`pwd`;;
 
864
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
865
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
866
  esac;;
 
867
esac
 
868
case $ac_abs_builddir in
 
869
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
870
*)
 
871
  case ${ac_top_builddir}. in
 
872
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
873
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
874
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
875
  esac;;
 
876
esac
 
877
case $ac_abs_builddir in
 
878
.) ac_abs_srcdir=$ac_srcdir;;
 
879
*)
 
880
  case $ac_srcdir in
 
881
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
882
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
883
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
884
  esac;;
 
885
esac
 
886
case $ac_abs_builddir in
 
887
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
888
*)
 
889
  case $ac_top_srcdir in
 
890
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
891
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
892
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
893
  esac;;
 
894
esac
 
895
 
 
896
    cd $ac_dir
 
897
    # Check for guested configure; otherwise get Cygnus style configure.
 
898
    if test -f $ac_srcdir/configure.gnu; then
 
899
      echo
 
900
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
901
    elif test -f $ac_srcdir/configure; then
 
902
      echo
 
903
      $SHELL $ac_srcdir/configure  --help=recursive
 
904
    elif test -f $ac_srcdir/configure.ac ||
 
905
           test -f $ac_srcdir/configure.in; then
 
906
      echo
 
907
      $ac_configure --help
 
908
    else
 
909
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
910
    fi
 
911
    cd $ac_popdir
 
912
  done
 
913
fi
 
914
 
 
915
test -n "$ac_init_help" && exit 0
 
916
if $ac_init_version; then
 
917
  cat <<\_ACEOF
 
918
 
 
919
Copyright (C) 2003 Free Software Foundation, Inc.
 
920
This configure script is free software; the Free Software Foundation
 
921
gives unlimited permission to copy, distribute and modify it.
 
922
_ACEOF
 
923
  exit 0
 
924
fi
 
925
exec 5>config.log
 
926
cat >&5 <<_ACEOF
 
927
This file contains any messages produced by compilers while
 
928
running configure, to aid debugging if configure makes a mistake.
 
929
 
 
930
It was created by $as_me, which was
 
931
generated by GNU Autoconf 2.59.  Invocation command line was
 
932
 
 
933
  $ $0 $@
 
934
 
 
935
_ACEOF
 
936
{
 
937
cat <<_ASUNAME
 
938
## --------- ##
 
939
## Platform. ##
 
940
## --------- ##
 
941
 
 
942
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
943
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
944
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
945
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
946
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
947
 
 
948
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
949
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
950
 
 
951
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
952
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
953
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
954
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
955
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
956
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
957
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
958
 
 
959
_ASUNAME
 
960
 
 
961
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
962
for as_dir in $PATH
 
963
do
 
964
  IFS=$as_save_IFS
 
965
  test -z "$as_dir" && as_dir=.
 
966
  echo "PATH: $as_dir"
 
967
done
 
968
 
 
969
} >&5
 
970
 
 
971
cat >&5 <<_ACEOF
 
972
 
 
973
 
 
974
## ----------- ##
 
975
## Core tests. ##
 
976
## ----------- ##
 
977
 
 
978
_ACEOF
 
979
 
 
980
 
 
981
# Keep a trace of the command line.
 
982
# Strip out --no-create and --no-recursion so they do not pile up.
 
983
# Strip out --silent because we don't want to record it for future runs.
 
984
# Also quote any args containing shell meta-characters.
 
985
# Make two passes to allow for proper duplicate-argument suppression.
 
986
ac_configure_args=
 
987
ac_configure_args0=
 
988
ac_configure_args1=
 
989
ac_sep=
 
990
ac_must_keep_next=false
 
991
for ac_pass in 1 2
 
992
do
 
993
  for ac_arg
 
994
  do
 
995
    case $ac_arg in
 
996
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
997
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
998
    | -silent | --silent | --silen | --sile | --sil)
 
999
      continue ;;
 
1000
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1001
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1002
    esac
 
1003
    case $ac_pass in
 
1004
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1005
    2)
 
1006
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1007
      if test $ac_must_keep_next = true; then
 
1008
        ac_must_keep_next=false # Got value, back to normal.
 
1009
      else
 
1010
        case $ac_arg in
 
1011
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1012
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1013
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1014
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1015
            case "$ac_configure_args0 " in
 
1016
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1017
            esac
 
1018
            ;;
 
1019
          -* ) ac_must_keep_next=true ;;
 
1020
        esac
 
1021
      fi
 
1022
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1023
      # Get rid of the leading space.
 
1024
      ac_sep=" "
 
1025
      ;;
 
1026
    esac
 
1027
  done
 
1028
done
 
1029
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1030
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1031
 
 
1032
# When interrupted or exit'd, cleanup temporary files, and complete
 
1033
# config.log.  We remove comments because anyway the quotes in there
 
1034
# would cause problems or look ugly.
 
1035
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1036
# such as our DU 5.0 friend, will then `close' the trap.
 
1037
trap 'exit_status=$?
 
1038
  # Save into config.log some information that might help in debugging.
 
1039
  {
 
1040
    echo
 
1041
 
 
1042
    cat <<\_ASBOX
 
1043
## ---------------- ##
 
1044
## Cache variables. ##
 
1045
## ---------------- ##
 
1046
_ASBOX
 
1047
    echo
 
1048
    # The following way of writing the cache mishandles newlines in values,
 
1049
{
 
1050
  (set) 2>&1 |
 
1051
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1052
    *ac_space=\ *)
 
1053
      sed -n \
 
1054
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1055
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1056
      ;;
 
1057
    *)
 
1058
      sed -n \
 
1059
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1060
      ;;
 
1061
    esac;
 
1062
}
 
1063
    echo
 
1064
 
 
1065
    cat <<\_ASBOX
 
1066
## ----------------- ##
 
1067
## Output variables. ##
 
1068
## ----------------- ##
 
1069
_ASBOX
 
1070
    echo
 
1071
    for ac_var in $ac_subst_vars
 
1072
    do
 
1073
      eval ac_val=$`echo $ac_var`
 
1074
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1075
    done | sort
 
1076
    echo
 
1077
 
 
1078
    if test -n "$ac_subst_files"; then
 
1079
      cat <<\_ASBOX
 
1080
## ------------- ##
 
1081
## Output files. ##
 
1082
## ------------- ##
 
1083
_ASBOX
 
1084
      echo
 
1085
      for ac_var in $ac_subst_files
 
1086
      do
 
1087
        eval ac_val=$`echo $ac_var`
 
1088
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1089
      done | sort
 
1090
      echo
 
1091
    fi
 
1092
 
 
1093
    if test -s confdefs.h; then
 
1094
      cat <<\_ASBOX
 
1095
## ----------- ##
 
1096
## confdefs.h. ##
 
1097
## ----------- ##
 
1098
_ASBOX
 
1099
      echo
 
1100
      sed "/^$/d" confdefs.h | sort
 
1101
      echo
 
1102
    fi
 
1103
    test "$ac_signal" != 0 &&
 
1104
      echo "$as_me: caught signal $ac_signal"
 
1105
    echo "$as_me: exit $exit_status"
 
1106
  } >&5
 
1107
  rm -f core *.core &&
 
1108
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1109
    exit $exit_status
 
1110
     ' 0
 
1111
for ac_signal in 1 2 13 15; do
 
1112
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1113
done
 
1114
ac_signal=0
 
1115
 
 
1116
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1117
rm -rf conftest* confdefs.h
 
1118
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1119
echo >confdefs.h
 
1120
 
 
1121
# Predefined preprocessor variables.
 
1122
 
 
1123
cat >>confdefs.h <<_ACEOF
 
1124
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1125
_ACEOF
 
1126
 
 
1127
 
 
1128
cat >>confdefs.h <<_ACEOF
 
1129
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1130
_ACEOF
 
1131
 
 
1132
 
 
1133
cat >>confdefs.h <<_ACEOF
 
1134
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1135
_ACEOF
 
1136
 
 
1137
 
 
1138
cat >>confdefs.h <<_ACEOF
 
1139
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1140
_ACEOF
 
1141
 
 
1142
 
 
1143
cat >>confdefs.h <<_ACEOF
 
1144
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1145
_ACEOF
 
1146
 
 
1147
 
 
1148
# Let the site file select an alternate cache file if it wants to.
485
1149
# Prefer explicitly selected file to automatically selected ones.
486
1150
if test -z "$CONFIG_SITE"; then
487
1151
  if test "x$prefix" != xNONE; then
492
1156
fi
493
1157
for ac_site_file in $CONFIG_SITE; do
494
1158
  if test -r "$ac_site_file"; then
495
 
    echo "loading site script $ac_site_file"
 
1159
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1160
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1161
    sed 's/^/| /' "$ac_site_file" >&5
496
1162
    . "$ac_site_file"
497
1163
  fi
498
1164
done
499
1165
 
500
1166
if test -r "$cache_file"; then
501
 
  echo "loading cache $cache_file"
502
 
  . $cache_file
503
 
else
504
 
  echo "creating cache $cache_file"
505
 
  > $cache_file
506
 
fi
507
 
 
508
 
ac_ext=c
509
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
510
 
ac_cpp='$CPP $CPPFLAGS'
511
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
512
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
513
 
cross_compiling=$ac_cv_prog_cc_cross
514
 
 
515
 
ac_exeext=
516
 
ac_objext=o
517
 
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
518
 
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
519
 
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
520
 
    ac_n= ac_c='
521
 
' ac_t='        '
522
 
  else
523
 
    ac_n=-n ac_c= ac_t=
524
 
  fi
525
 
else
526
 
  ac_n= ac_c='\c' ac_t=
527
 
fi
528
 
 
529
 
 
530
 
# From configure.in Revision: 1.2 
531
 
 
532
 
 
533
 
# Extract the first word of "gcc", so it can be a program name with args.
 
1167
  # Some versions of bash will fail to source /dev/null (special
 
1168
  # files actually), so we avoid doing that.
 
1169
  if test -f "$cache_file"; then
 
1170
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1171
echo "$as_me: loading cache $cache_file" >&6;}
 
1172
    case $cache_file in
 
1173
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1174
      *)                      . ./$cache_file;;
 
1175
    esac
 
1176
  fi
 
1177
else
 
1178
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1179
echo "$as_me: creating cache $cache_file" >&6;}
 
1180
  >$cache_file
 
1181
fi
 
1182
 
 
1183
# Check that the precious variables saved in the cache have kept the same
 
1184
# value.
 
1185
ac_cache_corrupted=false
 
1186
for ac_var in `(set) 2>&1 |
 
1187
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1188
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1189
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1190
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1191
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1192
  case $ac_old_set,$ac_new_set in
 
1193
    set,)
 
1194
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1195
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1196
      ac_cache_corrupted=: ;;
 
1197
    ,set)
 
1198
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1199
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1200
      ac_cache_corrupted=: ;;
 
1201
    ,);;
 
1202
    *)
 
1203
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1204
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1205
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1206
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1207
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1208
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1209
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1210
        ac_cache_corrupted=:
 
1211
      fi;;
 
1212
  esac
 
1213
  # Pass precious variables to config.status.
 
1214
  if test "$ac_new_set" = set; then
 
1215
    case $ac_new_val in
 
1216
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1217
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1218
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1219
    esac
 
1220
    case " $ac_configure_args " in
 
1221
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1222
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1223
    esac
 
1224
  fi
 
1225
done
 
1226
if $ac_cache_corrupted; then
 
1227
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1228
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1229
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1230
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1231
   { (exit 1); exit 1; }; }
 
1232
fi
 
1233
 
 
1234
ac_ext=c
 
1235
ac_cpp='$CPP $CPPFLAGS'
 
1236
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1237
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1238
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1239
 
 
1240
 
 
1241
 
 
1242
 
 
1243
 
 
1244
 
 
1245
 
 
1246
 
 
1247
 
 
1248
 
 
1249
 
 
1250
 
 
1251
 
 
1252
 
 
1253
 
 
1254
 
 
1255
 
 
1256
 
 
1257
 
 
1258
 
 
1259
 
 
1260
 
 
1261
ac_ext=c
 
1262
ac_cpp='$CPP $CPPFLAGS'
 
1263
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1264
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1265
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1266
if test -n "$ac_tool_prefix"; then
 
1267
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
1268
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
1269
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1270
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1271
if test "${ac_cv_prog_CC+set}" = set; then
 
1272
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1273
else
 
1274
  if test -n "$CC"; then
 
1275
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1276
else
 
1277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1278
for as_dir in $PATH
 
1279
do
 
1280
  IFS=$as_save_IFS
 
1281
  test -z "$as_dir" && as_dir=.
 
1282
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1283
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1284
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
1285
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1286
    break 2
 
1287
  fi
 
1288
done
 
1289
done
 
1290
 
 
1291
fi
 
1292
fi
 
1293
CC=$ac_cv_prog_CC
 
1294
if test -n "$CC"; then
 
1295
  echo "$as_me:$LINENO: result: $CC" >&5
 
1296
echo "${ECHO_T}$CC" >&6
 
1297
else
 
1298
  echo "$as_me:$LINENO: result: no" >&5
 
1299
echo "${ECHO_T}no" >&6
 
1300
fi
 
1301
 
 
1302
fi
 
1303
if test -z "$ac_cv_prog_CC"; then
 
1304
  ac_ct_CC=$CC
 
1305
  # Extract the first word of "gcc", so it can be a program name with args.
534
1306
set dummy gcc; ac_word=$2
535
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
536
 
echo "configure:537: checking for $ac_word" >&5
537
 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
538
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
1307
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1308
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1309
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1310
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1311
else
 
1312
  if test -n "$ac_ct_CC"; then
 
1313
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1314
else
 
1315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1316
for as_dir in $PATH
 
1317
do
 
1318
  IFS=$as_save_IFS
 
1319
  test -z "$as_dir" && as_dir=.
 
1320
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1321
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1322
    ac_cv_prog_ac_ct_CC="gcc"
 
1323
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1324
    break 2
 
1325
  fi
 
1326
done
 
1327
done
 
1328
 
 
1329
fi
 
1330
fi
 
1331
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1332
if test -n "$ac_ct_CC"; then
 
1333
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1334
echo "${ECHO_T}$ac_ct_CC" >&6
 
1335
else
 
1336
  echo "$as_me:$LINENO: result: no" >&5
 
1337
echo "${ECHO_T}no" >&6
 
1338
fi
 
1339
 
 
1340
  CC=$ac_ct_CC
 
1341
else
 
1342
  CC="$ac_cv_prog_CC"
 
1343
fi
 
1344
 
 
1345
if test -z "$CC"; then
 
1346
  if test -n "$ac_tool_prefix"; then
 
1347
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
1348
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
1349
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1350
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1351
if test "${ac_cv_prog_CC+set}" = set; then
 
1352
  echo $ECHO_N "(cached) $ECHO_C" >&6
539
1353
else
540
1354
  if test -n "$CC"; then
541
1355
  ac_cv_prog_CC="$CC" # Let the user override the test.
542
1356
else
543
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
544
 
  ac_dummy="$PATH"
545
 
  for ac_dir in $ac_dummy; do
546
 
    test -z "$ac_dir" && ac_dir=.
547
 
    if test -f $ac_dir/$ac_word; then
548
 
      ac_cv_prog_CC="gcc"
549
 
      break
550
 
    fi
551
 
  done
552
 
  IFS="$ac_save_ifs"
553
 
fi
554
 
fi
555
 
CC="$ac_cv_prog_CC"
 
1357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1358
for as_dir in $PATH
 
1359
do
 
1360
  IFS=$as_save_IFS
 
1361
  test -z "$as_dir" && as_dir=.
 
1362
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1363
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1364
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
1365
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1366
    break 2
 
1367
  fi
 
1368
done
 
1369
done
 
1370
 
 
1371
fi
 
1372
fi
 
1373
CC=$ac_cv_prog_CC
556
1374
if test -n "$CC"; then
557
 
  echo "$ac_t""$CC" 1>&6
558
 
else
559
 
  echo "$ac_t""no" 1>&6
560
 
fi
561
 
 
 
1375
  echo "$as_me:$LINENO: result: $CC" >&5
 
1376
echo "${ECHO_T}$CC" >&6
 
1377
else
 
1378
  echo "$as_me:$LINENO: result: no" >&5
 
1379
echo "${ECHO_T}no" >&6
 
1380
fi
 
1381
 
 
1382
fi
 
1383
if test -z "$ac_cv_prog_CC"; then
 
1384
  ac_ct_CC=$CC
 
1385
  # Extract the first word of "cc", so it can be a program name with args.
 
1386
set dummy cc; ac_word=$2
 
1387
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1388
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1389
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1390
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1391
else
 
1392
  if test -n "$ac_ct_CC"; then
 
1393
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1394
else
 
1395
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1396
for as_dir in $PATH
 
1397
do
 
1398
  IFS=$as_save_IFS
 
1399
  test -z "$as_dir" && as_dir=.
 
1400
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1401
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1402
    ac_cv_prog_ac_ct_CC="cc"
 
1403
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1404
    break 2
 
1405
  fi
 
1406
done
 
1407
done
 
1408
 
 
1409
fi
 
1410
fi
 
1411
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1412
if test -n "$ac_ct_CC"; then
 
1413
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1414
echo "${ECHO_T}$ac_ct_CC" >&6
 
1415
else
 
1416
  echo "$as_me:$LINENO: result: no" >&5
 
1417
echo "${ECHO_T}no" >&6
 
1418
fi
 
1419
 
 
1420
  CC=$ac_ct_CC
 
1421
else
 
1422
  CC="$ac_cv_prog_CC"
 
1423
fi
 
1424
 
 
1425
fi
562
1426
if test -z "$CC"; then
563
1427
  # Extract the first word of "cc", so it can be a program name with args.
564
1428
set dummy cc; ac_word=$2
565
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
566
 
echo "configure:567: checking for $ac_word" >&5
567
 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
568
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
1429
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1430
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1431
if test "${ac_cv_prog_CC+set}" = set; then
 
1432
  echo $ECHO_N "(cached) $ECHO_C" >&6
569
1433
else
570
1434
  if test -n "$CC"; then
571
1435
  ac_cv_prog_CC="$CC" # Let the user override the test.
572
1436
else
573
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
574
1437
  ac_prog_rejected=no
575
 
  ac_dummy="$PATH"
576
 
  for ac_dir in $ac_dummy; do
577
 
    test -z "$ac_dir" && ac_dir=.
578
 
    if test -f $ac_dir/$ac_word; then
579
 
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
580
 
        ac_prog_rejected=yes
581
 
        continue
582
 
      fi
583
 
      ac_cv_prog_CC="cc"
584
 
      break
585
 
    fi
586
 
  done
587
 
  IFS="$ac_save_ifs"
 
1438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1439
for as_dir in $PATH
 
1440
do
 
1441
  IFS=$as_save_IFS
 
1442
  test -z "$as_dir" && as_dir=.
 
1443
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1444
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1445
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
1446
       ac_prog_rejected=yes
 
1447
       continue
 
1448
     fi
 
1449
    ac_cv_prog_CC="cc"
 
1450
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1451
    break 2
 
1452
  fi
 
1453
done
 
1454
done
 
1455
 
588
1456
if test $ac_prog_rejected = yes; then
589
1457
  # We found a bogon in the path, so make sure we never use it.
590
1458
  set dummy $ac_cv_prog_CC
591
1459
  shift
592
 
  if test $# -gt 0; then
 
1460
  if test $# != 0; then
593
1461
    # We chose a different compiler from the bogus one.
594
1462
    # However, it has the same basename, so the bogon will be chosen
595
1463
    # first if we set CC to just the basename; use the full file name.
596
1464
    shift
597
 
    set dummy "$ac_dir/$ac_word" "$@"
598
 
    shift
599
 
    ac_cv_prog_CC="$@"
 
1465
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
600
1466
  fi
601
1467
fi
602
1468
fi
603
1469
fi
604
 
CC="$ac_cv_prog_CC"
 
1470
CC=$ac_cv_prog_CC
605
1471
if test -n "$CC"; then
606
 
  echo "$ac_t""$CC" 1>&6
 
1472
  echo "$as_me:$LINENO: result: $CC" >&5
 
1473
echo "${ECHO_T}$CC" >&6
607
1474
else
608
 
  echo "$ac_t""no" 1>&6
 
1475
  echo "$as_me:$LINENO: result: no" >&5
 
1476
echo "${ECHO_T}no" >&6
609
1477
fi
610
1478
 
611
 
  if test -z "$CC"; then
612
 
    case "`uname -s`" in
613
 
    *win32* | *WIN32*)
614
 
      # Extract the first word of "cl", so it can be a program name with args.
615
 
set dummy cl; ac_word=$2
616
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
617
 
echo "configure:618: checking for $ac_word" >&5
618
 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
619
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
1479
fi
 
1480
if test -z "$CC"; then
 
1481
  if test -n "$ac_tool_prefix"; then
 
1482
  for ac_prog in cl
 
1483
  do
 
1484
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
1485
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
1486
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1487
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1488
if test "${ac_cv_prog_CC+set}" = set; then
 
1489
  echo $ECHO_N "(cached) $ECHO_C" >&6
620
1490
else
621
1491
  if test -n "$CC"; then
622
1492
  ac_cv_prog_CC="$CC" # Let the user override the test.
623
1493
else
624
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
625
 
  ac_dummy="$PATH"
626
 
  for ac_dir in $ac_dummy; do
627
 
    test -z "$ac_dir" && ac_dir=.
628
 
    if test -f $ac_dir/$ac_word; then
629
 
      ac_cv_prog_CC="cl"
630
 
      break
631
 
    fi
 
1494
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1495
for as_dir in $PATH
 
1496
do
 
1497
  IFS=$as_save_IFS
 
1498
  test -z "$as_dir" && as_dir=.
 
1499
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1500
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1501
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
1502
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1503
    break 2
 
1504
  fi
 
1505
done
 
1506
done
 
1507
 
 
1508
fi
 
1509
fi
 
1510
CC=$ac_cv_prog_CC
 
1511
if test -n "$CC"; then
 
1512
  echo "$as_me:$LINENO: result: $CC" >&5
 
1513
echo "${ECHO_T}$CC" >&6
 
1514
else
 
1515
  echo "$as_me:$LINENO: result: no" >&5
 
1516
echo "${ECHO_T}no" >&6
 
1517
fi
 
1518
 
 
1519
    test -n "$CC" && break
632
1520
  done
633
 
  IFS="$ac_save_ifs"
634
 
fi
635
 
fi
636
 
CC="$ac_cv_prog_CC"
637
 
if test -n "$CC"; then
638
 
  echo "$ac_t""$CC" 1>&6
639
 
else
640
 
  echo "$ac_t""no" 1>&6
641
 
fi
642
 
 ;;
643
 
    esac
 
1521
fi
 
1522
if test -z "$CC"; then
 
1523
  ac_ct_CC=$CC
 
1524
  for ac_prog in cl
 
1525
do
 
1526
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1527
set dummy $ac_prog; ac_word=$2
 
1528
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1529
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1530
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1531
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1532
else
 
1533
  if test -n "$ac_ct_CC"; then
 
1534
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1535
else
 
1536
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1537
for as_dir in $PATH
 
1538
do
 
1539
  IFS=$as_save_IFS
 
1540
  test -z "$as_dir" && as_dir=.
 
1541
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1542
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1543
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
1544
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1545
    break 2
644
1546
  fi
645
 
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
646
 
fi
647
 
 
648
 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
649
 
echo "configure:650: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
650
 
 
651
 
ac_ext=c
652
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
653
 
ac_cpp='$CPP $CPPFLAGS'
654
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
655
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
656
 
cross_compiling=$ac_cv_prog_cc_cross
657
 
 
658
 
cat > conftest.$ac_ext << EOF
659
 
 
660
 
#line 661 "configure"
661
 
#include "confdefs.h"
662
 
 
663
 
main(){return(0);}
664
 
EOF
665
 
if { (eval echo configure:666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
666
 
  ac_cv_prog_cc_works=yes
667
 
  # If we can't run a trivial program, we are probably using a cross compiler.
668
 
  if (./conftest; exit) 2>/dev/null; then
669
 
    ac_cv_prog_cc_cross=no
 
1547
done
 
1548
done
 
1549
 
 
1550
fi
 
1551
fi
 
1552
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1553
if test -n "$ac_ct_CC"; then
 
1554
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1555
echo "${ECHO_T}$ac_ct_CC" >&6
 
1556
else
 
1557
  echo "$as_me:$LINENO: result: no" >&5
 
1558
echo "${ECHO_T}no" >&6
 
1559
fi
 
1560
 
 
1561
  test -n "$ac_ct_CC" && break
 
1562
done
 
1563
 
 
1564
  CC=$ac_ct_CC
 
1565
fi
 
1566
 
 
1567
fi
 
1568
 
 
1569
 
 
1570
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
1571
See \`config.log' for more details." >&5
 
1572
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
1573
See \`config.log' for more details." >&2;}
 
1574
   { (exit 1); exit 1; }; }
 
1575
 
 
1576
# Provide some information about the compiler.
 
1577
echo "$as_me:$LINENO:" \
 
1578
     "checking for C compiler version" >&5
 
1579
ac_compiler=`set X $ac_compile; echo $2`
 
1580
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
1581
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
1582
  ac_status=$?
 
1583
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1584
  (exit $ac_status); }
 
1585
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
1586
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
1587
  ac_status=$?
 
1588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1589
  (exit $ac_status); }
 
1590
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
1591
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
1592
  ac_status=$?
 
1593
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1594
  (exit $ac_status); }
 
1595
 
 
1596
cat >conftest.$ac_ext <<_ACEOF
 
1597
/* confdefs.h.  */
 
1598
_ACEOF
 
1599
cat confdefs.h >>conftest.$ac_ext
 
1600
cat >>conftest.$ac_ext <<_ACEOF
 
1601
/* end confdefs.h.  */
 
1602
 
 
1603
int
 
1604
main ()
 
1605
{
 
1606
 
 
1607
  ;
 
1608
  return 0;
 
1609
}
 
1610
_ACEOF
 
1611
ac_clean_files_save=$ac_clean_files
 
1612
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
1613
# Try to create an executable without -o first, disregard a.out.
 
1614
# It will help us diagnose broken compilers, and finding out an intuition
 
1615
# of exeext.
 
1616
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
1617
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
1618
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
1619
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
1620
  (eval $ac_link_default) 2>&5
 
1621
  ac_status=$?
 
1622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1623
  (exit $ac_status); }; then
 
1624
  # Find the output, starting from the most likely.  This scheme is
 
1625
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
1626
# resort.
 
1627
 
 
1628
# Be careful to initialize this variable, since it used to be cached.
 
1629
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
1630
ac_cv_exeext=
 
1631
# b.out is created by i960 compilers.
 
1632
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
1633
do
 
1634
  test -f "$ac_file" || continue
 
1635
  case $ac_file in
 
1636
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
1637
        ;;
 
1638
    conftest.$ac_ext )
 
1639
        # This is the source file.
 
1640
        ;;
 
1641
    [ab].out )
 
1642
        # We found the default executable, but exeext='' is most
 
1643
        # certainly right.
 
1644
        break;;
 
1645
    *.* )
 
1646
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1647
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
1648
        # but it would be cool to find out if it's true.  Does anybody
 
1649
        # maintain Libtool? --akim.
 
1650
        export ac_cv_exeext
 
1651
        break;;
 
1652
    * )
 
1653
        break;;
 
1654
  esac
 
1655
done
 
1656
else
 
1657
  echo "$as_me: failed program was:" >&5
 
1658
sed 's/^/| /' conftest.$ac_ext >&5
 
1659
 
 
1660
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
1661
See \`config.log' for more details." >&5
 
1662
echo "$as_me: error: C compiler cannot create executables
 
1663
See \`config.log' for more details." >&2;}
 
1664
   { (exit 77); exit 77; }; }
 
1665
fi
 
1666
 
 
1667
ac_exeext=$ac_cv_exeext
 
1668
echo "$as_me:$LINENO: result: $ac_file" >&5
 
1669
echo "${ECHO_T}$ac_file" >&6
 
1670
 
 
1671
# Check the compiler produces executables we can run.  If not, either
 
1672
# the compiler is broken, or we cross compile.
 
1673
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
1674
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
1675
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
1676
# If not cross compiling, check that we can run a simple program.
 
1677
if test "$cross_compiling" != yes; then
 
1678
  if { ac_try='./$ac_file'
 
1679
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1680
  (eval $ac_try) 2>&5
 
1681
  ac_status=$?
 
1682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1683
  (exit $ac_status); }; }; then
 
1684
    cross_compiling=no
670
1685
  else
671
 
    ac_cv_prog_cc_cross=yes
 
1686
    if test "$cross_compiling" = maybe; then
 
1687
        cross_compiling=yes
 
1688
    else
 
1689
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
1690
If you meant to cross compile, use \`--host'.
 
1691
See \`config.log' for more details." >&5
 
1692
echo "$as_me: error: cannot run C compiled programs.
 
1693
If you meant to cross compile, use \`--host'.
 
1694
See \`config.log' for more details." >&2;}
 
1695
   { (exit 1); exit 1; }; }
 
1696
    fi
672
1697
  fi
673
 
else
674
 
  echo "configure: failed program was:" >&5
675
 
  cat conftest.$ac_ext >&5
676
 
  ac_cv_prog_cc_works=no
677
 
fi
678
 
rm -fr conftest*
679
 
ac_ext=c
680
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
681
 
ac_cpp='$CPP $CPPFLAGS'
682
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
683
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
684
 
cross_compiling=$ac_cv_prog_cc_cross
685
 
 
686
 
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
687
 
if test $ac_cv_prog_cc_works = no; then
688
 
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
689
 
fi
690
 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
691
 
echo "configure:692: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
692
 
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
693
 
cross_compiling=$ac_cv_prog_cc_cross
694
 
 
695
 
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
696
 
echo "configure:697: checking whether we are using GNU C" >&5
697
 
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
698
 
  echo $ac_n "(cached) $ac_c" 1>&6
699
 
else
700
 
  cat > conftest.c <<EOF
701
 
#ifdef __GNUC__
702
 
  yes;
 
1698
fi
 
1699
echo "$as_me:$LINENO: result: yes" >&5
 
1700
echo "${ECHO_T}yes" >&6
 
1701
 
 
1702
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
1703
ac_clean_files=$ac_clean_files_save
 
1704
# Check the compiler produces executables we can run.  If not, either
 
1705
# the compiler is broken, or we cross compile.
 
1706
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
1707
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
1708
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
1709
echo "${ECHO_T}$cross_compiling" >&6
 
1710
 
 
1711
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
1712
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
1713
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
1714
  (eval $ac_link) 2>&5
 
1715
  ac_status=$?
 
1716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1717
  (exit $ac_status); }; then
 
1718
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
1719
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
1720
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
1721
# `rm'.
 
1722
for ac_file in conftest.exe conftest conftest.*; do
 
1723
  test -f "$ac_file" || continue
 
1724
  case $ac_file in
 
1725
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
1726
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1727
          export ac_cv_exeext
 
1728
          break;;
 
1729
    * ) break;;
 
1730
  esac
 
1731
done
 
1732
else
 
1733
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
1734
See \`config.log' for more details." >&5
 
1735
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
1736
See \`config.log' for more details." >&2;}
 
1737
   { (exit 1); exit 1; }; }
 
1738
fi
 
1739
 
 
1740
rm -f conftest$ac_cv_exeext
 
1741
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
1742
echo "${ECHO_T}$ac_cv_exeext" >&6
 
1743
 
 
1744
rm -f conftest.$ac_ext
 
1745
EXEEXT=$ac_cv_exeext
 
1746
ac_exeext=$EXEEXT
 
1747
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
1748
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
1749
if test "${ac_cv_objext+set}" = set; then
 
1750
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1751
else
 
1752
  cat >conftest.$ac_ext <<_ACEOF
 
1753
/* confdefs.h.  */
 
1754
_ACEOF
 
1755
cat confdefs.h >>conftest.$ac_ext
 
1756
cat >>conftest.$ac_ext <<_ACEOF
 
1757
/* end confdefs.h.  */
 
1758
 
 
1759
int
 
1760
main ()
 
1761
{
 
1762
 
 
1763
  ;
 
1764
  return 0;
 
1765
}
 
1766
_ACEOF
 
1767
rm -f conftest.o conftest.obj
 
1768
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
1769
  (eval $ac_compile) 2>&5
 
1770
  ac_status=$?
 
1771
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1772
  (exit $ac_status); }; then
 
1773
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
1774
  case $ac_file in
 
1775
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
1776
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
1777
       break;;
 
1778
  esac
 
1779
done
 
1780
else
 
1781
  echo "$as_me: failed program was:" >&5
 
1782
sed 's/^/| /' conftest.$ac_ext >&5
 
1783
 
 
1784
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
1785
See \`config.log' for more details." >&5
 
1786
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
1787
See \`config.log' for more details." >&2;}
 
1788
   { (exit 1); exit 1; }; }
 
1789
fi
 
1790
 
 
1791
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
1792
fi
 
1793
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
1794
echo "${ECHO_T}$ac_cv_objext" >&6
 
1795
OBJEXT=$ac_cv_objext
 
1796
ac_objext=$OBJEXT
 
1797
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
1798
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
1799
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
1800
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1801
else
 
1802
  cat >conftest.$ac_ext <<_ACEOF
 
1803
/* confdefs.h.  */
 
1804
_ACEOF
 
1805
cat confdefs.h >>conftest.$ac_ext
 
1806
cat >>conftest.$ac_ext <<_ACEOF
 
1807
/* end confdefs.h.  */
 
1808
 
 
1809
int
 
1810
main ()
 
1811
{
 
1812
#ifndef __GNUC__
 
1813
       choke me
703
1814
#endif
704
 
EOF
705
 
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
706
 
  ac_cv_prog_gcc=yes
707
 
else
708
 
  ac_cv_prog_gcc=no
709
 
fi
710
 
fi
711
 
 
712
 
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
713
 
 
714
 
if test $ac_cv_prog_gcc = yes; then
715
 
  GCC=yes
716
 
else
717
 
  GCC=
718
 
fi
719
 
 
720
 
ac_test_CFLAGS="${CFLAGS+set}"
721
 
ac_save_CFLAGS="$CFLAGS"
722
 
CFLAGS=
723
 
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
724
 
echo "configure:725: checking whether ${CC-cc} accepts -g" >&5
725
 
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
726
 
  echo $ac_n "(cached) $ac_c" 1>&6
727
 
else
728
 
  echo 'void f(){}' > conftest.c
729
 
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
 
1815
 
 
1816
  ;
 
1817
  return 0;
 
1818
}
 
1819
_ACEOF
 
1820
rm -f conftest.$ac_objext
 
1821
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
1822
  (eval $ac_compile) 2>conftest.er1
 
1823
  ac_status=$?
 
1824
  grep -v '^ *+' conftest.er1 >conftest.err
 
1825
  rm -f conftest.er1
 
1826
  cat conftest.err >&5
 
1827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1828
  (exit $ac_status); } &&
 
1829
         { ac_try='test -z "$ac_c_werror_flag"
 
1830
                         || test ! -s conftest.err'
 
1831
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1832
  (eval $ac_try) 2>&5
 
1833
  ac_status=$?
 
1834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1835
  (exit $ac_status); }; } &&
 
1836
         { ac_try='test -s conftest.$ac_objext'
 
1837
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1838
  (eval $ac_try) 2>&5
 
1839
  ac_status=$?
 
1840
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1841
  (exit $ac_status); }; }; then
 
1842
  ac_compiler_gnu=yes
 
1843
else
 
1844
  echo "$as_me: failed program was:" >&5
 
1845
sed 's/^/| /' conftest.$ac_ext >&5
 
1846
 
 
1847
ac_compiler_gnu=no
 
1848
fi
 
1849
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
1850
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
1851
 
 
1852
fi
 
1853
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
1854
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
1855
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
1856
ac_test_CFLAGS=${CFLAGS+set}
 
1857
ac_save_CFLAGS=$CFLAGS
 
1858
CFLAGS="-g"
 
1859
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
1860
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
1861
if test "${ac_cv_prog_cc_g+set}" = set; then
 
1862
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1863
else
 
1864
  cat >conftest.$ac_ext <<_ACEOF
 
1865
/* confdefs.h.  */
 
1866
_ACEOF
 
1867
cat confdefs.h >>conftest.$ac_ext
 
1868
cat >>conftest.$ac_ext <<_ACEOF
 
1869
/* end confdefs.h.  */
 
1870
 
 
1871
int
 
1872
main ()
 
1873
{
 
1874
 
 
1875
  ;
 
1876
  return 0;
 
1877
}
 
1878
_ACEOF
 
1879
rm -f conftest.$ac_objext
 
1880
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
1881
  (eval $ac_compile) 2>conftest.er1
 
1882
  ac_status=$?
 
1883
  grep -v '^ *+' conftest.er1 >conftest.err
 
1884
  rm -f conftest.er1
 
1885
  cat conftest.err >&5
 
1886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1887
  (exit $ac_status); } &&
 
1888
         { ac_try='test -z "$ac_c_werror_flag"
 
1889
                         || test ! -s conftest.err'
 
1890
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1891
  (eval $ac_try) 2>&5
 
1892
  ac_status=$?
 
1893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1894
  (exit $ac_status); }; } &&
 
1895
         { ac_try='test -s conftest.$ac_objext'
 
1896
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1897
  (eval $ac_try) 2>&5
 
1898
  ac_status=$?
 
1899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1900
  (exit $ac_status); }; }; then
730
1901
  ac_cv_prog_cc_g=yes
731
1902
else
732
 
  ac_cv_prog_cc_g=no
733
 
fi
734
 
rm -f conftest*
735
 
 
736
 
fi
737
 
 
738
 
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
 
1903
  echo "$as_me: failed program was:" >&5
 
1904
sed 's/^/| /' conftest.$ac_ext >&5
 
1905
 
 
1906
ac_cv_prog_cc_g=no
 
1907
fi
 
1908
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
1909
fi
 
1910
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
1911
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
739
1912
if test "$ac_test_CFLAGS" = set; then
740
 
  CFLAGS="$ac_save_CFLAGS"
 
1913
  CFLAGS=$ac_save_CFLAGS
741
1914
elif test $ac_cv_prog_cc_g = yes; then
742
1915
  if test "$GCC" = yes; then
743
1916
    CFLAGS="-g -O2"
751
1924
    CFLAGS=
752
1925
  fi
753
1926
fi
754
 
 
755
 
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
756
 
echo "configure:757: checking how to run the C preprocessor" >&5
 
1927
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
1928
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
1929
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
1930
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1931
else
 
1932
  ac_cv_prog_cc_stdc=no
 
1933
ac_save_CC=$CC
 
1934
cat >conftest.$ac_ext <<_ACEOF
 
1935
/* confdefs.h.  */
 
1936
_ACEOF
 
1937
cat confdefs.h >>conftest.$ac_ext
 
1938
cat >>conftest.$ac_ext <<_ACEOF
 
1939
/* end confdefs.h.  */
 
1940
#include <stdarg.h>
 
1941
#include <stdio.h>
 
1942
#include <sys/types.h>
 
1943
#include <sys/stat.h>
 
1944
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
1945
struct buf { int x; };
 
1946
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
1947
static char *e (p, i)
 
1948
     char **p;
 
1949
     int i;
 
1950
{
 
1951
  return p[i];
 
1952
}
 
1953
static char *f (char * (*g) (char **, int), char **p, ...)
 
1954
{
 
1955
  char *s;
 
1956
  va_list v;
 
1957
  va_start (v,p);
 
1958
  s = g (p, va_arg (v,int));
 
1959
  va_end (v);
 
1960
  return s;
 
1961
}
 
1962
 
 
1963
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
1964
   function prototypes and stuff, but not '\xHH' hex character constants.
 
1965
   These don't provoke an error unfortunately, instead are silently treated
 
1966
   as 'x'.  The following induces an error, until -std1 is added to get
 
1967
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
1968
   array size at least.  It's necessary to write '\x00'==0 to get something
 
1969
   that's true only with -std1.  */
 
1970
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
1971
 
 
1972
int test (int i, double x);
 
1973
struct s1 {int (*f) (int a);};
 
1974
struct s2 {int (*f) (double a);};
 
1975
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
1976
int argc;
 
1977
char **argv;
 
1978
int
 
1979
main ()
 
1980
{
 
1981
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
1982
  ;
 
1983
  return 0;
 
1984
}
 
1985
_ACEOF
 
1986
# Don't try gcc -ansi; that turns off useful extensions and
 
1987
# breaks some systems' header files.
 
1988
# AIX                   -qlanglvl=ansi
 
1989
# Ultrix and OSF/1      -std1
 
1990
# HP-UX 10.20 and later -Ae
 
1991
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
1992
# SVR4                  -Xc -D__EXTENSIONS__
 
1993
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
1994
do
 
1995
  CC="$ac_save_CC $ac_arg"
 
1996
  rm -f conftest.$ac_objext
 
1997
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
1998
  (eval $ac_compile) 2>conftest.er1
 
1999
  ac_status=$?
 
2000
  grep -v '^ *+' conftest.er1 >conftest.err
 
2001
  rm -f conftest.er1
 
2002
  cat conftest.err >&5
 
2003
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2004
  (exit $ac_status); } &&
 
2005
         { ac_try='test -z "$ac_c_werror_flag"
 
2006
                         || test ! -s conftest.err'
 
2007
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2008
  (eval $ac_try) 2>&5
 
2009
  ac_status=$?
 
2010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2011
  (exit $ac_status); }; } &&
 
2012
         { ac_try='test -s conftest.$ac_objext'
 
2013
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2014
  (eval $ac_try) 2>&5
 
2015
  ac_status=$?
 
2016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2017
  (exit $ac_status); }; }; then
 
2018
  ac_cv_prog_cc_stdc=$ac_arg
 
2019
break
 
2020
else
 
2021
  echo "$as_me: failed program was:" >&5
 
2022
sed 's/^/| /' conftest.$ac_ext >&5
 
2023
 
 
2024
fi
 
2025
rm -f conftest.err conftest.$ac_objext
 
2026
done
 
2027
rm -f conftest.$ac_ext conftest.$ac_objext
 
2028
CC=$ac_save_CC
 
2029
 
 
2030
fi
 
2031
 
 
2032
case "x$ac_cv_prog_cc_stdc" in
 
2033
  x|xno)
 
2034
    echo "$as_me:$LINENO: result: none needed" >&5
 
2035
echo "${ECHO_T}none needed" >&6 ;;
 
2036
  *)
 
2037
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2038
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2039
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2040
esac
 
2041
 
 
2042
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2043
# in C++ we need to declare it.  In case someone uses the same compiler
 
2044
# for both compiling C and C++ we need to have the C++ compiler decide
 
2045
# the declaration of exit, since it's the most demanding environment.
 
2046
cat >conftest.$ac_ext <<_ACEOF
 
2047
#ifndef __cplusplus
 
2048
  choke me
 
2049
#endif
 
2050
_ACEOF
 
2051
rm -f conftest.$ac_objext
 
2052
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2053
  (eval $ac_compile) 2>conftest.er1
 
2054
  ac_status=$?
 
2055
  grep -v '^ *+' conftest.er1 >conftest.err
 
2056
  rm -f conftest.er1
 
2057
  cat conftest.err >&5
 
2058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2059
  (exit $ac_status); } &&
 
2060
         { ac_try='test -z "$ac_c_werror_flag"
 
2061
                         || test ! -s conftest.err'
 
2062
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2063
  (eval $ac_try) 2>&5
 
2064
  ac_status=$?
 
2065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2066
  (exit $ac_status); }; } &&
 
2067
         { ac_try='test -s conftest.$ac_objext'
 
2068
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2069
  (eval $ac_try) 2>&5
 
2070
  ac_status=$?
 
2071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2072
  (exit $ac_status); }; }; then
 
2073
  for ac_declaration in \
 
2074
   '' \
 
2075
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2076
   'extern "C" void std::exit (int); using std::exit;' \
 
2077
   'extern "C" void exit (int) throw ();' \
 
2078
   'extern "C" void exit (int);' \
 
2079
   'void exit (int);'
 
2080
do
 
2081
  cat >conftest.$ac_ext <<_ACEOF
 
2082
/* confdefs.h.  */
 
2083
_ACEOF
 
2084
cat confdefs.h >>conftest.$ac_ext
 
2085
cat >>conftest.$ac_ext <<_ACEOF
 
2086
/* end confdefs.h.  */
 
2087
$ac_declaration
 
2088
#include <stdlib.h>
 
2089
int
 
2090
main ()
 
2091
{
 
2092
exit (42);
 
2093
  ;
 
2094
  return 0;
 
2095
}
 
2096
_ACEOF
 
2097
rm -f conftest.$ac_objext
 
2098
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2099
  (eval $ac_compile) 2>conftest.er1
 
2100
  ac_status=$?
 
2101
  grep -v '^ *+' conftest.er1 >conftest.err
 
2102
  rm -f conftest.er1
 
2103
  cat conftest.err >&5
 
2104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2105
  (exit $ac_status); } &&
 
2106
         { ac_try='test -z "$ac_c_werror_flag"
 
2107
                         || test ! -s conftest.err'
 
2108
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2109
  (eval $ac_try) 2>&5
 
2110
  ac_status=$?
 
2111
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2112
  (exit $ac_status); }; } &&
 
2113
         { ac_try='test -s conftest.$ac_objext'
 
2114
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2115
  (eval $ac_try) 2>&5
 
2116
  ac_status=$?
 
2117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2118
  (exit $ac_status); }; }; then
 
2119
  :
 
2120
else
 
2121
  echo "$as_me: failed program was:" >&5
 
2122
sed 's/^/| /' conftest.$ac_ext >&5
 
2123
 
 
2124
continue
 
2125
fi
 
2126
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2127
  cat >conftest.$ac_ext <<_ACEOF
 
2128
/* confdefs.h.  */
 
2129
_ACEOF
 
2130
cat confdefs.h >>conftest.$ac_ext
 
2131
cat >>conftest.$ac_ext <<_ACEOF
 
2132
/* end confdefs.h.  */
 
2133
$ac_declaration
 
2134
int
 
2135
main ()
 
2136
{
 
2137
exit (42);
 
2138
  ;
 
2139
  return 0;
 
2140
}
 
2141
_ACEOF
 
2142
rm -f conftest.$ac_objext
 
2143
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2144
  (eval $ac_compile) 2>conftest.er1
 
2145
  ac_status=$?
 
2146
  grep -v '^ *+' conftest.er1 >conftest.err
 
2147
  rm -f conftest.er1
 
2148
  cat conftest.err >&5
 
2149
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2150
  (exit $ac_status); } &&
 
2151
         { ac_try='test -z "$ac_c_werror_flag"
 
2152
                         || test ! -s conftest.err'
 
2153
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2154
  (eval $ac_try) 2>&5
 
2155
  ac_status=$?
 
2156
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2157
  (exit $ac_status); }; } &&
 
2158
         { ac_try='test -s conftest.$ac_objext'
 
2159
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2160
  (eval $ac_try) 2>&5
 
2161
  ac_status=$?
 
2162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2163
  (exit $ac_status); }; }; then
 
2164
  break
 
2165
else
 
2166
  echo "$as_me: failed program was:" >&5
 
2167
sed 's/^/| /' conftest.$ac_ext >&5
 
2168
 
 
2169
fi
 
2170
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2171
done
 
2172
rm -f conftest*
 
2173
if test -n "$ac_declaration"; then
 
2174
  echo '#ifdef __cplusplus' >>confdefs.h
 
2175
  echo $ac_declaration      >>confdefs.h
 
2176
  echo '#endif'             >>confdefs.h
 
2177
fi
 
2178
 
 
2179
else
 
2180
  echo "$as_me: failed program was:" >&5
 
2181
sed 's/^/| /' conftest.$ac_ext >&5
 
2182
 
 
2183
fi
 
2184
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2185
ac_ext=c
 
2186
ac_cpp='$CPP $CPPFLAGS'
 
2187
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2188
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2189
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2190
 
 
2191
ac_ext=c
 
2192
ac_cpp='$CPP $CPPFLAGS'
 
2193
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2194
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2195
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2196
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
2197
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
757
2198
# On Suns, sometimes $CPP names a directory.
758
2199
if test -n "$CPP" && test -d "$CPP"; then
759
2200
  CPP=
760
2201
fi
761
2202
if test -z "$CPP"; then
762
 
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
763
 
  echo $ac_n "(cached) $ac_c" 1>&6
764
 
else
765
 
    # This must be in double quotes, not single quotes, because CPP may get
766
 
  # substituted into the Makefile and "${CC-cc}" will confuse make.
767
 
  CPP="${CC-cc} -E"
768
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
769
 
  # not just through cpp.
770
 
  cat > conftest.$ac_ext <<EOF
771
 
#line 772 "configure"
772
 
#include "confdefs.h"
773
 
#include <assert.h>
774
 
Syntax Error
775
 
EOF
776
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
777
 
{ (eval echo configure:778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
778
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
779
 
if test -z "$ac_err"; then
780
 
  :
781
 
else
782
 
  echo "$ac_err" >&5
783
 
  echo "configure: failed program was:" >&5
784
 
  cat conftest.$ac_ext >&5
785
 
  rm -rf conftest*
786
 
  CPP="${CC-cc} -E -traditional-cpp"
787
 
  cat > conftest.$ac_ext <<EOF
788
 
#line 789 "configure"
789
 
#include "confdefs.h"
790
 
#include <assert.h>
791
 
Syntax Error
792
 
EOF
793
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
794
 
{ (eval echo configure:795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
795
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
796
 
if test -z "$ac_err"; then
797
 
  :
798
 
else
799
 
  echo "$ac_err" >&5
800
 
  echo "configure: failed program was:" >&5
801
 
  cat conftest.$ac_ext >&5
802
 
  rm -rf conftest*
803
 
  CPP="${CC-cc} -nologo -E"
804
 
  cat > conftest.$ac_ext <<EOF
805
 
#line 806 "configure"
806
 
#include "confdefs.h"
807
 
#include <assert.h>
808
 
Syntax Error
809
 
EOF
810
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
811
 
{ (eval echo configure:812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
812
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
813
 
if test -z "$ac_err"; then
814
 
  :
815
 
else
816
 
  echo "$ac_err" >&5
817
 
  echo "configure: failed program was:" >&5
818
 
  cat conftest.$ac_ext >&5
819
 
  rm -rf conftest*
820
 
  CPP=/lib/cpp
821
 
fi
822
 
rm -f conftest*
823
 
fi
824
 
rm -f conftest*
825
 
fi
826
 
rm -f conftest*
827
 
  ac_cv_prog_CPP="$CPP"
828
 
fi
829
 
  CPP="$ac_cv_prog_CPP"
830
 
else
831
 
  ac_cv_prog_CPP="$CPP"
832
 
fi
833
 
echo "$ac_t""$CPP" 1>&6
 
2203
  if test "${ac_cv_prog_CPP+set}" = set; then
 
2204
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2205
else
 
2206
      # Double quotes because CPP needs to be expanded
 
2207
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
2208
    do
 
2209
      ac_preproc_ok=false
 
2210
for ac_c_preproc_warn_flag in '' yes
 
2211
do
 
2212
  # Use a header file that comes with gcc, so configuring glibc
 
2213
  # with a fresh cross-compiler works.
 
2214
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2215
  # <limits.h> exists even on freestanding compilers.
 
2216
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2217
  # not just through cpp. "Syntax error" is here to catch this case.
 
2218
  cat >conftest.$ac_ext <<_ACEOF
 
2219
/* confdefs.h.  */
 
2220
_ACEOF
 
2221
cat confdefs.h >>conftest.$ac_ext
 
2222
cat >>conftest.$ac_ext <<_ACEOF
 
2223
/* end confdefs.h.  */
 
2224
#ifdef __STDC__
 
2225
# include <limits.h>
 
2226
#else
 
2227
# include <assert.h>
 
2228
#endif
 
2229
                     Syntax error
 
2230
_ACEOF
 
2231
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2232
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2233
  ac_status=$?
 
2234
  grep -v '^ *+' conftest.er1 >conftest.err
 
2235
  rm -f conftest.er1
 
2236
  cat conftest.err >&5
 
2237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2238
  (exit $ac_status); } >/dev/null; then
 
2239
  if test -s conftest.err; then
 
2240
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2241
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2242
  else
 
2243
    ac_cpp_err=
 
2244
  fi
 
2245
else
 
2246
  ac_cpp_err=yes
 
2247
fi
 
2248
if test -z "$ac_cpp_err"; then
 
2249
  :
 
2250
else
 
2251
  echo "$as_me: failed program was:" >&5
 
2252
sed 's/^/| /' conftest.$ac_ext >&5
 
2253
 
 
2254
  # Broken: fails on valid input.
 
2255
continue
 
2256
fi
 
2257
rm -f conftest.err conftest.$ac_ext
 
2258
 
 
2259
  # OK, works on sane cases.  Now check whether non-existent headers
 
2260
  # can be detected and how.
 
2261
  cat >conftest.$ac_ext <<_ACEOF
 
2262
/* confdefs.h.  */
 
2263
_ACEOF
 
2264
cat confdefs.h >>conftest.$ac_ext
 
2265
cat >>conftest.$ac_ext <<_ACEOF
 
2266
/* end confdefs.h.  */
 
2267
#include <ac_nonexistent.h>
 
2268
_ACEOF
 
2269
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2270
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2271
  ac_status=$?
 
2272
  grep -v '^ *+' conftest.er1 >conftest.err
 
2273
  rm -f conftest.er1
 
2274
  cat conftest.err >&5
 
2275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2276
  (exit $ac_status); } >/dev/null; then
 
2277
  if test -s conftest.err; then
 
2278
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2279
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2280
  else
 
2281
    ac_cpp_err=
 
2282
  fi
 
2283
else
 
2284
  ac_cpp_err=yes
 
2285
fi
 
2286
if test -z "$ac_cpp_err"; then
 
2287
  # Broken: success on invalid input.
 
2288
continue
 
2289
else
 
2290
  echo "$as_me: failed program was:" >&5
 
2291
sed 's/^/| /' conftest.$ac_ext >&5
 
2292
 
 
2293
  # Passes both tests.
 
2294
ac_preproc_ok=:
 
2295
break
 
2296
fi
 
2297
rm -f conftest.err conftest.$ac_ext
 
2298
 
 
2299
done
 
2300
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2301
rm -f conftest.err conftest.$ac_ext
 
2302
if $ac_preproc_ok; then
 
2303
  break
 
2304
fi
 
2305
 
 
2306
    done
 
2307
    ac_cv_prog_CPP=$CPP
 
2308
 
 
2309
fi
 
2310
  CPP=$ac_cv_prog_CPP
 
2311
else
 
2312
  ac_cv_prog_CPP=$CPP
 
2313
fi
 
2314
echo "$as_me:$LINENO: result: $CPP" >&5
 
2315
echo "${ECHO_T}$CPP" >&6
 
2316
ac_preproc_ok=false
 
2317
for ac_c_preproc_warn_flag in '' yes
 
2318
do
 
2319
  # Use a header file that comes with gcc, so configuring glibc
 
2320
  # with a fresh cross-compiler works.
 
2321
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2322
  # <limits.h> exists even on freestanding compilers.
 
2323
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2324
  # not just through cpp. "Syntax error" is here to catch this case.
 
2325
  cat >conftest.$ac_ext <<_ACEOF
 
2326
/* confdefs.h.  */
 
2327
_ACEOF
 
2328
cat confdefs.h >>conftest.$ac_ext
 
2329
cat >>conftest.$ac_ext <<_ACEOF
 
2330
/* end confdefs.h.  */
 
2331
#ifdef __STDC__
 
2332
# include <limits.h>
 
2333
#else
 
2334
# include <assert.h>
 
2335
#endif
 
2336
                     Syntax error
 
2337
_ACEOF
 
2338
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2339
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2340
  ac_status=$?
 
2341
  grep -v '^ *+' conftest.er1 >conftest.err
 
2342
  rm -f conftest.er1
 
2343
  cat conftest.err >&5
 
2344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2345
  (exit $ac_status); } >/dev/null; then
 
2346
  if test -s conftest.err; then
 
2347
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2348
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2349
  else
 
2350
    ac_cpp_err=
 
2351
  fi
 
2352
else
 
2353
  ac_cpp_err=yes
 
2354
fi
 
2355
if test -z "$ac_cpp_err"; then
 
2356
  :
 
2357
else
 
2358
  echo "$as_me: failed program was:" >&5
 
2359
sed 's/^/| /' conftest.$ac_ext >&5
 
2360
 
 
2361
  # Broken: fails on valid input.
 
2362
continue
 
2363
fi
 
2364
rm -f conftest.err conftest.$ac_ext
 
2365
 
 
2366
  # OK, works on sane cases.  Now check whether non-existent headers
 
2367
  # can be detected and how.
 
2368
  cat >conftest.$ac_ext <<_ACEOF
 
2369
/* confdefs.h.  */
 
2370
_ACEOF
 
2371
cat confdefs.h >>conftest.$ac_ext
 
2372
cat >>conftest.$ac_ext <<_ACEOF
 
2373
/* end confdefs.h.  */
 
2374
#include <ac_nonexistent.h>
 
2375
_ACEOF
 
2376
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
2377
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2378
  ac_status=$?
 
2379
  grep -v '^ *+' conftest.er1 >conftest.err
 
2380
  rm -f conftest.er1
 
2381
  cat conftest.err >&5
 
2382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2383
  (exit $ac_status); } >/dev/null; then
 
2384
  if test -s conftest.err; then
 
2385
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2386
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
2387
  else
 
2388
    ac_cpp_err=
 
2389
  fi
 
2390
else
 
2391
  ac_cpp_err=yes
 
2392
fi
 
2393
if test -z "$ac_cpp_err"; then
 
2394
  # Broken: success on invalid input.
 
2395
continue
 
2396
else
 
2397
  echo "$as_me: failed program was:" >&5
 
2398
sed 's/^/| /' conftest.$ac_ext >&5
 
2399
 
 
2400
  # Passes both tests.
 
2401
ac_preproc_ok=:
 
2402
break
 
2403
fi
 
2404
rm -f conftest.err conftest.$ac_ext
 
2405
 
 
2406
done
 
2407
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
2408
rm -f conftest.err conftest.$ac_ext
 
2409
if $ac_preproc_ok; then
 
2410
  :
 
2411
else
 
2412
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
2413
See \`config.log' for more details." >&5
 
2414
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
2415
See \`config.log' for more details." >&2;}
 
2416
   { (exit 1); exit 1; }; }
 
2417
fi
 
2418
 
 
2419
ac_ext=c
 
2420
ac_cpp='$CPP $CPPFLAGS'
 
2421
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2422
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2423
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2424
 
834
2425
 
835
2426
 
836
2427
# Check whether --with-iodbc-include-dir or --without-iodbc-include-dir was given.
837
2428
if test "${with_iodbc_include_dir+set}" = set; then
838
2429
  withval="$with_iodbc_include_dir"
839
 
   iodbc_include_dir="$withval" 
 
2430
   iodbc_include_dir="$withval"
840
2431
 
841
 
fi
 
2432
fi;
842
2433
 
843
2434
 
844
2435
# Check whether --with-iodbc-lib-dir or --without-iodbc-lib-dir was given.
845
2436
if test "${with_iodbc_lib_dir+set}" = set; then
846
2437
  withval="$with_iodbc_lib_dir"
847
 
   iodbc_lib_dir="$withval" 
 
2438
   iodbc_lib_dir="$withval"
848
2439
 
849
 
fi
 
2440
fi;
850
2441
 
851
2442
 
852
2443
# Check whether --with-iodbc-dir or --without-iodbc-dir was given.
856
2447
  iodbc_include_dir="$withval/include"
857
2448
 
858
2449
 
859
 
fi
860
 
 
 
2450
fi;
861
2451
 
862
2452
if test x$with_rlm_sql_iodbc != xno; then
863
2453
 
864
2454
        targetname=rlm_sql_iodbc   # we might change this later.
865
2455
 
866
 
        echo $ac_n "checking for isql.h""... $ac_c" 1>&6
867
 
echo "configure:868: checking for isql.h" >&5
868
 
 
869
 
        cat > conftest.$ac_ext <<EOF
870
 
#line 871 "configure"
871
 
#include "confdefs.h"
 
2456
        echo "$as_me:$LINENO: checking for isql.h" >&5
 
2457
echo $ECHO_N "checking for isql.h... $ECHO_C" >&6
 
2458
 
 
2459
 
 
2460
cat >conftest.$ac_ext <<_ACEOF
 
2461
/* confdefs.h.  */
 
2462
_ACEOF
 
2463
cat confdefs.h >>conftest.$ac_ext
 
2464
cat >>conftest.$ac_ext <<_ACEOF
 
2465
/* end confdefs.h.  */
872
2466
#include <isql.h>
873
 
int main() {
 
2467
int
 
2468
main ()
 
2469
{
874
2470
int a = 1;
875
 
; return 0; }
876
 
EOF
877
 
if { (eval echo configure:878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
878
 
  rm -rf conftest*
 
2471
  ;
 
2472
  return 0;
 
2473
}
 
2474
_ACEOF
 
2475
rm -f conftest.$ac_objext
 
2476
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2477
  (eval $ac_compile) 2>conftest.er1
 
2478
  ac_status=$?
 
2479
  grep -v '^ *+' conftest.er1 >conftest.err
 
2480
  rm -f conftest.er1
 
2481
  cat conftest.err >&5
 
2482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2483
  (exit $ac_status); } &&
 
2484
         { ac_try='test -z "$ac_c_werror_flag"
 
2485
                         || test ! -s conftest.err'
 
2486
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2487
  (eval $ac_try) 2>&5
 
2488
  ac_status=$?
 
2489
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2490
  (exit $ac_status); }; } &&
 
2491
         { ac_try='test -s conftest.$ac_objext'
 
2492
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2493
  (eval $ac_try) 2>&5
 
2494
  ac_status=$?
 
2495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2496
  (exit $ac_status); }; }; then
879
2497
  IODBC_INCLUDE=" "
880
2498
else
881
 
  echo "configure: failed program was:" >&5
882
 
  cat conftest.$ac_ext >&5
883
 
  rm -rf conftest*
884
 
  IODBC_INCLUDE=
885
 
        
 
2499
  echo "$as_me: failed program was:" >&5
 
2500
sed 's/^/| /' conftest.$ac_ext >&5
 
2501
 
 
2502
IODBC_INCLUDE=
 
2503
 
886
2504
fi
887
 
rm -f conftest*
 
2505
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
888
2506
 
889
2507
        if test "x$IODBC_INCLUDE" = "x"; then
890
2508
                old_CFLAGS="$CFLAGS"
892
2510
 
893
2511
                for try in /usr/local/include /usr/local/iodbc/include $iodbc_include_dir; do
894
2512
                        CFLAGS="$old_CFLAGS -I$try"
895
 
                        cat > conftest.$ac_ext <<EOF
896
 
#line 897 "configure"
897
 
#include "confdefs.h"
 
2513
                        cat >conftest.$ac_ext <<_ACEOF
 
2514
/* confdefs.h.  */
 
2515
_ACEOF
 
2516
cat confdefs.h >>conftest.$ac_ext
 
2517
cat >>conftest.$ac_ext <<_ACEOF
 
2518
/* end confdefs.h.  */
898
2519
#include <isql.h>
899
 
int main() {
 
2520
int
 
2521
main ()
 
2522
{
900
2523
int a = 1;
901
 
; return 0; }
902
 
EOF
903
 
if { (eval echo configure:904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
904
 
  rm -rf conftest*
 
2524
  ;
 
2525
  return 0;
 
2526
}
 
2527
_ACEOF
 
2528
rm -f conftest.$ac_objext
 
2529
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2530
  (eval $ac_compile) 2>conftest.er1
 
2531
  ac_status=$?
 
2532
  grep -v '^ *+' conftest.er1 >conftest.err
 
2533
  rm -f conftest.er1
 
2534
  cat conftest.err >&5
 
2535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2536
  (exit $ac_status); } &&
 
2537
         { ac_try='test -z "$ac_c_werror_flag"
 
2538
                         || test ! -s conftest.err'
 
2539
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2540
  (eval $ac_try) 2>&5
 
2541
  ac_status=$?
 
2542
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2543
  (exit $ac_status); }; } &&
 
2544
         { ac_try='test -s conftest.$ac_objext'
 
2545
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2546
  (eval $ac_try) 2>&5
 
2547
  ac_status=$?
 
2548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2549
  (exit $ac_status); }; }; then
905
2550
  IODBC_INCLUDE="-I$try"
906
2551
else
907
 
  echo "configure: failed program was:" >&5
908
 
  cat conftest.$ac_ext >&5
909
 
  rm -rf conftest*
910
 
  IODBC_INCLUDE=
911
 
                        
 
2552
  echo "$as_me: failed program was:" >&5
 
2553
sed 's/^/| /' conftest.$ac_ext >&5
 
2554
 
 
2555
IODBC_INCLUDE=
 
2556
 
912
2557
fi
913
 
rm -f conftest*
 
2558
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
914
2559
                        if test "x$IODBC_INCLUDE" != "x"; then
915
2560
                                break;
916
2561
                        fi
919
2564
        fi
920
2565
 
921
2566
        if test "x$IODBC_INCLUDE" = "x"; then
922
 
                echo "$ac_t""no" 1>&6
923
 
                echo "configure: warning: iodbc headers not found.  Use --with-iodbc-include-dir=<path>." 1>&2
 
2567
                echo "$as_me:$LINENO: result: no" >&5
 
2568
echo "${ECHO_T}no" >&6
 
2569
                { echo "$as_me:$LINENO: WARNING: iodbc headers not found.  Use --with-iodbc-include-dir=<path>." >&5
 
2570
echo "$as_me: WARNING: iodbc headers not found.  Use --with-iodbc-include-dir=<path>." >&2;}
924
2571
                targetname=   # disabled module
925
2572
        else
926
2573
                sql_iodbc_cflags="${sql_iodbc_cflags} ${IODBC_INCLUDE}"
927
 
                echo "$ac_t""yes" 1>&6
928
 
                cat >> confdefs.h <<\EOF
 
2574
                echo "$as_me:$LINENO: result: yes" >&5
 
2575
echo "${ECHO_T}yes" >&6
 
2576
                cat >>confdefs.h <<\_ACEOF
929
2577
#define HAVE_IODBC_H 1
930
 
EOF
931
 
 
932
 
 
933
 
  
934
 
                echo $ac_n "checking for SQLConnect in -liodbc""... $ac_c" 1>&6
935
 
echo "configure:936: checking for SQLConnect in -liodbc" >&5
 
2578
_ACEOF
 
2579
 
 
2580
 
 
2581
 
 
2582
                echo "$as_me:$LINENO: checking for SQLConnect in -liodbc" >&5
 
2583
echo $ECHO_N "checking for SQLConnect in -liodbc... $ECHO_C" >&6
936
2584
 
937
2585
                old_LIBS="$LIBS"
938
2586
 
939
2587
 
940
2588
                for try in /usr/lib /usr/lib/iodbc /usr/local/lib/iodbc /usr/local/iodbc/lib/iodbc $iodbc_lib_dir; do
941
2589
                        LIBS="$old_LIBS -L$try -liodbc"
942
 
                        cat > conftest.$ac_ext <<EOF
943
 
#line 944 "configure"
944
 
#include "confdefs.h"
 
2590
                        cat >conftest.$ac_ext <<_ACEOF
 
2591
/* confdefs.h.  */
 
2592
_ACEOF
 
2593
cat confdefs.h >>conftest.$ac_ext
 
2594
cat >>conftest.$ac_ext <<_ACEOF
 
2595
/* end confdefs.h.  */
945
2596
extern char SQLConnect();
946
 
int main() {
 
2597
int
 
2598
main ()
 
2599
{
947
2600
SQLConnect()
948
 
; return 0; }
949
 
EOF
950
 
if { (eval echo configure:951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
951
 
  rm -rf conftest*
 
2601
  ;
 
2602
  return 0;
 
2603
}
 
2604
_ACEOF
 
2605
rm -f conftest.$ac_objext conftest$ac_exeext
 
2606
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2607
  (eval $ac_link) 2>conftest.er1
 
2608
  ac_status=$?
 
2609
  grep -v '^ *+' conftest.er1 >conftest.err
 
2610
  rm -f conftest.er1
 
2611
  cat conftest.err >&5
 
2612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2613
  (exit $ac_status); } &&
 
2614
         { ac_try='test -z "$ac_c_werror_flag"
 
2615
                         || test ! -s conftest.err'
 
2616
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2617
  (eval $ac_try) 2>&5
 
2618
  ac_status=$?
 
2619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2620
  (exit $ac_status); }; } &&
 
2621
         { ac_try='test -s conftest$ac_exeext'
 
2622
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2623
  (eval $ac_try) 2>&5
 
2624
  ac_status=$?
 
2625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2626
  (exit $ac_status); }; }; then
952
2627
  IODBC_LIBS="-L$try -liodbc"
953
2628
else
954
 
  echo "configure: failed program was:" >&5
955
 
  cat conftest.$ac_ext >&5
956
 
  rm -rf conftest*
957
 
  IODBC_LIBS=
958
 
                        
 
2629
  echo "$as_me: failed program was:" >&5
 
2630
sed 's/^/| /' conftest.$ac_ext >&5
 
2631
 
 
2632
IODBC_LIBS=
 
2633
 
959
2634
fi
960
 
rm -f conftest*
 
2635
rm -f conftest.err conftest.$ac_objext \
 
2636
      conftest$ac_exeext conftest.$ac_ext
961
2637
                        if test "x$IODBC_LIBS" != "x"; then
962
2638
                                break;
963
2639
                        fi
965
2641
                LIBS="$old_LIBS"
966
2642
 
967
2643
                                                if test "x$IODBC_LIBS" = "x"; then
968
 
                        echo "$ac_t""no" 1>&6
 
2644
                        echo "$as_me:$LINENO: result: no" >&5
 
2645
echo "${ECHO_T}no" >&6
969
2646
                        IODBC_INCLUDE=
970
 
                        echo "configure: warning: iodbc libraries not found.  Use --with-iodbc-lib-dir=<path>." 1>&2
 
2647
                        { echo "$as_me:$LINENO: WARNING: iodbc libraries not found.  Use --with-iodbc-lib-dir=<path>." >&5
 
2648
echo "$as_me: WARNING: iodbc libraries not found.  Use --with-iodbc-lib-dir=<path>." >&2;}
971
2649
                        targetname=   # disabled module
972
2650
                else
973
 
                        echo "$ac_t""yes" 1>&6 
 
2651
                        echo "$as_me:$LINENO: result: yes" >&5
 
2652
echo "${ECHO_T}yes" >&6
974
2653
                        sql_iodbc_ldflags="$sql_iodbc_ldflags $IODBC_LIBS"
975
2654
                fi
976
2655
        fi
978
2657
        sql_iodbc_ldflags="$sql_iodbc_ldflags $LIBS"
979
2658
 
980
2659
        if test "x$targetname" = "x"; then
981
 
                echo "configure: warning: sql submodule 'iodbc' disabled" 1>&2
 
2660
                { echo "$as_me:$LINENO: WARNING: sql submodule 'iodbc' disabled" >&5
 
2661
echo "$as_me: WARNING: sql submodule 'iodbc' disabled" >&2;}
982
2662
        fi
983
2663
 
984
2664
else
989
2669
 
990
2670
 
991
2671
 
992
 
trap '' 1 2 15
993
 
cat > confcache <<\EOF
 
2672
          ac_config_files="$ac_config_files Makefile"
 
2673
cat >confcache <<\_ACEOF
994
2674
# This file is a shell script that caches the results of configure
995
2675
# tests run on this system so they can be shared between configure
996
 
# scripts and configure runs.  It is not useful on other systems.
997
 
# If it contains results you don't want to keep, you may remove or edit it.
998
 
#
999
 
# By default, configure uses ./config.cache as the cache file,
1000
 
# creating it if it does not exist already.  You can give configure
1001
 
# the --cache-file=FILE option to use a different cache file; that is
1002
 
# what configure does when it calls configure scripts in
1003
 
# subdirectories, so they share the cache.
1004
 
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1005
 
# config.status only pays attention to the cache file if you give it the
1006
 
# --recheck option to rerun configure.
1007
 
#
1008
 
EOF
 
2676
# scripts and configure runs, see configure's option --config-cache.
 
2677
# It is not useful on other systems.  If it contains results you don't
 
2678
# want to keep, you may remove or edit it.
 
2679
#
 
2680
# config.status only pays attention to the cache file if you give it
 
2681
# the --recheck option to rerun configure.
 
2682
#
 
2683
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
2684
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
2685
# following values.
 
2686
 
 
2687
_ACEOF
 
2688
 
1009
2689
# The following way of writing the cache mishandles newlines in values,
1010
2690
# but we know of no workaround that is simple, portable, and efficient.
1011
2691
# So, don't put newlines in cache variables' values.
1012
2692
# Ultrix sh set writes to stderr and can't be redirected directly,
1013
2693
# and sets the high bit in the cache file unless we assign to the vars.
1014
 
(set) 2>&1 |
1015
 
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
1016
 
  *ac_space=\ *)
1017
 
    # `set' does not quote correctly, so add quotes (double-quote substitution
1018
 
    # turns \\\\ into \\, and sed turns \\ into \).
1019
 
    sed -n \
1020
 
      -e "s/'/'\\\\''/g" \
1021
 
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1022
 
    ;;
1023
 
  *)
1024
 
    # `set' quotes correctly as required by POSIX, so do not add quotes.
1025
 
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1026
 
    ;;
1027
 
  esac >> confcache
1028
 
if cmp -s $cache_file confcache; then
1029
 
  :
1030
 
else
 
2694
{
 
2695
  (set) 2>&1 |
 
2696
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
2697
    *ac_space=\ *)
 
2698
      # `set' does not quote correctly, so add quotes (double-quote
 
2699
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
2700
      sed -n \
 
2701
        "s/'/'\\\\''/g;
 
2702
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
2703
      ;;
 
2704
    *)
 
2705
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
2706
      sed -n \
 
2707
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
2708
      ;;
 
2709
    esac;
 
2710
} |
 
2711
  sed '
 
2712
     t clear
 
2713
     : clear
 
2714
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
2715
     t end
 
2716
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
2717
     : end' >>confcache
 
2718
if diff $cache_file confcache >/dev/null 2>&1; then :; else
1031
2719
  if test -w $cache_file; then
1032
 
    echo "updating cache $cache_file"
1033
 
    cat confcache > $cache_file
 
2720
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
2721
    cat confcache >$cache_file
1034
2722
  else
1035
2723
    echo "not updating unwritable cache $cache_file"
1036
2724
  fi
1037
2725
fi
1038
2726
rm -f confcache
1039
2727
 
1040
 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1041
 
 
1042
2728
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1043
2729
# Let make expand exec_prefix.
1044
2730
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1045
2731
 
1046
 
# Any assignment to VPATH causes Sun make to only execute
1047
 
# the first set of double-colon rules, so remove it if not needed.
1048
 
# If there is a colon in the path, we need to keep it.
 
2732
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
2733
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
2734
# trailing colons and then remove the whole line if VPATH becomes empty
 
2735
# (actually we leave an empty line to preserve line numbers).
1049
2736
if test "x$srcdir" = x.; then
1050
 
  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
 
2737
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
2738
s/:*\$(srcdir):*/:/;
 
2739
s/:*\${srcdir}:*/:/;
 
2740
s/:*@srcdir@:*/:/;
 
2741
s/^\([^=]*=[     ]*\):*/\1/;
 
2742
s/:*$//;
 
2743
s/^[^=]*=[       ]*$//;
 
2744
}'
1051
2745
fi
1052
2746
 
1053
 
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1054
 
 
1055
2747
# Transform confdefs.h into DEFS.
1056
2748
# Protect against shell expansion while executing Makefile rules.
1057
2749
# Protect against Makefile macro expansion.
1058
 
cat > conftest.defs <<\EOF
1059
 
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1060
 
s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1061
 
s%\[%\\&%g
1062
 
s%\]%\\&%g
1063
 
s%\$%$$%g
1064
 
EOF
1065
 
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1066
 
rm -f conftest.defs
1067
 
 
1068
 
 
1069
 
# Without the "./", some shells look in PATH for config.status.
 
2750
#
 
2751
# If the first sed substitution is executed (which looks for macros that
 
2752
# take arguments), then we branch to the quote section.  Otherwise,
 
2753
# look for a macro that doesn't take arguments.
 
2754
cat >confdef2opt.sed <<\_ACEOF
 
2755
t clear
 
2756
: clear
 
2757
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
2758
t quote
 
2759
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
2760
t quote
 
2761
d
 
2762
: quote
 
2763
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
 
2764
s,\[,\\&,g
 
2765
s,\],\\&,g
 
2766
s,\$,$$,g
 
2767
p
 
2768
_ACEOF
 
2769
# We use echo to avoid assuming a particular line-breaking character.
 
2770
# The extra dot is to prevent the shell from consuming trailing
 
2771
# line-breaks from the sub-command output.  A line-break within
 
2772
# single-quotes doesn't work because, if this script is created in a
 
2773
# platform that uses two characters for line-breaks (e.g., DOS), tr
 
2774
# would break.
 
2775
ac_LF_and_DOT=`echo; echo .`
 
2776
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
 
2777
rm -f confdef2opt.sed
 
2778
 
 
2779
 
 
2780
ac_libobjs=
 
2781
ac_ltlibobjs=
 
2782
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
2783
  # 1. Remove the extension, and $U if already installed.
 
2784
  ac_i=`echo "$ac_i" |
 
2785
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
2786
  # 2. Add them.
 
2787
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
2788
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
2789
done
 
2790
LIBOBJS=$ac_libobjs
 
2791
 
 
2792
LTLIBOBJS=$ac_ltlibobjs
 
2793
 
 
2794
 
 
2795
 
1070
2796
: ${CONFIG_STATUS=./config.status}
1071
 
 
1072
 
echo creating $CONFIG_STATUS
1073
 
rm -f $CONFIG_STATUS
1074
 
cat > $CONFIG_STATUS <<EOF
1075
 
#! /bin/sh
1076
 
# Generated automatically by configure.
 
2797
ac_clean_files_save=$ac_clean_files
 
2798
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
2799
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
2800
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
2801
cat >$CONFIG_STATUS <<_ACEOF
 
2802
#! $SHELL
 
2803
# Generated by $as_me.
1077
2804
# Run this file to recreate the current configuration.
1078
 
# This directory was configured as follows,
1079
 
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1080
 
#
1081
 
# $0 $ac_configure_args
1082
 
#
1083
2805
# Compiler output produced by configure, useful for debugging
1084
 
# configure, is in ./config.log if it exists.
1085
 
 
1086
 
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1087
 
for ac_option
1088
 
do
1089
 
  case "\$ac_option" in
 
2806
# configure, is in config.log if it exists.
 
2807
 
 
2808
debug=false
 
2809
ac_cs_recheck=false
 
2810
ac_cs_silent=false
 
2811
SHELL=\${CONFIG_SHELL-$SHELL}
 
2812
_ACEOF
 
2813
 
 
2814
cat >>$CONFIG_STATUS <<\_ACEOF
 
2815
## --------------------- ##
 
2816
## M4sh Initialization.  ##
 
2817
## --------------------- ##
 
2818
 
 
2819
# Be Bourne compatible
 
2820
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
2821
  emulate sh
 
2822
  NULLCMD=:
 
2823
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
2824
  # is contrary to our usage.  Disable this feature.
 
2825
  alias -g '${1+"$@"}'='"$@"'
 
2826
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
2827
  set -o posix
 
2828
fi
 
2829
DUALCASE=1; export DUALCASE # for MKS sh
 
2830
 
 
2831
# Support unset when possible.
 
2832
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
2833
  as_unset=unset
 
2834
else
 
2835
  as_unset=false
 
2836
fi
 
2837
 
 
2838
 
 
2839
# Work around bugs in pre-3.0 UWIN ksh.
 
2840
$as_unset ENV MAIL MAILPATH
 
2841
PS1='$ '
 
2842
PS2='> '
 
2843
PS4='+ '
 
2844
 
 
2845
# NLS nuisances.
 
2846
for as_var in \
 
2847
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
2848
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
2849
  LC_TELEPHONE LC_TIME
 
2850
do
 
2851
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
2852
    eval $as_var=C; export $as_var
 
2853
  else
 
2854
    $as_unset $as_var
 
2855
  fi
 
2856
done
 
2857
 
 
2858
# Required to use basename.
 
2859
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2860
  as_expr=expr
 
2861
else
 
2862
  as_expr=false
 
2863
fi
 
2864
 
 
2865
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
2866
  as_basename=basename
 
2867
else
 
2868
  as_basename=false
 
2869
fi
 
2870
 
 
2871
 
 
2872
# Name of the executable.
 
2873
as_me=`$as_basename "$0" ||
 
2874
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
2875
         X"$0" : 'X\(//\)$' \| \
 
2876
         X"$0" : 'X\(/\)$' \| \
 
2877
         .     : '\(.\)' 2>/dev/null ||
 
2878
echo X/"$0" |
 
2879
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
2880
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
2881
          /^X\/\(\/\).*/{ s//\1/; q; }
 
2882
          s/.*/./; q'`
 
2883
 
 
2884
 
 
2885
# PATH needs CR, and LINENO needs CR and PATH.
 
2886
# Avoid depending upon Character Ranges.
 
2887
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
2888
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
2889
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
2890
as_cr_digits='0123456789'
 
2891
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
2892
 
 
2893
# The user is always right.
 
2894
if test "${PATH_SEPARATOR+set}" != set; then
 
2895
  echo "#! /bin/sh" >conf$$.sh
 
2896
  echo  "exit 0"   >>conf$$.sh
 
2897
  chmod +x conf$$.sh
 
2898
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
2899
    PATH_SEPARATOR=';'
 
2900
  else
 
2901
    PATH_SEPARATOR=:
 
2902
  fi
 
2903
  rm -f conf$$.sh
 
2904
fi
 
2905
 
 
2906
 
 
2907
  as_lineno_1=$LINENO
 
2908
  as_lineno_2=$LINENO
 
2909
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
2910
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
2911
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
2912
  # Find who we are.  Look in the path if we contain no path at all
 
2913
  # relative or not.
 
2914
  case $0 in
 
2915
    *[\\/]* ) as_myself=$0 ;;
 
2916
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2917
for as_dir in $PATH
 
2918
do
 
2919
  IFS=$as_save_IFS
 
2920
  test -z "$as_dir" && as_dir=.
 
2921
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2922
done
 
2923
 
 
2924
       ;;
 
2925
  esac
 
2926
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
2927
  # in which case we are not to be found in the path.
 
2928
  if test "x$as_myself" = x; then
 
2929
    as_myself=$0
 
2930
  fi
 
2931
  if test ! -f "$as_myself"; then
 
2932
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
2933
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
2934
   { (exit 1); exit 1; }; }
 
2935
  fi
 
2936
  case $CONFIG_SHELL in
 
2937
  '')
 
2938
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2939
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
2940
do
 
2941
  IFS=$as_save_IFS
 
2942
  test -z "$as_dir" && as_dir=.
 
2943
  for as_base in sh bash ksh sh5; do
 
2944
         case $as_dir in
 
2945
         /*)
 
2946
           if ("$as_dir/$as_base" -c '
 
2947
  as_lineno_1=$LINENO
 
2948
  as_lineno_2=$LINENO
 
2949
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
2950
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
2951
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
2952
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
2953
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
2954
             CONFIG_SHELL=$as_dir/$as_base
 
2955
             export CONFIG_SHELL
 
2956
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
2957
           fi;;
 
2958
         esac
 
2959
       done
 
2960
done
 
2961
;;
 
2962
  esac
 
2963
 
 
2964
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
2965
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
2966
  # line-number line before each line; the second 'sed' does the real
 
2967
  # work.  The second script uses 'N' to pair each line-number line
 
2968
  # with the numbered line, and appends trailing '-' during
 
2969
  # substitution so that $LINENO is not a special case at line end.
 
2970
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
2971
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
2972
  sed '=' <$as_myself |
 
2973
    sed '
 
2974
      N
 
2975
      s,$,-,
 
2976
      : loop
 
2977
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
2978
      t loop
 
2979
      s,-$,,
 
2980
      s,^['$as_cr_digits']*\n,,
 
2981
    ' >$as_me.lineno &&
 
2982
  chmod +x $as_me.lineno ||
 
2983
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
2984
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
2985
   { (exit 1); exit 1; }; }
 
2986
 
 
2987
  # Don't try to exec as it changes $[0], causing all sort of problems
 
2988
  # (the dirname of $[0] is not the place where we might find the
 
2989
  # original and so on.  Autoconf is especially sensible to this).
 
2990
  . ./$as_me.lineno
 
2991
  # Exit status is that of the last command.
 
2992
  exit
 
2993
}
 
2994
 
 
2995
 
 
2996
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
2997
  *c*,-n*) ECHO_N= ECHO_C='
 
2998
' ECHO_T='      ' ;;
 
2999
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
3000
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
3001
esac
 
3002
 
 
3003
if expr a : '\(a\)' >/dev/null 2>&1; then
 
3004
  as_expr=expr
 
3005
else
 
3006
  as_expr=false
 
3007
fi
 
3008
 
 
3009
rm -f conf$$ conf$$.exe conf$$.file
 
3010
echo >conf$$.file
 
3011
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
3012
  # We could just check for DJGPP; but this test a) works b) is more generic
 
3013
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
3014
  if test -f conf$$.exe; then
 
3015
    # Don't use ln at all; we don't have any links
 
3016
    as_ln_s='cp -p'
 
3017
  else
 
3018
    as_ln_s='ln -s'
 
3019
  fi
 
3020
elif ln conf$$.file conf$$ 2>/dev/null; then
 
3021
  as_ln_s=ln
 
3022
else
 
3023
  as_ln_s='cp -p'
 
3024
fi
 
3025
rm -f conf$$ conf$$.exe conf$$.file
 
3026
 
 
3027
if mkdir -p . 2>/dev/null; then
 
3028
  as_mkdir_p=:
 
3029
else
 
3030
  test -d ./-p && rmdir ./-p
 
3031
  as_mkdir_p=false
 
3032
fi
 
3033
 
 
3034
as_executable_p="test -f"
 
3035
 
 
3036
# Sed expression to map a string onto a valid CPP name.
 
3037
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
3038
 
 
3039
# Sed expression to map a string onto a valid variable name.
 
3040
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
3041
 
 
3042
 
 
3043
# IFS
 
3044
# We need space, tab and new line, in precisely that order.
 
3045
as_nl='
 
3046
'
 
3047
IFS="   $as_nl"
 
3048
 
 
3049
# CDPATH.
 
3050
$as_unset CDPATH
 
3051
 
 
3052
exec 6>&1
 
3053
 
 
3054
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
3055
# report actual input values of CONFIG_FILES etc. instead of their
 
3056
# values after options handling.  Logging --version etc. is OK.
 
3057
exec 5>>config.log
 
3058
{
 
3059
  echo
 
3060
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
3061
## Running $as_me. ##
 
3062
_ASBOX
 
3063
} >&5
 
3064
cat >&5 <<_CSEOF
 
3065
 
 
3066
This file was extended by $as_me, which was
 
3067
generated by GNU Autoconf 2.59.  Invocation command line was
 
3068
 
 
3069
  CONFIG_FILES    = $CONFIG_FILES
 
3070
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
3071
  CONFIG_LINKS    = $CONFIG_LINKS
 
3072
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
3073
  $ $0 $@
 
3074
 
 
3075
_CSEOF
 
3076
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
3077
echo >&5
 
3078
_ACEOF
 
3079
 
 
3080
# Files that config.status was made for.
 
3081
if test -n "$ac_config_files"; then
 
3082
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
3083
fi
 
3084
 
 
3085
if test -n "$ac_config_headers"; then
 
3086
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
3087
fi
 
3088
 
 
3089
if test -n "$ac_config_links"; then
 
3090
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
3091
fi
 
3092
 
 
3093
if test -n "$ac_config_commands"; then
 
3094
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
3095
fi
 
3096
 
 
3097
cat >>$CONFIG_STATUS <<\_ACEOF
 
3098
 
 
3099
ac_cs_usage="\
 
3100
\`$as_me' instantiates files from templates according to the
 
3101
current configuration.
 
3102
 
 
3103
Usage: $0 [OPTIONS] [FILE]...
 
3104
 
 
3105
  -h, --help       print this help, then exit
 
3106
  -V, --version    print version number, then exit
 
3107
  -q, --quiet      do not print progress messages
 
3108
  -d, --debug      don't remove temporary files
 
3109
      --recheck    update $as_me by reconfiguring in the same conditions
 
3110
  --file=FILE[:TEMPLATE]
 
3111
                   instantiate the configuration file FILE
 
3112
 
 
3113
Configuration files:
 
3114
$config_files
 
3115
 
 
3116
Report bugs to <bug-autoconf@gnu.org>."
 
3117
_ACEOF
 
3118
 
 
3119
cat >>$CONFIG_STATUS <<_ACEOF
 
3120
ac_cs_version="\\
 
3121
config.status
 
3122
configured by $0, generated by GNU Autoconf 2.59,
 
3123
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
3124
 
 
3125
Copyright (C) 2003 Free Software Foundation, Inc.
 
3126
This config.status script is free software; the Free Software Foundation
 
3127
gives unlimited permission to copy, distribute and modify it."
 
3128
srcdir=$srcdir
 
3129
_ACEOF
 
3130
 
 
3131
cat >>$CONFIG_STATUS <<\_ACEOF
 
3132
# If no file are specified by the user, then we need to provide default
 
3133
# value.  By we need to know if files were specified by the user.
 
3134
ac_need_defaults=:
 
3135
while test $# != 0
 
3136
do
 
3137
  case $1 in
 
3138
  --*=*)
 
3139
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
3140
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
3141
    ac_shift=:
 
3142
    ;;
 
3143
  -*)
 
3144
    ac_option=$1
 
3145
    ac_optarg=$2
 
3146
    ac_shift=shift
 
3147
    ;;
 
3148
  *) # This is not an option, so the user has probably given explicit
 
3149
     # arguments.
 
3150
     ac_option=$1
 
3151
     ac_need_defaults=false;;
 
3152
  esac
 
3153
 
 
3154
  case $ac_option in
 
3155
  # Handling of the options.
 
3156
_ACEOF
 
3157
cat >>$CONFIG_STATUS <<\_ACEOF
1090
3158
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1091
 
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1092
 
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1093
 
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1094
 
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
1095
 
    exit 0 ;;
1096
 
  -help | --help | --hel | --he | --h)
1097
 
    echo "\$ac_cs_usage"; exit 0 ;;
1098
 
  *) echo "\$ac_cs_usage"; exit 1 ;;
1099
 
  esac
1100
 
done
1101
 
 
1102
 
ac_given_srcdir=$srcdir
1103
 
 
1104
 
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1105
 
EOF
1106
 
cat >> $CONFIG_STATUS <<EOF
1107
 
 
1108
 
# Protect against being on the right side of a sed subst in config.status.
1109
 
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1110
 
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1111
 
$ac_vpsub
1112
 
$extrasub
1113
 
s%@SHELL@%$SHELL%g
1114
 
s%@CFLAGS@%$CFLAGS%g
1115
 
s%@CPPFLAGS@%$CPPFLAGS%g
1116
 
s%@CXXFLAGS@%$CXXFLAGS%g
1117
 
s%@FFLAGS@%$FFLAGS%g
1118
 
s%@DEFS@%$DEFS%g
1119
 
s%@LDFLAGS@%$LDFLAGS%g
1120
 
s%@LIBS@%$LIBS%g
1121
 
s%@exec_prefix@%$exec_prefix%g
1122
 
s%@prefix@%$prefix%g
1123
 
s%@program_transform_name@%$program_transform_name%g
1124
 
s%@bindir@%$bindir%g
1125
 
s%@sbindir@%$sbindir%g
1126
 
s%@libexecdir@%$libexecdir%g
1127
 
s%@datadir@%$datadir%g
1128
 
s%@sysconfdir@%$sysconfdir%g
1129
 
s%@sharedstatedir@%$sharedstatedir%g
1130
 
s%@localstatedir@%$localstatedir%g
1131
 
s%@libdir@%$libdir%g
1132
 
s%@includedir@%$includedir%g
1133
 
s%@oldincludedir@%$oldincludedir%g
1134
 
s%@infodir@%$infodir%g
1135
 
s%@mandir@%$mandir%g
1136
 
s%@CC@%$CC%g
1137
 
s%@CPP@%$CPP%g
1138
 
s%@sql_iodbc_ldflags@%$sql_iodbc_ldflags%g
1139
 
s%@sql_iodbc_cflags@%$sql_iodbc_cflags%g
1140
 
s%@targetname@%$targetname%g
1141
 
 
 
3159
    ac_cs_recheck=: ;;
 
3160
  --version | --vers* | -V )
 
3161
    echo "$ac_cs_version"; exit 0 ;;
 
3162
  --he | --h)
 
3163
    # Conflict between --help and --header
 
3164
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
3165
Try \`$0 --help' for more information." >&5
 
3166
echo "$as_me: error: ambiguous option: $1
 
3167
Try \`$0 --help' for more information." >&2;}
 
3168
   { (exit 1); exit 1; }; };;
 
3169
  --help | --hel | -h )
 
3170
    echo "$ac_cs_usage"; exit 0 ;;
 
3171
  --debug | --d* | -d )
 
3172
    debug=: ;;
 
3173
  --file | --fil | --fi | --f )
 
3174
    $ac_shift
 
3175
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
3176
    ac_need_defaults=false;;
 
3177
  --header | --heade | --head | --hea )
 
3178
    $ac_shift
 
3179
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
3180
    ac_need_defaults=false;;
 
3181
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
3182
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
3183
    ac_cs_silent=: ;;
 
3184
 
 
3185
  # This is an error.
 
3186
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
3187
Try \`$0 --help' for more information." >&5
 
3188
echo "$as_me: error: unrecognized option: $1
 
3189
Try \`$0 --help' for more information." >&2;}
 
3190
   { (exit 1); exit 1; }; } ;;
 
3191
 
 
3192
  *) ac_config_targets="$ac_config_targets $1" ;;
 
3193
 
 
3194
  esac
 
3195
  shift
 
3196
done
 
3197
 
 
3198
ac_configure_extra_args=
 
3199
 
 
3200
if $ac_cs_silent; then
 
3201
  exec 6>/dev/null
 
3202
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
3203
fi
 
3204
 
 
3205
_ACEOF
 
3206
cat >>$CONFIG_STATUS <<_ACEOF
 
3207
if \$ac_cs_recheck; then
 
3208
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
3209
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
3210
fi
 
3211
 
 
3212
_ACEOF
 
3213
 
 
3214
 
 
3215
 
 
3216
 
 
3217
 
 
3218
cat >>$CONFIG_STATUS <<\_ACEOF
 
3219
for ac_config_target in $ac_config_targets
 
3220
do
 
3221
  case "$ac_config_target" in
 
3222
  # Handling of arguments.
 
3223
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
3224
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
3225
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
3226
   { (exit 1); exit 1; }; };;
 
3227
  esac
 
3228
done
 
3229
 
 
3230
# If the user did not use the arguments to specify the items to instantiate,
 
3231
# then the envvar interface is used.  Set only those that are not.
 
3232
# We use the long form for the default assignment because of an extremely
 
3233
# bizarre bug on SunOS 4.1.3.
 
3234
if $ac_need_defaults; then
 
3235
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
3236
fi
 
3237
 
 
3238
# Have a temporary directory for convenience.  Make it in the build tree
 
3239
# simply because there is no reason to put it here, and in addition,
 
3240
# creating and moving files from /tmp can sometimes cause problems.
 
3241
# Create a temporary directory, and hook for its removal unless debugging.
 
3242
$debug ||
 
3243
{
 
3244
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
3245
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
3246
}
 
3247
 
 
3248
# Create a (secure) tmp directory for tmp files.
 
3249
 
 
3250
{
 
3251
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
3252
  test -n "$tmp" && test -d "$tmp"
 
3253
}  ||
 
3254
{
 
3255
  tmp=./confstat$$-$RANDOM
 
3256
  (umask 077 && mkdir $tmp)
 
3257
} ||
 
3258
{
 
3259
   echo "$me: cannot create a temporary directory in ." >&2
 
3260
   { (exit 1); exit 1; }
 
3261
}
 
3262
 
 
3263
_ACEOF
 
3264
 
 
3265
cat >>$CONFIG_STATUS <<_ACEOF
 
3266
 
 
3267
#
 
3268
# CONFIG_FILES section.
 
3269
#
 
3270
 
 
3271
# No need to generate the scripts if there are no CONFIG_FILES.
 
3272
# This happens for instance when ./config.status config.h
 
3273
if test -n "\$CONFIG_FILES"; then
 
3274
  # Protect against being on the right side of a sed subst in config.status.
 
3275
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
3276
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
3277
s,@SHELL@,$SHELL,;t t
 
3278
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
3279
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
3280
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
3281
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
3282
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
3283
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
3284
s,@exec_prefix@,$exec_prefix,;t t
 
3285
s,@prefix@,$prefix,;t t
 
3286
s,@program_transform_name@,$program_transform_name,;t t
 
3287
s,@bindir@,$bindir,;t t
 
3288
s,@sbindir@,$sbindir,;t t
 
3289
s,@libexecdir@,$libexecdir,;t t
 
3290
s,@datadir@,$datadir,;t t
 
3291
s,@sysconfdir@,$sysconfdir,;t t
 
3292
s,@sharedstatedir@,$sharedstatedir,;t t
 
3293
s,@localstatedir@,$localstatedir,;t t
 
3294
s,@libdir@,$libdir,;t t
 
3295
s,@includedir@,$includedir,;t t
 
3296
s,@oldincludedir@,$oldincludedir,;t t
 
3297
s,@infodir@,$infodir,;t t
 
3298
s,@mandir@,$mandir,;t t
 
3299
s,@build_alias@,$build_alias,;t t
 
3300
s,@host_alias@,$host_alias,;t t
 
3301
s,@target_alias@,$target_alias,;t t
 
3302
s,@DEFS@,$DEFS,;t t
 
3303
s,@ECHO_C@,$ECHO_C,;t t
 
3304
s,@ECHO_N@,$ECHO_N,;t t
 
3305
s,@ECHO_T@,$ECHO_T,;t t
 
3306
s,@LIBS@,$LIBS,;t t
 
3307
s,@CC@,$CC,;t t
 
3308
s,@CFLAGS@,$CFLAGS,;t t
 
3309
s,@LDFLAGS@,$LDFLAGS,;t t
 
3310
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
3311
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
3312
s,@EXEEXT@,$EXEEXT,;t t
 
3313
s,@OBJEXT@,$OBJEXT,;t t
 
3314
s,@CPP@,$CPP,;t t
 
3315
s,@sql_iodbc_ldflags@,$sql_iodbc_ldflags,;t t
 
3316
s,@sql_iodbc_cflags@,$sql_iodbc_cflags,;t t
 
3317
s,@targetname@,$targetname,;t t
 
3318
s,@LIBOBJS@,$LIBOBJS,;t t
 
3319
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1142
3320
CEOF
1143
 
EOF
1144
 
 
1145
 
cat >> $CONFIG_STATUS <<\EOF
1146
 
 
1147
 
# Split the substitutions into bite-sized pieces for seds with
1148
 
# small command number limits, like on Digital OSF/1 and HP-UX.
1149
 
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1150
 
ac_file=1 # Number of current file.
1151
 
ac_beg=1 # First line for current file.
1152
 
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1153
 
ac_more_lines=:
1154
 
ac_sed_cmds=""
1155
 
while $ac_more_lines; do
1156
 
  if test $ac_beg -gt 1; then
1157
 
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1158
 
  else
1159
 
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1160
 
  fi
1161
 
  if test ! -s conftest.s$ac_file; then
1162
 
    ac_more_lines=false
1163
 
    rm -f conftest.s$ac_file
1164
 
  else
1165
 
    if test -z "$ac_sed_cmds"; then
1166
 
      ac_sed_cmds="sed -f conftest.s$ac_file"
1167
 
    else
1168
 
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1169
 
    fi
1170
 
    ac_file=`expr $ac_file + 1`
1171
 
    ac_beg=$ac_end
1172
 
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1173
 
  fi
1174
 
done
1175
 
if test -z "$ac_sed_cmds"; then
1176
 
  ac_sed_cmds=cat
1177
 
fi
1178
 
EOF
1179
 
 
1180
 
cat >> $CONFIG_STATUS <<EOF
1181
 
 
1182
 
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1183
 
EOF
1184
 
cat >> $CONFIG_STATUS <<\EOF
1185
 
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
 
3321
 
 
3322
_ACEOF
 
3323
 
 
3324
  cat >>$CONFIG_STATUS <<\_ACEOF
 
3325
  # Split the substitutions into bite-sized pieces for seds with
 
3326
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
3327
  ac_max_sed_lines=48
 
3328
  ac_sed_frag=1 # Number of current file.
 
3329
  ac_beg=1 # First line for current file.
 
3330
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
3331
  ac_more_lines=:
 
3332
  ac_sed_cmds=
 
3333
  while $ac_more_lines; do
 
3334
    if test $ac_beg -gt 1; then
 
3335
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
3336
    else
 
3337
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
3338
    fi
 
3339
    if test ! -s $tmp/subs.frag; then
 
3340
      ac_more_lines=false
 
3341
    else
 
3342
      # The purpose of the label and of the branching condition is to
 
3343
      # speed up the sed processing (if there are no `@' at all, there
 
3344
      # is no need to browse any of the substitutions).
 
3345
      # These are the two extra sed commands mentioned above.
 
3346
      (echo ':t
 
3347
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
3348
      if test -z "$ac_sed_cmds"; then
 
3349
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
3350
      else
 
3351
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
3352
      fi
 
3353
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
3354
      ac_beg=$ac_end
 
3355
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
3356
    fi
 
3357
  done
 
3358
  if test -z "$ac_sed_cmds"; then
 
3359
    ac_sed_cmds=cat
 
3360
  fi
 
3361
fi # test -n "$CONFIG_FILES"
 
3362
 
 
3363
_ACEOF
 
3364
cat >>$CONFIG_STATUS <<\_ACEOF
 
3365
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1186
3366
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1187
 
  case "$ac_file" in
1188
 
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1189
 
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1190
 
  *) ac_file_in="${ac_file}.in" ;;
 
3367
  case $ac_file in
 
3368
  - | *:- | *:-:* ) # input from stdin
 
3369
        cat >$tmp/stdin
 
3370
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3371
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3372
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
3373
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
3374
  * )   ac_file_in=$ac_file.in ;;
1191
3375
  esac
1192
3376
 
1193
 
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1194
 
 
1195
 
  # Remove last slash and all that follows it.  Not all systems have dirname.
1196
 
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1197
 
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1198
 
    # The file is in a subdirectory.
1199
 
    test ! -d "$ac_dir" && mkdir "$ac_dir"
1200
 
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1201
 
    # A "../" for each directory in $ac_dir_suffix.
1202
 
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
 
3377
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
3378
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
3379
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3380
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
3381
         X"$ac_file" : 'X\(//\)$' \| \
 
3382
         X"$ac_file" : 'X\(/\)' \| \
 
3383
         .     : '\(.\)' 2>/dev/null ||
 
3384
echo X"$ac_file" |
 
3385
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3386
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3387
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3388
          /^X\(\/\).*/{ s//\1/; q; }
 
3389
          s/.*/./; q'`
 
3390
  { if $as_mkdir_p; then
 
3391
    mkdir -p "$ac_dir"
1203
3392
  else
1204
 
    ac_dir_suffix= ac_dots=
1205
 
  fi
1206
 
 
1207
 
  case "$ac_given_srcdir" in
1208
 
  .)  srcdir=.
1209
 
      if test -z "$ac_dots"; then top_srcdir=.
1210
 
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1211
 
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
 
3393
    as_dir="$ac_dir"
 
3394
    as_dirs=
 
3395
    while test ! -d "$as_dir"; do
 
3396
      as_dirs="$as_dir $as_dirs"
 
3397
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
3398
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3399
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
3400
         X"$as_dir" : 'X\(//\)$' \| \
 
3401
         X"$as_dir" : 'X\(/\)' \| \
 
3402
         .     : '\(.\)' 2>/dev/null ||
 
3403
echo X"$as_dir" |
 
3404
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
3405
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
3406
          /^X\(\/\/\)$/{ s//\1/; q; }
 
3407
          /^X\(\/\).*/{ s//\1/; q; }
 
3408
          s/.*/./; q'`
 
3409
    done
 
3410
    test ! -n "$as_dirs" || mkdir $as_dirs
 
3411
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
3412
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
3413
   { (exit 1); exit 1; }; }; }
 
3414
 
 
3415
  ac_builddir=.
 
3416
 
 
3417
if test "$ac_dir" != .; then
 
3418
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
3419
  # A "../" for each directory in $ac_dir_suffix.
 
3420
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
3421
else
 
3422
  ac_dir_suffix= ac_top_builddir=
 
3423
fi
 
3424
 
 
3425
case $srcdir in
 
3426
  .)  # No --srcdir option.  We are building in place.
 
3427
    ac_srcdir=.
 
3428
    if test -z "$ac_top_builddir"; then
 
3429
       ac_top_srcdir=.
 
3430
    else
 
3431
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
3432
    fi ;;
 
3433
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
3434
    ac_srcdir=$srcdir$ac_dir_suffix;
 
3435
    ac_top_srcdir=$srcdir ;;
1212
3436
  *) # Relative path.
1213
 
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1214
 
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1215
 
  esac
1216
 
 
1217
 
 
1218
 
  echo creating "$ac_file"
1219
 
  rm -f "$ac_file"
1220
 
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1221
 
  case "$ac_file" in
1222
 
  *Makefile*) ac_comsub="1i\\
1223
 
# $configure_input" ;;
1224
 
  *) ac_comsub= ;;
1225
 
  esac
1226
 
 
1227
 
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1228
 
  sed -e "$ac_comsub
1229
 
s%@configure_input@%$configure_input%g
1230
 
s%@srcdir@%$srcdir%g
1231
 
s%@top_srcdir@%$top_srcdir%g
1232
 
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1233
 
fi; done
1234
 
rm -f conftest.s*
1235
 
 
1236
 
EOF
1237
 
cat >> $CONFIG_STATUS <<EOF
1238
 
 
1239
 
EOF
1240
 
cat >> $CONFIG_STATUS <<\EOF
1241
 
 
1242
 
exit 0
1243
 
EOF
 
3437
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
3438
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
3439
esac
 
3440
 
 
3441
# Do not use `cd foo && pwd` to compute absolute paths, because
 
3442
# the directories may not exist.
 
3443
case `pwd` in
 
3444
.) ac_abs_builddir="$ac_dir";;
 
3445
*)
 
3446
  case "$ac_dir" in
 
3447
  .) ac_abs_builddir=`pwd`;;
 
3448
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
3449
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
3450
  esac;;
 
3451
esac
 
3452
case $ac_abs_builddir in
 
3453
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
3454
*)
 
3455
  case ${ac_top_builddir}. in
 
3456
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
3457
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
3458
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
3459
  esac;;
 
3460
esac
 
3461
case $ac_abs_builddir in
 
3462
.) ac_abs_srcdir=$ac_srcdir;;
 
3463
*)
 
3464
  case $ac_srcdir in
 
3465
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
3466
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
3467
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
3468
  esac;;
 
3469
esac
 
3470
case $ac_abs_builddir in
 
3471
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
3472
*)
 
3473
  case $ac_top_srcdir in
 
3474
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
3475
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
3476
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
3477
  esac;;
 
3478
esac
 
3479
 
 
3480
 
 
3481
 
 
3482
  if test x"$ac_file" != x-; then
 
3483
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
3484
echo "$as_me: creating $ac_file" >&6;}
 
3485
    rm -f "$ac_file"
 
3486
  fi
 
3487
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
3488
  # use $as_me), people would be surprised to read:
 
3489
  #    /* config.h.  Generated by config.status.  */
 
3490
  if test x"$ac_file" = x-; then
 
3491
    configure_input=
 
3492
  else
 
3493
    configure_input="$ac_file.  "
 
3494
  fi
 
3495
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
3496
                                     sed 's,.*/,,'` by configure."
 
3497
 
 
3498
  # First look for the input files in the build tree, otherwise in the
 
3499
  # src tree.
 
3500
  ac_file_inputs=`IFS=:
 
3501
    for f in $ac_file_in; do
 
3502
      case $f in
 
3503
      -) echo $tmp/stdin ;;
 
3504
      [\\/$]*)
 
3505
         # Absolute (can't be DOS-style, as IFS=:)
 
3506
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
3507
echo "$as_me: error: cannot find input file: $f" >&2;}
 
3508
   { (exit 1); exit 1; }; }
 
3509
         echo "$f";;
 
3510
      *) # Relative
 
3511
         if test -f "$f"; then
 
3512
           # Build tree
 
3513
           echo "$f"
 
3514
         elif test -f "$srcdir/$f"; then
 
3515
           # Source tree
 
3516
           echo "$srcdir/$f"
 
3517
         else
 
3518
           # /dev/null tree
 
3519
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
3520
echo "$as_me: error: cannot find input file: $f" >&2;}
 
3521
   { (exit 1); exit 1; }; }
 
3522
         fi;;
 
3523
      esac
 
3524
    done` || { (exit 1); exit 1; }
 
3525
_ACEOF
 
3526
cat >>$CONFIG_STATUS <<_ACEOF
 
3527
  sed "$ac_vpsub
 
3528
$extrasub
 
3529
_ACEOF
 
3530
cat >>$CONFIG_STATUS <<\_ACEOF
 
3531
:t
 
3532
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
3533
s,@configure_input@,$configure_input,;t t
 
3534
s,@srcdir@,$ac_srcdir,;t t
 
3535
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
3536
s,@top_srcdir@,$ac_top_srcdir,;t t
 
3537
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
3538
s,@builddir@,$ac_builddir,;t t
 
3539
s,@abs_builddir@,$ac_abs_builddir,;t t
 
3540
s,@top_builddir@,$ac_top_builddir,;t t
 
3541
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
3542
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
3543
  rm -f $tmp/stdin
 
3544
  if test x"$ac_file" != x-; then
 
3545
    mv $tmp/out $ac_file
 
3546
  else
 
3547
    cat $tmp/out
 
3548
    rm -f $tmp/out
 
3549
  fi
 
3550
 
 
3551
done
 
3552
_ACEOF
 
3553
 
 
3554
cat >>$CONFIG_STATUS <<\_ACEOF
 
3555
 
 
3556
{ (exit 0); exit 0; }
 
3557
_ACEOF
1244
3558
chmod +x $CONFIG_STATUS
1245
 
rm -fr confdefs* $ac_clean_files
1246
 
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
 
3559
ac_clean_files=$ac_clean_files_save
 
3560
 
 
3561
 
 
3562
# configure is writing to config.log, and then calls config.status.
 
3563
# config.status does its own redirection, appending to config.log.
 
3564
# Unfortunately, on DOS this fails, as config.log is still kept open
 
3565
# by configure, so config.status won't be able to write to it; its
 
3566
# output is simply discarded.  So we exec the FD to /dev/null,
 
3567
# effectively closing config.log, so it can be properly (re)opened and
 
3568
# appended to by config.status.  When coming back to configure, we
 
3569
# need to make the FD available again.
 
3570
if test "$no_create" != yes; then
 
3571
  ac_cs_success=:
 
3572
  ac_config_status_args=
 
3573
  test "$silent" = yes &&
 
3574
    ac_config_status_args="$ac_config_status_args --quiet"
 
3575
  exec 5>/dev/null
 
3576
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
3577
  exec 5>>config.log
 
3578
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
3579
  # would make configure fail if this is the last instruction.
 
3580
  $ac_cs_success || { (exit 1); exit 1; }
 
3581
fi
1247
3582