Skip to contentSkip to conversation

much more complicated gcc invocations now

Openvpn-devel Gert Doering 4 participants 14 messages Mar 26, 2012 – Mar 28, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

one of the things the new build system brought is us is *this*:

if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I../../src/compat      -I/usr/include -I/usr/include     -g -O2 -MT ssl_verify_polarssl.o -MD -MP -MF ".deps/ssl_verify_polarssl.Tpo" -c -o ssl_verify_polarssl.o ssl_verify_polarssl.c;  then mv -f ".deps/ssl_verify_polarssl.Tpo" ".deps/ssl_verify_polarssl.Po"; else rm -f ".deps/ssl_verify_polarssl.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I../../src/compat      -I/usr/include -I/usr/include     -g -O2 -MT status.o -MD -MP -MF ".deps/status.Tpo" -c -o status.o status.c;  then mv -f ".deps/status.Tpo" ".deps/status.Po"; else rm -f ".deps/status.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I../../src/compat      -I/usr/include -I/usr/include     -g -O2 -MT tun.o -MD -MP -MF ".deps/tun.Tpo" -c -o tun.o tun.c;  then mv -f ".deps/tun.Tpo" ".deps/tun.Po"; else rm -f ".deps/tun.Tpo"; exit 1; fi

... instead of straightforward "gcc" invocations.

... and I wonder what the benefit is? I find it much harder to see what "make" is doing here (my eyes hurt when I look at this!), and unless there is a clear benefit, I don't like adding convolutions...

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#1 lore raw
Quoted 8 lines · Gert Doering

Hi,

one of the things the new build system brought is us is *this*:

if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I../../src/compat      -I/usr/include -I/usr/include     -g -O2 -MT ssl_verify_polarssl.o -MD -MP -MF ".deps/ssl_verify_polarssl.Tpo" -c -o ssl_verify_polarssl.o ssl_verify_polarssl.c;  then mv -f ".deps/ssl_verify_polarssl.Tpo" ".deps/ssl_verify_polarssl.Po"; else rm -f ".deps/ssl_verify_polarssl.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I../../src/compat      -I/usr/include -I/usr/include     -g -O2 -MT status.o -MD -MP -MF ".deps/status.Tpo" -c -o status.o status.c;  then mv -f ".deps/status.Tpo" ".deps/status.Po"; else rm -f ".deps/status.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I../../src/compat      -I/usr/include -I/usr/include     -g -O2 -MT tun.o -MD -MP -MF ".deps/tun.Tpo" -c -o tun.o tun.c;  then mv -f ".deps/tun.Tpo" ".deps/tun.Po"; else rm -f ".deps/tun.Tpo"; exit 1; fi

Quoted 5 lines

... instead of straightforward "gcc" invocations.

... and I wonder what the benefit is?  I find it much harder to see what "make" is doing here (my eyes hurt when I look at this!), and unless there is a clear benefit, I don't like adding convolutions...

The benefit is to divide the code into libraries and core which is easier to maintain and reuse.

Anyway, new automake does support silent rules, try the following[1] patch and see if it makes you happier.

Again, this demonstrate how current merge procedure is inappropriate, as instead of single build system rewrite merge we have aftershocks. Branch should be tested and reviewed, and tested and reviewed until no known issues found, and all happy of its quality.

Alon.

[1] https://github.com/alonbl/openvpn/commit/c35c118767d4867303e43c4472720dd94187aae5

#2 lore raw

Hi,

Quoted 2 lines · Alon Bar-Lev

The benefit is to divide the code into libraries and core which is easier to maintain and reuse.

I'm not sure I understand what's so hard about "compile stuff, use 'ar' to pack into libopenvpn.a" that stuff needs more convolutions.

We're not building a shared library - which I agree is major pains unless handled by libtool. But static libraries are easy on about everything (except Windows, can't speak about that).

Quoted 2 lines

Anyway, new automake does support silent rules, try the following[1] patch and see if it makes you happier.

