libftdi-git Archives

Subject: port libftdi to libusb-1.0 branch, master, updated. v0.17-276-g9a602b8

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 29 Sep 2011 11:08:10 +0200 (CEST)
The branch, master has been updated
       via  9a602b8a7d7963b7d19fed7da68899ed39ac720f (commit)
       via  764e223d730d3503bcbcc81748b3cb4709956747 (commit)
       via  84b31f6f01ef644c8d68fdcecb30c1112329281d (commit)
       via  594a696965f32a02bf5a0a4a92191820dad1cf4b (commit)
       via  5c561052c19bcc6a3591afaddf2068c427fbabe5 (commit)
       via  279f5b84cdde81140cb028747343e63afc952d99 (commit)
      from  b9c1e31765740e24a34112a3df58e95646b2316b (commit)


- Log -----------------------------------------------------------------
commit 9a602b8a7d7963b7d19fed7da68899ed39ac720f
Merge: b9c1e31765740e24a34112a3df58e95646b2316b 
764e223d730d3503bcbcc81748b3cb4709956747
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Thu Sep 29 11:06:52 2011 +0200

    Merge branch 'autoconf-removal'

-----------------------------------------------------------------------

Summary of changes:
 .gitignore                  |   19 ----
 CMakeLists.txt              |    8 ++-
 Makefile.am                 |   20 ----
 Makefile.cvs                |    4 -
 README                      |   18 +---
 acinclude.m4                |  228 -------------------------------------------
 bindings/Makefile.am        |    3 -
 bindings/python/Makefile.am |   61 ------------
 bindings/python/setup.py.in |   17 ---
 configure.in                |  136 -------------------------
 doc/Makefile.am             |   12 ---
 doc/release-checklist.txt   |    5 -
 examples/Makefile.am        |   45 ---------
 ftdipp/Makefile.am          |   15 ---
 src/Makefile.am             |   12 ---
 stamp-h.in                  |    1 -
 templates/c                 |   19 ----
 templates/h                 |   19 ----
 18 files changed, 9 insertions(+), 633 deletions(-)
 delete mode 100644 Makefile.am
 delete mode 100644 Makefile.cvs
 delete mode 100644 acinclude.m4
 delete mode 100644 bindings/Makefile.am
 delete mode 100644 bindings/python/Makefile.am
 delete mode 100644 bindings/python/setup.py.in
 delete mode 100644 configure.in
 delete mode 100644 doc/Makefile.am
 delete mode 100644 examples/Makefile.am
 delete mode 100644 ftdipp/Makefile.am
 delete mode 100644 src/Makefile.am
 delete mode 100644 stamp-h.in
 delete mode 100644 templates/c
 delete mode 100644 templates/h

diff --git a/.gitignore b/.gitignore
index 6a51712..dcf277d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,22 +10,6 @@
 .kdev4/
 build/
 
-# Automake
-Makefile
-Makefile.in
-autom4te.cache
-aclocal.m4
-libtool
-stamp-h1
-configure
-config.*
-*.substvars
-ltmain.sh
-missing
-install-sh
-depcomp
-INSTALL
-
 # kdevelop
 *.kdevelop.pcs
 *.kdevses
@@ -47,9 +31,6 @@ examples/find_all_pp
 examples/serial_test
 examples/simple
 
-# python bindings
-bindings/python/setup.py
-
 # Backup files and stuff from patches
 *.orig
 *.rej
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 30f8a9f..f7df0a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
 # Project
 project(libftdi)
 set(MAJOR_VERSION 0)
-set(MINOR_VERSION 17)
+set(MINOR_VERSION 99)
 set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION})
 SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}")
 
@@ -101,6 +101,12 @@ add_subdirectory(examples)
 add_subdirectory(packages)
 add_subdirectory(test)
 
