[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
syntax error near unexpected token
From: |
Sander van Geloven |
Subject: |
syntax error near unexpected token |
Date: |
Wed, 28 Mar 2001 10:02:35 +0200 |
Hi,
I'm trying to use autoconf, automake (and indirectly libtool) to buid a
shared library libarray.so from array.C and array.h. Automake does OK so
far, but the configure from autoconf reports:
address@hidden array]$ automake --add-missing --include-deps
address@hidden array]$ autoconf
address@hidden array]$ ./configure
creating cache ./config.cache
./configure: line 524: syntax error near unexpected token
`AM_INIT_AUTOMAKE(libarray,'
./configure: line 524: `AM_INIT_AUTOMAKE(libarray, 1.0)'
Can anyone help me? These are the relevant files:
address@hidden array]$ more Makefile.am
lib_LTLIBRARIES = libarray.la
address@hidden array]$ more configure.in
dnl Process this file with autoconf to produce a configure script.
AC_INIT(array.C)
AM_INIT_AUTOMAKE(libarray, 1.0)
dnl Checks for programs.
#AC_CONFIG_AUX_DIR(/usr/share/automake)
#AC_CONFIG_AUX_DIR(/usr/share/libtool)
AM_PROG_LIBTOOL
AC_PROG_CXX
dnl Checks for libraries.
dnl Checks for header files.
AC_HEADER_STDC
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
dnl Checks for library functions.
AC_FUNC_VPRINTF
AC_OUTPUT(Makefile)
Thanks,
Sander
- syntax error near unexpected token,
Sander van Geloven <=