13f7397f5c98e4db829ec5684da6efe4e0cca9f5
[packages/aumix-gtk.git] / aumix-ac250.patch
1 --- aumix-2.7/configure.in.wiget        Fri Jul  6 14:25:46 2001
2 +++ aumix-2.7/configure.in      Fri Jul  6 14:40:38 2001
3 @@ -60,42 +60,44 @@
4      if test $cursdflt = on; then
5        AC_DEFINE(HAVE_USEDEFAULT)
6      fi
7 -    AC_CACHE_CHECK(for private member _use_keypad in WINDOW,
8 -      aumix_cv_struct_window_usekeypad,
9 +    AC_CACHE_CHECK([for private member _use_keypad in WINDOW],
10 +      [aumix_cv_struct_window_usekeypad],
11        [AC_TRY_COMPILE([#ifdef HAVE_NCURSES_H
12  #include <ncurses.h>
13  #else
14  #include <curses.h>
15 -#endif], [WINDOW w; w._use_keypad;],
16 -      aumix_cv_struct_window_usekeypad=yes, aumix_cv_struct_window_usekeypad=no)])
17 +#endif
18 +], [WINDOW w; w._use_keypad;],
19 +      [aumix_cv_struct_window_usekeypad=yes],[ aumix_cv_struct_window_usekeypad=no)]])
20      if test $aumix_cv_struct_window_usekeypad = yes; then
21        AC_DEFINE(HAVE_USEKEYPAD)
22      fi
23    fi
24 -  AC_ARG_WITH(gpm,
25 -    [  --without-gpm                Compile only without GPM support],
26 -    AC_MSG_RESULT([Compiling without GPM support]),
27 +
28 +)
29 +  AC_ARG_WITH(gpm,[  --without-gpm                Compile only without GPM support],[
30 +    AC_MSG_RESULT([Compiling without GPM support])],[
31      dnl Checks for GPM library.
32      AC_CHECK_LIB(gpm, Gpm_Repeat)
33 -  )
34 -  AC_ARG_WITH(sysmouse,
35 -    [  --without-sysmouse           Compile only without sysmouse support],
36 -    AC_MSG_RESULT([Compiling without sysmouse support]),
37 +  ])
38 +  AC_ARG_WITH(sysmouse,[  --without-sysmouse           Compile only without sysmouse support],[
39 +    AC_MSG_RESULT([Compiling without sysmouse support])],
40      dnl Checks for sysmouse availability.
41 -    AC_CACHE_CHECK(for CONS_MOUSECTL in machine/console.h,
42 -      aumix_cv_cons_mousectl,
43 +    AC_CACHE_CHECK([for CONS_MOUSECTL in machine/console.h],
44 +      [aumix_cv_cons_mousectl],
45        [AC_EGREP_CPP([A mouse is a mouse is a mouse],
46        [#ifdef HAVE_MACHINE_CONSOLE_H
47  #include <machine/console.h>
48  #ifdef CONS_MOUSECTL
49  A mouse is a mouse is a mouse
50  #endif
51 -#endif], aumix_cv_cons_mousectl=yes, aumix_cv_cons_mousectl=no)])
52 +#endif
53 +],[ aumix_cv_cons_mousectl=yes],[ aumix_cv_cons_mousectl=no])])
54      if test $aumix_cv_cons_mousectl = yes; then
55        AC_DEFINE(HAVE_SYSMOUSE)
56      fi
57    )
58 -)
59 +
60  AM_CONDITIONAL(CURSES, test "x$CURSLIB" != "x")
61  AC_SUBST(CURSLIB)
62  
This page took 0.060822 seconds and 2 git commands to generate.