Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 155974 | Differences between
and this patch

Collapse All | Expand All

(-)YACS_SRC_5.1.2.old/adm/unix/config_files/ac_python_devel.m4 (-1 / +1 lines)
Lines 48-54 Link Here
48
	# Check for Python library path
48
	# Check for Python library path
49
	AC_MSG_CHECKING([for Python library path])
49
	AC_MSG_CHECKING([for Python library path])
50
	python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
50
	python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
51
	for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
51
	for i in "/usr/lib${LIB_LOCATION_SUFFIX}" "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/"; do
52
		python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
52
		python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
53
		if test -n "$python_path" ; then
53
		if test -n "$python_path" ; then
54
			break
54
			break

Return to bug 155974