diff -ur weechat-0.1.2.old/configure weechat-0.1.2/configure --- weechat-0.1.2.old/configure 2005-05-21 08:52:09.000000000 +0200 +++ weechat-0.1.2/configure 2005-05-22 19:15:38.732780936 +0200 @@ -11662,7 +11662,7 @@ echo "$as_me:$LINENO: checking for Perl library" >&5 echo $ECHO_N "checking for Perl library... $ECHO_C" >&6 - PERL_LIB=`$PERL -e 'use Config; print "$Config{installprefix}/lib/$Config{libperl}"'` + PERL_LIB="/usr/lib/libperl.so" if test -r "$PERL_LIB"; then PLUGINS_LIBS="$PLUGINS_LIBS ../../plugins/perl/lib_weechat_perl.a `perl -MExtUtils::Embed -e ldopts`" @@ -11762,12 +11762,12 @@ echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 - PYTHON_LIB=`$PYTHON -c 'import sys; print "%s/lib/python%s/config" % (sys.prefix, sys.version[:3])'` + PYTHON_LIB="/usr/lib" PYTHON_VERSION=`$PYTHON -c 'import sys ; print sys.version[0:3]'` echo "$as_me:$LINENO: checking for Python library" >&5 echo $ECHO_N "checking for Python library... $ECHO_C" >&6 - if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so" -a -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then + if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then PYTHON_LFLAGS=`$PYTHON -c "import distutils.sysconfig,string; print string.join(distutils.sysconfig.get_config_vars('LINKFORSHARED', 'BLDLIBRARY', 'SHLIBS'))"` else { { echo "$as_me:$LINENO: error: