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.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
12
ac_default_prefix=/usr/local
13
# Any additions from configure.in:
15
# Initialize some variables set by options.
16
# The variables have the same names as the options, with
17
# dashes changed to underlines.
19
cache_file=./config.cache
28
program_transform_name=s,x,x,
36
bindir='${exec_prefix}/bin'
37
sbindir='${exec_prefix}/sbin'
38
libexecdir='${exec_prefix}/libexec'
39
datadir='${prefix}/share'
40
sysconfdir='${prefix}/etc'
41
sharedstatedir='${prefix}/com'
42
localstatedir='${prefix}/var'
43
libdir='${exec_prefix}/lib'
44
includedir='${prefix}/include'
45
oldincludedir='/usr/include'
46
infodir='${prefix}/info'
47
mandir='${prefix}/man'
49
# Initialize some other variables.
52
SHELL=${CONFIG_SHELL-/bin/sh}
53
# Maximum number of lines to put in a shell here document.
60
# If the previous option needs an argument, assign it.
61
if test -n "$ac_prev"; then
62
eval "$ac_prev=\$ac_option"
68
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
72
# Accept the important Cygnus configure options, so we can diagnose typos.
76
-bindir | --bindir | --bindi | --bind | --bin | --bi)
78
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
79
bindir="$ac_optarg" ;;
81
-build | --build | --buil | --bui | --bu)
83
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
86
-cache-file | --cache-file | --cache-fil | --cache-fi \
87
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
89
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
90
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
91
cache_file="$ac_optarg" ;;
93
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
95
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
97
datadir="$ac_optarg" ;;
99
-disable-* | --disable-*)
100
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
101
# Reject names that are not valid shell variable names.
102
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
103
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
105
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
106
eval "enable_${ac_feature}=no" ;;
108
-enable-* | --enable-*)
109
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
110
# Reject names that are not valid shell variable names.
111
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
112
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
114
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
119
eval "enable_${ac_feature}='$ac_optarg'" ;;
121
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
122
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
123
| --exec | --exe | --ex)
124
ac_prev=exec_prefix ;;
125
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
126
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
127
| --exec=* | --exe=* | --ex=*)
128
exec_prefix="$ac_optarg" ;;
130
-gas | --gas | --ga | --g)
131
# Obsolete; use --with-gas.
134
-help | --help | --hel | --he)
135
# Omit some internal or obsolete options to make the list less imposing.
136
# This message is too long to be a string in the A/UX 3.1 sh.
138
Usage: configure [options] [host]
139
Options: [defaults in brackets after descriptions]
141
--cache-file=FILE cache test results in FILE
142
--help print this message
143
--no-create do not create output files
144
--quiet, --silent do not print \`checking...' messages
145
--version print the version of autoconf that created configure
146
Directory and file names:
147
--prefix=PREFIX install architecture-independent files in PREFIX
149
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
151
--bindir=DIR user executables in DIR [EPREFIX/bin]
152
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
153
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
154
--datadir=DIR read-only architecture-independent data in DIR
156
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
157
--sharedstatedir=DIR modifiable architecture-independent data in DIR
159
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
160
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
161
--includedir=DIR C header files in DIR [PREFIX/include]
162
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
163
--infodir=DIR info documentation in DIR [PREFIX/info]
164
--mandir=DIR man documentation in DIR [PREFIX/man]
165
--srcdir=DIR find the sources in DIR [configure dir or ..]
166
--program-prefix=PREFIX prepend PREFIX to installed program names
167
--program-suffix=SUFFIX append SUFFIX to installed program names
168
--program-transform-name=PROGRAM
169
run sed PROGRAM on installed program names
173
--build=BUILD configure for building on BUILD [BUILD=HOST]
174
--host=HOST configure for HOST [guessed]
175
--target=TARGET configure for TARGET [TARGET=HOST]
176
Features and packages:
177
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
178
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
179
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
180
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
181
--x-includes=DIR X include files are in DIR
182
--x-libraries=DIR X library files are in DIR
184
if test -n "$ac_help"; then
185
echo "--enable and --with options recognized:$ac_help"
189
-host | --host | --hos | --ho)
191
-host=* | --host=* | --hos=* | --ho=*)
194
-includedir | --includedir | --includedi | --included | --include \
195
| --includ | --inclu | --incl | --inc)
196
ac_prev=includedir ;;
197
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
198
| --includ=* | --inclu=* | --incl=* | --inc=*)
199
includedir="$ac_optarg" ;;
201
-infodir | --infodir | --infodi | --infod | --info | --inf)
203
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
204
infodir="$ac_optarg" ;;
206
-libdir | --libdir | --libdi | --libd)
208
-libdir=* | --libdir=* | --libdi=* | --libd=*)
209
libdir="$ac_optarg" ;;
211
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
212
| --libexe | --libex | --libe)
213
ac_prev=libexecdir ;;
214
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
215
| --libexe=* | --libex=* | --libe=*)
216
libexecdir="$ac_optarg" ;;
218
-localstatedir | --localstatedir | --localstatedi | --localstated \
219
| --localstate | --localstat | --localsta | --localst \
220
| --locals | --local | --loca | --loc | --lo)
221
ac_prev=localstatedir ;;
222
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
223
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
224
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
225
localstatedir="$ac_optarg" ;;
227
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
229
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
230
mandir="$ac_optarg" ;;
233
# Obsolete; use --without-fp.
236
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
240
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
241
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
244
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
245
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
246
| --oldin | --oldi | --old | --ol | --o)
247
ac_prev=oldincludedir ;;
248
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
249
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
250
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
251
oldincludedir="$ac_optarg" ;;
253
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
255
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
256
prefix="$ac_optarg" ;;
258
-program-prefix | --program-prefix | --program-prefi | --program-pref \
259
| --program-pre | --program-pr | --program-p)
260
ac_prev=program_prefix ;;
261
-program-prefix=* | --program-prefix=* | --program-prefi=* \
262
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
263
program_prefix="$ac_optarg" ;;
265
-program-suffix | --program-suffix | --program-suffi | --program-suff \
266
| --program-suf | --program-su | --program-s)
267
ac_prev=program_suffix ;;
268
-program-suffix=* | --program-suffix=* | --program-suffi=* \
269
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
270
program_suffix="$ac_optarg" ;;
272
-program-transform-name | --program-transform-name \
273
| --program-transform-nam | --program-transform-na \
274
| --program-transform-n | --program-transform- \
275
| --program-transform | --program-transfor \
276
| --program-transfo | --program-transf \
277
| --program-trans | --program-tran \
278
| --progr-tra | --program-tr | --program-t)
279
ac_prev=program_transform_name ;;
280
-program-transform-name=* | --program-transform-name=* \
281
| --program-transform-nam=* | --program-transform-na=* \
282
| --program-transform-n=* | --program-transform-=* \
283
| --program-transform=* | --program-transfor=* \
284
| --program-transfo=* | --program-transf=* \
285
| --program-trans=* | --program-tran=* \
286
| --progr-tra=* | --program-tr=* | --program-t=*)
287
program_transform_name="$ac_optarg" ;;
289
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
290
| -silent | --silent | --silen | --sile | --sil)
293
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
295
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
297
sbindir="$ac_optarg" ;;
299
-sharedstatedir | --sharedstatedir | --sharedstatedi \
300
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
301
| --sharedst | --shareds | --shared | --share | --shar \
303
ac_prev=sharedstatedir ;;
304
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
305
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
306
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
308
sharedstatedir="$ac_optarg" ;;
310
-site | --site | --sit)
312
-site=* | --site=* | --sit=*)
315
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
317
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
318
srcdir="$ac_optarg" ;;
320
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
321
| --syscon | --sysco | --sysc | --sys | --sy)
322
ac_prev=sysconfdir ;;
323
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
324
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
325
sysconfdir="$ac_optarg" ;;
327
-target | --target | --targe | --targ | --tar | --ta | --t)
329
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
330
target="$ac_optarg" ;;
332
-v | -verbose | --verbose | --verbos | --verbo | --verb)
335
-version | --version | --versio | --versi | --vers)
336
echo "configure generated by autoconf version 2.13"
340
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
341
# Reject names that are not valid shell variable names.
342
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
343
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
345
ac_package=`echo $ac_package| sed 's/-/_/g'`
350
eval "with_${ac_package}='$ac_optarg'" ;;
352
-without-* | --without-*)
353
ac_package=`echo $ac_option|sed -e 's/-*without-//'`
354
# Reject names that are not valid shell variable names.
355
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
356
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
358
ac_package=`echo $ac_package| sed 's/-/_/g'`
359
eval "with_${ac_package}=no" ;;
362
# Obsolete; use --with-x.
365
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
366
| --x-incl | --x-inc | --x-in | --x-i)
367
ac_prev=x_includes ;;
368
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
369
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
370
x_includes="$ac_optarg" ;;
372
-x-libraries | --x-libraries | --x-librarie | --x-librari \
373
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
374
ac_prev=x_libraries ;;
375
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
376
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
377
x_libraries="$ac_optarg" ;;
379
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
383
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
384
echo "configure: warning: $ac_option: invalid host type" 1>&2
386
if test "x$nonopt" != xNONE; then
387
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
395
if test -n "$ac_prev"; then
396
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
399
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
401
# File descriptor usage:
404
# 2 errors and warnings
405
# 3 some systems may open it to /dev/tty
406
# 4 used on the Kubota Titan
407
# 6 checking for... messages and results
408
# 5 compiler messages saved in config.log
409
if test "$silent" = yes; then
417
This file contains any messages produced by compilers while
418
running configure, to aid debugging if configure makes a mistake.
421
# Strip out --no-create and --no-recursion so they do not pile up.
422
# Also quote any args containing shell metacharacters.
427
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
428
| --no-cr | --no-c) ;;
429
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
430
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
431
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
432
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
433
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
438
# Only set these to C if already set. These must not be set unconditionally
439
# because not all systems understand e.g. LANG=C (notably SCO).
440
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
441
# Non-C LC_CTYPE values break the ctype check.
442
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
443
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
444
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
445
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
447
# confdefs.h avoids OS command line length limits that DEFS can exceed.
448
rm -rf conftest* confdefs.h
449
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
452
# A filename unique to this package, relative to the directory that
453
# configure is in, which we can look for to find out if srcdir is correct.
454
ac_unique_file=c_src/odbcserver.c
456
# Find the source files, if location was not specified.
457
if test -z "$srcdir"; then
458
ac_srcdir_defaulted=yes
459
# Try the directory containing this script, then its parent.
461
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
462
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
464
if test ! -r $srcdir/$ac_unique_file; then
468
ac_srcdir_defaulted=no
470
if test ! -r $srcdir/$ac_unique_file; then
471
if test "$ac_srcdir_defaulted" = yes; then
472
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
474
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
477
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
479
# Prefer explicitly selected file to automatically selected ones.
480
if test -z "$CONFIG_SITE"; then
481
if test "x$prefix" != xNONE; then
482
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
484
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
487
for ac_site_file in $CONFIG_SITE; do
488
if test -r "$ac_site_file"; then
489
echo "loading site script $ac_site_file"
496
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
497
ac_cpp='$CPP $CPPFLAGS'
498
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
499
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
500
cross_compiling=$ac_cv_prog_cc_cross
504
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
505
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
506
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
513
ac_n= ac_c='\c' ac_t=
518
if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
520
for ac_dir in autoconf; do
521
if test -f $ac_dir/install-sh; then
523
ac_install_sh="$ac_aux_dir/install-sh -c"
525
elif test -f $ac_dir/install.sh; then
527
ac_install_sh="$ac_aux_dir/install.sh -c"
531
if test -z "$ac_aux_dir"; then
532
{ echo "configure: error: can not find install-sh or install.sh in autoconf" 1>&2; exit 1; }
534
ac_config_guess=$ac_aux_dir/config.guess
535
ac_config_sub=$ac_aux_dir/config.sub
536
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
541
for ac_dir in $erl_top/erts/autoconf; do
542
if test -f $ac_dir/install-sh; then
544
ac_install_sh="$ac_aux_dir/install-sh -c"
546
elif test -f $ac_dir/install.sh; then
548
ac_install_sh="$ac_aux_dir/install.sh -c"
552
if test -z "$ac_aux_dir"; then
553
{ echo "configure: error: can not find install-sh or install.sh in $erl_top/erts/autoconf" 1>&2; exit 1; }
555
ac_config_guess=$ac_aux_dir/config.guess
556
ac_config_sub=$ac_aux_dir/config.sub
557
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
561
if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then
563
# Make sure we can run config.sub.
564
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
565
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
568
echo $ac_n "checking host system type""... $ac_c" 1>&6
569
echo "configure:570: checking host system type" >&5
572
case "$host_alias" in
576
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
577
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
579
*) host_alias=$nonopt ;;
583
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
584
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
585
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
586
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
587
echo "$ac_t""$host" 1>&6
593
# Extract the first word of "gcc", so it can be a program name with args.
594
set dummy gcc; ac_word=$2
595
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
596
echo "configure:597: checking for $ac_word" >&5
597
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
598
echo $ac_n "(cached) $ac_c" 1>&6
600
if test -n "$CC"; then
601
ac_cv_prog_CC="$CC" # Let the user override the test.
603
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
605
for ac_dir in $ac_dummy; do
606
test -z "$ac_dir" && ac_dir=.
607
if test -f $ac_dir/$ac_word; then
616
if test -n "$CC"; then
617
echo "$ac_t""$CC" 1>&6
619
echo "$ac_t""no" 1>&6
622
if test -z "$CC"; then
623
# Extract the first word of "cc", so it can be a program name with args.
624
set dummy cc; ac_word=$2
625
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
626
echo "configure:627: checking for $ac_word" >&5
627
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
628
echo $ac_n "(cached) $ac_c" 1>&6
630
if test -n "$CC"; then
631
ac_cv_prog_CC="$CC" # Let the user override the test.
633
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
636
for ac_dir in $ac_dummy; do
637
test -z "$ac_dir" && ac_dir=.
638
if test -f $ac_dir/$ac_word; then
639
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
648
if test $ac_prog_rejected = yes; then
649
# We found a bogon in the path, so make sure we never use it.
650
set dummy $ac_cv_prog_CC
652
if test $# -gt 0; then
653
# We chose a different compiler from the bogus one.
654
# However, it has the same basename, so the bogon will be chosen
655
# first if we set CC to just the basename; use the full file name.
657
set dummy "$ac_dir/$ac_word" "$@"
665
if test -n "$CC"; then
666
echo "$ac_t""$CC" 1>&6
668
echo "$ac_t""no" 1>&6
671
if test -z "$CC"; then
674
# Extract the first word of "cl", so it can be a program name with args.
675
set dummy cl; ac_word=$2
676
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
677
echo "configure:678: checking for $ac_word" >&5
678
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
679
echo $ac_n "(cached) $ac_c" 1>&6
681
if test -n "$CC"; then
682
ac_cv_prog_CC="$CC" # Let the user override the test.
684
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
686
for ac_dir in $ac_dummy; do
687
test -z "$ac_dir" && ac_dir=.
688
if test -f $ac_dir/$ac_word; then
697
if test -n "$CC"; then
698
echo "$ac_t""$CC" 1>&6
700
echo "$ac_t""no" 1>&6
705
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
708
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
709
echo "configure:710: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
712
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
713
ac_cpp='$CPP $CPPFLAGS'
714
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
715
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
716
cross_compiling=$ac_cv_prog_cc_cross
718
cat > conftest.$ac_ext << EOF
720
#line 721 "configure"
721
#include "confdefs.h"
725
if { (eval echo configure:726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
726
ac_cv_prog_cc_works=yes
727
# If we can't run a trivial program, we are probably using a cross compiler.
728
if (./conftest; exit) 2>/dev/null; then
729
ac_cv_prog_cc_cross=no
731
ac_cv_prog_cc_cross=yes
734
echo "configure: failed program was:" >&5
735
cat conftest.$ac_ext >&5
736
ac_cv_prog_cc_works=no
740
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
741
ac_cpp='$CPP $CPPFLAGS'
742
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
743
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
744
cross_compiling=$ac_cv_prog_cc_cross
746
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
747
if test $ac_cv_prog_cc_works = no; then
748
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
750
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
751
echo "configure:752: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
752
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
753
cross_compiling=$ac_cv_prog_cc_cross
755
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
756
echo "configure:757: checking whether we are using GNU C" >&5
757
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
758
echo $ac_n "(cached) $ac_c" 1>&6
760
cat > conftest.c <<EOF
765
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
772
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
774
if test $ac_cv_prog_gcc = yes; then
780
ac_test_CFLAGS="${CFLAGS+set}"
781
ac_save_CFLAGS="$CFLAGS"
783
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
784
echo "configure:785: checking whether ${CC-cc} accepts -g" >&5
785
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
786
echo $ac_n "(cached) $ac_c" 1>&6
788
echo 'void f(){}' > conftest.c
789
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
798
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
799
if test "$ac_test_CFLAGS" = set; then
800
CFLAGS="$ac_save_CFLAGS"
801
elif test $ac_cv_prog_cc_g = yes; then
802
if test "$GCC" = yes; then
808
if test "$GCC" = yes; then
816
echo $ac_n "checking for mixed cygwin and native VC++ environment""... $ac_c" 1>&6
817
echo "configure:818: checking for mixed cygwin and native VC++ environment" >&5
818
if test "X$CC" = "Xcc.sh" -a "X$host" = "Xwin32"; then
819
if test -x /usr/bin/cygpath; then
821
echo "$ac_t""yes" 1>&6
824
echo "$ac_t""undeterminable" 1>&6
825
{ echo "configure: error: Seems to be mixed windows but not with cygwin" 1>&2; exit 1; }
828
echo "$ac_t""no" 1>&6
833
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
834
echo "configure:835: checking whether ${MAKE-make} sets \${MAKE}" >&5
835
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
836
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
837
echo $ac_n "(cached) $ac_c" 1>&6
839
cat > conftestmake <<\EOF
841
@echo 'ac_maketemp="${MAKE}"'
843
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
844
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
845
if test -n "$ac_maketemp"; then
846
eval ac_cv_prog_make_${ac_make}_set=yes
848
eval ac_cv_prog_make_${ac_make}_set=no
852
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
853
echo "$ac_t""yes" 1>&6
856
echo "$ac_t""no" 1>&6
857
SET_MAKE="MAKE=${MAKE-make}"
860
for ac_prog in ld.sh ld
862
# Extract the first word of "$ac_prog", so it can be a program name with args.
863
set dummy $ac_prog; ac_word=$2
864
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
865
echo "configure:866: checking for $ac_word" >&5
866
if eval "test \"`echo '$''{'ac_cv_prog_DED_LD'+set}'`\" = set"; then
867
echo $ac_n "(cached) $ac_c" 1>&6
869
if test -n "$DED_LD"; then
870
ac_cv_prog_DED_LD="$DED_LD" # Let the user override the test.
872
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
874
for ac_dir in $ac_dummy; do
875
test -z "$ac_dir" && ac_dir=.
876
if test -f $ac_dir/$ac_word; then
877
ac_cv_prog_DED_LD="$ac_prog"
884
DED_LD="$ac_cv_prog_DED_LD"
885
if test -n "$DED_LD"; then
886
echo "$ac_t""$DED_LD" 1>&6
888
echo "$ac_t""no" 1>&6
891
test -n "$DED_LD" && break
893
test -n "$DED_LD" || DED_LD="'$(CC)'"
898
/bin/rm -f $ERL_TOP/lib/odbc/SKIP
905
TARGET_FLAGS="-DWIN32"
906
echo $ac_n "checking for main in -lws2_32""... $ac_c" 1>&6
907
echo "configure:908: checking for main in -lws2_32" >&5
908
ac_lib_var=`echo ws2_32'_'main | sed 'y%./+-%__p_%'`
909
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
910
echo $ac_n "(cached) $ac_c" 1>&6
913
LIBS="-lws2_32 $LIBS"
914
cat > conftest.$ac_ext <<EOF
915
#line 916 "configure"
916
#include "confdefs.h"
922
if { (eval echo configure:923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
924
eval "ac_cv_lib_$ac_lib_var=yes"
926
echo "configure: failed program was:" >&5
927
cat conftest.$ac_ext >&5
929
eval "ac_cv_lib_$ac_lib_var=no"
935
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
936
echo "$ac_t""yes" 1>&6
937
ac_tr_lib=HAVE_LIB`echo ws2_32 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
938
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
939
cat >> confdefs.h <<EOF
943
LIBS="-lws2_32 $LIBS"
946
echo "$ac_t""no" 1>&6
949
if test ! -d "$with_odbc"; then
953
ODBC_LIB=-L"$with_odbc/lib"
954
ODBC_INCLUDE="-I$with_odbc/include"
958
TARGET_FLAGS="-DUNIX"
959
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
960
echo "configure:961: checking for pthread_create in -lpthread" >&5
961
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
962
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
963
echo $ac_n "(cached) $ac_c" 1>&6
966
LIBS="-lpthread $LIBS"
967
cat > conftest.$ac_ext <<EOF
968
#line 969 "configure"
969
#include "confdefs.h"
970
/* Override any gcc2 internal prototype to avoid an error. */
971
/* We use char because int might match the return type of a gcc2
972
builtin and then its argument prototype would still apply. */
973
char pthread_create();
979
if { (eval echo configure:980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
981
eval "ac_cv_lib_$ac_lib_var=yes"
983
echo "configure: failed program was:" >&5
984
cat conftest.$ac_ext >&5
986
eval "ac_cv_lib_$ac_lib_var=no"
992
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
993
echo "$ac_t""yes" 1>&6
994
cat >> confdefs.h <<\EOF
995
#define HAVE_LIBPTHREAD 1
998
LIBS="$LIBS -lpthread"
1001
echo "$ac_t""no" 1>&6
1004
if test ! -d "$with_odbc"; then
1005
echo $ac_n "checking for odbc in standard locations""... $ac_c" 1>&6
1006
echo "configure:1007: checking for odbc in standard locations" >&5
1007
for dir in /usr/local/odbc /usr/local /usr/odbc \
1008
/usr /opt/local/pgm/odbc /usr/local/pgm/odbc
1010
if test -f "$dir/include/sql.h"; then
1011
is_odbc_std_location=yes
1012
ODBC_LIB=-L"$dir/lib"
1013
ODBC_INCLUDE="-I$dir/include"
1017
if test "x$is_odbc_std_location" != "xyes"; then
1018
echo "$ac_t""no" 1>&6
1019
echo "configure: warning: No odbc library found skipping odbc" 1>&2
1020
echo "No odbc library found" > $ERL_TOP/lib/odbc/SKIP
1022
echo "$ac_t""$ODBC_LIB" 1>&6
1025
ODBC_LIB=-L"$with_odbc/lib"
1026
ODBC_INCLUDE="-I$with_odbc/include"
1031
echo $ac_n "checking for SQLAllocHandle in -lodbc""... $ac_c" 1>&6
1032
echo "configure:1033: checking for SQLAllocHandle in -lodbc" >&5
1033
ac_lib_var=`echo odbc'_'SQLAllocHandle | sed 'y%./+-%__p_%'`
1034
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1035
echo $ac_n "(cached) $ac_c" 1>&6
1037
ac_save_LIBS="$LIBS"
1038
LIBS="-lodbc $ODBC_LIB $LIBS"
1039
cat > conftest.$ac_ext <<EOF
1040
#line 1041 "configure"
1041
#include "confdefs.h"
1042
/* Override any gcc2 internal prototype to avoid an error. */
1043
/* We use char because int might match the return type of a gcc2
1044
builtin and then its argument prototype would still apply. */
1045
char SQLAllocHandle();
1051
if { (eval echo configure:1052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1053
eval "ac_cv_lib_$ac_lib_var=yes"
1055
echo "configure: failed program was:" >&5
1056
cat conftest.$ac_ext >&5
1058
eval "ac_cv_lib_$ac_lib_var=no"
1061
LIBS="$ac_save_LIBS"
1064
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1065
echo "$ac_t""yes" 1>&6
1066
ODBC_LIB="$ODBC_LIB -lodbc"
1068
echo "$ac_t""no" 1>&6
1075
echo $ac_n "checking for main in -lodbc32""... $ac_c" 1>&6
1076
echo "configure:1077: checking for main in -lodbc32" >&5
1077
ac_lib_var=`echo odbc32'_'main | sed 'y%./+-%__p_%'`
1078
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1079
echo $ac_n "(cached) $ac_c" 1>&6
1081
ac_save_LIBS="$LIBS"
1082
LIBS="-lodbc32 $LIBS"
1083
cat > conftest.$ac_ext <<EOF
1084
#line 1085 "configure"
1085
#include "confdefs.h"
1091
if { (eval echo configure:1092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1093
eval "ac_cv_lib_$ac_lib_var=yes"
1095
echo "configure: failed program was:" >&5
1096
cat conftest.$ac_ext >&5
1098
eval "ac_cv_lib_$ac_lib_var=no"
1101
LIBS="$ac_save_LIBS"
1104
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1105
echo "$ac_t""yes" 1>&6
1106
ac_tr_lib=HAVE_LIB`echo odbc32 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1107
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1108
cat >> confdefs.h <<EOF
1109
#define $ac_tr_lib 1
1112
LIBS="-lodbc32 $LIBS"
1115
echo "$ac_t""no" 1>&6
1120
#--------------------------------------------------------------------
1121
# Check for the existence of the -lsocket and -lnsl libraries.
1122
# The order here is important, so that they end up in the right
1123
# order in the command line generated by make. Here are some
1124
# special considerations:
1125
# 1. Use "connect" and "accept" to check for -lsocket, and
1126
# "gethostbyname" to check for -lnsl.
1127
# 2. Use each function name only once: can't redo a check because
1128
# autoconf caches the results of the last check and won't redo it.
1129
# 3. Use -lnsl and -lsocket only if they supply procedures that
1130
# aren't already present in the normal libraries. This is because
1131
# IRIX 5.2 has libraries, but they aren't needed and they're
1132
# bogus: they goof up name resolution if used.
1133
# 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
1134
# To get around this problem, check for both libraries together
1135
# if -lsocket doesn't work by itself.
1136
#--------------------------------------------------------------------
1138
echo $ac_n "checking for connect""... $ac_c" 1>&6
1139
echo "configure:1140: checking for connect" >&5
1140
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1141
echo $ac_n "(cached) $ac_c" 1>&6
1143
cat > conftest.$ac_ext <<EOF
1144
#line 1145 "configure"
1145
#include "confdefs.h"
1146
/* System header to define __stub macros and hopefully few prototypes,
1147
which can conflict with char connect(); below. */
1149
/* Override any gcc2 internal prototype to avoid an error. */
1150
/* We use char because int might match the return type of a gcc2
1151
builtin and then its argument prototype would still apply. */
1156
/* The GNU C library defines this for functions which it implements
1157
to always fail with ENOSYS. Some functions are actually named
1158
something starting with __ and the normal name is an alias. */
1159
#if defined (__stub_connect) || defined (__stub___connect)
1167
if { (eval echo configure:1168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1169
eval "ac_cv_func_connect=yes"
1171
echo "configure: failed program was:" >&5
1172
cat conftest.$ac_ext >&5
1174
eval "ac_cv_func_connect=no"
1179
if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1180
echo "$ac_t""yes" 1>&6
1183
echo "$ac_t""no" 1>&6
1187
if test "$erl_checkSocket" = 1; then
1188
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
1189
echo "configure:1190: checking for socket in -lsocket" >&5
1190
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
1191
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1192
echo $ac_n "(cached) $ac_c" 1>&6
1194
ac_save_LIBS="$LIBS"
1195
LIBS="-lsocket $LIBS"
1196
cat > conftest.$ac_ext <<EOF
1197
#line 1198 "configure"
1198
#include "confdefs.h"
1199
/* Override any gcc2 internal prototype to avoid an error. */
1200
/* We use char because int might match the return type of a gcc2
1201
builtin and then its argument prototype would still apply. */
1208
if { (eval echo configure:1209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1210
eval "ac_cv_lib_$ac_lib_var=yes"
1212
echo "configure: failed program was:" >&5
1213
cat conftest.$ac_ext >&5
1215
eval "ac_cv_lib_$ac_lib_var=no"
1218
LIBS="$ac_save_LIBS"
1221
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1222
echo "$ac_t""yes" 1>&6
1223
LIBS="$LIBS -lsocket"
1225
echo "$ac_t""no" 1>&6
1230
if test "$erl_checkBoth" = 1; then
1232
LIBS="$LIBS -lsocket -lnsl"
1233
echo $ac_n "checking for accept""... $ac_c" 1>&6
1234
echo "configure:1235: checking for accept" >&5
1235
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
1236
echo $ac_n "(cached) $ac_c" 1>&6
1238
cat > conftest.$ac_ext <<EOF
1239
#line 1240 "configure"
1240
#include "confdefs.h"
1241
/* System header to define __stub macros and hopefully few prototypes,
1242
which can conflict with char accept(); below. */
1244
/* Override any gcc2 internal prototype to avoid an error. */
1245
/* We use char because int might match the return type of a gcc2
1246
builtin and then its argument prototype would still apply. */
1251
/* The GNU C library defines this for functions which it implements
1252
to always fail with ENOSYS. Some functions are actually named
1253
something starting with __ and the normal name is an alias. */
1254
#if defined (__stub_accept) || defined (__stub___accept)
1262
if { (eval echo configure:1263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1264
eval "ac_cv_func_accept=yes"
1266
echo "configure: failed program was:" >&5
1267
cat conftest.$ac_ext >&5
1269
eval "ac_cv_func_accept=no"
1274
if eval "test \"`echo '$ac_cv_func_'accept`\" = yes"; then
1275
echo "$ac_t""yes" 1>&6
1278
echo "$ac_t""no" 1>&6
1283
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1284
echo "configure:1285: checking for gethostbyname" >&5
1285
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1286
echo $ac_n "(cached) $ac_c" 1>&6
1288
cat > conftest.$ac_ext <<EOF
1289
#line 1290 "configure"
1290
#include "confdefs.h"
1291
/* System header to define __stub macros and hopefully few prototypes,
1292
which can conflict with char gethostbyname(); below. */
1294
/* Override any gcc2 internal prototype to avoid an error. */
1295
/* We use char because int might match the return type of a gcc2
1296
builtin and then its argument prototype would still apply. */
1297
char gethostbyname();
1301
/* The GNU C library defines this for functions which it implements
1302
to always fail with ENOSYS. Some functions are actually named
1303
something starting with __ and the normal name is an alias. */
1304
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1312
if { (eval echo configure:1313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1314
eval "ac_cv_func_gethostbyname=yes"
1316
echo "configure: failed program was:" >&5
1317
cat conftest.$ac_ext >&5
1319
eval "ac_cv_func_gethostbyname=no"
1324
if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1325
echo "$ac_t""yes" 1>&6
1328
echo "$ac_t""no" 1>&6
1329
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
1330
echo "configure:1331: checking for main in -lnsl" >&5
1331
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
1332
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1333
echo $ac_n "(cached) $ac_c" 1>&6
1335
ac_save_LIBS="$LIBS"
1337
cat > conftest.$ac_ext <<EOF
1338
#line 1339 "configure"
1339
#include "confdefs.h"
1345
if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1347
eval "ac_cv_lib_$ac_lib_var=yes"
1349
echo "configure: failed program was:" >&5
1350
cat conftest.$ac_ext >&5
1352
eval "ac_cv_lib_$ac_lib_var=no"
1355
LIBS="$ac_save_LIBS"
1358
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1359
echo "$ac_t""yes" 1>&6
1362
echo "$ac_t""no" 1>&6
1368
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1369
echo "configure:1370: checking how to run the C preprocessor" >&5
1370
# On Suns, sometimes $CPP names a directory.
1371
if test -n "$CPP" && test -d "$CPP"; then
1374
if test -z "$CPP"; then
1375
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1376
echo $ac_n "(cached) $ac_c" 1>&6
1378
# This must be in double quotes, not single quotes, because CPP may get
1379
# substituted into the Makefile and "${CC-cc}" will confuse make.
1381
# On the NeXT, cc -E runs the code through the compiler's parser,
1382
# not just through cpp.
1383
cat > conftest.$ac_ext <<EOF
1384
#line 1385 "configure"
1385
#include "confdefs.h"
1389
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1390
{ (eval echo configure:1391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1391
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1392
if test -z "$ac_err"; then
1396
echo "configure: failed program was:" >&5
1397
cat conftest.$ac_ext >&5
1399
CPP="${CC-cc} -E -traditional-cpp"
1400
cat > conftest.$ac_ext <<EOF
1401
#line 1402 "configure"
1402
#include "confdefs.h"
1406
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1407
{ (eval echo configure:1408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1408
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1409
if test -z "$ac_err"; then
1413
echo "configure: failed program was:" >&5
1414
cat conftest.$ac_ext >&5
1416
CPP="${CC-cc} -nologo -E"
1417
cat > conftest.$ac_ext <<EOF
1418
#line 1419 "configure"
1419
#include "confdefs.h"
1423
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1424
{ (eval echo configure:1425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1425
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1426
if test -z "$ac_err"; then
1430
echo "configure: failed program was:" >&5
1431
cat conftest.$ac_ext >&5
1440
ac_cv_prog_CPP="$CPP"
1442
CPP="$ac_cv_prog_CPP"
1444
ac_cv_prog_CPP="$CPP"
1446
echo "$ac_t""$CPP" 1>&6
1448
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1449
echo "configure:1450: checking for ANSI C header files" >&5
1450
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1451
echo $ac_n "(cached) $ac_c" 1>&6
1453
cat > conftest.$ac_ext <<EOF
1454
#line 1455 "configure"
1455
#include "confdefs.h"
1461
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1462
{ (eval echo configure:1463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1463
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1464
if test -z "$ac_err"; then
1466
ac_cv_header_stdc=yes
1469
echo "configure: failed program was:" >&5
1470
cat conftest.$ac_ext >&5
1472
ac_cv_header_stdc=no
1476
if test $ac_cv_header_stdc = yes; then
1477
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1478
cat > conftest.$ac_ext <<EOF
1479
#line 1480 "configure"
1480
#include "confdefs.h"
1483
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1484
egrep "memchr" >/dev/null 2>&1; then
1488
ac_cv_header_stdc=no
1494
if test $ac_cv_header_stdc = yes; then
1495
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1496
cat > conftest.$ac_ext <<EOF
1497
#line 1498 "configure"
1498
#include "confdefs.h"
1501
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1502
egrep "free" >/dev/null 2>&1; then
1506
ac_cv_header_stdc=no
1512
if test $ac_cv_header_stdc = yes; then
1513
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1514
if test "$cross_compiling" = yes; then
1517
cat > conftest.$ac_ext <<EOF
1518
#line 1519 "configure"
1519
#include "confdefs.h"
1521
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1522
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1523
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1524
int main () { int i; for (i = 0; i < 256; i++)
1525
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1529
if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1533
echo "configure: failed program was:" >&5
1534
cat conftest.$ac_ext >&5
1536
ac_cv_header_stdc=no
1544
echo "$ac_t""$ac_cv_header_stdc" 1>&6
1545
if test $ac_cv_header_stdc = yes; then
1546
cat >> confdefs.h <<\EOF
1547
#define STDC_HEADERS 1
1552
case $have_pthread_lib-$host_os in
1554
echo $ac_n "checking for Native POSIX Thread Library""... $ac_c" 1>&6
1555
echo "configure:1556: checking for Native POSIX Thread Library" >&5
1556
case `getconf GNU_LIBPTHREAD_VERSION 2>/dev/null` in
1561
echo "$ac_t""$nptl" 1>&6
1562
if test $nptl = yes; then
1563
need_nptl_incldir=no
1564
ac_safe=`echo "nptl/pthread.h" | sed 'y%./+-%__p_%'`
1565
echo $ac_n "checking for nptl/pthread.h""... $ac_c" 1>&6
1566
echo "configure:1567: checking for nptl/pthread.h" >&5
1567
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1568
echo $ac_n "(cached) $ac_c" 1>&6
1570
cat > conftest.$ac_ext <<EOF
1571
#line 1572 "configure"
1572
#include "confdefs.h"
1573
#include <nptl/pthread.h>
1575
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1576
{ (eval echo configure:1577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1577
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1578
if test -z "$ac_err"; then
1580
eval "ac_cv_header_$ac_safe=yes"
1583
echo "configure: failed program was:" >&5
1584
cat conftest.$ac_ext >&5
1586
eval "ac_cv_header_$ac_safe=no"
1590
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1591
echo "$ac_t""yes" 1>&6
1592
need_nptl_incldir=yes
1594
echo "$ac_t""no" 1>&6
1597
if test $need_nptl_incldir = yes; then
1599
nptl_path="$C_INCLUDE_PATH:$CPATH:/usr/local/include:/usr/include"
1601
save_ifs="$IFS"; IFS=":"
1602
for dir in $nptl_path; do
1603
if test "x$dir" != "x"; then
1604
nptl_ws_path="$nptl_ws_path $dir"
1609
for dir in $nptl_ws_path; do
1610
ac_safe=`echo "$dir/nptl/pthread.h" | sed 'y%./+-%__p_%'`
1611
echo $ac_n "checking for $dir/nptl/pthread.h""... $ac_c" 1>&6
1612
echo "configure:1613: checking for $dir/nptl/pthread.h" >&5
1613
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1614
echo $ac_n "(cached) $ac_c" 1>&6
1616
cat > conftest.$ac_ext <<EOF
1617
#line 1618 "configure"
1618
#include "confdefs.h"
1619
#include <$dir/nptl/pthread.h>
1621
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1622
{ (eval echo configure:1623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1623
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1624
if test -z "$ac_err"; then
1626
eval "ac_cv_header_$ac_safe=yes"
1629
echo "configure: failed program was:" >&5
1630
cat conftest.$ac_ext >&5
1632
eval "ac_cv_header_$ac_safe=no"
1636
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1637
echo "$ac_t""yes" 1>&6
1638
nptl_incldir=$dir/nptl
1640
echo "$ac_t""no" 1>&6
1643
if test "x$nptl_incldir" != "x"; then
1644
CFLAGS="$CFLAGS -isystem $nptl_incldir"
1645
CPPFLAGS="$CPPFLAGS -isystem $nptl_incldir"
1649
if test "x$nptl_incldir" = "x"; then
1650
{ echo "configure: error: Failed to locate nptl system include directory" 1>&2; exit 1; }
1658
for ac_hdr in fcntl.h netdb.h stdlib.h string.h sys/socket.h
1660
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1661
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1662
echo "configure:1663: checking for $ac_hdr" >&5
1663
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1664
echo $ac_n "(cached) $ac_c" 1>&6
1666
cat > conftest.$ac_ext <<EOF
1667
#line 1668 "configure"
1668
#include "confdefs.h"
1671
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1672
{ (eval echo configure:1673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1673
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1674
if test -z "$ac_err"; then
1676
eval "ac_cv_header_$ac_safe=yes"
1679
echo "configure: failed program was:" >&5
1680
cat conftest.$ac_ext >&5
1682
eval "ac_cv_header_$ac_safe=no"
1686
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1687
echo "$ac_t""yes" 1>&6
1688
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1689
cat >> confdefs.h <<EOF
1690
#define $ac_tr_hdr 1
1694
echo "$ac_t""no" 1>&6
1699
echo $ac_n "checking for working const""... $ac_c" 1>&6
1700
echo "configure:1701: checking for working const" >&5
1701
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1702
echo $ac_n "(cached) $ac_c" 1>&6
1704
cat > conftest.$ac_ext <<EOF
1705
#line 1706 "configure"
1706
#include "confdefs.h"
1710
/* Ultrix mips cc rejects this. */
1711
typedef int charset[2]; const charset x;
1712
/* SunOS 4.1.1 cc rejects this. */
1713
char const *const *ccp;
1715
/* NEC SVR4.0.2 mips cc rejects this. */
1716
struct point {int x, y;};
1717
static struct point const zero = {0,0};
1718
/* AIX XL C 1.02.0.0 rejects this.
1719
It does not let you subtract one const X* pointer from another in an arm
1720
of an if-expression whose if-part is not a constant expression */
1721
const char *g = "string";
1722
ccp = &g + (g ? g-g : 0);
1723
/* HPUX 7.0 cc rejects these. */
1726
ccp = (char const *const *) p;
1727
{ /* SCO 3.2v4 cc rejects this. */
1729
char const *s = 0 ? (char *) 0 : (char const *) 0;
1733
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1735
const int *foo = &x[0];
1738
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1739
typedef const int *iptr;
1743
{ /* AIX XL C 1.02.0.0 rejects this saying
1744
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1745
struct s { int j; const int *ap[3]; };
1746
struct s *b; b->j = 5;
1748
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1754
if { (eval echo configure:1755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1758
echo "configure: failed program was:" >&5
1759
cat conftest.$ac_ext >&5
1766
echo "$ac_t""$ac_cv_c_const" 1>&6
1767
if test $ac_cv_c_const = no; then
1768
cat >> confdefs.h <<\EOF
1774
echo $ac_n "checking for size_t""... $ac_c" 1>&6
1775
echo "configure:1776: checking for size_t" >&5
1776
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1777
echo $ac_n "(cached) $ac_c" 1>&6
1779
cat > conftest.$ac_ext <<EOF
1780
#line 1781 "configure"
1781
#include "confdefs.h"
1782
#include <sys/types.h>
1788
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1789
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1791
ac_cv_type_size_t=yes
1794
ac_cv_type_size_t=no
1799
echo "$ac_t""$ac_cv_type_size_t" 1>&6
1800
if test $ac_cv_type_size_t = no; then
1801
cat >> confdefs.h <<\EOF
1802
#define size_t unsigned
1808
for ac_func in memset socket
1810
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1811
echo "configure:1812: checking for $ac_func" >&5
1812
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1813
echo $ac_n "(cached) $ac_c" 1>&6
1815
cat > conftest.$ac_ext <<EOF
1816
#line 1817 "configure"
1817
#include "confdefs.h"
1818
/* System header to define __stub macros and hopefully few prototypes,
1819
which can conflict with char $ac_func(); below. */
1821
/* Override any gcc2 internal prototype to avoid an error. */
1822
/* We use char because int might match the return type of a gcc2
1823
builtin and then its argument prototype would still apply. */
1828
/* The GNU C library defines this for functions which it implements
1829
to always fail with ENOSYS. Some functions are actually named
1830
something starting with __ and the normal name is an alias. */
1831
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1839
if { (eval echo configure:1840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1841
eval "ac_cv_func_$ac_func=yes"
1843
echo "configure: failed program was:" >&5
1844
cat conftest.$ac_ext >&5
1846
eval "ac_cv_func_$ac_func=no"
1851
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1852
echo "$ac_t""yes" 1>&6
1853
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1854
cat >> confdefs.h <<EOF
1855
#define $ac_tr_func 1
1859
echo "$ac_t""no" 1>&6
1866
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1868
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1869
# Let make expand exec_prefix.
1870
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1872
# Any assignment to VPATH causes Sun make to only execute
1873
# the first set of double-colon rules, so remove it if not needed.
1874
# If there is a colon in the path, we need to keep it.
1875
if test "x$srcdir" = x.; then
1876
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1879
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1881
# Transform confdefs.h into DEFS.
1882
# Protect against shell expansion while executing Makefile rules.
1883
# Protect against Makefile macro expansion.
1884
cat > conftest.defs <<\EOF
1885
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1886
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1891
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1895
# Without the "./", some shells look in PATH for config.status.
1896
: ${CONFIG_STATUS=./config.status}
1898
echo creating $CONFIG_STATUS
1899
rm -f $CONFIG_STATUS
1900
cat > $CONFIG_STATUS <<EOF
1902
# Generated automatically by configure.
1903
# Run this file to recreate the current configuration.
1904
# This directory was configured as follows,
1905
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1907
# $0 $ac_configure_args
1909
# Compiler output produced by configure, useful for debugging
1910
# configure, is in ./config.log if it exists.
1912
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1915
case "\$ac_option" in
1916
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1917
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1918
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1919
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1920
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1922
-help | --help | --hel | --he | --h)
1923
echo "\$ac_cs_usage"; exit 0 ;;
1924
*) echo "\$ac_cs_usage"; exit 1 ;;
1928
ac_given_srcdir=$srcdir
1930
trap 'rm -fr `echo "c_src/$host/Makefile:c_src/Makefile.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1932
cat >> $CONFIG_STATUS <<EOF
1934
# Protect against being on the right side of a sed subst in config.status.
1935
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1936
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1940
s%@CFLAGS@%$CFLAGS%g
1941
s%@CPPFLAGS@%$CPPFLAGS%g
1942
s%@CXXFLAGS@%$CXXFLAGS%g
1943
s%@FFLAGS@%$FFLAGS%g
1945
s%@LDFLAGS@%$LDFLAGS%g
1947
s%@exec_prefix@%$exec_prefix%g
1948
s%@prefix@%$prefix%g
1949
s%@program_transform_name@%$program_transform_name%g
1950
s%@bindir@%$bindir%g
1951
s%@sbindir@%$sbindir%g
1952
s%@libexecdir@%$libexecdir%g
1953
s%@datadir@%$datadir%g
1954
s%@sysconfdir@%$sysconfdir%g
1955
s%@sharedstatedir@%$sharedstatedir%g
1956
s%@localstatedir@%$localstatedir%g
1957
s%@libdir@%$libdir%g
1958
s%@includedir@%$includedir%g
1959
s%@oldincludedir@%$oldincludedir%g
1960
s%@infodir@%$infodir%g
1961
s%@mandir@%$mandir%g
1963
s%@host_alias@%$host_alias%g
1964
s%@host_cpu@%$host_cpu%g
1965
s%@host_vendor@%$host_vendor%g
1966
s%@host_os@%$host_os%g
1968
s%@MIXED_CYGWIN_VC@%$MIXED_CYGWIN_VC%g
1969
s%@SET_MAKE@%$SET_MAKE%g
1970
s%@DED_LD@%$DED_LD%g
1971
s%@TARGET_FLAGS@%$TARGET_FLAGS%g
1972
s%@ODBC_LIB@%$ODBC_LIB%g
1973
s%@ODBC_INCLUDE@%$ODBC_INCLUDE%g
1979
cat >> $CONFIG_STATUS <<\EOF
1981
# Split the substitutions into bite-sized pieces for seds with
1982
# small command number limits, like on Digital OSF/1 and HP-UX.
1983
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1984
ac_file=1 # Number of current file.
1985
ac_beg=1 # First line for current file.
1986
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1989
while $ac_more_lines; do
1990
if test $ac_beg -gt 1; then
1991
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1993
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1995
if test ! -s conftest.s$ac_file; then
1997
rm -f conftest.s$ac_file
1999
if test -z "$ac_sed_cmds"; then
2000
ac_sed_cmds="sed -f conftest.s$ac_file"
2002
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2004
ac_file=`expr $ac_file + 1`
2006
ac_end=`expr $ac_end + $ac_max_sed_cmds`
2009
if test -z "$ac_sed_cmds"; then
2014
cat >> $CONFIG_STATUS <<EOF
2016
CONFIG_FILES=\${CONFIG_FILES-"c_src/$host/Makefile:c_src/Makefile.in"}
2018
cat >> $CONFIG_STATUS <<\EOF
2019
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2020
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2022
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2023
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2024
*) ac_file_in="${ac_file}.in" ;;
2027
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2029
# Remove last slash and all that follows it. Not all systems have dirname.
2030
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2031
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2032
# The file is in a subdirectory.
2033
test ! -d "$ac_dir" && mkdir "$ac_dir"
2034
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2035
# A "../" for each directory in $ac_dir_suffix.
2036
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2038
ac_dir_suffix= ac_dots=
2041
case "$ac_given_srcdir" in
2043
if test -z "$ac_dots"; then top_srcdir=.
2044
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2045
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2047
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2048
top_srcdir="$ac_dots$ac_given_srcdir" ;;
2052
echo creating "$ac_file"
2054
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2056
*Makefile*) ac_comsub="1i\\
2057
# $configure_input" ;;
2061
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2063
s%@configure_input@%$configure_input%g
2064
s%@srcdir@%$srcdir%g
2065
s%@top_srcdir@%$top_srcdir%g
2066
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2071
cat >> $CONFIG_STATUS <<EOF
2074
cat >> $CONFIG_STATUS <<\EOF
2078
chmod +x $CONFIG_STATUS
2079
rm -fr confdefs* $ac_clean_files
2080
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1