This is missing the point: I think what automake/autoconf is doing now is much too complicated. I *like* to see what it's doing, and hiding complexity by just not showing it is a step into the wrong direction.

Quoted 4 lines

Again, this demonstrate how current merge procedure is inappropriate, as instead of single build system rewrite merge we have aftershocks. Branch should be tested and reviewed, and tested and reviewed until no known issues found, and all happy of its quality.

We're doing that now: branch is called "master".

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#3 lore raw
Quoted 6 lines · Gert Doering

Hi,

Quoted 2 lines · Alon Bar-Lev

The benefit is to divide the code into libraries and core which is easier to maintain and reuse.

Quoted 6 lines

I'm not sure I understand what's so hard about "compile stuff, use 'ar' to pack into libopenvpn.a" that stuff needs more convolutions.

We're not building a shared library - which I agree is major pains unless handled by libtool.  But static libraries are easy on about everything (except Windows, can't speak about that).

libtool has the advantage of making it very simple as far as build is maintenance is, in all platforms in exact same way.
It also will enable us to build the plugins properly in future. Even if you do what you suggested (ar), the gcc command-line will be long as we need to add the additional CPPFLAGS, LDFLAGS.

Quoted 6 lines
Quoted 2 lines

Anyway, new automake does support silent rules, try the following[1] patch and see if it makes you happier.

This is missing the point: I think what automake/autoconf is doing now is much too complicated.  I *like* to see what it's doing, and hiding complexity by just not showing it is a step into the wrong direction.

When you like, use "make V=1", or --disable-silent-rules to configure.

Quoted 7 lines
Quoted 5 lines

Again, this demonstrate how current merge procedure is inappropriate, as instead of single build system rewrite merge we have aftershocks. Branch should be tested and  reviewed, and tested and reviewed until no known issues found, and all happy of its quality.

We're doing that now: branch is called "master".

Nope, this is not the rule of "master" branch. "master" = as much stable as possible, not playground.

Alon.

#4 lore raw
Quoted 14 lines · Alon Bar-Lev
Quoted 6 lines · Gert Doering

Hi,

Quoted 2 lines · Alon Bar-Lev

The benefit is to divide the code into libraries and core which is easier to maintain and reuse.

Quoted 6 lines

I'm not sure I understand what's so hard about "compile stuff, use 'ar' to pack into libopenvpn.a" that stuff needs more convolutions.

We're not building a shared library - which I agree is major pains unless handled by libtool.  But static libraries are easy on about everything (except Windows, can't speak about that).

Quoted 5 lines

libtool has the advantage of making it very simple as far as build is maintenance is, in all platforms in exact same way.
It also will enable us to build the plugins properly in future. Even if you do what you suggested (ar), the gcc command-line will be long as we need to add the additional CPPFLAGS, LDFLAGS.

The
---
".deps/status.Tpo" -c -o status.o status.c; then mv -f ".deps/status.Tpo" ".deps/status.Po"; else rm -f ".deps/status.Tpo"
---

Are for dependency tracking, so that if you change a file dependencies will be recompiled... This was the same in previous build.

So we had:
---
gcc -DHAVE_CONFIG_H -I. -I. -I/usr/kerberos/include -g -O2 -MT
status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
---

And now:
---
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-I../../src/compat -I/usr/include -I/usr/include -g -O2 -MT
status.o -MD -MP -MF ".deps/status.Tpo" -c -o status.o status.c; then mv -f ".deps/status.Tpo" ".deps/status.Po"; else rm -f ".deps/status.Tpo"; exit 1; fi
---

What this makes sure is that if compile fails the dependencies is removed.... Delta:
---
if (.*); then mv -f ".deps/status.Tpo" ".deps/status.Po"; else rm -f ".deps/status.Tpo"; exit 1; fi
---

Not worth dropping the comfort of libtool and manually code toolchain commands just to remove this delta.

