[GRASS-dev] reorder tcltk/opengl checks in configure?

William wrote:

I'm trying to fiddle with configure.in to figure out what
to do for tcltk 64bit aqua. When I run autoconf (in dev6
branch) I get:

configure.in:47: error: possibly undefined macro:
AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.

Configure is generated, though it's twice the size of the
configure in SVN. But it dies with a syntax error.

Is there anything special I need to do?

I have autoconf 2.61, which comes with the Xcode
installation. I don't want to mess with it to update
it, if that's what's needed.

... but can you downgrade it? often it might already be around
as autoconf2.13.

from the top of configure.in:
# Note: use autoconf-2.13

Hamish

There's only the 2.61 from Xcode. Is that 2.13 an absolute requirement or a minimum? I don't see why a newer autoconf shouldn't support an older configure.in.

I tried the more complete sequence of aclocal/autoheader/automake/autoconf, but got a bunch of missing template warnings in autoheader.

On May 22, 2009, at 9:38 PM, Hamish wrote:

William wrote:

I'm trying to fiddle with configure.in to figure out what
to do for tcltk 64bit aqua. When I run autoconf (in dev6
branch) I get:

configure.in:47: error: possibly undefined macro:
AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Configure is generated, though it's twice the size of the
configure in SVN. But it dies with a syntax error.

Is there anything special I need to do?

I have autoconf 2.61, which comes with the Xcode
installation. I don't want to mess with it to update
it, if that's what's needed.

... but can you downgrade it? often it might already be around
as autoconf2.13.

from the top of configure.in:
# Note: use autoconf-2.13

Hamish

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect

On Sat, May 23, 2009 at 5:40 AM, William Kyngesburye
<woklist@kyngchaos.com> wrote:

There's only the 2.61 from Xcode. Is that 2.13 an absolute requirement or a
minimum? I don't see why a newer autoconf shouldn't support an older
configure.in.

Because it is autoconf :slight_smile:

I tried the more complete sequence of aclocal/autoheader/automake/autoconf,
but got a bunch of missing template warnings in autoheader.

I darkly remember that I made tests with 2.51 but quickly gave up.
2.13 seems to be an absolute requirement.

Markus

I could try installing autoconf 2.13 in a sandbox, so it leaves Xcode alone...

On May 23, 2009, at 3:35 AM, Markus Neteler wrote:

On Sat, May 23, 2009 at 5:40 AM, William Kyngesburye
<woklist@kyngchaos.com> wrote:

There's only the 2.61 from Xcode. Is that 2.13 an absolute requirement or a
minimum? I don't see why a newer autoconf shouldn't support an older
configure.in.

Because it is autoconf :slight_smile:

I tried the more complete sequence of aclocal/autoheader/automake/autoconf,
but got a bunch of missing template warnings in autoheader.

I darkly remember that I made tests with 2.51 but quickly gave up.
2.13 seems to be an absolute requirement.

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

The equator is so long, it could encircle the earth completely once.

William Kyngesburye wrote:

There's only the 2.61 from Xcode. Is that 2.13 an absolute
requirement or a minimum?

The former.

I don't see why a newer autoconf shouldn't support an older
configure.in.

Later versions aren't backwards compatible.

2.13 was the last version before autotools degenerated into an
incomprehensible mess.

--
Glynn Clements <glynn@gclements.plus.com>

OK, I installed an isolated 2.13 and it works as expected. I guess I'll keep it around for GRASS.

I updated configure[.in] + some makefiles in dev6 branch so that configure + compile works on OSX for a 64bit build with a 32bit TclTk Aqua.

Configure was a bit messy, since the saving of LDFLAGS happens within the AC test macro.

On May 23, 2009, at 12:06 PM, Glynn Clements wrote:

Later versions aren't backwards compatible.

2.13 was the last version before autotools degenerated into an
incomprehensible mess.

On May 23, 2009, at 9:15 AM, William Kyngesburye wrote:

I could try installing autoconf 2.13 in a sandbox, so it leaves Xcode alone...

On May 23, 2009, at 3:35 AM, Markus Neteler wrote:

On Sat, May 23, 2009 at 5:40 AM, William Kyngesburye
<woklist@kyngchaos.com> wrote:

There's only the 2.61 from Xcode. Is that 2.13 an absolute requirement or a
minimum? I don't see why a newer autoconf shouldn't support an older
configure.in.

Because it is autoconf :slight_smile:

I tried the more complete sequence of aclocal/autoheader/automake/autoconf,
but got a bunch of missing template warnings in autoheader.

I darkly remember that I made tests with 2.51 but quickly gave up.
2.13 seems to be an absolute requirement.

Markus

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings. And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan

On May 23, 2009, at 12:23 PM, William Kyngesburye wrote:

I updated configure[.in] + some makefiles in dev6 branch so that configure + compile works on OSX for a 64bit build with a 32bit TclTk Aqua.

PS. That's r37402

http://trac.osgeo.org/grass/changeset/37402

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect