Ticket #1156: CheckPythonInstallBoincPathConfigPy.diff

File CheckPythonInstallBoincPathConfigPy.diff, 1.1 KB (added by MattArsenault, 12 years ago)

Patch to check for python

  • configure.ac

    diff --git a/configure.ac b/configure.ac
    index a9138fc..92155cf 100644
    a b I am continuing now as if --disable-server had been specified. 
    351351])
    352352   enable_server=no
    353353   fi
    354 
    355    # TODO: should check for python mysql
    356    AM_PATH_PYTHON([2.2],, [:])
    357    if test "$PYTHON" != [:]; then
    358       AC_MSG_WARN([ python >= 2.2 not found.
    359 ======================================================================
    360 WARNING: trying to build BOINC-server, but Python was not be found.
    361 If you dont want to build the server you should use --disable-server.
    362 
    363 I am continuing now as if --disable-server had been specified.
    364 
    365 ======================================================================
    366 ])
    367    enable_server=no
    368    fi
    369354fi
    370355
    371356
  • tools/Makefile.am

    diff --git a/tools/Makefile.am b/tools/Makefile.am
    index 863cd0e..f80b5f9 100644
    a b scheddir = $(libexecdir)/sched 
    55
    66bin_PROGRAMS = create_work sign_executable dir_hier_path dir_hier_move cancel_jobs
    77
    8 python_PYTHON= boinc_path_config.py
    9 
    108dist_bin_SCRIPTS = \
    119            boinc_submit \
    1210                dbcheck_files_exist \