]> git.pld-linux.org Git - packages/aumix.git/blame - aumix-ac250.patch
- release 7
[packages/aumix.git] / aumix-ac250.patch
CommitLineData
3d28c0c1 1diff -ur aumix-2.8.orig/configure.in aumix-2.8/configure.in
2--- aumix-2.8.orig/configure.in 2002-11-25 02:04:16.000000000 +0100
3+++ aumix-2.8/configure.in 2004-07-12 19:29:45.135190696 +0200
4@@ -61,30 +61,30 @@
5 [Define this if your ncurses library contains the use_default_colors
6 routine and your terminal can use transparent colors.])])
7 AC_CACHE_CHECK([for private member _use_keypad in WINDOW],
d6baca8d 8- aumix_cv_struct_window_usekeypad,
d6baca8d
AF
9+ [aumix_cv_struct_window_usekeypad],
10 [AC_TRY_COMPILE([#ifdef HAVE_NCURSES_H
11 #include <ncurses.h>
12 #else
13 #include <curses.h>
14-#endif], [WINDOW w; w._use_keypad;],
15- aumix_cv_struct_window_usekeypad=yes, aumix_cv_struct_window_usekeypad=no)])
16+#endif
17+], [WINDOW w; w._use_keypad;],
3d28c0c1 18+ [aumix_cv_struct_window_usekeypad=yes],[ aumix_cv_struct_window_usekeypad=no])])
d6baca8d 19 if test $aumix_cv_struct_window_usekeypad = yes; then
3d28c0c1 20 AC_DEFINE(HAVE_USEKEYPAD, 1,
21 [Define this if your ncurses library has the member _use_keypad
22 in structure WINDOW.])
d6baca8d
AF
23 fi
24 fi
25- AC_ARG_WITH(gpm,
3d28c0c1 26- [ --without-gpm Compile only without GPM support],
d6baca8d 27- AC_MSG_RESULT([Compiling without GPM support]),
3d28c0c1 28+])
29+ AC_ARG_WITH(gpm,[ --without-gpm Compile only without GPM support],[
d6baca8d
AF
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,
3d28c0c1 35- [ --without-sysmouse Compile only without sysmouse support],
d6baca8d
AF
36- AC_MSG_RESULT([Compiling without sysmouse support]),
37+ ])
3d28c0c1 38+ AC_ARG_WITH(sysmouse,[ --without-sysmouse Compile only without sysmouse support],[
d6baca8d
AF
39+ AC_MSG_RESULT([Compiling without sysmouse support])],
40 dnl Checks for sysmouse availability.
3d28c0c1 41- AC_CHECK_HEADERS(sys/consio.h machine/console.h, break)
42+ dnl AC_CHECK_HEADERS([sys/consio.h machine/console.h], [break])
43 AC_CACHE_CHECK([for CONS_MOUSECTL],
44 aumix_cv_cons_mousectl,
d6baca8d 45 [AC_EGREP_CPP([A mouse is a mouse is a mouse],
3d28c0c1 46@@ -96,14 +96,15 @@
47 #endif
d6baca8d
AF
48 #ifdef CONS_MOUSECTL
49 A mouse is a mouse is a mouse
d6baca8d
AF
50-#endif], aumix_cv_cons_mousectl=yes, aumix_cv_cons_mousectl=no)])
51+#endif
52+],[ aumix_cv_cons_mousectl=yes],[ aumix_cv_cons_mousectl=no])])
53 if test $aumix_cv_cons_mousectl = yes; then
3d28c0c1 54 AC_DEFINE(HAVE_SYSMOUSE, 1,
55 [Define this if you have sysmouse console mouse support and
56 want to use it.])
d6baca8d
AF
57 fi
58 )
3d28c0c1 59-])
d6baca8d
AF
60+
61 AM_CONDITIONAL(CURSES, test "x$CURSLIB" != "x")
62 AC_SUBST(CURSLIB)
63
This page took 0.038233 seconds and 4 git commands to generate.