Re: MUSCLE autoconf problem
On 11 May 2001, Esben Haabendal Soerensen wrote: > > I can make at least some of these errors go away by changing the > > formatting, but I don't know much m4. > > What formatting changes might that be ? My formatting changes seems to have made syntax errors that hid the 'Undefined macros' errors. *blush* And my problems are pilot errors... What is happening is that ACX_PTHREAD is undefined, which gives (what I think is) rather unhelpful error messages (it only complains that AC_DEFINE and AC_MSG_ERROR are undefined... _not_ that ACX_PTHREAD is undefined.) By using the build/aclocal.m4, everything seems to work... What is the correct incantation to do all this configuration? (I used the low-tech method of copying the file to the same directory as configure.in...) /Krister *** Linux Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/smartcard/index.html ***
Re: MUSCLE autoconf problem
Krister Walfridsson <[EMAIL PROTECTED]> writes: > I get these errors with an unmodified configure.in from the tar ball > http://linuxnet.com/middleware/files/pcsc-lite-0.9.1.tar.gz (I have > attached the configure.in just to be sure...) Ok. Comparing the attached configure.in it is exactly the same as what is working without problems under Linux here. I am also running m4-1.4. > I can make at least some of these errors go away by changing the > formatting, but I don't know much m4. What formatting changes might that be ? > I was afraid that this might be some strange bug in GNU m4-1.4 that > only showed up on NetBSD, but it seems unlikely sice I get the same > error on Cygwin. Or it could be an autoconf issue. What versions of autoconf are you using on the two platforms ? /Esben *** Linux Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/smartcard/index.html ***
Re: MUSCLE autoconf problem
On 11 May 2001, Esben Haabendal Soerensen wrote: > > I'm using autoconf-2.13 and GNU m4-1.4. I get the error both on NetBSD > > and Cygwin. Any idea what may be wrong? > > Could be a syntax file in configure.in. Have you touched it ? Please > attach the your configure.in so we can have a look. I get these errors with an unmodified configure.in from the tar ball http://linuxnet.com/middleware/files/pcsc-lite-0.9.1.tar.gz (I have attached the configure.in just to be sure...) I can make at least some of these errors go away by changing the formatting, but I don't know much m4. I was afraid that this might be some strange bug in GNU m4-1.4 that only showed up on NetBSD, but it seems unlikely sice I get the same error on Cygwin. /Krister configure.in.gz
Re: MUSCLE autoconf problem
Krister Walfridsson <[EMAIL PROTECTED]> writes: > Hi, > > I was going to port pcsc-lite-0.9.1 to NetBSD, but have got some problems > with autoconf... The problem is that autoconf gives me a whole bunch of > errors, starting with: > > autoconf: Undefined macros: > configure.in:101: *) AC_MSG_ERROR([bad value ${withval} for --enable-usb]) ;; > configure.in:110: [AC_DEFINE(PCSC_DEBUG, 1, [Enable generic pcsc-lite debugging >messages.])]) > configure.in:112: [AC_DEFINE(ATR_DEBUG, 1, [Enable pcsc-lite ATR debugging >messages.])]) > > and continues to complain about undefined AC_MSG_ERROR and AC_DEFINE > macros. > > I'm using autoconf-2.13 and GNU m4-1.4. I get the error both on NetBSD > and Cygwin. Any idea what may be wrong? Could be a syntax file in configure.in. Have you touched it ? Please attach the your configure.in so we can have a look. > While I'm complaining, the INSTALL file in the tarball is a symbolic > link to /usr/share/automake/INSTALL. It should be a copy of that file > instead... Indeed. /Esben *** Linux Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/smartcard/index.html ***