1 diff -Nur mysql-workbench-gpl-5.2.36-src.old/configure.in mysql-workbench-gpl-5.2.36-src/configure.in
2 --- mysql-workbench-gpl-5.2.36-src.old/configure.in 2011-12-05 15:04:56.894410445 +0000
3 +++ mysql-workbench-gpl-5.2.36-src/configure.in 2011-12-05 15:05:45.818268997 +0000
5 AC_CHECK_PROG(PYTHON27, python2.7, [yes])
7 AC_MSG_CHECKING(for Python libraries)
8 -PYTHON_LIBS=[$(python -c "from distutils import sysconfig
9 +PYTHON_LIBS=[$(python2 -c "from distutils import sysconfig
11 cfg=sysconfig.get_config_vars()
12 lib = os.path.join(cfg['LIBDIR'], cfg['LDLIBRARY'])
13 if os.path.exists(lib):
14 print \"-L\" + cfg['LIBDIR'] + \" -l\" + cfg['LDLIBRARY'].lstrip(\"lib\").rstrip(\".so\")")]
15 -PYTHON_CFLAGS=[$(python -c "from distutils import sysconfig
16 +PYTHON_CFLAGS=[$(python2 -c "from distutils import sysconfig
17 print sysconfig.get_python_inc()")]
18 PYTHON_CFLAGS="-I$PYTHON_CFLAGS"
19 if test "$PYTHON_LIBS" = ""; then