diff options
Diffstat (limited to 'gdb/acinclude.m4')
| -rw-r--r-- | gdb/acinclude.m4 | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4 index f2cd187..547dd14 100644 --- a/gdb/acinclude.m4 +++ b/gdb/acinclude.m4 @@ -267,17 +267,7 @@ dnl similar to Guile's 'GUILE_PROGS' macro.) AC_DEFUN([GDB_GUILE_PROGRAM_NAMES], [ AC_CACHE_CHECK([for the absolute file name of the 'guild' command], [ac_cv_guild_program_name], - [ac_cv_guild_program_name="`$1 --variable guild $2`" - - # In Guile up to 2.0.11 included, guile-2.0.pc would not define - # the 'guild' and 'bindir' variables. In that case, try to guess - # what the program name is, at the risk of getting it wrong if - # Guile was configured with '--program-suffix' or similar. - if test "x$ac_cv_guild_program_name" = "x"; then - guile_exec_prefix="`$1 --variable exec_prefix $2`" - ac_cv_guild_program_name="$guile_exec_prefix/bin/guild" - fi - ]) + [ac_cv_guild_program_name="`$1 --variable guild $2`"]) if ! "$ac_cv_guild_program_name" --version >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then AC_MSG_ERROR(['$ac_cv_guild_program_name' appears to be unusable]) |
