~siretart/lcd4linux/debian

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Reinhard Tartler
  • Date: 2011-04-27 17:28:49 UTC
  • mfrom: (0.1.1 upstream)
  • Revision ID: siretart@tauware.de-20110427172849-mj5cj5a0igpcc9fn
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Process this file with autoconf to produce a configure script.
3
3
 
4
4
 
5
 
# $Id: configure.in 773 2007-02-25 12:39:09Z michael $
6
 
# $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/configure.in $
 
5
# $Id: configure.in 1069 2009-11-21 18:19:09Z edman007 $
 
6
# $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/configure.in $
7
7
 
8
8
 
9
9
# LCD4Linux autoconf script
10
10
#
11
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Michael Reinelt <reinelt@eunet.at>
 
11
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Michael Reinelt <michael@reinelt.co.at>
12
12
# Copyright (C) 2004, 2005, 2006, 2007 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
13
13
#
14
14
# This file is part of LCD4Linux.
28
28
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29
29
 
30
30
AC_PREREQ(2.59)
31
 
AC_INIT([LCD4Linux],[0.10.1-RC2],[lcd4linux-users@lists.sourceforge.net])
 
31
AC_INIT([LCD4Linux],[0.11.0-SVN],[lcd4linux-users@lists.sourceforge.net])
32
32
AC_CONFIG_SRCDIR([lcd4linux.c])
33
 
AM_INIT_AUTOMAKE([lcd4linux],0.10.1-RC2)
 
33
AM_INIT_AUTOMAKE([lcd4linux],0.11.0-SVN)
34
34
AM_CONFIG_HEADER(config.h)
35
35
 
36
36
# Checks for programs.
39
39
AC_PROG_INSTALL
40
40
AC_PROG_LN_S
41
41
AC_PROG_MAKE_SET
 
42
PKG_PROG_PKG_CONFIG
42
43
 
43
44
# dmalloc
44
45
AM_WITH_DMALLOC
65
66
# check for gd.h
66
67
AC_CHECK_HEADERS(gd/gd.h gd.h, [has_gd="true"; break], [has_gd="false"])
67
68
 
 
69
# check for sys/io.h (RouterBoard driver)
 
70
AC_CHECK_HEADERS(sys/io.h, [has_io_h="true"], [has_io_h="false"])
 
71
 
68
72
# check for usb.h
69
73
AC_CHECK_HEADERS(usb.h, [has_usb="true"], [has_usb="false"])
70
74
 
74
78
# check for serdisplib
75
79
AC_CHECK_HEADERS(serdisplib/serdisp.h, [has_serdisplib="true"], [has_serdisplib="false"])
76
80
 
 
81
# check for st2205 libs
 
82
AC_CHECK_HEADERS(st2205.h, [has_st2205="true"], [has_st2205="false"])
 
83
 
 
84
# check for vncserver libs
 
85
AC_CHECK_HEADERS(rfb/rfb.h, [has_vncserverlib="true"], [has_vncserverlib="false"])
 
86
 
77
87
# check for LCD-Linux
78
88
AC_CHECK_HEADERS(linux/lcd-linux.h linux/hd44780.h, [has_lcd_linux="true"], [has_lcd_linux="false"; break])
79
89
 
 
90
# check for ftdi.h (ULA200)
 
91
AC_CHECK_HEADERS(ftdi.h, [has_ftdi="true"], [has_ftdi="false"; break])
 
92
 
80
93
# check for python
81
94
AC_MSG_CHECKING(if python support is wanted)
82
95
AC_ARG_WITH(python,
83
96
[  --with-python           enable python support [[default=no]]],
84
97
[AC_MSG_RESULT($withval)], [AC_MSG_RESULT(no)])
 
98
 
85
99
if test "$with_python" = "yes"; then
86
 
  sinclude(ax_python_devel.m4)
87
 
  AC_PYTHON_DEVEL
 
100
    sinclude(ax_python_devel.m4)
 
101
    AC_PYTHON_DEVEL
88
102
fi
89
103
 
 
104
# check for parport
 
105
#AC_CHECK_HEADERS(asm/io.h)
 
106
AC_CHECK_HEADERS([asm/io.h] [linux/parport.h linux/ppdev.h], [has_parport="true"], [has_parport="false"])
 
107
 
90
108
# drivers
91
109
sinclude(drivers.m4)
92
110
 
97
115
AC_HEADER_DIRENT
98
116
AC_HEADER_STDC
99
117
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h sys/vfs.h syslog.h termios.h unistd.h])
100
 
AC_CHECK_HEADERS(sys/io.h asm/io.h)
101
 
AC_CHECK_HEADERS(linux/parport.h linux/ppdev.h)
102
118
 
103
119
# Checks for typedefs, structures, and compiler characteristics.
104
120
AC_C_CONST
135
151
 
136
152
AC_CONFIG_FILES([Makefile])
137
153
AC_OUTPUT
 
154
 
 
155
AC_MSG_RESULT(
 
156
[-----------------------------------------]
 
157
[including drivers:]
 
158
[  $DRIVERS]
 
159
[-----------------------------------------]
 
160
[including plugins:]
 
161
[  $PLUGINS]
 
162
[-----------------------------------------]
 
163
)
 
164
 
 
165
AC_CONFIG_MACRO_DIR([m4])
 
166
LT_INIT