From 84b07f3c9c78ba5f01fd66c7f01894038d1f5e05 Mon Sep 17 00:00:00 2001 From: Artur Frysiak Date: Fri, 6 Jul 2001 12:44:50 +0000 Subject: [PATCH] fix autoconf support Changed files: aumix-ac250.patch -> 1.1 --- aumix-ac250.patch | 62 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 aumix-ac250.patch diff --git a/aumix-ac250.patch b/aumix-ac250.patch new file mode 100644 index 0000000..13f7397 --- /dev/null +++ b/aumix-ac250.patch @@ -0,0 +1,62 @@ +--- aumix-2.7/configure.in.wiget Fri Jul 6 14:25:46 2001 ++++ aumix-2.7/configure.in Fri Jul 6 14:40:38 2001 +@@ -60,42 +60,44 @@ + if test $cursdflt = on; then + AC_DEFINE(HAVE_USEDEFAULT) + fi +- AC_CACHE_CHECK(for private member _use_keypad in WINDOW, +- aumix_cv_struct_window_usekeypad, ++ AC_CACHE_CHECK([for private member _use_keypad in WINDOW], ++ [aumix_cv_struct_window_usekeypad], + [AC_TRY_COMPILE([#ifdef HAVE_NCURSES_H + #include + #else + #include +-#endif], [WINDOW w; w._use_keypad;], +- aumix_cv_struct_window_usekeypad=yes, aumix_cv_struct_window_usekeypad=no)]) ++#endif ++], [WINDOW w; w._use_keypad;], ++ [aumix_cv_struct_window_usekeypad=yes],[ aumix_cv_struct_window_usekeypad=no)]]) + if test $aumix_cv_struct_window_usekeypad = yes; then + AC_DEFINE(HAVE_USEKEYPAD) + fi + fi +- AC_ARG_WITH(gpm, +- [ --without-gpm Compile only without GPM support], +- AC_MSG_RESULT([Compiling without GPM support]), ++ ++) ++ AC_ARG_WITH(gpm,[ --without-gpm Compile only without GPM support],[ ++ AC_MSG_RESULT([Compiling without GPM support])],[ + dnl Checks for GPM library. + AC_CHECK_LIB(gpm, Gpm_Repeat) +- ) +- AC_ARG_WITH(sysmouse, +- [ --without-sysmouse Compile only without sysmouse support], +- AC_MSG_RESULT([Compiling without sysmouse support]), ++ ]) ++ AC_ARG_WITH(sysmouse,[ --without-sysmouse Compile only without sysmouse support],[ ++ AC_MSG_RESULT([Compiling without sysmouse support])], + dnl Checks for sysmouse availability. +- AC_CACHE_CHECK(for CONS_MOUSECTL in machine/console.h, +- aumix_cv_cons_mousectl, ++ AC_CACHE_CHECK([for CONS_MOUSECTL in machine/console.h], ++ [aumix_cv_cons_mousectl], + [AC_EGREP_CPP([A mouse is a mouse is a mouse], + [#ifdef HAVE_MACHINE_CONSOLE_H + #include + #ifdef CONS_MOUSECTL + A mouse is a mouse is a mouse + #endif +-#endif], aumix_cv_cons_mousectl=yes, aumix_cv_cons_mousectl=no)]) ++#endif ++],[ aumix_cv_cons_mousectl=yes],[ aumix_cv_cons_mousectl=no])]) + if test $aumix_cv_cons_mousectl = yes; then + AC_DEFINE(HAVE_SYSMOUSE) + fi + ) +-) ++ + AM_CONDITIONAL(CURSES, test "x$CURSLIB" != "x") + AC_SUBST(CURSLIB) + -- 2.43.0