This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Bug 15092 - auto load safe directory is not set correctly in configure file
- From: mbilal <muhammad_bilal at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Fri, 1 Feb 2013 17:35:01 +0500
- Subject: [PATCH] Bug 15092 - auto load safe directory is not set correctly in configure file
Hi,
I am sending the patch of 15092 bug
--- configure 2012-11-27 00:23:51.000000000 +0500
+++ newconfigure 2013-02-01 17:21:25.000000000 +0500
@@ -1495,7 +1495,7 @@
automatically relocate this path for source
files
--with-auto-load-dir=PATH
directories from which to load auto-loaded
scripts
- [$debugdir:$datadir/auto-load]
+ [$DEBUGDIR:$datadir/auto-load]
--with-auto-load-safe-path=PATH
directories safe to hold auto-loaded files
[--with-auto-load-dir]
@@ -4985,10 +4985,10 @@
if test "${with_auto_load_dir+set}" = set; then :
withval=$with_auto_load_dir;
else
- with_auto_load_dir='$debugdir:$datadir/auto-load'
+ with_auto_load_dir='$DEBUGDIR:$datadir/auto-load'
fi
-escape_dir=`echo $with_auto_load_dir | sed
's/[$]\(datadir\|debugdir\)\>/\\\\\\\\\\\\&/g'`
+escape_dir=`echo $with_auto_load_dir | sed
's/[$]\(datadir\|DEBUGDIR\)\>/\\\\\\\\\\\\&/g'`
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
@@ -5015,7 +5015,7 @@
with_auto_load_safe_path="$with_auto_load_dir"
fi
-escape_dir=`echo $with_auto_load_safe_path | sed
's/[$]\(datadir\|debugdir\)\>/\\\\\\\\\\\\&/g'`
+escape_dir=`echo $with_auto_load_safe_path | sed
's/[$]\(datadir\|DEBUGDIR\)\>/\\\\\\\\\\\\&/g'`
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
thanks
BILAL