the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: cmatrix
Version: 1.2a
Revision: 1014
Description: Scrolling random text effect like The Matrix
BuildDepends: libncurses5 (>= 5.4-20041023-1006)
Depends: ncurses (>= 5.4-20041023-1006), libncurses5-shlibs (>= 5.4-20041023-1006)
GCC: 4.0
License: GPL
Suggests: xfontpath
DescDetail: <<
Cool screen effect which scrolls random lines of text like 'The
Matrix', my fave movie. If you haven't seen this movie and you are a
fan of computers or sci-fi in general, go see it!
An X11 font is also included in the distribution =-) try CMatrix
with the mtx.pcf font loaded in a transparent aterm...
<<
DescUsage: <<
You will need a terminfo file capable of displaying color. Visit Mac
OS X hints for instructions on setting this up:
If you are just running this in Apple's Terminal, i.e. no xwindows, you
could probably download a TrueType "matrix" font and use that (please
send me the url if you find one).
My terminal is configured to use the font "#PilGi", a symbol font
which looks nice with cmatrix (Jaguar only?), the window background is
black with 17% transparency, and scrollback buffer disabled.
Then try: cmatrix -fab
cmatrix -fabx (for xwindows)
Type reset to restore default term colors when you quit cmatrix.
<<
DescPort: <<
The build process automatically looks for an X installation and
tries to reconfigure itself accordingly but it doesn't recognise /sw.
I don't use X, so I hope this install works correctly with fink!
Patched configure to remove all the font stuff.
The -DHAVE_SETFONT forces the program compiles with x font support even
though configure doesn't find a fink-installed X.
<<
Homepage: http://www.astyanax.org/cmatrix/
Source: http://www.astyanax.org/%n/dist/%n-%v.tar.gz
Source-MD5: ebfb5733104a258173a9ccf2669968a1
Maintainer: Carsten Klapp
DocFiles: TODO NEWS COPYING README AUTHORS ChangeLog
Patch: %n.patch
CompileScript: <<
./configure --prefix=%p --mandir='${prefix}/share/man'
make CFLAGS='-O3 -DHAVE_SETFONT'
<<
InstallScript: <<
make prefix= DESTDIR=%i install
mkdir -p %i/lib/kbd/consolefonts
mkdir -p %i/lib/X11/fonts/misc
strip %i/bin/cmatrix
install -m 644 matrix.fnt %i/lib/kbd/consolefonts
install -m 644 matrix.psf.gz %i/lib/kbd/consolefonts
install -m 644 mtx.pcf %i/lib/X11/fonts/misc
<<
diff -ru2 cmatrix-1.2a/Makefile.in cmatrix-1.2a-patched/Makefile.in
--- cmatrix-1.2a/Makefile.in Mon Apr 1 02:11:59 2002
+++ cmatrix-1.2a-patched/Makefile.in Sun Oct 13 07:17:01 2002
@@ -404,33 +404,4 @@
install-data-local:
- @if test -d /usr/share/consolefonts; then \
- echo " Installing matrix fonts in /usr/share/consolefonts..."; \
- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/share/consolefonts; \
- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/share/consolefonts; \
- fi
- @if test -d /usr/lib/kbd/consolefonts; then \
- echo " Installing matrix fonts in /usr/lib/kbd/consolefonts..."; \
- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/lib/kbd/consolefonts; \
- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/lib/kbd/consolefonts; \
- fi
- @if test -d /usr/lib/X11/fonts/misc; then \
- echo " Installing X window matrix fonts in /usr/lib/X11/fonts/misc..."; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
- echo " Running mkfontdir /usr/lib/X11/fonts/misc..."; \
- $(MKFONTDIR) /usr/lib/X11/fonts/misc; \
- echo " Done. If this is the first time you have installed CMatrix you will"; \
- echo " probably have to restart X window in order to use the mtx.pcf font."; \
- else \
- if test -d /usr/X11R6/lib/X11/fonts/misc; then \
- echo " Installing X window matrix fonts in /usr/X11R6/lib/X11/fonts/misc..."; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
- echo " Running mkfontdir /usr/X11R6/lib/X11/fonts/misc..."; \
- $(MKFONTDIR) /usr/X11R6/lib/X11/fonts/misc; \
- echo " Done. If this is the first time you have installed CMatrix you will"; \
- echo " probably have to restart X window in order to use the mtx.pcf font."; \
- fi \
- fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
diff -ru2 cmatrix-1.2a/configure cmatrix-1.2a-patched/configure
--- cmatrix-1.2a/configure Mon Apr 1 01:17:59 2002
+++ cmatrix-1.2a-patched/configure Sat Oct 12 16:30:58 2002
@@ -1778,234 +1778,4 @@
fi
-# Extract the first word of "consolechars", so it can be a program name with args.
-set dummy consolechars; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1784: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_CONSOLECHARS'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$CONSOLECHARS" in
- /*)
- ac_cv_path_CONSOLECHARS="$CONSOLECHARS" # Let the user override the test with a path.
- ;;
- ?:/*)
- ac_cv_path_CONSOLECHARS="$CONSOLECHARS" # Let the user override the test with a dos path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_CONSOLECHARS="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_CONSOLECHARS" && ac_cv_path_CONSOLECHARS=""""
- ;;
-esac
-fi
-CONSOLECHARS="$ac_cv_path_CONSOLECHARS"
-if test -n "$CONSOLECHARS"; then
- echo "$ac_t""$CONSOLECHARS" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-# Extract the first word of "setfont", so it can be a program name with args.
-set dummy setfont; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1820: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_SETFONT'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$SETFONT" in
- /*)
- ac_cv_path_SETFONT="$SETFONT" # Let the user override the test with a path.
- ;;
- ?:/*)
- ac_cv_path_SETFONT="$SETFONT" # Let the user override the test with a dos path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_SETFONT="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_SETFONT" && ac_cv_path_SETFONT=""""
- ;;
-esac
-fi
-SETFONT="$ac_cv_path_SETFONT"
-if test -n "$SETFONT"; then
- echo "$ac_t""$SETFONT" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-if test x$CONSOLECHARS = x; then
- if test x$SETFONT = x; then
- echo "configure: warning:
-
-*** 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
-*** console without this program (it may still work in xterms). If you are
-*** using Linux, the package containing this program is usually called
-*** kbd, kbd-utils, or console-utils
-" 1>&2
- else
- cat >> confdefs.h <
-EOF
-
- fi
-else
- cat >> confdefs.h <
-EOF
-
-fi
-
-if test x$CONSOLECHARS != x -o x$CONSOLECHARS != x'"$CONSOLECHARS"'; then
- if test x$SETFONT != x -o x$SETFONT != x'"$SETFONT"'; then
-
- for ac_file in /usr/lib/kbd/consolefonts /usr/share/consolefonts
-do
-
-ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_file""... $ac_c" 1>&6
-echo "configure:1885: checking for $ac_file" >&5
-if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- { echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; }
-else
- if test -r $ac_file; then
- eval "ac_cv_file_$ac_safe=yes"
- else
- eval "ac_cv_file_$ac_safe=no"
- fi
-fi
-fi
-if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-
-fi
-done
-
-
- if test "x$ac_cv_file__usr_lib_kbd_consolefonts" = "xno"; then
- if test "x$ac_cv_file__usr_share_consolefonts" = "xno"; then
- echo "configure: warning:
-
-*** You do not appear to have a consolefonts directory in a standard location
-*** (/usr/lib/kbd or /usr/share), even though you appear to have the
-*** consolechars and/or setfont command. The matrix font for the console
-*** will not be installed. This means you will not be able to use the
-*** matrix console font (and the -l command line switch) unless the font
-*** is located in your current directory when you run CMatrix.
-" 1>&2
- fi
- fi
- fi
-fi
-
-
-# Extract the first word of "mkfontdir", so it can be a program name with args.
-set dummy mkfontdir; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1933: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_MKFONTDIR'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$MKFONTDIR" in
- /*)
- ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
- ;;
- ?:/*)
- ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a dos path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH:/usr/bin:/usr/bin/X11:/usr/local/bin/X11:/usr/X11R6/bin:/usr/local/bin:/sbin:/usr/sbin"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_MKFONTDIR="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR=""""
- ;;
-esac
-fi
-MKFONTDIR="$ac_cv_path_MKFONTDIR"
-if test -n "$MKFONTDIR"; then
- echo "$ac_t""$MKFONTDIR" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-for ac_file in /usr/lib/X11/fonts/misc /usr/X11R6/lib/X11/fonts/misc
-do
-
-ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_file""... $ac_c" 1>&6
-echo "configure:1971: checking for $ac_file" >&5
-if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- { echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; }
-else
- if test -r $ac_file; then
- eval "ac_cv_file_$ac_safe=yes"
- else
- eval "ac_cv_file_$ac_safe=no"
- fi
-fi
-fi
-if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-
-fi
-done
-
-
-if test "x$ac_cv_file__usr_lib_X11_fonts_misc" = "xno"; then
- if test "x$ac_cv_file__usr_X11R6_lib_X11_fonts_misc" = "xno"; then
- echo "configure: warning:
-
-*** You do not appear to have an X window fonts directory in the standard
-*** locations (/usr/lib/X11/fonts/misc or /usr/X11R6/lib/X11/fonts/misc). The
-*** mtx.pcf font will not be installed. This means you will probably not
-*** be able to use the mtx fonts in your x terminals, and hence be unable
-*** to use the -x command line switch. Sorry about that...
-" 1>&2
- fi
- fi
Package: cmatrix
Version: 1.2a
Revision: 1014
Description: Scrolling random text effect like The Matrix
BuildDepends: libncurses5 (>= 5.4-20041023-1006)
Depends: ncurses (>= 5.4-20041023-1006), libncurses5-shlibs (>= 5.4-20041023-1006)
GCC: 4.0
License: GPL
Suggests: xfontpath
DescDetail: <<
Cool screen effect which scrolls random lines of text like 'The
Matrix', my fave movie. If you haven't seen this movie and you are a
fan of computers or sci-fi in general, go see it!
An X11 font is also included in the distribution =-) try CMatrix
with the mtx.pcf font loaded in a transparent aterm...
<<
DescUsage: <<
You will need a terminfo file capable of displaying color. Visit Mac
OS X hints for instructions on setting this up:
If you are just running this in Apple's Terminal, i.e. no xwindows, you
could probably download a TrueType "matrix" font and use that (please
send me the url if you find one).
My terminal is configured to use the font "#PilGi", a symbol font
which looks nice with cmatrix (Jaguar only?), the window background is
black with 17% transparency, and scrollback buffer disabled.
Then try: cmatrix -fab
cmatrix -fabx (for xwindows)
Type reset to restore default term colors when you quit cmatrix.
<<
DescPort: <<
The build process automatically looks for an X installation and
tries to reconfigure itself accordingly but it doesn't recognise /sw.
I don't use X, so I hope this install works correctly with fink!
Patched configure to remove all the font stuff.
The -DHAVE_SETFONT forces the program compiles with x font support even
though configure doesn't find a fink-installed X.
<<
Homepage: http://www.astyanax.org/cmatrix/
Source: http://www.astyanax.org/%n/dist/%n-%v.tar.gz
Source-MD5: ebfb5733104a258173a9ccf2669968a1
Maintainer: Carsten Klapp
DocFiles: TODO NEWS COPYING README AUTHORS ChangeLog
Patch: %n.patch
CompileScript: <<
./configure --prefix=%p --mandir='${prefix}/share/man'
make CFLAGS='-O3 -DHAVE_SETFONT'
<<
InstallScript: <<
make prefix= DESTDIR=%i install
mkdir -p %i/lib/kbd/consolefonts
mkdir -p %i/lib/X11/fonts/misc
strip %i/bin/cmatrix
install -m 644 matrix.fnt %i/lib/kbd/consolefonts
install -m 644 matrix.psf.gz %i/lib/kbd/consolefonts
install -m 644 mtx.pcf %i/lib/X11/fonts/misc
<<
diff -ru2 cmatrix-1.2a/Makefile.in cmatrix-1.2a-patched/Makefile.in
--- cmatrix-1.2a/Makefile.in Mon Apr 1 02:11:59 2002
+++ cmatrix-1.2a-patched/Makefile.in Sun Oct 13 07:17:01 2002
@@ -404,33 +404,4 @@
install-data-local:
- @if test -d /usr/share/consolefonts; then \
- echo " Installing matrix fonts in /usr/share/consolefonts..."; \
- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/share/consolefonts; \
- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/share/consolefonts; \
- fi
- @if test -d /usr/lib/kbd/consolefonts; then \
- echo " Installing matrix fonts in /usr/lib/kbd/consolefonts..."; \
- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/lib/kbd/consolefonts; \
- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/lib/kbd/consolefonts; \
- fi
- @if test -d /usr/lib/X11/fonts/misc; then \
- echo " Installing X window matrix fonts in /usr/lib/X11/fonts/misc..."; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
- echo " Running mkfontdir /usr/lib/X11/fonts/misc..."; \
- $(MKFONTDIR) /usr/lib/X11/fonts/misc; \
- echo " Done. If this is the first time you have installed CMatrix you will"; \
- echo " probably have to restart X window in order to use the mtx.pcf font."; \
- else \
- if test -d /usr/X11R6/lib/X11/fonts/misc; then \
- echo " Installing X window matrix fonts in /usr/X11R6/lib/X11/fonts/misc..."; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
- echo " Running mkfontdir /usr/X11R6/lib/X11/fonts/misc..."; \
- $(MKFONTDIR) /usr/X11R6/lib/X11/fonts/misc; \
- echo " Done. If this is the first time you have installed CMatrix you will"; \
- echo " probably have to restart X window in order to use the mtx.pcf font."; \
- fi \
- fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
diff -ru2 cmatrix-1.2a/configure cmatrix-1.2a-patched/configure
--- cmatrix-1.2a/configure Mon Apr 1 01:17:59 2002
+++ cmatrix-1.2a-patched/configure Sat Oct 12 16:30:58 2002
@@ -1778,234 +1778,4 @@
fi
-# Extract the first word of "consolechars", so it can be a program name with args.
-set dummy consolechars; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1784: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_CONSOLECHARS'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$CONSOLECHARS" in
- /*)
- ac_cv_path_CONSOLECHARS="$CONSOLECHARS" # Let the user override the test with a path.
- ;;
- ?:/*)
- ac_cv_path_CONSOLECHARS="$CONSOLECHARS" # Let the user override the test with a dos path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_CONSOLECHARS="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_CONSOLECHARS" && ac_cv_path_CONSOLECHARS=""""
- ;;
-esac
-fi
-CONSOLECHARS="$ac_cv_path_CONSOLECHARS"
-if test -n "$CONSOLECHARS"; then
- echo "$ac_t""$CONSOLECHARS" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-# Extract the first word of "setfont", so it can be a program name with args.
-set dummy setfont; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1820: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_SETFONT'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$SETFONT" in
- /*)
- ac_cv_path_SETFONT="$SETFONT" # Let the user override the test with a path.
- ;;
- ?:/*)
- ac_cv_path_SETFONT="$SETFONT" # Let the user override the test with a dos path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_SETFONT="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_SETFONT" && ac_cv_path_SETFONT=""""
- ;;
-esac
-fi
-SETFONT="$ac_cv_path_SETFONT"
-if test -n "$SETFONT"; then
- echo "$ac_t""$SETFONT" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-if test x$CONSOLECHARS = x; then
- if test x$SETFONT = x; then
- echo "configure: warning:
-
-*** 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
-*** console without this program (it may still work in xterms). If you are
-*** using Linux, the package containing this program is usually called
-*** kbd, kbd-utils, or console-utils
-" 1>&2
- else
- cat >> confdefs.h <
-EOF
-
- fi
-else
- cat >> confdefs.h <
-EOF
-
-fi
-
-if test x$CONSOLECHARS != x -o x$CONSOLECHARS != x'"$CONSOLECHARS"'; then
- if test x$SETFONT != x -o x$SETFONT != x'"$SETFONT"'; then
-
- for ac_file in /usr/lib/kbd/consolefonts /usr/share/consolefonts
-do
-
-ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_file""... $ac_c" 1>&6
-echo "configure:1885: checking for $ac_file" >&5
-if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- { echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; }
-else
- if test -r $ac_file; then
- eval "ac_cv_file_$ac_safe=yes"
- else
- eval "ac_cv_file_$ac_safe=no"
- fi
-fi
-fi
-if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-
-fi
-done
-
-
- if test "x$ac_cv_file__usr_lib_kbd_consolefonts" = "xno"; then
- if test "x$ac_cv_file__usr_share_consolefonts" = "xno"; then
- echo "configure: warning:
-
-*** You do not appear to have a consolefonts directory in a standard location
-*** (/usr/lib/kbd or /usr/share), even though you appear to have the
-*** consolechars and/or setfont command. The matrix font for the console
-*** will not be installed. This means you will not be able to use the
-*** matrix console font (and the -l command line switch) unless the font
-*** is located in your current directory when you run CMatrix.
-" 1>&2
- fi
- fi
- fi
-fi
-
-
-# Extract the first word of "mkfontdir", so it can be a program name with args.
-set dummy mkfontdir; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1933: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_MKFONTDIR'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$MKFONTDIR" in
- /*)
- ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
- ;;
- ?:/*)
- ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a dos path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH:/usr/bin:/usr/bin/X11:/usr/local/bin/X11:/usr/X11R6/bin:/usr/local/bin:/sbin:/usr/sbin"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_MKFONTDIR="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR=""""
- ;;
-esac
-fi
-MKFONTDIR="$ac_cv_path_MKFONTDIR"
-if test -n "$MKFONTDIR"; then
- echo "$ac_t""$MKFONTDIR" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-for ac_file in /usr/lib/X11/fonts/misc /usr/X11R6/lib/X11/fonts/misc
-do
-
-ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_file""... $ac_c" 1>&6
-echo "configure:1971: checking for $ac_file" >&5
-if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- { echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; }
-else
- if test -r $ac_file; then
- eval "ac_cv_file_$ac_safe=yes"
- else
- eval "ac_cv_file_$ac_safe=no"
- fi
-fi
-fi
-if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-
-fi
-done
-
-
-if test "x$ac_cv_file__usr_lib_X11_fonts_misc" = "xno"; then
- if test "x$ac_cv_file__usr_X11R6_lib_X11_fonts_misc" = "xno"; then
- echo "configure: warning:
-
-*** You do not appear to have an X window fonts directory in the standard
-*** locations (/usr/lib/X11/fonts/misc or /usr/X11R6/lib/X11/fonts/misc). The
-*** mtx.pcf font will not be installed. This means you will probably not
-*** be able to use the mtx fonts in your x terminals, and hence be unable
-*** to use the -x command line switch. Sorry about that...
-" 1>&2
- fi
- fi