pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: was: ncursesw - now configure for python



Paolo Vincenzo Olivo wrote:
> On 25/05/10 06:50PM, MLH wrote:
> > 
> > Though it appears that the include files I need are in include/curses/
> > instead of include/ncursesw/ now :

I can ignore ncursesw issues for now but what is configure trying
to do with python here:

-----------------
# Check for Python

  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python build information" >&5
printf %s "checking for python build information... " >&6; }
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5
printf "%s\n" "" >&6; }
  for python in python3.12 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3
    for ac_prog in $python
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_PYTHON_BIN+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$PYTHON_BIN"; then
  ac_cv_prog_PYTHON_BIN="$PYTHON_BIN" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_PYTHON_BIN="$ac_prog"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
PYTHON_BIN=$ac_cv_prog_PYTHON_BIN
if test -n "$PYTHON_BIN"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_BIN" >&5
printf "%s\n" "$PYTHON_BIN" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


  test -n "$PYTHON_BIN" && break
done

    ctng_python_bin=$PYTHON_BIN
    if test "$ctng_python_bin" != ""; then
      as_ac_Lib=`printf "%s\n" "ac_cv_lib_$ctng_python_bin""_main" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -l$ctng_python_bin" >&5
printf %s "checking for main in -l$ctng_python_bin... " >&6; }
if eval test \${$as_ac_Lib+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_check_lib_save_LIBS=$LIBS
LIBS="-l$ctng_python_bin  $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
-----------------

It results in:

checking for python build information... 
checking for python3.12... python3.12
checking for main in -lpython3.12... no
checking for main in -lpython3.12m... no
checking for python3.11... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.10... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.9... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.8... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.7... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.6... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.5... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.4... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.3... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.2... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.1... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python3.0... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python2.7... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python2.6... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python2.5... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python2.4... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python2.3... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python2.2... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python2.1... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
checking for python... (cached) python3.12
checking for main in -lpython3.12... (cached) no
checking for main in -lpython3.12m... (cached) no
  results of the Python check:
    Binary:      python3.12
    Library:     no
    Include Dir: no
checking for python version greater than 3.4... yes: 3.12




Home | Main Index | Thread Index | Old Index