Quoted 21 lines
Quoted 6 lines
Quoted 2 lines

Anyway, new automake does support silent rules, try the following[1] patch and see if it makes you happier.

This is missing the point: I think what automake/autoconf is doing now is much too complicated.  I *like* to see what it's doing, and hiding complexity by just not showing it is a step into the wrong direction.

When you like, use "make V=1", or --disable-silent-rules to configure.

Quoted 7 lines
Quoted 5 lines

Again, this demonstrate how current merge procedure is inappropriate, as instead of single build system rewrite merge we have aftershocks. Branch should be tested and  reviewed, and tested and reviewed until no known issues found, and all happy of its quality.

We're doing that now: branch is called "master".

Nope, this is not the rule of "master" branch. "master" = as much stable as possible, not playground.

Alon.

#5 lore raw

Hi,

Quoted 8 lines · Alon Bar-Lev

Are for dependency tracking, so that if you change a file dependencies will be recompiled... This was the same in previous build.

So we had:
---
gcc -DHAVE_CONFIG_H -I. -I. -I/usr/kerberos/include -g -O2 -MT
status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
---

Fine with me...

Quoted 8 lines

And now:
---
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-I../../src/compat -I/usr/include -I/usr/include -g -O2 -MT
status.o -MD -MP -MF ".deps/status.Tpo" -c -o status.o status.c; then mv -f ".deps/status.Tpo" ".deps/status.Po"; else rm -f ".deps/status.Tpo"; exit 1; fi
---

... convolution. Even the quotation marks get inflation now.

Quoted 1 line

What this makes sure is that if compile fails the dependencies is removed....

Why would anyone want to do that, on a production build?

But anyway. I've stated my opinion, you've stated yours, and now it's up to the rest of the community to form a "community decision" which is the way to go.

Thanks for explaining your view - I sometimes can't help myself, I'm an old-fashioned programmer who writes Makefiles by hand and has a dislike for automation that's brittle enough to require careful tending...

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#6 lore raw
Quoted 30 lines · Gert Doering

Hi,

Quoted 8 lines · Alon Bar-Lev

Are for dependency tracking, so that if you change a file dependencies will be recompiled... This was the same in previous build.

So we had:
---
gcc -DHAVE_CONFIG_H -I.   -I. -I/usr/kerberos/include    -g -O2 -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
---

Fine with me...

Quoted 8 lines

And now:
---
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src/compat      -I/usr/include -I/usr/include     -g -O2 -MT status.o -MD -MP -MF ".deps/status.Tpo" -c -o status.o status.c;  then mv -f ".deps/status.Tpo" ".deps/status.Po"; else rm -f ".deps/status.Tpo"; exit 1; fi
---

... convolution.  Even the quotation marks get inflation now.

Quoted 1 line

What this makes sure is that if compile fails the dependencies is removed....

Why would anyone want to do that, on a production build?

Quoted 7 lines

But anyway.  I've stated my opinion, you've stated yours, and now it's up to the rest of the community to form a "community decision" which is the way to go.

Thanks for explaining your view - I sometimes can't help myself, I'm an old-fashioned programmer who writes Makefiles by hand and has a dislike for automation that's brittle enough to require careful tending...

And I thought that I am old-fashioned!

Well, please hold... I don't see this if... at my machine:

