Update upstream source from tag 'upstream/1.5.7+0.2.gbd7e502'
Update to upstream version '1.5.7+0.2.gbd7e502'
with Debian dir 9125d02bb405e908cbb643895dc1c021bfd5eb68
Mehdi Dogguy
5 years ago
517 | 517 | *.zip*) \ |
518 | 518 | unzip $(distdir).zip ;;\ |
519 | 519 | esac |
520 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
520 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
521 | 521 | mkdir $(distdir)/_build |
522 | 522 | mkdir $(distdir)/_inst |
523 | 523 | chmod a-w $(distdir) |
12 | 12 | |
13 | 13 | m4_ifndef([AC_AUTOCONF_VERSION], |
14 | 14 | [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. | |
17 | 17 | You have another version of autoconf. It may work, but is not guaranteed to. |
18 | 18 | If you have problems, you may need to regenerate the build system entirely. |
19 | 19 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
0 | 0 | @%:@! /bin/sh |
1 | 1 | @%:@ 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. | |
3 | 3 | @%:@ |
4 | 4 | @%:@ Report bugs to <linux-rdma@vger.kernel.org>. |
5 | 5 | @%:@ |
6 | 6 | @%:@ |
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. | |
10 | 8 | @%:@ |
11 | 9 | @%:@ |
12 | 10 | @%:@ This configure script is free software; the Free Software Foundation |
90 | 88 | IFS=" "" $as_nl" |
91 | 89 | |
92 | 90 | # Find who we are. Look in the path if we contain no directory separator. |
91 | as_myself= | |
93 | 92 | case $0 in @%:@(( |
94 | 93 | *[\\/]* ) as_myself=$0 ;; |
95 | 94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
134 | 133 | # CDPATH. |
135 | 134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
136 | 135 | |
136 | # Use a proper internal environment variable to ensure we don't fall | |
137 | # into an infinite loop, continuously re-executing ourselves. | |
138 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
139 | _as_can_reexec=no; export _as_can_reexec; | |
140 | # We cannot yet assume a decent shell, so we have to provide a | |
141 | # neutralization value for shells without unset; and this also | |
142 | # works around shells that cannot unset nonexistent variables. | |
143 | # Preserve -v and -x to the replacement shell. | |
144 | BASH_ENV=/dev/null | |
145 | ENV=/dev/null | |
146 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
147 | case $- in @%:@ (((( | |
148 | *v*x* | *x*v* ) as_opts=-vx ;; | |
149 | *v* ) as_opts=-v ;; | |
150 | *x* ) as_opts=-x ;; | |
151 | * ) as_opts= ;; | |
152 | esac | |
153 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
154 | # Admittedly, this is quite paranoid, since all the known shells bail | |
155 | # out after a failed `exec'. | |
156 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
157 | as_fn_exit 255 | |
158 | fi | |
159 | # We don't want this to propagate to other subprocesses. | |
160 | { _as_can_reexec=; unset _as_can_reexec;} | |
137 | 161 | if test "x$CONFIG_SHELL" = x; then |
138 | 162 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
139 | 163 | emulate sh |
167 | 191 | else |
168 | 192 | exitcode=1; echo positional parameters were not saved. |
169 | 193 | fi |
170 | test x\$exitcode = x0 || exit 1" | |
194 | test x\$exitcode = x0 || exit 1 | |
195 | test -x / || exit 1" | |
171 | 196 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
172 | 197 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 | 198 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
211 | 236 | |
212 | 237 | |
213 | 238 | 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 | |
222 | 258 | fi |
223 | 259 | |
224 | 260 | if test x$as_have_required = xno; then : |
317 | 353 | test -d "$as_dir" && break |
318 | 354 | done |
319 | 355 | 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" | |
321 | 357 | |
322 | 358 | |
323 | 359 | } @%:@ as_fn_mkdir_p |
360 | ||
361 | @%:@ as_fn_executable_p FILE | |
362 | @%:@ ----------------------- | |
363 | @%:@ Test if FILE is an executable regular file. | |
364 | as_fn_executable_p () | |
365 | { | |
366 | test -f "$1" && test -x "$1" | |
367 | } @%:@ as_fn_executable_p | |
324 | 368 | @%:@ as_fn_append VAR VALUE |
325 | 369 | @%:@ ---------------------- |
326 | 370 | @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
357 | 401 | fi # as_fn_arith |
358 | 402 | |
359 | 403 | |
360 | @%:@ as_fn_error ERROR [LINENO LOG_FD] | |
361 | @%:@ --------------------------------- | |
404 | @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] | |
405 | @%:@ ---------------------------------------- | |
362 | 406 | @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
363 | 407 | @%:@ 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. | |
365 | 409 | as_fn_error () |
366 | 410 | { |
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 | |
371 | 415 | fi |
372 | $as_echo "$as_me: error: $1" >&2 | |
416 | $as_echo "$as_me: error: $2" >&2 | |
373 | 417 | as_fn_exit $as_status |
374 | 418 | } @%:@ as_fn_error |
375 | 419 | |
442 | 486 | chmod +x "$as_me.lineno" || |
443 | 487 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
444 | 488 | |
489 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
490 | # already done that, so ensure we don't try to do so again and fall | |
491 | # in an infinite loop. This has already happened in practice. | |
492 | _as_can_reexec=no; export _as_can_reexec | |
445 | 493 | # Don't try to exec as it changes $[0], causing all sort of problems |
446 | 494 | # (the dirname of $[0] is not the place where we might find the |
447 | 495 | # original and so on. Autoconf is especially sensitive to this). |
476 | 524 | # ... but there are two gotchas: |
477 | 525 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
478 | 526 | # 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'. | |
480 | 528 | 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' | |
482 | 530 | elif ln conf$$.file conf$$ 2>/dev/null; then |
483 | 531 | as_ln_s=ln |
484 | 532 | else |
485 | as_ln_s='cp -p' | |
533 | as_ln_s='cp -pR' | |
486 | 534 | fi |
487 | 535 | else |
488 | as_ln_s='cp -p' | |
536 | as_ln_s='cp -pR' | |
489 | 537 | fi |
490 | 538 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
491 | 539 | rmdir conf$$.dir 2>/dev/null |
497 | 545 | as_mkdir_p=false |
498 | 546 | fi |
499 | 547 | |
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 | |
522 | 550 | |
523 | 551 | # Sed expression to map a string onto a valid CPP name. |
524 | 552 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
531 | 559 | exec 6>&1 |
532 | 560 | |
533 | 561 | # 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, | |
535 | 563 | # so uname gets run too. |
536 | 564 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
537 | 565 | |
714 | 742 | fi |
715 | 743 | |
716 | 744 | 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 ;; | |
719 | 748 | esac |
720 | 749 | |
721 | 750 | # Accept the important Cygnus configure options, so we can diagnose typos. |
760 | 789 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
761 | 790 | # Reject names that are not valid shell variable names. |
762 | 791 | 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" | |
764 | 793 | ac_useropt_orig=$ac_useropt |
765 | 794 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
766 | 795 | case $ac_user_opts in |
786 | 815 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
787 | 816 | # Reject names that are not valid shell variable names. |
788 | 817 | 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" | |
790 | 819 | ac_useropt_orig=$ac_useropt |
791 | 820 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
792 | 821 | case $ac_user_opts in |
990 | 1019 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
991 | 1020 | # Reject names that are not valid shell variable names. |
992 | 1021 | 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" | |
994 | 1023 | ac_useropt_orig=$ac_useropt |
995 | 1024 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
996 | 1025 | case $ac_user_opts in |
1006 | 1035 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1007 | 1036 | # Reject names that are not valid shell variable names. |
1008 | 1037 | 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" | |
1010 | 1039 | ac_useropt_orig=$ac_useropt |
1011 | 1040 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1012 | 1041 | case $ac_user_opts in |
1036 | 1065 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1037 | 1066 | x_libraries=$ac_optarg ;; |
1038 | 1067 | |
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" | |
1041 | 1070 | ;; |
1042 | 1071 | |
1043 | 1072 | *=*) |
1045 | 1074 | # Reject names that are not valid shell variable names. |
1046 | 1075 | case $ac_envvar in #( |
1047 | 1076 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1048 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | |
1077 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1049 | 1078 | esac |
1050 | 1079 | eval $ac_envvar=\$ac_optarg |
1051 | 1080 | export $ac_envvar ;; |
1055 | 1084 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1056 | 1085 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1057 | 1086 | $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}" | |
1059 | 1088 | ;; |
1060 | 1089 | |
1061 | 1090 | esac |
1063 | 1092 | |
1064 | 1093 | if test -n "$ac_prev"; then |
1065 | 1094 | 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" | |
1067 | 1096 | fi |
1068 | 1097 | |
1069 | 1098 | if test -n "$ac_unrecognized_opts"; then |
1070 | 1099 | case $enable_option_checking in |
1071 | 1100 | no) ;; |
1072 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | |
1101 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1073 | 1102 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1074 | 1103 | esac |
1075 | 1104 | fi |
1092 | 1121 | [\\/$]* | ?:[\\/]* ) continue;; |
1093 | 1122 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1094 | 1123 | 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" | |
1096 | 1125 | done |
1097 | 1126 | |
1098 | 1127 | # There might be people who depend on the old broken behavior: `$host' |
1106 | 1135 | if test "x$host_alias" != x; then |
1107 | 1136 | if test "x$build_alias" = x; then |
1108 | 1137 | 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 | |
1111 | 1138 | elif test "x$build_alias" != "x$host_alias"; then |
1112 | 1139 | cross_compiling=yes |
1113 | 1140 | fi |
1122 | 1149 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1123 | 1150 | ac_ls_di=`ls -di .` && |
1124 | 1151 | 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" | |
1126 | 1153 | 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" | |
1128 | 1155 | |
1129 | 1156 | |
1130 | 1157 | # Find the source files, if location was not specified. |
1163 | 1190 | fi |
1164 | 1191 | if test ! -r "$srcdir/$ac_unique_file"; then |
1165 | 1192 | 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" | |
1167 | 1194 | fi |
1168 | 1195 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1169 | 1196 | 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" | |
1171 | 1198 | pwd)` |
1172 | 1199 | # When building in place, set srcdir=. |
1173 | 1200 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1207 | 1234 | --help=short display options specific to this package |
1208 | 1235 | --help=recursive display the short help of all the included packages |
1209 | 1236 | -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 | |
1211 | 1238 | --cache-file=FILE cache test results in FILE [disabled] |
1212 | 1239 | -C, --config-cache alias for \`--cache-file=config.cache' |
1213 | 1240 | -n, --no-create do not create output files |
1343 | 1370 | if $ac_init_version; then |
1344 | 1371 | cat <<\_ACEOF |
1345 | 1372 | 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. | |
1349 | 1376 | This configure script is free software; the Free Software Foundation |
1350 | 1377 | gives unlimited permission to copy, distribute and modify it. |
1351 | 1378 | _ACEOF |
1360 | 1387 | running configure, to aid debugging if configure makes a mistake. |
1361 | 1388 | |
1362 | 1389 | 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 | |
1364 | 1391 | |
1365 | 1392 | $ $0 $@ |
1366 | 1393 | |
1470 | 1497 | { |
1471 | 1498 | echo |
1472 | 1499 | |
1473 | cat <<\_ASBOX | |
1474 | ## ---------------- ## | |
1500 | $as_echo "## ---------------- ## | |
1475 | 1501 | ## Cache variables. ## |
1476 | ## ---------------- ## | |
1477 | _ASBOX | |
1502 | ## ---------------- ##" | |
1478 | 1503 | echo |
1479 | 1504 | # The following way of writing the cache mishandles newlines in values, |
1480 | 1505 | ( |
1508 | 1533 | ) |
1509 | 1534 | echo |
1510 | 1535 | |
1511 | cat <<\_ASBOX | |
1512 | ## ----------------- ## | |
1536 | $as_echo "## ----------------- ## | |
1513 | 1537 | ## Output variables. ## |
1514 | ## ----------------- ## | |
1515 | _ASBOX | |
1538 | ## ----------------- ##" | |
1516 | 1539 | echo |
1517 | 1540 | for ac_var in $ac_subst_vars |
1518 | 1541 | do |
1525 | 1548 | echo |
1526 | 1549 | |
1527 | 1550 | if test -n "$ac_subst_files"; then |
1528 | cat <<\_ASBOX | |
1529 | ## ------------------- ## | |
1551 | $as_echo "## ------------------- ## | |
1530 | 1552 | ## File substitutions. ## |
1531 | ## ------------------- ## | |
1532 | _ASBOX | |
1553 | ## ------------------- ##" | |
1533 | 1554 | echo |
1534 | 1555 | for ac_var in $ac_subst_files |
1535 | 1556 | do |
1543 | 1564 | fi |
1544 | 1565 | |
1545 | 1566 | if test -s confdefs.h; then |
1546 | cat <<\_ASBOX | |
1547 | ## ----------- ## | |
1567 | $as_echo "## ----------- ## | |
1548 | 1568 | ## confdefs.h. ## |
1549 | ## ----------- ## | |
1550 | _ASBOX | |
1569 | ## ----------- ##" | |
1551 | 1570 | echo |
1552 | 1571 | cat confdefs.h |
1553 | 1572 | echo |
1602 | 1621 | ac_site_file1=NONE |
1603 | 1622 | ac_site_file2=NONE |
1604 | 1623 | 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 | |
1606 | 1630 | elif test "x$prefix" != xNONE; then |
1607 | 1631 | ac_site_file1=$prefix/share/config.site |
1608 | 1632 | ac_site_file2=$prefix/etc/config.site |
1617 | 1641 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1618 | 1642 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1619 | 1643 | 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; } | |
1621 | 1649 | fi |
1622 | 1650 | done |
1623 | 1651 | |
1693 | 1721 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1694 | 1722 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1695 | 1723 | $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 | |
1697 | 1725 | fi |
1698 | 1726 | ## -------------------- ## |
1699 | 1727 | ## Main body of script. ## |
1708 | 1736 | |
1709 | 1737 | ac_aux_dir= |
1710 | 1738 | 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 | |
1718 | 1752 | done |
1719 | 1753 | 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 | |
1721 | 1755 | fi |
1722 | 1756 | |
1723 | 1757 | # These three variables are undocumented and unsupported, |
1749 | 1783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
1750 | 1784 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
1751 | 1785 | if test -z "$INSTALL"; then |
1752 | if test "${ac_cv_path_install+set}" = set; then : | |
1786 | if ${ac_cv_path_install+:} false; then : | |
1753 | 1787 | $as_echo_n "(cached) " >&6 |
1754 | 1788 | else |
1755 | 1789 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1769 | 1803 | # by default. |
1770 | 1804 | for ac_prog in ginstall scoinst install; do |
1771 | 1805 | 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 | |
1773 | 1807 | if test $ac_prog = install && |
1774 | 1808 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1775 | 1809 | # AIX install. It has an incompatible calling convention. |
1836 | 1870 | ' |
1837 | 1871 | case `pwd` in |
1838 | 1872 | *[\\\"\#\$\&\'\`$am_lf]*) |
1839 | as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; | |
1873 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
1840 | 1874 | esac |
1841 | 1875 | case $srcdir in |
1842 | 1876 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
1843 | as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
1877 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
1844 | 1878 | esac |
1845 | 1879 | |
1846 | 1880 | # Do `set' in a subshell so we don't clobber the current shell's |
1862 | 1896 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
1863 | 1897 | # broken ls alias from the environment. This has actually |
1864 | 1898 | # 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 | |
1866 | 1900 | alias in your environment" "$LINENO" 5 |
1867 | 1901 | fi |
1868 | 1902 | |
1872 | 1906 | # Ok. |
1873 | 1907 | : |
1874 | 1908 | 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! | |
1876 | 1910 | Check your system clock" "$LINENO" 5 |
1877 | 1911 | fi |
1878 | 1912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1926 | 1960 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1927 | 1961 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1928 | 1962 | $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 : | |
1930 | 1964 | $as_echo_n "(cached) " >&6 |
1931 | 1965 | else |
1932 | 1966 | if test -n "$STRIP"; then |
1938 | 1972 | IFS=$as_save_IFS |
1939 | 1973 | test -z "$as_dir" && as_dir=. |
1940 | 1974 | 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 | |
1942 | 1976 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1943 | 1977 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1944 | 1978 | break 2 |
1966 | 2000 | set dummy strip; ac_word=$2 |
1967 | 2001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1968 | 2002 | $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 : | |
1970 | 2004 | $as_echo_n "(cached) " >&6 |
1971 | 2005 | else |
1972 | 2006 | if test -n "$ac_ct_STRIP"; then |
1978 | 2012 | IFS=$as_save_IFS |
1979 | 2013 | test -z "$as_dir" && as_dir=. |
1980 | 2014 | 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 | |
1982 | 2016 | ac_cv_prog_ac_ct_STRIP="strip" |
1983 | 2017 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1984 | 2018 | break 2 |
2019 | 2053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2020 | 2054 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2021 | 2055 | if test -z "$MKDIR_P"; then |
2022 | if test "${ac_cv_path_mkdir+set}" = set; then : | |
2056 | if ${ac_cv_path_mkdir+:} false; then : | |
2023 | 2057 | $as_echo_n "(cached) " >&6 |
2024 | 2058 | else |
2025 | 2059 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2029 | 2063 | test -z "$as_dir" && as_dir=. |
2030 | 2064 | for ac_prog in mkdir gmkdir; do |
2031 | 2065 | 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 | |
2033 | 2067 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2034 | 2068 | 'mkdir (GNU coreutils) '* | \ |
2035 | 2069 | 'mkdir (coreutils) '* | \ |
2070 | 2104 | set dummy $ac_prog; ac_word=$2 |
2071 | 2105 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2072 | 2106 | $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 : | |
2074 | 2108 | $as_echo_n "(cached) " >&6 |
2075 | 2109 | else |
2076 | 2110 | if test -n "$AWK"; then |
2082 | 2116 | IFS=$as_save_IFS |
2083 | 2117 | test -z "$as_dir" && as_dir=. |
2084 | 2118 | 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 | |
2086 | 2120 | ac_cv_prog_AWK="$ac_prog" |
2087 | 2121 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2088 | 2122 | break 2 |
2110 | 2144 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2111 | 2145 | set x ${MAKE-make} |
2112 | 2146 | 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 : | |
2114 | 2148 | $as_echo_n "(cached) " >&6 |
2115 | 2149 | else |
2116 | 2150 | cat >conftest.make <<\_ACEOF |
2118 | 2152 | all: |
2119 | 2153 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2120 | 2154 | _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. | |
2122 | 2156 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2123 | 2157 | *@@@%%%=?*=@@@%%%*) |
2124 | 2158 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2152 | 2186 | am__isrc=' -I$(srcdir)' |
2153 | 2187 | # test to see if srcdir already configured |
2154 | 2188 | 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 | |
2156 | 2190 | fi |
2157 | 2191 | fi |
2158 | 2192 | |
2244 | 2278 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2245 | 2279 | set x ${MAKE-make} |
2246 | 2280 | 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 : | |
2248 | 2282 | $as_echo_n "(cached) " >&6 |
2249 | 2283 | else |
2250 | 2284 | cat >conftest.make <<\_ACEOF |
2252 | 2286 | all: |
2253 | 2287 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2254 | 2288 | _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. | |
2256 | 2290 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2257 | 2291 | *@@@%%%=?*=@@@%%%*) |
2258 | 2292 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2277 | 2311 | enableval=$enable_debug; case "${enableval}" in |
2278 | 2312 | yes) debug=true ;; |
2279 | 2313 | 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 ;; | |
2281 | 2315 | esac |
2282 | 2316 | else |
2283 | 2317 | debug=false |
2289 | 2323 | enableval=$enable_libcheck; case "${enableval}" in |
2290 | 2324 | yes) libcheck=true ;; |
2291 | 2325 | 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 ;; | |
2293 | 2327 | esac |
2294 | 2328 | else |
2295 | 2329 | libcheck=true |
2340 | 2374 | test -f /usr/lib/libopensm.so); then |
2341 | 2375 | with_osm=/usr |
2342 | 2376 | 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 | |
2344 | 2378 | fi |
2345 | 2379 | fi |
2346 | 2380 | { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5 |
2388 | 2422 | osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB " |
2389 | 2423 | OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad" |
2390 | 2424 | 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 | |
2392 | 2426 | fi |
2393 | 2427 | osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB" |
2394 | 2428 | else |
2408 | 2442 | OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib" |
2409 | 2443 | osm_vendor_sel="-DOSM_VENDOR_INTF_SIM" |
2410 | 2444 | 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 | |
2412 | 2446 | fi |
2413 | 2447 | fi |
2414 | 2448 | { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5 |
2418 | 2452 | as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh` |
2419 | 2453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5 |
2420 | 2454 | $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 : | |
2422 | 2456 | $as_echo_n "(cached) " >&6 |
2423 | 2457 | else |
2424 | 2458 | 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 | |
2426 | 2460 | if test -r "$osm_include_dir/opensm/osm_config.h"; then |
2427 | 2461 | eval "$as_ac_File=yes" |
2428 | 2462 | else |
2432 | 2466 | eval ac_res=\$$as_ac_File |
2433 | 2467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2434 | 2468 | $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 : | |
2437 | 2470 | |
2438 | 2471 | 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 | |
2440 | 2473 | fi |
2441 | 2474 | |
2442 | 2475 | |
2510 | 2543 | enableval=$enable_ibmgtsim; case "${enableval}" in |
2511 | 2544 | yes) ibmgtsim=true ;; |
2512 | 2545 | 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 ;; | |
2514 | 2547 | esac |
2515 | 2548 | else |
2516 | 2549 | ibmgtsim=false |
2601 | 2634 | :end' >>confcache |
2602 | 2635 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2603 | 2636 | if test -w "$cache_file"; then |
2604 | test "x$cache_file" != "x/dev/null" && | |
2637 | if test "x$cache_file" != "x/dev/null"; then | |
2605 | 2638 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
2606 | 2639 | $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 | |
2608 | 2652 | else |
2609 | 2653 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
2610 | 2654 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2656 | 2700 | |
2657 | 2701 | ac_libobjs= |
2658 | 2702 | ac_ltlibobjs= |
2703 | U= | |
2659 | 2704 | for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
2660 | 2705 | # 1. Remove the extension, and $U if already installed. |
2661 | 2706 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
2672 | 2717 | |
2673 | 2718 | |
2674 | 2719 | 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. | |
2676 | 2721 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2677 | 2722 | fi |
2678 | 2723 | 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. | |
2680 | 2725 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2681 | 2726 | fi |
2682 | 2727 | 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. | |
2684 | 2729 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2685 | 2730 | fi |
2686 | 2731 | 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. | |
2688 | 2733 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2689 | 2734 | fi |
2690 | 2735 | 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. | |
2692 | 2737 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2693 | 2738 | fi |
2694 | 2739 | 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. | |
2696 | 2741 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2697 | 2742 | fi |
2698 | 2743 | |
2699 | : ${CONFIG_STATUS=./config.status} | |
2744 | : "${CONFIG_STATUS=./config.status}" | |
2700 | 2745 | ac_write_fail=0 |
2701 | 2746 | ac_clean_files_save=$ac_clean_files |
2702 | 2747 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
2797 | 2842 | IFS=" "" $as_nl" |
2798 | 2843 | |
2799 | 2844 | # Find who we are. Look in the path if we contain no directory separator. |
2845 | as_myself= | |
2800 | 2846 | case $0 in @%:@(( |
2801 | 2847 | *[\\/]* ) as_myself=$0 ;; |
2802 | 2848 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2842 | 2888 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
2843 | 2889 | |
2844 | 2890 | |
2845 | @%:@ as_fn_error ERROR [LINENO LOG_FD] | |
2846 | @%:@ --------------------------------- | |
2891 | @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] | |
2892 | @%:@ ---------------------------------------- | |
2847 | 2893 | @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
2848 | 2894 | @%:@ 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. | |
2850 | 2896 | as_fn_error () |
2851 | 2897 | { |
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 | |
2856 | 2902 | fi |
2857 | $as_echo "$as_me: error: $1" >&2 | |
2903 | $as_echo "$as_me: error: $2" >&2 | |
2858 | 2904 | as_fn_exit $as_status |
2859 | 2905 | } @%:@ as_fn_error |
2860 | 2906 | |
2992 | 3038 | # ... but there are two gotchas: |
2993 | 3039 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
2994 | 3040 | # 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'. | |
2996 | 3042 | 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' | |
2998 | 3044 | elif ln conf$$.file conf$$ 2>/dev/null; then |
2999 | 3045 | as_ln_s=ln |
3000 | 3046 | else |
3001 | as_ln_s='cp -p' | |
3047 | as_ln_s='cp -pR' | |
3002 | 3048 | fi |
3003 | 3049 | else |
3004 | as_ln_s='cp -p' | |
3050 | as_ln_s='cp -pR' | |
3005 | 3051 | fi |
3006 | 3052 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3007 | 3053 | rmdir conf$$.dir 2>/dev/null |
3050 | 3096 | test -d "$as_dir" && break |
3051 | 3097 | done |
3052 | 3098 | 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" | |
3054 | 3100 | |
3055 | 3101 | |
3056 | 3102 | } @%:@ as_fn_mkdir_p |
3061 | 3107 | as_mkdir_p=false |
3062 | 3108 | fi |
3063 | 3109 | |
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 | |
3086 | 3120 | |
3087 | 3121 | # Sed expression to map a string onto a valid CPP name. |
3088 | 3122 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
3104 | 3138 | # values after options handling. |
3105 | 3139 | ac_log=" |
3106 | 3140 | 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 | |
3108 | 3142 | |
3109 | 3143 | CONFIG_FILES = $CONFIG_FILES |
3110 | 3144 | CONFIG_HEADERS = $CONFIG_HEADERS |
3157 | 3191 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
3158 | 3192 | ac_cs_version="\\ |
3159 | 3193 | 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, | |
3161 | 3195 | with options \\"\$ac_cs_config\\" |
3162 | 3196 | |
3163 | Copyright (C) 2009 Free Software Foundation, Inc. | |
3197 | Copyright (C) 2012 Free Software Foundation, Inc. | |
3164 | 3198 | This config.status script is free software; the Free Software Foundation |
3165 | 3199 | gives unlimited permission to copy, distribute and modify it." |
3166 | 3200 | |
3178 | 3212 | while test $# != 0 |
3179 | 3213 | do |
3180 | 3214 | case $1 in |
3181 | --*=*) | |
3215 | --*=?*) | |
3182 | 3216 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3183 | 3217 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
3218 | ac_shift=: | |
3219 | ;; | |
3220 | --*=) | |
3221 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
3222 | ac_optarg= | |
3184 | 3223 | ac_shift=: |
3185 | 3224 | ;; |
3186 | 3225 | *) |
3204 | 3243 | $ac_shift |
3205 | 3244 | case $ac_optarg in |
3206 | 3245 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
3246 | '') as_fn_error $? "missing file argument" ;; | |
3207 | 3247 | esac |
3208 | 3248 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
3209 | 3249 | ac_need_defaults=false;; |
3214 | 3254 | ac_cs_silent=: ;; |
3215 | 3255 | |
3216 | 3256 | # This is an error. |
3217 | -*) as_fn_error "unrecognized option: \`$1' | |
3257 | -*) as_fn_error $? "unrecognized option: \`$1' | |
3218 | 3258 | Try \`$0 --help' for more information." ;; |
3219 | 3259 | |
3220 | 3260 | *) as_fn_append ac_config_targets " $1" |
3234 | 3274 | _ACEOF |
3235 | 3275 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3236 | 3276 | 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 | |
3238 | 3278 | shift |
3239 | 3279 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
3240 | 3280 | CONFIG_SHELL='$SHELL' |
3266 | 3306 | "ibutils.spec") CONFIG_FILES="$CONFIG_FILES ibutils.spec" ;; |
3267 | 3307 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
3268 | 3308 | |
3269 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
3309 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
3270 | 3310 | esac |
3271 | 3311 | done |
3272 | 3312 | |
3287 | 3327 | # after its creation but before its name has been assigned to `$tmp'. |
3288 | 3328 | $debug || |
3289 | 3329 | { |
3290 | tmp= | |
3330 | tmp= ac_tmp= | |
3291 | 3331 | 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 | |
3293 | 3334 | ' 0 |
3294 | 3335 | trap 'as_fn_exit 1' 1 2 13 15 |
3295 | 3336 | } |
3297 | 3338 | |
3298 | 3339 | { |
3299 | 3340 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
3300 | test -n "$tmp" && test -d "$tmp" | |
3341 | test -d "$tmp" | |
3301 | 3342 | } || |
3302 | 3343 | { |
3303 | 3344 | tmp=./conf$$-$RANDOM |
3304 | 3345 | (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 | |
3306 | 3348 | |
3307 | 3349 | # Set up the scripts for CONFIG_FILES section. |
3308 | 3350 | # No need to generate them if there are no CONFIG_FILES. |
3319 | 3361 | fi |
3320 | 3362 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
3321 | 3363 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
3322 | ac_cs_awk_cr='\r' | |
3364 | ac_cs_awk_cr='\\r' | |
3323 | 3365 | else |
3324 | 3366 | ac_cs_awk_cr=$ac_cr |
3325 | 3367 | fi |
3326 | 3368 | |
3327 | echo 'BEGIN {' >"$tmp/subs1.awk" && | |
3369 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
3328 | 3370 | _ACEOF |
3329 | 3371 | |
3330 | 3372 | |
3333 | 3375 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
3334 | 3376 | echo "_ACEOF" |
3335 | 3377 | } >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 '^'` | |
3338 | 3380 | ac_delim='%!_!# ' |
3339 | 3381 | for ac_last_try in false false false false false :; do |
3340 | 3382 | . ./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 | |
3342 | 3384 | |
3343 | 3385 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
3344 | 3386 | if test $ac_delim_n = $ac_delim_num; then |
3345 | 3387 | break |
3346 | 3388 | 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 | |
3348 | 3390 | else |
3349 | 3391 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
3350 | 3392 | fi |
3352 | 3394 | rm -f conf$$subs.sh |
3353 | 3395 | |
3354 | 3396 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3355 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
3397 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
3356 | 3398 | _ACEOF |
3357 | 3399 | sed -n ' |
3358 | 3400 | h |
3400 | 3442 | rm -f conf$$subs.awk |
3401 | 3443 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3402 | 3444 | _ACAWK |
3403 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
3445 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
3404 | 3446 | for (key in S) S_is_set[key] = 1 |
3405 | 3447 | FS = "" |
3406 | 3448 | |
3432 | 3474 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
3433 | 3475 | else |
3434 | 3476 | 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 | |
3437 | 3479 | _ACEOF |
3438 | 3480 | |
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 | |
3441 | 3483 | # trailing colons and then remove the whole line if VPATH becomes empty |
3442 | 3484 | # (actually we leave an empty line to preserve line numbers). |
3443 | 3485 | 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/^:*// | |
3449 | 3495 | s/:*$// |
3496 | x | |
3497 | s/\(=[ ]*\).*/\1/ | |
3498 | G | |
3499 | s/\n// | |
3450 | 3500 | s/^[^=]*=[ ]*$// |
3451 | 3501 | }' |
3452 | 3502 | fi |
3464 | 3514 | esac |
3465 | 3515 | case $ac_mode$ac_tag in |
3466 | 3516 | :[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;; | |
3468 | 3518 | :[FH]-) ac_tag=-:-;; |
3469 | 3519 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
3470 | 3520 | esac |
3483 | 3533 | for ac_f |
3484 | 3534 | do |
3485 | 3535 | case $ac_f in |
3486 | -) ac_f="$tmp/stdin";; | |
3536 | -) ac_f="$ac_tmp/stdin";; | |
3487 | 3537 | *) # Look for the file first in the build tree, then in the source tree |
3488 | 3538 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
3489 | 3539 | # because $ac_f cannot contain `:'. |
3492 | 3542 | [\\/$]*) false;; |
3493 | 3543 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
3494 | 3544 | 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;; | |
3496 | 3546 | esac |
3497 | 3547 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
3498 | 3548 | as_fn_append ac_file_inputs " '$ac_f'" |
3518 | 3568 | esac |
3519 | 3569 | |
3520 | 3570 | 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 ;; | |
3523 | 3573 | esac |
3524 | 3574 | ;; |
3525 | 3575 | esac |
3655 | 3705 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
3656 | 3706 | $ac_datarootdir_hack |
3657 | 3707 | " |
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 | |
3660 | 3710 | |
3661 | 3711 | 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"; } && | |
3664 | 3715 | { $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 | |
3666 | 3717 | $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" | |
3670 | 3721 | 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";; | |
3673 | 3724 | esac \ |
3674 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
3725 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
3675 | 3726 | ;; |
3676 | 3727 | |
3677 | 3728 | |
3686 | 3737 | ac_clean_files=$ac_clean_files_save |
3687 | 3738 | |
3688 | 3739 | 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 | |
3690 | 3741 | |
3691 | 3742 | |
3692 | 3743 | # configure is writing to config.log, and then calls config.status. |
3707 | 3758 | exec 5>>config.log |
3708 | 3759 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3709 | 3760 | # 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 | |
3711 | 3762 | fi |
3712 | 3763 | |
3713 | 3764 | # |
3848 | 3899 | # The eval makes quoting arguments work. |
3849 | 3900 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
3850 | 3901 | --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 | |
3852 | 3903 | fi |
3853 | 3904 | |
3854 | 3905 | cd "$ac_popdir" |
0 | 0 | @%:@! /bin/sh |
1 | 1 | @%:@ 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. | |
3 | 3 | @%:@ |
4 | 4 | @%:@ Report bugs to <linux-rdma@vger.kernel.org>. |
5 | 5 | @%:@ |
6 | 6 | @%:@ |
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. | |
10 | 8 | @%:@ |
11 | 9 | @%:@ |
12 | 10 | @%:@ This configure script is free software; the Free Software Foundation |
90 | 88 | IFS=" "" $as_nl" |
91 | 89 | |
92 | 90 | # Find who we are. Look in the path if we contain no directory separator. |
91 | as_myself= | |
93 | 92 | case $0 in @%:@(( |
94 | 93 | *[\\/]* ) as_myself=$0 ;; |
95 | 94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
134 | 133 | # CDPATH. |
135 | 134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
136 | 135 | |
136 | # Use a proper internal environment variable to ensure we don't fall | |
137 | # into an infinite loop, continuously re-executing ourselves. | |
138 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
139 | _as_can_reexec=no; export _as_can_reexec; | |
140 | # We cannot yet assume a decent shell, so we have to provide a | |
141 | # neutralization value for shells without unset; and this also | |
142 | # works around shells that cannot unset nonexistent variables. | |
143 | # Preserve -v and -x to the replacement shell. | |
144 | BASH_ENV=/dev/null | |
145 | ENV=/dev/null | |
146 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
147 | case $- in @%:@ (((( | |
148 | *v*x* | *x*v* ) as_opts=-vx ;; | |
149 | *v* ) as_opts=-v ;; | |
150 | *x* ) as_opts=-x ;; | |
151 | * ) as_opts= ;; | |
152 | esac | |
153 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
154 | # Admittedly, this is quite paranoid, since all the known shells bail | |
155 | # out after a failed `exec'. | |
156 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
157 | as_fn_exit 255 | |
158 | fi | |
159 | # We don't want this to propagate to other subprocesses. | |
160 | { _as_can_reexec=; unset _as_can_reexec;} | |
137 | 161 | if test "x$CONFIG_SHELL" = x; then |
138 | 162 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
139 | 163 | emulate sh |
167 | 191 | else |
168 | 192 | exitcode=1; echo positional parameters were not saved. |
169 | 193 | fi |
170 | test x\$exitcode = x0 || exit 1" | |
194 | test x\$exitcode = x0 || exit 1 | |
195 | test -x / || exit 1" | |
171 | 196 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
172 | 197 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 | 198 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
211 | 236 | |
212 | 237 | |
213 | 238 | 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 | |
222 | 258 | fi |
223 | 259 | |
224 | 260 | if test x$as_have_required = xno; then : |
317 | 353 | test -d "$as_dir" && break |
318 | 354 | done |
319 | 355 | 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" | |
321 | 357 | |
322 | 358 | |
323 | 359 | } @%:@ as_fn_mkdir_p |
360 | ||
361 | @%:@ as_fn_executable_p FILE | |
362 | @%:@ ----------------------- | |
363 | @%:@ Test if FILE is an executable regular file. | |
364 | as_fn_executable_p () | |
365 | { | |
366 | test -f "$1" && test -x "$1" | |
367 | } @%:@ as_fn_executable_p | |
324 | 368 | @%:@ as_fn_append VAR VALUE |
325 | 369 | @%:@ ---------------------- |
326 | 370 | @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
357 | 401 | fi # as_fn_arith |
358 | 402 | |
359 | 403 | |
360 | @%:@ as_fn_error ERROR [LINENO LOG_FD] | |
361 | @%:@ --------------------------------- | |
404 | @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] | |
405 | @%:@ ---------------------------------------- | |
362 | 406 | @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
363 | 407 | @%:@ 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. | |
365 | 409 | as_fn_error () |
366 | 410 | { |
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 | |
371 | 415 | fi |
372 | $as_echo "$as_me: error: $1" >&2 | |
416 | $as_echo "$as_me: error: $2" >&2 | |
373 | 417 | as_fn_exit $as_status |
374 | 418 | } @%:@ as_fn_error |
375 | 419 | |
442 | 486 | chmod +x "$as_me.lineno" || |
443 | 487 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
444 | 488 | |
489 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
490 | # already done that, so ensure we don't try to do so again and fall | |
491 | # in an infinite loop. This has already happened in practice. | |
492 | _as_can_reexec=no; export _as_can_reexec | |
445 | 493 | # Don't try to exec as it changes $[0], causing all sort of problems |
446 | 494 | # (the dirname of $[0] is not the place where we might find the |
447 | 495 | # original and so on. Autoconf is especially sensitive to this). |
476 | 524 | # ... but there are two gotchas: |
477 | 525 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
478 | 526 | # 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'. | |
480 | 528 | 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' | |
482 | 530 | elif ln conf$$.file conf$$ 2>/dev/null; then |
483 | 531 | as_ln_s=ln |
484 | 532 | else |
485 | as_ln_s='cp -p' | |
533 | as_ln_s='cp -pR' | |
486 | 534 | fi |
487 | 535 | else |
488 | as_ln_s='cp -p' | |
536 | as_ln_s='cp -pR' | |
489 | 537 | fi |
490 | 538 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
491 | 539 | rmdir conf$$.dir 2>/dev/null |
497 | 545 | as_mkdir_p=false |
498 | 546 | fi |
499 | 547 | |
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 | |
522 | 550 | |
523 | 551 | # Sed expression to map a string onto a valid CPP name. |
524 | 552 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
531 | 559 | exec 6>&1 |
532 | 560 | |
533 | 561 | # 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, | |
535 | 563 | # so uname gets run too. |
536 | 564 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
537 | 565 | |
714 | 742 | fi |
715 | 743 | |
716 | 744 | 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 ;; | |
719 | 748 | esac |
720 | 749 | |
721 | 750 | # Accept the important Cygnus configure options, so we can diagnose typos. |
760 | 789 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
761 | 790 | # Reject names that are not valid shell variable names. |
762 | 791 | 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" | |
764 | 793 | ac_useropt_orig=$ac_useropt |
765 | 794 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
766 | 795 | case $ac_user_opts in |
786 | 815 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
787 | 816 | # Reject names that are not valid shell variable names. |
788 | 817 | 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" | |
790 | 819 | ac_useropt_orig=$ac_useropt |
791 | 820 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
792 | 821 | case $ac_user_opts in |
990 | 1019 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
991 | 1020 | # Reject names that are not valid shell variable names. |
992 | 1021 | 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" | |
994 | 1023 | ac_useropt_orig=$ac_useropt |
995 | 1024 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
996 | 1025 | case $ac_user_opts in |
1006 | 1035 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1007 | 1036 | # Reject names that are not valid shell variable names. |
1008 | 1037 | 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" | |
1010 | 1039 | ac_useropt_orig=$ac_useropt |
1011 | 1040 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1012 | 1041 | case $ac_user_opts in |
1036 | 1065 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1037 | 1066 | x_libraries=$ac_optarg ;; |
1038 | 1067 | |
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" | |
1041 | 1070 | ;; |
1042 | 1071 | |
1043 | 1072 | *=*) |
1045 | 1074 | # Reject names that are not valid shell variable names. |
1046 | 1075 | case $ac_envvar in #( |
1047 | 1076 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1048 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | |
1077 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1049 | 1078 | esac |
1050 | 1079 | eval $ac_envvar=\$ac_optarg |
1051 | 1080 | export $ac_envvar ;; |
1055 | 1084 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1056 | 1085 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1057 | 1086 | $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}" | |
1059 | 1088 | ;; |
1060 | 1089 | |
1061 | 1090 | esac |
1063 | 1092 | |
1064 | 1093 | if test -n "$ac_prev"; then |
1065 | 1094 | 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" | |
1067 | 1096 | fi |
1068 | 1097 | |
1069 | 1098 | if test -n "$ac_unrecognized_opts"; then |
1070 | 1099 | case $enable_option_checking in |
1071 | 1100 | no) ;; |
1072 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | |
1101 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1073 | 1102 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1074 | 1103 | esac |
1075 | 1104 | fi |
1092 | 1121 | [\\/$]* | ?:[\\/]* ) continue;; |
1093 | 1122 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1094 | 1123 | 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" | |
1096 | 1125 | done |
1097 | 1126 | |
1098 | 1127 | # There might be people who depend on the old broken behavior: `$host' |
1106 | 1135 | if test "x$host_alias" != x; then |
1107 | 1136 | if test "x$build_alias" = x; then |
1108 | 1137 | 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 | |
1111 | 1138 | elif test "x$build_alias" != "x$host_alias"; then |
1112 | 1139 | cross_compiling=yes |
1113 | 1140 | fi |
1122 | 1149 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1123 | 1150 | ac_ls_di=`ls -di .` && |
1124 | 1151 | 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" | |
1126 | 1153 | 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" | |
1128 | 1155 | |
1129 | 1156 | |
1130 | 1157 | # Find the source files, if location was not specified. |
1163 | 1190 | fi |
1164 | 1191 | if test ! -r "$srcdir/$ac_unique_file"; then |
1165 | 1192 | 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" | |
1167 | 1194 | fi |
1168 | 1195 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1169 | 1196 | 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" | |
1171 | 1198 | pwd)` |
1172 | 1199 | # When building in place, set srcdir=. |
1173 | 1200 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1207 | 1234 | --help=short display options specific to this package |
1208 | 1235 | --help=recursive display the short help of all the included packages |
1209 | 1236 | -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 | |
1211 | 1238 | --cache-file=FILE cache test results in FILE [disabled] |
1212 | 1239 | -C, --config-cache alias for \`--cache-file=config.cache' |
1213 | 1240 | -n, --no-create do not create output files |
1343 | 1370 | if $ac_init_version; then |
1344 | 1371 | cat <<\_ACEOF |
1345 | 1372 | 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. | |
1349 | 1376 | This configure script is free software; the Free Software Foundation |
1350 | 1377 | gives unlimited permission to copy, distribute and modify it. |
1351 | 1378 | _ACEOF |
1360 | 1387 | running configure, to aid debugging if configure makes a mistake. |
1361 | 1388 | |
1362 | 1389 | 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 | |
1364 | 1391 | |
1365 | 1392 | $ $0 $@ |
1366 | 1393 | |
1470 | 1497 | { |
1471 | 1498 | echo |
1472 | 1499 | |
1473 | cat <<\_ASBOX | |
1474 | ## ---------------- ## | |
1500 | $as_echo "## ---------------- ## | |
1475 | 1501 | ## Cache variables. ## |
1476 | ## ---------------- ## | |
1477 | _ASBOX | |
1502 | ## ---------------- ##" | |
1478 | 1503 | echo |
1479 | 1504 | # The following way of writing the cache mishandles newlines in values, |
1480 | 1505 | ( |
1508 | 1533 | ) |
1509 | 1534 | echo |
1510 | 1535 | |
1511 | cat <<\_ASBOX | |
1512 | ## ----------------- ## | |
1536 | $as_echo "## ----------------- ## | |
1513 | 1537 | ## Output variables. ## |
1514 | ## ----------------- ## | |
1515 | _ASBOX | |
1538 | ## ----------------- ##" | |
1516 | 1539 | echo |
1517 | 1540 | for ac_var in $ac_subst_vars |
1518 | 1541 | do |
1525 | 1548 | echo |
1526 | 1549 | |
1527 | 1550 | if test -n "$ac_subst_files"; then |
1528 | cat <<\_ASBOX | |
1529 | ## ------------------- ## | |
1551 | $as_echo "## ------------------- ## | |
1530 | 1552 | ## File substitutions. ## |
1531 | ## ------------------- ## | |
1532 | _ASBOX | |
1553 | ## ------------------- ##" | |
1533 | 1554 | echo |
1534 | 1555 | for ac_var in $ac_subst_files |
1535 | 1556 | do |
1543 | 1564 | fi |
1544 | 1565 | |
1545 | 1566 | if test -s confdefs.h; then |
1546 | cat <<\_ASBOX | |
1547 | ## ----------- ## | |
1567 | $as_echo "## ----------- ## | |
1548 | 1568 | ## confdefs.h. ## |
1549 | ## ----------- ## | |
1550 | _ASBOX | |
1569 | ## ----------- ##" | |
1551 | 1570 | echo |
1552 | 1571 | cat confdefs.h |
1553 | 1572 | echo |
1602 | 1621 | ac_site_file1=NONE |
1603 | 1622 | ac_site_file2=NONE |
1604 | 1623 | 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 | |
1606 | 1630 | elif test "x$prefix" != xNONE; then |
1607 | 1631 | ac_site_file1=$prefix/share/config.site |
1608 | 1632 | ac_site_file2=$prefix/etc/config.site |
1617 | 1641 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1618 | 1642 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1619 | 1643 | 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; } | |
1621 | 1649 | fi |
1622 | 1650 | done |
1623 | 1651 | |
1693 | 1721 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1694 | 1722 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1695 | 1723 | $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 | |
1697 | 1725 | fi |
1698 | 1726 | ## -------------------- ## |
1699 | 1727 | ## Main body of script. ## |
1708 | 1736 | |
1709 | 1737 | ac_aux_dir= |
1710 | 1738 | 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 | |
1718 | 1752 | done |
1719 | 1753 | 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 | |
1721 | 1755 | fi |
1722 | 1756 | |
1723 | 1757 | # These three variables are undocumented and unsupported, |
1749 | 1783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
1750 | 1784 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
1751 | 1785 | if test -z "$INSTALL"; then |
1752 | if test "${ac_cv_path_install+set}" = set; then : | |
1786 | if ${ac_cv_path_install+:} false; then : | |
1753 | 1787 | $as_echo_n "(cached) " >&6 |
1754 | 1788 | else |
1755 | 1789 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1769 | 1803 | # by default. |
1770 | 1804 | for ac_prog in ginstall scoinst install; do |
1771 | 1805 | 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 | |
1773 | 1807 | if test $ac_prog = install && |
1774 | 1808 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1775 | 1809 | # AIX install. It has an incompatible calling convention. |
1836 | 1870 | ' |
1837 | 1871 | case `pwd` in |
1838 | 1872 | *[\\\"\#\$\&\'\`$am_lf]*) |
1839 | as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; | |
1873 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
1840 | 1874 | esac |
1841 | 1875 | case $srcdir in |
1842 | 1876 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
1843 | as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
1877 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
1844 | 1878 | esac |
1845 | 1879 | |
1846 | 1880 | # Do `set' in a subshell so we don't clobber the current shell's |
1862 | 1896 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
1863 | 1897 | # broken ls alias from the environment. This has actually |
1864 | 1898 | # 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 | |
1866 | 1900 | alias in your environment" "$LINENO" 5 |
1867 | 1901 | fi |
1868 | 1902 | |
1872 | 1906 | # Ok. |
1873 | 1907 | : |
1874 | 1908 | 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! | |
1876 | 1910 | Check your system clock" "$LINENO" 5 |
1877 | 1911 | fi |
1878 | 1912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1926 | 1960 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1927 | 1961 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1928 | 1962 | $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 : | |
1930 | 1964 | $as_echo_n "(cached) " >&6 |
1931 | 1965 | else |
1932 | 1966 | if test -n "$STRIP"; then |
1938 | 1972 | IFS=$as_save_IFS |
1939 | 1973 | test -z "$as_dir" && as_dir=. |
1940 | 1974 | 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 | |
1942 | 1976 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1943 | 1977 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1944 | 1978 | break 2 |
1966 | 2000 | set dummy strip; ac_word=$2 |
1967 | 2001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1968 | 2002 | $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 : | |
1970 | 2004 | $as_echo_n "(cached) " >&6 |
1971 | 2005 | else |
1972 | 2006 | if test -n "$ac_ct_STRIP"; then |
1978 | 2012 | IFS=$as_save_IFS |
1979 | 2013 | test -z "$as_dir" && as_dir=. |
1980 | 2014 | 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 | |
1982 | 2016 | ac_cv_prog_ac_ct_STRIP="strip" |
1983 | 2017 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1984 | 2018 | break 2 |
2019 | 2053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2020 | 2054 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2021 | 2055 | if test -z "$MKDIR_P"; then |
2022 | if test "${ac_cv_path_mkdir+set}" = set; then : | |
2056 | if ${ac_cv_path_mkdir+:} false; then : | |
2023 | 2057 | $as_echo_n "(cached) " >&6 |
2024 | 2058 | else |
2025 | 2059 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2029 | 2063 | test -z "$as_dir" && as_dir=. |
2030 | 2064 | for ac_prog in mkdir gmkdir; do |
2031 | 2065 | 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 | |
2033 | 2067 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2034 | 2068 | 'mkdir (GNU coreutils) '* | \ |
2035 | 2069 | 'mkdir (coreutils) '* | \ |
2070 | 2104 | set dummy $ac_prog; ac_word=$2 |
2071 | 2105 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2072 | 2106 | $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 : | |
2074 | 2108 | $as_echo_n "(cached) " >&6 |
2075 | 2109 | else |
2076 | 2110 | if test -n "$AWK"; then |
2082 | 2116 | IFS=$as_save_IFS |
2083 | 2117 | test -z "$as_dir" && as_dir=. |
2084 | 2118 | 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 | |
2086 | 2120 | ac_cv_prog_AWK="$ac_prog" |
2087 | 2121 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2088 | 2122 | break 2 |
2110 | 2144 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2111 | 2145 | set x ${MAKE-make} |
2112 | 2146 | 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 : | |
2114 | 2148 | $as_echo_n "(cached) " >&6 |
2115 | 2149 | else |
2116 | 2150 | cat >conftest.make <<\_ACEOF |
2118 | 2152 | all: |
2119 | 2153 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2120 | 2154 | _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. | |
2122 | 2156 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2123 | 2157 | *@@@%%%=?*=@@@%%%*) |
2124 | 2158 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2152 | 2186 | am__isrc=' -I$(srcdir)' |
2153 | 2187 | # test to see if srcdir already configured |
2154 | 2188 | 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 | |
2156 | 2190 | fi |
2157 | 2191 | fi |
2158 | 2192 | |
2244 | 2278 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2245 | 2279 | set x ${MAKE-make} |
2246 | 2280 | 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 : | |
2248 | 2282 | $as_echo_n "(cached) " >&6 |
2249 | 2283 | else |
2250 | 2284 | cat >conftest.make <<\_ACEOF |
2252 | 2286 | all: |
2253 | 2287 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2254 | 2288 | _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. | |
2256 | 2290 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2257 | 2291 | *@@@%%%=?*=@@@%%%*) |
2258 | 2292 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2277 | 2311 | enableval=$enable_debug; case "${enableval}" in |
2278 | 2312 | yes) debug=true ;; |
2279 | 2313 | 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 ;; | |
2281 | 2315 | esac |
2282 | 2316 | else |
2283 | 2317 | debug=false |
2289 | 2323 | enableval=$enable_libcheck; case "${enableval}" in |
2290 | 2324 | yes) libcheck=true ;; |
2291 | 2325 | 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 ;; | |
2293 | 2327 | esac |
2294 | 2328 | else |
2295 | 2329 | libcheck=true |
2340 | 2374 | test -f /usr/lib/libopensm.so); then |
2341 | 2375 | with_osm=/usr |
2342 | 2376 | 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 | |
2344 | 2378 | fi |
2345 | 2379 | fi |
2346 | 2380 | { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5 |
2388 | 2422 | osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB " |
2389 | 2423 | OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad" |
2390 | 2424 | 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 | |
2392 | 2426 | fi |
2393 | 2427 | osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB" |
2394 | 2428 | else |
2408 | 2442 | OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib" |
2409 | 2443 | osm_vendor_sel="-DOSM_VENDOR_INTF_SIM" |
2410 | 2444 | 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 | |
2412 | 2446 | fi |
2413 | 2447 | fi |
2414 | 2448 | { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5 |
2418 | 2452 | as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh` |
2419 | 2453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5 |
2420 | 2454 | $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 : | |
2422 | 2456 | $as_echo_n "(cached) " >&6 |
2423 | 2457 | else |
2424 | 2458 | 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 | |
2426 | 2460 | if test -r "$osm_include_dir/opensm/osm_config.h"; then |
2427 | 2461 | eval "$as_ac_File=yes" |
2428 | 2462 | else |
2432 | 2466 | eval ac_res=\$$as_ac_File |
2433 | 2467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2434 | 2468 | $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 : | |
2437 | 2470 | |
2438 | 2471 | 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 | |
2440 | 2473 | fi |
2441 | 2474 | |
2442 | 2475 | |
2510 | 2543 | enableval=$enable_ibmgtsim; case "${enableval}" in |
2511 | 2544 | yes) ibmgtsim=true ;; |
2512 | 2545 | 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 ;; | |
2514 | 2547 | esac |
2515 | 2548 | else |
2516 | 2549 | ibmgtsim=false |
2601 | 2634 | :end' >>confcache |
2602 | 2635 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2603 | 2636 | if test -w "$cache_file"; then |
2604 | test "x$cache_file" != "x/dev/null" && | |
2637 | if test "x$cache_file" != "x/dev/null"; then | |
2605 | 2638 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
2606 | 2639 | $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 | |
2608 | 2652 | else |
2609 | 2653 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
2610 | 2654 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2656 | 2700 | |
2657 | 2701 | ac_libobjs= |
2658 | 2702 | ac_ltlibobjs= |
2703 | U= | |
2659 | 2704 | for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
2660 | 2705 | # 1. Remove the extension, and $U if already installed. |
2661 | 2706 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
2672 | 2717 | |
2673 | 2718 | |
2674 | 2719 | 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. | |
2676 | 2721 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2677 | 2722 | fi |
2678 | 2723 | 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. | |
2680 | 2725 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2681 | 2726 | fi |
2682 | 2727 | 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. | |
2684 | 2729 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2685 | 2730 | fi |
2686 | 2731 | 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. | |
2688 | 2733 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2689 | 2734 | fi |
2690 | 2735 | 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. | |
2692 | 2737 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2693 | 2738 | fi |
2694 | 2739 | 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. | |
2696 | 2741 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2697 | 2742 | fi |
2698 | 2743 | |
2699 | : ${CONFIG_STATUS=./config.status} | |
2744 | : "${CONFIG_STATUS=./config.status}" | |
2700 | 2745 | ac_write_fail=0 |
2701 | 2746 | ac_clean_files_save=$ac_clean_files |
2702 | 2747 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
2797 | 2842 | IFS=" "" $as_nl" |
2798 | 2843 | |
2799 | 2844 | # Find who we are. Look in the path if we contain no directory separator. |
2845 | as_myself= | |
2800 | 2846 | case $0 in @%:@(( |
2801 | 2847 | *[\\/]* ) as_myself=$0 ;; |
2802 | 2848 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2842 | 2888 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
2843 | 2889 | |
2844 | 2890 | |
2845 | @%:@ as_fn_error ERROR [LINENO LOG_FD] | |
2846 | @%:@ --------------------------------- | |
2891 | @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] | |
2892 | @%:@ ---------------------------------------- | |
2847 | 2893 | @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
2848 | 2894 | @%:@ 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. | |
2850 | 2896 | as_fn_error () |
2851 | 2897 | { |
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 | |
2856 | 2902 | fi |
2857 | $as_echo "$as_me: error: $1" >&2 | |
2903 | $as_echo "$as_me: error: $2" >&2 | |
2858 | 2904 | as_fn_exit $as_status |
2859 | 2905 | } @%:@ as_fn_error |
2860 | 2906 | |
2992 | 3038 | # ... but there are two gotchas: |
2993 | 3039 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
2994 | 3040 | # 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'. | |
2996 | 3042 | 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' | |
2998 | 3044 | elif ln conf$$.file conf$$ 2>/dev/null; then |
2999 | 3045 | as_ln_s=ln |
3000 | 3046 | else |
3001 | as_ln_s='cp -p' | |
3047 | as_ln_s='cp -pR' | |
3002 | 3048 | fi |
3003 | 3049 | else |
3004 | as_ln_s='cp -p' | |
3050 | as_ln_s='cp -pR' | |
3005 | 3051 | fi |
3006 | 3052 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3007 | 3053 | rmdir conf$$.dir 2>/dev/null |
3050 | 3096 | test -d "$as_dir" && break |
3051 | 3097 | done |
3052 | 3098 | 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" | |
3054 | 3100 | |
3055 | 3101 | |
3056 | 3102 | } @%:@ as_fn_mkdir_p |
3061 | 3107 | as_mkdir_p=false |
3062 | 3108 | fi |
3063 | 3109 | |
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 | |
3086 | 3120 | |
3087 | 3121 | # Sed expression to map a string onto a valid CPP name. |
3088 | 3122 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
3104 | 3138 | # values after options handling. |
3105 | 3139 | ac_log=" |
3106 | 3140 | 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 | |
3108 | 3142 | |
3109 | 3143 | CONFIG_FILES = $CONFIG_FILES |
3110 | 3144 | CONFIG_HEADERS = $CONFIG_HEADERS |
3157 | 3191 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
3158 | 3192 | ac_cs_version="\\ |
3159 | 3193 | 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, | |
3161 | 3195 | with options \\"\$ac_cs_config\\" |
3162 | 3196 | |
3163 | Copyright (C) 2009 Free Software Foundation, Inc. | |
3197 | Copyright (C) 2012 Free Software Foundation, Inc. | |
3164 | 3198 | This config.status script is free software; the Free Software Foundation |
3165 | 3199 | gives unlimited permission to copy, distribute and modify it." |
3166 | 3200 | |
3178 | 3212 | while test $# != 0 |
3179 | 3213 | do |
3180 | 3214 | case $1 in |
3181 | --*=*) | |
3215 | --*=?*) | |
3182 | 3216 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
3183 | 3217 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
3218 | ac_shift=: | |
3219 | ;; | |
3220 | --*=) | |
3221 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
3222 | ac_optarg= | |
3184 | 3223 | ac_shift=: |
3185 | 3224 | ;; |
3186 | 3225 | *) |
3204 | 3243 | $ac_shift |
3205 | 3244 | case $ac_optarg in |
3206 | 3245 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
3246 | '') as_fn_error $? "missing file argument" ;; | |
3207 | 3247 | esac |
3208 | 3248 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
3209 | 3249 | ac_need_defaults=false;; |
3214 | 3254 | ac_cs_silent=: ;; |
3215 | 3255 | |
3216 | 3256 | # This is an error. |
3217 | -*) as_fn_error "unrecognized option: \`$1' | |
3257 | -*) as_fn_error $? "unrecognized option: \`$1' | |
3218 | 3258 | Try \`$0 --help' for more information." ;; |
3219 | 3259 | |
3220 | 3260 | *) as_fn_append ac_config_targets " $1" |
3234 | 3274 | _ACEOF |
3235 | 3275 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3236 | 3276 | 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 | |
3238 | 3278 | shift |
3239 | 3279 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
3240 | 3280 | CONFIG_SHELL='$SHELL' |
3266 | 3306 | "ibutils.spec") CONFIG_FILES="$CONFIG_FILES ibutils.spec" ;; |
3267 | 3307 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
3268 | 3308 | |
3269 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
3309 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
3270 | 3310 | esac |
3271 | 3311 | done |
3272 | 3312 | |
3287 | 3327 | # after its creation but before its name has been assigned to `$tmp'. |
3288 | 3328 | $debug || |
3289 | 3329 | { |
3290 | tmp= | |
3330 | tmp= ac_tmp= | |
3291 | 3331 | 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 | |
3293 | 3334 | ' 0 |
3294 | 3335 | trap 'as_fn_exit 1' 1 2 13 15 |
3295 | 3336 | } |
3297 | 3338 | |
3298 | 3339 | { |
3299 | 3340 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
3300 | test -n "$tmp" && test -d "$tmp" | |
3341 | test -d "$tmp" | |
3301 | 3342 | } || |
3302 | 3343 | { |
3303 | 3344 | tmp=./conf$$-$RANDOM |
3304 | 3345 | (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 | |
3306 | 3348 | |
3307 | 3349 | # Set up the scripts for CONFIG_FILES section. |
3308 | 3350 | # No need to generate them if there are no CONFIG_FILES. |
3319 | 3361 | fi |
3320 | 3362 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
3321 | 3363 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
3322 | ac_cs_awk_cr='\r' | |
3364 | ac_cs_awk_cr='\\r' | |
3323 | 3365 | else |
3324 | 3366 | ac_cs_awk_cr=$ac_cr |
3325 | 3367 | fi |
3326 | 3368 | |
3327 | echo 'BEGIN {' >"$tmp/subs1.awk" && | |
3369 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
3328 | 3370 | _ACEOF |
3329 | 3371 | |
3330 | 3372 | |
3333 | 3375 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
3334 | 3376 | echo "_ACEOF" |
3335 | 3377 | } >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 '^'` | |
3338 | 3380 | ac_delim='%!_!# ' |
3339 | 3381 | for ac_last_try in false false false false false :; do |
3340 | 3382 | . ./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 | |
3342 | 3384 | |
3343 | 3385 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
3344 | 3386 | if test $ac_delim_n = $ac_delim_num; then |
3345 | 3387 | break |
3346 | 3388 | 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 | |
3348 | 3390 | else |
3349 | 3391 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
3350 | 3392 | fi |
3352 | 3394 | rm -f conf$$subs.sh |
3353 | 3395 | |
3354 | 3396 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3355 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
3397 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
3356 | 3398 | _ACEOF |
3357 | 3399 | sed -n ' |
3358 | 3400 | h |
3400 | 3442 | rm -f conf$$subs.awk |
3401 | 3443 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3402 | 3444 | _ACAWK |
3403 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
3445 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
3404 | 3446 | for (key in S) S_is_set[key] = 1 |
3405 | 3447 | FS = "" |
3406 | 3448 | |
3432 | 3474 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
3433 | 3475 | else |
3434 | 3476 | 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 | |
3437 | 3479 | _ACEOF |
3438 | 3480 | |
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 | |
3441 | 3483 | # trailing colons and then remove the whole line if VPATH becomes empty |
3442 | 3484 | # (actually we leave an empty line to preserve line numbers). |
3443 | 3485 | 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/^:*// | |
3449 | 3495 | s/:*$// |
3496 | x | |
3497 | s/\(=[ ]*\).*/\1/ | |
3498 | G | |
3499 | s/\n// | |
3450 | 3500 | s/^[^=]*=[ ]*$// |
3451 | 3501 | }' |
3452 | 3502 | fi |
3464 | 3514 | esac |
3465 | 3515 | case $ac_mode$ac_tag in |
3466 | 3516 | :[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;; | |
3468 | 3518 | :[FH]-) ac_tag=-:-;; |
3469 | 3519 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
3470 | 3520 | esac |
3483 | 3533 | for ac_f |
3484 | 3534 | do |
3485 | 3535 | case $ac_f in |
3486 | -) ac_f="$tmp/stdin";; | |
3536 | -) ac_f="$ac_tmp/stdin";; | |
3487 | 3537 | *) # Look for the file first in the build tree, then in the source tree |
3488 | 3538 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
3489 | 3539 | # because $ac_f cannot contain `:'. |
3492 | 3542 | [\\/$]*) false;; |
3493 | 3543 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
3494 | 3544 | 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;; | |
3496 | 3546 | esac |
3497 | 3547 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
3498 | 3548 | as_fn_append ac_file_inputs " '$ac_f'" |
3518 | 3568 | esac |
3519 | 3569 | |
3520 | 3570 | 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 ;; | |
3523 | 3573 | esac |
3524 | 3574 | ;; |
3525 | 3575 | esac |
3655 | 3705 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
3656 | 3706 | $ac_datarootdir_hack |
3657 | 3707 | " |
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 | |
3660 | 3710 | |
3661 | 3711 | 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"; } && | |
3664 | 3715 | { $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 | |
3666 | 3717 | $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" | |
3670 | 3721 | 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";; | |
3673 | 3724 | esac \ |
3674 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
3725 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
3675 | 3726 | ;; |
3676 | 3727 | |
3677 | 3728 | |
3686 | 3737 | ac_clean_files=$ac_clean_files_save |
3687 | 3738 | |
3688 | 3739 | 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 | |
3690 | 3741 | |
3691 | 3742 | |
3692 | 3743 | # configure is writing to config.log, and then calls config.status. |
3707 | 3758 | exec 5>>config.log |
3708 | 3759 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3709 | 3760 | # 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 | |
3711 | 3762 | fi |
3712 | 3763 | |
3713 | 3764 | # |
3848 | 3899 | # The eval makes quoting arguments work. |
3849 | 3900 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
3850 | 3901 | --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 | |
3852 | 3903 | fi |
3853 | 3904 | |
3854 | 3905 | cd "$ac_popdir" |
0 | # This file was generated by Autom4te Tue Dec 22 07:01:21 UTC 2009. | |
0 | # This file was generated. | |
1 | 1 | # It contains the lists of macros which have been traced. |
2 | 2 | # It can be safely removed. |
3 | 3 | |
100 | 100 | 'AC_PROG_LIBTOOL' => 1, |
101 | 101 | 'AM_INIT_AUTOMAKE' => 1, |
102 | 102 | 'AC_CONFIG_SUBDIRS' => 1, |
103 | 'AM_PATH_GUILE' => 1, | |
103 | 104 | 'AM_AUTOMAKE_VERSION' => 1, |
104 | 105 | 'LT_CONFIG_LTDL_DIR' => 1, |
105 | 106 | 'AC_CONFIG_LINKS' => 1, |
107 | 108 | 'm4_sinclude' => 1, |
108 | 109 | 'LT_SUPPORTED_TAG' => 1, |
109 | 110 | 'AM_MAINTAINER_MODE' => 1, |
111 | 'AM_NLS' => 1, | |
112 | 'AC_FC_PP_DEFINE' => 1, | |
110 | 113 | 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, |
111 | 114 | '_m4_warn' => 1, |
115 | 'AM_MAKEFILE_INCLUDE' => 1, | |
112 | 116 | 'AM_PROG_CXX_C_O' => 1, |
113 | 117 | '_AM_COND_ENDIF' => 1, |
118 | '_AM_MAKEFILE_INCLUDE' => 1, | |
114 | 119 | 'AM_ENABLE_MULTILIB' => 1, |
120 | 'AM_PROG_MOC' => 1, | |
115 | 121 | 'AM_SILENT_RULES' => 1, |
116 | 122 | 'AC_CONFIG_FILES' => 1, |
123 | 'include' => 1, | |
117 | 124 | 'LT_INIT' => 1, |
118 | 'include' => 1, | |
119 | 125 | 'AM_GNU_GETTEXT' => 1, |
126 | 'AM_PROG_AR' => 1, | |
120 | 127 | 'AC_LIBSOURCE' => 1, |
121 | 128 | 'AC_CANONICAL_BUILD' => 1, |
122 | 129 | 'AM_PROG_FC_C_O' => 1, |
123 | 130 | 'AC_FC_FREEFORM' => 1, |
131 | 'AC_FC_PP_SRCEXT' => 1, | |
124 | 132 | 'AH_OUTPUT' => 1, |
125 | 133 | 'AC_CONFIG_AUX_DIR' => 1, |
126 | 134 | '_AM_SUBST_NOTMAKE' => 1, |
129 | 137 | 'm4_pattern_allow' => 1, |
130 | 138 | 'AM_CONDITIONAL' => 1, |
131 | 139 | 'AC_CANONICAL_SYSTEM' => 1, |
140 | 'AM_XGETTEXT_OPTION' => 1, | |
132 | 141 | 'AC_CONFIG_HEADERS' => 1, |
133 | 142 | 'AC_DEFINE_TRACE_LITERAL' => 1, |
143 | 'AM_POT_TOOLS' => 1, | |
134 | 144 | 'm4_include' => 1, |
135 | 145 | '_AM_COND_ELSE' => 1, |
136 | 146 | 'AC_SUBST_TRACE' => 1 |
835 | 835 | m4trace:configure.in:40: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) |
836 | 836 | m4trace:configure.in:40: -1- AM_SET_CURRENT_AUTOMAKE_VERSION |
837 | 837 | 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]) | |
839 | 839 | m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) |
840 | 840 | m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) |
841 | 841 | m4trace:configure.in:40: -1- m4_pattern_allow([^INSTALL_DATA$]) |
904 | 904 | m4trace:configure.in:40: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])]) |
905 | 905 | m4trace:configure.in:40: -2- _AM_MANGLE_OPTION([silent-rules]) |
906 | 906 | 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... | |
908 | 908 | configure.in:43: the top level]) |
909 | 909 | m4trace:configure.in:48: -1- AM_MAINTAINER_MODE |
910 | 910 | m4trace:configure.in:48: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
915 | 915 | m4trace:configure.in:48: -1- m4_pattern_allow([^MAINT$]) |
916 | 916 | m4trace:configure.in:51: -1- m4_pattern_allow([^SET_MAKE$]) |
917 | 917 | 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... | |
919 | 919 | config/osm.m4:20: OPENIB_APP_OSM is expanded from... |
920 | 920 | configure.in:72: the top level]) |
921 | 921 | m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts]) |
232 | 232 | m4trace:configure.in:40: -1- AC_SUBST_TRACE([am__untar]) |
233 | 233 | m4trace:configure.in:40: -1- m4_pattern_allow([^am__untar$]) |
234 | 234 | 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... | |
236 | 236 | configure.in:43: the top level]) |
237 | 237 | m4trace:configure.in:48: -1- AM_MAINTAINER_MODE |
238 | 238 | m4trace:configure.in:48: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
250 | 250 | m4trace:configure.in:51: -1- AC_SUBST([SET_MAKE]) |
251 | 251 | m4trace:configure.in:51: -1- AC_SUBST_TRACE([SET_MAKE]) |
252 | 252 | 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... | |
254 | 254 | config/osm.m4:20: OPENIB_APP_OSM is expanded from... |
255 | 255 | configure.in:72: the top level]) |
256 | 256 | m4trace:configure.in:72: -1- AM_CONDITIONAL([OSM_VENDOR_TS], [test "x$OSM_VENDOR" = xts]) |
0 | 0 | #! /bin/sh |
1 | 1 | # 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. | |
3 | 3 | # |
4 | 4 | # Report bugs to <linux-rdma@vger.kernel.org>. |
5 | 5 | # |
6 | 6 | # |
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. | |
10 | 8 | # |
11 | 9 | # |
12 | 10 | # This configure script is free software; the Free Software Foundation |
90 | 88 | IFS=" "" $as_nl" |
91 | 89 | |
92 | 90 | # Find who we are. Look in the path if we contain no directory separator. |
91 | as_myself= | |
93 | 92 | case $0 in #(( |
94 | 93 | *[\\/]* ) as_myself=$0 ;; |
95 | 94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
134 | 133 | # CDPATH. |
135 | 134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
136 | 135 | |
136 | # Use a proper internal environment variable to ensure we don't fall | |
137 | # into an infinite loop, continuously re-executing ourselves. | |
138 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
139 | _as_can_reexec=no; export _as_can_reexec; | |
140 | # We cannot yet assume a decent shell, so we have to provide a | |
141 | # neutralization value for shells without unset; and this also | |
142 | # works around shells that cannot unset nonexistent variables. | |
143 | # Preserve -v and -x to the replacement shell. | |
144 | BASH_ENV=/dev/null | |
145 | ENV=/dev/null | |
146 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
147 | case $- in # (((( | |
148 | *v*x* | *x*v* ) as_opts=-vx ;; | |
149 | *v* ) as_opts=-v ;; | |
150 | *x* ) as_opts=-x ;; | |
151 | * ) as_opts= ;; | |
152 | esac | |
153 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
154 | # Admittedly, this is quite paranoid, since all the known shells bail | |
155 | # out after a failed `exec'. | |
156 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
157 | as_fn_exit 255 | |
158 | fi | |
159 | # We don't want this to propagate to other subprocesses. | |
160 | { _as_can_reexec=; unset _as_can_reexec;} | |
137 | 161 | if test "x$CONFIG_SHELL" = x; then |
138 | 162 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
139 | 163 | emulate sh |
167 | 191 | else |
168 | 192 | exitcode=1; echo positional parameters were not saved. |
169 | 193 | fi |
170 | test x\$exitcode = x0 || exit 1" | |
194 | test x\$exitcode = x0 || exit 1 | |
195 | test -x / || exit 1" | |
171 | 196 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
172 | 197 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 | 198 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
211 | 236 | |
212 | 237 | |
213 | 238 | 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 | |
222 | 258 | fi |
223 | 259 | |
224 | 260 | if test x$as_have_required = xno; then : |
317 | 353 | test -d "$as_dir" && break |
318 | 354 | done |
319 | 355 | 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" | |
321 | 357 | |
322 | 358 | |
323 | 359 | } # as_fn_mkdir_p |
360 | ||
361 | # as_fn_executable_p FILE | |
362 | # ----------------------- | |
363 | # Test if FILE is an executable regular file. | |
364 | as_fn_executable_p () | |
365 | { | |
366 | test -f "$1" && test -x "$1" | |
367 | } # as_fn_executable_p | |
324 | 368 | # as_fn_append VAR VALUE |
325 | 369 | # ---------------------- |
326 | 370 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
357 | 401 | fi # as_fn_arith |
358 | 402 | |
359 | 403 | |
360 | # as_fn_error ERROR [LINENO LOG_FD] | |
361 | # --------------------------------- | |
404 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
405 | # ---------------------------------------- | |
362 | 406 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
363 | 407 | # 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. | |
365 | 409 | as_fn_error () |
366 | 410 | { |
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 | |
371 | 415 | fi |
372 | $as_echo "$as_me: error: $1" >&2 | |
416 | $as_echo "$as_me: error: $2" >&2 | |
373 | 417 | as_fn_exit $as_status |
374 | 418 | } # as_fn_error |
375 | 419 | |
442 | 486 | chmod +x "$as_me.lineno" || |
443 | 487 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
444 | 488 | |
489 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
490 | # already done that, so ensure we don't try to do so again and fall | |
491 | # in an infinite loop. This has already happened in practice. | |
492 | _as_can_reexec=no; export _as_can_reexec | |
445 | 493 | # Don't try to exec as it changes $[0], causing all sort of problems |
446 | 494 | # (the dirname of $[0] is not the place where we might find the |
447 | 495 | # original and so on. Autoconf is especially sensitive to this). |
476 | 524 | # ... but there are two gotchas: |
477 | 525 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
478 | 526 | # 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'. | |
480 | 528 | 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' | |
482 | 530 | elif ln conf$$.file conf$$ 2>/dev/null; then |
483 | 531 | as_ln_s=ln |
484 | 532 | else |
485 | as_ln_s='cp -p' | |
533 | as_ln_s='cp -pR' | |
486 | 534 | fi |
487 | 535 | else |
488 | as_ln_s='cp -p' | |
536 | as_ln_s='cp -pR' | |
489 | 537 | fi |
490 | 538 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
491 | 539 | rmdir conf$$.dir 2>/dev/null |
497 | 545 | as_mkdir_p=false |
498 | 546 | fi |
499 | 547 | |
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 | |
522 | 550 | |
523 | 551 | # Sed expression to map a string onto a valid CPP name. |
524 | 552 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
531 | 559 | exec 6>&1 |
532 | 560 | |
533 | 561 | # 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, | |
535 | 563 | # so uname gets run too. |
536 | 564 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
537 | 565 | |
714 | 742 | fi |
715 | 743 | |
716 | 744 | 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 ;; | |
719 | 748 | esac |
720 | 749 | |
721 | 750 | # Accept the important Cygnus configure options, so we can diagnose typos. |
760 | 789 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
761 | 790 | # Reject names that are not valid shell variable names. |
762 | 791 | 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" | |
764 | 793 | ac_useropt_orig=$ac_useropt |
765 | 794 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
766 | 795 | case $ac_user_opts in |
786 | 815 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
787 | 816 | # Reject names that are not valid shell variable names. |
788 | 817 | 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" | |
790 | 819 | ac_useropt_orig=$ac_useropt |
791 | 820 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
792 | 821 | case $ac_user_opts in |
990 | 1019 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
991 | 1020 | # Reject names that are not valid shell variable names. |
992 | 1021 | 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" | |
994 | 1023 | ac_useropt_orig=$ac_useropt |
995 | 1024 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
996 | 1025 | case $ac_user_opts in |
1006 | 1035 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1007 | 1036 | # Reject names that are not valid shell variable names. |
1008 | 1037 | 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" | |
1010 | 1039 | ac_useropt_orig=$ac_useropt |
1011 | 1040 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1012 | 1041 | case $ac_user_opts in |
1036 | 1065 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1037 | 1066 | x_libraries=$ac_optarg ;; |
1038 | 1067 | |
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" | |
1041 | 1070 | ;; |
1042 | 1071 | |
1043 | 1072 | *=*) |
1045 | 1074 | # Reject names that are not valid shell variable names. |
1046 | 1075 | case $ac_envvar in #( |
1047 | 1076 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1048 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | |
1077 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1049 | 1078 | esac |
1050 | 1079 | eval $ac_envvar=\$ac_optarg |
1051 | 1080 | export $ac_envvar ;; |
1055 | 1084 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1056 | 1085 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1057 | 1086 | $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}" | |
1059 | 1088 | ;; |
1060 | 1089 | |
1061 | 1090 | esac |
1063 | 1092 | |
1064 | 1093 | if test -n "$ac_prev"; then |
1065 | 1094 | 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" | |
1067 | 1096 | fi |
1068 | 1097 | |
1069 | 1098 | if test -n "$ac_unrecognized_opts"; then |
1070 | 1099 | case $enable_option_checking in |
1071 | 1100 | no) ;; |
1072 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | |
1101 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1073 | 1102 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1074 | 1103 | esac |
1075 | 1104 | fi |
1092 | 1121 | [\\/$]* | ?:[\\/]* ) continue;; |
1093 | 1122 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1094 | 1123 | 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" | |
1096 | 1125 | done |
1097 | 1126 | |
1098 | 1127 | # There might be people who depend on the old broken behavior: `$host' |
1106 | 1135 | if test "x$host_alias" != x; then |
1107 | 1136 | if test "x$build_alias" = x; then |
1108 | 1137 | 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 | |
1111 | 1138 | elif test "x$build_alias" != "x$host_alias"; then |
1112 | 1139 | cross_compiling=yes |
1113 | 1140 | fi |
1122 | 1149 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1123 | 1150 | ac_ls_di=`ls -di .` && |
1124 | 1151 | 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" | |
1126 | 1153 | 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" | |
1128 | 1155 | |
1129 | 1156 | |
1130 | 1157 | # Find the source files, if location was not specified. |
1163 | 1190 | fi |
1164 | 1191 | if test ! -r "$srcdir/$ac_unique_file"; then |
1165 | 1192 | 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" | |
1167 | 1194 | fi |
1168 | 1195 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1169 | 1196 | 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" | |
1171 | 1198 | pwd)` |
1172 | 1199 | # When building in place, set srcdir=. |
1173 | 1200 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1207 | 1234 | --help=short display options specific to this package |
1208 | 1235 | --help=recursive display the short help of all the included packages |
1209 | 1236 | -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 | |
1211 | 1238 | --cache-file=FILE cache test results in FILE [disabled] |
1212 | 1239 | -C, --config-cache alias for \`--cache-file=config.cache' |
1213 | 1240 | -n, --no-create do not create output files |
1343 | 1370 | if $ac_init_version; then |
1344 | 1371 | cat <<\_ACEOF |
1345 | 1372 | 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. | |
1349 | 1376 | This configure script is free software; the Free Software Foundation |
1350 | 1377 | gives unlimited permission to copy, distribute and modify it. |
1351 | 1378 | _ACEOF |
1360 | 1387 | running configure, to aid debugging if configure makes a mistake. |
1361 | 1388 | |
1362 | 1389 | 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 | |
1364 | 1391 | |
1365 | 1392 | $ $0 $@ |
1366 | 1393 | |
1470 | 1497 | { |
1471 | 1498 | echo |
1472 | 1499 | |
1473 | cat <<\_ASBOX | |
1474 | ## ---------------- ## | |
1500 | $as_echo "## ---------------- ## | |
1475 | 1501 | ## Cache variables. ## |
1476 | ## ---------------- ## | |
1477 | _ASBOX | |
1502 | ## ---------------- ##" | |
1478 | 1503 | echo |
1479 | 1504 | # The following way of writing the cache mishandles newlines in values, |
1480 | 1505 | ( |
1508 | 1533 | ) |
1509 | 1534 | echo |
1510 | 1535 | |
1511 | cat <<\_ASBOX | |
1512 | ## ----------------- ## | |
1536 | $as_echo "## ----------------- ## | |
1513 | 1537 | ## Output variables. ## |
1514 | ## ----------------- ## | |
1515 | _ASBOX | |
1538 | ## ----------------- ##" | |
1516 | 1539 | echo |
1517 | 1540 | for ac_var in $ac_subst_vars |
1518 | 1541 | do |
1525 | 1548 | echo |
1526 | 1549 | |
1527 | 1550 | if test -n "$ac_subst_files"; then |
1528 | cat <<\_ASBOX | |
1529 | ## ------------------- ## | |
1551 | $as_echo "## ------------------- ## | |
1530 | 1552 | ## File substitutions. ## |
1531 | ## ------------------- ## | |
1532 | _ASBOX | |
1553 | ## ------------------- ##" | |
1533 | 1554 | echo |
1534 | 1555 | for ac_var in $ac_subst_files |
1535 | 1556 | do |
1543 | 1564 | fi |
1544 | 1565 | |
1545 | 1566 | if test -s confdefs.h; then |
1546 | cat <<\_ASBOX | |
1547 | ## ----------- ## | |
1567 | $as_echo "## ----------- ## | |
1548 | 1568 | ## confdefs.h. ## |
1549 | ## ----------- ## | |
1550 | _ASBOX | |
1569 | ## ----------- ##" | |
1551 | 1570 | echo |
1552 | 1571 | cat confdefs.h |
1553 | 1572 | echo |
1602 | 1621 | ac_site_file1=NONE |
1603 | 1622 | ac_site_file2=NONE |
1604 | 1623 | 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 | |
1606 | 1630 | elif test "x$prefix" != xNONE; then |
1607 | 1631 | ac_site_file1=$prefix/share/config.site |
1608 | 1632 | ac_site_file2=$prefix/etc/config.site |
1617 | 1641 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1618 | 1642 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1619 | 1643 | 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; } | |
1621 | 1649 | fi |
1622 | 1650 | done |
1623 | 1651 | |
1693 | 1721 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1694 | 1722 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1695 | 1723 | $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 | |
1697 | 1725 | fi |
1698 | 1726 | ## -------------------- ## |
1699 | 1727 | ## Main body of script. ## |
1708 | 1736 | |
1709 | 1737 | ac_aux_dir= |
1710 | 1738 | 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 | |
1718 | 1752 | done |
1719 | 1753 | 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 | |
1721 | 1755 | fi |
1722 | 1756 | |
1723 | 1757 | # These three variables are undocumented and unsupported, |
1749 | 1783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
1750 | 1784 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
1751 | 1785 | if test -z "$INSTALL"; then |
1752 | if test "${ac_cv_path_install+set}" = set; then : | |
1786 | if ${ac_cv_path_install+:} false; then : | |
1753 | 1787 | $as_echo_n "(cached) " >&6 |
1754 | 1788 | else |
1755 | 1789 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1769 | 1803 | # by default. |
1770 | 1804 | for ac_prog in ginstall scoinst install; do |
1771 | 1805 | 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 | |
1773 | 1807 | if test $ac_prog = install && |
1774 | 1808 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1775 | 1809 | # AIX install. It has an incompatible calling convention. |
1836 | 1870 | ' |
1837 | 1871 | case `pwd` in |
1838 | 1872 | *[\\\"\#\$\&\'\`$am_lf]*) |
1839 | as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; | |
1873 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
1840 | 1874 | esac |
1841 | 1875 | case $srcdir in |
1842 | 1876 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
1843 | as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
1877 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
1844 | 1878 | esac |
1845 | 1879 | |
1846 | 1880 | # Do `set' in a subshell so we don't clobber the current shell's |
1862 | 1896 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
1863 | 1897 | # broken ls alias from the environment. This has actually |
1864 | 1898 | # 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 | |
1866 | 1900 | alias in your environment" "$LINENO" 5 |
1867 | 1901 | fi |
1868 | 1902 | |
1872 | 1906 | # Ok. |
1873 | 1907 | : |
1874 | 1908 | 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! | |
1876 | 1910 | Check your system clock" "$LINENO" 5 |
1877 | 1911 | fi |
1878 | 1912 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1926 | 1960 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1927 | 1961 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1928 | 1962 | $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 : | |
1930 | 1964 | $as_echo_n "(cached) " >&6 |
1931 | 1965 | else |
1932 | 1966 | if test -n "$STRIP"; then |
1938 | 1972 | IFS=$as_save_IFS |
1939 | 1973 | test -z "$as_dir" && as_dir=. |
1940 | 1974 | 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 | |
1942 | 1976 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1943 | 1977 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1944 | 1978 | break 2 |
1966 | 2000 | set dummy strip; ac_word=$2 |
1967 | 2001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1968 | 2002 | $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 : | |
1970 | 2004 | $as_echo_n "(cached) " >&6 |
1971 | 2005 | else |
1972 | 2006 | if test -n "$ac_ct_STRIP"; then |
1978 | 2012 | IFS=$as_save_IFS |
1979 | 2013 | test -z "$as_dir" && as_dir=. |
1980 | 2014 | 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 | |
1982 | 2016 | ac_cv_prog_ac_ct_STRIP="strip" |
1983 | 2017 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1984 | 2018 | break 2 |
2019 | 2053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2020 | 2054 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2021 | 2055 | if test -z "$MKDIR_P"; then |
2022 | if test "${ac_cv_path_mkdir+set}" = set; then : | |
2056 | if ${ac_cv_path_mkdir+:} false; then : | |
2023 | 2057 | $as_echo_n "(cached) " >&6 |
2024 | 2058 | else |
2025 | 2059 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2029 | 2063 | test -z "$as_dir" && as_dir=. |
2030 | 2064 | for ac_prog in mkdir gmkdir; do |
2031 | 2065 | 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 | |
2033 | 2067 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2034 | 2068 | 'mkdir (GNU coreutils) '* | \ |
2035 | 2069 | 'mkdir (coreutils) '* | \ |
2070 | 2104 | set dummy $ac_prog; ac_word=$2 |
2071 | 2105 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2072 | 2106 | $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 : | |
2074 | 2108 | $as_echo_n "(cached) " >&6 |
2075 | 2109 | else |
2076 | 2110 | if test -n "$AWK"; then |
2082 | 2116 | IFS=$as_save_IFS |
2083 | 2117 | test -z "$as_dir" && as_dir=. |
2084 | 2118 | 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 | |
2086 | 2120 | ac_cv_prog_AWK="$ac_prog" |
2087 | 2121 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2088 | 2122 | break 2 |
2110 | 2144 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2111 | 2145 | set x ${MAKE-make} |
2112 | 2146 | 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 : | |
2114 | 2148 | $as_echo_n "(cached) " >&6 |
2115 | 2149 | else |
2116 | 2150 | cat >conftest.make <<\_ACEOF |
2118 | 2152 | all: |
2119 | 2153 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2120 | 2154 | _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. | |
2122 | 2156 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2123 | 2157 | *@@@%%%=?*=@@@%%%*) |
2124 | 2158 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2152 | 2186 | am__isrc=' -I$(srcdir)' |
2153 | 2187 | # test to see if srcdir already configured |
2154 | 2188 | 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 | |
2156 | 2190 | fi |
2157 | 2191 | fi |
2158 | 2192 | |
2244 | 2278 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2245 | 2279 | set x ${MAKE-make} |
2246 | 2280 | 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 : | |
2248 | 2282 | $as_echo_n "(cached) " >&6 |
2249 | 2283 | else |
2250 | 2284 | cat >conftest.make <<\_ACEOF |
2252 | 2286 | all: |
2253 | 2287 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2254 | 2288 | _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. | |
2256 | 2290 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2257 | 2291 | *@@@%%%=?*=@@@%%%*) |
2258 | 2292 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2277 | 2311 | enableval=$enable_debug; case "${enableval}" in |
2278 | 2312 | yes) debug=true ;; |
2279 | 2313 | 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 ;; | |
2281 | 2315 | esac |
2282 | 2316 | else |
2283 | 2317 | debug=false |
2289 | 2323 | enableval=$enable_libcheck; case "${enableval}" in |
2290 | 2324 | yes) libcheck=true ;; |
2291 | 2325 | 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 ;; | |
2293 | 2327 | esac |
2294 | 2328 | else |
2295 | 2329 | libcheck=true |
2340 | 2374 | test -f /usr/lib/libopensm.so); then |
2341 | 2375 | with_osm=/usr |
2342 | 2376 | 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 | |
2344 | 2378 | fi |
2345 | 2379 | fi |
2346 | 2380 | { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5 |
2388 | 2422 | osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB " |
2389 | 2423 | OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad" |
2390 | 2424 | 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 | |
2392 | 2426 | fi |
2393 | 2427 | osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB" |
2394 | 2428 | else |
2408 | 2442 | OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib" |
2409 | 2443 | osm_vendor_sel="-DOSM_VENDOR_INTF_SIM" |
2410 | 2444 | 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 | |
2412 | 2446 | fi |
2413 | 2447 | fi |
2414 | 2448 | { $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5 |
2418 | 2452 | as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh` |
2419 | 2453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5 |
2420 | 2454 | $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 : | |
2422 | 2456 | $as_echo_n "(cached) " >&6 |
2423 | 2457 | else |
2424 | 2458 | 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 | |
2426 | 2460 | if test -r "$osm_include_dir/opensm/osm_config.h"; then |
2427 | 2461 | eval "$as_ac_File=yes" |
2428 | 2462 | else |
2432 | 2466 | eval ac_res=\$$as_ac_File |
2433 | 2467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2434 | 2468 | $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 | |
2440 | 2473 | fi |
2441 | 2474 | |
2442 | 2475 | |
2510 | 2543 | enableval=$enable_ibmgtsim; case "${enableval}" in |
2511 | 2544 | yes) ibmgtsim=true ;; |
2512 | 2545 | 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 ;; | |
2514 | 2547 | esac |
2515 | 2548 | else |
2516 | 2549 | ibmgtsim=false |
2601 | 2634 | :end' >>confcache |
2602 | 2635 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2603 | 2636 | if test -w "$cache_file"; then |
2604 | test "x$cache_file" != "x/dev/null" && | |
2637 | if test "x$cache_file" != "x/dev/null"; then | |
2605 | 2638 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
2606 | 2639 | $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 | |
2608 | 2652 | else |
2609 | 2653 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
2610 | 2654 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2656 | 2700 | |
2657 | 2701 | ac_libobjs= |
2658 | 2702 | ac_ltlibobjs= |
2703 | U= | |
2659 | 2704 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
2660 | 2705 | # 1. Remove the extension, and $U if already installed. |
2661 | 2706 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
2672 | 2717 | |
2673 | 2718 | |
2674 | 2719 | 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. | |
2676 | 2721 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2677 | 2722 | fi |
2678 | 2723 | 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. | |
2680 | 2725 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2681 | 2726 | fi |
2682 | 2727 | 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. | |
2684 | 2729 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
2685 | 2730 | fi |
2686 | 2731 | if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then |
2687 |