From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9762 invoked by alias); 10 Oct 2015 01:29:02 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 9751 invoked by uid 89); 10 Oct 2015 01:29:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f50.google.com Received: from mail-pa0-f50.google.com (HELO mail-pa0-f50.google.com) (209.85.220.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sat, 10 Oct 2015 01:28:59 +0000 Received: by pablk4 with SMTP id lk4so101214983pab.3 for ; Fri, 09 Oct 2015 18:28:58 -0700 (PDT) X-Received: by 10.68.171.37 with SMTP id ar5mr19274518pbc.39.1444440537846; Fri, 09 Oct 2015 18:28:57 -0700 (PDT) Received: from [0.0.0.0] ([107.191.52.102]) by smtp.googlemail.com with ESMTPSA id ir4sm2414706pbb.93.2015.10.09.18.28.54 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Oct 2015 18:28:56 -0700 (PDT) Message-ID: <56186C66.1090907@gmail.com> Date: Sat, 10 Oct 2015 01:29:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Eli Zaretskii , Jan Kratochvil CC: gdb@sourceware.org Subject: Re: Auto-load safe-path and auto-load scripts-directory on Windows References: <83io7y3249.fsf@gnu.org> <83h9ni2zij.fsf@gnu.org> <20150829112713.GB3298@host1.jankratochvil.net> <83egim2uqz.fsf@gnu.org> <20150829114356.GA3766@host1.jankratochvil.net> <83a8ta2qsq.fsf@gnu.org> In-Reply-To: <83a8ta2qsq.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-10/txt/msg00041.txt.bz2 On 2015-8-29 21:00, Eli Zaretskii wrote: >> Date: Sat, 29 Aug 2015 13:43:56 +0200 >> From: Jan Kratochvil >> Cc: gdb@sourceware.org >> >> On Sat, 29 Aug 2015 13:34:44 +0200, Eli Zaretskii wrote: >>> Like this: >>> >>> /* Directories from which to load auto-loaded scripts. */ >>> #define AUTO_LOAD_DIR "$debugdir" >> >> OK, so the bug is in configure.ac, if it is used in Mingw on MS-Windows (if >> you use Mingw). I do not see what is wrong in configure.ac, MS-Windows host >> maintainer should debug that. > > Thanks, I've filed bug reports for both problems. > > https://sourceware.org/bugzilla/show_bug.cgi?id=18897 > https://sourceware.org/bugzilla/show_bug.cgi?id=18898 > Maybe, this discussion is related: pkg-config wiki update and build problem - http://permalink.gmane.org/gmane.comp.gnu.mingw.msys/3822 Then, replace some text in the configure.ac: AC_MSG_CHECKING([for default auto-load directory]) AC_ARG_WITH(auto-load-dir, AS_HELP_STRING([--with-auto-load-dir=PATH], [directories from which to load auto-loaded scripts @<:@$debugdir:$datadir/auto-load@:>@]),, [with_auto_load_dir='$debugdir:$datadir/auto-load']) escape_dir=`echo $with_auto_load_dir | sed 's/[[$]]\(datadir\|debugdir\)\>/\\\\\\\\\\\\&/g'` AC_DEFINE_DIR(AUTO_LOAD_DIR, escape_dir, [Directories from which to load auto-loaded scripts.]) AC_MSG_RESULT([$with_auto_load_dir]) Yuanhui Zhang