Giter Club home page Giter Club logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Hm. I tried your configure.ac entry, but how do I refer to it in Makefile.am? 
If I do

  libsnappy_la_LDFLAGS = -version-info $(SNAPPY_LTVERSION)

I seem to get an empty variable substituted (and the build fails).

Original comment by [email protected] on 22 Mar 2011 at 11:56

from snappy.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
The call to AC_SUBST must appear after AC_INIT.

Also, because you don't use the shell variable for anything, you could just use 
AC_SUBST([SNAPPY_LTVERSION], [1:0:0]).

Original comment by [email protected] on 23 Mar 2011 at 12:06

from snappy.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Yes, AC_SUBST was after AC_INIT. It's a bit strange it didn't work, but I made 
a workaround like this:

m4_define([snappy_ltversion], [1:0:0])

[...]

AC_SUBST([SNAPPY_LTVERSION], snappy_ltversion)


Original comment by [email protected] on 23 Mar 2011 at 12:36

from snappy.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
That's interesting, because with the attached patch, I do not see this problem.

The patch does not contain the changes to various autogenerated files. BTW:

$ autoconf --version
autoconf (GNU Autoconf) 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
$ automake --version
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later 
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <[email protected]>
       and Alexandre Duret-Lutz <[email protected]>.
$ libtool --version
ltmain.sh (GNU libtool) 2.2.6b
Written by Gordon Matzigkeit <[email protected]>, 1996

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Original comment by [email protected] on 23 Mar 2011 at 12:41

Attachments:

from snappy.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Yes, with AC_SUBST directly to a value, it works for me too. The problem 
happens if I set the variable before AC_INIT (since I want all the versioning 
together at the top) and then try to AC_SUBST it at the bottom.

In any case, the patch should be forthcoming.

Original comment by [email protected] on 23 Mar 2011 at 1:02

  • Changed state: Started

from snappy.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Fixed in r8.

Original comment by [email protected] on 23 Mar 2011 at 11:13

  • Changed state: Fixed

from snappy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.