---
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/usr/kerberos/include
-I/usr/kerberos/include -g -O2 -MT reliable.o -MD -MP -MF
.deps/reliable.Tpo -c -o reliable.o ../../../src/openvpn/reliable.c mv -f .deps/reliable.Tpo .deps/reliable.Po
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/usr/kerberos/include
-I/usr/kerberos/include -g -O2 -MT route.o -MD -MP -MF
.deps/route.Tpo -c -o route.o ../../../src/openvpn/route.c mv -f .deps/route.Tpo .deps/route.Po
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/usr/kerberos/include
-I/usr/kerberos/include -g -O2 -MT schedule.o -MD -MP -MF
.deps/schedule.Tpo -c -o schedule.o ../../../src/openvpn/schedule.c mv -f .deps/schedule.Tpo .deps/schedule.Po
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/usr/kerberos/include
-I/usr/kerberos/include -g -O2 -MT session_id.o -MD -MP -MF
.deps/session_id.Tpo -c -o session_id.o ../../../src/openvpn/session_id.c
mv -f .deps/session_id.Tpo .deps/session_id.Po
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/usr/kerberos/include
-I/usr/kerberos/include -g -O2 -MT shaper.o -MD -MP -MF
.deps/shaper.Tpo -c -o shaper.o ../../../src/openvpn/shaper.c mv -f .deps/shaper.Tpo .deps/shaper.Po
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/usr/kerberos/include
-I/usr/kerberos/include -g -O2 -MT sig.o -MD -MP -MF .deps/sig.Tpo
-c -o sig.o ../../../src/openvpn/sig.c
mv -f .deps/sig.Tpo .deps/sig.Po
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/usr/kerberos/include
-I/usr/kerberos/include -g -O2 -MT socket.o -MD -MP -MF
.deps/socket.Tpo -c -o socket.o ../../../src/openvpn/socket.c mv -f .deps/socket.Tpo .deps/socket.Po
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/usr/kerberos/include
-I/usr/kerberos/include -g -O2 -MT socks.o -MD -MP -MF
.deps/socks.Tpo -c -o socks.o ../../../src/openvpn/socks.c mv -f .deps/socks.Tpo .deps/socks.Po
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/usr/kerberos/include
-I/usr/kerberos/include -g -O2 -MT ssl.o -MD -MP -MF .deps/ssl.Tpo
-c -o ssl.o ../../../src/openvpn/ssl.c
mv -f .deps/ssl.Tpo .deps/ssl.Po
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..
-I../../../include -I../../../src/compat -I/u
---

Alon.

#7 lore raw

Hi,

Quoted 8 lines · Alon Bar-Lev

Well, please hold... I don't see this if... at my machine:

---
gcc -DHAVE_CONFIG_H -I. -I../../../src/openvpn -I../..

(quoted diff) +0 -2
-I../../../include -I../../../src/compat    -I/usr/kerberos/include
-I/usr/kerberos/include     -g -O2 -MT reliable.o -MD -MP -MF

.deps/reliable.Tpo -c -o reliable.o ../../../src/openvpn/reliable.c mv -f .deps/reliable.Tpo .deps/reliable.Po

Hmm, interesting....

if gcc -DHAVE_CONFIG_H -I. -I../../../openvpn/src/openvpn -I../.. -I../../../openvpn/include -I../../../openvpn/src/compat -I/usr/include -I/usr/include -g -O2 -MT reliable.o -MD -MP -MF ".deps/reliable.Tpo" -c -o reliable.o ../../../openvpn/src/openvpn/reliable.c; then mv -f ".deps/reliable.Tpo" ".deps/reliable.Po"; else rm -f ".deps/reliable.Tpo"; exit 1; fi

... but not dependend on "BSD make" vs. "GNU make" (gmake does this as well). Maybe libtool/autoconf related? OpenBSD has libtool 1.5.26 and autoconf-2.64, automake-1.9.6p5.

Testing on FreeBSD 9.0 with libtool-2.4, autoconf-2.68, automake-1.11 has what your version has:

mv -f .deps/reliable.Tpo .deps/reliable.Po
gcc -DHAVE_CONFIG_H -I. -I../../../openvpn-testing/src/openvpn -I../.. -I../../../openvpn-testing/include -I../../../openvpn-testing/src/compat -g -O2 -MT route.o -MD -MP -MF .deps/route.Tpo -c -o route.o ../../../openvpn-testing/src/openvpn/route.c
mv -f .deps/route.Tpo .deps/route.Po

... ok, I step down from my soapbox. At least from this one :-)

