]> git.pld-linux.org Git - packages/cmatrix.git/blob - cmatrix-setfont-consolechars-choice.patch
- link with -ltinfo
[packages/cmatrix.git] / cmatrix-setfont-consolechars-choice.patch
1 diff -Nru cmatrix-1.2a.orig/configure.in cmatrix-1.2a/configure.in
2 --- cmatrix-1.2a.orig/configure.in      Mon Apr  1 02:54:02 2002
3 +++ cmatrix-1.2a/configure.in   Mon Sep 23 10:28:39 2002
4 @@ -61,12 +61,38 @@
5  fi
6  
7  dnl Stuff we want at the end so people can actually see it...
8 -AC_PATH_PROG(CONSOLECHARS, consolechars, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
9 -AC_PATH_PROG(SETFONT, setfont, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
10 +AC_ARG_WITH(consolechars,
11 +           [  --with-consolechars      Compile program to use consolechars from console-utils],
12 +       [AC_PATH_PROG(CONSOLECHARS, consolechars, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
13 +       if test x$CONSOLECHARS = x; then
14 +               AC_MSG_WARN([
15 +                            
16 +*** You want to use consolechars, but none was found
17 +*** If you are using Linux, the package containing this program is 
18 +*** usually called console-utils
19 +                       ])
20 +       fi
21 +       AC_DEFINE_UNQUOTED(HAVE_CONSOLECHARS, $CONSOLECHARS)],
22 +       [AC_PATH_PROG(CONSOLECHARS, consolechars, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)]
23 +)
24 +
25 +AC_ARG_WITH(setfont,
26 +           [  --with-setfont   Compile program to use setfont from kbd],
27 +       [AC_PATH_PROG(SETFONT, setfont, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
28 +       if test x$SETFONT = x; then
29 +               AC_MSG_WARN([
30 +                            
31 +*** You want to use setfont, but none was found
32 +*** If you are using Linux, the package containing this program is
33 +*** usually called kbd or kbd-utils
34 +                            ])
35 +       fi],
36 +       [AC_PATH_PROG(SETFONT, setfont, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)]
37 +)
38  
39  if test x$CONSOLECHARS = x; then
40      if test x$SETFONT = x; then
41 -       AC_MSG_WARN([
42 +           AC_MSG_WARN([
43  
44  *** neither the consolechars nor the setfont program was not found.  You
45  *** will not be able to see the characters in the matrix font in the
This page took 0.067754 seconds and 3 git commands to generate.