--- /dev/null
+LCD4Linux development team:
+
+Michael Reinelt <reinelt@eunet.at>
+Herbert Rosmanith <herp@wildsau.idv-edu.uni-linz.ac.at>
+Leo Tötsch <lt@toetsch.at>
## Process this file with automake to produce Makefile.in
-AUTOMAKE_OPTIONS = foreign
+AUTOMAKE_OPTIONS = gnu
CLEANFILES = *~
bin_PROGRAMS = lcd4linux
socket.c socket.h
EXTRA_lcd4linux_SOURCES= \
-acconfig.h \
BeckmannEgle.c \
Crystalfontz.c Crystalfontz.h \
Cwlinux.c \
lcd4linux.kdelnk \
lcd4linux.xpm \
lcd4linux.lsm \
+AUTHORS \
CREDITS \
FAQ \
NEWS \
POST_UNINSTALL = :
AWK = @AWK@
CC = @CC@
-CURSES_INCLUDES = @CURSES_INCLUDES@
+CURSES_INCLUDEDIR = @CURSES_INCLUDEDIR@
CURSES_LIBS = @CURSES_LIBS@
DRIVERS = @DRIVERS@
DRVLIBS = @DRVLIBS@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
-AUTOMAKE_OPTIONS = foreign
+AUTOMAKE_OPTIONS = gnu
CLEANFILES = *~
bin_PROGRAMS = lcd4linux
lcd4linux_SOURCES = lcd4linux.c debug.c debug.h cfg.c cfg.h lock.c lock.h parser.c parser.h processor.c processor.h system.c system.h isdn.c isdn.h mail.c mail.h seti.c seti.h battery.c battery.h filter.c filter.h udelay.c udelay.h display.c display.h pixmap.c pixmap.h bar.c bar.h fontmap.c fontmap.h exec.c exec.h mail2.c socket.c socket.h
-EXTRA_lcd4linux_SOURCES = acconfig.h BeckmannEgle.c Crystalfontz.c Crystalfontz.h Cwlinux.c HD44780.c M50530.c T6963.c USBLCD.c MatrixOrbital.c PalmPilot.c Raster.c SIN.c Skeleton.c XWindow.c Text.c
+EXTRA_lcd4linux_SOURCES = BeckmannEgle.c Crystalfontz.c Crystalfontz.h Cwlinux.c HD44780.c M50530.c T6963.c USBLCD.c MatrixOrbital.c PalmPilot.c Raster.c SIN.c Skeleton.c XWindow.c Text.c
-EXTRA_DIST = lcd4linux.conf.sample lcd4kde.conf lcd4linux.kdelnk lcd4linux.xpm lcd4linux.lsm CREDITS FAQ NEWS TODO README README.Drivers README.MatrixOrbital README.HD44780 README.HD44780.GPO README.Crystalfontz README.X11 README.KDE README.Raster README.Png README.Webinterface README.Text
+EXTRA_DIST = lcd4linux.conf.sample lcd4kde.conf lcd4linux.kdelnk lcd4linux.xpm lcd4linux.lsm AUTHORS CREDITS FAQ NEWS TODO README README.Drivers README.MatrixOrbital README.HD44780 README.HD44780.GPO README.Crystalfontz README.X11 README.KDE README.Raster README.Png README.Webinterface README.Text
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-DIST_COMMON = README ./stamp-h.in COPYING INSTALL Makefile.am \
-Makefile.in NEWS TODO acconfig.h aclocal.m4 config.h.in configure \
+DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
+Makefile.am Makefile.in NEWS TODO aclocal.m4 config.h.in configure \
configure.in install-sh missing mkinstalldirs
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
- cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
+ cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
cd $(top_builddir) \
rm -f $(srcdir)/stamp-h.in; \
$(MAKE) $(srcdir)/stamp-h.in; \
else :; fi
-$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
+$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOHEADER)
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
top_distdir=`cd $(distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
- && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
+++ /dev/null
-/* Define if you want the Beckmann&Egle driver compiled */
-#undef WITH_BECKMANNEGLE
-
-/* Define if you want the Crystalfontz driver compiled */
-#undef WITH_CRYSTALFONTZ
-
-/* Define if you want the Cwlinux driver compiled */
-#undef WITH_CWLINUX
-
-/* Define if you want the HD44780 driver compiled */
-#undef WITH_HD44780
-
-/* Define if you want the M50530 driver compiled */
-#undef WITH_M50530
-
-/* Define if you want the T6963 driver compiled */
-#undef WITH_T6963
-
-/* Define if you want the USBLCD driver compiled */
-#undef WITH_USBLCD
-
-/* Define if you want the Matrix Orbital driver compiled */
-#undef WITH_MATRIXORBITAL
-
-/* Define if you want the PalmPilot driver compiled */
-#undef WITH_PALMPILOT
-
-/* Define if you want the PNG Raster driver compiled */
-#undef WITH_PNG
-
-/* Define if you want the PPM Raster driver compiled */
-#undef WITH_PPM
-
-/* Define if you want the SIN Router driver compiled */
-#undef WITH_SIN
-
-/* Define if you want the Skeleton driver compiled */
-#undef WITH_SKELETON
-
-/* Define if you want the Text driver compiled */
-#undef WITH_TEXT
-
-/* Define if you want the X11 driver compiled */
-#undef WITH_X11
-
-/*=== Curses version detection defines ===*/
-/* Found some version of curses that we're going to use */
-#undef HAS_CURSES
-
-/* Use SunOS SysV curses? */
-#undef USE_SUNOS_CURSES
-
-/* Use old BSD curses - not used right now */
-#undef USE_BSD_CURSES
-
-/* Use SystemV curses? */
-#undef USE_SYSV_CURSES
-
-/* Use Ncurses? */
-#undef USE_NCURSES
-
-/* If you Curses does not have color define this one */
-#undef NO_COLOR_CURSES
-
-/* Define if you want to turn on SCO-specific code */
-#undef SCO_FLAVOR
-
-/* Set to reflect version of ncurses *
- * 0 = version 1.*
- * 1 = version 1.9.9g
- * 2 = version 4.0/4.1 */
-#undef NCURSES_970530
-dnl aclocal.m4 generated automatically by aclocal 1.4-p6
+dnl aclocal.m4t generated automatically by aclocal 1.4-p6
dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
/* config.h.in. Generated from configure.in by autoheader. */
-/* Define if you want the Beckmann&Egle driver compiled */
-#undef WITH_BECKMANNEGLE
-
-/* Define if you want the Crystalfontz driver compiled */
-#undef WITH_CRYSTALFONTZ
-
-/* Define if you want the Cwlinux driver compiled */
-#undef WITH_CWLINUX
-
-/* Define if you want the HD44780 driver compiled */
-#undef WITH_HD44780
-
-/* Define if you want the M50530 driver compiled */
-#undef WITH_M50530
-
-/* Define if you want the T6963 driver compiled */
-#undef WITH_T6963
-
-/* Define if you want the USBLCD driver compiled */
-#undef WITH_USBLCD
-
-/* Define if you want the Matrix Orbital driver compiled */
-#undef WITH_MATRIXORBITAL
-
-/* Define if you want the PalmPilot driver compiled */
-#undef WITH_PALMPILOT
-
-/* Define if you want the PNG Raster driver compiled */
-#undef WITH_PNG
-
-/* Define if you want the PPM Raster driver compiled */
-#undef WITH_PPM
-/* Define if you want the SIN Router driver compiled */
-#undef WITH_SIN
-
-/* Define if you want the Skeleton driver compiled */
-#undef WITH_SKELETON
-
-/* Define if you want the Text driver compiled */
-#undef WITH_TEXT
-
-/* Define if you want the X11 driver compiled */
-#undef WITH_X11
-
-/*=== Curses version detection defines ===*/
/* Found some version of curses that we're going to use */
#undef HAS_CURSES
-
-/* Use SunOS SysV curses? */
-#undef USE_SUNOS_CURSES
-
-/* Use old BSD curses - not used right now */
-#undef USE_BSD_CURSES
-
-/* Use SystemV curses? */
-#undef USE_SYSV_CURSES
-
-/* Use Ncurses? */
-#undef USE_NCURSES
-
-/* If you Curses does not have color define this one */
-#undef NO_COLOR_CURSES
-
-/* Define if you want to turn on SCO-specific code */
-#undef SCO_FLAVOR
-
-/* Set to reflect version of ncurses *
- * 0 = version 1.*
- * 1 = version 1.9.9g
- * 2 = version 4.0/4.1 */
-#undef NCURSES_970530
/* Define to 1 if you have the <asm/io.h> header file. */
#undef HAVE_ASM_IO_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Set to reflect version of ncurses */
+#undef NCURSES_970530
+
+/* If you Curses does not have color define this one */
+#undef NO_COLOR_CURSES
+
/* Name of package */
#undef PACKAGE
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
+/* Define if you want to turn on SCO-specific code */
+#undef SCO_FLAVOR
+
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
+/* Use Ncurses? */
+#undef USE_NCURSES
+
+/* Use SunOS SysV curses? */
+#undef USE_SUNOS_CURSES
+
+/* Use SystemV curses? */
+#undef USE_SYSV_CURSES
+
/* Version number of package */
#undef VERSION
+/* junk */
+#undef WITH_BECKMANNEGLE
+
+/* junk */
+#undef WITH_CRYSTALFONTZ
+
+/* junk */
+#undef WITH_CWLINUX
+
+/* junk */
+#undef WITH_HD44780
+
+/* junk */
+#undef WITH_M50530
+
+/* junk */
+#undef WITH_MATRIXORBITAL
+
+/* junk */
+#undef WITH_PALMPILOT
+
+/* junk */
+#undef WITH_PNG
+
+/* junk */
+#undef WITH_PPM
+
+/* junk */
+#undef WITH_SIN
+
+/* junk */
+#undef WITH_SKELETON
+
+/* junk */
+#undef WITH_T6963
+
+/* junk */
+#undef WITH_TEXT
+
+/* junk */
+#undef WITH_USBLCD
+
+/* junk */
+#undef WITH_X11
+
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.54.
+# Generated by GNU Autoconf 2.54 for LCD4Linux 0.99.
+#
+# Report bugs to <reinelt@eunet.at>.
#
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
: ${ac_max_here_lines=38}
# Identity of this package.
-PACKAGE_NAME=
-PACKAGE_TARNAME=
-PACKAGE_VERSION=
-PACKAGE_STRING=
-PACKAGE_BUGREPORT=
+PACKAGE_NAME='LCD4Linux'
+PACKAGE_TARNAME='lcd4linux'
+PACKAGE_VERSION='0.99'
+PACKAGE_STRING='LCD4Linux 0.99'
+PACKAGE_BUGREPORT='reinelt@eunet.at'
ac_unique_file="lcd4linux.c"
# Factoring default headers for most tests.
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE AWK CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CURSES_LIBS CURSES_INCLUDES CPP EGREP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS DRIVERS DRVLIBS LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE AWK CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CURSES_LIBS CURSES_INCLUDEDIR CPP EGREP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS DRIVERS DRVLIBS LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures this package to adapt to many kinds of systems.
+\`configure' configures LCD4Linux 0.99 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
fi
if test -n "$ac_init_help"; then
-
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of LCD4Linux 0.99:";;
+ esac
cat <<\_ACEOF
Optional Packages:
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
+Report bugs to <reinelt@eunet.at>.
_ACEOF
fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
+LCD4Linux configure 0.99
+generated by GNU Autoconf 2.54
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by $as_me, which was
+It was created by LCD4Linux $as_me 0.99, which was
generated by GNU Autoconf 2.54. Invocation command line was
$ $0 $@
+
+
+
+
+
+
+
+
ac_config_commands="$ac_config_commands default-1"
+# Checks for programs.
for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
fi
+# Checks for libraries.
echo "$as_me:$LINENO: checking for log in -lm" >&5
fi
+# curses
+
+
+
+
withval="$with_sco"
if test x$withval = xyes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define SCO_FLAVOR 1
_ACEOF
- CPPFLAGS="$CPPFLAGS -D_SVID3"
+ CFLAGS="$CFLAGS -D_SVID3"
fi
fi;
screen_manager="SunOS 4.x /usr/5include curses"
echo "$as_me:$LINENO: result: Using SunOS 4.x /usr/5include curses" >&5
echo "${ECHO_T}Using SunOS 4.x /usr/5include curses" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_SUNOS_CURSES 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define NO_COLOR_CURSES 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_SYSV_CURSES 1
_ACEOF
- CURSES_INCLUDES="-I/usr/5include"
+ CURSES_INCLUDEDIR="-I/usr/5include"
CURSES_LIBS="/usr/5lib/libcurses.a /usr/5lib/libtermcap.a"
echo "$as_me:$LINENO: result: Please note that some screen refreshs may fail" >&5
echo "${ECHO_T}Please note that some screen refreshs may fail" >&6
echo "${ECHO_T}Using OSF1 curses" >&6
search_ncurses=false
screen_manager="OSF1 curses"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define NO_COLOR_CURSES 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_SYSV_CURSES 1
_ACEOF
if test "${with_vcurses+set}" = set; then
withval="$with_vcurses"
if test x$withval != xyes; then
- CURSES_INCLUDES="-I$withval"
+ CURSES_INCLUDEDIR="-I$withval"
fi
echo "$as_me:$LINENO: result: Using SysV curses" >&5
echo "${ECHO_T}Using SysV curses" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_SYSV_CURSES 1
_ACEOF
search_ncurses=false
elif test x$withval != xyes ; then
CURSES_LIBS="$LIBS -L$withval/lib -lncurses"
- CURSES_INCLUDES="-I$withval/include"
+ CURSES_INCLUDEDIR="-I$withval/include"
search_ncurses=false
screen_manager="ncurses"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_NCURSES 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- use_ncurses=true
fi
fi;
echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses.h" >&5
echo "${ECHO_T}Found ncurses on /usr/include/ncurses.h" >&6
CURSES_LIBS="-lncurses"
- CURSES_INCLUDES=""
+ CURSES_INCLUDEDIR=""
search_ncurses=false
screen_manager="ncurses on /usr/include"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_NCURSES 1
_ACEOF
- use_ncurses=true
fi
fi
echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses/ncurses.h" >&5
echo "${ECHO_T}Found ncurses on /usr/include/ncurses/ncurses.h" >&6
CURSES_LIBS="-lncurses"
- CURSES_INCLUDES="-I/usr/include/ncurses"
+ CURSES_INCLUDEDIR="-I/usr/include/ncurses"
search_ncurses=false
screen_manager="ncurses on /usr/include/ncurses"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_NCURSES 1
_ACEOF
- use_ncurses=true
fi
fi
echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses.h" >&5
echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses.h" >&6
CURSES_LIBS="-L/usr/local/lib -lncurses"
- CURSES_INCLUDES="-I/usr/local/include"
+ CURSES_INCLUDEDIR="-I/usr/local/include"
search_ncurses=false
screen_manager="ncurses on /usr/local"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_NCURSES 1
_ACEOF
- use_ncurses=true
fi
fi
echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses/ncurses.h" >&5
echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses/ncurses.h" >&6
CURSES_LIBS="-L/usr/local/lib -L/usr/local/lib/ncurses -lncurses"
- CURSES_INCLUDES="-I/usr/local/include/ncurses"
+ CURSES_INCLUDEDIR="-I/usr/local/include/ncurses"
search_ncurses=false
screen_manager="ncurses on /usr/local/include/ncurses"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_NCURSES 1
_ACEOF
- use_ncurses=true
fi
fi
echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses/curses.h" >&5
echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses/curses.h" >&6
CURSES_LIBS="-L/usr/local/lib -lncurses"
- CURSES_INCLUDES="-I/usr/local/include/ncurses -DRENAMED_NCURSES"
+ CURSES_INCLUDEDIR="-I/usr/local/include/ncurses -DRENAMED_NCURSES"
search_ncurses=false
screen_manager="renamed ncurses on /usr/local/.../ncurses"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_NCURSES 1
_ACEOF
- use_ncurses=true
fi
fi
echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses/curses.h" >&5
echo "${ECHO_T}Found ncurses on /usr/include/ncurses/curses.h" >&6
CURSES_LIBS="-lncurses"
- CURSES_INCLUDES="-I/usr/include/ncurses -DRENAMED_NCURSES"
+ CURSES_INCLUDEDIR="-I/usr/include/ncurses -DRENAMED_NCURSES"
search_ncurses=false
screen_manager="renamed ncurses on /usr/include/ncurses"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_NCURSES 1
_ACEOF
- use_ncurses=true
fi
fi
echo "$as_me:$LINENO: result: Using SysV curses" >&5
echo "${ECHO_T}Using SysV curses" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_SYSV_CURSES 1
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "USE_NCURSES" >/dev/null 2>&1; then
- CURSES_INCLUDES="$CURSES_INCLUDES -DRENAMED_NCURSES"
- cat >>confdefs.h <<\_ACEOF
+ CURSES_INCLUDEDIR="$CURSES_INCLUDEDIR -DRENAMED_NCURSES"
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_NCURSES 1
_ACEOF
- use_ncurses=true
search_ncurses=false
screen_manager="ncurses installed as curses"
screen_manager="SunOS 4.x /usr/5include curses"
echo "$as_me:$LINENO: result: Using SunOS 4.x /usr/5include curses" >&5
echo "${ECHO_T}Using SunOS 4.x /usr/5include curses" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_SUNOS_CURSES 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF
has_curses=true
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define NO_COLOR_CURSES 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_SYSV_CURSES 1
_ACEOF
- CURSES_INCLUDES="-I/usr/5include"
+ CURSES_INCLUDEDIR="-I/usr/5include"
CURSES_LIBS="/usr/5lib/libcurses.a /usr/5lib/libtermcap.a"
echo "$as_me:$LINENO: result: Please note that some screen refreshs may fail" >&5
echo "${ECHO_T}Please note that some screen refreshs may fail" >&6
echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6
ncurses_version=unknown
cat > conftest.$ac_ext <<EOF
-#line 3178 "configure"
+#line 3224 "configure"
#include "confdefs.h"
#ifdef RENAMED_NCURSES
#include <curses.h>
#undef VERSION
VERSION:NCURSES_VERSION
EOF
- if (eval "$ac_cpp $CURSES_INCLUDES conftest.$ac_ext") 2>&5 |
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "VERSION:" >conftest.out 2>&1; then
ncurses_version=`cat conftest.out|sed -e 's/^[^"]*"//' -e 's/".*//'`
fi
echo "${ECHO_T}$ncurses_version" >&6
case "$ncurses_version" in
4.[01])
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define NCURSES_970530 2
_ACEOF
;;
1.9.9g)
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define NCURSES_970530 1
_ACEOF
;;
1*)
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define NCURSES_970530 0
_ACEOF
+
+# Checks for X11
echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6
fi
+# drivers
echo "$as_me:$LINENO: checking which drivers to compile" >&5
echo $ECHO_N "checking which drivers to compile... $ECHO_C" >&6
if test "$BECKMANNEGLE" = "yes"; then
DRIVERS="$DRIVERS BeckmannEgle.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_BECKMANNEGLE 1
_ACEOF
if test "$CRYSTALFONTZ" = "yes"; then
DRIVERS="$DRIVERS Crystalfontz.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_CRYSTALFONTZ 1
_ACEOF
if test "$CWLINUX" = "yes"; then
DRIVERS="$DRIVERS Cwlinux.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_CWLINUX 1
_ACEOF
if test "$HD44780" = "yes"; then
DRIVERS="$DRIVERS HD44780.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_HD44780 1
_ACEOF
if test "$M50530" = "yes"; then
DRIVERS="$DRIVERS M50530.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_M50530 1
_ACEOF
if test "$T6963" = "yes"; then
DRIVERS="$DRIVERS T6963.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_T6963 1
_ACEOF
if test "$USBLCD" = "yes"; then
DRIVERS="$DRIVERS USBLCD.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_USBLCD 1
_ACEOF
if test "$MATRIXORBITAL" = "yes"; then
DRIVERS="$DRIVERS MatrixOrbital.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_MATRIXORBITAL 1
_ACEOF
if test "$PALMPILOT" = "yes"; then
DRIVERS="$DRIVERS PalmPilot.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_PALMPILOT 1
_ACEOF
if test "$PNG" = "yes"; then
RASTER="yes"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_PNG 1
_ACEOF
if test "$PPM" = "yes"; then
RASTER="yes"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_PPM 1
_ACEOF
if test "$SIN" = "yes"; then
DRIVERS="$DRIVERS SIN.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SIN 1
_ACEOF
if test "$SKELETON" = "yes"; then
DRIVERS="$DRIVERS Skeleton.o"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SKELETON 1
_ACEOF
DRIVERS="$DRIVERS Text.o"
DRVLIBS="$DRVLIBS $CURSES_LIBS"
CPPFLAGS="$CPPFLAGS $CURSES_INCLUDES"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_TEXT 1
_ACEOF
else
DRIVERS="$DRIVERS XWindow.o"
DRVLIBS="$DRVLIBS -L$ac_x_libraries -lX11"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_X11 1
_ACEOF
fi
fi
+# Raster.o depends on PPM or PNG
if test "$RASTER" = "yes"; then
DRIVERS="$DRIVERS Raster.o"
fi
+# Checks for header files.
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
done
+# Checks for typedefs, structures, and compiler characteristics.
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
if test "${ac_cv_c_const+set}" = set; then
fi
+# Checks for library functions.
if test $ac_cv_c_compiler_gnu = yes; then
echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
} >&5
cat >&5 <<_CSEOF
-This file was extended by $as_me, which was
+This file was extended by LCD4Linux $as_me 0.99, which was
generated by GNU Autoconf 2.54. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-config.status
+LCD4Linux config.status 0.99
configured by $0, generated by GNU Autoconf 2.54,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
s,@OBJEXT@,$OBJEXT,;t t
s,@LN_S@,$LN_S,;t t
s,@CURSES_LIBS@,$CURSES_LIBS,;t t
-s,@CURSES_INCLUDES@,$CURSES_INCLUDES,;t t
+s,@CURSES_INCLUDEDIR@,$CURSES_INCLUDEDIR,;t t
s,@CPP@,$CPP,;t t
s,@EGREP@,$EGREP,;t t
s,@X_CFLAGS@,$X_CFLAGS,;t t
-dnl Process this file with autoconf to produce a configure script.
-AC_INIT
+# Process this file with autoconf to produce a configure script.
+AC_INIT([LCD4Linux],[0.99],[reinelt@eunet.at])
AC_CONFIG_SRCDIR([lcd4linux.c])
-AM_INIT_AUTOMAKE(lcd4linux, 0.99)
+AM_INIT_AUTOMAKE(lcd4linux,0.99)
AM_CONFIG_HEADER(config.h)
-dnl Checks for programs.
+# Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
-dnl Checks for libraries.
+# Checks for libraries.
AC_CHECK_LIB(m, log)
-dnl curses
+# curses
sinclude(curses.m4)
AC_CHECK_CURSES
-dnl Checks for X11
+# Checks for X11
AC_PATH_XTRA
-dnl drivers
+# drivers
AC_MSG_CHECKING([which drivers to compile])
AC_ARG_WITH(
drivers,
if test "$BECKMANNEGLE" = "yes"; then
DRIVERS="$DRIVERS BeckmannEgle.o"
- AC_DEFINE(WITH_BECKMANNEGLE)
+ AC_DEFINE(WITH_BECKMANNEGLE,1,[junk])
fi
if test "$CRYSTALFONTZ" = "yes"; then
DRIVERS="$DRIVERS Crystalfontz.o"
- AC_DEFINE(WITH_CRYSTALFONTZ)
+ AC_DEFINE(WITH_CRYSTALFONTZ,1,[junk])
fi
if test "$CWLINUX" = "yes"; then
DRIVERS="$DRIVERS Cwlinux.o"
- AC_DEFINE(WITH_CWLINUX)
+ AC_DEFINE(WITH_CWLINUX,1,[junk])
fi
if test "$HD44780" = "yes"; then
DRIVERS="$DRIVERS HD44780.o"
- AC_DEFINE(WITH_HD44780)
+ AC_DEFINE(WITH_HD44780,1,[junk])
fi
if test "$M50530" = "yes"; then
DRIVERS="$DRIVERS M50530.o"
- AC_DEFINE(WITH_M50530)
+ AC_DEFINE(WITH_M50530,1,[junk])
fi
if test "$T6963" = "yes"; then
DRIVERS="$DRIVERS T6963.o"
- AC_DEFINE(WITH_T6963)
+ AC_DEFINE(WITH_T6963,1,[junk])
fi
if test "$USBLCD" = "yes"; then
DRIVERS="$DRIVERS USBLCD.o"
- AC_DEFINE(WITH_USBLCD)
+ AC_DEFINE(WITH_USBLCD,1,[junk])
fi
if test "$MATRIXORBITAL" = "yes"; then
DRIVERS="$DRIVERS MatrixOrbital.o"
- AC_DEFINE(WITH_MATRIXORBITAL)
+ AC_DEFINE(WITH_MATRIXORBITAL,1,[junk])
fi
if test "$PALMPILOT" = "yes"; then
DRIVERS="$DRIVERS PalmPilot.o"
- AC_DEFINE(WITH_PALMPILOT)
+ AC_DEFINE(WITH_PALMPILOT,1,[junk])
fi
if test "$PNG" = "yes"; then
RASTER="yes"
- AC_DEFINE(WITH_PNG)
+ AC_DEFINE(WITH_PNG,1,[junk])
DRVLIBS="$DRVLIBS -lgd"
fi
if test "$PPM" = "yes"; then
RASTER="yes"
- AC_DEFINE(WITH_PPM)
+ AC_DEFINE(WITH_PPM,1,[junk])
fi
if test "$SIN" = "yes"; then
DRIVERS="$DRIVERS SIN.o"
- AC_DEFINE(WITH_SIN)
+ AC_DEFINE(WITH_SIN,1,[junk])
fi
if test "$SKELETON" = "yes"; then
DRIVERS="$DRIVERS Skeleton.o"
- AC_DEFINE(WITH_SKELETON)
+ AC_DEFINE(WITH_SKELETON,1,[junk])
fi
if test "$TEXT" = "yes"; then
DRIVERS="$DRIVERS Text.o"
DRVLIBS="$DRVLIBS $CURSES_LIBS"
CPPFLAGS="$CPPFLAGS $CURSES_INCLUDES"
- AC_DEFINE(WITH_TEXT)
+ AC_DEFINE(WITH_TEXT,1,[junk])
else
AC_MSG_WARN(curses not found: Text driver disabled)
fi
else
DRIVERS="$DRIVERS XWindow.o"
DRVLIBS="$DRVLIBS -L$ac_x_libraries -lX11"
- AC_DEFINE(WITH_X11)
+ AC_DEFINE(WITH_X11,1,[junk])
fi
fi
-dnl Raster.o depends on PPM or PNG
+# Raster.o depends on PPM or PNG
if test "$RASTER" = "yes"; then
DRIVERS="$DRIVERS Raster.o"
fi
AC_SUBST(DRIVERS)
AC_SUBST(DRVLIBS)
-dnl Checks for header files.
+# Checks for header files.
AC_HEADER_STDC
AC_HEADER_DIRENT
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(net/if_ppp.h)
AC_CHECK_HEADERS(asm/msr.h)
-dnl Checks for typedefs, structures, and compiler characteristics.
+# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_PID_T
AC_STRUCT_TM
AC_TYPE_UID_T
-dnl Checks for library functions.
+# Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
dnl Curses detection: Munged from Midnight Commander's configure.in
-dnl stolen from pinfo/macros
dnl
dnl What it does:
dnl =============
dnl - Determine which version of curses is installed on your system
dnl and set the -I/-L/-l compiler entries and add a few preprocessor
dnl symbols
-dnl - Do an AC_SUBST on the CURSES_INCLUDES and CURSES_LIBS so that
-dnl @CURSES_INCLUDES@ and @CURSES_LIBS@ will be available in
+dnl - Do an AC_SUBST on the CURSES_INCLUDEDIR and CURSES_LIBS so that
+dnl @CURSES_INCLUDEDIR@ and @CURSES_LIBS@ will be available in
dnl Makefile.in's
dnl - Modify the following configure variables (these are the only
dnl curses.m4 variables you can access from within configure.in)
-dnl CURSES_INCLUDES - contains -I's and possibly -DRENAMED_CURSES if
+dnl CURSES_INCLUDEDIR - contains -I's and possibly -DRENAMED_CURSES if
dnl an ncurses.h that's been renamed to curses.h
dnl is found.
dnl CURSES_LIBS - sets -L and -l's appropriately
-dnl CPPFLAGS - if --with-sco, add -D_SVID3
+dnl CFLAGS - if --with-sco, add -D_SVID3
dnl has_curses - exports result of tests to rest of configure
dnl
dnl Usage:
dnl #include <curses.h>
dnl #endif
dnl
-dnl 4) Make sure to add @CURSES_INCLUDES@ to your preprocessor flags
+dnl 4) Make sure to add @CURSES_INCLUDEDIR@ to your preprocessor flags
dnl 5) Make sure to add @CURSES_LIBS@ to your linker flags or LIBS
dnl
dnl Notes with automake:
dnl configure.in
dnl - your Makefile.am can look something like this
dnl -----------------------------------------------
-dnl INCLUDES= blah blah blah $(CURSES_INCLUDES)
+dnl INCLUDES= blah blah blah $(CURSES_INCLUDEDIR)
dnl if HAS_CURSES
dnl CURSES_TARGETS=name_of_curses_prog
dnl endif
dnl
-AC_DEFUN(AC_CHECK_CURSES,[
+AC_DEFUN([AC_CHECK_CURSES],[
search_ncurses=true
screen_manager=""
has_curses=false
CFLAGS=${CFLAGS--O}
AC_SUBST(CURSES_LIBS)
- AC_SUBST(CURSES_INCLUDES)
+ AC_SUBST(CURSES_INCLUDEDIR)
AC_ARG_WITH(sco,
[ --with-sco Use this to turn on SCO-specific code],[
if test x$withval = xyes; then
- AC_DEFINE(SCO_FLAVOR)
- CPPFLAGS="$CPPFLAGS -D_SVID3"
+ AC_DEFINE(SCO_FLAVOR,1,[Define if you want to turn on SCO-specific code])
+ CFLAGS="$CFLAGS -D_SVID3"
fi
])
AC_ARG_WITH(vcurses,
[ --with-vcurses[=incdir] Used to force SysV curses],
if test x$withval != xyes; then
- CURSES_INCLUDES="-I$withval"
+ CURSES_INCLUDEDIR="-I$withval"
fi
AC_USE_SYSV_CURSES
)
search_ncurses=false
elif test x$withval != xyes ; then
CURSES_LIBS="$LIBS -L$withval/lib -lncurses"
- CURSES_INCLUDES="-I$withval/include"
+ CURSES_INCLUDEDIR="-I$withval/include"
search_ncurses=false
screen_manager="ncurses"
- AC_DEFINE(USE_NCURSES)
- AC_DEFINE(HAS_CURSES)
+ AC_DEFINE(USE_NCURSES,1,[Use Ncurses?])
+ AC_DEFINE(HAS_CURSES,1,[Found some version of curses that we're going to use])
has_curses=true
- use_ncurses=true
fi
)
then
AC_SEARCH_NCURSES()
fi
-
+
+
])
-AC_DEFUN(AC_USE_SUNOS_CURSES, [
+AC_DEFUN([AC_USE_SUNOS_CURSES], [
search_ncurses=false
screen_manager="SunOS 4.x /usr/5include curses"
AC_MSG_RESULT(Using SunOS 4.x /usr/5include curses)
- AC_DEFINE(USE_SUNOS_CURSES)
- AC_DEFINE(HAS_CURSES)
+ AC_DEFINE(USE_SUNOS_CURSES,1,[Use SunOS SysV curses?])
+ AC_DEFINE(HAS_CURSES,1,[Found some version of curses that we're going to use])
has_curses=true
- AC_DEFINE(NO_COLOR_CURSES)
- AC_DEFINE(USE_SYSV_CURSES)
- CURSES_INCLUDES="-I/usr/5include"
+ AC_DEFINE(NO_COLOR_CURSES,1,[If you Curses does not have color define this one])
+ AC_DEFINE(USE_SYSV_CURSES,1,[Use SystemV curses?])
+ CURSES_INCLUDEDIR="-I/usr/5include"
CURSES_LIBS="/usr/5lib/libcurses.a /usr/5lib/libtermcap.a"
AC_MSG_RESULT(Please note that some screen refreshs may fail)
])
-AC_DEFUN(AC_USE_OSF1_CURSES, [
+AC_DEFUN([AC_USE_OSF1_CURSES], [
AC_MSG_RESULT(Using OSF1 curses)
search_ncurses=false
screen_manager="OSF1 curses"
- AC_DEFINE(HAS_CURSES)
+ AC_DEFINE(HAS_CURSES,1,[Found some version of curses that we're going to use])
has_curses=true
- AC_DEFINE(NO_COLOR_CURSES)
- AC_DEFINE(USE_SYSV_CURSES)
+ AC_DEFINE(NO_COLOR_CURSES,1,[If you Curses does not have color define this one])
+ AC_DEFINE(USE_SYSV_CURSES,1,[Use SystemV curses?])
CURSES_LIBS="-lcurses"
])
-AC_DEFUN(AC_USE_SYSV_CURSES, [
+AC_DEFUN([AC_USE_SYSV_CURSES], [
AC_MSG_RESULT(Using SysV curses)
- AC_DEFINE(HAS_CURSES)
+ AC_DEFINE(HAS_CURSES,1,[Found some version of curses that we're going to use])
has_curses=true
- AC_DEFINE(USE_SYSV_CURSES)
+ AC_DEFINE(USE_SYSV_CURSES,1,[Use SystemV curses?])
search_ncurses=false
screen_manager="SysV/curses"
CURSES_LIBS="-lcurses"
dnl fi
dnl
dnl CURSES_LIBS="-l$THIS_CURSES -ltermcap"
-dnl AC_DEFINE(HAS_CURSES)
+dnl AC_DEFINE(HAS_CURSES,1,[Found some version of curses that we're going to use])
dnl has_curses=true
-dnl AC_DEFINE(USE_BSD_CURSES)
+dnl AC_DEFINE(USE_BSD_CURSES,1,[Use old BSD curses - not used right now])
dnl AC_MSG_RESULT(Please note that some screen refreshs may fail)
-dnl AC_WARN(Use of the bsdcurses extension has some)
-dnl AC_WARN(display/input problems.)
-dnl AC_WARN(Reconsider using xcurses)
+dnl AC_MSG_WARN(Use of the bsdcurses extension has some)
+dnl AC_MSG_WARN(display/input problems.)
+dnl AC_MSG_WARN(Reconsider using xcurses)
dnl)
dnl
-dnl Parameters: directory filename cureses_LIBS curses_INCLUDES nicename
+dnl Parameters: directory filename cureses_LIBS curses_INCLUDEDIR nicename
dnl
-AC_DEFUN(AC_NCURSES, [
+AC_DEFUN([AC_NCURSES], [
if $search_ncurses
then
if test -f $1/$2
then
AC_MSG_RESULT(Found ncurses on $1/$2)
CURSES_LIBS="$3"
- CURSES_INCLUDES="$4"
+ CURSES_INCLUDEDIR="$4"
search_ncurses=false
screen_manager=$5
- AC_DEFINE(HAS_CURSES)
+ AC_DEFINE(HAS_CURSES,1,[Found some version of curses that we're going to use])
has_curses=true
- AC_DEFINE(USE_NCURSES)
- use_ncurses=true
+ AC_DEFINE(USE_NCURSES,1,[Use Ncurses?])
fi
fi
])
-AC_DEFUN(AC_SEARCH_NCURSES, [
+AC_DEFUN([AC_SEARCH_NCURSES], [
AC_CHECKING("location of ncurses.h file")
AC_NCURSES(/usr/include, ncurses.h, -lncurses,, "ncurses on /usr/include")
USE_NCURSES
#endif
],[
- CURSES_INCLUDES="$CURSES_INCLUDES -DRENAMED_NCURSES"
- AC_DEFINE(HAS_CURSES)
+ CURSES_INCLUDEDIR="$CURSES_INCLUDEDIR -DRENAMED_NCURSES"
+ AC_DEFINE(HAS_CURSES,1,[Found some version of curses that we're going to use])
has_curses=true
- AC_DEFINE(USE_NCURSES)
- use_ncurses=true
+ AC_DEFINE(USE_NCURSES,1,[Use Ncurses?])
search_ncurses=false
screen_manager="ncurses installed as curses"
])
#undef VERSION
VERSION:NCURSES_VERSION
EOF
- if (eval "$ac_cpp $CURSES_INCLUDES conftest.$ac_ext") 2>&AC_FD_CC |
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&AC_FD_CC |
egrep "VERSION:" >conftest.out 2>&1; then
changequote(,)dnl
ncurses_version=`cat conftest.out|sed -e 's/^[^"]*"//' -e 's/".*//'`
changequote(,)dnl
4.[01])
changequote([,])dnl
- AC_DEFINE(NCURSES_970530,2)
+ AC_DEFINE(NCURSES_970530,2,[Set to reflect version of ncurses])
;;
1.9.9g)
- AC_DEFINE(NCURSES_970530,1)
+ AC_DEFINE(NCURSES_970530,1,[Set to reflect version of ncurses])
;;
1*)
- AC_DEFINE(NCURSES_970530,0)
+ AC_DEFINE(NCURSES_970530,0,[Set to reflect version of ncurses])
;;
esac
fi
])
+
+
+
+