r1079 - trunk/src/host/dfu-util

laforge at sita.openmoko.org laforge at sita.openmoko.org
Thu Feb 22 22:36:57 CET 2007


Author: laforge
Date: 2007-02-22 22:36:56 +0100 (Thu, 22 Feb 2007)
New Revision: 1079

Added:
   trunk/src/host/dfu-util/configure.ac
   trunk/src/host/dfu-util/m4/
Log:
add missing configure.ac and 'm4' directory


Added: trunk/src/host/dfu-util/configure.ac
===================================================================
--- trunk/src/host/dfu-util/configure.ac	2007-02-22 21:33:15 UTC (rev 1078)
+++ trunk/src/host/dfu-util/configure.ac	2007-02-22 21:36:56 UTC (rev 1079)
@@ -0,0 +1,34 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.59)
+AC_INIT([dfu-util],[0.1])
+AC_CONFIG_AUX_DIR(m4)
+AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+#AC_CONFIG_SRCDIR([src/atmel.c])
+AM_CONFIG_HEADER([config.h])
+
+AM_MAINTAINER_MODE
+
+# Checks for programs.
+AC_PROG_CC
+
+# Checks for libraries.
+AC_CHECK_LIB([usb], [usb_control_msg],,
+                            [AC_MSG_ERROR([libusb not found])] )
+
+# Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([usb.h stdlib.h string.h stdio.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_TYPE_SIZE_T
+
+# Checks for library functions.
+AC_FUNC_MALLOC
+AC_FUNC_MEMCMP
+AC_CHECK_FUNCS([memset])
+
+AC_CONFIG_FILES(Makefile src/Makefile)
+AC_OUTPUT





More information about the commitlog mailing list