Package list ibutils / upstream/1.5.7+0.2.gbd7e502
New upstream version 1.5.7+0.2.gbd7e502 Mehdi Dogguy 3 years ago
69 changed file(s) with 10530 addition(s) and 11171 deletion(s). Raw diff Collapse all Expand all
517517 *.zip*) \
518518 unzip $(distdir).zip ;;\
519519 esac
520 chmod -R a-w $(distdir); chmod a+w $(distdir)
520 chmod -R a-w $(distdir); chmod u+w $(distdir)
521521 mkdir $(distdir)/_build
522522 mkdir $(distdir)/_inst
523523 chmod a-w $(distdir)
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
16 [m4_warning([this file was generated for autoconf 2.65.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
16 [m4_warning([this file was generated for autoconf 2.69.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
00 @%:@! /bin/sh
11 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.65 for ibutils 1.5.7.
2 @%:@ Generated by GNU Autoconf 2.69 for ibutils 1.5.7.
33 @%:@
44 @%:@ Report bugs to <linux-rdma@vger.kernel.org>.
55 @%:@
66 @%:@
7 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 @%:@ Inc.
7 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
108 @%:@
119 @%:@
1210 @%:@ This configure script is free software; the Free Software Foundation
9088 IFS=" "" $as_nl"
9189
9290 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
9392 case $0 in @%:@((
9493 *[\\/]* ) as_myself=$0 ;;
9594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134133 # CDPATH.
135134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136135
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;}
137161 if test "x$CONFIG_SHELL" = x; then
138162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139163 emulate sh
167191 else
168192 exitcode=1; echo positional parameters were not saved.
169193 fi
170 test x\$exitcode = x0 || exit 1"
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
171196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
211236
212237
213238 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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
222258 fi
223259
224260 if test x$as_have_required = xno; then :
317353 test -d "$as_dir" && break
318354 done
319355 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
321357
322358
323359 } @%:@ 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
324368 @%:@ as_fn_append VAR VALUE
325369 @%:@ ----------------------
326370 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
357401 fi # as_fn_arith
358402
359403
360 @%:@ as_fn_error ERROR [LINENO LOG_FD]
361 @%:@ ---------------------------------
404 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
405 @%:@ ----------------------------------------
362406 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363407 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 @%:@ script with status @S|@?, using 1 if that was 0.
408 @%:@ script with STATUS, using 1 if that was 0.
365409 as_fn_error ()
366410 {
367 as_status=$?; test $as_status -eq 0 && as_status=1
368 if test "$3"; then
369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
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
371415 fi
372 $as_echo "$as_me: error: $1" >&2
416 $as_echo "$as_me: error: $2" >&2
373417 as_fn_exit $as_status
374418 } @%:@ as_fn_error
375419
442486 chmod +x "$as_me.lineno" ||
443487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444488
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
445493 # Don't try to exec as it changes $[0], causing all sort of problems
446494 # (the dirname of $[0] is not the place where we might find the
447495 # original and so on. Autoconf is especially sensitive to this).
476524 # ... but there are two gotchas:
477525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
527 # In both cases, we have to default to `cp -pR'.
480528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 as_ln_s='cp -p'
529 as_ln_s='cp -pR'
482530 elif ln conf$$.file conf$$ 2>/dev/null; then
483531 as_ln_s=ln
484532 else
485 as_ln_s='cp -p'
533 as_ln_s='cp -pR'
486534 fi
487535 else
488 as_ln_s='cp -p'
536 as_ln_s='cp -pR'
489537 fi
490538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491539 rmdir conf$$.dir 2>/dev/null
497545 as_mkdir_p=false
498546 fi
499547
500 if test -x / >/dev/null 2>&1; then
501 as_test_x='test -x'
502 else
503 if ls -dL / >/dev/null 2>&1; then
504 as_ls_L_option=L
505 else
506 as_ls_L_option=
507 fi
508 as_test_x='
509 eval sh -c '\''
510 if test -d "$1"; then
511 test -d "$1/.";
512 else
513 case $1 in @%:@(
514 -*)set "./$1";;
515 esac;
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
517 ???[sx]*):;;*)false;;esac;fi
518 '\'' sh
519 '
520 fi
521 as_executable_p=$as_test_x
548 as_test_x='test -x'
549 as_executable_p=as_fn_executable_p
522550
523551 # Sed expression to map a string onto a valid CPP name.
524552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531559 exec 6>&1
532560
533561 # Name of the host.
534 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
562 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
535563 # so uname gets run too.
536564 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537565
714742 fi
715743
716744 case $ac_option in
717 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
718 *) ac_optarg=yes ;;
745 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 *=) ac_optarg= ;;
747 *) ac_optarg=yes ;;
719748 esac
720749
721750 # Accept the important Cygnus configure options, so we can diagnose typos.
760789 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
761790 # Reject names that are not valid shell variable names.
762791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
763 as_fn_error "invalid feature name: $ac_useropt"
792 as_fn_error $? "invalid feature name: $ac_useropt"
764793 ac_useropt_orig=$ac_useropt
765794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
766795 case $ac_user_opts in
786815 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
787816 # Reject names that are not valid shell variable names.
788817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789 as_fn_error "invalid feature name: $ac_useropt"
818 as_fn_error $? "invalid feature name: $ac_useropt"
790819 ac_useropt_orig=$ac_useropt
791820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792821 case $ac_user_opts in
9901019 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
9911020 # Reject names that are not valid shell variable names.
9921021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error "invalid package name: $ac_useropt"
1022 as_fn_error $? "invalid package name: $ac_useropt"
9941023 ac_useropt_orig=$ac_useropt
9951024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
9961025 case $ac_user_opts in
10061035 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10071036 # Reject names that are not valid shell variable names.
10081037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid package name: $ac_useropt"
1038 as_fn_error $? "invalid package name: $ac_useropt"
10101039 ac_useropt_orig=$ac_useropt
10111040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10121041 case $ac_user_opts in
10361065 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10371066 x_libraries=$ac_optarg ;;
10381067
1039 -*) as_fn_error "unrecognized option: \`$ac_option'
1040 Try \`$0 --help' for more information."
1068 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1069 Try \`$0 --help' for more information"
10411070 ;;
10421071
10431072 *=*)
10451074 # Reject names that are not valid shell variable names.
10461075 case $ac_envvar in #(
10471076 '' | [0-9]* | *[!_$as_cr_alnum]* )
1048 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1077 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
10491078 esac
10501079 eval $ac_envvar=\$ac_optarg
10511080 export $ac_envvar ;;
10551084 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10561085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10571086 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1058 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1087 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
10591088 ;;
10601089
10611090 esac
10631092
10641093 if test -n "$ac_prev"; then
10651094 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1066 as_fn_error "missing argument to $ac_option"
1095 as_fn_error $? "missing argument to $ac_option"
10671096 fi
10681097
10691098 if test -n "$ac_unrecognized_opts"; then
10701099 case $enable_option_checking in
10711100 no) ;;
1072 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1101 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
10731102 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
10741103 esac
10751104 fi
10921121 [\\/$]* | ?:[\\/]* ) continue;;
10931122 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
10941123 esac
1095 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1124 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
10961125 done
10971126
10981127 # There might be people who depend on the old broken behavior: `$host'
11061135 if test "x$host_alias" != x; then
11071136 if test "x$build_alias" = x; then
11081137 cross_compiling=maybe
1109 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1110 If a cross compiler is detected then cross compile mode will be used." >&2
11111138 elif test "x$build_alias" != "x$host_alias"; then
11121139 cross_compiling=yes
11131140 fi
11221149 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11231150 ac_ls_di=`ls -di .` &&
11241151 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1125 as_fn_error "working directory cannot be determined"
1152 as_fn_error $? "working directory cannot be determined"
11261153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1127 as_fn_error "pwd does not report name of working directory"
1154 as_fn_error $? "pwd does not report name of working directory"
11281155
11291156
11301157 # Find the source files, if location was not specified.
11631190 fi
11641191 if test ! -r "$srcdir/$ac_unique_file"; then
11651192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1166 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1193 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
11671194 fi
11681195 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11691196 ac_abs_confdir=`(
1170 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1197 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
11711198 pwd)`
11721199 # When building in place, set srcdir=.
11731200 if test "$ac_abs_confdir" = "$ac_pwd"; then
12071234 --help=short display options specific to this package
12081235 --help=recursive display the short help of all the included packages
12091236 -V, --version display version information and exit
1210 -q, --quiet, --silent do not print \`checking...' messages
1237 -q, --quiet, --silent do not print \`checking ...' messages
12111238 --cache-file=FILE cache test results in FILE [disabled]
12121239 -C, --config-cache alias for \`--cache-file=config.cache'
12131240 -n, --no-create do not create output files
13431370 if $ac_init_version; then
13441371 cat <<\_ACEOF
13451372 ibutils configure 1.5.7
1346 generated by GNU Autoconf 2.65
1347
1348 Copyright (C) 2009 Free Software Foundation, Inc.
1373 generated by GNU Autoconf 2.69
1374
1375 Copyright (C) 2012 Free Software Foundation, Inc.
13491376 This configure script is free software; the Free Software Foundation
13501377 gives unlimited permission to copy, distribute and modify it.
13511378 _ACEOF
13601387 running configure, to aid debugging if configure makes a mistake.
13611388
13621389 It was created by ibutils $as_me 1.5.7, which was
1363 generated by GNU Autoconf 2.65. Invocation command line was
1390 generated by GNU Autoconf 2.69. Invocation command line was
13641391
13651392 $ $0 $@
13661393
14701497 {
14711498 echo
14721499
1473 cat <<\_ASBOX
1474 ## ---------------- ##
1500 $as_echo "## ---------------- ##
14751501 ## Cache variables. ##
1476 ## ---------------- ##
1477 _ASBOX
1502 ## ---------------- ##"
14781503 echo
14791504 # The following way of writing the cache mishandles newlines in values,
14801505 (
15081533 )
15091534 echo
15101535
1511 cat <<\_ASBOX
1512 ## ----------------- ##
1536 $as_echo "## ----------------- ##
15131537 ## Output variables. ##
1514 ## ----------------- ##
1515 _ASBOX
1538 ## ----------------- ##"
15161539 echo
15171540 for ac_var in $ac_subst_vars
15181541 do
15251548 echo
15261549
15271550 if test -n "$ac_subst_files"; then
1528 cat <<\_ASBOX
1529 ## ------------------- ##
1551 $as_echo "## ------------------- ##
15301552 ## File substitutions. ##
1531 ## ------------------- ##
1532 _ASBOX
1553 ## ------------------- ##"
15331554 echo
15341555 for ac_var in $ac_subst_files
15351556 do
15431564 fi
15441565
15451566 if test -s confdefs.h; then
1546 cat <<\_ASBOX
1547 ## ----------- ##
1567 $as_echo "## ----------- ##
15481568 ## confdefs.h. ##
1549 ## ----------- ##
1550 _ASBOX
1569 ## ----------- ##"
15511570 echo
15521571 cat confdefs.h
15531572 echo
16021621 ac_site_file1=NONE
16031622 ac_site_file2=NONE
16041623 if test -n "$CONFIG_SITE"; then
1605 ac_site_file1=$CONFIG_SITE
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
16061630 elif test "x$prefix" != xNONE; then
16071631 ac_site_file1=$prefix/share/config.site
16081632 ac_site_file2=$prefix/etc/config.site
16171641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
16181642 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
16191643 sed 's/^/| /' "$ac_site_file" >&5
1620 . "$ac_site_file"
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; }
16211649 fi
16221650 done
16231651
16931721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16941722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
16951723 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1696 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1724 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
16971725 fi
16981726 ## -------------------- ##
16991727 ## Main body of script. ##
17081736
17091737 ac_aux_dir=
17101738 for ac_dir in config "$srcdir"/config; do
1711 for ac_t in install-sh install.sh shtool; do
1712 if test -f "$ac_dir/$ac_t"; then
1713 ac_aux_dir=$ac_dir
1714 ac_install_sh="$ac_aux_dir/$ac_t -c"
1715 break 2
1716 fi
1717 done
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
17181752 done
17191753 if test -z "$ac_aux_dir"; then
1720 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1754 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
17211755 fi
17221756
17231757 # These three variables are undocumented and unsupported,
17491783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
17501784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
17511785 if test -z "$INSTALL"; then
1752 if test "${ac_cv_path_install+set}" = set; then :
1786 if ${ac_cv_path_install+:} false; then :
17531787 $as_echo_n "(cached) " >&6
17541788 else
17551789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17691803 # by default.
17701804 for ac_prog in ginstall scoinst install; do
17711805 for ac_exec_ext in '' $ac_executable_extensions; do
1772 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1806 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
17731807 if test $ac_prog = install &&
17741808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17751809 # AIX install. It has an incompatible calling convention.
18361870 '
18371871 case `pwd` in
18381872 *[\\\"\#\$\&\'\`$am_lf]*)
1839 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1873 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
18401874 esac
18411875 case $srcdir in
18421876 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1843 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1877 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
18441878 esac
18451879
18461880 # Do `set' in a subshell so we don't clobber the current shell's
18621896 # if, for instance, CONFIG_SHELL is bash and it inherits a
18631897 # broken ls alias from the environment. This has actually
18641898 # happened. Such a system could not be considered "sane".
1865 as_fn_error "ls -t appears to fail. Make sure there is not a broken
1899 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
18661900 alias in your environment" "$LINENO" 5
18671901 fi
18681902
18721906 # Ok.
18731907 :
18741908 else
1875 as_fn_error "newly created file is older than distributed files!
1909 as_fn_error $? "newly created file is older than distributed files!
18761910 Check your system clock" "$LINENO" 5
18771911 fi
18781912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19261960 set dummy ${ac_tool_prefix}strip; ac_word=$2
19271961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19281962 $as_echo_n "checking for $ac_word... " >&6; }
1929 if test "${ac_cv_prog_STRIP+set}" = set; then :
1963 if ${ac_cv_prog_STRIP+:} false; then :
19301964 $as_echo_n "(cached) " >&6
19311965 else
19321966 if test -n "$STRIP"; then
19381972 IFS=$as_save_IFS
19391973 test -z "$as_dir" && as_dir=.
19401974 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19421976 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19431977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19441978 break 2
19662000 set dummy strip; ac_word=$2
19672001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19682002 $as_echo_n "checking for $ac_word... " >&6; }
1969 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2003 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
19702004 $as_echo_n "(cached) " >&6
19712005 else
19722006 if test -n "$ac_ct_STRIP"; then
19782012 IFS=$as_save_IFS
19792013 test -z "$as_dir" && as_dir=.
19802014 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19822016 ac_cv_prog_ac_ct_STRIP="strip"
19832017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19842018 break 2
20192053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
20202054 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
20212055 if test -z "$MKDIR_P"; then
2022 if test "${ac_cv_path_mkdir+set}" = set; then :
2056 if ${ac_cv_path_mkdir+:} false; then :
20232057 $as_echo_n "(cached) " >&6
20242058 else
20252059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20292063 test -z "$as_dir" && as_dir=.
20302064 for ac_prog in mkdir gmkdir; do
20312065 for ac_exec_ext in '' $ac_executable_extensions; do
2032 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2066 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
20332067 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
20342068 'mkdir (GNU coreutils) '* | \
20352069 'mkdir (coreutils) '* | \
20702104 set dummy $ac_prog; ac_word=$2
20712105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20722106 $as_echo_n "checking for $ac_word... " >&6; }
2073 if test "${ac_cv_prog_AWK+set}" = set; then :
2107 if ${ac_cv_prog_AWK+:} false; then :
20742108 $as_echo_n "(cached) " >&6
20752109 else
20762110 if test -n "$AWK"; then
20822116 IFS=$as_save_IFS
20832117 test -z "$as_dir" && as_dir=.
20842118 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20862120 ac_cv_prog_AWK="$ac_prog"
20872121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20882122 break 2
21102144 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
21112145 set x ${MAKE-make}
21122146 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2113 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2147 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
21142148 $as_echo_n "(cached) " >&6
21152149 else
21162150 cat >conftest.make <<\_ACEOF
21182152 all:
21192153 @echo '@@@%%%=$(MAKE)=@@@%%%'
21202154 _ACEOF
2121 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2155 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
21222156 case `${MAKE-make} -f conftest.make 2>/dev/null` in
21232157 *@@@%%%=?*=@@@%%%*)
21242158 eval ac_cv_prog_make_${ac_make}_set=yes;;
21522186 am__isrc=' -I$(srcdir)'
21532187 # test to see if srcdir already configured
21542188 if test -f $srcdir/config.status; then
2155 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2189 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
21562190 fi
21572191 fi
21582192
22442278 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
22452279 set x ${MAKE-make}
22462280 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2247 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2281 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
22482282 $as_echo_n "(cached) " >&6
22492283 else
22502284 cat >conftest.make <<\_ACEOF
22522286 all:
22532287 @echo '@@@%%%=$(MAKE)=@@@%%%'
22542288 _ACEOF
2255 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2289 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22562290 case `${MAKE-make} -f conftest.make 2>/dev/null` in
22572291 *@@@%%%=?*=@@@%%%*)
22582292 eval ac_cv_prog_make_${ac_make}_set=yes;;
22772311 enableval=$enable_debug; case "${enableval}" in
22782312 yes) debug=true ;;
22792313 no) debug=false ;;
2280 *) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
2314 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
22812315 esac
22822316 else
22832317 debug=false
22892323 enableval=$enable_libcheck; case "${enableval}" in
22902324 yes) libcheck=true ;;
22912325 no) libcheck=false ;;
2292 *) as_fn_error "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
2326 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
22932327 esac
22942328 else
22952329 libcheck=true
23402374 test -f /usr/lib/libopensm.so); then
23412375 with_osm=/usr
23422376 else
2343 as_fn_error "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
2377 as_fn_error $? "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
23442378 fi
23452379 fi
23462380 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
23882422 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
23892423 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
23902424 else
2391 as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
2425 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
23922426 fi
23932427 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
23942428 else
24082442 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
24092443 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
24102444 else
2411 as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
2445 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
24122446 fi
24132447 fi
24142448 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
24182452 as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
24192453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
24202454 $as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
2421 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
2455 if eval \${$as_ac_File+:} false; then :
24222456 $as_echo_n "(cached) " >&6
24232457 else
24242458 test "$cross_compiling" = yes &&
2425 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
2459 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
24262460 if test -r "$osm_include_dir/opensm/osm_config.h"; then
24272461 eval "$as_ac_File=yes"
24282462 else
24322466 eval ac_res=\$$as_ac_File
24332467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24342468 $as_echo "$ac_res" >&6; }
2435 eval as_val=\$$as_ac_File
2436 if test "x$as_val" = x""yes; then :
2469 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
24372470
24382471 else
2439 as_fn_error "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
2472 as_fn_error $? "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
24402473 fi
24412474
24422475
25102543 enableval=$enable_ibmgtsim; case "${enableval}" in
25112544 yes) ibmgtsim=true ;;
25122545 no) ibmgtsim=false ;;
2513 *) as_fn_error "bad value ${enableval} for --enable-ibmgtsim" "$LINENO" 5 ;;
2546 *) as_fn_error $? "bad value ${enableval} for --enable-ibmgtsim" "$LINENO" 5 ;;
25142547 esac
25152548 else
25162549 ibmgtsim=false
26012634 :end' >>confcache
26022635 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26032636 if test -w "$cache_file"; then
2604 test "x$cache_file" != "x/dev/null" &&
2637 if test "x$cache_file" != "x/dev/null"; then
26052638 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26062639 $as_echo "$as_me: updating cache $cache_file" >&6;}
2607 cat confcache >$cache_file
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
26082652 else
26092653 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26102654 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26562700
26572701 ac_libobjs=
26582702 ac_ltlibobjs=
2703 U=
26592704 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
26602705 # 1. Remove the extension, and $U if already installed.
26612706 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26722717
26732718
26742719 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2675 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
2720 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
26762721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26772722 fi
26782723 if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
2679 as_fn_error "conditional \"OSM_VENDOR_TS\" was never defined.
2724 as_fn_error $? "conditional \"OSM_VENDOR_TS\" was never defined.
26802725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26812726 fi
26822727 if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
2683 as_fn_error "conditional \"OSM_VENDOR_MTL\" was never defined.
2728 as_fn_error $? "conditional \"OSM_VENDOR_MTL\" was never defined.
26842729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26852730 fi
26862731 if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
2687 as_fn_error "conditional \"OSM_VENDOR_SIM\" was never defined.
2732 as_fn_error $? "conditional \"OSM_VENDOR_SIM\" was never defined.
26882733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26892734 fi
26902735 if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
2691 as_fn_error "conditional \"OSM_BUILD_OPENIB\" was never defined.
2736 as_fn_error $? "conditional \"OSM_BUILD_OPENIB\" was never defined.
26922737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26932738 fi
26942739 if test -z "${BUILD_IBMGTSIM_TRUE}" && test -z "${BUILD_IBMGTSIM_FALSE}"; then
2695 as_fn_error "conditional \"BUILD_IBMGTSIM\" was never defined.
2740 as_fn_error $? "conditional \"BUILD_IBMGTSIM\" was never defined.
26962741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26972742 fi
26982743
2699 : ${CONFIG_STATUS=./config.status}
2744 : "${CONFIG_STATUS=./config.status}"
27002745 ac_write_fail=0
27012746 ac_clean_files_save=$ac_clean_files
27022747 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27972842 IFS=" "" $as_nl"
27982843
27992844 # Find who we are. Look in the path if we contain no directory separator.
2845 as_myself=
28002846 case $0 in @%:@((
28012847 *[\\/]* ) as_myself=$0 ;;
28022848 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28422888 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28432889
28442890
2845 @%:@ as_fn_error ERROR [LINENO LOG_FD]
2846 @%:@ ---------------------------------
2891 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
2892 @%:@ ----------------------------------------
28472893 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
28482894 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2849 @%:@ script with status @S|@?, using 1 if that was 0.
2895 @%:@ script with STATUS, using 1 if that was 0.
28502896 as_fn_error ()
28512897 {
2852 as_status=$?; test $as_status -eq 0 && as_status=1
2853 if test "$3"; then
2854 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2855 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
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
28562902 fi
2857 $as_echo "$as_me: error: $1" >&2
2903 $as_echo "$as_me: error: $2" >&2
28582904 as_fn_exit $as_status
28592905 } @%:@ as_fn_error
28602906
29923038 # ... but there are two gotchas:
29933039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29943040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2995 # In both cases, we have to default to `cp -p'.
3041 # In both cases, we have to default to `cp -pR'.
29963042 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2997 as_ln_s='cp -p'
3043 as_ln_s='cp -pR'
29983044 elif ln conf$$.file conf$$ 2>/dev/null; then
29993045 as_ln_s=ln
30003046 else
3001 as_ln_s='cp -p'
3047 as_ln_s='cp -pR'
30023048 fi
30033049 else
3004 as_ln_s='cp -p'
3050 as_ln_s='cp -pR'
30053051 fi
30063052 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
30073053 rmdir conf$$.dir 2>/dev/null
30503096 test -d "$as_dir" && break
30513097 done
30523098 test -z "$as_dirs" || eval "mkdir $as_dirs"
3053 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3099 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
30543100
30553101
30563102 } @%:@ as_fn_mkdir_p
30613107 as_mkdir_p=false
30623108 fi
30633109
3064 if test -x / >/dev/null 2>&1; then
3065 as_test_x='test -x'
3066 else
3067 if ls -dL / >/dev/null 2>&1; then
3068 as_ls_L_option=L
3069 else
3070 as_ls_L_option=
3071 fi
3072 as_test_x='
3073 eval sh -c '\''
3074 if test -d "$1"; then
3075 test -d "$1/.";
3076 else
3077 case $1 in @%:@(
3078 -*)set "./$1";;
3079 esac;
3080 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
3081 ???[sx]*):;;*)false;;esac;fi
3082 '\'' sh
3083 '
3084 fi
3085 as_executable_p=$as_test_x
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
30863120
30873121 # Sed expression to map a string onto a valid CPP name.
30883122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31043138 # values after options handling.
31053139 ac_log="
31063140 This file was extended by ibutils $as_me 1.5.7, which was
3107 generated by GNU Autoconf 2.65. Invocation command line was
3141 generated by GNU Autoconf 2.69. Invocation command line was
31083142
31093143 CONFIG_FILES = $CONFIG_FILES
31103144 CONFIG_HEADERS = $CONFIG_HEADERS
31573191 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31583192 ac_cs_version="\\
31593193 ibutils config.status 1.5.7
3160 configured by $0, generated by GNU Autoconf 2.65,
3194 configured by $0, generated by GNU Autoconf 2.69,
31613195 with options \\"\$ac_cs_config\\"
31623196
3163 Copyright (C) 2009 Free Software Foundation, Inc.
3197 Copyright (C) 2012 Free Software Foundation, Inc.
31643198 This config.status script is free software; the Free Software Foundation
31653199 gives unlimited permission to copy, distribute and modify it."
31663200
31783212 while test $# != 0
31793213 do
31803214 case $1 in
3181 --*=*)
3215 --*=?*)
31823216 ac_option=`expr "X$1" : 'X\([^=]*\)='`
31833217 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3218 ac_shift=:
3219 ;;
3220 --*=)
3221 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3222 ac_optarg=
31843223 ac_shift=:
31853224 ;;
31863225 *)
32043243 $ac_shift
32053244 case $ac_optarg in
32063245 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3246 '') as_fn_error $? "missing file argument" ;;
32073247 esac
32083248 as_fn_append CONFIG_FILES " '$ac_optarg'"
32093249 ac_need_defaults=false;;
32143254 ac_cs_silent=: ;;
32153255
32163256 # This is an error.
3217 -*) as_fn_error "unrecognized option: \`$1'
3257 -*) as_fn_error $? "unrecognized option: \`$1'
32183258 Try \`$0 --help' for more information." ;;
32193259
32203260 *) as_fn_append ac_config_targets " $1"
32343274 _ACEOF
32353275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32363276 if \$ac_cs_recheck; then
3237 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3277 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32383278 shift
32393279 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32403280 CONFIG_SHELL='$SHELL'
32663306 "ibutils.spec") CONFIG_FILES="$CONFIG_FILES ibutils.spec" ;;
32673307 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32683308
3269 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3309 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32703310 esac
32713311 done
32723312
32873327 # after its creation but before its name has been assigned to `$tmp'.
32883328 $debug ||
32893329 {
3290 tmp=
3330 tmp= ac_tmp=
32913331 trap 'exit_status=$?
3292 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3332 : "${ac_tmp:=$tmp}"
3333 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32933334 ' 0
32943335 trap 'as_fn_exit 1' 1 2 13 15
32953336 }
32973338
32983339 {
32993340 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3300 test -n "$tmp" && test -d "$tmp"
3341 test -d "$tmp"
33013342 } ||
33023343 {
33033344 tmp=./conf$$-$RANDOM
33043345 (umask 077 && mkdir "$tmp")
3305 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3346 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3347 ac_tmp=$tmp
33063348
33073349 # Set up the scripts for CONFIG_FILES section.
33083350 # No need to generate them if there are no CONFIG_FILES.
33193361 fi
33203362 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
33213363 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3322 ac_cs_awk_cr='\r'
3364 ac_cs_awk_cr='\\r'
33233365 else
33243366 ac_cs_awk_cr=$ac_cr
33253367 fi
33263368
3327 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3369 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
33283370 _ACEOF
33293371
33303372
33333375 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
33343376 echo "_ACEOF"
33353377 } >conf$$subs.sh ||
3336 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3337 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3379 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
33383380 ac_delim='%!_!# '
33393381 for ac_last_try in false false false false false :; do
33403382 . ./conf$$subs.sh ||
3341 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3383 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33423384
33433385 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
33443386 if test $ac_delim_n = $ac_delim_num; then
33453387 break
33463388 elif $ac_last_try; then
3347 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33483390 else
33493391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33503392 fi
33523394 rm -f conf$$subs.sh
33533395
33543396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3355 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3397 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
33563398 _ACEOF
33573399 sed -n '
33583400 h
34003442 rm -f conf$$subs.awk
34013443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34023444 _ACAWK
3403 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3445 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
34043446 for (key in S) S_is_set[key] = 1
34053447 FS = ""
34063448
34323474 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
34333475 else
34343476 cat
3435 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3436 || as_fn_error "could not setup config files machinery" "$LINENO" 5
3477 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3478 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
34373479 _ACEOF
34383480
3439 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3440 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
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
34413483 # trailing colons and then remove the whole line if VPATH becomes empty
34423484 # (actually we leave an empty line to preserve line numbers).
34433485 if test "x$srcdir" = x.; then
3444 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3445 s/:*\$(srcdir):*/:/
3446 s/:*\${srcdir}:*/:/
3447 s/:*@srcdir@:*/:/
3448 s/^\([^=]*=[ ]*\):*/\1/
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/^:*//
34493495 s/:*$//
3496 x
3497 s/\(=[ ]*\).*/\1/
3498 G
3499 s/\n//
34503500 s/^[^=]*=[ ]*$//
34513501 }'
34523502 fi
34643514 esac
34653515 case $ac_mode$ac_tag in
34663516 :[FHL]*:*);;
3467 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3517 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
34683518 :[FH]-) ac_tag=-:-;;
34693519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34703520 esac
34833533 for ac_f
34843534 do
34853535 case $ac_f in
3486 -) ac_f="$tmp/stdin";;
3536 -) ac_f="$ac_tmp/stdin";;
34873537 *) # Look for the file first in the build tree, then in the source tree
34883538 # (if the path is not absolute). The absolute path cannot be DOS-style,
34893539 # because $ac_f cannot contain `:'.
34923542 [\\/$]*) false;;
34933543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34943544 esac ||
3495 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3545 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
34963546 esac
34973547 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34983548 as_fn_append ac_file_inputs " '$ac_f'"
35183568 esac
35193569
35203570 case $ac_tag in
3521 *:-:* | *:-) cat >"$tmp/stdin" \
3522 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3571 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
35233573 esac
35243574 ;;
35253575 esac
36553705 s&@MKDIR_P@&$ac_MKDIR_P&;t t
36563706 $ac_datarootdir_hack
36573707 "
3658 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3659 || as_fn_error "could not create $ac_file" "$LINENO" 5
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
36603710
36613711 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3662 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3663 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
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"; } &&
36643715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3665 which seems to be undefined. Please make sure it is defined." >&5
3716 which seems to be undefined. Please make sure it is defined" >&5
36663717 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3667 which seems to be undefined. Please make sure it is defined." >&2;}
3668
3669 rm -f "$tmp/stdin"
3718 which seems to be undefined. Please make sure it is defined" >&2;}
3719
3720 rm -f "$ac_tmp/stdin"
36703721 case $ac_file in
3671 -) cat "$tmp/out" && rm -f "$tmp/out";;
3672 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3722 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3723 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
36733724 esac \
3674 || as_fn_error "could not create $ac_file" "$LINENO" 5
3725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
36753726 ;;
36763727
36773728
36863737 ac_clean_files=$ac_clean_files_save
36873738
36883739 test $ac_write_fail = 0 ||
3689 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3740 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
36903741
36913742
36923743 # configure is writing to config.log, and then calls config.status.
37073758 exec 5>>config.log
37083759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37093760 # would make configure fail if this is the last instruction.
3710 $ac_cs_success || as_fn_exit $?
3761 $ac_cs_success || as_fn_exit 1
37113762 fi
37123763
37133764 #
38483899 # The eval makes quoting arguments work.
38493900 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
38503901 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3851 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3902 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
38523903 fi
38533904
38543905 cd "$ac_popdir"
00 @%:@! /bin/sh
11 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.65 for ibutils 1.5.7.
2 @%:@ Generated by GNU Autoconf 2.69 for ibutils 1.5.7.
33 @%:@
44 @%:@ Report bugs to <linux-rdma@vger.kernel.org>.
55 @%:@
66 @%:@
7 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 @%:@ Inc.
7 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
108 @%:@
119 @%:@
1210 @%:@ This configure script is free software; the Free Software Foundation
9088 IFS=" "" $as_nl"
9189
9290 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
9392 case $0 in @%:@((
9493 *[\\/]* ) as_myself=$0 ;;
9594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134133 # CDPATH.
135134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136135
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;}
137161 if test "x$CONFIG_SHELL" = x; then
138162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139163 emulate sh
167191 else
168192 exitcode=1; echo positional parameters were not saved.
169193 fi
170 test x\$exitcode = x0 || exit 1"
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
171196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
211236
212237
213238 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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
222258 fi
223259
224260 if test x$as_have_required = xno; then :
317353 test -d "$as_dir" && break
318354 done
319355 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
321357
322358
323359 } @%:@ 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
324368 @%:@ as_fn_append VAR VALUE
325369 @%:@ ----------------------
326370 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
357401 fi # as_fn_arith
358402
359403
360 @%:@ as_fn_error ERROR [LINENO LOG_FD]
361 @%:@ ---------------------------------
404 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
405 @%:@ ----------------------------------------
362406 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363407 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 @%:@ script with status @S|@?, using 1 if that was 0.
408 @%:@ script with STATUS, using 1 if that was 0.
365409 as_fn_error ()
366410 {
367 as_status=$?; test $as_status -eq 0 && as_status=1
368 if test "$3"; then
369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
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
371415 fi
372 $as_echo "$as_me: error: $1" >&2
416 $as_echo "$as_me: error: $2" >&2
373417 as_fn_exit $as_status
374418 } @%:@ as_fn_error
375419
442486 chmod +x "$as_me.lineno" ||
443487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444488
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
445493 # Don't try to exec as it changes $[0], causing all sort of problems
446494 # (the dirname of $[0] is not the place where we might find the
447495 # original and so on. Autoconf is especially sensitive to this).
476524 # ... but there are two gotchas:
477525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
527 # In both cases, we have to default to `cp -pR'.
480528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 as_ln_s='cp -p'
529 as_ln_s='cp -pR'
482530 elif ln conf$$.file conf$$ 2>/dev/null; then
483531 as_ln_s=ln
484532 else
485 as_ln_s='cp -p'
533 as_ln_s='cp -pR'
486534 fi
487535 else
488 as_ln_s='cp -p'
536 as_ln_s='cp -pR'
489537 fi
490538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491539 rmdir conf$$.dir 2>/dev/null
497545 as_mkdir_p=false
498546 fi
499547
500 if test -x / >/dev/null 2>&1; then
501 as_test_x='test -x'
502 else
503 if ls -dL / >/dev/null 2>&1; then
504 as_ls_L_option=L
505 else
506 as_ls_L_option=
507 fi
508 as_test_x='
509 eval sh -c '\''
510 if test -d "$1"; then
511 test -d "$1/.";
512 else
513 case $1 in @%:@(
514 -*)set "./$1";;
515 esac;
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
517 ???[sx]*):;;*)false;;esac;fi
518 '\'' sh
519 '
520 fi
521 as_executable_p=$as_test_x
548 as_test_x='test -x'
549 as_executable_p=as_fn_executable_p
522550
523551 # Sed expression to map a string onto a valid CPP name.
524552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531559 exec 6>&1
532560
533561 # Name of the host.
534 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
562 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
535563 # so uname gets run too.
536564 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537565
714742 fi
715743
716744 case $ac_option in
717 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
718 *) ac_optarg=yes ;;
745 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 *=) ac_optarg= ;;
747 *) ac_optarg=yes ;;
719748 esac
720749
721750 # Accept the important Cygnus configure options, so we can diagnose typos.
760789 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
761790 # Reject names that are not valid shell variable names.
762791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
763 as_fn_error "invalid feature name: $ac_useropt"
792 as_fn_error $? "invalid feature name: $ac_useropt"
764793 ac_useropt_orig=$ac_useropt
765794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
766795 case $ac_user_opts in
786815 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
787816 # Reject names that are not valid shell variable names.
788817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789 as_fn_error "invalid feature name: $ac_useropt"
818 as_fn_error $? "invalid feature name: $ac_useropt"
790819 ac_useropt_orig=$ac_useropt
791820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792821 case $ac_user_opts in
9901019 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
9911020 # Reject names that are not valid shell variable names.
9921021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error "invalid package name: $ac_useropt"
1022 as_fn_error $? "invalid package name: $ac_useropt"
9941023 ac_useropt_orig=$ac_useropt
9951024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
9961025 case $ac_user_opts in
10061035 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10071036 # Reject names that are not valid shell variable names.
10081037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid package name: $ac_useropt"
1038 as_fn_error $? "invalid package name: $ac_useropt"
10101039 ac_useropt_orig=$ac_useropt
10111040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10121041 case $ac_user_opts in
10361065 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10371066 x_libraries=$ac_optarg ;;
10381067
1039 -*) as_fn_error "unrecognized option: \`$ac_option'
1040 Try \`$0 --help' for more information."
1068 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1069 Try \`$0 --help' for more information"
10411070 ;;
10421071
10431072 *=*)
10451074 # Reject names that are not valid shell variable names.
10461075 case $ac_envvar in #(
10471076 '' | [0-9]* | *[!_$as_cr_alnum]* )
1048 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1077 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
10491078 esac
10501079 eval $ac_envvar=\$ac_optarg
10511080 export $ac_envvar ;;
10551084 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10561085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10571086 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1058 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1087 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
10591088 ;;
10601089
10611090 esac
10631092
10641093 if test -n "$ac_prev"; then
10651094 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1066 as_fn_error "missing argument to $ac_option"
1095 as_fn_error $? "missing argument to $ac_option"
10671096 fi
10681097
10691098 if test -n "$ac_unrecognized_opts"; then
10701099 case $enable_option_checking in
10711100 no) ;;
1072 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1101 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
10731102 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
10741103 esac
10751104 fi
10921121 [\\/$]* | ?:[\\/]* ) continue;;
10931122 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
10941123 esac
1095 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1124 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
10961125 done
10971126
10981127 # There might be people who depend on the old broken behavior: `$host'
11061135 if test "x$host_alias" != x; then
11071136 if test "x$build_alias" = x; then
11081137 cross_compiling=maybe
1109 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1110 If a cross compiler is detected then cross compile mode will be used." >&2
11111138 elif test "x$build_alias" != "x$host_alias"; then
11121139 cross_compiling=yes
11131140 fi
11221149 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11231150 ac_ls_di=`ls -di .` &&
11241151 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1125 as_fn_error "working directory cannot be determined"
1152 as_fn_error $? "working directory cannot be determined"
11261153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1127 as_fn_error "pwd does not report name of working directory"
1154 as_fn_error $? "pwd does not report name of working directory"
11281155
11291156
11301157 # Find the source files, if location was not specified.
11631190 fi
11641191 if test ! -r "$srcdir/$ac_unique_file"; then
11651192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1166 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1193 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
11671194 fi
11681195 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11691196 ac_abs_confdir=`(
1170 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1197 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
11711198 pwd)`
11721199 # When building in place, set srcdir=.
11731200 if test "$ac_abs_confdir" = "$ac_pwd"; then
12071234 --help=short display options specific to this package
12081235 --help=recursive display the short help of all the included packages
12091236 -V, --version display version information and exit
1210 -q, --quiet, --silent do not print \`checking...' messages
1237 -q, --quiet, --silent do not print \`checking ...' messages
12111238 --cache-file=FILE cache test results in FILE [disabled]
12121239 -C, --config-cache alias for \`--cache-file=config.cache'
12131240 -n, --no-create do not create output files
13431370 if $ac_init_version; then
13441371 cat <<\_ACEOF
13451372 ibutils configure 1.5.7
1346 generated by GNU Autoconf 2.65
1347
1348 Copyright (C) 2009 Free Software Foundation, Inc.
1373 generated by GNU Autoconf 2.69
1374
1375 Copyright (C) 2012 Free Software Foundation, Inc.
13491376 This configure script is free software; the Free Software Foundation
13501377 gives unlimited permission to copy, distribute and modify it.
13511378 _ACEOF
13601387 running configure, to aid debugging if configure makes a mistake.
13611388
13621389 It was created by ibutils $as_me 1.5.7, which was
1363 generated by GNU Autoconf 2.65. Invocation command line was
1390 generated by GNU Autoconf 2.69. Invocation command line was
13641391
13651392 $ $0 $@
13661393
14701497 {
14711498 echo
14721499
1473 cat <<\_ASBOX
1474 ## ---------------- ##
1500 $as_echo "## ---------------- ##
14751501 ## Cache variables. ##
1476 ## ---------------- ##
1477 _ASBOX
1502 ## ---------------- ##"
14781503 echo
14791504 # The following way of writing the cache mishandles newlines in values,
14801505 (
15081533 )
15091534 echo
15101535
1511 cat <<\_ASBOX
1512 ## ----------------- ##
1536 $as_echo "## ----------------- ##
15131537 ## Output variables. ##
1514 ## ----------------- ##
1515 _ASBOX
1538 ## ----------------- ##"
15161539 echo
15171540 for ac_var in $ac_subst_vars
15181541 do
15251548 echo
15261549
15271550 if test -n "$ac_subst_files"; then
1528 cat <<\_ASBOX
1529 ## ------------------- ##
1551 $as_echo "## ------------------- ##
15301552 ## File substitutions. ##
1531 ## ------------------- ##
1532 _ASBOX
1553 ## ------------------- ##"
15331554 echo
15341555 for ac_var in $ac_subst_files
15351556 do
15431564 fi
15441565
15451566 if test -s confdefs.h; then
1546 cat <<\_ASBOX
1547 ## ----------- ##
1567 $as_echo "## ----------- ##
15481568 ## confdefs.h. ##
1549 ## ----------- ##
1550 _ASBOX
1569 ## ----------- ##"
15511570 echo
15521571 cat confdefs.h
15531572 echo
16021621 ac_site_file1=NONE
16031622 ac_site_file2=NONE
16041623 if test -n "$CONFIG_SITE"; then
1605 ac_site_file1=$CONFIG_SITE
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
16061630 elif test "x$prefix" != xNONE; then
16071631 ac_site_file1=$prefix/share/config.site
16081632 ac_site_file2=$prefix/etc/config.site
16171641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
16181642 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
16191643 sed 's/^/| /' "$ac_site_file" >&5
1620 . "$ac_site_file"
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; }
16211649 fi
16221650 done
16231651
16931721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16941722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
16951723 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1696 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1724 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
16971725 fi
16981726 ## -------------------- ##
16991727 ## Main body of script. ##
17081736
17091737 ac_aux_dir=
17101738 for ac_dir in config "$srcdir"/config; do
1711 for ac_t in install-sh install.sh shtool; do
1712 if test -f "$ac_dir/$ac_t"; then
1713 ac_aux_dir=$ac_dir
1714 ac_install_sh="$ac_aux_dir/$ac_t -c"
1715 break 2
1716 fi
1717 done
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
17181752 done
17191753 if test -z "$ac_aux_dir"; then
1720 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1754 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
17211755 fi
17221756
17231757 # These three variables are undocumented and unsupported,
17491783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
17501784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
17511785 if test -z "$INSTALL"; then
1752 if test "${ac_cv_path_install+set}" = set; then :
1786 if ${ac_cv_path_install+:} false; then :
17531787 $as_echo_n "(cached) " >&6
17541788 else
17551789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17691803 # by default.
17701804 for ac_prog in ginstall scoinst install; do
17711805 for ac_exec_ext in '' $ac_executable_extensions; do
1772 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1806 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
17731807 if test $ac_prog = install &&
17741808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17751809 # AIX install. It has an incompatible calling convention.
18361870 '
18371871 case `pwd` in
18381872 *[\\\"\#\$\&\'\`$am_lf]*)
1839 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1873 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
18401874 esac
18411875 case $srcdir in
18421876 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1843 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1877 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
18441878 esac
18451879
18461880 # Do `set' in a subshell so we don't clobber the current shell's
18621896 # if, for instance, CONFIG_SHELL is bash and it inherits a
18631897 # broken ls alias from the environment. This has actually
18641898 # happened. Such a system could not be considered "sane".
1865 as_fn_error "ls -t appears to fail. Make sure there is not a broken
1899 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
18661900 alias in your environment" "$LINENO" 5
18671901 fi
18681902
18721906 # Ok.
18731907 :
18741908 else
1875 as_fn_error "newly created file is older than distributed files!
1909 as_fn_error $? "newly created file is older than distributed files!
18761910 Check your system clock" "$LINENO" 5
18771911 fi
18781912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19261960 set dummy ${ac_tool_prefix}strip; ac_word=$2
19271961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19281962 $as_echo_n "checking for $ac_word... " >&6; }
1929 if test "${ac_cv_prog_STRIP+set}" = set; then :
1963 if ${ac_cv_prog_STRIP+:} false; then :
19301964 $as_echo_n "(cached) " >&6
19311965 else
19321966 if test -n "$STRIP"; then
19381972 IFS=$as_save_IFS
19391973 test -z "$as_dir" && as_dir=.
19401974 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19421976 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19431977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19441978 break 2
19662000 set dummy strip; ac_word=$2
19672001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19682002 $as_echo_n "checking for $ac_word... " >&6; }
1969 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2003 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
19702004 $as_echo_n "(cached) " >&6
19712005 else
19722006 if test -n "$ac_ct_STRIP"; then
19782012 IFS=$as_save_IFS
19792013 test -z "$as_dir" && as_dir=.
19802014 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19822016 ac_cv_prog_ac_ct_STRIP="strip"
19832017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19842018 break 2
20192053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
20202054 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
20212055 if test -z "$MKDIR_P"; then
2022 if test "${ac_cv_path_mkdir+set}" = set; then :
2056 if ${ac_cv_path_mkdir+:} false; then :
20232057 $as_echo_n "(cached) " >&6
20242058 else
20252059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20292063 test -z "$as_dir" && as_dir=.
20302064 for ac_prog in mkdir gmkdir; do
20312065 for ac_exec_ext in '' $ac_executable_extensions; do
2032 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2066 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
20332067 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
20342068 'mkdir (GNU coreutils) '* | \
20352069 'mkdir (coreutils) '* | \
20702104 set dummy $ac_prog; ac_word=$2
20712105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20722106 $as_echo_n "checking for $ac_word... " >&6; }
2073 if test "${ac_cv_prog_AWK+set}" = set; then :
2107 if ${ac_cv_prog_AWK+:} false; then :
20742108 $as_echo_n "(cached) " >&6
20752109 else
20762110 if test -n "$AWK"; then
20822116 IFS=$as_save_IFS
20832117 test -z "$as_dir" && as_dir=.
20842118 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20862120 ac_cv_prog_AWK="$ac_prog"
20872121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20882122 break 2
21102144 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
21112145 set x ${MAKE-make}
21122146 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2113 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2147 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
21142148 $as_echo_n "(cached) " >&6
21152149 else
21162150 cat >conftest.make <<\_ACEOF
21182152 all:
21192153 @echo '@@@%%%=$(MAKE)=@@@%%%'
21202154 _ACEOF
2121 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2155 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
21222156 case `${MAKE-make} -f conftest.make 2>/dev/null` in
21232157 *@@@%%%=?*=@@@%%%*)
21242158 eval ac_cv_prog_make_${ac_make}_set=yes;;
21522186 am__isrc=' -I$(srcdir)'
21532187 # test to see if srcdir already configured
21542188 if test -f $srcdir/config.status; then
2155 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2189 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
21562190 fi
21572191 fi
21582192
22442278 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
22452279 set x ${MAKE-make}
22462280 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2247 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2281 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
22482282 $as_echo_n "(cached) " >&6
22492283 else
22502284 cat >conftest.make <<\_ACEOF
22522286 all:
22532287 @echo '@@@%%%=$(MAKE)=@@@%%%'
22542288 _ACEOF
2255 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2289 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22562290 case `${MAKE-make} -f conftest.make 2>/dev/null` in
22572291 *@@@%%%=?*=@@@%%%*)
22582292 eval ac_cv_prog_make_${ac_make}_set=yes;;
22772311 enableval=$enable_debug; case "${enableval}" in
22782312 yes) debug=true ;;
22792313 no) debug=false ;;
2280 *) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
2314 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
22812315 esac
22822316 else
22832317 debug=false
22892323 enableval=$enable_libcheck; case "${enableval}" in
22902324 yes) libcheck=true ;;
22912325 no) libcheck=false ;;
2292 *) as_fn_error "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
2326 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
22932327 esac
22942328 else
22952329 libcheck=true
23402374 test -f /usr/lib/libopensm.so); then
23412375 with_osm=/usr
23422376 else
2343 as_fn_error "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
2377 as_fn_error $? "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
23442378 fi
23452379 fi
23462380 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
23882422 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
23892423 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
23902424 else
2391 as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
2425 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
23922426 fi
23932427 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
23942428 else
24082442 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
24092443 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
24102444 else
2411 as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
2445 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
24122446 fi
24132447 fi
24142448 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
24182452 as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
24192453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
24202454 $as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
2421 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
2455 if eval \${$as_ac_File+:} false; then :
24222456 $as_echo_n "(cached) " >&6
24232457 else
24242458 test "$cross_compiling" = yes &&
2425 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
2459 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
24262460 if test -r "$osm_include_dir/opensm/osm_config.h"; then
24272461 eval "$as_ac_File=yes"
24282462 else
24322466 eval ac_res=\$$as_ac_File
24332467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24342468 $as_echo "$ac_res" >&6; }
2435 eval as_val=\$$as_ac_File
2436 if test "x$as_val" = x""yes; then :
2469 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
24372470
24382471 else
2439 as_fn_error "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
2472 as_fn_error $? "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
24402473 fi
24412474
24422475
25102543 enableval=$enable_ibmgtsim; case "${enableval}" in
25112544 yes) ibmgtsim=true ;;
25122545 no) ibmgtsim=false ;;
2513 *) as_fn_error "bad value ${enableval} for --enable-ibmgtsim" "$LINENO" 5 ;;
2546 *) as_fn_error $? "bad value ${enableval} for --enable-ibmgtsim" "$LINENO" 5 ;;
25142547 esac
25152548 else
25162549 ibmgtsim=false
26012634 :end' >>confcache
26022635 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26032636 if test -w "$cache_file"; then
2604 test "x$cache_file" != "x/dev/null" &&
2637 if test "x$cache_file" != "x/dev/null"; then
26052638 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26062639 $as_echo "$as_me: updating cache $cache_file" >&6;}
2607 cat confcache >$cache_file
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
26082652 else
26092653 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26102654 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26562700
26572701 ac_libobjs=
26582702 ac_ltlibobjs=
2703 U=
26592704 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
26602705 # 1. Remove the extension, and $U if already installed.
26612706 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26722717
26732718
26742719 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2675 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
2720 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
26762721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26772722 fi
26782723 if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
2679 as_fn_error "conditional \"OSM_VENDOR_TS\" was never defined.
2724 as_fn_error $? "conditional \"OSM_VENDOR_TS\" was never defined.
26802725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26812726 fi
26822727 if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
2683 as_fn_error "conditional \"OSM_VENDOR_MTL\" was never defined.
2728 as_fn_error $? "conditional \"OSM_VENDOR_MTL\" was never defined.
26842729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26852730 fi
26862731 if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
2687 as_fn_error "conditional \"OSM_VENDOR_SIM\" was never defined.
2732 as_fn_error $? "conditional \"OSM_VENDOR_SIM\" was never defined.
26882733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26892734 fi
26902735 if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
2691 as_fn_error "conditional \"OSM_BUILD_OPENIB\" was never defined.
2736 as_fn_error $? "conditional \"OSM_BUILD_OPENIB\" was never defined.
26922737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26932738 fi
26942739 if test -z "${BUILD_IBMGTSIM_TRUE}" && test -z "${BUILD_IBMGTSIM_FALSE}"; then
2695 as_fn_error "conditional \"BUILD_IBMGTSIM\" was never defined.
2740 as_fn_error $? "conditional \"BUILD_IBMGTSIM\" was never defined.
26962741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26972742 fi
26982743
2699 : ${CONFIG_STATUS=./config.status}
2744 : "${CONFIG_STATUS=./config.status}"
27002745 ac_write_fail=0
27012746 ac_clean_files_save=$ac_clean_files
27022747 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27972842 IFS=" "" $as_nl"
27982843
27992844 # Find who we are. Look in the path if we contain no directory separator.
2845 as_myself=
28002846 case $0 in @%:@((
28012847 *[\\/]* ) as_myself=$0 ;;
28022848 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28422888 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28432889
28442890
2845 @%:@ as_fn_error ERROR [LINENO LOG_FD]
2846 @%:@ ---------------------------------
2891 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
2892 @%:@ ----------------------------------------
28472893 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
28482894 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2849 @%:@ script with status @S|@?, using 1 if that was 0.
2895 @%:@ script with STATUS, using 1 if that was 0.
28502896 as_fn_error ()
28512897 {
2852 as_status=$?; test $as_status -eq 0 && as_status=1
2853 if test "$3"; then
2854 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2855 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
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
28562902 fi
2857 $as_echo "$as_me: error: $1" >&2
2903 $as_echo "$as_me: error: $2" >&2
28582904 as_fn_exit $as_status
28592905 } @%:@ as_fn_error
28602906
29923038 # ... but there are two gotchas:
29933039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29943040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2995 # In both cases, we have to default to `cp -p'.
3041 # In both cases, we have to default to `cp -pR'.
29963042 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2997 as_ln_s='cp -p'
3043 as_ln_s='cp -pR'
29983044 elif ln conf$$.file conf$$ 2>/dev/null; then
29993045 as_ln_s=ln
30003046 else
3001 as_ln_s='cp -p'
3047 as_ln_s='cp -pR'
30023048 fi
30033049 else
3004 as_ln_s='cp -p'
3050 as_ln_s='cp -pR'
30053051 fi
30063052 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
30073053 rmdir conf$$.dir 2>/dev/null
30503096 test -d "$as_dir" && break
30513097 done
30523098 test -z "$as_dirs" || eval "mkdir $as_dirs"
3053 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3099 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
30543100
30553101
30563102 } @%:@ as_fn_mkdir_p
30613107 as_mkdir_p=false
30623108 fi
30633109
3064 if test -x / >/dev/null 2>&1; then
3065 as_test_x='test -x'
3066 else
3067 if ls -dL / >/dev/null 2>&1; then
3068 as_ls_L_option=L
3069 else
3070 as_ls_L_option=
3071 fi
3072 as_test_x='
3073 eval sh -c '\''
3074 if test -d "$1"; then
3075 test -d "$1/.";
3076 else
3077 case $1 in @%:@(
3078 -*)set "./$1";;
3079 esac;
3080 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
3081 ???[sx]*):;;*)false;;esac;fi
3082 '\'' sh
3083 '
3084 fi
3085 as_executable_p=$as_test_x
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
30863120
30873121 # Sed expression to map a string onto a valid CPP name.
30883122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31043138 # values after options handling.
31053139 ac_log="
31063140 This file was extended by ibutils $as_me 1.5.7, which was
3107 generated by GNU Autoconf 2.65. Invocation command line was
3141 generated by GNU Autoconf 2.69. Invocation command line was
31083142
31093143 CONFIG_FILES = $CONFIG_FILES
31103144 CONFIG_HEADERS = $CONFIG_HEADERS
31573191 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31583192 ac_cs_version="\\
31593193 ibutils config.status 1.5.7
3160 configured by $0, generated by GNU Autoconf 2.65,
3194 configured by $0, generated by GNU Autoconf 2.69,
31613195 with options \\"\$ac_cs_config\\"
31623196
3163 Copyright (C) 2009 Free Software Foundation, Inc.
3197 Copyright (C) 2012 Free Software Foundation, Inc.
31643198 This config.status script is free software; the Free Software Foundation
31653199 gives unlimited permission to copy, distribute and modify it."
31663200
31783212 while test $# != 0
31793213 do
31803214 case $1 in
3181 --*=*)
3215 --*=?*)
31823216 ac_option=`expr "X$1" : 'X\([^=]*\)='`
31833217 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3218 ac_shift=:
3219 ;;
3220 --*=)
3221 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3222 ac_optarg=
31843223 ac_shift=:
31853224 ;;
31863225 *)
32043243 $ac_shift
32053244 case $ac_optarg in
32063245 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3246 '') as_fn_error $? "missing file argument" ;;
32073247 esac
32083248 as_fn_append CONFIG_FILES " '$ac_optarg'"
32093249 ac_need_defaults=false;;
32143254 ac_cs_silent=: ;;
32153255
32163256 # This is an error.
3217 -*) as_fn_error "unrecognized option: \`$1'
3257 -*) as_fn_error $? "unrecognized option: \`$1'
32183258 Try \`$0 --help' for more information." ;;
32193259
32203260 *) as_fn_append ac_config_targets " $1"
32343274 _ACEOF
32353275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32363276 if \$ac_cs_recheck; then
3237 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3277 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32383278 shift
32393279 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32403280 CONFIG_SHELL='$SHELL'
32663306 "ibutils.spec") CONFIG_FILES="$CONFIG_FILES ibutils.spec" ;;
32673307 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32683308
3269 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3309 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32703310 esac
32713311 done
32723312
32873327 # after its creation but before its name has been assigned to `$tmp'.
32883328 $debug ||
32893329 {
3290 tmp=
3330 tmp= ac_tmp=
32913331 trap 'exit_status=$?
3292 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3332 : "${ac_tmp:=$tmp}"
3333 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32933334 ' 0
32943335 trap 'as_fn_exit 1' 1 2 13 15
32953336 }
32973338
32983339 {
32993340 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3300 test -n "$tmp" && test -d "$tmp"
3341 test -d "$tmp"
33013342 } ||
33023343 {
33033344 tmp=./conf$$-$RANDOM
33043345 (umask 077 && mkdir "$tmp")
3305 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3346 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3347 ac_tmp=$tmp
33063348
33073349 # Set up the scripts for CONFIG_FILES section.
33083350 # No need to generate them if there are no CONFIG_FILES.
33193361 fi
33203362 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
33213363 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3322 ac_cs_awk_cr='\r'
3364 ac_cs_awk_cr='\\r'
33233365 else
33243366 ac_cs_awk_cr=$ac_cr
33253367 fi
33263368
3327 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3369 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
33283370 _ACEOF
33293371
33303372
33333375 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
33343376 echo "_ACEOF"
33353377 } >conf$$subs.sh ||
3336 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3337 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3379 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
33383380 ac_delim='%!_!# '
33393381 for ac_last_try in false false false false false :; do
33403382 . ./conf$$subs.sh ||
3341 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3383 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33423384
33433385 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
33443386 if test $ac_delim_n = $ac_delim_num; then
33453387 break
33463388 elif $ac_last_try; then
3347 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33483390 else
33493391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33503392 fi
33523394 rm -f conf$$subs.sh
33533395
33543396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3355 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3397 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
33563398 _ACEOF
33573399 sed -n '
33583400 h
34003442 rm -f conf$$subs.awk
34013443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34023444 _ACAWK
3403 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3445 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
34043446 for (key in S) S_is_set[key] = 1
34053447 FS = ""
34063448
34323474 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
34333475 else
34343476 cat
3435 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3436 || as_fn_error "could not setup config files machinery" "$LINENO" 5
3477 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3478 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
34373479 _ACEOF
34383480
3439 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3440 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
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
34413483 # trailing colons and then remove the whole line if VPATH becomes empty
34423484 # (actually we leave an empty line to preserve line numbers).
34433485 if test "x$srcdir" = x.; then
3444 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3445 s/:*\$(srcdir):*/:/
3446 s/:*\${srcdir}:*/:/
3447 s/:*@srcdir@:*/:/
3448 s/^\([^=]*=[ ]*\):*/\1/
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/^:*//
34493495 s/:*$//
3496 x
3497 s/\(=[ ]*\).*/\1/
3498 G
3499 s/\n//
34503500 s/^[^=]*=[ ]*$//
34513501 }'
34523502 fi
34643514 esac
34653515 case $ac_mode$ac_tag in
34663516 :[FHL]*:*);;
3467 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3517 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
34683518 :[FH]-) ac_tag=-:-;;
34693519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34703520 esac
34833533 for ac_f
34843534 do
34853535 case $ac_f in
3486 -) ac_f="$tmp/stdin";;
3536 -) ac_f="$ac_tmp/stdin";;
34873537 *) # Look for the file first in the build tree, then in the source tree
34883538 # (if the path is not absolute). The absolute path cannot be DOS-style,
34893539 # because $ac_f cannot contain `:'.
34923542 [\\/$]*) false;;
34933543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34943544 esac ||
3495 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3545 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
34963546 esac
34973547 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34983548 as_fn_append ac_file_inputs " '$ac_f'"
35183568 esac
35193569
35203570 case $ac_tag in
3521 *:-:* | *:-) cat >"$tmp/stdin" \
3522 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3571 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
35233573 esac
35243574 ;;
35253575 esac
36553705 s&@MKDIR_P@&$ac_MKDIR_P&;t t
36563706 $ac_datarootdir_hack
36573707 "
3658 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3659 || as_fn_error "could not create $ac_file" "$LINENO" 5
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
36603710
36613711 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3662 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3663 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
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"; } &&
36643715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3665 which seems to be undefined. Please make sure it is defined." >&5
3716 which seems to be undefined. Please make sure it is defined" >&5
36663717 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3667 which seems to be undefined. Please make sure it is defined." >&2;}
3668
3669 rm -f "$tmp/stdin"
3718 which seems to be undefined. Please make sure it is defined" >&2;}
3719
3720 rm -f "$ac_tmp/stdin"
36703721 case $ac_file in
3671 -) cat "$tmp/out" && rm -f "$tmp/out";;
3672 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3722 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3723 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
36733724 esac \
3674 || as_fn_error "could not create $ac_file" "$LINENO" 5
3725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
36753726 ;;
36763727
36773728
36863737 ac_clean_files=$ac_clean_files_save
36873738
36883739 test $ac_write_fail = 0 ||
3689 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3740 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
36903741
36913742
36923743 # configure is writing to config.log, and then calls config.status.
37073758 exec 5>>config.log
37083759 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37093760 # would make configure fail if this is the last instruction.
3710 $ac_cs_success || as_fn_exit $?
3761 $ac_cs_success || as_fn_exit 1
37113762 fi
37123763
37133764 #
38483899 # The eval makes quoting arguments work.
38493900 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
38503901 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3851 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3902 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
38523903 fi
38533904
38543905 cd "$ac_popdir"
0 # This file was generated by Autom4te Tue Dec 22 07:01:21 UTC 2009.
0 # This file was generated.
11 # It contains the lists of macros which have been traced.
22 # It can be safely removed.
33
100100 'AC_PROG_LIBTOOL' => 1,
101101 'AM_INIT_AUTOMAKE' => 1,
102102 'AC_CONFIG_SUBDIRS' => 1,
103 'AM_PATH_GUILE' => 1,
103104 'AM_AUTOMAKE_VERSION' => 1,
104105 'LT_CONFIG_LTDL_DIR' => 1,
105106 'AC_CONFIG_LINKS' => 1,
107108 'm4_sinclude' => 1,
108109 'LT_SUPPORTED_TAG' => 1,
109110 'AM_MAINTAINER_MODE' => 1,
111 'AM_NLS' => 1,
112 'AC_FC_PP_DEFINE' => 1,
110113 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
111114 '_m4_warn' => 1,
115 'AM_MAKEFILE_INCLUDE' => 1,
112116 'AM_PROG_CXX_C_O' => 1,
113117 '_AM_COND_ENDIF' => 1,
118 '_AM_MAKEFILE_INCLUDE' => 1,
114119 'AM_ENABLE_MULTILIB' => 1,
120 'AM_PROG_MOC' => 1,
115121 'AM_SILENT_RULES' => 1,
116122 'AC_CONFIG_FILES' => 1,
123 'include' => 1,
117124 'LT_INIT' => 1,
118 'include' => 1,
119125 'AM_GNU_GETTEXT' => 1,
126 'AM_PROG_AR' => 1,
120127 'AC_LIBSOURCE' => 1,
121128 'AC_CANONICAL_BUILD' => 1,
122129 'AM_PROG_FC_C_O' => 1,
123130 'AC_FC_FREEFORM' => 1,
131 'AC_FC_PP_SRCEXT' => 1,
124132 'AH_OUTPUT' => 1,
125133 'AC_CONFIG_AUX_DIR' => 1,
126134 '_AM_SUBST_NOTMAKE' => 1,
129137 'm4_pattern_allow' => 1,
130138 'AM_CONDITIONAL' => 1,
131139 'AC_CANONICAL_SYSTEM' => 1,
140 'AM_XGETTEXT_OPTION' => 1,
132141 'AC_CONFIG_HEADERS' => 1,
133142 'AC_DEFINE_TRACE_LITERAL' => 1,
143 'AM_POT_TOOLS' => 1,
134144 'm4_include' => 1,
135145 '_AM_COND_ELSE' => 1,
136146 'AC_SUBST_TRACE' => 1
835835 m4trace:configure.in:40: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
836836 m4trace:configure.in:40: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
837837 m4trace:configure.in:40: -1- AM_AUTOMAKE_VERSION([1.11.1])
838 m4trace:configure.in:40: -1- _AM_AUTOCONF_VERSION([2.65])
838 m4trace:configure.in:40: -1- _AM_AUTOCONF_VERSION([2.69])
839839 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
840840 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
841841 m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_DATA$])
904904 m4trace:configure.in:40: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
905905 m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([silent-rules])
906906 m4trace:configure.in:43: -1- _m4_warn([obsolete], [The macro `AC_LANG_C' is obsolete.
907 You should run autoupdate.], [../../lib/autoconf/c.m4:73: AC_LANG_C is expanded from...
907 You should run autoupdate.], [../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
908908 configure.in:43: the top level])
909909 m4trace:configure.in:48: -1- AM_MAINTAINER_MODE
910910 m4trace:configure.in:48: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
915915 m4trace:configure.in:48: -1- m4_pattern_allow([^MAINT$])
916916 m4trace:configure.in:51: -1- m4_pattern_allow([^SET_MAKE$])
917917 m4trace:configure.in:72: -1- OPENIB_APP_OSM
918 m4trace:configure.in:72: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2744: AC_CHECK_FILE is expanded from...
918 m4trace:configure.in:72: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
919919 config/osm.m4:20: OPENIB_APP_OSM is expanded from...
920920 configure.in:72: the top level])
921921 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts])
232232 m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__untar])
233233 m4trace:configure.in:40: -1- m4_pattern_allow([^am__untar$])
234234 m4trace:configure.in:43: -1- _m4_warn([obsolete], [The macro `AC_LANG_C' is obsolete.
235 You should run autoupdate.], [../../lib/autoconf/c.m4:73: AC_LANG_C is expanded from...
235 You should run autoupdate.], [../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
236236 configure.in:43: the top level])
237237 m4trace:configure.in:48: -1- AM_MAINTAINER_MODE
238238 m4trace:configure.in:48: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
250250 m4trace:configure.in:51: -1- AC_SUBST([SET_MAKE])
251251 m4trace:configure.in:51: -1- AC_SUBST_TRACE([SET_MAKE])
252252 m4trace:configure.in:51: -1- m4_pattern_allow([^SET_MAKE$])
253 m4trace:configure.in:72: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2744: AC_CHECK_FILE is expanded from...
253 m4trace:configure.in:72: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
254254 config/osm.m4:20: OPENIB_APP_OSM is expanded from...
255255 configure.in:72: the top level])
256256 m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts])
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.65 for ibutils 1.5.7.
2 # Generated by GNU Autoconf 2.69 for ibutils 1.5.7.
33 #
44 # Report bugs to <linux-rdma@vger.kernel.org>.
55 #
66 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 # Inc.
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
108 #
119 #
1210 # This configure script is free software; the Free Software Foundation
9088 IFS=" "" $as_nl"
9189
9290 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
9392 case $0 in #((
9493 *[\\/]* ) as_myself=$0 ;;
9594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134133 # CDPATH.
135134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136135
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;}
137161 if test "x$CONFIG_SHELL" = x; then
138162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139163 emulate sh
167191 else
168192 exitcode=1; echo positional parameters were not saved.
169193 fi
170 test x\$exitcode = x0 || exit 1"
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
171196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
211236
212237
213238 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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
222258 fi
223259
224260 if test x$as_have_required = xno; then :
317353 test -d "$as_dir" && break
318354 done
319355 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
321357
322358
323359 } # 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
324368 # as_fn_append VAR VALUE
325369 # ----------------------
326370 # Append the text in VALUE to the end of the definition contained in VAR. Take
357401 fi # as_fn_arith
358402
359403
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
404 # as_fn_error STATUS ERROR [LINENO LOG_FD]
405 # ----------------------------------------
362406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
408 # script with STATUS, using 1 if that was 0.
365409 as_fn_error ()
366410 {
367 as_status=$?; test $as_status -eq 0 && as_status=1
368 if test "$3"; then
369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
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
371415 fi
372 $as_echo "$as_me: error: $1" >&2
416 $as_echo "$as_me: error: $2" >&2
373417 as_fn_exit $as_status
374418 } # as_fn_error
375419
442486 chmod +x "$as_me.lineno" ||
443487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444488
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
445493 # Don't try to exec as it changes $[0], causing all sort of problems
446494 # (the dirname of $[0] is not the place where we might find the
447495 # original and so on. Autoconf is especially sensitive to this).
476524 # ... but there are two gotchas:
477525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
527 # In both cases, we have to default to `cp -pR'.
480528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 as_ln_s='cp -p'
529 as_ln_s='cp -pR'
482530 elif ln conf$$.file conf$$ 2>/dev/null; then
483531 as_ln_s=ln
484532 else
485 as_ln_s='cp -p'
533 as_ln_s='cp -pR'
486534 fi
487535 else
488 as_ln_s='cp -p'
536 as_ln_s='cp -pR'
489537 fi
490538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491539 rmdir conf$$.dir 2>/dev/null
497545 as_mkdir_p=false
498546 fi
499547
500 if test -x / >/dev/null 2>&1; then
501 as_test_x='test -x'
502 else
503 if ls -dL / >/dev/null 2>&1; then
504 as_ls_L_option=L
505 else
506 as_ls_L_option=
507 fi
508 as_test_x='
509 eval sh -c '\''
510 if test -d "$1"; then
511 test -d "$1/.";
512 else
513 case $1 in #(
514 -*)set "./$1";;
515 esac;
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
518 '\'' sh
519 '
520 fi
521 as_executable_p=$as_test_x
548 as_test_x='test -x'
549 as_executable_p=as_fn_executable_p
522550
523551 # Sed expression to map a string onto a valid CPP name.
524552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531559 exec 6>&1
532560
533561 # Name of the host.
534 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
562 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
535563 # so uname gets run too.
536564 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537565
714742 fi
715743
716744 case $ac_option in
717 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
718 *) ac_optarg=yes ;;
745 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 *=) ac_optarg= ;;
747 *) ac_optarg=yes ;;
719748 esac
720749
721750 # Accept the important Cygnus configure options, so we can diagnose typos.
760789 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
761790 # Reject names that are not valid shell variable names.
762791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
763 as_fn_error "invalid feature name: $ac_useropt"
792 as_fn_error $? "invalid feature name: $ac_useropt"
764793 ac_useropt_orig=$ac_useropt
765794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
766795 case $ac_user_opts in
786815 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
787816 # Reject names that are not valid shell variable names.
788817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789 as_fn_error "invalid feature name: $ac_useropt"
818 as_fn_error $? "invalid feature name: $ac_useropt"
790819 ac_useropt_orig=$ac_useropt
791820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792821 case $ac_user_opts in
9901019 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
9911020 # Reject names that are not valid shell variable names.
9921021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error "invalid package name: $ac_useropt"
1022 as_fn_error $? "invalid package name: $ac_useropt"
9941023 ac_useropt_orig=$ac_useropt
9951024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
9961025 case $ac_user_opts in
10061035 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10071036 # Reject names that are not valid shell variable names.
10081037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid package name: $ac_useropt"
1038 as_fn_error $? "invalid package name: $ac_useropt"
10101039 ac_useropt_orig=$ac_useropt
10111040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10121041 case $ac_user_opts in
10361065 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10371066 x_libraries=$ac_optarg ;;
10381067
1039 -*) as_fn_error "unrecognized option: \`$ac_option'
1040 Try \`$0 --help' for more information."
1068 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1069 Try \`$0 --help' for more information"
10411070 ;;
10421071
10431072 *=*)
10451074 # Reject names that are not valid shell variable names.
10461075 case $ac_envvar in #(
10471076 '' | [0-9]* | *[!_$as_cr_alnum]* )
1048 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1077 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
10491078 esac
10501079 eval $ac_envvar=\$ac_optarg
10511080 export $ac_envvar ;;
10551084 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10561085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10571086 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1058 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1087 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
10591088 ;;
10601089
10611090 esac
10631092
10641093 if test -n "$ac_prev"; then
10651094 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1066 as_fn_error "missing argument to $ac_option"
1095 as_fn_error $? "missing argument to $ac_option"
10671096 fi
10681097
10691098 if test -n "$ac_unrecognized_opts"; then
10701099 case $enable_option_checking in
10711100 no) ;;
1072 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1101 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
10731102 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
10741103 esac
10751104 fi
10921121 [\\/$]* | ?:[\\/]* ) continue;;
10931122 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
10941123 esac
1095 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1124 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
10961125 done
10971126
10981127 # There might be people who depend on the old broken behavior: `$host'
11061135 if test "x$host_alias" != x; then
11071136 if test "x$build_alias" = x; then
11081137 cross_compiling=maybe
1109 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1110 If a cross compiler is detected then cross compile mode will be used." >&2
11111138 elif test "x$build_alias" != "x$host_alias"; then
11121139 cross_compiling=yes
11131140 fi
11221149 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11231150 ac_ls_di=`ls -di .` &&
11241151 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1125 as_fn_error "working directory cannot be determined"
1152 as_fn_error $? "working directory cannot be determined"
11261153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1127 as_fn_error "pwd does not report name of working directory"
1154 as_fn_error $? "pwd does not report name of working directory"
11281155
11291156
11301157 # Find the source files, if location was not specified.
11631190 fi
11641191 if test ! -r "$srcdir/$ac_unique_file"; then
11651192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1166 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1193 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
11671194 fi
11681195 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11691196 ac_abs_confdir=`(
1170 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1197 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
11711198 pwd)`
11721199 # When building in place, set srcdir=.
11731200 if test "$ac_abs_confdir" = "$ac_pwd"; then
12071234 --help=short display options specific to this package
12081235 --help=recursive display the short help of all the included packages
12091236 -V, --version display version information and exit
1210 -q, --quiet, --silent do not print \`checking...' messages
1237 -q, --quiet, --silent do not print \`checking ...' messages
12111238 --cache-file=FILE cache test results in FILE [disabled]
12121239 -C, --config-cache alias for \`--cache-file=config.cache'
12131240 -n, --no-create do not create output files
13431370 if $ac_init_version; then
13441371 cat <<\_ACEOF
13451372 ibutils configure 1.5.7
1346 generated by GNU Autoconf 2.65
1347
1348 Copyright (C) 2009 Free Software Foundation, Inc.
1373 generated by GNU Autoconf 2.69
1374
1375 Copyright (C) 2012 Free Software Foundation, Inc.
13491376 This configure script is free software; the Free Software Foundation
13501377 gives unlimited permission to copy, distribute and modify it.
13511378 _ACEOF
13601387 running configure, to aid debugging if configure makes a mistake.
13611388
13621389 It was created by ibutils $as_me 1.5.7, which was
1363 generated by GNU Autoconf 2.65. Invocation command line was
1390 generated by GNU Autoconf 2.69. Invocation command line was
13641391
13651392 $ $0 $@
13661393
14701497 {
14711498 echo
14721499
1473 cat <<\_ASBOX
1474 ## ---------------- ##
1500 $as_echo "## ---------------- ##
14751501 ## Cache variables. ##
1476 ## ---------------- ##
1477 _ASBOX
1502 ## ---------------- ##"
14781503 echo
14791504 # The following way of writing the cache mishandles newlines in values,
14801505 (
15081533 )
15091534 echo
15101535
1511 cat <<\_ASBOX
1512 ## ----------------- ##
1536 $as_echo "## ----------------- ##
15131537 ## Output variables. ##
1514 ## ----------------- ##
1515 _ASBOX
1538 ## ----------------- ##"
15161539 echo
15171540 for ac_var in $ac_subst_vars
15181541 do
15251548 echo
15261549
15271550 if test -n "$ac_subst_files"; then
1528 cat <<\_ASBOX
1529 ## ------------------- ##
1551 $as_echo "## ------------------- ##
15301552 ## File substitutions. ##
1531 ## ------------------- ##
1532 _ASBOX
1553 ## ------------------- ##"
15331554 echo
15341555 for ac_var in $ac_subst_files
15351556 do
15431564 fi
15441565
15451566 if test -s confdefs.h; then
1546 cat <<\_ASBOX
1547 ## ----------- ##
1567 $as_echo "## ----------- ##
15481568 ## confdefs.h. ##
1549 ## ----------- ##
1550 _ASBOX
1569 ## ----------- ##"
15511570 echo
15521571 cat confdefs.h
15531572 echo
16021621 ac_site_file1=NONE
16031622 ac_site_file2=NONE
16041623 if test -n "$CONFIG_SITE"; then
1605 ac_site_file1=$CONFIG_SITE
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
16061630 elif test "x$prefix" != xNONE; then
16071631 ac_site_file1=$prefix/share/config.site
16081632 ac_site_file2=$prefix/etc/config.site
16171641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
16181642 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
16191643 sed 's/^/| /' "$ac_site_file" >&5
1620 . "$ac_site_file"
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; }
16211649 fi
16221650 done
16231651
16931721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16941722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
16951723 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1696 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1724 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
16971725 fi
16981726 ## -------------------- ##
16991727 ## Main body of script. ##
17081736
17091737 ac_aux_dir=
17101738 for ac_dir in config "$srcdir"/config; do
1711 for ac_t in install-sh install.sh shtool; do
1712 if test -f "$ac_dir/$ac_t"; then
1713 ac_aux_dir=$ac_dir
1714 ac_install_sh="$ac_aux_dir/$ac_t -c"
1715 break 2
1716 fi
1717 done
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
17181752 done
17191753 if test -z "$ac_aux_dir"; then
1720 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1754 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
17211755 fi
17221756
17231757 # These three variables are undocumented and unsupported,
17491783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
17501784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
17511785 if test -z "$INSTALL"; then
1752 if test "${ac_cv_path_install+set}" = set; then :
1786 if ${ac_cv_path_install+:} false; then :
17531787 $as_echo_n "(cached) " >&6
17541788 else
17551789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17691803 # by default.
17701804 for ac_prog in ginstall scoinst install; do
17711805 for ac_exec_ext in '' $ac_executable_extensions; do
1772 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1806 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
17731807 if test $ac_prog = install &&
17741808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17751809 # AIX install. It has an incompatible calling convention.
18361870 '
18371871 case `pwd` in
18381872 *[\\\"\#\$\&\'\`$am_lf]*)
1839 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1873 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
18401874 esac
18411875 case $srcdir in
18421876 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1843 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1877 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
18441878 esac
18451879
18461880 # Do `set' in a subshell so we don't clobber the current shell's
18621896 # if, for instance, CONFIG_SHELL is bash and it inherits a
18631897 # broken ls alias from the environment. This has actually
18641898 # happened. Such a system could not be considered "sane".
1865 as_fn_error "ls -t appears to fail. Make sure there is not a broken
1899 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
18661900 alias in your environment" "$LINENO" 5
18671901 fi
18681902
18721906 # Ok.
18731907 :
18741908 else
1875 as_fn_error "newly created file is older than distributed files!
1909 as_fn_error $? "newly created file is older than distributed files!
18761910 Check your system clock" "$LINENO" 5
18771911 fi
18781912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19261960 set dummy ${ac_tool_prefix}strip; ac_word=$2
19271961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19281962 $as_echo_n "checking for $ac_word... " >&6; }
1929 if test "${ac_cv_prog_STRIP+set}" = set; then :
1963 if ${ac_cv_prog_STRIP+:} false; then :
19301964 $as_echo_n "(cached) " >&6
19311965 else
19321966 if test -n "$STRIP"; then
19381972 IFS=$as_save_IFS
19391973 test -z "$as_dir" && as_dir=.
19401974 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19421976 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19431977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19441978 break 2
19662000 set dummy strip; ac_word=$2
19672001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19682002 $as_echo_n "checking for $ac_word... " >&6; }
1969 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2003 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
19702004 $as_echo_n "(cached) " >&6
19712005 else
19722006 if test -n "$ac_ct_STRIP"; then
19782012 IFS=$as_save_IFS
19792013 test -z "$as_dir" && as_dir=.
19802014 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19822016 ac_cv_prog_ac_ct_STRIP="strip"
19832017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19842018 break 2
20192053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
20202054 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
20212055 if test -z "$MKDIR_P"; then
2022 if test "${ac_cv_path_mkdir+set}" = set; then :
2056 if ${ac_cv_path_mkdir+:} false; then :
20232057 $as_echo_n "(cached) " >&6
20242058 else
20252059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20292063 test -z "$as_dir" && as_dir=.
20302064 for ac_prog in mkdir gmkdir; do
20312065 for ac_exec_ext in '' $ac_executable_extensions; do
2032 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2066 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
20332067 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
20342068 'mkdir (GNU coreutils) '* | \
20352069 'mkdir (coreutils) '* | \
20702104 set dummy $ac_prog; ac_word=$2
20712105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20722106 $as_echo_n "checking for $ac_word... " >&6; }
2073 if test "${ac_cv_prog_AWK+set}" = set; then :
2107 if ${ac_cv_prog_AWK+:} false; then :
20742108 $as_echo_n "(cached) " >&6
20752109 else
20762110 if test -n "$AWK"; then
20822116 IFS=$as_save_IFS
20832117 test -z "$as_dir" && as_dir=.
20842118 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20862120 ac_cv_prog_AWK="$ac_prog"
20872121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20882122 break 2
21102144 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
21112145 set x ${MAKE-make}
21122146 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2113 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2147 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
21142148 $as_echo_n "(cached) " >&6
21152149 else
21162150 cat >conftest.make <<\_ACEOF
21182152 all:
21192153 @echo '@@@%%%=$(MAKE)=@@@%%%'
21202154 _ACEOF
2121 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2155 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
21222156 case `${MAKE-make} -f conftest.make 2>/dev/null` in
21232157 *@@@%%%=?*=@@@%%%*)
21242158 eval ac_cv_prog_make_${ac_make}_set=yes;;
21522186 am__isrc=' -I$(srcdir)'
21532187 # test to see if srcdir already configured
21542188 if test -f $srcdir/config.status; then
2155 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2189 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
21562190 fi
21572191 fi
21582192
22442278 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
22452279 set x ${MAKE-make}
22462280 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2247 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2281 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
22482282 $as_echo_n "(cached) " >&6
22492283 else
22502284 cat >conftest.make <<\_ACEOF
22522286 all:
22532287 @echo '@@@%%%=$(MAKE)=@@@%%%'
22542288 _ACEOF
2255 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2289 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22562290 case `${MAKE-make} -f conftest.make 2>/dev/null` in
22572291 *@@@%%%=?*=@@@%%%*)
22582292 eval ac_cv_prog_make_${ac_make}_set=yes;;
22772311 enableval=$enable_debug; case "${enableval}" in
22782312 yes) debug=true ;;
22792313 no) debug=false ;;
2280 *) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
2314 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
22812315 esac
22822316 else
22832317 debug=false
22892323 enableval=$enable_libcheck; case "${enableval}" in
22902324 yes) libcheck=true ;;
22912325 no) libcheck=false ;;
2292 *) as_fn_error "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
2326 *) as_fn_error $? "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;;
22932327 esac
22942328 else
22952329 libcheck=true
23402374 test -f /usr/lib/libopensm.so); then
23412375 with_osm=/usr
23422376 else
2343 as_fn_error "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
2377 as_fn_error $? "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
23442378 fi
23452379 fi
23462380 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
23882422 osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
23892423 OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
23902424 else
2391 as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
2425 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
23922426 fi
23932427 osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
23942428 else
24082442 OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
24092443 osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
24102444 else
2411 as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
2445 as_fn_error $? "OSM: Fail to recognize vendor type" "$LINENO" 5
24122446 fi
24132447 fi
24142448 { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
24182452 as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
24192453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
24202454 $as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
2421 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
2455 if eval \${$as_ac_File+:} false; then :
24222456 $as_echo_n "(cached) " >&6
24232457 else
24242458 test "$cross_compiling" = yes &&
2425 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
2459 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
24262460 if test -r "$osm_include_dir/opensm/osm_config.h"; then
24272461 eval "$as_ac_File=yes"
24282462 else
24322466 eval ac_res=\$$as_ac_File
24332467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24342468 $as_echo "$ac_res" >&6; }
2435 eval as_val=\$$as_ac_File
2436 if test "x$as_val" = x""yes; then :
2437
2438 else
2439 as_fn_error "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
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
24402473 fi
24412474
24422475
25102543 enableval=$enable_ibmgtsim; case "${enableval}" in
25112544 yes) ibmgtsim=true ;;
25122545 no) ibmgtsim=false ;;
2513 *) as_fn_error "bad value ${enableval} for --enable-ibmgtsim" "$LINENO" 5 ;;
2546 *) as_fn_error $? "bad value ${enableval} for --enable-ibmgtsim" "$LINENO" 5 ;;
25142547 esac
25152548 else
25162549 ibmgtsim=false
26012634 :end' >>confcache
26022635 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26032636 if test -w "$cache_file"; then
2604 test "x$cache_file" != "x/dev/null" &&
2637 if test "x$cache_file" != "x/dev/null"; then
26052638 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26062639 $as_echo "$as_me: updating cache $cache_file" >&6;}
2607 cat confcache >$cache_file
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
26082652 else
26092653 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26102654 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26562700
26572701 ac_libobjs=
26582702 ac_ltlibobjs=
2703 U=
26592704 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26602705 # 1. Remove the extension, and $U if already installed.
26612706 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26722717
26732718
26742719 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2675 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
2720 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
26762721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26772722 fi
26782723 if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
2679 as_fn_error "conditional \"OSM_VENDOR_TS\" was never defined.
2724 as_fn_error $? "conditional \"OSM_VENDOR_TS\" was never defined.
26802725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26812726 fi
26822727 if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
2683 as_fn_error "conditional \"OSM_VENDOR_MTL\" was never defined.
2728 as_fn_error $? "conditional \"OSM_VENDOR_MTL\" was never defined.
26842729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26852730 fi
26862731 if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
2687 as_fn_error "conditional \"OSM_VENDOR_SIM\" was never defined.
2732