After spending a whole day trying to figure out what was wrong, I
finally discovered that the cause of these errors was that MacOS X
doesn't have pkgconfig installed.
I got it from Macports with: "sudo port install pkgconfig" and then it
works fine.

Now onward to trying to actually trying to compile and use my
development version.

~Greg Mefford

On Sat, Feb 20, 2010 at 7:10 AM, Andreas Jellinghaus <[email protected]> 
wrote:
> Am Freitag 19 Februar 2010 20:40:46 schrieb Greg Mefford:
>> I tried to use the bootstrap script after installing some of those
>> tools with fink that were in your config script. I get the following
>> errors:
>>
>> -----
>> configure.ac:100: error: possibly undefined macro: AC_DEFINE
>>       If this token and others are legitimate, please use m4_pattern_allow.
>>       See the Autoconf documentation.
>> configure.ac:255: error: possibly undefined macro: AC_MSG_ERROR
>> configure.ac:323: error: possibly undefined macro: AC_CHECK_LIB
>> autoreconf: /sw/bin/autoconf-2.60 failed with exit status: 1
>> -----
>>
>> From searching the web, it looks like at least one opensc developers
>> has hit this problem in the past, but I didn't see a solution on the
>> mailing list. Any ideas?
>
> could be some version issue of the tools you use.
>
> ii  autoconf       2.64-1ubuntu1  automatic configure script builder
> ii  automake       1:1.11-1       A tool for generating GNU Standards-complian
> ii  libtool        2.2.6a-4       Generic library support script
>
> I think "AC_DEFINE" is part of normal autoconf/make/libtool macros,
> so any normal installation should include it.
>
> Andreas
>
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to