2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for ibutils 1.2.
5
# Report bugs to <openib-general@openib.org>.
7
# Copyright (C) 2003 Free Software Foundation, Inc.
8
# This configure script is free software; the Free Software Foundation
9
# gives unlimited permission to copy, distribute and modify it.
10
## --------------------- ##
11
## M4sh Initialization. ##
12
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
164
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
{ (exit 1); exit 1; }; }
180
# Don't try to exec as it changes $[0], causing all sort of problems
181
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
229
# Sed expression to map a string onto a valid CPP name.
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
# Sed expression to map a string onto a valid variable name.
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
# We need space, tab and new line, in precisely that order.
247
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
# so uname gets run too.
249
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
264
# Maximum number of lines to put in a shell here document.
265
# This variable seems obsolete. It should probably be removed, and
266
# only ac_max_sed_lines should be used.
267
: ${ac_max_here_lines=38}
269
# Identity of this package.
270
PACKAGE_NAME='ibutils'
271
PACKAGE_TARNAME='ibutils'
272
PACKAGE_VERSION='1.2'
273
PACKAGE_STRING='ibutils 1.2'
274
PACKAGE_BUGREPORT='openib-general@openib.org'
276
ac_subdirs_all="$ac_subdirs_all ibis ibdm ibdiag"
277
ac_subdirs_all="$ac_subdirs_all ibmgtsim"
278
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT OSM_VENDOR_TS_TRUE OSM_VENDOR_TS_FALSE OSM_VENDOR_MTL_TRUE OSM_VENDOR_MTL_FALSE OSM_VENDOR_SIM_TRUE OSM_VENDOR_SIM_FALSE OSM_BUILD_OPENIB_TRUE OSM_BUILD_OPENIB_FALSE with_osm OSM_CFLAGS OSM_LDFLAGS OSM_VENDOR OSM_BUILD subdirs BUILD_IBMGTSIM_TRUE BUILD_IBMGTSIM_FALSE LIBOBJS LTLIBOBJS'
281
# Initialize some variables set by options.
283
ac_init_version=false
284
# The variables have the same names as the options, with
285
# dashes changed to underlines.
293
program_transform_name=s,x,x,
301
# Installation directory options.
302
# These are left unexpanded so users can "make install exec_prefix=/foo"
303
# and all the variables that are supposed to be based on exec_prefix
304
# by default will actually change.
305
# Use braces instead of parens because sh, perl, etc. also accept them.
306
bindir='${exec_prefix}/bin'
307
sbindir='${exec_prefix}/sbin'
308
libexecdir='${exec_prefix}/libexec'
309
datadir='${prefix}/share'
310
sysconfdir='${prefix}/etc'
311
sharedstatedir='${prefix}/com'
312
localstatedir='${prefix}/var'
313
libdir='${exec_prefix}/lib'
314
includedir='${prefix}/include'
315
oldincludedir='/usr/include'
316
infodir='${prefix}/info'
317
mandir='${prefix}/man'
322
# If the previous option needs an argument, assign it.
323
if test -n "$ac_prev"; then
324
eval "$ac_prev=\$ac_option"
329
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
331
# Accept the important Cygnus configure options, so we can diagnose typos.
335
-bindir | --bindir | --bindi | --bind | --bin | --bi)
337
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
340
-build | --build | --buil | --bui | --bu)
341
ac_prev=build_alias ;;
342
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
343
build_alias=$ac_optarg ;;
345
-cache-file | --cache-file | --cache-fil | --cache-fi \
346
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
347
ac_prev=cache_file ;;
348
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
349
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
350
cache_file=$ac_optarg ;;
353
cache_file=config.cache ;;
355
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
357
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
359
datadir=$ac_optarg ;;
361
-disable-* | --disable-*)
362
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
363
# Reject names that are not valid shell variable names.
364
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
365
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
366
{ (exit 1); exit 1; }; }
367
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
368
eval "enable_$ac_feature=no" ;;
370
-enable-* | --enable-*)
371
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
372
# Reject names that are not valid shell variable names.
373
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
374
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
375
{ (exit 1); exit 1; }; }
376
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
378
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
381
eval "enable_$ac_feature='$ac_optarg'" ;;
383
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
384
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
385
| --exec | --exe | --ex)
386
ac_prev=exec_prefix ;;
387
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
388
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
389
| --exec=* | --exe=* | --ex=*)
390
exec_prefix=$ac_optarg ;;
392
-gas | --gas | --ga | --g)
393
# Obsolete; use --with-gas.
396
-help | --help | --hel | --he | -h)
398
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
399
ac_init_help=recursive ;;
400
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
401
ac_init_help=short ;;
403
-host | --host | --hos | --ho)
404
ac_prev=host_alias ;;
405
-host=* | --host=* | --hos=* | --ho=*)
406
host_alias=$ac_optarg ;;
408
-includedir | --includedir | --includedi | --included | --include \
409
| --includ | --inclu | --incl | --inc)
410
ac_prev=includedir ;;
411
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
412
| --includ=* | --inclu=* | --incl=* | --inc=*)
413
includedir=$ac_optarg ;;
415
-infodir | --infodir | --infodi | --infod | --info | --inf)
417
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
418
infodir=$ac_optarg ;;
420
-libdir | --libdir | --libdi | --libd)
422
-libdir=* | --libdir=* | --libdi=* | --libd=*)
425
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
426
| --libexe | --libex | --libe)
427
ac_prev=libexecdir ;;
428
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
429
| --libexe=* | --libex=* | --libe=*)
430
libexecdir=$ac_optarg ;;
432
-localstatedir | --localstatedir | --localstatedi | --localstated \
433
| --localstate | --localstat | --localsta | --localst \
434
| --locals | --local | --loca | --loc | --lo)
435
ac_prev=localstatedir ;;
436
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
437
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
438
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
439
localstatedir=$ac_optarg ;;
441
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
443
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
447
# Obsolete; use --without-fp.
450
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
451
| --no-cr | --no-c | -n)
454
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
455
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
458
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
459
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
460
| --oldin | --oldi | --old | --ol | --o)
461
ac_prev=oldincludedir ;;
462
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
463
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
464
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
465
oldincludedir=$ac_optarg ;;
467
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
469
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
472
-program-prefix | --program-prefix | --program-prefi | --program-pref \
473
| --program-pre | --program-pr | --program-p)
474
ac_prev=program_prefix ;;
475
-program-prefix=* | --program-prefix=* | --program-prefi=* \
476
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
477
program_prefix=$ac_optarg ;;
479
-program-suffix | --program-suffix | --program-suffi | --program-suff \
480
| --program-suf | --program-su | --program-s)
481
ac_prev=program_suffix ;;
482
-program-suffix=* | --program-suffix=* | --program-suffi=* \
483
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
484
program_suffix=$ac_optarg ;;
486
-program-transform-name | --program-transform-name \
487
| --program-transform-nam | --program-transform-na \
488
| --program-transform-n | --program-transform- \
489
| --program-transform | --program-transfor \
490
| --program-transfo | --program-transf \
491
| --program-trans | --program-tran \
492
| --progr-tra | --program-tr | --program-t)
493
ac_prev=program_transform_name ;;
494
-program-transform-name=* | --program-transform-name=* \
495
| --program-transform-nam=* | --program-transform-na=* \
496
| --program-transform-n=* | --program-transform-=* \
497
| --program-transform=* | --program-transfor=* \
498
| --program-transfo=* | --program-transf=* \
499
| --program-trans=* | --program-tran=* \
500
| --progr-tra=* | --program-tr=* | --program-t=*)
501
program_transform_name=$ac_optarg ;;
503
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
504
| -silent | --silent | --silen | --sile | --sil)
507
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
509
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
511
sbindir=$ac_optarg ;;
513
-sharedstatedir | --sharedstatedir | --sharedstatedi \
514
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
515
| --sharedst | --shareds | --shared | --share | --shar \
517
ac_prev=sharedstatedir ;;
518
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
519
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
520
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
522
sharedstatedir=$ac_optarg ;;
524
-site | --site | --sit)
526
-site=* | --site=* | --sit=*)
529
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
531
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
534
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
535
| --syscon | --sysco | --sysc | --sys | --sy)
536
ac_prev=sysconfdir ;;
537
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
538
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
539
sysconfdir=$ac_optarg ;;
541
-target | --target | --targe | --targ | --tar | --ta | --t)
542
ac_prev=target_alias ;;
543
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
544
target_alias=$ac_optarg ;;
546
-v | -verbose | --verbose | --verbos | --verbo | --verb)
549
-version | --version | --versio | --versi | --vers | -V)
553
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
554
# Reject names that are not valid shell variable names.
555
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556
{ echo "$as_me: error: invalid package name: $ac_package" >&2
557
{ (exit 1); exit 1; }; }
558
ac_package=`echo $ac_package| sed 's/-/_/g'`
560
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563
eval "with_$ac_package='$ac_optarg'" ;;
565
-without-* | --without-*)
566
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
567
# Reject names that are not valid shell variable names.
568
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
569
{ echo "$as_me: error: invalid package name: $ac_package" >&2
570
{ (exit 1); exit 1; }; }
571
ac_package=`echo $ac_package | sed 's/-/_/g'`
572
eval "with_$ac_package=no" ;;
575
# Obsolete; use --with-x.
578
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
579
| --x-incl | --x-inc | --x-in | --x-i)
580
ac_prev=x_includes ;;
581
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
582
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
583
x_includes=$ac_optarg ;;
585
-x-libraries | --x-libraries | --x-librarie | --x-librari \
586
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
587
ac_prev=x_libraries ;;
588
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
589
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
590
x_libraries=$ac_optarg ;;
592
-*) { echo "$as_me: error: unrecognized option: $ac_option
593
Try \`$0 --help' for more information." >&2
594
{ (exit 1); exit 1; }; }
598
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
599
# Reject names that are not valid shell variable names.
600
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
601
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
602
{ (exit 1); exit 1; }; }
603
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
604
eval "$ac_envvar='$ac_optarg'"
608
# FIXME: should be removed in autoconf 3.0.
609
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
610
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
611
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
612
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
618
if test -n "$ac_prev"; then
619
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
620
{ echo "$as_me: error: missing argument to $ac_option" >&2
621
{ (exit 1); exit 1; }; }
624
# Be sure to have absolute paths.
625
for ac_var in exec_prefix prefix
627
eval ac_val=$`echo $ac_var`
629
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
630
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
631
{ (exit 1); exit 1; }; };;
635
# Be sure to have absolute paths.
636
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
637
localstatedir libdir includedir oldincludedir infodir mandir
639
eval ac_val=$`echo $ac_var`
641
[\\/$]* | ?:[\\/]* ) ;;
642
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
643
{ (exit 1); exit 1; }; };;
647
# There might be people who depend on the old broken behavior: `$host'
648
# used to hold the argument of --host etc.
649
# FIXME: To remove some day.
654
# FIXME: To remove some day.
655
if test "x$host_alias" != x; then
656
if test "x$build_alias" = x; then
657
cross_compiling=maybe
658
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
659
If a cross compiler is detected then cross compile mode will be used." >&2
660
elif test "x$build_alias" != "x$host_alias"; then
666
test -n "$host_alias" && ac_tool_prefix=$host_alias-
668
test "$silent" = yes && exec 6>/dev/null
671
# Find the source files, if location was not specified.
672
if test -z "$srcdir"; then
673
ac_srcdir_defaulted=yes
674
# Try the directory containing this script, then its parent.
675
ac_confdir=`(dirname "$0") 2>/dev/null ||
676
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
677
X"$0" : 'X\(//\)[^/]' \| \
678
X"$0" : 'X\(//\)$' \| \
679
X"$0" : 'X\(/\)' \| \
680
. : '\(.\)' 2>/dev/null ||
682
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
683
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
684
/^X\(\/\/\)$/{ s//\1/; q; }
685
/^X\(\/\).*/{ s//\1/; q; }
688
if test ! -r $srcdir/$ac_unique_file; then
692
ac_srcdir_defaulted=no
694
if test ! -r $srcdir/$ac_unique_file; then
695
if test "$ac_srcdir_defaulted" = yes; then
696
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
697
{ (exit 1); exit 1; }; }
699
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
700
{ (exit 1); exit 1; }; }
703
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
704
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
705
{ (exit 1); exit 1; }; }
706
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
707
ac_env_build_alias_set=${build_alias+set}
708
ac_env_build_alias_value=$build_alias
709
ac_cv_env_build_alias_set=${build_alias+set}
710
ac_cv_env_build_alias_value=$build_alias
711
ac_env_host_alias_set=${host_alias+set}
712
ac_env_host_alias_value=$host_alias
713
ac_cv_env_host_alias_set=${host_alias+set}
714
ac_cv_env_host_alias_value=$host_alias
715
ac_env_target_alias_set=${target_alias+set}
716
ac_env_target_alias_value=$target_alias
717
ac_cv_env_target_alias_set=${target_alias+set}
718
ac_cv_env_target_alias_value=$target_alias
721
# Report the --help message.
723
if test "$ac_init_help" = "long"; then
724
# Omit some internal or obsolete options to make the list less imposing.
725
# This message is too long to be a string in the A/UX 3.1 sh.
727
\`configure' configures ibutils 1.2 to adapt to many kinds of systems.
729
Usage: $0 [OPTION]... [VAR=VALUE]...
731
To assign environment variables (e.g., CC, CFLAGS...), specify them as
732
VAR=VALUE. See below for descriptions of some of the useful variables.
734
Defaults for the options are specified in brackets.
737
-h, --help display this help and exit
738
--help=short display options specific to this package
739
--help=recursive display the short help of all the included packages
740
-V, --version display version information and exit
741
-q, --quiet, --silent do not print \`checking...' messages
742
--cache-file=FILE cache test results in FILE [disabled]
743
-C, --config-cache alias for \`--cache-file=config.cache'
744
-n, --no-create do not create output files
745
--srcdir=DIR find the sources in DIR [configure dir or \`..']
750
Installation directories:
751
--prefix=PREFIX install architecture-independent files in PREFIX
753
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
756
By default, \`make install' will install all the files in
757
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
758
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
759
for instance \`--prefix=\$HOME'.
761
For better control, use the options below.
763
Fine tuning of the installation directories:
764
--bindir=DIR user executables [EPREFIX/bin]
765
--sbindir=DIR system admin executables [EPREFIX/sbin]
766
--libexecdir=DIR program executables [EPREFIX/libexec]
767
--datadir=DIR read-only architecture-independent data [PREFIX/share]
768
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
769
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
770
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
771
--libdir=DIR object code libraries [EPREFIX/lib]
772
--includedir=DIR C header files [PREFIX/include]
773
--oldincludedir=DIR C header files for non-gcc [/usr/include]
774
--infodir=DIR info documentation [PREFIX/info]
775
--mandir=DIR man documentation [PREFIX/man]
781
--program-prefix=PREFIX prepend PREFIX to installed program names
782
--program-suffix=SUFFIX append SUFFIX to installed program names
783
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
787
if test -n "$ac_init_help"; then
788
case $ac_init_help in
789
short | recursive ) echo "Configuration of ibutils 1.2:";;
794
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
795
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
796
--enable-maintainer-mode enable make rules and dependencies not useful
797
(and sometimes confusing) to the casual installer
798
--enable-debug Turn on debugging
799
--enable-libcheck Enable Dependency Checking
800
--enable-ibmgtsim Build ibmgtsim
803
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
804
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
805
--with-osm=<dir> define OSM prefix
806
--with-osm-libs=<dir> define where to find OSM libs
808
Report bugs to <openib-general@openib.org>.
812
if test "$ac_init_help" = "recursive"; then
813
# If there are subdirs, report their specific --help.
815
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
816
test -d $ac_dir || continue
819
if test "$ac_dir" != .; then
820
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
821
# A "../" for each directory in $ac_dir_suffix.
822
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
824
ac_dir_suffix= ac_top_builddir=
828
.) # No --srcdir option. We are building in place.
830
if test -z "$ac_top_builddir"; then
833
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
835
[\\/]* | ?:[\\/]* ) # Absolute path.
836
ac_srcdir=$srcdir$ac_dir_suffix;
837
ac_top_srcdir=$srcdir ;;
839
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
840
ac_top_srcdir=$ac_top_builddir$srcdir ;;
843
# Do not use `cd foo && pwd` to compute absolute paths, because
844
# the directories may not exist.
846
.) ac_abs_builddir="$ac_dir";;
849
.) ac_abs_builddir=`pwd`;;
850
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
851
*) ac_abs_builddir=`pwd`/"$ac_dir";;
854
case $ac_abs_builddir in
855
.) ac_abs_top_builddir=${ac_top_builddir}.;;
857
case ${ac_top_builddir}. in
858
.) ac_abs_top_builddir=$ac_abs_builddir;;
859
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
860
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
863
case $ac_abs_builddir in
864
.) ac_abs_srcdir=$ac_srcdir;;
867
.) ac_abs_srcdir=$ac_abs_builddir;;
868
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
869
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
872
case $ac_abs_builddir in
873
.) ac_abs_top_srcdir=$ac_top_srcdir;;
875
case $ac_top_srcdir in
876
.) ac_abs_top_srcdir=$ac_abs_builddir;;
877
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
878
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
883
# Check for guested configure; otherwise get Cygnus style configure.
884
if test -f $ac_srcdir/configure.gnu; then
886
$SHELL $ac_srcdir/configure.gnu --help=recursive
887
elif test -f $ac_srcdir/configure; then
889
$SHELL $ac_srcdir/configure --help=recursive
890
elif test -f $ac_srcdir/configure.ac ||
891
test -f $ac_srcdir/configure.in; then
895
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
901
test -n "$ac_init_help" && exit 0
902
if $ac_init_version; then
904
ibutils configure 1.2
905
generated by GNU Autoconf 2.59
907
Copyright (C) 2003 Free Software Foundation, Inc.
908
This configure script is free software; the Free Software Foundation
909
gives unlimited permission to copy, distribute and modify it.
915
This file contains any messages produced by compilers while
916
running configure, to aid debugging if configure makes a mistake.
918
It was created by ibutils $as_me 1.2, which was
919
generated by GNU Autoconf 2.59. Invocation command line was
930
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
931
uname -m = `(uname -m) 2>/dev/null || echo unknown`
932
uname -r = `(uname -r) 2>/dev/null || echo unknown`
933
uname -s = `(uname -s) 2>/dev/null || echo unknown`
934
uname -v = `(uname -v) 2>/dev/null || echo unknown`
936
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
937
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
939
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
940
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
941
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
942
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
943
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
944
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
945
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
953
test -z "$as_dir" && as_dir=.
969
# Keep a trace of the command line.
970
# Strip out --no-create and --no-recursion so they do not pile up.
971
# Strip out --silent because we don't want to record it for future runs.
972
# Also quote any args containing shell meta-characters.
973
# Make two passes to allow for proper duplicate-argument suppression.
978
ac_must_keep_next=false
984
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
985
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
986
| -silent | --silent | --silen | --sile | --sil)
988
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
989
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
992
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
994
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
995
if test $ac_must_keep_next = true; then
996
ac_must_keep_next=false # Got value, back to normal.
999
*=* | --config-cache | -C | -disable-* | --disable-* \
1000
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1001
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1002
| -with-* | --with-* | -without-* | --without-* | --x)
1003
case "$ac_configure_args0 " in
1004
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1007
-* ) ac_must_keep_next=true ;;
1010
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1011
# Get rid of the leading space.
1017
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1018
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1020
# When interrupted or exit'd, cleanup temporary files, and complete
1021
# config.log. We remove comments because anyway the quotes in there
1022
# would cause problems or look ugly.
1023
# WARNING: Be sure not to use single quotes in there, as some shells,
1024
# such as our DU 5.0 friend, will then `close' the trap.
1025
trap 'exit_status=$?
1026
# Save into config.log some information that might help in debugging.
1031
## ---------------- ##
1032
## Cache variables. ##
1033
## ---------------- ##
1036
# The following way of writing the cache mishandles newlines in values,
1039
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1042
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1043
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1047
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1054
## ----------------- ##
1055
## Output variables. ##
1056
## ----------------- ##
1059
for ac_var in $ac_subst_vars
1061
eval ac_val=$`echo $ac_var`
1062
echo "$ac_var='"'"'$ac_val'"'"'"
1066
if test -n "$ac_subst_files"; then
1073
for ac_var in $ac_subst_files
1075
eval ac_val=$`echo $ac_var`
1076
echo "$ac_var='"'"'$ac_val'"'"'"
1081
if test -s confdefs.h; then
1088
sed "/^$/d" confdefs.h | sort
1091
test "$ac_signal" != 0 &&
1092
echo "$as_me: caught signal $ac_signal"
1093
echo "$as_me: exit $exit_status"
1095
rm -f core *.core &&
1096
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1099
for ac_signal in 1 2 13 15; do
1100
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1104
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1105
rm -rf conftest* confdefs.h
1106
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1109
# Predefined preprocessor variables.
1111
cat >>confdefs.h <<_ACEOF
1112
#define PACKAGE_NAME "$PACKAGE_NAME"
1116
cat >>confdefs.h <<_ACEOF
1117
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1121
cat >>confdefs.h <<_ACEOF
1122
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1126
cat >>confdefs.h <<_ACEOF
1127
#define PACKAGE_STRING "$PACKAGE_STRING"
1131
cat >>confdefs.h <<_ACEOF
1132
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1136
# Let the site file select an alternate cache file if it wants to.
1137
# Prefer explicitly selected file to automatically selected ones.
1138
if test -z "$CONFIG_SITE"; then
1139
if test "x$prefix" != xNONE; then
1140
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1142
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1145
for ac_site_file in $CONFIG_SITE; do
1146
if test -r "$ac_site_file"; then
1147
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1148
echo "$as_me: loading site script $ac_site_file" >&6;}
1149
sed 's/^/| /' "$ac_site_file" >&5
1154
if test -r "$cache_file"; then
1155
# Some versions of bash will fail to source /dev/null (special
1156
# files actually), so we avoid doing that.
1157
if test -f "$cache_file"; then
1158
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1159
echo "$as_me: loading cache $cache_file" >&6;}
1161
[\\/]* | ?:[\\/]* ) . $cache_file;;
1162
*) . ./$cache_file;;
1166
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1167
echo "$as_me: creating cache $cache_file" >&6;}
1171
# Check that the precious variables saved in the cache have kept the same
1173
ac_cache_corrupted=false
1174
for ac_var in `(set) 2>&1 |
1175
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1176
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1177
eval ac_new_set=\$ac_env_${ac_var}_set
1178
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1179
eval ac_new_val="\$ac_env_${ac_var}_value"
1180
case $ac_old_set,$ac_new_set in
1182
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1183
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1184
ac_cache_corrupted=: ;;
1186
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1187
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1188
ac_cache_corrupted=: ;;
1191
if test "x$ac_old_val" != "x$ac_new_val"; then
1192
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1193
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1194
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1195
echo "$as_me: former value: $ac_old_val" >&2;}
1196
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1197
echo "$as_me: current value: $ac_new_val" >&2;}
1198
ac_cache_corrupted=:
1201
# Pass precious variables to config.status.
1202
if test "$ac_new_set" = set; then
1204
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1205
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1206
*) ac_arg=$ac_var=$ac_new_val ;;
1208
case " $ac_configure_args " in
1209
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1210
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1214
if $ac_cache_corrupted; then
1215
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1216
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1217
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1218
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1219
{ (exit 1); exit 1; }; }
1223
ac_cpp='$CPP $CPPFLAGS'
1224
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1225
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1226
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1255
for ac_dir in config $srcdir/config; do
1256
if test -f $ac_dir/install-sh; then
1258
ac_install_sh="$ac_aux_dir/install-sh -c"
1260
elif test -f $ac_dir/install.sh; then
1262
ac_install_sh="$ac_aux_dir/install.sh -c"
1264
elif test -f $ac_dir/shtool; then
1266
ac_install_sh="$ac_aux_dir/shtool install -c"
1270
if test -z "$ac_aux_dir"; then
1271
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1272
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1273
{ (exit 1); exit 1; }; }
1275
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1276
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1277
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1280
am__api_version="1.9"
1281
# Find a good install program. We prefer a C program (faster),
1282
# so one script is as good as another. But avoid the broken or
1283
# incompatible versions:
1284
# SysV /etc/install, /usr/sbin/install
1285
# SunOS /usr/etc/install
1286
# IRIX /sbin/install
1288
# AmigaOS /C/install, which installs bootblocks on floppy discs
1289
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1290
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1291
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1292
# OS/2's system install, which has a completely different semantic
1293
# ./install, which can be erroneously created by make from ./install.sh.
1294
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1295
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1296
if test -z "$INSTALL"; then
1297
if test "${ac_cv_path_install+set}" = set; then
1298
echo $ECHO_N "(cached) $ECHO_C" >&6
1300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1304
test -z "$as_dir" && as_dir=.
1305
# Account for people who put trailing slashes in PATH elements.
1307
./ | .// | /cC/* | \
1308
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1309
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1312
# OSF1 and SCO ODT 3.0 have their own names for install.
1313
# Don't use installbsd from OSF since it installs stuff as root
1315
for ac_prog in ginstall scoinst install; do
1316
for ac_exec_ext in '' $ac_executable_extensions; do
1317
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1318
if test $ac_prog = install &&
1319
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1320
# AIX install. It has an incompatible calling convention.
1322
elif test $ac_prog = install &&
1323
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1324
# program-specific install script used by HP pwplus--don't use.
1327
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1339
if test "${ac_cv_path_install+set}" = set; then
1340
INSTALL=$ac_cv_path_install
1342
# As a last resort, use the slow shell script. We don't cache a
1343
# path for INSTALL within a source directory, because that will
1344
# break other packages using the cache if that directory is
1345
# removed, or if the path is relative.
1346
INSTALL=$ac_install_sh
1349
echo "$as_me:$LINENO: result: $INSTALL" >&5
1350
echo "${ECHO_T}$INSTALL" >&6
1352
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1353
# It thinks the first close brace ends the variable substitution.
1354
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1356
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1358
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1360
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1361
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1364
echo timestamp > conftest.file
1365
# Do `set' in a subshell so we don't clobber the current shell's
1366
# arguments. Must try -L first in case configure is actually a
1367
# symlink; some systems play weird games with the mod time of symlinks
1368
# (eg FreeBSD returns the mod time of the symlink's containing
1371
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1372
if test "$*" = "X"; then
1374
set X `ls -t $srcdir/configure conftest.file`
1377
if test "$*" != "X $srcdir/configure conftest.file" \
1378
&& test "$*" != "X conftest.file $srcdir/configure"; then
1380
# If neither matched, then we have a broken ls. This can happen
1381
# if, for instance, CONFIG_SHELL is bash and it inherits a
1382
# broken ls alias from the environment. This has actually
1383
# happened. Such a system could not be considered "sane".
1384
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1385
alias in your environment" >&5
1386
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1387
alias in your environment" >&2;}
1388
{ (exit 1); exit 1; }; }
1391
test "$2" = conftest.file
1397
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1398
Check your system clock" >&5
1399
echo "$as_me: error: newly created file is older than distributed files!
1400
Check your system clock" >&2;}
1401
{ (exit 1); exit 1; }; }
1403
echo "$as_me:$LINENO: result: yes" >&5
1404
echo "${ECHO_T}yes" >&6
1405
test "$program_prefix" != NONE &&
1406
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1407
# Use a double $ so make ignores it.
1408
test "$program_suffix" != NONE &&
1409
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1410
# Double any \ or $. echo might interpret backslashes.
1411
# By default was `s,x,x', remove it if useless.
1412
cat <<\_ACEOF >conftest.sed
1413
s/[\\$]/&&/g;s/;s,x,x,$//
1415
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1418
# expand $ac_aux_dir to an absolute path
1419
am_aux_dir=`cd $ac_aux_dir && pwd`
1421
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1422
# Use eval to expand $SHELL
1423
if eval "$MISSING --run true"; then
1424
am_missing_run="$MISSING --run "
1427
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1428
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1431
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1432
# We used to keeping the `.' as first argument, in order to
1433
# allow $(mkdir_p) to be used without argument. As in
1434
# $(mkdir_p) $(somedir)
1435
# where $(somedir) is conditionally defined. However this is wrong
1437
# 1. if the package is installed by a user who cannot write `.'
1438
# make install will fail,
1439
# 2. the above comment should most certainly read
1440
# $(mkdir_p) $(DESTDIR)$(somedir)
1441
# so it does not work when $(somedir) is undefined and
1442
# $(DESTDIR) is not.
1443
# To support the latter case, we have to write
1444
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1445
# so the `.' trick is pointless.
1446
mkdir_p='mkdir -p --'
1448
# On NextStep and OpenStep, the `mkdir' command does not
1449
# recognize any option. It will interpret all options as
1450
# directories to create, and then abort because `.' already
1452
for d in ./-p ./--version;
1454
test -d $d && rmdir $d
1456
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1457
if test -f "$ac_aux_dir/mkinstalldirs"; then
1458
mkdir_p='$(mkinstalldirs)'
1460
mkdir_p='$(install_sh) -d'
1464
for ac_prog in gawk mawk nawk awk
1466
# Extract the first word of "$ac_prog", so it can be a program name with args.
1467
set dummy $ac_prog; ac_word=$2
1468
echo "$as_me:$LINENO: checking for $ac_word" >&5
1469
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470
if test "${ac_cv_prog_AWK+set}" = set; then
1471
echo $ECHO_N "(cached) $ECHO_C" >&6
1473
if test -n "$AWK"; then
1474
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480
test -z "$as_dir" && as_dir=.
1481
for ac_exec_ext in '' $ac_executable_extensions; do
1482
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1483
ac_cv_prog_AWK="$ac_prog"
1484
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1493
if test -n "$AWK"; then
1494
echo "$as_me:$LINENO: result: $AWK" >&5
1495
echo "${ECHO_T}$AWK" >&6
1497
echo "$as_me:$LINENO: result: no" >&5
1498
echo "${ECHO_T}no" >&6
1501
test -n "$AWK" && break
1504
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1505
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1506
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1507
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1508
echo $ECHO_N "(cached) $ECHO_C" >&6
1510
cat >conftest.make <<\_ACEOF
1512
@echo 'ac_maketemp="$(MAKE)"'
1514
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1515
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1516
if test -n "$ac_maketemp"; then
1517
eval ac_cv_prog_make_${ac_make}_set=yes
1519
eval ac_cv_prog_make_${ac_make}_set=no
1523
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1524
echo "$as_me:$LINENO: result: yes" >&5
1525
echo "${ECHO_T}yes" >&6
1528
echo "$as_me:$LINENO: result: no" >&5
1529
echo "${ECHO_T}no" >&6
1530
SET_MAKE="MAKE=${MAKE-make}"
1533
rm -rf .tst 2>/dev/null
1534
mkdir .tst 2>/dev/null
1535
if test -d .tst; then
1540
rmdir .tst 2>/dev/null
1542
# test to see if srcdir already configured
1543
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1544
test -f $srcdir/config.status; then
1545
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1546
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1547
{ (exit 1); exit 1; }; }
1550
# test whether we have cygpath
1551
if test -z "$CYGPATH_W"; then
1552
if (cygpath --version) >/dev/null 2>/dev/null; then
1553
CYGPATH_W='cygpath -w'
1560
# Define the identity of the package.
1565
cat >>confdefs.h <<_ACEOF
1566
#define PACKAGE "$PACKAGE"
1570
cat >>confdefs.h <<_ACEOF
1571
#define VERSION "$VERSION"
1574
# Some tools Automake needs.
1576
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1579
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1582
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1585
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1588
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1590
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1592
# Installed binaries are usually stripped using `strip' when the user
1593
# run `make install-strip'. However `strip' might not be the right
1594
# tool to use in cross-compilation environments, therefore Automake
1595
# will honor the `STRIP' environment variable to overrule this program.
1596
if test "$cross_compiling" != no; then
1597
if test -n "$ac_tool_prefix"; then
1598
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1599
set dummy ${ac_tool_prefix}strip; ac_word=$2
1600
echo "$as_me:$LINENO: checking for $ac_word" >&5
1601
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1602
if test "${ac_cv_prog_STRIP+set}" = set; then
1603
echo $ECHO_N "(cached) $ECHO_C" >&6
1605
if test -n "$STRIP"; then
1606
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612
test -z "$as_dir" && as_dir=.
1613
for ac_exec_ext in '' $ac_executable_extensions; do
1614
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1615
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1616
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624
STRIP=$ac_cv_prog_STRIP
1625
if test -n "$STRIP"; then
1626
echo "$as_me:$LINENO: result: $STRIP" >&5
1627
echo "${ECHO_T}$STRIP" >&6
1629
echo "$as_me:$LINENO: result: no" >&5
1630
echo "${ECHO_T}no" >&6
1634
if test -z "$ac_cv_prog_STRIP"; then
1636
# Extract the first word of "strip", so it can be a program name with args.
1637
set dummy strip; ac_word=$2
1638
echo "$as_me:$LINENO: checking for $ac_word" >&5
1639
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1641
echo $ECHO_N "(cached) $ECHO_C" >&6
1643
if test -n "$ac_ct_STRIP"; then
1644
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1646
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1650
test -z "$as_dir" && as_dir=.
1651
for ac_exec_ext in '' $ac_executable_extensions; do
1652
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653
ac_cv_prog_ac_ct_STRIP="strip"
1654
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1663
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1664
if test -n "$ac_ct_STRIP"; then
1665
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1666
echo "${ECHO_T}$ac_ct_STRIP" >&6
1668
echo "$as_me:$LINENO: result: no" >&5
1669
echo "${ECHO_T}no" >&6
1674
STRIP="$ac_cv_prog_STRIP"
1678
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1680
# We need awk for the "check" target. The system "awk" is bad on
1682
# Always define AMTAR for backward compatibility.
1684
AMTAR=${AMTAR-"${am_missing_run}tar"}
1686
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1694
ac_cpp='$CPP $CPPFLAGS'
1695
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1696
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1697
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1700
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1701
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1702
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1703
if test "${enable_maintainer_mode+set}" = set; then
1704
enableval="$enable_maintainer_mode"
1705
USE_MAINTAINER_MODE=$enableval
1707
USE_MAINTAINER_MODE=no
1709
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1710
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1713
if test $USE_MAINTAINER_MODE = yes; then
1714
MAINTAINER_MODE_TRUE=
1715
MAINTAINER_MODE_FALSE='#'
1717
MAINTAINER_MODE_TRUE='#'
1718
MAINTAINER_MODE_FALSE=
1721
MAINT=$MAINTAINER_MODE_TRUE
1725
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1726
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1727
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1728
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1729
echo $ECHO_N "(cached) $ECHO_C" >&6
1731
cat >conftest.make <<\_ACEOF
1733
@echo 'ac_maketemp="$(MAKE)"'
1735
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1736
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1737
if test -n "$ac_maketemp"; then
1738
eval ac_cv_prog_make_${ac_make}_set=yes
1740
eval ac_cv_prog_make_${ac_make}_set=no
1744
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1745
echo "$as_me:$LINENO: result: yes" >&5
1746
echo "${ECHO_T}yes" >&6
1749
echo "$as_me:$LINENO: result: no" >&5
1750
echo "${ECHO_T}no" >&6
1751
SET_MAKE="MAKE=${MAKE-make}"
1755
# Check whether --enable-debug or --disable-debug was given.
1756
if test "${enable_debug+set}" = set; then
1757
enableval="$enable_debug"
1758
case "${enableval}" in
1761
*) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5
1762
echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;}
1763
{ (exit 1); exit 1; }; } ;;
1769
# Check whether --enable-libcheck or --disable-libcheck was given.
1770
if test "${enable_libcheck+set}" = set; then
1771
enableval="$enable_libcheck"
1772
case "${enableval}" in
1773
yes) libcheck=true ;;
1774
no) libcheck=false ;;
1775
*) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libcheck" >&5
1776
echo "$as_me: error: bad value ${enableval} for --enable-libcheck" >&2;}
1777
{ (exit 1); exit 1; }; } ;;
1784
# --- BEGIN OPENIB_APP_OSM ---
1787
# Check whether --with-osm or --without-osm was given.
1788
if test "${with_osm+set}" = set; then
1790
{ echo "$as_me:$LINENO: Using OSM from:$with_osm" >&5
1791
echo "$as_me: Using OSM from:$with_osm" >&6;}
1797
# Check whether --with-osm-libs or --without-osm-libs was given.
1798
if test "${with_osm_libs+set}" = set; then
1799
withval="$with_osm_libs"
1800
{ echo "$as_me:$LINENO: Using OSM libs from:$with_osm_libs" >&5
1801
echo "$as_me: Using OSM libs from:$with_osm_libs" >&6;}
1803
with_osm_libs="none"
1808
if test "x$libcheck" = "xtrue"; then
1809
if test "x$with_osm" = xnone; then
1810
if test -d /usr/local/ibgd/apps/osm; then
1811
with_osm=/usr/local/ibgd/apps/osm
1812
elif test -d /usr/mellanox/osm; then
1813
with_osm=/usr/mellanox
1814
elif test -f /etc/infiniband/info; then
1815
ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
1816
if (test -f $ofed_dir/lib/libopensm.so ||
1817
test -f $ofed_dir/lib64/libopensm.so); then
1820
elif (test -f /usr/local/lib64/libopensm.so ||
1821
test -f /usr/local/lib/libopensm.so); then
1823
elif (test -f /usr/lib64/libopensm.so ||
1824
test -f /usr/lib/libopensm.so); then
1827
{ { echo "$as_me:$LINENO: error: OSM: --with-osm must be provided - fail to find standard OpenSM installation" >&5
1828
echo "$as_me: error: OSM: --with-osm must be provided - fail to find standard OpenSM installation" >&2;}
1829
{ (exit 1); exit 1; }; }
1832
{ echo "$as_me:$LINENO: OSM: used from $with_osm" >&5
1833
echo "$as_me: OSM: used from $with_osm" >&6;}
1835
if test "x$with_osm_libs" = "xnone"; then
1836
if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
1837
test -f $with_osm/lib64/libosmvendor_vapi.so ||
1838
test -f $with_osm/lib64/libopensm.so ||
1839
test -f $with_osm/lib64/libosmvendor_sim.so); then
1845
with_osm_libs=$with_osm/$osm_lib_dir
1847
if test -d $with_osm/include/infiniband; then
1852
{ echo "$as_me:$LINENO: OSM: build type $OSM_BUILD" >&5
1853
echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
1855
OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
1856
if test $OSM_BUILD = openib; then
1857
osm_include_dir="$with_osm/include/infiniband"
1858
osm_extra_includes="-I$with_osm/include"
1860
if test -L $with_osm_libs/libosmvendor_gen1.so; then
1862
osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
1863
OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
1864
elif test -L $with_osm_libs/libosmvendor_vapi.so; then
1866
osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
1867
OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
1868
elif test -L $with_osm_libs/libosmvendor_sim.so; then
1870
osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
1871
OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
1872
elif test -L $with_osm_libs/libopensm.so; then
1874
osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
1875
OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad -libcommon"
1877
{ { echo "$as_me:$LINENO: error: OSM: Fail to recognize vendor type" >&5
1878
echo "$as_me: error: OSM: Fail to recognize vendor type" >&2;}
1879
{ (exit 1); exit 1; }; }
1881
osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
1883
# we are in gen1 build
1884
osm_include_dir="$with_osm/include"
1886
if test -L $with_osm_libs/libosmsvc_ts.so; then
1888
OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
1889
osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
1890
elif test -L $with_osm_libs/libosmsvc_mtl.so; then
1892
OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
1893
osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
1894
elif test -L $with_osm_libs/libosmsvc_sim.so; then
1896
OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
1897
osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
1899
{ { echo "$as_me:$LINENO: error: OSM: Fail to recognize vendor type" >&5
1900
echo "$as_me: error: OSM: Fail to recognize vendor type" >&2;}
1901
{ (exit 1); exit 1; }; }
1904
{ echo "$as_me:$LINENO: OSM: vendor type $OSM_VENDOR" >&5
1905
echo "$as_me: OSM: vendor type $OSM_VENDOR" >&6;}
1908
as_ac_File=`echo "ac_cv_file_$osm_include_dir/opensm/osm_build_id.h" | $as_tr_sh`
1909
echo "$as_me:$LINENO: checking for $osm_include_dir/opensm/osm_build_id.h" >&5
1910
echo $ECHO_N "checking for $osm_include_dir/opensm/osm_build_id.h... $ECHO_C" >&6
1911
if eval "test \"\${$as_ac_File+set}\" = set"; then
1912
echo $ECHO_N "(cached) $ECHO_C" >&6
1914
test "$cross_compiling" = yes &&
1915
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1916
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1917
{ (exit 1); exit 1; }; }
1918
if test -r "$osm_include_dir/opensm/osm_build_id.h"; then
1919
eval "$as_ac_File=yes"
1921
eval "$as_ac_File=no"
1924
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
1925
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
1926
if test `eval echo '${'$as_ac_File'}'` = yes; then
1929
{ { echo "$as_me:$LINENO: error: OSM: could not find $with_osm/include/opensm/osm_build_id.h" >&5
1930
echo "$as_me: error: OSM: could not find $with_osm/include/opensm/osm_build_id.h" >&2;}
1931
{ (exit 1); exit 1; }; }
1935
if test `grep debug $osm_include_dir/opensm/osm_build_id.h | wc -l` = 1; then
1936
osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
1937
{ echo "$as_me:$LINENO: OSM: compiled in DEBUG mode" >&5
1938
echo "$as_me: OSM: compiled in DEBUG mode" >&6;}
1943
OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
1947
OSM_LDFLAGS=disabled
1954
if test "x$OSM_VENDOR" = xts; then
1956
OSM_VENDOR_TS_FALSE='#'
1958
OSM_VENDOR_TS_TRUE='#'
1959
OSM_VENDOR_TS_FALSE=
1964
if test "x$OSM_VENDOR" = xmtl; then
1965
OSM_VENDOR_MTL_TRUE=
1966
OSM_VENDOR_MTL_FALSE='#'
1968
OSM_VENDOR_MTL_TRUE='#'
1969
OSM_VENDOR_MTL_FALSE=
1974
if test "x$OSM_VENDOR" = xsim; then
1975
OSM_VENDOR_SIM_TRUE=
1976
OSM_VENDOR_SIM_FALSE='#'
1978
OSM_VENDOR_SIM_TRUE='#'
1979
OSM_VENDOR_SIM_FALSE=
1984
if test "x$OSM_BUILD" = xopenib; then
1985
OSM_BUILD_OPENIB_TRUE=
1986
OSM_BUILD_OPENIB_FALSE='#'
1988
OSM_BUILD_OPENIB_TRUE='#'
1989
OSM_BUILD_OPENIB_FALSE=
1999
# --- OPENIB_APP_OSM ---
2004
subdirs="$subdirs ibis ibdm ibdiag"
2007
# Check whether --enable-ibmgtsim or --disable-ibmgtsim was given.
2008
if test "${enable_ibmgtsim+set}" = set; then
2009
enableval="$enable_ibmgtsim"
2010
case "${enableval}" in
2011
yes) ibmgtsim=true ;;
2012
no) ibmgtsim=false ;;
2013
*) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-ibmgtsim" >&5
2014
echo "$as_me: error: bad value ${enableval} for --enable-ibmgtsim" >&2;}
2015
{ (exit 1); exit 1; }; } ;;
2022
if test "x$ibmgtsim" != xfalse; then
2023
BUILD_IBMGTSIM_TRUE=
2024
BUILD_IBMGTSIM_FALSE='#'
2026
BUILD_IBMGTSIM_TRUE='#'
2027
BUILD_IBMGTSIM_FALSE=
2031
abs_srcdir=`cd ${0%*/*};pwd`
2033
if test $ibmgtsim = true; then
2034
ac_configure_args="$ac_configure_args --with-ibdm=$abs_srcdir/ibdm"
2037
subdirs="$subdirs ibmgtsim"
2041
ac_config_files="$ac_config_files ibutils.spec"
2043
ac_config_files="$ac_config_files Makefile"
2044
cat >confcache <<\_ACEOF
2045
# This file is a shell script that caches the results of configure
2046
# tests run on this system so they can be shared between configure
2047
# scripts and configure runs, see configure's option --config-cache.
2048
# It is not useful on other systems. If it contains results you don't
2049
# want to keep, you may remove or edit it.
2051
# config.status only pays attention to the cache file if you give it
2052
# the --recheck option to rerun configure.
2054
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2055
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2060
# The following way of writing the cache mishandles newlines in values,
2061
# but we know of no workaround that is simple, portable, and efficient.
2062
# So, don't put newlines in cache variables' values.
2063
# Ultrix sh set writes to stderr and can't be redirected directly,
2064
# and sets the high bit in the cache file unless we assign to the vars.
2067
case `(ac_space=' '; set | grep ac_space) 2>&1` in
2069
# `set' does not quote correctly, so add quotes (double-quote
2070
# substitution turns \\\\ into \\, and sed turns \\ into \).
2073
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2076
# `set' quotes correctly as required by POSIX, so do not add quotes.
2078
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2085
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2087
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2089
if diff $cache_file confcache >/dev/null 2>&1; then :; else
2090
if test -w $cache_file; then
2091
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2092
cat confcache >$cache_file
2094
echo "not updating unwritable cache $cache_file"
2099
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2100
# Let make expand exec_prefix.
2101
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2103
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2104
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2105
# trailing colons and then remove the whole line if VPATH becomes empty
2106
# (actually we leave an empty line to preserve line numbers).
2107
if test "x$srcdir" = x.; then
2108
ac_vpsub='/^[ ]*VPATH[ ]*=/{
2109
s/:*\$(srcdir):*/:/;
2110
s/:*\${srcdir}:*/:/;
2112
s/^\([^=]*=[ ]*\):*/\1/;
2118
# Transform confdefs.h into DEFS.
2119
# Protect against shell expansion while executing Makefile rules.
2120
# Protect against Makefile macro expansion.
2122
# If the first sed substitution is executed (which looks for macros that
2123
# take arguments), then we branch to the quote section. Otherwise,
2124
# look for a macro that doesn't take arguments.
2125
cat >confdef2opt.sed <<\_ACEOF
2128
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2130
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2134
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2140
# We use echo to avoid assuming a particular line-breaking character.
2141
# The extra dot is to prevent the shell from consuming trailing
2142
# line-breaks from the sub-command output. A line-break within
2143
# single-quotes doesn't work because, if this script is created in a
2144
# platform that uses two characters for line-breaks (e.g., DOS), tr
2146
ac_LF_and_DOT=`echo; echo .`
2147
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2148
rm -f confdef2opt.sed
2153
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2154
# 1. Remove the extension, and $U if already installed.
2155
ac_i=`echo "$ac_i" |
2156
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2158
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2159
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2163
LTLIBOBJS=$ac_ltlibobjs
2166
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2167
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2168
Usually this means the macro was only invoked conditionally." >&5
2169
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2170
Usually this means the macro was only invoked conditionally." >&2;}
2171
{ (exit 1); exit 1; }; }
2173
if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
2174
{ { echo "$as_me:$LINENO: error: conditional \"OSM_VENDOR_TS\" was never defined.
2175
Usually this means the macro was only invoked conditionally." >&5
2176
echo "$as_me: error: conditional \"OSM_VENDOR_TS\" was never defined.
2177
Usually this means the macro was only invoked conditionally." >&2;}
2178
{ (exit 1); exit 1; }; }
2180
if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
2181
{ { echo "$as_me:$LINENO: error: conditional \"OSM_VENDOR_MTL\" was never defined.
2182
Usually this means the macro was only invoked conditionally." >&5
2183
echo "$as_me: error: conditional \"OSM_VENDOR_MTL\" was never defined.
2184
Usually this means the macro was only invoked conditionally." >&2;}
2185
{ (exit 1); exit 1; }; }
2187
if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
2188
{ { echo "$as_me:$LINENO: error: conditional \"OSM_VENDOR_SIM\" was never defined.
2189
Usually this means the macro was only invoked conditionally." >&5
2190
echo "$as_me: error: conditional \"OSM_VENDOR_SIM\" was never defined.
2191
Usually this means the macro was only invoked conditionally." >&2;}
2192
{ (exit 1); exit 1; }; }
2194
if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
2195
{ { echo "$as_me:$LINENO: error: conditional \"OSM_BUILD_OPENIB\" was never defined.
2196
Usually this means the macro was only invoked conditionally." >&5
2197
echo "$as_me: error: conditional \"OSM_BUILD_OPENIB\" was never defined.
2198
Usually this means the macro was only invoked conditionally." >&2;}
2199
{ (exit 1); exit 1; }; }
2201
if test -z "${BUILD_IBMGTSIM_TRUE}" && test -z "${BUILD_IBMGTSIM_FALSE}"; then
2202
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_IBMGTSIM\" was never defined.
2203
Usually this means the macro was only invoked conditionally." >&5
2204
echo "$as_me: error: conditional \"BUILD_IBMGTSIM\" was never defined.
2205
Usually this means the macro was only invoked conditionally." >&2;}
2206
{ (exit 1); exit 1; }; }
2209
: ${CONFIG_STATUS=./config.status}
2210
ac_clean_files_save=$ac_clean_files
2211
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2212
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2213
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2214
cat >$CONFIG_STATUS <<_ACEOF
2216
# Generated by $as_me.
2217
# Run this file to recreate the current configuration.
2218
# Compiler output produced by configure, useful for debugging
2219
# configure, is in config.log if it exists.
2224
SHELL=\${CONFIG_SHELL-$SHELL}
2227
cat >>$CONFIG_STATUS <<\_ACEOF
2228
## --------------------- ##
2229
## M4sh Initialization. ##
2230
## --------------------- ##
2232
# Be Bourne compatible
2233
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2236
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2237
# is contrary to our usage. Disable this feature.
2238
alias -g '${1+"$@"}'='"$@"'
2239
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2242
DUALCASE=1; export DUALCASE # for MKS sh
2244
# Support unset when possible.
2245
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2252
# Work around bugs in pre-3.0 UWIN ksh.
2253
$as_unset ENV MAIL MAILPATH
2260
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2261
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2262
LC_TELEPHONE LC_TIME
2264
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2265
eval $as_var=C; export $as_var
2271
# Required to use basename.
2272
if expr a : '\(a\)' >/dev/null 2>&1; then
2278
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2279
as_basename=basename
2285
# Name of the executable.
2286
as_me=`$as_basename "$0" ||
2287
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2288
X"$0" : 'X\(//\)$' \| \
2289
X"$0" : 'X\(/\)$' \| \
2290
. : '\(.\)' 2>/dev/null ||
2292
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2293
/^X\/\(\/\/\)$/{ s//\1/; q; }
2294
/^X\/\(\/\).*/{ s//\1/; q; }
2298
# PATH needs CR, and LINENO needs CR and PATH.
2299
# Avoid depending upon Character Ranges.
2300
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2301
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2302
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2303
as_cr_digits='0123456789'
2304
as_cr_alnum=$as_cr_Letters$as_cr_digits
2306
# The user is always right.
2307
if test "${PATH_SEPARATOR+set}" != set; then
2308
echo "#! /bin/sh" >conf$$.sh
2309
echo "exit 0" >>conf$$.sh
2311
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2322
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2323
test "x$as_lineno_1" != "x$as_lineno_2" &&
2324
test "x$as_lineno_3" = "x$as_lineno_2" || {
2325
# Find who we are. Look in the path if we contain no path at all
2328
*[\\/]* ) as_myself=$0 ;;
2329
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333
test -z "$as_dir" && as_dir=.
2334
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2339
# We did not find ourselves, most probably we were run as `sh COMMAND'
2340
# in which case we are not to be found in the path.
2341
if test "x$as_myself" = x; then
2344
if test ! -f "$as_myself"; then
2345
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2346
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2347
{ (exit 1); exit 1; }; }
2349
case $CONFIG_SHELL in
2351
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2355
test -z "$as_dir" && as_dir=.
2356
for as_base in sh bash ksh sh5; do
2359
if ("$as_dir/$as_base" -c '
2362
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2363
test "x$as_lineno_1" != "x$as_lineno_2" &&
2364
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2365
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2366
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2367
CONFIG_SHELL=$as_dir/$as_base
2369
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2377
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2378
# uniformly replaced by the line number. The first 'sed' inserts a
2379
# line-number line before each line; the second 'sed' does the real
2380
# work. The second script uses 'N' to pair each line-number line
2381
# with the numbered line, and appends trailing '-' during
2382
# substitution so that $LINENO is not a special case at line end.
2383
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2384
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2385
sed '=' <$as_myself |
2390
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2393
s,^['$as_cr_digits']*\n,,
2395
chmod +x $as_me.lineno ||
2396
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2397
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2398
{ (exit 1); exit 1; }; }
2400
# Don't try to exec as it changes $[0], causing all sort of problems
2401
# (the dirname of $[0] is not the place where we might find the
2402
# original and so on. Autoconf is especially sensible to this).
2404
# Exit status is that of the last command.
2409
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2410
*c*,-n*) ECHO_N= ECHO_C='
2412
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2413
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2416
if expr a : '\(a\)' >/dev/null 2>&1; then
2422
rm -f conf$$ conf$$.exe conf$$.file
2424
if ln -s conf$$.file conf$$ 2>/dev/null; then
2425
# We could just check for DJGPP; but this test a) works b) is more generic
2426
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2427
if test -f conf$$.exe; then
2428
# Don't use ln at all; we don't have any links
2433
elif ln conf$$.file conf$$ 2>/dev/null; then
2438
rm -f conf$$ conf$$.exe conf$$.file
2440
if mkdir -p . 2>/dev/null; then
2443
test -d ./-p && rmdir ./-p
2447
as_executable_p="test -f"
2449
# Sed expression to map a string onto a valid CPP name.
2450
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2452
# Sed expression to map a string onto a valid variable name.
2453
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2457
# We need space, tab and new line, in precisely that order.
2467
# Open the log real soon, to keep \$[0] and so on meaningful, and to
2468
# report actual input values of CONFIG_FILES etc. instead of their
2469
# values after options handling. Logging --version etc. is OK.
2473
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2474
## Running $as_me. ##
2479
This file was extended by ibutils $as_me 1.2, which was
2480
generated by GNU Autoconf 2.59. Invocation command line was
2482
CONFIG_FILES = $CONFIG_FILES
2483
CONFIG_HEADERS = $CONFIG_HEADERS
2484
CONFIG_LINKS = $CONFIG_LINKS
2485
CONFIG_COMMANDS = $CONFIG_COMMANDS
2489
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2493
# Files that config.status was made for.
2494
if test -n "$ac_config_files"; then
2495
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2498
if test -n "$ac_config_headers"; then
2499
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2502
if test -n "$ac_config_links"; then
2503
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2506
if test -n "$ac_config_commands"; then
2507
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2510
cat >>$CONFIG_STATUS <<\_ACEOF
2513
\`$as_me' instantiates files from templates according to the
2514
current configuration.
2516
Usage: $0 [OPTIONS] [FILE]...
2518
-h, --help print this help, then exit
2519
-V, --version print version number, then exit
2520
-q, --quiet do not print progress messages
2521
-d, --debug don't remove temporary files
2522
--recheck update $as_me by reconfiguring in the same conditions
2523
--file=FILE[:TEMPLATE]
2524
instantiate the configuration file FILE
2526
Configuration files:
2529
Report bugs to <bug-autoconf@gnu.org>."
2532
cat >>$CONFIG_STATUS <<_ACEOF
2534
ibutils config.status 1.2
2535
configured by $0, generated by GNU Autoconf 2.59,
2536
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2538
Copyright (C) 2003 Free Software Foundation, Inc.
2539
This config.status script is free software; the Free Software Foundation
2540
gives unlimited permission to copy, distribute and modify it."
2545
cat >>$CONFIG_STATUS <<\_ACEOF
2546
# If no file are specified by the user, then we need to provide default
2547
# value. By we need to know if files were specified by the user.
2553
ac_option=`expr "x$1" : 'x\([^=]*\)='`
2554
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2562
*) # This is not an option, so the user has probably given explicit
2565
ac_need_defaults=false;;
2569
# Handling of the options.
2571
cat >>$CONFIG_STATUS <<\_ACEOF
2572
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2574
--version | --vers* | -V )
2575
echo "$ac_cs_version"; exit 0 ;;
2577
# Conflict between --help and --header
2578
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
2579
Try \`$0 --help' for more information." >&5
2580
echo "$as_me: error: ambiguous option: $1
2581
Try \`$0 --help' for more information." >&2;}
2582
{ (exit 1); exit 1; }; };;
2583
--help | --hel | -h )
2584
echo "$ac_cs_usage"; exit 0 ;;
2585
--debug | --d* | -d )
2587
--file | --fil | --fi | --f )
2589
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2590
ac_need_defaults=false;;
2591
--header | --heade | --head | --hea )
2593
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2594
ac_need_defaults=false;;
2595
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2596
| -silent | --silent | --silen | --sile | --sil | --si | --s)
2600
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2601
Try \`$0 --help' for more information." >&5
2602
echo "$as_me: error: unrecognized option: $1
2603
Try \`$0 --help' for more information." >&2;}
2604
{ (exit 1); exit 1; }; } ;;
2606
*) ac_config_targets="$ac_config_targets $1" ;;
2612
ac_configure_extra_args=
2614
if $ac_cs_silent; then
2616
ac_configure_extra_args="$ac_configure_extra_args --silent"
2620
cat >>$CONFIG_STATUS <<_ACEOF
2621
if \$ac_cs_recheck; then
2622
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2623
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2632
cat >>$CONFIG_STATUS <<\_ACEOF
2633
for ac_config_target in $ac_config_targets
2635
case "$ac_config_target" in
2636
# Handling of arguments.
2637
"ibutils.spec" ) CONFIG_FILES="$CONFIG_FILES ibutils.spec" ;;
2638
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2639
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2640
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2641
{ (exit 1); exit 1; }; };;
2645
# If the user did not use the arguments to specify the items to instantiate,
2646
# then the envvar interface is used. Set only those that are not.
2647
# We use the long form for the default assignment because of an extremely
2648
# bizarre bug on SunOS 4.1.3.
2649
if $ac_need_defaults; then
2650
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2653
# Have a temporary directory for convenience. Make it in the build tree
2654
# simply because there is no reason to put it here, and in addition,
2655
# creating and moving files from /tmp can sometimes cause problems.
2656
# Create a temporary directory, and hook for its removal unless debugging.
2659
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2660
trap '{ (exit 1); exit 1; }' 1 2 13 15
2663
# Create a (secure) tmp directory for tmp files.
2666
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2667
test -n "$tmp" && test -d "$tmp"
2670
tmp=./confstat$$-$RANDOM
2671
(umask 077 && mkdir $tmp)
2674
echo "$me: cannot create a temporary directory in ." >&2
2675
{ (exit 1); exit 1; }
2680
cat >>$CONFIG_STATUS <<_ACEOF
2683
# CONFIG_FILES section.
2686
# No need to generate the scripts if there are no CONFIG_FILES.
2687
# This happens for instance when ./config.status config.h
2688
if test -n "\$CONFIG_FILES"; then
2689
# Protect against being on the right side of a sed subst in config.status.
2690
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2691
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2692
s,@SHELL@,$SHELL,;t t
2693
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2694
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2695
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2696
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2697
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2698
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2699
s,@exec_prefix@,$exec_prefix,;t t
2700
s,@prefix@,$prefix,;t t
2701
s,@program_transform_name@,$program_transform_name,;t t
2702
s,@bindir@,$bindir,;t t
2703
s,@sbindir@,$sbindir,;t t
2704
s,@libexecdir@,$libexecdir,;t t
2705
s,@datadir@,$datadir,;t t
2706
s,@sysconfdir@,$sysconfdir,;t t
2707
s,@sharedstatedir@,$sharedstatedir,;t t
2708
s,@localstatedir@,$localstatedir,;t t
2709
s,@libdir@,$libdir,;t t
2710
s,@includedir@,$includedir,;t t
2711
s,@oldincludedir@,$oldincludedir,;t t
2712
s,@infodir@,$infodir,;t t
2713
s,@mandir@,$mandir,;t t
2714
s,@build_alias@,$build_alias,;t t
2715
s,@host_alias@,$host_alias,;t t
2716
s,@target_alias@,$target_alias,;t t
2718
s,@ECHO_C@,$ECHO_C,;t t
2719
s,@ECHO_N@,$ECHO_N,;t t
2720
s,@ECHO_T@,$ECHO_T,;t t
2722
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2723
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2724
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2725
s,@CYGPATH_W@,$CYGPATH_W,;t t
2726
s,@PACKAGE@,$PACKAGE,;t t
2727
s,@VERSION@,$VERSION,;t t
2728
s,@ACLOCAL@,$ACLOCAL,;t t
2729
s,@AUTOCONF@,$AUTOCONF,;t t
2730
s,@AUTOMAKE@,$AUTOMAKE,;t t
2731
s,@AUTOHEADER@,$AUTOHEADER,;t t
2732
s,@MAKEINFO@,$MAKEINFO,;t t
2733
s,@install_sh@,$install_sh,;t t
2734
s,@STRIP@,$STRIP,;t t
2735
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2736
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2737
s,@mkdir_p@,$mkdir_p,;t t
2739
s,@SET_MAKE@,$SET_MAKE,;t t
2740
s,@am__leading_dot@,$am__leading_dot,;t t
2741
s,@AMTAR@,$AMTAR,;t t
2742
s,@am__tar@,$am__tar,;t t
2743
s,@am__untar@,$am__untar,;t t
2744
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2745
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2746
s,@MAINT@,$MAINT,;t t
2747
s,@OSM_VENDOR_TS_TRUE@,$OSM_VENDOR_TS_TRUE,;t t
2748
s,@OSM_VENDOR_TS_FALSE@,$OSM_VENDOR_TS_FALSE,;t t
2749
s,@OSM_VENDOR_MTL_TRUE@,$OSM_VENDOR_MTL_TRUE,;t t
2750
s,@OSM_VENDOR_MTL_FALSE@,$OSM_VENDOR_MTL_FALSE,;t t
2751
s,@OSM_VENDOR_SIM_TRUE@,$OSM_VENDOR_SIM_TRUE,;t t
2752
s,@OSM_VENDOR_SIM_FALSE@,$OSM_VENDOR_SIM_FALSE,;t t
2753
s,@OSM_BUILD_OPENIB_TRUE@,$OSM_BUILD_OPENIB_TRUE,;t t
2754
s,@OSM_BUILD_OPENIB_FALSE@,$OSM_BUILD_OPENIB_FALSE,;t t
2755
s,@with_osm@,$with_osm,;t t
2756
s,@OSM_CFLAGS@,$OSM_CFLAGS,;t t
2757
s,@OSM_LDFLAGS@,$OSM_LDFLAGS,;t t
2758
s,@OSM_VENDOR@,$OSM_VENDOR,;t t
2759
s,@OSM_BUILD@,$OSM_BUILD,;t t
2760
s,@subdirs@,$subdirs,;t t
2761
s,@BUILD_IBMGTSIM_TRUE@,$BUILD_IBMGTSIM_TRUE,;t t
2762
s,@BUILD_IBMGTSIM_FALSE@,$BUILD_IBMGTSIM_FALSE,;t t
2763
s,@LIBOBJS@,$LIBOBJS,;t t
2764
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2769
cat >>$CONFIG_STATUS <<\_ACEOF
2770
# Split the substitutions into bite-sized pieces for seds with
2771
# small command number limits, like on Digital OSF/1 and HP-UX.
2773
ac_sed_frag=1 # Number of current file.
2774
ac_beg=1 # First line for current file.
2775
ac_end=$ac_max_sed_lines # Line after last line for current file.
2778
while $ac_more_lines; do
2779
if test $ac_beg -gt 1; then
2780
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2782
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2784
if test ! -s $tmp/subs.frag; then
2787
# The purpose of the label and of the branching condition is to
2788
# speed up the sed processing (if there are no `@' at all, there
2789
# is no need to browse any of the substitutions).
2790
# These are the two extra sed commands mentioned above.
2792
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2793
if test -z "$ac_sed_cmds"; then
2794
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2796
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2798
ac_sed_frag=`expr $ac_sed_frag + 1`
2800
ac_end=`expr $ac_end + $ac_max_sed_lines`
2803
if test -z "$ac_sed_cmds"; then
2806
fi # test -n "$CONFIG_FILES"
2809
cat >>$CONFIG_STATUS <<\_ACEOF
2810
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2811
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2813
- | *:- | *:-:* ) # input from stdin
2815
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2816
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2817
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2818
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2819
* ) ac_file_in=$ac_file.in ;;
2822
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2823
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2824
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2825
X"$ac_file" : 'X\(//\)[^/]' \| \
2826
X"$ac_file" : 'X\(//\)$' \| \
2827
X"$ac_file" : 'X\(/\)' \| \
2828
. : '\(.\)' 2>/dev/null ||
2830
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2831
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2832
/^X\(\/\/\)$/{ s//\1/; q; }
2833
/^X\(\/\).*/{ s//\1/; q; }
2835
{ if $as_mkdir_p; then
2840
while test ! -d "$as_dir"; do
2841
as_dirs="$as_dir $as_dirs"
2842
as_dir=`(dirname "$as_dir") 2>/dev/null ||
2843
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2844
X"$as_dir" : 'X\(//\)[^/]' \| \
2845
X"$as_dir" : 'X\(//\)$' \| \
2846
X"$as_dir" : 'X\(/\)' \| \
2847
. : '\(.\)' 2>/dev/null ||
2849
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2850
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2851
/^X\(\/\/\)$/{ s//\1/; q; }
2852
/^X\(\/\).*/{ s//\1/; q; }
2855
test ! -n "$as_dirs" || mkdir $as_dirs
2856
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2857
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2858
{ (exit 1); exit 1; }; }; }
2862
if test "$ac_dir" != .; then
2863
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2864
# A "../" for each directory in $ac_dir_suffix.
2865
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2867
ac_dir_suffix= ac_top_builddir=
2871
.) # No --srcdir option. We are building in place.
2873
if test -z "$ac_top_builddir"; then
2876
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2878
[\\/]* | ?:[\\/]* ) # Absolute path.
2879
ac_srcdir=$srcdir$ac_dir_suffix;
2880
ac_top_srcdir=$srcdir ;;
2882
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2883
ac_top_srcdir=$ac_top_builddir$srcdir ;;
2886
# Do not use `cd foo && pwd` to compute absolute paths, because
2887
# the directories may not exist.
2889
.) ac_abs_builddir="$ac_dir";;
2892
.) ac_abs_builddir=`pwd`;;
2893
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2894
*) ac_abs_builddir=`pwd`/"$ac_dir";;
2897
case $ac_abs_builddir in
2898
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2900
case ${ac_top_builddir}. in
2901
.) ac_abs_top_builddir=$ac_abs_builddir;;
2902
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2903
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2906
case $ac_abs_builddir in
2907
.) ac_abs_srcdir=$ac_srcdir;;
2910
.) ac_abs_srcdir=$ac_abs_builddir;;
2911
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2912
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2915
case $ac_abs_builddir in
2916
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2918
case $ac_top_srcdir in
2919
.) ac_abs_top_srcdir=$ac_abs_builddir;;
2920
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2921
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2927
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2928
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2931
# Let's still pretend it is `configure' which instantiates (i.e., don't
2932
# use $as_me), people would be surprised to read:
2933
# /* config.h. Generated by config.status. */
2934
if test x"$ac_file" = x-; then
2937
configure_input="$ac_file. "
2939
configure_input=$configure_input"Generated from `echo $ac_file_in |
2940
sed 's,.*/,,'` by configure."
2942
# First look for the input files in the build tree, otherwise in the
2944
ac_file_inputs=`IFS=:
2945
for f in $ac_file_in; do
2947
-) echo $tmp/stdin ;;
2949
# Absolute (can't be DOS-style, as IFS=:)
2950
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2951
echo "$as_me: error: cannot find input file: $f" >&2;}
2952
{ (exit 1); exit 1; }; }
2955
if test -f "$f"; then
2958
elif test -f "$srcdir/$f"; then
2963
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2964
echo "$as_me: error: cannot find input file: $f" >&2;}
2965
{ (exit 1); exit 1; }; }
2968
done` || { (exit 1); exit 1; }
2970
if test x"$ac_file" != x-; then
2971
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2972
echo "$as_me: creating $ac_file" >&6;}
2976
cat >>$CONFIG_STATUS <<_ACEOF
2980
cat >>$CONFIG_STATUS <<\_ACEOF
2982
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2983
s,@configure_input@,$configure_input,;t t
2984
s,@srcdir@,$ac_srcdir,;t t
2985
s,@abs_srcdir@,$ac_abs_srcdir,;t t
2986
s,@top_srcdir@,$ac_top_srcdir,;t t
2987
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2988
s,@builddir@,$ac_builddir,;t t
2989
s,@abs_builddir@,$ac_abs_builddir,;t t
2990
s,@top_builddir@,$ac_top_builddir,;t t
2991
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2992
s,@INSTALL@,$ac_INSTALL,;t t
2993
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2995
if test x"$ac_file" != x-; then
2996
mv $tmp/out $ac_file
3005
cat >>$CONFIG_STATUS <<\_ACEOF
3007
{ (exit 0); exit 0; }
3009
chmod +x $CONFIG_STATUS
3010
ac_clean_files=$ac_clean_files_save
3013
# configure is writing to config.log, and then calls config.status.
3014
# config.status does its own redirection, appending to config.log.
3015
# Unfortunately, on DOS this fails, as config.log is still kept open
3016
# by configure, so config.status won't be able to write to it; its
3017
# output is simply discarded. So we exec the FD to /dev/null,
3018
# effectively closing config.log, so it can be properly (re)opened and
3019
# appended to by config.status. When coming back to configure, we
3020
# need to make the FD available again.
3021
if test "$no_create" != yes; then
3023
ac_config_status_args=
3024
test "$silent" = yes &&
3025
ac_config_status_args="$ac_config_status_args --quiet"
3027
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3029
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
3030
# would make configure fail if this is the last instruction.
3031
$ac_cs_success || { (exit 1); exit 1; }
3035
# CONFIG_SUBDIRS section.
3037
if test "$no_recursion" != yes; then
3039
# Remove --cache-file and --srcdir arguments so they do not pile up.
3040
ac_sub_configure_args=
3042
for ac_arg in $ac_configure_args; do
3043
if test -n "$ac_prev"; then
3048
-cache-file | --cache-file | --cache-fil | --cache-fi \
3049
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3050
ac_prev=cache_file ;;
3051
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3052
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3055
--config-cache | -C)
3057
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3059
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3061
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3063
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3065
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3069
# Always prepend --prefix to ensure using the same prefix
3070
# in subdir configurations.
3071
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3074
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3076
# Do not complain, so a configure script can configure whichever
3077
# parts of a large source tree are present.
3078
test -d $srcdir/$ac_dir || continue
3080
{ echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3081
echo "$as_me: configuring in $ac_dir" >&6;}
3082
{ if $as_mkdir_p; then
3087
while test ! -d "$as_dir"; do
3088
as_dirs="$as_dir $as_dirs"
3089
as_dir=`(dirname "$as_dir") 2>/dev/null ||
3090
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3091
X"$as_dir" : 'X\(//\)[^/]' \| \
3092
X"$as_dir" : 'X\(//\)$' \| \
3093
X"$as_dir" : 'X\(/\)' \| \
3094
. : '\(.\)' 2>/dev/null ||
3096
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3097
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3098
/^X\(\/\/\)$/{ s//\1/; q; }
3099
/^X\(\/\).*/{ s//\1/; q; }
3102
test ! -n "$as_dirs" || mkdir $as_dirs
3103
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3104
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3105
{ (exit 1); exit 1; }; }; }
3109
if test "$ac_dir" != .; then
3110
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3111
# A "../" for each directory in $ac_dir_suffix.
3112
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3114
ac_dir_suffix= ac_top_builddir=
3118
.) # No --srcdir option. We are building in place.
3120
if test -z "$ac_top_builddir"; then
3123
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3125
[\\/]* | ?:[\\/]* ) # Absolute path.
3126
ac_srcdir=$srcdir$ac_dir_suffix;
3127
ac_top_srcdir=$srcdir ;;
3129
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3130
ac_top_srcdir=$ac_top_builddir$srcdir ;;
3133
# Do not use `cd foo && pwd` to compute absolute paths, because
3134
# the directories may not exist.
3136
.) ac_abs_builddir="$ac_dir";;
3139
.) ac_abs_builddir=`pwd`;;
3140
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3141
*) ac_abs_builddir=`pwd`/"$ac_dir";;
3144
case $ac_abs_builddir in
3145
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3147
case ${ac_top_builddir}. in
3148
.) ac_abs_top_builddir=$ac_abs_builddir;;
3149
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3150
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3153
case $ac_abs_builddir in
3154
.) ac_abs_srcdir=$ac_srcdir;;
3157
.) ac_abs_srcdir=$ac_abs_builddir;;
3158
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3159
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3162
case $ac_abs_builddir in
3163
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3165
case $ac_top_srcdir in
3166
.) ac_abs_top_srcdir=$ac_abs_builddir;;
3167
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3168
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3175
# Check for guested configure; otherwise get Cygnus style configure.
3176
if test -f $ac_srcdir/configure.gnu; then
3177
ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3178
elif test -f $ac_srcdir/configure; then
3179
ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3180
elif test -f $ac_srcdir/configure.in; then
3181
ac_sub_configure=$ac_configure
3183
{ echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3184
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3188
# The recursion is here.
3189
if test -n "$ac_sub_configure"; then
3190
# Make the cache file name correct relative to the subdirectory.
3192
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3194
ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3197
{ echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3198
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3199
# The eval makes quoting arguments work.
3200
eval $ac_sub_configure $ac_sub_configure_args \
3201
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3202
{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3203
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3204
{ (exit 1); exit 1; }; }