]> git.pld-linux.org Git - packages/cmatrix.git/commitdiff
- add possibility to choice if you want to use setfont or consolechars
authorPaweł Gołaszewski <blues@pld-linux.org>
Sat, 11 May 2002 15:09:57 +0000 (15:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cmatrix-setfont-consolechars-choice.patch -> 1.1

cmatrix-setfont-consolechars-choice.patch [new file with mode: 0644]

diff --git a/cmatrix-setfont-consolechars-choice.patch b/cmatrix-setfont-consolechars-choice.patch
new file mode 100644 (file)
index 0000000..1c5a17a
--- /dev/null
@@ -0,0 +1,45 @@
+--- ./configure.in.org Mon Apr  1 02:54:02 2002
++++ ./configure.in     Sat May 11 17:00:32 2002
+@@ -61,12 +61,39 @@
+ fi
+ dnl Stuff we want at the end so people can actually see it...
+-AC_PATH_PROG(CONSOLECHARS, consolechars, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
+-AC_PATH_PROG(SETFONT, setfont, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
++AC_ARG_WITH(consolechars,
++          [  --with-consolechars      Compile program to use consolechars from console-utils],
++      [AC_PATH_PROG(CONSOLECHARS, consolechars, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
++      if test x$CONSOLECHARS = x; then
++              AC_MSG_WARN([
++                           
++*** You want to use consolechars, but none was found
++*** If you are using Linux, the package containing this program is 
++*** usually called console-utils
++                      ])
++      fi
++      AC_DEFINE_UNQUOTED(HAVE_CONSOLECHARS, $CONSOLECHARS)],
++      [AC_PATH_PROG(CONSOLECHARS, consolechars, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)]
++)
++
++AC_ARG_WITH(setfont,
++          [  --with-setfont   Compile program to use setfont from kbd],
++      [AC_PATH_PROG(SETFONT, setfont, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
++      if test x$SETFONT = x; then
++              AC_MSG_WARN([
++                           
++*** You want to use setfont, but none was found
++*** If you are using Linux, the package containing this program is
++*** usually called kbd or kbd-utils
++                           ])
++      fi
++      AC_DEFINE_UNQUOTED(HAVE_CONSOLECHARS, $CONSOLECHARS)],
++      [AC_PATH_PROG(SETFONT, setfont, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)]
++)
+ if test x$CONSOLECHARS = x; then
+     if test x$SETFONT = x; then
+-      AC_MSG_WARN([
++          AC_MSG_WARN([
+ *** neither the consolechars nor the setfont program was not found.  You
+ *** will not be able to see the characters in the matrix font in the
This page took 0.177162 seconds and 4 git commands to generate.