diff options
author | Geoffrey Noer <noer@cygnus> | 1998-11-13 08:16:08 +0000 |
---|---|---|
committer | Geoffrey Noer <noer@cygnus> | 1998-11-13 08:16:08 +0000 |
commit | d836385e11733f46b1a0b6e7c142e7317488ff36 (patch) | |
tree | 71a8ae722497db31a5864033835d6283232bd1bd /gdb/configure.in | |
parent | 7c1c728ee2fe1b65446a9210b3040cba54899c5d (diff) | |
download | gdb-d836385e11733f46b1a0b6e7c142e7317488ff36.zip gdb-d836385e11733f46b1a0b6e7c142e7317488ff36.tar.gz gdb-d836385e11733f46b1a0b6e7c142e7317488ff36.tar.bz2 |
Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com>
Changes to account for name change from cygwin32 to cygwin and
clean up Win32-related ifdefs.
* configure.tgt: check for cygwin* instead of cygwin32.
New cygwin gdb_target variable loses the "32".
* configure.host: check for cygwin* instead of cygwin32.
New cygwin gdb_host variable loses the "32".
* configure.in: test __CYGWIN__ instead of __CYGWIN32__,
rename gdb_cv_os_cygwin32 variable to drop the "32". Call
AM_EXEEXT instead of AC_EXEEXT since that isn't in a released
autoconf yet.
* configure: regenerate.
* main.c: drop "32" from cygwin_ funcs, include sys/cygwin.h
where
cygwin path conv protos live, instead of adding a proto here
for
them here.
* {main.c, ser-tcp.c, ser-unix.c, top.c}: check __CYGWIN__
instead of __CYGWIN32__.
* source.c: thoughout, check _WIN32 instead of WIN32.
* config/i386/cygwin32.mh: delete.
* config/i386/cygwin.mh: new file, was cygwin32.mh.
* config/i386/cygwin32.mt: delete.
* config/i386/cygwin.mt: new file, was cygwin32.mt.
* config/i386/tm-cygwin32.h: delete.
* config/i386/tm-cygwin.h: new file, was tm-cygwin32.h.
* config/i386/xm-cygwin32.h: delete.
* config/i386/xm-cygwin.h: new file, was xm-cygwin32.h.
* config/i386/xm-windows.h: #include xm-cygwin.h now.
* config/powerpc/cygwin32.mh: delete.
* config/powerpc/cygwin.mh: new file, was cygwin32.mh.
* config/powerpc/cygwin32.mt: delete.
* config/powerpc/cygwin.mt: new file, was cygwin32.mt.
* config/powerpc/tm-cygwin32.h: delete.
* config/powerpc/tm-cygwin.h: new file, was tm-cygwin32.h.
* config/powerpc/xm-cygwin32.h: delete.
* config/powerpc/xm-cygwin.h: new file, was xm-cygwin32.h.
* rdi-share/aclocal.m4: regenerate with aclocal.
* rdi-share/configure: regenerate with autoconf.
* rdi-share/{host.h, hostchan.c, hostchan.h, serdrv.c,
* serpardr.c,
unixcomm.c}: check __CYGWIN__ instead of __CYGWIN32__.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 2e319e3..fb7f775 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -548,11 +548,11 @@ case "$host" in ]) # In the Cygwin environment, we need some additional flags. -AC_CACHE_CHECK([for cygwin32], gdb_cv_os_cygwin32, +AC_CACHE_CHECK([for cygwin], gdb_cv_os_cygwin, [AC_EGREP_CPP(lose, [ -#ifdef __CYGWIN32__ +#ifdef __CYGWIN__ lose -#endif],[gdb_cv_os_cygwin32=yes],[gdb_cv_os_cygwin32=no])]) +#endif],[gdb_cv_os_cygwin=yes],[gdb_cv_os_cygwin=no])]) WIN32LIBS= WIN32LDAPP= @@ -564,7 +564,7 @@ WINDRES=${WINDRES-windres} AC_SUBST(DLLTOOL) AC_SUBST(WINDRES) -if test x$gdb_cv_os_cygwin32 = xyes; then +if test x$gdb_cv_os_cygwin = xyes; then if test x$enable_ide = xyes; then WIN32LIBS="-ladvapi32" fi @@ -641,7 +641,7 @@ if test "${enable_gdbtk}" = "yes"; then GDBTKLIBS="${TCL_LIBS} ${TK_LIBS}" CONFIG_OBS="${CONFIG_OBS} gdbtk.o gdbtk-cmds.o gdbtk-hooks.o" - if test x$gdb_cv_os_cygwin32 = xyes; then + if test x$gdb_cv_os_cygwin = xyes; then WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32" WIN32LDAPP="-Wl,--subsystem,console" CONFIG_OBS="${CONFIG_OBS} gdbres.o" @@ -847,7 +847,7 @@ fi AC_LINK_FILES($files, $links) dnl Check for exe extension set on certain hosts (e.g. Win32) -AC_EXEEXT +AM_EXEEXT AC_CONFIG_SUBDIRS($configdirs) AC_OUTPUT(Makefile .gdbinit:gdbinit.in, |