Yang Tse
3c38eafd75
Temporarily disable config.guess related checks
2009-06-01 18:22:03 +00:00
Yang Tse
0a1b7296b9
HP-UX requires libtool version 1.5.24 or newer
2009-06-01 02:47:57 +00:00
Daniel Stenberg
c86c294f55
- Andreas Farber made the 'buildconf' script check for the presence of m4
...
scripts to make it detect a bad checkout earlier. People with older
checkouts who don't do cvs update with the -d option won't get the new dirs
and then will get funny outputs that can be a bit hard to understand and
fix.
2009-03-09 09:24:31 +00:00
Yang Tse
0cf10ae4d7
Remove following files generated on previous buildconf run:
...
ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4
2009-02-13 06:25:35 +00:00
Daniel Stenberg
0090099565
Only care about the first line of libtool --version as otherwise this script
...
get fooled by libtool 2, and at least libtool 1.5.2x do output the interesting
version string in the first line.
2009-01-08 22:53:37 +00:00
Yang Tse
11cb78c5f8
curlbuild.h is a generated file on configure-capable systems
2008-08-14 23:55:24 +00:00
Yang Tse
fa2a8f6fb8
Prevent buildconf from removing 'Makefile' and 'missing' files. This would blow
...
away our CVS checked 'missing' file and also CVS checked 'hiper/Makefile'.
2008-08-07 16:22:25 +00:00
Yang Tse
09f278121e
Validate that autom4te and autoconf versions match.
...
Validate that aclocal and automake versions match.
Improve removal of previous run generated files.
Remove verbose debug logging of aclocal on Solaris.
2008-08-05 06:20:18 +00:00
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