--- configure.ac 2009-02-13 00:16:56.000000000 +1100 +++ configure.ac.new 2009-02-14 12:24:19.000000000 +1100 @@ -1304,16 +1304,16 @@ # http://directory.fsf.org/project/chrpath/ # to remove it before the make install -#case ${host} in -# *-pc-linux-gnu) -# AC_MSG_RESULT([Fixing libtool for -rpath problems.]) -# sed < libtool > libtool-2 \ -# 's/^hardcode_libdir_flag_spec.*$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' -# mv libtool-2 libtool -# chmod 755 libtool -# ;; -#esac -# +case ${host} in + *-pc-linux-gnu) + AC_MSG_RESULT([Fixing libtool for -rpath problems.]) + sed < libtool > libtool-2 \ + 's/^hardcode_libdir_flag_spec.*$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' + mv libtool-2 libtool + chmod 755 libtool + ;; +esac + echo ""