Yang Tse
a948ca1669
This line was for local testing, not intended to be committed.
2008-08-01 07:46:21 +00:00
Yang Tse
2d15d84a01
Ensure that reserved keyword AC_DEFUN is only used for its purpose.
2008-08-01 06:07:43 +00:00
Yang Tse
a3498f96ef
Reinstate the 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4' way of
...
including our local m4/reentrant.m4 file. This even takes care of including the
file in the distribution tarball.
2008-07-30 03:10:03 +00:00
Yang Tse
637bfa0252
Show autom4te and aclocal versions.
...
Set SED for Solaris to gsed if available.
2008-07-30 01:17:15 +00:00
Yang Tse
5dafa4a270
For testing purposes on SunOS systems; directly feed acinclude.m4 with
...
reentrant.m4 and remove reentrant.m4 before calling aclocal.
2008-07-29 19:31:34 +00:00
Yang Tse
e93bcbeee1
For debugging purposes, show all sed's available in PATH on SunOS systems.
2008-07-29 19:01:34 +00:00
Yang Tse
52d9a3c34f
Tests done using 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4
...
in top Makefile.am triggered a problem that prevented aclocal from running
successfully on SunOS 5.10 with GNU m4 1.4.5 and GNU Autoconf 2.61
A tarball which reproduces mentioned problem is the one dated July-28-2008
http://cool.haxx.se/curl-daily/curl-7.19.0-20080728.tar.gz
We actually don't need all the bells and whistles that the above mechanism
provides. We only need to include our m4/reentrant.m4 file in acinclude.m4
so here we go with this simpler mechanism.
2008-07-29 02:26:21 +00:00
Yang Tse
57d13c770a
Ensure that buildconf runs from the subdirectory where configure.ac lives
2008-07-28 16:17:51 +00:00
Yang Tse
1692384636
Remove files generated on previous buildconf/configure run,
...
and for debugging purposes show ACLOCAL_FLAGS.
2008-07-28 15:15:13 +00:00
Yang Tse
c4edc25d01
When calling aclocal, user defined ACLOCAL_FLAGS will now precede ours.
2008-07-27 18:10:54 +00:00
Yang Tse
36361d14cf
For debugging purposes, run aclocal in verbose mode on SunOS systems.
2008-07-27 17:24:37 +00:00
Yang Tse
6b7e74a030
move reentrant.m4 to the m4 subdirectory to avoid infinite loop inclusion problem
2008-07-25 13:21:14 +00:00
Yang Tse
8a323f8354
Another step towards detecting if _REENTRANT is already defined or actually
...
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.
Introduced reentrant.m4 intended for our reentrant related autotools/m4 macros.
2008-07-24 15:20:35 +00:00
Yang Tse
772a985dc3
Update copyright year, since the file has been modified
2006-10-27 03:47:57 +00:00
Daniel Stenberg
1e9f5845ab
I fell over a new libtool that starts with a newline so we need to fetch
...
the two first lines to get the version string. The good news is that older
libtools have an empty line after the first so I think this works fine all
over...
2006-09-04 08:53:28 +00:00
Daniel Stenberg
723a78ae3f
As Alexander Lazic pointed out, run the buildconf from the ares dir if that
...
is present instead of trying to duplicate that stuff in this script.
2006-01-06 22:08:39 +00:00
Daniel Stenberg
9799f7afb0
added our regular source header
2005-12-21 09:15:54 +00:00
Daniel Stenberg
6358b24fac
allow more evironment variables to control what tools to check for and use
2005-12-21 08:09:12 +00:00
Daniel Stenberg
b58634316f
use ACLOCAL even when using 'find' to find the aclocal tool
2005-12-21 07:59:03 +00:00
Daniel Stenberg
8107b90678
use -c to automake to copy the new files
2005-09-01 21:41:35 +00:00
Daniel Stenberg
2c10c895da
run libtoolize in the ares dir as well, and modified the output slightly for
...
all tools run in the ares dir - now shown like "running ares/[tool]"
2005-06-13 10:49:14 +00:00
Daniel Stenberg
a214af0830
make sure the found tool is a regular file (and not a dir or something)
2005-06-09 22:43:13 +00:00
Daniel Stenberg
f21bc46e82
Modified to use 'head -n 1' instead of 'head -1' since some versions of head
...
complains and claims this is deprecated.
2005-06-09 06:45:54 +00:00
Daniel Stenberg
044327a488
Reverted Tupone Alfredo's patch, as it broke NUMEROUS autobuilds. Let's do the
...
changes in a slower and more controlled manner...
2005-06-07 23:00:06 +00:00
Daniel Stenberg
c4bbcc83b6
Tupone Alfredo's fixes:
...
1) findtool does look per tool in PATH and think ./perl is the perl
executable, while is just a local directory (I have . in the PATH)
2) I got several warning for head -1 deprecated in favour of head -n 1
3) ares directory is missing some file (missing is missing :-) ) because
automake and friends is not run.
(Let's hope number 2 doesn't break somewhere "out there", if so we can always
search/replace that back.)
2005-06-06 21:19:04 +00:00
Daniel Stenberg
018dbfe058
bail out if perl is missing, it is needed for building curl anyway
2005-04-07 14:26:03 +00:00
Daniel Stenberg
c6ea597817
check for libtoolize and aclocal to doublecheck the installations better
2005-04-07 08:59:39 +00:00
Daniel Stenberg
4ecf939452
./src/config.h.in is now removed from CVS. It is copied from the
...
lib/config.h.in file by buildconf
2004-12-25 22:10:38 +00:00
Daniel Stenberg
94c6a5eeab
Jean-Philippe Barrette-LaPierre made buildconf run better on Mac OS X by
...
properly using glibtoolize instead of plain libtoolize. (This is made if
glibtool was found and used instead of plain libtool.)
2004-09-30 19:46:32 +00:00
Daniel Stenberg
29ed6d24bf
simplified all die messages
2004-05-18 10:55:40 +00:00
Daniel Stenberg
e2c5c20896
simplified the automake failed message too
2004-05-18 09:25:46 +00:00
Daniel Stenberg
aced2904ff
simplified the die-line when aclocal fails, the previous one confused
...
the netbsd shell
2004-05-18 09:02:38 +00:00
Daniel Stenberg
9fadfffb9d
when checking the automake version, cut off trailing "-p[whatever]" from the
...
version string before doing the version number checks.
2004-03-30 08:28:39 +00:00
Daniel Stenberg
67fca4cb01
recognize and use ACLOCAL_FLAGS if set (Thomas Schwinge patch)
2004-03-21 15:45:58 +00:00
Daniel Stenberg
bea9152aa8
Check for a GNU version of m4, since autoconf won't run nicely without one.
2004-03-15 07:47:13 +00:00
Daniel Stenberg
5168b32f86
if ares is present, run aclocal in that dir before autoconf is run
2004-02-25 14:32:57 +00:00
Daniel Stenberg
4cf70e3069
AIX and Tru64 have what Tor calls "horribly broken 'which' programs" so we
...
now scan the PATH ourself to find the path to (g)libtool
2004-02-18 16:16:13 +00:00
Daniel Stenberg
ad75360ec7
use libtoolize --force to overwrite existing (older) files
2004-02-11 13:08:38 +00:00
Daniel Stenberg
fc7c4d6157
Ken Hirsch says he basicly needs all 'mv' to be 'mv -f' for configure to
...
run in a sane manner on his MPE/iX operating system.
2004-01-29 15:28:53 +00:00
Daniel Stenberg
5d947e973e
display OK if it runs OK
2004-01-27 12:16:24 +00:00
Daniel Stenberg
8b3946efda
Tor Arntsen fixed a spelling error
2004-01-05 14:20:08 +00:00
Daniel Stenberg
b84607ff7b
run autoconf in the ares dir as well if the dir is present, after it has
...
been run "as usual"
2003-10-20 08:25:12 +00:00
Daniel Stenberg
7553341bad
improved the libtool check to disqualify "1.4c" when 1.4.2 is required
2003-10-14 11:27:30 +00:00
Daniel Stenberg
ec45a9e825
fix comment
2003-05-13 09:37:45 +00:00
Daniel Stenberg
2e2e0fba60
no more complaining when I have 1.5 and it tests for 1.4.2
2003-05-12 13:05:11 +00:00
Daniel Stenberg
3994d67eea
Dan Fandrich lowered the libtool requirement
2003-05-12 12:38:52 +00:00
Daniel Stenberg
e6c267fb4c
oops, run libtoolize as the first tool
2003-05-09 08:17:41 +00:00
Daniel Stenberg
93538fccd6
run libtoolize too
2003-05-09 08:13:02 +00:00
Daniel Stenberg
7431957113
put back the libtool test, now for 1.5
...
require autoconf 2.57
require automake 1.7
2003-05-03 16:25:49 +00:00
Daniel Stenberg
49e9c1495b
stop checking for libtool, we don't run that in this script
2003-04-22 23:26:00 +00:00