* configure.in: Move code that provides the --enable-gdbtk option
right after the code that handles the --enable-tui option, and polish it somewhat. * configure: Regenerated.
This commit is contained in:
parent
b39c905ef8
commit
8ee5372653
@ -1,5 +1,10 @@
|
||||
2003-01-04 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* configure.in: Move code that provides the --enable-gdbtk option
|
||||
right after the code that handles the --enable-tui option, and
|
||||
polish it somewhat.
|
||||
* configure: Regenerated.
|
||||
|
||||
* configure.in: Call AC_GNU_SOURCE. Check for pread64 using
|
||||
AC_CHECK_FUNCS and remove the old check for pread64.
|
||||
* acinclude.m4 (AC_GNU_SOURCE): New macro.
|
||||
|
835
gdb/configure
vendored
835
gdb/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -162,6 +162,27 @@ if test x"$enable_tui" = xyes; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Enable gdbtk.
|
||||
AC_ARG_ENABLE(gdbtk,
|
||||
[ --enable-gtk enable gdbtk graphical user interface (GUI)],
|
||||
[case $enableval in
|
||||
yes | no)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([bad value $enableval for --enable-gdbtk]) ;;
|
||||
esac],
|
||||
[if test -d $srcdir/gdbtk; then
|
||||
enable_gdbtk=yes
|
||||
else
|
||||
enable_gdbtk=no
|
||||
fi])
|
||||
# We unconditionally disable gdbtk tests on selected platforms.
|
||||
case $host_os in
|
||||
go32* | windows*)
|
||||
AC_MSG_WARN([gdbtk isn't supported on $host; disabling])
|
||||
enable_gdbtk=no ;;
|
||||
esac
|
||||
|
||||
# --------------------- #
|
||||
# Checks for programs. #
|
||||
# --------------------- #
|
||||
@ -944,38 +965,6 @@ GUI_CFLAGS_X="-I${srcdir}/../libgui/src"
|
||||
AC_SUBST(LIBGUI)
|
||||
AC_SUBST(GUI_CFLAGS_X)
|
||||
|
||||
AC_ARG_ENABLE(gdbtk,
|
||||
[ --enable-gdbtk Enable GDBTK GUI front end],
|
||||
[case "${enableval}" in
|
||||
yes)
|
||||
case "$host" in
|
||||
*go32*)
|
||||
AC_MSG_WARN([GDB does not support GDBtk on host ${host}. GDBtk will be disabled.])
|
||||
enable_gdbtk=no ;;
|
||||
*windows*)
|
||||
AC_MSG_WARN([GDB does not support GDBtk on host ${host}. GDBtk will be disabled.])
|
||||
enable_gdbtk=no ;;
|
||||
*)
|
||||
enable_gdbtk=yes ;;
|
||||
esac ;;
|
||||
no)
|
||||
enable_gdbtk=no ;;
|
||||
*)
|
||||
AC_MSG_ERROR(bad value ${enableval} given for gdbtk option) ;;
|
||||
esac],
|
||||
[
|
||||
# Default is on for everything but go32 and Cygwin
|
||||
case "$host" in
|
||||
*go32* | *windows*)
|
||||
;;
|
||||
*)
|
||||
if test -d "${srcdir}/gdbtk" ; then
|
||||
enable_gdbtk=yes
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
])
|
||||
|
||||
WIN32LDAPP=
|
||||
AC_SUBST(WIN32LIBS)
|
||||
AC_SUBST(WIN32LDAPP)
|
||||
|
Loading…
Reference in New Issue
Block a user