--- configure.ac 2008-09-08 19:44:16.000000000 +1000 +++ ../../configure.ac 2008-10-27 01:48:12.000000000 +1100 @@ -1258,16 +1258,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 "" @@ -1530,4 +1530,4 @@ echo " F77_LDFLAGS .... = $F77_LDFLAGS" echo " TERMCAP_LIB .... = $TERMCAP_LIB" echo " -" \ No newline at end of file +"