(Just as a side note - why is it including "-I/usr/kerberos/include" *twice* for you?)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#8 lore raw
Quoted 2 lines · Gert Doering

(Just as a side note - why is it including "-I/usr/kerberos/include" *twice* for you?)

As we use both libcrypto and libssl we get this twice...
---

$ pkg-config --cflags libcrypto
-I/usr/kerberos/include
$ pkg-config --cflags libssl
-I/usr/kerberos/include
---

Alon.

#9 lore raw
In reply to Gert Doering

Hi,

Quoted 8 lines · Gert Doering

Hi,

Quoted 3 lines · Alon Bar-Lev

The benefit is to divide the code into libraries and core which is easier to maintain and reuse.

Quoted 8 lines

I'm not sure I understand what's so hard about "compile stuff, use 'ar' to pack into libopenvpn.a" that stuff needs more convolutions.

We're not building a shared library - which I agree is major pains unless handled by libtool. But static libraries are easy on about everything (except Windows, can't speak about that).

actually, most of the problems I've seen with libtool have to deal with shared libraries - I would NOT trust libtool to be able to build shared libraries the way I want it to, esp when shared libs use other shared libs. don't know if libtool 2.x solves the issues found in 1.5

Quoted 9 lines
Quoted 3 lines

Anyway, new automake does support silent rules, try the following[1] patch and see if it makes you happier.

This is missing the point: I think what automake/autoconf is doing now is much too complicated. I *like* to see what it's doing, and hiding complexity by just not showing it is a step into the wrong direction.

I fully agree with Gert here; if we can avoid libtool then I'd really like to do so - it only adds an extra layer that (IMHO) is not needed; what was wrong with the "old" method?

JM2CW,

JJK

#10 lore raw
Quoted 38 lines · Jan Just Keijser

Hi,

Gert Doering wrote:

Hi,

On Mon, Mar 26, 2012 at 07:51:01PM +0200, Alon Bar-Lev wrote:

The benefit is to divide the code into libraries and core which is easier to maintain and reuse.

I'm not sure I understand what's so hard about "compile stuff, use 'ar' to pack into libopenvpn.a" that stuff needs more convolutions.

We're not building a shared library - which I agree is major pains unless handled by libtool. But static libraries are easy on about everything (except Windows, can't speak about that).

actually, most of the problems I've seen with libtool have to deal with shared libraries - I would NOT trust libtool to be able to build shared libraries the way I want it to, esp when shared libs use other shared libs. don't know if libtool 2.x solves the issues found in 1.5

Anyway, new automake does support silent rules, try the following[1] patch and see if it makes you happier.

This is missing the point: I think what automake/autoconf is doing now is much too complicated. I *like* to see what it's doing, and hiding complexity by just not showing it is a step into the wrong direction.

Quoted 3 lines

I fully agree with Gert here; if we can avoid libtool then I'd really like to do so - it only adds an extra layer that (IMHO) is not needed; what was wrong with the "old" method?

I tried to explain during this thread, do you have a specific question? Anyway, we also found that it is not libtool that cause the long command, but rather old gcc which probably did not handle the deletion of dependency file correctly so automake/libtool compensate that.

Alon.

#11 lore raw
Quoted 45 lines · Alon Bar-Lev
Quoted 38 lines · Jan Just Keijser

Hi,

Gert Doering wrote:

Hi,

On Mon, Mar 26, 2012 at 07:51:01PM +0200, Alon Bar-Lev wrote:

The benefit is to divide the code into libraries and core which is easier to maintain and reuse.

I'm not sure I understand what's so hard about "compile stuff, use 'ar' to pack into libopenvpn.a" that stuff needs more convolutions.

We're not building a shared library - which I agree is major pains unless handled by libtool. But static libraries are easy on about everything (except Windows, can't speak about that).

actually, most of the problems I've seen with libtool have to deal with shared libraries - I would NOT trust libtool to be able to build shared libraries the way I want it to, esp when shared libs use other shared libs. don't know if libtool 2.x solves the issues found in 1.5

