aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index cb56bae..ab8d525 100755
--- a/configure
+++ b/configure
@@ -584,6 +584,7 @@ PACKAGE_URL=''
ac_subst_vars='LTLIBOBJS
LIBOBJS
+enable_gdb
with_guile
with_system_zlib
configure_host
@@ -663,6 +664,7 @@ with_cmodel
with_host
with_system_zlib
with_guile
+enable_gdb
'
ac_precious_vars='build_alias
host_alias
@@ -1301,6 +1303,7 @@ Optional Features:
--enable-gcc-checking Enable gcc internal checking, it will make gcc very
slow, only enable it when developing gcc
[--disable-gcc-checking]
+ --disable-gdb Don't build GDB, as it's not upstream
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -3400,6 +3403,23 @@ else
fi
+# Check whether --enable-gdb was given.
+if test "${enable_gdb+set}" = set; then :
+ enableval=$enable_gdb;
+else
+ enable_gdb=yes
+
+fi
+
+
+if test "x$enable_gdb" != xno; then :
+ enable_gdb=--enable-gdb
+
+else
+ enable_gdb=--disable-gdb
+
+fi
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure