Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Bug 15092 - auto load safe directory is not set correctly in configure file
@ 2013-02-01 12:35 mbilal
  2013-02-01 17:55 ` Tom Tromey
  2013-02-01 19:16 ` Jan Kratochvil
  0 siblings, 2 replies; 3+ messages in thread
From: mbilal @ 2013-02-01 12:35 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-01 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-01 12:35 [PATCH] Bug 15092 - auto load safe directory is not set correctly in configure file mbilal
2013-02-01 17:55 ` Tom Tromey
2013-02-01 19:16 ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox