@@ -742,6 +742,9 @@ with_krb_srvnam
742742krb_srvtab
743743with_gssapi
744744with_pythonsrc_ext
745+ PIP3
746+ CURL
747+ PYTHON3
745748with_python
746749with_perl
747750with_tcl
@@ -9892,6 +9895,142 @@ fi
98929895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pythonsrc_ext" >&5
98939896$as_echo "$with_pythonsrc_ext" >&6; }
98949897
9898+ # Check for required dependencies when pythonsrc-ext is enabled
9899+ if test "$with_pythonsrc_ext" = yes; then
9900+ # Extract the first word of "python3", so it can be a program name with args.
9901+ set dummy python3; ac_word=$2
9902+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9903+ $as_echo_n "checking for $ac_word... " >&6; }
9904+ if ${ac_cv_path_PYTHON3+:} false; then :
9905+ $as_echo_n "(cached) " >&6
9906+ else
9907+ case $PYTHON3 in
9908+ [\\/]* | ?:[\\/]*)
9909+ ac_cv_path_PYTHON3="$PYTHON3" # Let the user override the test with a path.
9910+ ;;
9911+ *)
9912+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9913+ for as_dir in $PATH
9914+ do
9915+ IFS=$as_save_IFS
9916+ test -z "$as_dir" && as_dir=.
9917+ for ac_exec_ext in '' $ac_executable_extensions; do
9918+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9919+ ac_cv_path_PYTHON3="$as_dir/$ac_word$ac_exec_ext"
9920+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9921+ break 2
9922+ fi
9923+ done
9924+ done
9925+ IFS=$as_save_IFS
9926+
9927+ ;;
9928+ esac
9929+ fi
9930+ PYTHON3=$ac_cv_path_PYTHON3
9931+ if test -n "$PYTHON3"; then
9932+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9933+ $as_echo "$PYTHON3" >&6; }
9934+ else
9935+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9936+ $as_echo "no" >&6; }
9937+ fi
9938+
9939+
9940+ if test -z "$PYTHON3"; then
9941+ as_fn_error $? "python3 is required for --with-pythonsrc-ext but was not found" "$LINENO" 5
9942+ fi
9943+
9944+ # Extract the first word of "curl", so it can be a program name with args.
9945+ set dummy curl; ac_word=$2
9946+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9947+ $as_echo_n "checking for $ac_word... " >&6; }
9948+ if ${ac_cv_path_CURL+:} false; then :
9949+ $as_echo_n "(cached) " >&6
9950+ else
9951+ case $CURL in
9952+ [\\/]* | ?:[\\/]*)
9953+ ac_cv_path_CURL="$CURL" # Let the user override the test with a path.
9954+ ;;
9955+ *)
9956+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9957+ for as_dir in $PATH
9958+ do
9959+ IFS=$as_save_IFS
9960+ test -z "$as_dir" && as_dir=.
9961+ for ac_exec_ext in '' $ac_executable_extensions; do
9962+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9963+ ac_cv_path_CURL="$as_dir/$ac_word$ac_exec_ext"
9964+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9965+ break 2
9966+ fi
9967+ done
9968+ done
9969+ IFS=$as_save_IFS
9970+
9971+ ;;
9972+ esac
9973+ fi
9974+ CURL=$ac_cv_path_CURL
9975+ if test -n "$CURL"; then
9976+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL" >&5
9977+ $as_echo "$CURL" >&6; }
9978+ else
9979+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9980+ $as_echo "no" >&6; }
9981+ fi
9982+
9983+
9984+ if test -z "$CURL"; then
9985+ as_fn_error $? "curl is required for --with-pythonsrc-ext but was not found" "$LINENO" 5
9986+ fi
9987+
9988+ # Extract the first word of "pip3", so it can be a program name with args.
9989+ set dummy pip3; ac_word=$2
9990+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9991+ $as_echo_n "checking for $ac_word... " >&6; }
9992+ if ${ac_cv_path_PIP3+:} false; then :
9993+ $as_echo_n "(cached) " >&6
9994+ else
9995+ case $PIP3 in
9996+ [\\/]* | ?:[\\/]*)
9997+ ac_cv_path_PIP3="$PIP3" # Let the user override the test with a path.
9998+ ;;
9999+ *)
10000+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10001+ for as_dir in $PATH
10002+ do
10003+ IFS=$as_save_IFS
10004+ test -z "$as_dir" && as_dir=.
10005+ for ac_exec_ext in '' $ac_executable_extensions; do
10006+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10007+ ac_cv_path_PIP3="$as_dir/$ac_word$ac_exec_ext"
10008+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10009+ break 2
10010+ fi
10011+ done
10012+ done
10013+ IFS=$as_save_IFS
10014+
10015+ ;;
10016+ esac
10017+ fi
10018+ PIP3=$ac_cv_path_PIP3
10019+ if test -n "$PIP3"; then
10020+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PIP3" >&5
10021+ $as_echo "$PIP3" >&6; }
10022+ else
10023+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10024+ $as_echo "no" >&6; }
10025+ fi
10026+
10027+
10028+ if test -z "$PIP3"; then
10029+ as_fn_error $? "pip3 is required for --with-pythonsrc-ext but was not found" "$LINENO" 5
10030+ fi
10031+ fi
10032+
10033+
989510034
989610035
989710036#
@@ -18417,7 +18556,7 @@ else
1841718556 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1841818557 since some C++ compilers masquerading as C compilers
1841918558 incorrectly reject 9223372036854775807. */
18420- #define LARGE_OFF_T (((( off_t) 1 << 31) << 31) - 1 + ((( off_t) 1 << 31) << 31 ))
18559+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62 ))
1842118560 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1842218561 && LARGE_OFF_T % 2147483647 == 1)
1842318562 ? 1 : -1];
@@ -18463,7 +18602,7 @@ else
1846318602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1846418603 since some C++ compilers masquerading as C compilers
1846518604 incorrectly reject 9223372036854775807. */
18466- #define LARGE_OFF_T (((( off_t) 1 << 31) << 31) - 1 + ((( off_t) 1 << 31) << 31 ))
18605+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62 ))
1846718606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1846818607 && LARGE_OFF_T % 2147483647 == 1)
1846918608 ? 1 : -1];
@@ -18487,7 +18626,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1848718626 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1848818627 since some C++ compilers masquerading as C compilers
1848918628 incorrectly reject 9223372036854775807. */
18490- #define LARGE_OFF_T (((( off_t) 1 << 31) << 31) - 1 + ((( off_t) 1 << 31) << 31 ))
18629+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62 ))
1849118630 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1849218631 && LARGE_OFF_T % 2147483647 == 1)
1849318632 ? 1 : -1];
@@ -18532,7 +18671,7 @@ else
1853218671 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1853318672 since some C++ compilers masquerading as C compilers
1853418673 incorrectly reject 9223372036854775807. */
18535- #define LARGE_OFF_T (((( off_t) 1 << 31) << 31) - 1 + ((( off_t) 1 << 31) << 31 ))
18674+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62 ))
1853618675 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1853718676 && LARGE_OFF_T % 2147483647 == 1)
1853818677 ? 1 : -1];
@@ -18556,7 +18695,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1855618695 We can't simply define LARGE_OFF_T to be 9223372036854775807,
1855718696 since some C++ compilers masquerading as C compilers
1855818697 incorrectly reject 9223372036854775807. */
18559- #define LARGE_OFF_T (((( off_t) 1 << 31) << 31) - 1 + ((( off_t) 1 << 31) << 31 ))
18698+ #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62 ))
1856018699 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
1856118700 && LARGE_OFF_T % 2147483647 == 1)
1856218701 ? 1 : -1];
0 commit comments