#1193 closed Defect (fixed)
AC_PROG_OBJCXX in configure.ac and AC_LANG_PROGRAM quoting
Reported by: | wking | Owned by: | davea |
---|---|---|---|
Priority: | Undetermined | Milestone: | Undetermined |
Component: | Undetermined | Version: | 7.0.26 |
Keywords: | Cc: |
Description
We've had a bug report on Gentoo trying to build boinc-6.12.42 with automake-1.12 (1). Automake died with:
/usr/share/automake-1.12/am/depend2.am: error: am__fastdepOBJCXX does not appear in AM_CONDITIONAL /usr/share/automake-1.12/am/depend2.am: The usual way to define 'am__fastdepOBJCXX' is to add 'AC_PROG_OBJCXX' /usr/share/automake-1.12/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again
I thought I'd poke my head in upstream and see where the current development efforts. It looks like you added AC_PROG_OBJCXX (2), but then decided to only use it for Darwin (3). I think the problem has to do with automake versions, not Mac-vs-Linux.
In a somewhat-related issue, I think your AC_LANG_PROGRAM quoting is off in boinc/m4/libcurl.m4 and boinc/m4/boinc_check_fcgi.m4 (4). See that section of my patch on the Gentoo Bugzilla for a fix (5).
Apologies for the outdated Gentoo version. I'll see what I can do about getting a version bump :p.
(1): https://bugs.gentoo.org/show_bug.cgi?id=423081
(2): http://boinc.ssl.berkeley.edu/trac/changeset/25754/boinc
(3): http://boinc.ssl.berkeley.edu/trac/changeset/25779/boinc
(4): http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html#idp1113200
(5): https://423081.bugs.gentoo.org/attachment.cgi?id=316089
Change History (4)
comment:1 Changed 12 years ago by
Owner: | set to davea |
---|
comment:2 follow-up: 3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 12 years ago by
Replying to davea:
It looks like you fixed the AC_LANG_PROGRAM quoting (thanks!), but I think you're still only using AC_PROG_OBJCXX for Darwin (1), and we still need it on Gentoo as well. The commit message that made it's inclusion Darwin-specific ([25794]) doesn't look like it needs to be Darwin-only. Are there legacy users out there with older automakes that you need to support?
(1): http://boinc.berkeley.edu/trac/browser/boinc/trunk/boinc/configure.ac#L41
(In [25804]) - Unix build tweaks. Fixes #1193 (I think)