autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: CommonC++-1.50/m4 vs. autoconf-2.50


From: Adam J. Richter
Subject: PATCH: CommonC++-1.50/m4 vs. autoconf-2.50
Date: Thu, 28 Jun 2001 18:13:30 -0700
User-agent: Mutt/1.2i

        Under autoconf-2.50, the AC_CHECK_LIB(mylib,mysymbol) macro
builds shell variables with names like "$ac_cv_mylib_mysymbol".  If a
couple of files in the CommonC++-2.50/m4/ directory, you use a shell
variable for "mylib", like so:

         AC_CHECK_LIB($ost_cv_thread_library, nanosleep,
                ...

        The problem is that the resulting ./configure file checks
the variable $ost_cv_thread_library_nanosleep" instead of
${$ost_cv_thread_library)_nanosleep.  The following patch
seems to work around the problem.

        I think ths may arguably be an autoconf-2.50 bug, so
I am cc'ing this to address@hidden for their information.

        Even if this is an autoconf bug, I believe that applying the
following patch to CommonC++ should be harmless, so I recommend that
you do it anyhow, to work with the existing autoconf-2.50 release in
any case.

-- 
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
address@hidden     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

Attachment: CommonC++-diffs
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]