Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 745459
Collapse All | Expand All

(-)patches/hplip-3.20.6-python-includes.patch~ (-2 / +2 lines)
Lines 20-31 Link Here
20
+AC_PATH_PROG(python3_config_path, python3-config, [AC_MSG_ERROR([python3-config not installed], 6)])
20
+AC_PATH_PROG(python3_config_path, python3-config, [AC_MSG_ERROR([python3-config not installed], 6)])
21
+
21
+
22
+PYTHON_INCLUDES=`$python3_config_path --includes`
22
+PYTHON_INCLUDES=`$python3_config_path --includes`
23
+if test "X$PYTHON_INCLUDES" == "X" ; then
23
+if test "X$PYTHON_INCLUDES" = "X" ; then
24
+  AC_MSG_ERROR([Cannot get Python includes via python3-config], 6)
24
+  AC_MSG_ERROR([Cannot get Python includes via python3-config], 6)
25
+fi
25
+fi
26
+
26
+
27
+PYTHON_LIBS=`$python3_config_path --libs`
27
+PYTHON_LIBS=`$python3_config_path --libs`
28
+if test "X$PYTHON_LIBS" == "X" ; then
28
+if test "X$PYTHON_LIBS" = "X" ; then
29
+  AC_MSG_ERROR([Cannot get Python libs via python3-config], 6)
29
+  AC_MSG_ERROR([Cannot get Python libs via python3-config], 6)
30
+fi
30
+fi
31
+
31
+

Return to bug 745459