diff options
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/configure b/gdb/configure index 383d6348f90..dab0d204bcf 100755 --- a/gdb/configure +++ b/gdb/configure @@ -12329,6 +12329,20 @@ $as_echo "#define HAVE_PERSONALITY 1" >>confdefs.h fi +case $host_os in + go32* | *djgpp*) + gdbinit=gdb.ini + ;; + *) + gdbinit=.gdbinit + ;; +esac + +cat >>confdefs.h <<_ACEOF +#define GDBINIT "$gdbinit" +_ACEOF + + # Support for --with-sysroot is a copy of GDB_AC_WITH_DIR, # except that the argument to --with-sysroot is optional. |