Thomas Sailer schrieb am 2004-03-22:

> Current usbutils cvs is available as part of
> linux-usb.sourceforge.net...

I got bogus errors like these with autoconf 2.59:

./configure: line 4069: syntax error near unexpected token `newline'
./configure: line 4069: `  *" getopt.$ac_objext "*'

This modification solved the problems:

 # checks for library functions
-AC_CHECK_FUNCS([getopt_long],,AC_LIBOBJ([getopt]) AC_LIBOBJ([getopt1]))
+AC_CHECK_FUNCS([getopt_long],,[AC_LIBOBJ([getopt]) AC_LIBOBJ([getopt1])])

I've also needed to run autoupdate which resulted in this diff,
including the change above:

Index: configure.in
===================================================================
RCS file: /cvsroot/linux-usb/usbutils/configure.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure.in
--- configure.in        20 Feb 2004 14:08:24 -0000      1.1.1.1
+++ configure.in        26 Mar 2004 01:46:38 -0000
@@ -1,8 +1,9 @@
 dnl Process this file with autoconf to produce a configure script.
 
 # Initialization
-AC_INIT(Makefile.am)
-AM_CONFIG_HEADER(config.h)
+AC_INIT
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
 
 AM_INIT_AUTOMAKE(usbutils, 0.12)
 
@@ -28,7 +29,7 @@
 AC_STRUCT_TM
 
 # checks for library functions
-AC_CHECK_FUNCS([getopt_long],,AC_LIBOBJ([getopt]) AC_LIBOBJ([getopt1]))
+AC_CHECK_FUNCS([getopt_long],,[AC_LIBOBJ([getopt]) AC_LIBOBJ([getopt1])])
 
 dnl checks for libusb-config
 AC_CHECK_PROG(LIBUSB_CONFIG, libusb-config, yes, no)
@@ -60,7 +61,8 @@
 AC_SUBST(CFLAGS)
 AC_SUBST(LDFLAGS)
 
-AC_OUTPUT([Makefile])
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
 
 AC_MSG_RESULT([
 

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to