|
630 | 630 | EGREP |
631 | 631 | GREP |
632 | 632 | CXXCPP |
| 633 | +BUILD |
| 634 | +LN_S |
633 | 635 | RANLIB |
634 | 636 | MV |
635 | 637 | AR |
@@ -684,6 +686,8 @@ SHELL' |
684 | 686 | ac_subst_files='' |
685 | 687 | ac_user_opts=' |
686 | 688 | enable_option_checking |
| 689 | +enable_build |
| 690 | +enable_release |
687 | 691 | ' |
688 | 692 | ac_precious_vars='build_alias |
689 | 693 | host_alias |
@@ -1302,6 +1306,13 @@ if test -n "$ac_init_help"; then |
1302 | 1306 | esac |
1303 | 1307 | cat <<\_ACEOF |
1304 | 1308 |
|
| 1309 | +Optional Features: |
| 1310 | + --disable-option-checking ignore unrecognized --enable/--with options |
| 1311 | + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1312 | + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1313 | + --enable-build build name. |
| 1314 | + --enable-release build as release. |
| 1315 | +
|
1305 | 1316 | Some influential environment variables: |
1306 | 1317 | CXX C++ compiler command |
1307 | 1318 | CXXFLAGS C++ compiler flags |
@@ -2358,11 +2369,6 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2358 | 2369 | ac_config_headers="$ac_config_headers ../include/pthread/config.h" |
2359 | 2370 |
|
2360 | 2371 |
|
2361 | | -cat >>confdefs.h <<_ACEOF |
2362 | | -#define CPP_PTHREAD_VERSION "$PACKAGE_NAME $PACKAGE_VERSION - $(git log --pretty='%H' | head -1) - compiled on `uname -sv`." |
2363 | | -_ACEOF |
2364 | | -
|
2365 | | -
|
2366 | 2372 | # Checks for programs. |
2367 | 2373 | ac_ext=cpp |
2368 | 2374 | ac_cpp='$CXXCPP $CPPFLAGS' |
@@ -3385,6 +3391,42 @@ else |
3385 | 3391 | RANLIB="$ac_cv_prog_RANLIB" |
3386 | 3392 | fi |
3387 | 3393 |
|
| 3394 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 3395 | +$as_echo_n "checking whether ln -s works... " >&6; } |
| 3396 | +LN_S=$as_ln_s |
| 3397 | +if test "$LN_S" = "ln -s"; then |
| 3398 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3399 | +$as_echo "yes" >&6; } |
| 3400 | +else |
| 3401 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 3402 | +$as_echo "no, using $LN_S" >&6; } |
| 3403 | +fi |
| 3404 | + |
| 3405 | + |
| 3406 | +# Check whether --enable-build was given. |
| 3407 | +if test "${enable_build+set}" = set; then : |
| 3408 | + enableval=$enable_build; BUILD=$enable_build |
| 3409 | +fi |
| 3410 | + |
| 3411 | +# Check whether --enable-release was given. |
| 3412 | +if test "${enable_release+set}" = set; then : |
| 3413 | + enableval=$enable_release; BUILD=$PACKAGE_VERSION |
| 3414 | +fi |
| 3415 | + |
| 3416 | + |
| 3417 | +if test -z "$BUILD" |
| 3418 | +then |
| 3419 | + BUILD="SNAPSHOT" |
| 3420 | + { $as_echo "$as_me:${as_lineno-$LINENO}: using default BUILD name $BUILD" >&5 |
| 3421 | +$as_echo "$as_me: using default BUILD name $BUILD" >&6;} |
| 3422 | +fi |
| 3423 | +BUILD=$BUILD |
| 3424 | + |
| 3425 | + |
| 3426 | +cat >>confdefs.h <<_ACEOF |
| 3427 | +#define CPP_PTHREAD_VERSION "$PACKAGE_NAME $BUILD - $(git log --pretty='commit: %h, %cn (%cI)' | head -1) - compiled on `uname -sv`." |
| 3428 | +_ACEOF |
| 3429 | + |
3388 | 3430 |
|
3389 | 3431 | CFLAGS="-I ../include -I ./" |
3390 | 3432 |
|
@@ -3817,12 +3859,12 @@ _ACEOF |
3817 | 3859 |
|
3818 | 3860 | if test $ac_cv_sizeof_long == "8" |
3819 | 3861 | then |
| 3862 | +# AC_MSG_RESULT([using 64 bits (long is $ac_cv_sizeof_long bytes)]) |
3820 | 3863 | BITS="64" |
3821 | 3864 |
|
3822 | 3865 | bits=64 |
3823 | 3866 | else |
3824 | | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using 32 bits (default)" >&5 |
3825 | | -$as_echo "using 32 bits (default)" >&6; } |
| 3867 | +# AC_MSG_RESULT([using 32 bits (long is $ac_cv_sizeof_long bytes)]) |
3826 | 3868 | BITS="32" |
3827 | 3869 |
|
3828 | 3870 | bits=32 |
|
0 commit comments