aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-07-26 16:41:29 -0700
committerDoug Evans <xdje42@gmail.com>2014-07-26 16:41:29 -0700
commit4df427550679698832ea9c01e0b561e77d98249c (patch)
tree4d725152ac8ac6e477da14192dee1c889d57a768 /gdb/configure.ac
parentee7333ae06f46f3a6909a0059c2f0bd441a54bfe (diff)
downloadgdb-4df427550679698832ea9c01e0b561e77d98249c.zip
gdb-4df427550679698832ea9c01e0b561e77d98249c.tar.gz
gdb-4df427550679698832ea9c01e0b561e77d98249c.tar.bz2
PR build/17105.
Tested with/without guile,python on amd64-linux. I'm not sure we still have to deal with shells that can't handle empty for lists, but I played it safe. Otherwise this patch would be a lot smaller (though a diff -b will still show the real changes). PR build/17105 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE. * configure: Regenerate. * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from PYTHON_FILES. (PYTHON_FILES): New variable. (GUILE_FILE_LIST): Renamed from GUILE_FILES. (GUILE_FILES): New variable. (stamp-python, install-python, uninstall-python): Handle empty file list. (stamp-guile, install-guile, uninstall-guile): Ditto.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index e348144..48b3615 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1053,6 +1053,7 @@ fi
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_CPPFLAGS)
AC_SUBST(PYTHON_LIBS)
+AM_CONDITIONAL(HAVE_PYTHON, test "${have_libpython}" != no)
# -------------------- #
# Check for libguile. #
@@ -1217,6 +1218,7 @@ else
fi
AC_SUBST(GUILE_CPPFLAGS)
AC_SUBST(GUILE_LIBS)
+AM_CONDITIONAL(HAVE_GUILE, test "${have_libguile}" != no)
# PR 17185, see if we can get the libgc version to see if we need
# to apply the workaround.