]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/aalib/aalib-1.4rc5/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / aalib / aalib-1.4rc5 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- aalib-1.4.0/configure.in~configure  2001-04-26 10:37:53.000000000 -0400
7 +++ aalib-1.4.0/configure.in    2004-01-23 12:50:44.000000000 -0500
8 @@ -1,8 +1,7 @@
9 -include(aclocal.m4)
10  AC_INIT(src/aalib.c)
11 -AM_INIT_AUTOMAKE(aalib,1.4.0)
12 -AC_CANONICAL_HOST
13  AC_CANONICAL_TARGET
14 +AC_CANONICAL_HOST
15 +AM_INIT_AUTOMAKE(aalib,1.4.0)
16  
17  AM_CONFIG_HEADER(src/config.h)
18  
19 @@ -82,6 +81,20 @@
20           force_curses_driver=true
21         fi
22  ])
23 +AC_ARG_WITH(gpm,
24 +       [  --with-gpm  Specifies whether or not to use gpm],[
25 +       if test x$withval = xyes
26 +       then
27 +               AC_DEFINE(GPM_MOUSEDRIVER)
28 +               gpm_mousedriver=true
29 +               AALIB_LIBS="$AALIB_LIBS -lgpm"
30 +               LIBS="$LIBS -lgpm"
31 +       else
32 +               gpm_mousedriver=false
33 +       fi
34 +       ]
35 +)
36 +if ! test x$gpm_mousedriver = xfalse; then
37  AC_ARG_WITH(gpm-mouse, 
38         [  --with-gpm-mouse=base-dir  Specifies the base gpm directory],
39         if test x$withval = xyes
40 @@ -96,6 +109,7 @@
41                 AC_MSG_RESULT(defining use_gpm)
42         fi
43  )
44 +fi
45  
46  if test  "$x_driver_test" = yes; then
47  AC_PATH_X
48 @@ -126,7 +140,7 @@
49  
50  
51  search_ncurses=true
52 -AC_DEFUN(AC_USE_SUNOS_CURSES, [
53 +AC_DEFUN([AC_USE_SUNOS_CURSES], [
54         search_ncurses=false
55         curses_driver=true
56         screen_manager="SunOS 4.x /usr/5include curses"
57 @@ -140,7 +154,7 @@
58         AC_WARN(Reconsider using Slang)
59  ])
60  
61 -AC_DEFUN(AC_USE_OSF1_CURSES, [
62 +AC_DEFUN([AC_USE_OSF1_CURSES], [
63         AC_MSG_RESULT(Using OSF1 curses)
64         search_ncurses=false
65         curses_driver=true
66 @@ -152,7 +166,7 @@
67         AALIB_LIBS="$AALIB_LIBS -lcurses"
68  ])
69  
70 -AC_DEFUN(AC_USE_SYSV_CURSES, [
71 +AC_DEFUN([AC_USE_SYSV_CURSES], [
72         AC_MSG_RESULT(Using SysV curses)
73          curses_driver=true
74         AC_DEFINE(USE_SYSV_CURSES)
75 @@ -208,7 +222,7 @@
76  )
77  
78  if test  "$slang_driver_test" = yes; then
79 -  AC_DEFUN(AC_SLANG, [
80 +  AC_DEFUN([AC_SLANG], [
81      if $search_slang
82      then
83          if test -f $1/$2
84 @@ -246,7 +260,7 @@
85  dnl
86  dnl Parameters: directory filename LIBS_append CFLAGS_append nicename
87  dnl
88 -AC_DEFUN(AC_NCURSES, [
89 +AC_DEFUN([AC_NCURSES], [
90      if $search_ncurses
91      then
92          if test -f $1/$2
93 @@ -274,7 +288,7 @@
94  dnl
95  dnl Parameters: directory filename LIBS_append CFLAGS_append nicename
96  dnl
97 -AC_DEFUN(AC_CURSES, [
98 +AC_DEFUN([AC_CURSES], [
99      if $search_ncurses
100      then
101          if test -f $1/$2