X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=a8d48871dab1b8ef116e1658f2c1bfbbdac5bf68;hp=535b71f6628ae1be55394014dfe986b58f0d9cc5;hb=cbc06dcd8f74e9e757c55884a4acf49784fc3444;hpb=d66ee73a3dd7b5433fc0da3125bbdff740de7745 diff --git a/configure.ac b/configure.ac index 535b71f66..a8d48871d 100644 --- a/configure.ac +++ b/configure.ac @@ -107,7 +107,7 @@ AS_IF([test "x$with_python" != "xno"], [ AM_CONDITIONAL([HAVE_PYTHON], [test "x$have_python" = "xyes"]) AS_IF([test "x$PYTHON_BINARY" = "x"], [AS_IF([test "x$have_python" = "xyes"], - [PYTHON_BINARY="$PYTHON"], + [PYTHON_BINARY="`which "$PYTHON"`"], [PYTHON_BINARY=/usr/bin/python])]) AC_ARG_VAR(PYTHON_BINARY, [Python binary used to launch installed scripts])