* configure.in: Remove unused HAVE_PORTABLE_TOKEN_PASTING.

* acconfig.h: Likewise.
* src/layout.c: Likewise.
This commit is contained in:
Pavel Roskin 2001-05-27 06:19:21 +00:00
parent d2134469e8
commit bfa6fb6d12
4 changed files with 4 additions and 26 deletions

View File

@ -1,5 +1,9 @@
2001-05-27 Pavel Roskin <proski@gnu.org> 2001-05-27 Pavel Roskin <proski@gnu.org>
* configure.in: Remove unused HAVE_PORTABLE_TOKEN_PASTING.
* acconfig.h: Likewise.
* src/layout.c: Likewise.
* Make.common.in: Remove all percent rules. * Make.common.in: Remove all percent rules.
* acinclude.m4 (AC_PROG_GNU_MAKE): Remove. * acinclude.m4 (AC_PROG_GNU_MAKE): Remove.
* configure.in: Remove AC_PROG_GNU_MAKE. Don't substitute * configure.in: Remove AC_PROG_GNU_MAKE. Don't substitute

View File

@ -142,9 +142,6 @@
/* Defined if you have the crypt prototype in neither unistd.h nor crypt.h */ /* Defined if you have the crypt prototype in neither unistd.h nor crypt.h */
#undef NEED_CRYPT_PROTOTYPE #undef NEED_CRYPT_PROTOTYPE
/* Defined if your CPP understands ## macro token pasting method */
#undef HAVE_PORTABLE_TOKEN_PASTING
/* Define if your system has struct linger */ /* Define if your system has struct linger */
#undef HAVE_STRUCT_LINGER #undef HAVE_STRUCT_LINGER

View File

@ -192,19 +192,6 @@ AC_CHECK_TYPE(nlink_t, unsigned int)
AC_FUNC_MMAP AC_FUNC_MMAP
AC_FUNC_ALLOCA AC_FUNC_ALLOCA
dnl
dnl Cool hack, but we don't use it currently
dnl
dnl AC_MSG_CHECKING([for token pasting method])
dnl AC_EGREP_CPP(portable,[
dnl #define tken(a, b) a##b
dnl tken(port, able)
dnl ], [AC_DEFINE(HAVE_PORTABLE_TOKEN_PASTING)
dnl AC_MSG_RESULT(portable)
dnl ], [
dnl AC_MSG_RESULT(non-portable)
dnl ])
AC_PATH_XTRA AC_PATH_XTRA
dnl dnl

View File

@ -1068,16 +1068,6 @@ void swap_panels ()
WPanel *panel1, *panel2; WPanel *panel1, *panel2;
int tmp_type; int tmp_type;
#if 0
#ifdef HAVE_PORTABLE_TOKEN_PASTING
#define panelswap(e) panel.##e = panel1->##e; panel1->##e = panel2->##e; panel2->##e = panel.##e;
#define panelswapstr(e) strcpy (panel.##e, panel1->##e); strcpy (panel1->##e, panel2->##e); strcpy (panel2->##e, panel.##e);
#else
#define panelswap(e) panel./**/e = panel1->/**/e; panel1->/**/e = panel2->/**/e; panel2->/**/e = panel./**/e;
#define panelswapstr(e) strcpy (panel./**/e, panel1->/**/e); strcpy (panel1->/**/e, panel2->/**/e); strcpy (panel2->/**/e, panel./**/e);
#endif
#endif
#define panelswap(x) panel. x = panel1-> x; panel1-> x = panel2-> x; panel2-> x = panel. x; #define panelswap(x) panel. x = panel1-> x; panel1-> x = panel2-> x; panel2-> x = panel. x;
#define panelswapstr(e) strcpy (panel. e, panel1-> e); \ #define panelswapstr(e) strcpy (panel. e, panel1-> e); \