Anyway, new automake does support silent rules, try the following[1] patch and see if it makes you happier.

This is missing the point: I think what automake/autoconf is doing now is much too complicated. I *like* to see what it's doing, and hiding complexity by just not showing it is a step into the wrong direction.

Quoted 4 lines

I fully agree with Gert here; if we can avoid libtool then I'd really like to do so - it only adds an extra layer that (IMHO) is not needed; what was wrong with the "old" method?

Quoted 6 lines

I tried to explain during this thread, do you have a specific question? Anyway, we also found that it is not libtool that cause the long command, but rather old gcc which probably did not handle the deletion of dependency file correctly so automake/libtool compensate that.

ah OK, I normally don't care about dependencies because I build openvpn only once. why did automake decide to add these rules , whilst it didn't do so in the past?

and no, apart from the above I don't have a specific question, but I also don't like it when things are added to a (build) system that I don't see an immediate use for. For what it's worth, I'm very happy that the build system wasn't rewritten using 'cmake' - if that happens I'm forking the source code immediately :)

cheers,

JJK

#12 lore raw
Quoted 3 lines · Jan Just Keijser

ah OK, I normally don't care about dependencies because I build openvpn only once. why did automake decide to add these rules , whilst it didn't do so in the past?

Yes, it should had.

Quoted 5 lines

and no, apart from the above I don't have a specific question, but I also don't like it when things are added to a (build) system that I don't see an immediate use for. For what it's worth, I'm very happy that the build system wasn't rewritten using 'cmake' - if that happens I'm forking the source code immediately :)

I will never go to cmake! These guys re-invented the wheel, I don't understand their syntax nor their vision. And most importantly their loooong bug list which only gets longer.

Alon.

#13 lore raw
In reply to Jan Just Keijser

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 34 lines · Jan Just Keijser

Hi,

Quoted 8 lines · Gert Doering

Hi,

Quoted 3 lines · Alon Bar-Lev

The benefit is to divide the code into libraries and core which is easier to maintain and reuse.

Quoted 8 lines

I'm not sure I understand what's so hard about "compile stuff, use 'ar' to pack into libopenvpn.a" that stuff needs more convolutions.

We're not building a shared library - which I agree is major pains unless handled by libtool. But static libraries are easy on about everything (except Windows, can't speak about that).

actually, most of the problems I've seen with libtool have to deal with shared libraries - I would NOT trust libtool to be able to build shared libraries the way I want it to, esp when shared libs use other shared libs. don't know if libtool 2.x solves the issues found in 1.5

Quoted 10 lines
Quoted 3 lines

Anyway, new automake does support silent rules, try the following[1] patch and see if it makes you happier.

This is missing the point: I think what automake/autoconf is doing now is much too complicated. I *like* to see what it's doing, and hiding complexity by just not showing it is a step into the wrong direction.

Quoted 3 lines

I fully agree with Gert here; if we can avoid libtool then I'd really like to do so - it only adds an extra layer that (IMHO) is not needed; what was wrong with the "old" method?

I'm not sure if this changes your point of view, but we're not building a shared library like an '.so' file which is dynamically loaded upon execution of OpenVPN.

What's happening is that a static library is built and the linker pulls in the needed pieces from the libcompat.a file at build time. In that regards, the compat/ directory is a separate entity which will be easier to maintain. If we in the future f.ex. are missing some POSIX functions on some platforms, we just add a port of those functions here - and rebuild OpenVPN. No other changes to OpenVPN would normally be needed.

And as it's all statically linked, there's no extra files or packaging dependencies to think of.

kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9y2UkACgkQDC186MBRfrqwPgCbBvb8tTTOZ7c2l+fDv1e3oVdl rMEAn0sMU9u7R3LLLTN18BpmQWl+fh5o
=US/Q
-----END PGP SIGNATURE-----