+# "make dist" target
+set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${VERSION_STRING})
+add_custom_target(dist
+    COMMAND git archive --prefix=${ARCHIVE_NAME}/ HEAD
+            | bzip2 > ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.bz2
+    WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
 
 
 # Documentation
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index aa41516..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-# not a GNU package. You can remove this line, if
-# have all needed files, that a GNU package needs
-AUTOMAKE_OPTIONS = foreign 1.4
-
-SUBDIRS = src bindings $(LIBFTDI_MODULES) examples doc
-
-EXTRA_DIST = libftdi.spec libftdi.spec.in COPYING.LIB COPYING.GPL LICENSE \
-             README AUTHORS ChangeLog libftdi-config.in CMakeLists.txt \
-             packages COPYING-CMAKE-SCRIPTS FindUSB.cmake README.mingw \
-             Toolchain-mingw32.cmake Toolchain-Crossbuild32.cmake
-
-bin_SCRIPTS = libftdi-config
-
-# Install the pkg-config file:
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libftdi.pc $(LIBFTDI_MODULES_PKGCONFIG)
-
-USB_LIBS = @USB_LIBS@
-
-ACLOCAL_AMFLAGS=-I m4
diff --git a/Makefile.cvs b/Makefile.cvs
deleted file mode 100644
index 5f31aa2..0000000
--- a/Makefile.cvs
+++ /dev/null
@@ -1,4 +0,0 @@
-default: all
-
-all:
-       autoreconf --install
diff --git a/README b/README
index 7511e63..30821cb 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 --------------------------------------------------------------------
-libftdi version 0.17
+libftdi version 0.99
 --------------------------------------------------------------------
 
 libftdi - A library (using libusb) to talk to FTDI's UART/FIFO chips
@@ -15,26 +15,12 @@ The following chips are supported:
 The AUTHORS file contains a list of all the people
 that made libftdi possible what it is today.
 
-Many thanks to Marek Vavruša for providing
-the initial C++ wrapper implementation.
-
 Changes
 -------
-* C++ wrapper: Reopen the device after calling get_strings() in 
Context::open() (Marek Vavruša and Intra2net)
-* C++ wrapper: Fixed an inheritance problem (Marek Vavruša and Intra2net)
-* C++ wrapper: Relicensed under GPLv2 + linking exception (Marek Vavruša and 
Intra2net)
-* Support for FT2232H and FT4232H (David Challis, Alex Harford and Intra2net)
-* Support for mingw cross compile (Uwe Bonnes)
-* Python bindings and minor autoconf cleanup (Tarek Heiland)
-* Code cleanup in various places (Intra2net)
-* Fixed ftdi_read_chipid in some cases (Matthias Richter)
-* eeprom decode function and small cleanups (Marius Kintel)
-* cmake system improvements (Marius Kintel and Intra2net)
-* Fix compilation in -ansi -pedantic mode (Matthias Janke)
 
 You'll find the newest version of libftdi at:
 http://www.intra2net.com/en/developer/libftdi
 
 --------------------------------------------------------------------
-www.intra2net.com                             2003-2009 Intra2net AG
+www.intra2net.com                             2003-201x Intra2net AG
 --------------------------------------------------------------------
diff --git a/acinclude.m4 b/acinclude.m4
deleted file mode 100644
index 6d10141..0000000
--- a/acinclude.m4
+++ /dev/null
@@ -1,228 +0,0 @@
-# ===========================================================================
-#             http://autoconf-archive.cryp.to/ax_boost_base.html
-# ===========================================================================
-#
-# SYNOPSIS
-#
-#   AX_BOOST_BASE([MINIMUM-VERSION])
-#
-# DESCRIPTION
-#
-#   Test for the Boost C++ libraries of a particular version (or newer)
-#
-#   If no path to the installed boost library is given the macro searchs
-#   under /usr, /usr/local, /opt and /opt/local and evaluates the
-#   $BOOST_ROOT environment variable. Further documentation is available at
-#   <http://randspringer.de/boost/index.html>.
-#
-#   This macro calls:
-#
-#     AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
-#
-#   And sets:
-#
-#     HAVE_BOOST
-#
-# LAST MODIFICATION
-#
-#   2008-04-12
-#
-# COPYLEFT
-#
-#   Copyright (c) 2008 Thomas Porschberg <thomas@xxxxxxxxxxxxxxx>
-#
-#   Copying and distribution of this file, with or without modification, are
-#   permitted in any medium without royalty provided the copyright notice
-#   and this notice are preserved.
-
-AC_DEFUN([AX_BOOST_BASE],
-[
-AC_ARG_WITH([boost],
-       AS_HELP_STRING([--with-boost@<:@=DIR@:>@], [use boost (default is yes) 
- it is possible to specify the root directory for boost (optional)]),
-       [
-    if test "$withval" = "no"; then
-               want_boost="no"
-    elif test "$withval" = "yes"; then
-        want_boost="yes"
-        ac_boost_path=""
-    else
-           want_boost="yes"
-        ac_boost_path="$withval"
-       fi
-    ],
-    [want_boost="yes"])
-
-
-AC_ARG_WITH([boost-libdir],
-        AS_HELP_STRING([--with-boost-libdir=LIB_DIR],
-        [Force given directory for boost libraries. Note that this will 
overwrite library path detection, so use this parameter only if default library 
detection fails and you know exactly where your boost libraries are located.]),
-        [
-        if test -d $withval
-        then
-                ac_boost_lib_path="$withval"
-        else
-                AC_MSG_ERROR(--with-boost-libdir expected directory name)
-        fi
-        ],
-        [ac_boost_lib_path=""]
-)
-
-if test "x$want_boost" = "xyes"; then
-       boost_lib_version_req=ifelse([$1], ,1.20.0,$1)
-       boost_lib_version_req_shorten=`expr $boost_lib_version_req : 
'\([[0-9]]*\.[[0-9]]*\)'`
-       boost_lib_version_req_major=`expr $boost_lib_version_req : 
'\([[0-9]]*\)'`
-       boost_lib_version_req_minor=`expr $boost_lib_version_req : 
'[[0-9]]*\.\([[0-9]]*\)'`
-       boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : 
'[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'`
-       if test "x$boost_lib_version_req_sub_minor" = "x" ; then
-               boost_lib_version_req_sub_minor="0"
-       fi
-       WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+  
$boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
-       AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req)
-       succeeded=no
-
-       dnl first we check the system location for boost libraries
-       dnl this location ist chosen if boost libraries are installed with the 
--layout=system option
-       dnl or if you install boost with RPM
-       if test "$ac_boost_path" != ""; then
-               BOOST_LDFLAGS="-L$ac_boost_path/lib"
-               BOOST_CPPFLAGS="-I$ac_boost_path/include"
-       elif test "$cross_compiling" != yes; then
-               for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
-                       if test -d "$ac_boost_path_tmp/include/boost" && test 
-r "$ac_boost_path_tmp/include/boost"; then
-                               BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
-                               BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
-                               break;
-                       fi
-               done
-       fi
-
-    dnl overwrite ld flags if we have required special directory with
-    dnl --with-boost-libdir parameter
-    if test "$ac_boost_lib_path" != ""; then
-       BOOST_LDFLAGS="-L$ac_boost_lib_path"
-    fi
-
-       CPPFLAGS_SAVED="$CPPFLAGS"
-       CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
-       export CPPFLAGS
-
-       LDFLAGS_SAVED="$LDFLAGS"
-       LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
-       export LDFLAGS
-
-       AC_LANG_PUSH(C++)
-       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-       @%:@include <boost/version.hpp>
-       ]], [[
-       #if BOOST_VERSION >= $WANT_BOOST_VERSION
-       // Everything is okay
-       #else
-       #  error Boost version is too old
-       #endif
-       ]])],[
-        AC_MSG_RESULT(yes)
-       succeeded=yes
-       found_system=yes
-               ],[
-               ])
-       AC_LANG_POP([C++])
-
-
-
-       dnl if we found no boost with system layout we search for boost 
libraries
-       dnl built and installed without the --layout=system option or for a 
staged(not installed) version
-       if test "x$succeeded" != "xyes"; then
-               _version=0
-               if test "$ac_boost_path" != ""; then
-                       if test -d "$ac_boost_path" && test -r 
"$ac_boost_path"; then
-                               for i in `ls -d $ac_boost_path/include/boost-* 
2>/dev/null`; do
-                                       _version_tmp=`echo $i | sed 
"s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
-                                       V_CHECK=`expr $_version_tmp \> 
$_version`
-                                       if test "$V_CHECK" = "1" ; then
-                                               _version=$_version_tmp
-                                       fi
-                                       VERSION_UNDERSCORE=`echo $_version | 
sed 's/\./_/'`
-                                       
BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
-                               done
-                       fi
-               else
-                       if test "$cross_compiling" != yes; then
-                               for ac_boost_path in /usr /usr/local /opt 
/opt/local ; do
-                                       if test -d "$ac_boost_path" && test -r 
"$ac_boost_path"; then
-                                               for i in `ls -d 
$ac_boost_path/include/boost-* 2>/dev/null`; do
-                                                       _version_tmp=`echo $i | 
sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
-                                                       V_CHECK=`expr 
$_version_tmp \> $_version`
-                                                       if test "$V_CHECK" = 
"1" ; then
-                                                               
_version=$_version_tmp
-                                                               
best_path=$ac_boost_path
-                                                       fi
-                                               done
-                                       fi
-                               done
-
-                               VERSION_UNDERSCORE=`echo $_version | sed 
's/\./_/'`
-                               
BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
-                               if test "$ac_boost_lib_path" = ""
-                               then
-                                       BOOST_LDFLAGS="-L$best_path/lib"
-                               fi
-
-                       fi
-
-                       if test "x$BOOST_ROOT" != "x"; then
-                               if test -d "$BOOST_ROOT" && test -r 
"$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r 
"$BOOST_ROOT/stage/lib"; then
-                                       version_dir=`expr //$BOOST_ROOT : 
'.*/\(.*\)'`
-                                       stage_version=`echo $version_dir | sed 
's/boost_//' | sed 's/_/./g'`
-                                       stage_version_shorten=`expr 
$stage_version : '\([[0-9]]*\.[[0-9]]*\)'`
-                                       V_CHECK=`expr $stage_version_shorten 
\>\= $_version`
-                    if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; 
then
-                                               AC_MSG_NOTICE(We will use a 
staged boost library from $BOOST_ROOT)
-                                               BOOST_CPPFLAGS="-I$BOOST_ROOT"
-                                               
BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib"
-                                       fi
-                               fi
-                       fi
-               fi
-
-               CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
-               export CPPFLAGS
-               LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
-               export LDFLAGS
-
-               AC_LANG_PUSH(C++)
-               AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-               @%:@include <boost/version.hpp>
-               ]], [[
-               #if BOOST_VERSION >= $WANT_BOOST_VERSION
-               // Everything is okay
-               #else
-               #  error Boost version is too old
-               #endif
-               ]])],[
-               AC_MSG_RESULT(yes)
-               succeeded=yes
-               found_system=yes
-                       ],[
-               ])
-               AC_LANG_POP([C++])
-       fi
-
-       if test "$succeeded" != "yes" ; then
-               if test "$_version" = "0" ; then
-                       AC_MSG_NOTICE([[We could not detect the boost libraries 
(version $boost_lib_version_req_shorten or higher). If you have a staged boost 
library (still not installed) please specify \$BOOST_ROOT in your environment 
and do not give a PATH to --with-boost option.  If you are sure you have boost 
installed, then check your version number looking in <boost/version.hpp>. See 
http://randspringer.de/boost for more documentation.]])
-               else
-                       AC_MSG_NOTICE([Your boost libraries seems to old 
(version $_version).])
-               fi
-        HAVE_BOOST=no
-       else
-               AC_SUBST(BOOST_CPPFLAGS)
-               AC_SUBST(BOOST_LDFLAGS)
-               AC_DEFINE(HAVE_BOOST,,[define if the Boost library is 
available])
-        HAVE_BOOST=yes
-       fi
-
-        CPPFLAGS="$CPPFLAGS_SAVED"
-               LDFLAGS="$LDFLAGS_SAVED"
-fi
-
-])
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
deleted file mode 100644
index 8bff1d3..0000000
--- a/bindings/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-SUBDIRS =      python
- 
-EXTRA_DIST =   ftdi.i CMakeLists.txt
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
deleted file mode 100644
index 01de1fe..0000000
--- a/bindings/python/Makefile.am
+++ /dev/null
@@ -1,61 +0,0 @@
-
-## Process this file with automake to produce Makefile.in
-
-if HAVE_SWIG
-if HAVE_PYTHON
-if ENABLE_PYTHON_BINDING
-
-LIBFTDI_INTERFACE =    $(top_srcdir)/src/ftdi.h 
-SWIG_INTERFACE =       ../ftdi.i
-
-BUILT_SOURCES =                ftdi_wrap.c ftdi.py
-CLEANFILES =           ftdi_wrap.c ftdi.py
-
-all-local:     ftdi_wrap.c ftdi.py
-       @case "`uname`" in \
-         MINGW*) \
-               $(PYTHON) setup.py build --compiler=mingw32 \
-         ;; \
-         *) \
-               CPPFLAGS="$(CPPFLAGS)" $(PYTHON) setup.py build \
-         ;; \
-       esac;
-
-# python on MinGW/MSYS requires pure Windows style paths
-# Using following (cd $dir && pwd -W) hack to get a nearly
-# native Windows path, then translating the forward slash
-# to a backward slash to make python distutils jolly.
-# P.S. the backslash has to be escaped thrice, hence a single
-# backslash turns into a sequence of eight (neat, huh?)
-#
-install-exec-local:
-       @case "`uname`" in \
-         MINGW*) \
-               NATIVE_WINDOWS_PREFIX="`cd $(DESTDIR)$(prefix) && pwd -W`"; \
-               NATIVE_WINDOWS_PREFIX="`echo $$NATIVE_WINDOWS_PREFIX | sed -e 
's|/|\\\\\\\\|g'`"; \
-               $(PYTHON) setup.py install --prefix="$$NATIVE_WINDOWS_PREFIX" \
-         ;; \
-         *) \
-               CPPFLAGS="$(CPPFLAGS)" $(PYTHON) setup.py install 
--prefix=$(DESTDIR)$(prefix) \
-         ;; \
-       esac;
-
-# This rule cleans up stuff installed by Python's setup.py
-# Unfortunately, Python's distutils do not provide an uninstall
-# command, so we have to make up for it here in uninstall-local
-# hook. This might break if distutils' behaviour changes as automake
-# has no control over what distutils install command does.
-#
-uninstall-local:
-       rm -rf $(DESTDIR)$(libdir)/python*/site-packages/*ftdi*
-
-clean-local:
-       $(PYTHON) setup.py clean --all
-
-ftdi_wrap.c ftdi.py:   $(SWIG_INTERFACE) $(LIBFTDI_INTERFACE)
-       $(SWIG) -python -I$(top_srcdir)/src -o ftdi_wrap.c -outdir . 
$(srcdir)/$(SWIG_INTERFACE)
-
-
-endif # ENABLE_PYTHON_BINDING
-endif # HAVE_PYTHON
-endif # HAVE_SWIG
diff --git a/bindings/python/setup.py.in b/bindings/python/setup.py.in
deleted file mode 100644
index 0cc7c4a..0000000
--- a/bindings/python/setup.py.in
+++ /dev/null
@@ -1,17 +0,0 @@
-# Process this file with configure to produce setup.py
-
-from distutils.core import setup, Extension
-setup(name='@PACKAGE_NAME@',
-      version='@PACKAGE_VERSION@',
-      description='libftdi Python binding',
-      author='Tarek Heiland',
-      author_email='@PACKAGE_BUGREPORT@',
-      maintainer='',
-      maintainer_email='@PACKAGE_BUGREPORT@',
-      url='',
-      py_modules=['ftdi'],
-      ext_modules=[Extension('_ftdi', ['ftdi_wrap.c'],
-                             include_dirs=['@top_srcdir@/src'],
-                             
library_dirs=['@top_builddir@/src/.libs','lib','/usr/lib'],
-                             libraries=['ftdi'])],
-      )
diff --git a/configure.in b/configure.in
deleted file mode 100644
index 9597311..0000000
--- a/configure.in
+++ /dev/null
@@ -1,136 +0,0 @@
-AC_INIT(libftdi, 0.17)
-AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER(config.h)
-
-AC_LANG_C
-AC_PROG_CC
-AM_PROG_LIBTOOL
-AC_PROG_CXX
-
-AC_CONFIG_MACRO_DIR([m4])
-
-dnl check for libusb-1.0
-have_libusb_1_0=no
-PKG_CHECK_MODULES(LIBUSB_1_0, [ libusb-1.0 >= 1.0.0 ], have_libusb_1_0=yes, 
have_libusb_1_0=no)
-if test "$have_libusb_1_0" = "yes"; then
-  CFLAGS="$CFLAGS $LIBUSB_1_0_CFLAGS"
-  CXXFLAGS="$CXXFLAGS $LIBUSB_1_0_CFLAGS"
-  USB_LIBS="$USB_LIBS $LIBUSB_1_0_LIBS"
-  HAVE_USB=yes
-  AC_DEFINE(HAVE_LIBUSB_1_0, 1, [Define to 1 if you have libusb-1.0.])
-  AC_SUBST(USB_LIBS)
-else
-  AC_MSG_ERROR([libusb-1.0 not found.])
-fi
-
-AC_ARG_WITH(examples,
-  AS_HELP_STRING([--without-examples], [disable example programs]))
-AM_CONDITIONAL(BUILD_EXAMPLES, [test "x$with_examples" != "xno"])
-
-LIBFTDI_MODULES=
-LIBFTDI_MODULES_PKGCONFIG=
-
-dnl libftdi C++ wrapper. Needs boost.
-AX_BOOST_BASE([1.33])
-ENABLE_LIBFTDIPP=0
-AC_MSG_CHECKING(if we can build the C++ wrapper)
-AC_ARG_ENABLE(libftdipp,
-                          AS_HELP_STRING([--enable-libftdipp],
-                                                     [enable libftdi C++ 
wrapper. Needs boost (default: auto)]),
-[
-    if test "$enableval" != "no"; then
-        if test "x$HAVE_BOOST" != "xyes"; then
-            AC_MSG_ERROR(Sorry, we need the boost library for the C++ wrapper)
-        fi
-        ENABLE_LIBFTDIPP=1
-    fi
-],
-[
-    dnl Build the wrapper if we got the boost library
-    if test "x$HAVE_BOOST" = "xyes"; then
-        ENABLE_LIBFTDIPP=1
-    fi
-])
-if test "x$ENABLE_LIBFTDIPP" = "x1"; then
-    LIBFTDI_MODULES="$LIBFTDI_MODULES ftdipp"
-    LIBFTDI_MODULES_PKGCONFIG="$LIBFTDI_MODULES_PKGCONFIG libftdipp.pc"
-    AC_MSG_RESULT(yes)
-else
-    AC_MSG_RESULT(no)
-fi
-AM_CONDITIONAL(HAVE_LIBFTDIPP, [test "x$ENABLE_LIBFTDIPP" = "x1"])
-
-dnl check for doxygen
-AC_ARG_WITH(docs,
-  AS_HELP_STRING([--without-docs], [disable doxygen usage]))
-if test "x$with_docs" != "xno"; then
-  AC_PATH_PROG(DOXYGEN, doxygen)
-else
-  DOXYGEN=
-fi
-AM_CONDITIONAL(HAVE_DOXYGEN, test -n $DOXYGEN)
-
-dnl ============================
-dnl Bindings for other languages
-dnl ==
-
-dnl ===============
-dnl Checks for SWIG
-dnl ===============
-AC_PATH_PROG([SWIG], [swig])
-AM_CONDITIONAL(HAVE_SWIG, test "$SWIG")
-
-dnl =================
-dnl Checks for Python
-dnl =================
-AM_PATH_PYTHON([2.0],
-               [],
-               [AC_MSG_WARN([Python not found. Python is required to build 
presage python binding. Python can be obtained from http://www.pyth
-on.org])])
-if test "$PYTHON"
-then
-     python_include_path=`$PYTHON -c "import distutils.sysconfig; print 
distutils.sysconfig.get_python_inc();"`
-     AC_CHECK_HEADERS([${python_include_path}/Python.h],
-                      [have_python_header=true],
-                      [AC_MSG_WARN([Python.h header file not found. Python 
development files are required to build presage python binding. Pyt
-hon can be obtained from http://www.python.org])],
-                      [])
-fi
-AM_CONDITIONAL(HAVE_PYTHON, test "$PYTHON" -a "x$have_python_header" = "xtrue")
-
-AC_ARG_ENABLE([python-binding],
-               AS_HELP_STRING([--enable-python-binding],
-                              [build python binding (default=no)]),
-               [ac_enable_python_binding=$enableval],
-               [ac_enable_python_binding=no])
-if test "x$ac_enable_python_binding" = "xyes"
-then
-    if test ! "$SWIG" -o ! "$PYTHON" -o ! "x$have_python_header" = "xtrue"
-    then
-        AC_MSG_WARN([Python binding for libftdi cannot be built. Ensure that 
SWIG and Python packages are available.])
-    fi
-else
-    AC_MSG_NOTICE([Python binding for libftdi will not be built.])
-    AC_MSG_NOTICE([Enable Python binding module building with 
--enable-python-binding])
-fi
-AM_CONDITIONAL(ENABLE_PYTHON_BINDING, test "x$ac_enable_python_binding" = 
"xyes")
-
-if test "$SWIG" -a "$PYTHON" -a "x$have_python_header" = "xtrue" -a 
"x$ac_enable_python_binding" = "xyes"
-then
-    AC_MSG_NOTICE([Python binding for libftdi will be built.])
-    build_python_binding="yes"
-else
-    build_python_binding="no"
-fi
-
-AC_SUBST(LIBFTDI_MODULES)
-AC_SUBST(LIBFTDI_MODULES_PKGCONFIG)
-
-AC_CONFIG_FILES([libftdi-config],[chmod a+x libftdi-config])
-AC_CONFIG_FILES(Makefile src/Makefile bindings/Makefile 
bindings/python/Makefile bindings/python/setup.py examples/Makefile 
doc/Doxyfile doc/Makefile libftdi.pc libftdi.spec)
-
-if test "x$ENABLE_LIBFTDIPP" = "x1"; then
-    AC_CONFIG_FILES(ftdipp/Makefile libftdipp.pc)
-fi
-
-AC_OUTPUT
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index b8b03d2..0000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-CLEANFILES = rm -rf html man
-
-if HAVE_DOXYGEN
-MANUALS = html/index.html
-else
-MANUALS =
-endif
-
-all: $(MANUALS)
-
-html/index.html: $(top_srcdir)/src/*.c $(top_srcdir)/src/*.h 
$(top_srcdir)/ftdipp/*.cpp $(top_srcdir)/ftdipp/*.hpp $(top_srcdir)/examples/*.c
-       $(DOXYGEN)
diff --git a/doc/release-checklist.txt b/doc/release-checklist.txt
index 3cd64dd..fe5654a 100644
--- a/doc/release-checklist.txt
+++ b/doc/release-checklist.txt
@@ -3,13 +3,8 @@
 
 - Update version number in the following files:
   - CMakeLists.txt
-  - configure.in
   - README
 
-- Increase .so library version:
-  - src/Makefile.am
-  - ftdipp/Makefile.am
-
 - Run "make dist"
 
 - Diff tarball to previous version, check if all
diff --git a/examples/Makefile.am b/examples/Makefile.am
deleted file mode 100644
index a7d28e2..0000000
--- a/examples/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-METASOURCES = AUTO
-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/ftdipp
-LDADD = $(top_builddir)/src/libftdi.la
-
-
-if HAVE_LIBFTDIPP
-examples_libftdipp = find_all_pp
-else
-examples_libftdipp =
-endif
-
-
-if BUILD_EXAMPLES
-all_examples = simple \
-       bitbang       \
-       bitbang2      \
-       bitbang_ft2232 \
-       bitbang_cbus \
-       find_all \
-       serial_test \
-       baud_test \
-       $(examples_libftdipp)
-else
-all_examples =
-endif
-bin_PROGRAMS = $(all_examples)
-
-# Don't install the example files
-AM_LDFLAGS = -no-install
-
-simple_SOURCES = simple.c
-bitbang_SOURCES = bitbang.c
-bitbang2_SOURCES = bitbang2.c
-bitbang_ft2232_SOURCES = bitbang_ft2232.c
-bitbang_cbus_SOURCES = bitbang_cbus.c
-find_all_SOURCES = find_all.c
-serial_test_SOURCES = serial_test.c
-baud_test_SOURCES = baud_test.c
-
-if HAVE_LIBFTDIPP
-find_all_pp_SOURCES = find_all_pp.cpp
-find_all_pp_LDADD = $(top_builddir)/ftdipp/libftdipp.la $(LDADD)
-endif
-
-EXTRA_DIST = CMakeLists.txt
diff --git a/ftdipp/Makefile.am b/ftdipp/Makefile.am
deleted file mode 100644
index 6cea83a..0000000
--- a/ftdipp/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-# set the include path found by configure
-INCLUDES= -I$(top_srcdir)/src @BOOST_CPPFLAGS@
-
-# the library search path.
-lib_LTLIBRARIES = libftdipp.la
-include_HEADERS = ftdi.hpp
-libftdipp_la_SOURCES = ftdi.cpp
-
-# Note:  If you specify a:b:c as the version in the next line,
-#  the library that is made has version (a-c).c.b.  In this
-#  example, the version is 2.1.2. (3:2:1)
-libftdipp_la_LDFLAGS = -version-info 18:0:17 @BOOST_LDFLAGS@
-libftdipp_la_LIBADD = $(top_builddir)/src/libftdi.la
-
-EXTRA_DIST = CMakeLists.txt
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 9141fb9..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-# the library search path.
-lib_LTLIBRARIES =  libftdi.la
-libftdi_la_SOURCES =  ftdi.c ftdi_stream.c
-include_HEADERS =  ftdi.h
-
-# Note:  If you specify a:b:c as the version in the next line,
-#  the library that is made has version (a-c).c.b.  In this
-#  example, the version is 2.1.2. (3:2:1)
-libftdi_la_LDFLAGS = -version-info 18:0:17
-libftdi_la_LIBADD = @USB_LIBS@
-
-EXTRA_DIST = CMakeLists.txt
diff --git a/stamp-h.in b/stamp-h.in
deleted file mode 100644
index 9788f70..0000000
--- a/stamp-h.in
+++ /dev/null
@@ -1 +0,0 @@
-timestamp
diff --git a/templates/c b/templates/c
deleted file mode 100644
index cb144ed..0000000
--- a/templates/c
+++ /dev/null
@@ -1,19 +0,0 @@
-/***************************************************************************
- *   Copyright (C) 2008 Intra2net AG                                       *
- *   opensource@xxxxxxxxxxxxx                                              *
- *                                                                         *
- *   This program is free software; you can redistribute it and/or modify  *
- *   it under the terms of the GNU Library General Public License as       *
- *   published by the Free Software Foundation; either version 2 of the    *
- *   License, or (at your option) any later version.                       *
- *                                                                         *
- *   This program is distributed in the hope that it will be useful,       *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
- *   GNU General Public License for more details.                          *
- *                                                                         *
- *   You should have received a copy of the GNU Library General Public     *
- *   License along with this program; if not, write to the                 *
- *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
- ***************************************************************************/
diff --git a/templates/h b/templates/h
deleted file mode 100644
index cb144ed..0000000
--- a/templates/h
+++ /dev/null
@@ -1,19 +0,0 @@
-/***************************************************************************
- *   Copyright (C) 2008 Intra2net AG                                       *
- *   opensource@xxxxxxxxxxxxx                                              *
- *                                                                         *
- *   This program is free software; you can redistribute it and/or modify  *
- *   it under the terms of the GNU Library General Public License as       *
- *   published by the Free Software Foundation; either version 2 of the    *
- *   License, or (at your option) any later version.                       *
- *                                                                         *
- *   This program is distributed in the hope that it will be useful,       *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
- *   GNU General Public License for more details.                          *
- *                                                                         *
- *   You should have received a copy of the GNU Library General Public     *
- *   License along with this program; if not, write to the                 *
- *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
- ***************************************************************************/


hooks/post-receive
-- 
port libftdi to libusb-1.0

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • port libftdi to libusb-1.0 branch, master, updated. v0.17-276-g9a602b8, libftdi-git <=