From f883ca9d0ab01023788ae4ef9d925967aa7b6297 Mon Sep 17 00:00:00 2001 From: Hans-Dieter Kosch Date: Thu, 12 Oct 2006 00:42:01 +0000 Subject: Suppressed a libtool warning. CVS patchset: 8336 CVS date: 2006/10/12 00:42:01 --- configure.ac | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/configure.ac b/configure.ac index 55eceb3b9..1039dab28 100644 --- a/configure.ac +++ b/configure.ac @@ -2494,6 +2494,23 @@ win32/include/Makefile]) AC_CONFIG_COMMANDS([default],[[chmod +x ./misc/SlackBuild ./misc/build_rpms.sh ./misc/relchk.sh]],[[]]) AC_OUTPUT +dnl --------------------------------------------- +dnl Work around a suspected bug in libtool: +dnl +dnl Remove excessive trailing slash from search dir names in the libtool script. +dnl It occurs in dir names obtained by 'gcc -print-search-dirs' in the created +dnl configure script and causes a test on dir names in libtool to fail, +dnl leading to confusing (but harmless) 'warning: seems to be moved'. +dnl +dnl This should be fixed in the libtool package itself as all other dir names +dnl there have no trailing slash. +dnl --------------------------------------------- + +dnl Note: Brackets [] must be doubled as they are treated as m4 macro quotes. +cat libtool | sed -e '/sys_lib_search_path_spec=/s/\/\([[ "]]\)/\1/g' > libtool.tmp +mv -f libtool.tmp libtool +chmod +x libtool + dnl --------------------------------------------- dnl Some infos: dnl --------------------------------------------- -- cgit v1.2.3