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